1 2014-10-02 Chris Metcalf <cmetcalf@tilera.com>
3 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7 * nptl/tst-setuid3.c: Write errors to stdout.
9 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12 (preload): New functions broken out of _dl_map_object_deps.
13 (_dl_map_object_deps): Remove a nested function. Update call sites.
15 2014-10-01 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/unix/sysv/linux/execve.c: Remove file.
19 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21 2014-10-01 Steve Ellcey <sellcey@mips.com>
23 * sysdeps/mips/strcmp.S: New.
25 2014-09-30 Joseph Myers <joseph@codesourcery.com>
28 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31 (readlinkat): Likewise.
33 (symlinkat): Likewise.
35 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43 2014-09-30 Will Newton <will.newton@linaro.org>
45 * math/math.h: Define long double math functions if
46 _LIBC_TEST is defined.
47 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
49 * localedata/Makefile: Move assignment to tests-special
50 into an ifdef testing run-built-tests.
51 * timezone/Makefile: Likewise.
53 2014-09-29 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
56 with $(BASH) not $(SHELL).
58 2014-09-29 Carlos O'Donell <carlos@redhat.com>
59 Matthew LeGendre <legendre1@llnl.gov>
62 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
65 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
67 * stdio-common/printf_fp.c
68 (hack_digit): New function, broken out of ...
69 (__printf_fp): ... local function here. Update call sites.
70 hack_digit now takes an additional parameter that is a pointer
71 to a struct of the referenced locals. Those locals moved inside
72 the struct and references updated.
74 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
76 * aclocal.m4: Require autoconf 2.69.
77 * configure: Regenerated.
78 * sysdeps/aarch64/configure: Likewise.
79 * sysdeps/alpha/configure: Likewise.
80 * sysdeps/arm/armv7/configure: Likewise.
81 * sysdeps/arm/configure: Likewise.
82 * sysdeps/ia64/configure: Likewise.
83 * sysdeps/mach/configure: Likewise.
84 * sysdeps/mips/configure: Likewise.
85 * sysdeps/s390/configure: Likewise.
86 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
89 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
91 * sysdeps/ia64/configure.ac: Likewise.
93 2014-09-26 Joseph Myers <joseph@codesourcery.com>
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
96 specify symbol version for ld.so. Do not include entry for
98 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
99 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
100 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
103 * Makeconfig [$(build-shared) = yes]
104 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
106 [$(build-shared) = yes && $(soversions.mk-done) = t]
107 ($(common-objpfx)gnu/lib-names.h): Remove rule.
108 [$(build-shared) = yes && $(soversions.mk-done) = t]
109 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
111 [$(build-shared) = yes && $(soversions.mk-done) = t]
112 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
114 [$(build-shared) = yes && $(soversions.mk-done) = t]
115 (common-generated): Don't append gnu/lib-names.h and
116 gnu/lib-names.stmp here.
117 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
118 (lib-names-h-abi): New variable.
119 [$(build-shared) = yes && $(soversions.mk-done) = t]
120 (lib-names-stmp-abi): Likewise.
121 [$(build-shared) = yes && $(soversions.mk-done) = t &&
122 abi-variants] (before-compile): Append
123 $(common-objpfx)$(lib-names-h-abi).
124 [$(build-shared) = yes && $(soversions.mk-done) = t &&
125 abi-variants] (common-generated): Append gnu/lib-names.h.
126 [$(build-shared) = yes && $(soversions.mk-done) = t &&
127 abi-variants] (install-others-nosubdir): Depend on
128 $(inst_includedir)/$(lib-names-h-abi).
129 [$(build-shared) = yes && $(soversions.mk-done) = t &&
130 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
131 [$(build-shared) = yes && $(soversions.mk-done) = t]
132 ($(common-objpfx)$(lib-names-h-abi)): New rule.
133 [$(build-shared) = yes && $(soversions.mk-done) = t]
134 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
135 [$(build-shared) = yes && $(soversions.mk-done) = t]
136 (common-generated): Append $(lib-names-h-abi) and
137 $(lib-names-stmp-abi).
138 * scripts/lib-names.awk: Do not handle multi being set.
139 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
141 (abi-lp64_be-ld-soname): Likewise.
142 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
144 (abi-hard-ld-soname): Likewise.
145 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
146 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
148 (abi-o32_hard-ld-soname): Likewise.
149 (abi-o32_soft_2008-ld-soname): Likewise.
150 (abi-o32_hard_2008-ld-soname): Likewise.
151 (abi-n32_soft-ld-soname): Likewise.
152 (abi-n32_hard-ld-soname): Likewise.
153 (abi-n32_soft_2008-ld-soname): Likewise.
154 (abi-n32_hard_2008-ld-soname): Likewise.
155 (abi-n64_soft-ld-soname): Likewise.
156 (abi-n64_hard-ld-soname): Likewise.
157 (abi-n64_soft_2008-ld-soname): Likewise.
158 (abi-n64_hard_2008-ld-soname): Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
161 (abi-64-v2-ld-soname): Likewise.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
164 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
166 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
168 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
170 (abi-64-ld-soname): Likewise.
171 (abi-x32-ld-soname): Likewise.
172 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
174 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
176 2014-09-23 Joseph Myers <joseph@codesourcery.com>
179 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
180 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
181 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
182 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
183 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
184 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
185 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
186 syscall entry for GLIBC_2.2 symbol version.
187 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
190 (setrlimit): Likewise.
191 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
194 2014-09-23 Will Newton <will.newton@linaro.org>
196 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
197 _LINUX_ARM_SYSDEP_H include guard too.
198 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
201 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
203 * sysdeps/unix/sysv/linux/eventfd.c:
204 Make first argument unsigned.
205 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
208 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
210 * socket/recvmmsg.c (recvmmsg): Drop const argument.
211 * socket/sys/socket.h: Likewise
212 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
214 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
216 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
218 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
220 * time/tst-ftime.c: New test.
221 * time/Makefile (tests): Add tst-ftime.
223 2014-09-17 Joseph Myers <joseph@codesourcery.com>
225 * soft-fp/extended.h: Fix comment formatting.
226 * soft-fp/op-1.h: Likewise.
227 * soft-fp/op-2.h: Likewise.
228 * soft-fp/op-4.h: Likewise.
229 * soft-fp/op-8.h: Likewise.
230 * soft-fp/op-common.h: Likewise.
231 * soft-fp/soft-fp.h: Likewise.
233 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
235 2014-09-16 Joseph Myers <joseph@codesourcery.com>
238 * Makeconfig (soversions-default-setname): Remove variable.
239 ($(common-objpfx)soversions.i): Don't pass default_setname to
241 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
242 oldest_abi to abi-versions.awk.
243 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
244 * config.make.in (oldest-abi): Remove variable.
245 * configure.ac (--enable-oldest-abi): Remove configure option.
246 * configure: Regenerated.
247 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
249 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
250 * scripts/soversions.awk: Do not handle default_setname variable.
251 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
253 * sysdeps/mach/hurd/configure: Regenerated.
254 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
256 * sysdeps/unix/sysv/linux/configure: Regenerated.
258 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
260 * elf/Makefile (CFLAGS-interp.c): Remove.
261 ($(elf-objpfx)runtime-linker.h): Generate header with linker
263 * elf/interp.c: Include generated runtime-linker.h
265 * Makerules (lib%.so): Don't include $(+interp) in
267 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
268 * dlfcn/eval.c: Remove file.
270 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
274 * misc/sys/cdefs.h: Define __extern_always_inline for clang
278 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
280 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
281 Jakub Jelinek <jakub@redhat.com>
284 * libio/stdio.h: Check definition of __fortify_function
285 instead of __extern_always_inline to include bits/stdio2.h.
286 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
287 check if __extern_always_inline is defined.
288 [__USE_MISC || __USE_XOPEN]: Likewise.
289 [__USE_ISOC99] Likewise.
290 * misc/sys/cdefs.h (__fortify_function): Define only if
291 __extern_always_inline is defined.
292 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
293 __extern_always_inline and __extern_inline only for g++-4.3
294 and newer or a compatible gcc.
296 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
299 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
300 last change to handle zero prefix length.
302 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
304 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
307 * posix/getconf.c (vars): Add _POSIX_IPV6 and
310 2014-09-13 Allan McRae <allan@archlinux.org>
312 * po/ru.po: Update Russian translation from translation project.
314 2014-09-12 Roland McGrath <roland@hack.frob.com>
316 * locale/programs/locale.c (show_locale_vars): Inline local function
317 into its sole call site. Clean up some style nits.
318 (print_item): New function, broken out of ...
319 (show_info): ... local function here. Clean up style nits.
321 * locale/programs/ld-ctype.c (set_one_default): New function, broken
323 (set_class_defaults): ... local function set_default here.
324 Define set_default as a macro locally to pass constant parameters.
325 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
326 rather than a shared local.
328 * stdlib/rpmatch.c (try): New function, broken out of ...
329 (rpmatch): ... local function here. Also, prototypify definition.
331 2014-09-12 Joseph Myers <joseph@codesourcery.com>
333 * scripts/soversions.awk: Do not handle configuration names.
334 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
335 vendor and os variables to soversions.awk.
336 * configure.ac: Do not modify gnu-* host_os.
337 * configure: Regenerated
338 * shlib-versions: Remove first column with configuration names.
339 * nptl/shlib-versions: Likewise.
340 * nptl_db/shlib-versions: Likewise.
341 * sysdeps/hppa/shlib-versions: Likewise.
342 * sysdeps/m68k/shlib-versions: Likewise.
343 * sysdeps/mach/hurd/shlib-versions: Likewise.
344 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
345 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
346 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
347 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
348 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
349 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
350 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
351 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
354 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
355 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
356 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
357 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
359 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
364 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
367 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
369 Condition symbol version definitions on [HAVE_ELFV2_ABI].
371 * shlib-versions: Remove OS-specific entries. Moved to files in
373 * sysdeps/mach/hurd/shlib-versions: New file.
374 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
376 * nptl/shlib-versions: Remove architecture-specific entries.
377 Moved to files in sysdeps.
378 * shlib-versions: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
381 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
382 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
383 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
386 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
387 (UDP_NO_CHECK6_RX): Likewise.
389 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
391 * sysdeps/posix/sysconf.c (__sysconf): Spell
392 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
394 2014-08-12 Florian Weimer <fweimer@redhat.com>
396 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
398 * iconv/Versions (__gconv_transliterate): Export for use from
400 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
401 (struct __gconv_trans_data, __gconv_trans_fct,
402 __gconv_trans_context_fct, __gconv_trans_query_fct,
403 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
405 (struct __gconv_step_data): Remove __trans member.
406 (__gconv_transliterate): Declaration moved from gconv_int.h. No
407 longer hidden. Remove unused trans_data argument.
408 * iconv/gconv_int.h (struct trans_struct): Remove definition.
409 (__gconv_translit_find): Remove declaration.
410 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
412 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
413 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
414 trans_data argument. Add hidden definition.
415 (__gconv_translit_find): Remove.
416 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
417 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
418 * iconv/skeleton.c: Remove transliteration initialization.
419 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
420 __gconv_step_data initialization.
421 * libio/iofwide.c (__libio_translit_): Remove.
422 (_IO_fwide): Adjust struct __gconv_step_data initialization.
423 * wcsmbs/btowc.c (__btowc): Likewise.
424 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
425 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
426 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
427 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
428 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
429 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
430 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
431 * wcsmbs/wctob.c (wctob): Likewise.
433 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
436 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
437 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
439 * sysdeps/x86/Makefile: Adjust.
441 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
442 Roland McGrath <roland@hack.frob.com>
444 * locale/weight.h: Add include guard.
445 (findidx): Make static rather than auto; take new parameters
446 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
447 * locale/weightwc.h: Likewise.
448 * posix/fnmatch_loop.c
449 (FCT): Change type of EXTRA from int32_t to wint_t.
450 Don't include either header inside the function.
451 Call FINDIDX rather than findidx, and pass new arguments.
452 #undef FINDIDX at the end of the file.
453 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
454 FINDIDX before including fnmatch_loop.c for the non-wide version.
455 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
456 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
457 for the wide version.
458 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
459 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
460 Pass new arguments to findidx.
461 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
462 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
463 Don't #include it inside the function. Pass new arguments to findidx.
464 * posix/regex_internal.h
465 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
466 (re_string_elem_size_at): Don't #include it inside the function.
467 Pass new arguments to findidx.
468 * string/strcoll_l.c: #include WEIGHT_H at top level.
469 (get_next_seq): Don't #include it inside the function.
470 Pass new arguments to findidx.
471 (get_next_seq_nocache): Likewise.
472 * string/strxfrm_l.c: #include WEIGHT_H at top level.
473 (STRXFRM): Don't #include it inside the function.
474 Pass new arguments to findidx.
476 2014-09-11 Florian Weimer <fweimer@redhat.com>
479 * malloc/malloc.c (unlink): Turn asserts into a call to
482 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
485 * libio/wfileops (do_ftell_wide): Free OUT.
487 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
489 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
491 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
494 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
495 group if the current group is empty.
497 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499 * benchtests/bench-memset.c (test_main): Add more test from size
500 from 32 to 512 bytes.
501 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
502 Add POWER8 memset object.
503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
504 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
505 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
507 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
509 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
510 multiarch POWER8 memset optimization.
511 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
512 POWER8 memset optimization.
514 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
515 Remove bzero multiarch objects.
516 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
517 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
518 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
519 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
521 [__bzero]: Redefine to specific name.
522 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
523 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
524 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
526 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
527 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
529 2014-09-10 Florian Weimer <fweimer@redhat.com>
531 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
532 warnings into errors.
534 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
535 __cxa_thread_atexit_impl prototype.
537 2014-09-09 Steve Ellcey <sellcey@mips.com>
539 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
540 Fix capitalization of error message.
542 2014-09-09 Steve Ellcey <sellcey@mips.com>
544 * sysdeps/mips/preconfigure: Modify ABI tests.
546 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
548 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
550 2014-09-07 Roland McGrath <roland@hack.frob.com>
551 Carlos O'Donell <carlos@systemhalted.org>
553 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
554 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
555 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
556 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
557 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
558 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
559 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
560 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
561 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
562 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
563 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
564 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
565 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
566 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
567 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
568 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
569 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
570 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
571 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
572 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
573 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
574 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
575 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
576 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
577 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
578 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
579 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
580 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
581 Deconditionalize the code that was previously under [RESET_PID].
582 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
583 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
584 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
585 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
588 2014-09-08 Allan McRae <allan@archlinux.org>
590 * version.h (RELEASE): Set to "development".
591 (VERSION): Set to "2.20.90"
593 2014-09-07 Allan McRae <allan@archlinux.org
595 * version.h (RELEASE): Set to "stable".
596 (VERSION): Set to "2.20"
597 * include/features.h (__GLIBC_MINOR__): Set to 20.
599 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
602 * po/ko.po: Update Korean translation from translation project.
604 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
607 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
608 macro for handling signed relocations.
610 2014-09-03 Florian Weimer <fweimer@redhat.com>
613 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
614 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
616 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
617 * iconvdata/ibm935.c (BODY): Likewise.
618 * iconvdata/ibm937.c (BODY): Likewise.
619 * iconvdata/ibm939.c (BODY): Likewise.
620 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
622 * iconvdata/Makefile (iconv-test.out): Pass module list to test
624 * iconvdata/run-iconv-test.sh: New test loop for checking for
627 2014-09-02 Khem Raj <raj.khem@gmail.com>
629 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
632 2014-09-01 Allan McRae <allan@archlinux.org>
634 * po/eo.po: Update Esperanto translation from translation project.
636 * po/ca.po: Update Catalan translation from translation project.
638 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
640 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
643 2014-08-27 Mark Wielaard <mjw@redhat.com>
646 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
647 to call set_thread_area instead of hand written asm.
648 (__NR_set_thread_area): Removed define.
649 (TLS_FLAG_WRITABLE): Likewise.
650 (__ASSUME_SET_THREAD_AREA): Remove check.
651 (TLS_EBX_ARG): Remove define.
652 (TLS_LOAD_EBX): Likewise.
654 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
656 Simplify atomicity of socket creation in bind.
658 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
659 looking up the name after linking the file.
661 2014-08-27 Allan McRae <allan@archlinux.org>
663 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
665 2014-08-26 Florian Weimer <fweimer@redhat.com>
668 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
669 trans_compare, open_translit, __gconv_translit_find):
670 Remove module loading code.
672 2014-08-26 Allan McRae <allan@archlinux.org>
674 * po/vi.po: Update Vietnamese translation from translation project.
676 * po/uk.po: Update Ukrainian translation from translation project.
678 * po/fr.po: Update French translation from translation project.
680 * po/ru.po: Update Russian translation from translation project.
682 * po/pl.po: Update Polish translation from translation project.
684 * po/cs.po: Update Czech translation from translation project.
686 * po/de.po: Update German translation from translation project.
688 * po/bg.po: Update Bulgarian translation from translation project.
690 * po/sv.po: Update Sweedish translation from translation project.
692 * po/nl.po: Update Dutch translation from translation project.
694 * po/es.po: Update Spanish translation from translation project.
696 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
698 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
700 * catgets/Makefile (CPPFLAGS-gencat): Remove.
701 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
702 (CPPFLAGS-iconvconfig): Likewise.
703 * timezone/Makefile (CPPFLAGS-zic): Likewise.
705 * include/libc-symbols.h: Remove unnecessary check for
707 * nptl/pthreadP.h: Likewise.
708 * sysdeps/aarch64/setjmp.S: Likewise.
709 * sysdeps/alpha/setjmp.S: Likewise.
710 * sysdeps/arm/sysdep.h: Likewise.
711 * sysdeps/i386/setjmp.S: Likewise.
712 * sysdeps/m68k/setjmp.c: Likewise.
713 * sysdeps/posix/getcwd.c: Likewise.
714 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
716 * sysdeps/s390/s390-32/setjmp.S: Likewise.
717 * sysdeps/s390/s390-64/setjmp.S: Likewise.
718 * sysdeps/sh/sh3/setjmp.S: Likewise.
719 * sysdeps/sh/sh4/setjmp.S: Likewise.
720 * sysdeps/unix/alpha/sysdep.h: Likewise.
721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
723 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
724 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
729 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
732 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
734 * sysdeps/x86_64/setjmp.S: Likewise.
736 2014-08-13 Joseph Myers <joseph@codesourcery.com>
739 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
741 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
742 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
744 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
746 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
749 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
750 and __x86_64__ when disabling x87 inline functions.
752 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
756 asm statement with __cpuid_count.
758 2014-08-12 Mike Frysinger <vapier@gentoo.org>
760 * configure.ac: Change __ehdr_start code to dereference the struct.
761 Run readelf on the output to look for relocations.
762 * configure: Regenerated.
764 2014-08-12 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
769 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
771 2014-08-12 Roland McGrath <roland@hack.frob.com>
773 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
775 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
778 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
779 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
781 2014-08-12 Sean Anderson <seanga2@gmail.com>
783 * malloc/malloc.c: Fix typo in comment.
785 2014-08-09 Allan McRae <allan@archlinux.org>
787 * Regenerate libc.po.
789 2014-08-08 Mike Frysinger <vapier@gentoo.org>
791 * intl/tst-gettext2.sh: Check every lang file for creation.
793 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
795 * sysdeps/aarch64/fpu/math_private.h
796 (libc_feholdsetround_noex_aarch64_ctx): New function.
798 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
800 * sysdeps/arm/armv6/strcpy.S (strcpy):
801 Fix performance issue in misaligned cases.
803 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
805 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
806 Move definition from termios.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):
813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
814 Move definition to ioctl-types.h
815 (struct termio): Likewise.
816 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
817 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
818 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
819 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
822 2014-08-05 Richard Henderson <rth@redhat.com>
824 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
826 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
828 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
830 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
831 Protect libm symbols with IS_IN_libm.
833 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
835 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
837 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
839 2014-08-04 Will Newton <will.newton@linaro.org>
841 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
844 2014-08-04 Mike Frysinger <vapier@gentoo.org>
846 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
847 variants for each function.
849 2014-08-04 Roland McGrath <roland@hack.frob.com>
851 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
853 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
854 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
856 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
857 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
858 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
859 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
860 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
861 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
862 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
863 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
864 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
865 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
867 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
869 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
871 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
873 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
875 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
877 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
879 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
880 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
881 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
882 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
883 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
884 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
885 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
887 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
888 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
889 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
890 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
891 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
892 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
893 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
894 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
895 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
896 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
897 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
898 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
899 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
900 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
901 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
902 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
903 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
904 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
905 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
906 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
907 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
908 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
910 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
911 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
913 2014-08-04 Roland McGrath <roland@hack.frob.com>
915 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
916 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
917 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
918 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
919 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
920 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
922 2014-08-04 Roland McGrath <roland@hack.frob.com>
924 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
925 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
926 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
927 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
929 2014-08-04 Roland McGrath <roland@hack.frob.com>
931 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
932 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
933 (__libc_vfork): Define function under this name.
934 (__vfork): Define as an alias.
935 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
936 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
938 2014-08-04 Roland McGrath <roland@hack.frob.com>
940 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
941 that was previously under [RESET_PID].
942 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
944 2014-08-04 Andreas Schwab <schwab@suse.de>
946 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
948 2014-08-03 Mike Frysinger <vapier@gentoo.org>
950 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
953 2014-08-01 Roland McGrath <roland@hack.frob.com>
955 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
957 2014-08-01 Richard Henderon <rth@redhat.com>
959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
960 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
961 typo in exact zero test.
962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
966 2014-08-01 Roland McGrath <roland@hack.frob.com>
968 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
969 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
970 * sysdeps/arm/sysdep.h: ... here.
971 [!__ASSEMBLER__]: Include <stdint.h>.
973 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
975 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
976 (HAVE_WCTYPE_H): Likewise.
977 (HAVE_ISWCTYPE): Likewise.
978 (ENABLE_NLS): Likewise.
979 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
980 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
982 * posix/regex_internal.c: Check if DEBUG is defined and is
985 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
986 (HAVE_MBSRTOWCS): Likewise.
987 * posix/fnmatch.c: Include string.h unconditionally.
989 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
991 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
994 2014-07-31 Roland McGrath <roland@hack.frob.com>
996 * sysdeps/generic/safe-fatal.h: New file.
997 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
998 * nptl/forward.c: Include it.
999 (__pthread_unwind): Use __safe_fatal as default action, rather
1000 than a bogus use of INTERNAL_SYSCALL that could never work.
1002 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1003 * configure.ac (libc_cv_builtin_trap): New test.
1004 * configure: Regenerated.
1005 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1006 (ABORT_INSTRUCTION): Define using __builtin_trap.
1008 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1009 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1010 * sysdeps/nptl/nptl-signals.h: New file.
1011 * nptl/pthreadP.h: Include <nptl-signals.h>.
1013 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1015 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1016 (ONE_DIRECTION): Define.
1017 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1018 (ONE_DIRECTION): Define.
1019 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1020 (ONE_DIRECTION): Define.
1022 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1024 * sysdeps/s390/Makefile: Delete file.
1025 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1026 * sysdeps/s390/__longjmp.c: Delete file.
1027 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1028 Remove fields __flags and __reserved.
1029 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1031 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1032 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1033 * sysdeps/s390/rtld-setjmp.S: Likewise.
1034 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1035 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1036 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1037 * sysdeps/s390/s390-32/setjmp.S: ... here.
1039 (__sigsetjmp): Remove setting __flags field.
1040 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1041 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1042 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1043 * sysdeps/s390/s390-64/setjmp.S: ... here.
1045 (__sigsetjmp): Remove setting __flags field.
1046 * sysdeps/s390/setjmp.S: Delete file.
1047 * sysdeps/s390/sigjmp.c: Likewise.
1048 * sysdeps/s390/v1-longjmp.c: Likewise.
1049 * sysdeps/s390/v1-setjmp.h: Likewise.
1050 * sysdeps/s390/v1-sigjmp.c: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1052 Remove v1-longjmp_chk.
1053 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1054 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1055 Include debug/longjmp_chk.c and add versioning.
1056 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1057 Include nptl/pt-longjmp.c and add versioning.
1058 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1059 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1060 Include __longjmp.c.
1061 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1064 (__getcontext): Remove setting __flags field.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1067 Don't restore upper high grps.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1070 (__swapcontext): Remove setting uc_flags field.
1071 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1073 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1074 Include __longjmp.c.
1075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1077 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1078 (__getcontext): Remove setting __flags field.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1081 (__swapcontext): Remove setting uc_flags field.
1082 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1083 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1084 Remove fields uc_high_gprs and __reserved.
1085 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1086 New file with reverted content.
1087 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1093 2014-07-31 Andreas Schwab <schwab@suse.de>
1095 * config.h.in (HAVE_IFUNC): Define to 0.
1096 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1099 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1102 memmove-avx-unaligned, memcpy-avx-unaligned and
1103 mempcpy-avx-unaligned.
1104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1105 Add tests for AVX memcpy functions.
1106 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1107 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1109 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1110 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1112 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1113 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1115 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1116 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1117 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1119 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1125 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1128 * manual/llio.texi: Add section about open file description locks.
1129 * manual/examples/ofdlocks.c: Example of open file description
1131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1132 F_OFD_SETLK, and F_OFD_SETLKW.
1134 2014-07-23 Allan McRae <allan@archlinux.org>
1136 * po/es.po: Update Spanish translation from translation project.
1138 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1140 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1142 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1145 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1146 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1147 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1149 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1152 * math/fesetenv.c (__fesetenv)
1153 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1154 * math/feupdateenv.c (__feupdateenv)
1155 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1158 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1159 (__ASSUME_SOCKETCALL): Do not define.
1161 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1162 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1163 (__ASSUME_SOCKETCALL): Do not define.
1164 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1165 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1166 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1167 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1168 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1169 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1170 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1171 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1174 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1175 (__ASSUME_SOCKETCALL): Do not define.
1176 (__ASSUME_IPC64): Define unconditionally.
1177 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1178 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1179 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1180 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1181 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1182 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1183 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1186 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1187 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1188 (__ASSUME_SOCKETCALL): Do not define.
1189 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1190 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1191 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1192 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1193 (__ASSUME_REQUEUE_PI): Define unconditionally.
1194 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1195 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1196 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1197 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1198 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1199 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1201 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1202 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1203 (__ASSUME_SOCKETCALL): Do not define.
1204 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1205 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1206 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1207 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1208 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1209 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1211 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1212 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1213 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1214 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1215 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1216 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1217 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1218 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1219 (__ASSUME_GETCPU_SYSCALL): Likewise.
1221 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1222 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1223 cases for individual architectures.
1224 * sysdeps/gnu/configure: Regenerated.
1225 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1226 LIBC_SLIBDIR_RTLDDIR.
1227 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1228 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1229 LIBC_SLIBDIR_RTLDDIR.
1230 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1232 LIBC_SLIBDIR_RTLDDIR.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1235 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1241 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1242 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1244 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1246 * sysdeps/aarch64/shlib-versions: Move to ...
1247 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1248 * sysdeps/alpha/shlib-versions: Move to ...
1249 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1250 * sysdeps/arm/shlib-versions: Move to ...
1251 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1252 * sysdeps/hppa/shlib-versions: Move all contents except for
1253 libgcc_s entry to ...
1254 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1256 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1257 * sysdeps/ia64/shlib-versions: Move to ...
1258 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1260 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1261 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1262 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1263 * sysdeps/microblaze/shlib-versions: Move to ...
1264 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1265 * sysdeps/mips/shlib-versions: Move to ...
1266 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1268 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1269 * sysdeps/tile/shlib-versions: Move to ...
1270 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1271 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1273 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1276 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1278 2014-07-17 Will Newton <will.newton@linaro.org>
1280 * sysdeps/arm/bits/atomic.h
1281 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1282 (__arch_compare_and_exchange_bool_16_int): Likewise.
1283 (__arch_compare_and_exchange_bool_64_int): Likewise.
1285 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1286 into an #else block.
1288 2014-07-16 Roland McGrath <roland@hack.frob.com>
1290 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1291 just Linux configurations. Test empirically that the compiler sets
1292 __ARM_EABI__, rather than using the tuple to decide.
1293 * sysdeps/arm/preconfigure: Regenerated.
1294 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1295 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1296 contents appended ...
1297 * sysdeps/arm/configure.ac: ... here.
1298 * sysdeps/arm/configure: Regenerated.
1300 2014-07-15 Roland McGrath <roland@hack.frob.com>
1302 * nptl/pthread_kill.c: New file.
1303 * nptl/pthread_sigmask.c: New file.
1304 * nptl/pthread_sigqueue.c: New file.
1306 * sysdeps/nptl/lowlevellock.h: New file.
1307 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1308 * sysdeps/nptl/lowlevellock-futex.h: New file.
1310 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1311 Remove dead declarations.
1313 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1315 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1316 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1318 * sysdeps/x86_64/configure.ac: Likewise.
1319 * sysdeps/i386/configure: Regenerated.
1320 * sysdeps/x86_64/configure: Likewise.
1321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1322 memset-avx2 only if config-cflags-avx2 is yes.
1323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1324 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1326 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1327 only if HAVE_AVX2_SUPPORT is defined.
1328 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1330 2014-07-14 Alan Modra <amodra@gmail.com>
1333 * elf/elf.h (DT_PPC64_NUM): Correct value.
1334 * NEWS: Add to fixed bug list.
1336 2014-07-13 Jim Meyering <meyering@fb.com>
1339 regex: don't deref NULL upon heap allocation failure
1340 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1341 failure in one more place.
1342 To trigger the segfault, configure grep -with-included-regex,
1343 build it, and run these commands:
1344 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1346 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1348 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1350 2014-07-11 Richard Henderson <rth@redhat.com>
1352 * sysdeps/aarch64/libm-test-ulps: Update.
1354 2014-07-10 Florian Weimer <fweimer@redhat.com>
1357 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1358 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1359 (__nptl_setxid): Initialize error member. Call
1360 __nptl_setxid_error.
1361 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1362 * nptl/descr.h (struct xid_command): Add error member.
1363 * nptl/tst-setuid3.c: New file.
1364 * nptl/Makefile (tests): Add it.
1366 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1370 (__lll_trylock): Use __lll_base_trylock.
1371 (__lll_cond_trylock): Likewise.
1373 2014-07-10 Roland McGrath <roland@hack.frob.com>
1375 * nptl/pthread_create.c (start_thread): Use atomic_or and
1376 lll_futex_wake directly rather than lll_robust_dead.
1377 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1378 (lll_robust_dead): Macro removed.
1379 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1380 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1381 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1382 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1383 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1386 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1387 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1389 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1392 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1395 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1396 Use atomic_compare_and_exchange_val_acq directly rather than
1398 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1399 (__lll_robust_trylock, lll_robust_trylock): Removed.
1400 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1401 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1402 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1403 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1404 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1406 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1407 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1410 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1412 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1415 2014-07-02 Florian Weimer <fweimer@redhat.com>
1417 * manual/locale.texi (Locale Names): New section documenting
1418 locale name syntax. Adjust menu and node chaining accordingly.
1419 (Choosing Locale): Reference Locale Names, Locale Categories.
1420 Mention setting LC_ALL=C. Reflect that name syntax is now
1422 (Locale Categories): New section title. Reference Locale Names.
1423 LC_ALL is an environment variable, but not a category.
1424 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1425 description, now in Locale Name. Reference that section. Locale
1426 name syntax is now documented.
1428 2014-07-02 Florian Weimer <fweimer@redhat.com>
1431 * locale/findlocale.c (name_present, valid_locale_name): New
1433 (_nl_find_locale): Use the loc_name variable to store name
1434 candidates. Call name_present and valid_locale_name to check and
1435 validate locale names. Return an error if the locale is invalid.
1437 2014-07-02 Florian Weimer <fweimer@redhat.com>
1439 * locale/setlocale.c (setlocale): Use strdup for allocating
1440 composite name copy.
1442 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1444 Sync up with gnulib.
1445 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1446 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1447 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1448 and _GL_ARG_NONNULL.
1449 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1450 [!_LIBC]: Include code for Windows and Cygwin.
1451 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1452 Include prototype for int strerror_r.
1453 [!_LIBC] (is_open): New function.
1454 (flush_stdout): New function.
1455 (print_errno_message): Use it.
1457 (error_at_line): Likewise.
1458 (error_tail) Add function attribute macros. Use
1461 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1463 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1465 * io/ftw.c: Include sys/param.h unconditionally.
1467 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1470 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1472 (freecache): New function to free CACHE on exit.
1474 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1477 2014-07-09 David S. Miller <davem@davemloft.net>
1479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1481 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1482 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1483 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1484 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1485 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1486 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1487 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1488 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1489 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1490 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1491 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1492 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1493 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1495 2014-07-09 Andreas Schwab <schwab@suse.de>
1497 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1499 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1500 (do_test): Likewise.
1502 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1504 2014-07-09 Will Newton <will.newton@linaro.org>
1506 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1507 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1508 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1509 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1510 * sysdeps/hppa/start.S (_start): Likewise.
1512 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1514 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1516 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1519 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1521 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1522 after checking that it is non-NULL.
1524 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1526 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1528 * sysdeps/powerpc/memmove.c: Remove file.
1529 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1530 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1531 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1532 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1533 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1534 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1536 string memmove instead of removed powerpc one.
1538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1539 [weak_alias]: Fix compiler warning due trailing data.
1540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1541 [weak_alias]: Likewise.
1542 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1543 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Add memmove functions.
1548 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1550 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1552 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1554 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1556 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1558 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1560 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1562 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1564 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1566 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1568 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1570 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1572 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1574 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1576 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1578 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1580 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1582 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1585 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1588 to avoid alignment traps in non-cacheable memory.
1589 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1593 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1594 file: multiarch power7 memmove.
1595 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1596 multiarch default memmove.
1597 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1598 multiarch memove for powerpc32/power4.
1600 * string/bcopy.c: Use full path to include memmove.c.
1601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1603 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1604 bcopy for powerpc64.
1605 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1606 bcopy for powerpc64.
1607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1608 and memmove implementations.
1609 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1610 optimized multiarch memmove for POWER7/powerpc64.
1611 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1612 default multiarch memmove for powerpc64.
1613 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1614 multiarch for powerpc64.
1615 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1616 for POWER7/powerpc64.
1617 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1618 memmove for POWER7/powerpc64.
1620 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1623 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1624 __ELF_NATIVE_CLASS equal to 64.
1626 2014-07-07 Roland McGrath <roland@hack.frob.com>
1628 * sysdeps/nptl/lowlevellock.h: File removed.
1630 * NEWS: NPTL is no longer an add-on!
1631 * nptl/internaltypes.h: Moved ...
1632 * sysdeps/nptl/internaltypes.h: ... here.
1633 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1634 * sysdeps/nptl/fork.c: Likewise.
1635 * sysdeps/nptl/gai_misc.h: Likewise.
1636 * sysdeps/nptl/librt-cancellation.c: Likewise.
1637 * sysdeps/nptl/jmp-unwind.c: Likewise.
1638 * sysdeps/nptl/setxid.h: Likewise.
1639 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1640 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1641 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1642 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1643 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1644 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1645 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1646 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1647 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1648 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1649 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1650 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1651 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1652 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1653 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1654 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1655 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1656 * nptl/Makeconfig: Moved ...
1657 * sysdeps/nptl/Makeconfig: ... here.
1658 * nptl/configure: File removed.
1659 * nptl/ANNOUNCE: File removed.
1660 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1661 * sysdeps/unix/sysv/linux/configure: Regenerated.
1663 * nptl/Makefile (routines): Add libc_pthread_init,
1664 libc_multiple_threads, register-atfork and unregister-atfork.
1665 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1666 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1667 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1668 pthread-pi-defines.sym, structsem.sym.
1669 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1670 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1671 [$(subdir) = nptl] (tests): Add tst-setgetname.
1672 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1673 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1674 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1675 [!LIBC_SIGACTION]: Remove aliases.
1676 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1677 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1678 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1679 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1680 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1681 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1685 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1686 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1687 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1688 __libc_allocate_rtsig_private.
1689 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1690 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1691 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1692 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1693 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1694 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1695 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1696 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1697 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1698 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1699 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1700 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1701 * nptl/internaltypes.h: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1703 * sysdeps/nptl/jmp-unwind.c: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1705 * nptl/libc-lowlevellock.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1707 * nptl/libc_multiple_threads.c: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1709 * nptl/libc_pthread_init.c: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1711 * nptl/lowlevelbarrier.sym: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1713 * nptl/lowlevelcond.sym: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1715 * nptl/lowlevellock.c: ... here.
1716 * nptl/lowlevellock.h: Moved ...
1717 * sysdeps/nptl/lowlevellock.h: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1719 * nptl/lowlevelrobustlock.c: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1721 * nptl/lowlevelrobustlock.sym: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1723 * nptl/lowlevelrwlock.sym: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1725 * nptl/pt-fork.c: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1727 * nptl/pthread-pi-defines.sym: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1729 * nptl/pthread_attr_getaffinity.c: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1731 * nptl/pthread_attr_setaffinity.c: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1733 * nptl/pthread_mutex_cond_lock.c: ... here.
1734 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1736 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1737 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1738 * nptl/pthread_once.c: ... here, replacing old file.
1739 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1740 * nptl/pthread_yield.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1742 * nptl/register-atfork.c: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1744 * nptl/sem_post.c: ... here.
1745 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1746 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1747 * nptl/sem_timedwait.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1749 * nptl/sem_trywait.c: ... here.
1750 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1751 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1752 * nptl/sem_wait.c: ... here.
1753 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1754 * nptl/structsem.sym: ... here.
1755 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1756 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1757 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1758 * nptl/unregister-atfork.c: ... here.
1759 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1760 * nptl/unwindbuf.sym: ... here.
1761 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1762 * sysdeps/nptl/fork.c: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1764 * sysdeps/nptl/fork.h: ... here.
1765 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1766 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1767 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1769 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1771 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1773 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1775 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1777 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1779 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1781 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1783 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1785 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1787 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1789 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1791 * sysdeps/unix/sysv/linux/raise.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1793 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1795 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1797 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1799 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1801 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1802 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1803 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1805 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1806 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1808 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1810 * sysdeps/generic/memcopy.h: Add comment for
1811 MEMCPY_OK_FOR_FWD_MEMMOVE.
1813 2014-07-04 Will Newton <will.newton@linaro.org>
1815 * string/memchr.c: Merge from gnulib.
1816 [_LIBC]: Remove conditionals.
1817 (__ptr_t): Remove define.
1818 (LONG_MAX_32_BITS): Likewise.
1819 (LONG_MAX): Likewise.
1820 (MEMCHR): Use ANSI prototype and optimize algorithm.
1822 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1824 2014-07-03 Roland McGrath <roland@hack.frob.com>
1826 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1827 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1829 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1830 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1831 in a bare environment with no <stdlib.h> installed.
1832 * sysdeps/nptl/configure: Regenerated.
1834 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1836 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1837 AC_EGREP_CPP for kernel header checks, so they only succeed if
1838 including <linux/version.h> actually works right.
1839 * sysdeps/unix/sysv/linux/configure: Regenerated.
1841 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1842 value so it's not diagnosed as unused.
1844 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1845 thing) with "ifeq ($(subdir),rt)".
1847 2014-07-03 Richard Henderson <rth@redhat.com>
1849 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1850 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1851 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1853 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1854 (math_force_eval): New.
1856 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1857 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1859 * sysdeps/alpha/fpu/s_round.c: Remove file.
1860 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1862 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1863 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1864 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1865 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1866 (_dl_start, print_statistics): Likewise.
1867 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1868 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1870 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1871 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1872 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1873 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1874 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1875 (HP_SMALL_TIMING_AVAIL): Define.
1876 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1877 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1878 (HP_SMALL_TIMING_AVAIL): Define.
1879 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1880 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1882 * sysdeps/aarch64/hp-timing.h: New file.
1884 * sysdeps/generic/hp-timing.h: Remove dead comment.
1885 * sysdeps/generic/hp-timing-common.h: New file.
1886 * sysdeps/alpha/hp-timing.h: Include it.
1887 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1888 * sysdeps/i386/i686/hp-timing.h: Likewise.
1889 * sysdeps/ia64/hp-timing.h: Likewise.
1890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1891 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1893 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1894 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1895 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1898 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1899 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1900 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1901 * elf/rtld.c (_dl_start_final): Likewise.
1902 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1903 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1904 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1905 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1906 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1908 (HP_TIMING_DIFF_INIT): Remove.
1909 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1910 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1911 (HP_TIMING_DIFF_INIT): Remove.
1912 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1913 * sysdeps/i386/i686/hp-timing.c: Remove file.
1914 * sysdeps/x86_64/hp-timing.c: Remove file.
1915 * sysdeps/ia64/hp-timing.c: Remove file.
1916 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1917 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1918 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1919 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1921 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1922 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1923 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1924 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1925 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1926 (HP_TIMING_ACCUM): Remove.
1927 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1928 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1929 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1931 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1932 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1933 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1934 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1936 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1937 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1938 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1940 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1942 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1944 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1946 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1948 Sync up with gettext.
1949 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1950 [_MSC_VER]: Include malloc.h
1951 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1952 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1953 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1954 TEMP_FAILURE_RETRY. Cast return of alloca.
1955 [!_LIBC] Call gl_rwlock_init.
1956 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1958 2014-07-02 Roland McGrath <roland@hack.frob.com>
1960 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1961 before checking its value.
1963 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1965 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1967 * debug/memcpy_chk.c: Don't include pagecopy.h.
1968 * debug/mempcpy_chk.c: Likewise.
1969 * string/memcpy.c: Likewise.
1970 * string/memmove.c: Likewise.
1971 * sysdeps/powerpc/memmove.c: Likewise.
1972 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1973 definition of PAGE_COPY_FWD_MAYBE here...
1974 * sysdeps/generic/pagecopy.h: ... from here.
1975 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1977 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1978 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1984 (__libc_ifunc_impl_list): Likewise.
1985 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1986 multiarch strcat for PPC64.
1987 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1988 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1990 2014-07-02 Roland McGrath <roland@hack.frob.com>
1992 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1994 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1996 * intl/loadmsgcat.c: Remove declaration of
1997 get_sysdep_segment_value.
1998 (get_sysdep_segment_value): Use ISO C style.
1999 (_nl_load_domain): Use ISO C style. Get rid of redundant
2000 semicolon. Fix typo and formatting in comment.
2001 (_nl_unload_domain): Use ISO C style.
2003 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2005 2014-07-02 Will Newton <will.newton@linaro.org>
2007 * malloc/obstack.c: Merge from gnulib master.
2008 [HAVE_CONFIG_H]: Remove conditional code.
2009 [!_LIBC]: Include config.h.
2010 [!ELIDE_CODE]: Don't include inttypes.h, include
2011 stdint.h unconditionally.
2012 (print_and_abort): Mark as _Noreturn.
2013 (_obstack_allocated_p): Mark as __attribute_pure__.
2014 (obstack_free): Rename to __obstack_free.
2015 [!__attribute__]: Remove conditional code.
2016 * malloc/obstack.h: Merge from gnulib master.
2017 [__cplusplus]: Move conditional down.
2018 [!__attribute_pure__]: Define __attribute_pure__ here
2019 if it is not already defined.
2020 (_obstack_memory_used): Mark as __attribute_pure__.
2021 [!__obstack_free]: Define as obstack_free.
2022 [__GNUC__]: Remove check for ancient NeXT gcc.
2024 2014-07-02 Will Newton <will.newton@linaro.org>
2025 Paul Eggert <eggert@cs.ucla.edu>
2027 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2029 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * resolv/gethnamaddr.c: Add comment warning that the file is
2034 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2036 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2039 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2040 entry for aio_cancel and aio_cancel64.
2041 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2042 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2043 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2044 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2045 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2046 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2047 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2048 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2049 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2050 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2051 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2052 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2053 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2055 2014-07-01 Roland McGrath <roland@hack.frob.com>
2057 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2058 * nptl/pthread_mutex_lock.c: Likewise.
2059 * nptl/pthread_mutex_timedlock.c: Likewise.
2060 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2062 2014-07-01 Richard henderson <rth@redhat.com>
2064 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2065 (__isnan, __isnanl): Remove.
2066 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2068 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2070 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2072 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2074 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * resolv/nss_dns/dns-host.c (getanswer_r)
2077 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2079 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2082 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2084 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2085 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2087 2014-07-01 Roland McGrath <roland@hack.frob.com>
2089 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2090 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2092 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2093 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2095 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2096 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2098 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2099 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2101 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2102 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2103 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2104 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2106 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2107 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2108 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2109 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2110 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2112 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2114 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2115 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2117 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2119 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2123 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2127 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2129 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2131 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2132 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2133 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2135 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2136 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2138 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2139 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2140 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2141 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2142 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2144 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2146 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2147 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2148 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2151 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2155 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2157 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2158 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2160 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2162 * sysdeps/arm/libm-test-ulps: Regenerated.
2164 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2165 Roland McGrath <roland@hack.frob.com>
2167 * test-skeleton.c (signal_handler): Kill the whole process group
2168 before killing the child individually.
2169 (main): Report any failure on `setpgid'.
2171 2014-06-30 Roland McGrath <roland@hack.frob.com>
2173 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2174 from _TLS_H to _ARM_NPTL_TLS_H.
2175 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2176 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2178 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2181 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2182 (__expm1l): Return argument unchanged when small but not
2185 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2187 (_FP_UNPACK_RAW_1_P): Likewise.
2188 (_FP_PACK_RAW_1): Likewise.
2189 (_FP_PACK_RAW_1_P): Likewise.
2190 (_FP_MUL_MEAT_1_wide): Likewise.
2191 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2192 (_FP_MUL_MEAT_1_hard): Likewise.
2193 (_FP_DIV_MEAT_1_imm): Likewise.
2194 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2195 (_FP_DIV_MEAT_1_udiv): Likewise.
2196 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2197 (_FP_UNPACK_RAW_2): Likewise.
2198 (_FP_UNPACK_RAW_2_P): Likewise.
2199 (_FP_PACK_RAW_2): Likewise.
2200 (_FP_PACK_RAW_2_P): Likewise.
2201 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2202 (_FP_MUL_MEAT_2_wide): Likewise.
2203 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2204 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2205 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2206 (_FP_MUL_MEAT_2_gmp): Likewise.
2207 (_FP_DIV_MEAT_2_udiv): Likewise.
2208 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2209 (_FP_FRAC_SRL_4): Likewise.
2210 (_FP_FRAC_SRST_4): Likewise.
2211 (_FP_FRAC_SRS_4): Likewise.
2212 (_FP_UNPACK_RAW_4): Likewise.
2213 (_FP_UNPACK_RAW_4_P): Likewise.
2214 (_FP_PACK_RAW_4): Likewise.
2215 (_FP_PACK_RAW_4_P): Likewise.
2216 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2217 (_FP_MUL_MEAT_4_wide): Likewise.
2218 (_FP_MUL_MEAT_4_gmp): Likewise.
2219 (umul_ppppmnnn): Likewise.
2220 (_FP_DIV_MEAT_4_udiv): Likewise.
2221 (__FP_FRAC_ADD_4): Likewise.
2222 (__FP_FRAC_SUB_3): Likewise.
2223 (__FP_FRAC_SUB_4): Likewise.
2224 (__FP_FRAC_DEC_3): Likewise.
2225 (__FP_FRAC_DEC_4): Likewise.
2226 (__FP_FRAC_ADDI_4): Likewise.
2227 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2228 (_FP_FRAC_SRL_8): Likewise.
2229 (_FP_FRAC_SRS_8): Likewise.
2231 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2233 (FP_UNPACK_RAW_EP): Likewise.
2234 (FP_PACK_RAW_E): Likewise.
2235 (FP_PACK_RAW_EP): Likewise.
2236 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2237 (_FP_ISSIGNAN): Likewise.
2238 (_FP_ADD_INTERNAL): Likewise.
2239 (_FP_FMA): Likewise.
2240 (_FP_CMP): Likewise.
2241 (_FP_SQRT): Likewise.
2242 (_FP_TO_INT): Likewise.
2243 (_FP_FROM_INT): Likewise.
2244 (FP_EXTEND): Likewise.
2245 (_FP_DIV_MEAT_N_loop): Likewise.
2247 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2249 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2252 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2255 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2256 result with correct sign in case of exponents that produce
2257 overflow except for X very close to 1.
2259 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2261 mktime: merge #if/#ifdef usage from glibc
2262 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2263 as that works with both Glibc's and Gnulib's style.
2264 See thread starting at Siddhesh Poyarekar's bug report at:
2265 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2267 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2269 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2270 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2271 * sysdeps/tile/tilegx/memmove.c: Remove file.
2273 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2275 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2276 abi-name definition.
2277 * scripts/soversions.awk: Do not handle or generate ABI lines.
2278 * shlib-versions: Remove ABI entries.
2279 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2280 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2282 2014-06-27 Roland McGrath <roland@hack.frob.com>
2284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2285 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2286 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2292 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2301 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2303 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2308 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2315 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2318 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2323 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2332 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2337 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2340 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2345 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2348 Identical file removed.
2349 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2351 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2353 Identical file removed.
2354 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2358 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2360 Identical file removed.
2361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2364 Identical file removed.
2365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2368 Identical file removed.
2369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2372 Identical file removed.
2373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2375 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2377 Identical file removed.
2378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2380 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2384 Identical file removed.
2385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2387 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2390 Identical file removed.
2391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2393 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2395 Identical file removed.
2396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2398 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2399 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2405 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2407 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2409 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2410 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2411 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2412 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2413 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2415 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2418 * nscd/nscd.c (monitor_child): Return exit status of child
2419 instead of return value from wait syscall.
2421 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2423 * configure.ac (libc_commonpagesize): Remove variable.
2424 (libc_relro_required): Likewise.
2425 (libc_cv_z_relro): Remove configure test.
2426 * configure: Regenerated.
2427 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2429 (libc_relro_required): Likewise.
2430 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2431 (libc_relro_required): Likewise.
2432 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2433 (libc_relro_required): Likewise.
2434 * sysdeps/arm/preconfigure: Regenerated.
2435 * sysdeps/ia64/preconfigure: Remove file.
2436 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2438 (libc_relro_required): Likewise.
2442 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2443 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2444 recompute overflowing results in original rounding mode.
2445 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2446 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2447 recompute overflowing results in original rounding mode.
2448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2449 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2450 recompute overflowing results in original rounding mode.
2451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2452 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2453 recompute overflowing results in original rounding mode.
2454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2455 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2456 recompute overflowing results in original rounding mode.
2457 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2458 (libc_feholdsetround_ctx): New macro.
2459 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2463 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2465 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2466 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2467 corresponding .cpsetup call.
2469 2014-06-26 Roland McGrath <roland@hack.frob.com>
2471 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2472 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2473 * sysdeps/arm/Makefile [$(subdir) = csu]
2474 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2475 (static-only-routines): Add aeabi_read_tp here.
2476 (shared-only-routines): Add libc-aeabi_read_tp here.
2477 (CFLAGS-libc-start.c): Add -fexceptions here.
2478 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2479 (sysdep_routines, static-only-routines, shared-only-routines):
2480 Don't add to these here.
2481 (CFLAGS-libc-start.c): Likewise.
2483 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2484 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2485 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2486 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2487 * sysdeps/arm/Makefile [$(subdir) = rt]
2488 (librt-sysdep_routines, librt-shared-only-routines):
2489 Append rt-aeabi_unwind_cpp_pr1 here.
2490 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2491 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2492 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2493 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2494 Append nptl-aeabi_unwind_cpp_pr1 here.
2495 (tests): Filter out tst-cleanupx4 here.
2496 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2497 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2498 Don't do those here.
2500 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2502 * scripts/list-sources.sh: Do not handle ports specially.
2504 2014-06-26 Roland McGrath <roland@hack.frob.com>
2506 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2507 * sysdeps/arm/feupdateenv.c: Likewise.
2509 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2511 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2513 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2514 trailing whitespace removed.
2515 * scripts/config.guess: Update to version 2014-03-23.
2516 * scripts/config.sub: Update to version 2014-05-01
2517 * scripts/install-sh: Update to version 2013-12-25.23.
2518 * scripts/move-if-change: Update from gnulib.
2520 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2522 * debug/memmove_chk.c: Remove pagecopy.h include.
2524 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2526 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2527 identical to gnulib mktime.
2529 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2531 * configure.ac: Do not test for machine being rs6000. Do not test
2533 * configure: Regenerated.
2535 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2537 * configure: Regenerated.
2538 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2539 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2540 Remove configure test.
2541 * sysdeps/arm/configure: Regenerated.
2542 * sysdeps/nptl/configure.ac: Do not check
2543 libc_cv_asm_cfi_directives.
2544 * sysdeps/nptl/configure: Regenerated.
2545 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2546 * sysdeps/x86_64/nptl/configure: Remove generated file.
2547 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2549 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2551 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2553 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2554 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2555 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2558 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2559 instead of whether it is defined.
2560 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2561 * sysdeps/hppa/dl-machine.h: Likewise.
2562 * sysdeps/ia64/dl-machine.h: Likewise.
2563 * sysdeps/m68k/dl-machine.h: Likewise.
2564 * sysdeps/microblaze/dl-machine.h: Likewise.
2565 * sysdeps/mips/dl-machine.: Likewise.
2566 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2568 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2569 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2570 * sysdeps/sh/dl-machine.h: Likewise.
2571 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2573 * sysdeps/tile/dl-machine.h: Likewise.
2574 * sysdeps/x86_64/dl-machine.h: Likewise.
2576 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2578 (verify_persistent_db): Likewise.
2580 2014-06-26 Roland McGrath <roland@hack.frob.com>
2582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2583 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2585 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2588 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2591 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2593 Identical file removed.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2597 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2599 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2601 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2603 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2606 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2608 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2610 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2613 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2617 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2619 Identical file removed.
2620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2621 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2626 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2633 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2635 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2640 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2643 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2645 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2648 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2650 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2654 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2655 * sysdeps/unix/sysv/linux/s390/Versions
2656 (libpthread: GLIBC_2.19): New version set.
2657 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2658 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2659 (librt: GLIBC_2.3.3): New version set.
2660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2661 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2662 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2664 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2666 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2667 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2668 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2669 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2670 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2672 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2674 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2676 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2678 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2680 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2682 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2684 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2686 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2688 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2690 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2691 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2696 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2698 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2699 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2700 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2702 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2704 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2706 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2707 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2708 (__libc_vfork): Define the function under this name.
2709 [!NOT_IN_libc] (__vfork): Make this an alias.
2710 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2712 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2713 (__libc_vfork): Define the function under this name.
2714 [!NOT_IN_libc] (__vfork): Make this an alias.
2715 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2716 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2717 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2723 code that was previously under [RESET_PID].
2724 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2725 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2728 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2729 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2730 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2731 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2732 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2733 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2734 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2735 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2736 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2737 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2738 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2740 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2754 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2758 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2762 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2764 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2765 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2766 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2768 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2770 2014-06-25 Roland McGrath <roland@hack.frob.com>
2772 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2773 that was previously under [RESET_PID].
2774 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2776 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2779 not undefine and redefine.
2780 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2781 [O_CLOEXEC]: Make code unconditional.
2782 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2783 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2784 <kernel-features.h>.
2785 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2786 conditional variable definition.
2787 (shm_open) [O_CLOEXEC]: Make code unconditional.
2788 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2791 * configure.ac (USE_REGPARMS): Don't define here.
2792 * configure: Regenerated.
2793 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2794 * sysdeps/i386/configure: Regenerated.
2796 * nptl/createthread.c: Don't include kernel-features.h.
2797 * nptl/pthread_cancel.c: Likewise.
2798 * nptl/pthread_condattr_setclock.c: Likewise.
2799 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2800 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2801 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2802 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2803 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2804 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2805 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2807 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2808 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2809 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2810 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2811 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2812 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2813 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2814 * nscd/gai.c: Likewise.
2815 * nss/nss_db/db-open.c: Likewise.
2816 * sysdeps/generic/ldsodefs.h: Likewise.
2817 * sysdeps/sh/nptl/tls.h: Likewise.
2818 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2819 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2820 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2821 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2822 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2823 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2824 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2825 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2826 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2827 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2828 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2829 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2830 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2831 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2832 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2833 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2834 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2835 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2836 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2837 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2838 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2839 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2840 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2841 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2843 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2844 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2845 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2846 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2847 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2848 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2849 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2850 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2851 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2852 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2853 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2854 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2855 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2856 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2857 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2858 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2859 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2860 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2861 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2862 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2863 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2864 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2865 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2866 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2867 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2868 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2869 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2870 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2871 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2872 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2873 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2898 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2899 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2900 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2901 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2902 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2903 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2904 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2905 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2906 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2907 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2908 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2909 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2910 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2911 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2912 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2913 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2914 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2916 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2917 * sysdeps/unix/sysv/linux/system.c: Likewise.
2918 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2919 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2920 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2921 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2922 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2924 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2926 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2927 * configure: Regenerated.
2928 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2930 * configure.ac (base_machine): Do not set specially for particular
2932 * configure: Regenerated.
2933 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2934 settings from configure.ac.
2935 * sysdeps/i386/preconfigure: New file.
2936 * sysdeps/s390/preconfigure: Likewise.
2937 * sysdeps/sh/preconfigure: Likewise.
2938 * sysdeps/sparc/preconfigure: Likewise.
2940 2014-06-25 Roland McGrath <roland@hack.frob.com>
2942 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2943 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2944 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2945 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2946 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2947 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2948 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2949 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2950 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2951 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2952 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2953 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2954 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2955 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2957 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2959 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2960 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2962 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2963 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2964 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2965 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2966 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2967 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2968 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2969 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2970 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2971 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2972 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2973 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2974 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2975 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2976 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2977 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2978 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2979 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2980 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2981 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2983 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2984 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2985 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2986 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2987 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2988 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2989 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2990 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2991 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2992 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2993 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2994 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2995 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2996 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2997 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2998 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2999 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3007 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3021 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3024 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3029 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3032 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3036 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3048 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3051 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3063 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3070 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3072 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3074 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3076 * timezone/checktab.awk: Update from tzcode 2014e.
3077 * timezone/private.h: Likewise.
3078 * timezone/tzfile.h: Likewise.
3079 * timezone/zdump.c: Likewise.
3080 * timezone/zic.c: Likewise.
3082 * sysdeps/unix/sysv/linux/kernel-features.h
3083 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3085 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3086 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3087 Remove conditional code.
3089 2014-06-25 Will Newton <will.newton@linaro.org>
3091 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3092 (_dl_arm_cap_flags): Add HWCAP2 values.
3093 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3094 (_DL_HWCAP_COUNT): Increase to 37.
3095 (_DL_HWCAP_LAST): New define.
3096 (_DL_HWCAP2_LAST): New define.
3097 (_dl_procinfo): Add support for printing
3099 (_dl_string_hwcap): Use _dl_hwcap_string.
3101 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3105 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3107 * README: Do not mention ports directory.
3109 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3111 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3112 <kernel-features.h>.
3113 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3114 conditional variable definition.
3115 (__futimes): Update comment.
3116 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3117 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3120 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3121 arguments close to 0.
3122 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3126 * math/auto-libm-test-in: Add more tests of exp10.
3127 * math/auto-libm-test-out: Regenerated.
3128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3130 * sysdeps/unix/sysv/linux/kernel-features.h
3131 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3132 * sysdeps/unix/sysv/linux/readv.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_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3138 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3140 * sysdeps/unix/sysv/linux/writev.c: Do not include
3141 <kernel-features.h>.
3142 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3143 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3144 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3146 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3149 2014-06-25 Will Newton <will.newton@linaro.org>
3151 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3152 comment changes throughout the file. Remove checks
3153 for HAVE_*_H definitions that are not required.
3154 (__gen_tempname): Call abort if an unknown kind value is
3157 2014-06-25 Andreas Schwab <schwab@suse.de>
3160 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3161 scalbln, scalblnf, scalblnl in libc.
3163 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3166 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3167 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3168 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3170 2014-06-24 Roland McGrath <roland@hack.frob.com>
3172 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3173 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3174 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3175 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3177 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3178 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3180 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3181 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3182 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3183 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3184 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3185 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3186 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3187 * sysdeps/x86/bits/semaphore.h: ... here.
3188 * sysdeps/x86/nptl/elide.h: Moved ...
3189 * sysdeps/x86/elide.h: ... here.
3190 * sysdeps/x86_64/nptl/Implies: File removed.
3191 * sysdeps/i386/nptl/Implies: File removed.
3193 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3197 return the argument for normal arguments with exponent below -64.
3198 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3200 * math/auto-libm-test-in: Add another test of expm1.
3201 * math/auto-libm-test-out: Regenerated.
3204 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3205 calling __erfcl for arguments at least 16.
3206 * math/auto-libm-test-in: Add more tests of erf.
3207 * math/auto-libm-test-out: Regenerated.
3209 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3210 individual architectures.
3211 * sysdeps/unix/sysv/linux/configure: Regenerated.
3212 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3213 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3214 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3215 (ldd_rewrite_script): Define variable.
3216 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3221 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3222 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3223 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3224 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3225 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3226 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3227 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3228 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3230 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3234 Rename member __data.d to __data.__elision_data.
3236 2014-06-24 Wilco <wdijkstr@arm.com>
3238 * NEWS: Add 16918 to fixed bug list.
3240 2014-06-24 Wilco <wdijkstr@arm.com>
3242 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3244 2014-06-24 Wilco <wdijkstr@arm.com>
3246 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3247 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3248 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3249 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3250 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3251 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3252 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3255 2014-06-24 Wilco <wdijkstr@arm.com>
3257 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3259 2014-06-24 Wilco <wdijkstr@arm.com>
3261 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3262 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3263 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3264 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3266 2014-06-24 Wilco <wdijkstr@arm.com>
3269 * sysdeps/arm/feupdateenv.c (feupdateenv):
3270 Rewrite to reduce FPSCR accesses and fix return value.
3272 2014-06-24 Wilco <wdijkstr@arm.com>
3274 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3275 Optimize to avoid unnecessary FPSCR writes.
3276 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3277 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3278 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3279 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3281 2014-06-24 Wilco <wdijkstr@arm.com>
3283 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3284 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3285 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3286 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3287 Call libc_fetestexcept_vfp.
3288 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3289 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3290 __SOFTFP__ ifdef so that they can be built for softfp.
3292 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3295 argument type signed char.
3297 * Makerules (check-abi): Dump diff of symlist if the test
3300 2014-06-23 Roland McGrath <roland@hack.frob.com>
3302 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3305 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3306 Remove unused variable ST.
3308 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3312 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3313 small arguments before calling __expm1.
3314 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3315 small arguments before calling __expm1f.
3316 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3317 small arguments before calling __expm1l.
3318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3320 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3321 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3322 spurious underflow for some cosh tests.
3323 * math/auto-libm-test-out: Regenerated.
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3328 (__ieee754_y1): Set errno if return value overflows.
3329 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3330 (__ieee754_y1f): Set errno if return value overflows.
3331 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3332 (__ieee754_y1l): Set errno if return value overflows.
3333 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3334 (__ieee754_y1l): Set errno if return value overflows.
3335 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3336 * math/auto-libm-test-out: Regenerated.
3338 * math/gen-auto-libm-tests.c: Document use of
3339 ignore-zero-inf-sign.
3340 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3341 (input_flags): Add ignore-zero-inf-sign.
3342 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3343 * math/gen-libm-test.pl (generate_testfile): Handle
3344 ignore-zero-inf-sign.
3345 * math/auto-libm-test-in: Mark some cpow tests with
3346 ignore-zero-inf-sign and some with xfail-rounding.
3347 * math/auto-libm-test-out: Regenerated.
3348 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3349 * sysdeps/i386/fpu/libm-test-ulps: Update.
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3354 overflowing or underflowing operations take place with sign of
3356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3357 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3358 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3359 (__ieee754_pow): Recompute overflowing and underflowing results in
3360 original rounding mode.
3361 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3362 (__powl_helper): Allow negative argument X and scale negated value
3363 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3364 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3365 overflowing or underflowing operations take place with sign of
3367 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3369 * math/auto-libm-test-in: Add more tests of pow.
3370 * math/auto-libm-test-out: Regenerated.
3371 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3372 (pow_tonearest_test_data): Remove.
3373 (pow_test_tonearest): Likewise.
3374 (pow_towardzero_test_data): Likewise.
3375 (pow_test_towardzero): Likewise.
3376 (pow_downward_test_data): Likewise.
3377 (pow_test_downward): Likewise.
3378 (pow_upward_test_data): Likewise.
3379 (pow_test_upward): Likewise.
3380 (main): Don't call removed functions.
3381 * sysdeps/i386/fpu/libm-test-ulps: Update.
3382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3384 2014-06-23 Roland McGrath <roland@hack.frob.com>
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3560 2014-06-23 Will Newton <will.newton@linaro.org>
3561 Wilco <wdijkstr@arm.com>
3563 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3564 implementation. Include get-rounding-mode.h.
3565 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3566 [!libc_feholdsetround_noex_ctx]: Define
3567 libc_feholdsetround_noex_ctx.
3568 [!libc_feholdsetround_noexf_ctx]: Define
3569 libc_feholdsetround_noexf_ctx.
3570 [!libc_feholdsetround_noexl_ctx]: Define
3571 libc_feholdsetround_noexl_ctx.
3572 (libc_feholdsetround_ctx): New function.
3573 (libc_feresetround_ctx): New function.
3574 (libc_feholdsetround_noex_ctx): New function.
3575 (libc_feresetround_noex_ctx): New function.
3577 2014-06-23 Roland McGrath <roland@hack.frob.com>
3579 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3580 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3581 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3582 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3583 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3584 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3586 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3587 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3588 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3589 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3590 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3591 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3593 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3594 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3598 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3601 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3603 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3606 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3608 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3609 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3610 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3611 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3612 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3615 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3618 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3619 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3620 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3623 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3627 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3628 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3629 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3630 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3634 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3636 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3647 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3650 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3657 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3659 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3661 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3663 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3665 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3666 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3674 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3684 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3692 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3695 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3696 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3697 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3698 (IPV6_PMTUDISC_INTERFACE): Likewise.
3699 (IPV6_PMTUDISC_OMIT): Likewise.
3701 2014-06-23 Andreas Schwab <schwab@suse.de>
3703 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3704 Remove unused errout label.
3706 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3709 macro: hardware supports Vector Crypto instructions.
3711 2014-06-23 Will Newton <will.newton@linaro.org>
3713 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3714 rather than __builtin_expect.
3716 * elf/dl-lookup.c (undefined_msg): Remove variable.
3717 (_dl_lookup_symbol_x): Replace undefined_msg with string
3720 * elf/dl-lookup.c (do_lookup_unique): New function.
3721 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3722 to a separate function.
3724 2014-06-23 Andreas Schwab <schwab@suse.de>
3727 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3728 before reading the next line.
3730 2014-06-23 Will Newton <will.newton@linaro.org>
3732 * test-skeleton.c (signal_handler): Use printf and %m
3733 rather than perror. Use printf rather than fprintf to
3734 stderr. Use puts rather than fputs to stderr.
3737 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3739 * nscd/nscd.c (thread_info_t): Remove typedef.
3740 (thread_info): Remove variable.
3742 2014-06-21 Allan McRae <allan@archlinux.org>
3744 * NEWS: Mention CVE-2014-4043.
3746 2014-06-20 Roland McGrath <roland@hack.frob.com>
3748 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3749 * nptl/smp.h: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3753 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3754 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3755 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3756 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3758 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3759 * nptl/stack-aliasing.h: New file.
3760 * sysdeps/i386/i686/stack-aliasing.h: New file.
3761 * sysdeps/i386/i686/nptl/Makefile: File removed.
3762 * sysdeps/x86_64/stack-aliasing.h: New file.
3763 * sysdeps/x86_64/nptl/Makefile
3764 (CFLAGS-pthread_create.c): Variable removed.
3766 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3767 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3769 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3770 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3773 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3776 (__ASSUME_SIGFRAME_V2): Remove macro.
3777 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3778 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3779 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3780 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3781 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3782 Declare as function. Remove conditional macro definitions.
3783 (__default_rt_sa_restorer): Likewise.
3784 (__default_sa_restorer_v1): Remove declaration.
3785 (__default_sa_restorer_v2): Likewise.
3786 (__default_rt_sa_restorer_v1): Likewise.
3787 (__default_rt_sa_restorer_v2): Likewise.
3788 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3789 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3790 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3792 2014-06-20 Roland McGrath <roland@hack.frob.com>
3794 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3795 (libpthread-routines): Add sysdep.
3796 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3797 * sysdeps/unix/sysv/linux/sparc/Versions
3798 (libpthread: GLIBC_2.3.3): New version set.
3799 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3800 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3801 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3803 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3804 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3806 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3808 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3810 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3812 * sysdeps/sparc/nptl/sem_init.c: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3814 * sysdeps/sparc/nptl/sem_post.c: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3816 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3818 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3820 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3821 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3822 (libpthread-routines): Add cpu_relax.
3823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3825 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3826 (librt: GLIBC_2.3.3): New version set.
3827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3828 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3829 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3830 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3833 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3836 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3838 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3840 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3842 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3844 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3847 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3851 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3867 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3870 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3876 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3881 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3883 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3885 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3887 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3889 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3890 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3891 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3892 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3893 * nscd/nscd.c: Likewise.
3894 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3895 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3896 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3897 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3899 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3900 <kernel-features.h>.
3901 (init_mq_netlink): Remove conditional have_sock_cloexec
3902 definitions. Remove code conditional on have_sock_cloexec < 0.
3903 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3904 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3905 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3906 <kernel-features.h>.
3907 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3908 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3910 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3913 Add tests for memset_chk and memset.
3915 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3918 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3921 * elf/tst-dl-iter-static.c: New file.
3922 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3924 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3927 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3929 * sysdeps/unix/sysv/linux/kernel-features.h
3930 (__ASSUME_F_GETOWN_EX): Remove macro.
3931 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3932 <kernel-features.h>.
3933 (miss_F_GETOWN_EX): Remove variable or macro.
3934 (do_fcntl): Do not check miss_F_GETOWN_EX.
3935 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3937 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3940 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3941 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3943 * sysdeps/unix/sysv/linux/kernel-features.h
3944 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3945 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3946 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3947 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3949 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3952 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3953 Fix calculation of the symbol's value.
3954 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3955 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3956 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3957 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3958 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3959 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3960 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3961 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3962 (modules-names): Add `tst-armtlsdescmod',
3963 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3964 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3965 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3966 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3967 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3968 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3969 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3970 ($(objpfx)tst-armtlsdescloc): New dependency.
3971 ($(objpfx)tst-armtlsdescextnow): Likewise.
3972 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3973 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3975 * sysdeps/arm/configure: Regenerate.
3977 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3979 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3980 (__atfct_seterrno_2): Likewise.
3981 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3982 <kernel-features.h>.
3983 (__ASSUME_ATFCTS): Do not undefine and redefine.
3984 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3985 (__have_atfcts): Remove conditional definition.
3986 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3987 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3988 unreachable if [__ASSUME_ATFCTS].
3989 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3990 not undefine and redefine.
3991 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3992 <kernel-features.h>.
3993 (faccessat) [__NR_faccessat]: Make code unconditional.
3994 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3996 <kernel-features.h>.
3997 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3998 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3999 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4000 <kernel-features.h>.
4001 (fchownat) [__NR_fchownat]: Make code unconditional.
4002 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4003 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4004 <kernel-features.h>.
4005 (futimesat) [__NR_futimesat]: Make code unconditional.
4006 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4007 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4008 <kernel-features.h>.
4009 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4010 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4011 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4012 <kernel-features.h>.
4013 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4014 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4015 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4016 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4017 <kernel-features.h>.
4018 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4019 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4020 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4021 <kernel-features.h>.
4022 (linkat) [__NR_linkat]: Make code unconditional.
4023 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4024 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4025 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4026 <kernel-features.h>.
4027 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4028 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4029 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4030 <kernel-features.h>.
4031 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4032 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4033 * sysdeps/unix/sysv/linux/openat.c: Do not include
4034 <kernel-features.h>.
4035 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4036 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4037 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4038 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4040 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4041 <kernel-features.h>.
4042 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4043 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4044 result of INLINE_SYSCALL directly, not via int variable.
4045 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4046 <kernel-features.h>.
4047 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4048 (renameat) [__NR_renameat]: Make code unconditional.
4049 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4050 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4051 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4052 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4053 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4054 (__ASSUME_ATFCTS): Do not undefine and redefine.
4055 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4056 <kernel-features.h>.
4057 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4058 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4059 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4060 <kernel-features.h>.
4061 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4062 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4064 (__ASSUME_ATFCTS): Do not undefine and redefine.
4065 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4066 <kernel-features.h>.
4067 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4068 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4070 <kernel-features.h>.
4071 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4072 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4074 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4076 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4078 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4081 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4082 constructed tree before returning error.
4083 * posix/bug-regexp36.c: Expand test case.
4085 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4088 * math/libm-test.inc (scalbln_test_date):
4089 Add errno expectations.
4090 * math/w_scalblnf.c: New File.
4091 Add wrapper which checks for setting errno to ERANGE.
4092 Add weak_alias for corresponding scalbln function.
4093 * math/w_scalbln.c: Likewise.
4094 * math/w_scalblnl.c: Likewise.
4095 * math/Makefile (libm-calls): Add w_scalbln.
4096 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4097 Remove weak_alias for corresponding scalbln function.
4098 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4102 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4103 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4104 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4105 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4106 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4107 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4108 Remove long_double_symbol for scalblnl function in libm, libc.
4109 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4110 Add wrapper which checks for setting errno to ERANGE.
4111 Add long_double_symbol for scalblnl function in libm, libc.
4112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4113 Remove long_double_symbol for scalblnl in libm.
4114 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4115 Add wrapper which checks for setting errno to ERANGE.
4116 Add long_double_symbol for scalblnl function in libm.
4117 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4118 Do not use wrapper because of own implementation.
4120 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4122 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4123 3 bytes for __pad1 for x32.
4124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4126 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4127 H.J. Lu <hongjiu.lu@intel.com>
4129 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4130 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4133 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4135 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4138 * posix/regcomp.c (parse_expression): Deallocate partially
4139 constructed tree before returning error.
4140 * posix/Makefile.c (tests): Add bug-regex36.
4141 (generated): Add bug-regex36.mtrace.
4142 (tests-special): Add $(objpfx)bug-regex36-mem.out
4143 (bug-regex36-ENV): New variable.
4144 ($(objpfx)bug-regex36-mem.out): New rule.
4145 * posix/bug-regex36.c: New file.
4147 2014-06-19 Will Newton <will.newton@linaro.org>
4149 * malloc/malloc.c (systrim): If extra is zero then return
4152 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4154 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4156 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4158 * sysdeps/aarch64/strchr.S: New file.
4160 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4163 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4164 from arguments -2 or below.
4165 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4166 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4168 2014-06-18 Andreas Schwab <schwab@suse.de>
4171 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4172 of a bracket expr not to run off the end of the string.
4173 * posix/Makefile (tests): Add tst-fnmatch3.
4174 * posix/tst-fnmatch3.c: New file.
4176 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4178 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4179 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4180 [$(cross-compiling) = no]: Likewise.
4181 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4182 [$(cross-compiling) = no]: Likewise.
4184 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4187 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4188 double, adjusted for any remainder from the high double.
4189 * math/libm-test.inc (nearbyint): Add tests.
4192 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4194 * nptl/sysdeps/powerpc/Makefile: Moved ...
4195 * sysdeps/powerpc/nptl/Makefile: ... here.
4196 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4197 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4198 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4199 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4200 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4201 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4202 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4203 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4204 * nptl/sysdeps/powerpc/tls.h: Moved ...
4205 * sysdeps/powerpc/nptl/tls.h: ... here.
4207 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4210 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4211 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4212 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4213 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4214 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4215 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4216 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4217 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4218 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4220 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4222 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4224 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4226 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4229 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4232 2014-06-16 Florian Weimer <fweimer@redhat.com>
4235 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4236 non-executed part of the test.
4238 2014-06-16 Andreas Schwab <schwab@suse.de>
4240 * string/bits/string2.h (strdup, strndup): Update feature guard.
4242 2014-06-14 David S. Miller <davem@davemloft.net>
4244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4246 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4248 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4249 that was previously under [RESET_PID].
4250 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4252 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4253 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4254 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4255 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4256 (__libc_vfork): New strong alias.
4257 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4259 2014-06-14 Andi Kleen <ak@linux.intel.com>
4261 * sysdeps/generic/elide.h: New file.
4263 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4265 * Makefile (installed-headers): Adjust path of pthread.h header.
4267 2014-06-13 Roland McGrath <roland@hack.frob.com>
4269 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4270 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4272 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4274 * nptl/sysdeps/s390/Makefile: Moved ...
4275 * sysdeps/s390/nptl/Makefile: ... here.
4276 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4277 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4278 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4279 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4280 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4281 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4282 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4283 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4284 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4285 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4286 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4287 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4288 * nptl/sysdeps/s390/tls.h: Moved ...
4289 * sysdeps/s390/nptl/tls.h: ... here.
4291 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4292 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4294 2014-06-13 David S. Miller <davem@davemloft.net>
4296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4303 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4304 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4305 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4306 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4307 Remove RESET_PID cpp guards.
4308 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4309 Remove RESET_PID cpp guards.
4310 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4312 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4314 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4317 2014-06-13 Andi Kleen <ak@linux.intel.com>
4319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4320 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4321 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4322 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4323 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4324 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4327 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4328 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4330 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4331 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4333 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4335 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4336 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4337 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4338 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4340 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4341 (pthread_rwlock_rdlock): Add elision.
4342 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4343 (pthread_rwlock_wrlock): Add elision.
4344 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4345 (pthread_rwlock_trywrlock): Add elision.
4346 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4347 (pthread_rwlock_tryrdlock): Add elision.
4348 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4349 (pthread_rwlock_tryrdlock): Add elision unlock.
4350 * nptl/sysdeps/pthread/pthread.h:
4351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4352 (PTHREAD_RWLOCK_INITIALIZER,
4353 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4354 Handle new elision field.
4355 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4356 * sysdeps/arm/nptl/bits/pthreadtypes.h
4357 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4358 * sysdeps/sh/nptl/bits/pthreadtypes.h
4359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4360 * sysdeps/tile/nptl/bits/pthreadtypes.h
4361 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4362 * sysdeps/a/nptl/bits/pthreadtypes.h
4363 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4364 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4366 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4367 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4368 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4370 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4372 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4374 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4376 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4378 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4380 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4381 (elision_init): Set try_xbegin to zero when no RTM.
4382 * sysdeps/x86/nptl/bits/pthreadtypes.h
4383 (pthread_rwlock_t): Change __pad1 to __rwelision.
4384 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4386 2014-06-13 Andi Kleen <ak@linux.intel.com>
4388 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4389 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4390 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4391 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4393 2014-06-13 Meador Inge <meadori@codesourcery.com>
4396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4397 that the cached result has been set before returning it.
4399 2014-06-12 Roland McGrath <roland@hack.frob.com>
4401 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4402 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4404 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4406 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4408 * nptl/sysdeps/sparc/Makefile: Moved ...
4409 * sysdeps/sparc/nptl/Makefile: ... here.
4410 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4411 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4412 * nptl/sysdeps/sparc/tls.h: Moved ...
4413 * sysdeps/sparc/nptl/tls.h: ... here.
4414 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4415 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4416 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4417 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4418 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4419 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4420 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4421 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4422 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4423 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4424 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4425 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4426 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4427 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4428 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4429 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4430 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4431 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4433 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4434 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4436 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4437 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4439 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4440 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4443 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4445 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4446 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4448 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4449 (struct list_links): Type removed.
4450 (struct thread_node, struct timer_node): Replace struct list_links
4451 with struct list_head.
4452 (list_unlink_ip): Likewise.
4453 * sysdeps/pthread/timer_routines.c
4454 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4455 (list_append, list_insbefore): Likewise.
4456 (list_init): Function removed.
4457 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4458 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4459 * sysdeps/pthread/Makefile: ... here, new file.
4461 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4462 * sysdeps/nptl/Implies: ... here.
4463 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4464 * nptl/sysdeps/pthread/list.h: Moved ...
4465 * include/list.h: ... here.
4466 * nptl/sysdeps/pthread/createthread.c: Moved ...
4467 * nptl/createthread.c: ... here.
4468 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4469 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4470 * nptl/pt-longjmp.c: ... here.
4471 * nptl/sysdeps/pthread/Makefile: Moved ...
4472 * sysdeps/nptl/Makefile: ... here.
4473 * nptl/sysdeps/pthread/Subdirs: Moved ...
4474 * sysdeps/nptl/Subdirs: ... here.
4475 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4476 * sysdeps/nptl/aio_misc.h: ... here.
4477 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4478 * sysdeps/nptl/bits/libc-lock.h: ... here.
4479 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4480 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4481 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4482 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4483 * nptl/sysdeps/pthread/configure: Moved ...
4484 * sysdeps/nptl/configure: ... here.
4485 * nptl/sysdeps/pthread/configure.ac: Moved ...
4486 * sysdeps/nptl/configure.ac: ... here.
4487 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4488 * sysdeps/nptl/gai_misc.h: ... here.
4489 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4490 * sysdeps/nptl/librt-cancellation.c: ... here.
4491 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4492 * sysdeps/nptl/malloc-machine.h: ... here.
4493 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4494 * sysdeps/nptl/pthread-functions.h: ... here.
4495 * nptl/sysdeps/pthread/pthread.h: Moved ...
4496 * sysdeps/nptl/pthread.h: ... here.
4497 * nptl/sysdeps/pthread/setxid.h: Moved ...
4498 * sysdeps/nptl/setxid.h: ... here.
4499 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4500 * sysdeps/nptl/sigfillset.c: ... here.
4501 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4502 * sysdeps/nptl/tcb-offsets.h: ... here.
4503 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4504 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4505 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4506 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4507 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4508 * sysdeps/pthread/allocalim.h: ... here.
4509 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4510 * sysdeps/pthread/bits/sigthread.h: ... here.
4511 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4512 * sysdeps/pthread/flockfile.c: ... here.
4513 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4514 * sysdeps/pthread/ftrylockfile.c: ... here.
4515 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4516 * sysdeps/pthread/funlockfile.c: ... here.
4517 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4518 * sysdeps/pthread/posix-timer.h: ... here.
4519 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4520 * sysdeps/pthread/timer_create.c: ... here.
4521 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4522 * sysdeps/pthread/timer_delete.c: ... here.
4523 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4524 * sysdeps/pthread/timer_getoverr.c: ... here.
4525 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4526 * sysdeps/pthread/timer_gettime.c: ... here.
4527 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4528 * sysdeps/pthread/timer_routines.c: ... here.
4529 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4530 * sysdeps/pthread/timer_settime.c: ... here.
4531 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4532 * sysdeps/pthread/tst-timer.c: ... here.
4533 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4534 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4536 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4537 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4539 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4540 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4541 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4542 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4543 Update #include target.
4544 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4545 * sysdeps/i386/i686/nptl/Makefile: ... here.
4546 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4547 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4548 Update #include target.
4549 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4550 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4551 * nptl/sysdeps/i386/Makefile: Moved ...
4552 * sysdeps/i386/nptl/Makefile: ... here.
4553 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4554 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4555 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4556 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4557 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4558 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4559 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4560 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4561 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4562 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4563 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4564 * nptl/sysdeps/i386/tls.h: Moved ...
4565 * sysdeps/i386/nptl/tls.h: ... here.
4567 * sysdeps/sh/Makefile [$(subdir) = csu]
4568 (gen-as-const-headers): Add tcb-offsets.sym.
4569 * nptl/sysdeps/sh/Makefile: File removed.
4570 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4571 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4572 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4573 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4574 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4575 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4576 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4577 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4578 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4579 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4580 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4581 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4582 * nptl/sysdeps/sh/tls.h: Moved ...
4583 * sysdeps/sh/nptl/tls.h: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4585 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4587 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4589 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4591 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4593 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4595 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4597 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4599 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4601 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4603 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4605 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4607 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4610 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4613 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4615 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4617 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4619 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4621 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4623 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4625 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4627 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4629 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4631 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4633 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4635 * posix/spawn_faction_addopen.c: Include string.h.
4637 2014-06-11 Roland McGrath <roland@hack.frob.com>
4639 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4640 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4641 * nptl/sysdeps/x86_64/Makefile: Moved ...
4642 * sysdeps/x86_64/nptl/Makefile: ... here.
4643 * nptl/sysdeps/x86_64/configure: Moved ...
4644 * sysdeps/x86_64/nptl/configure: ... here.
4645 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4646 * sysdeps/x86_64/nptl/configure.ac: ... here.
4647 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4648 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4649 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4650 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4651 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4652 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4653 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4654 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4655 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4656 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4657 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4658 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4659 * nptl/sysdeps/x86_64/tls.h: Moved ...
4660 * sysdeps/x86_64/nptl/tls.h: ... here.
4661 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4662 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4663 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4664 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4666 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4668 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4672 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4674 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4676 [POSIX] (off_t): Likewise.
4677 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4678 [POSIX] (S_ISBLK): Require macro.
4679 [POSIX] (S_ISCHR): Likewise.
4680 [POSIX] (S_ISDIR): Likewise.
4681 [POSIX] (S_ISFIFO): Likewise.
4682 [POSIX] (S_ISREG): Likewise.
4683 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4685 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4687 [POSIX] (time_t): Likewise.
4688 [POSIX] (timer_t): Likewise.
4690 2014-06-11 Florian Weimer <fweimer@redhat.com>
4693 * posix/spawn_int.h (struct __spawn_action): Make the path string
4694 non-const to support deallocation.
4695 * posix/spawn_faction_addopen.c
4696 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4697 * posix/spawn_faction_destroy.c
4698 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4699 path in all spawn_do_open actions.
4700 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4701 posix_spawn_file_actions_addopen.
4703 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4705 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4706 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4707 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4708 conditional code always true.
4709 (__libc_vfork): New alias.
4711 2014-06-11 Roland McGrath <roland@hack.frob.com>
4713 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4714 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4716 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4718 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4719 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4721 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4722 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4724 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4725 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4727 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4730 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4731 multiarch strcmp for PPC64.
4732 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4733 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4735 multiarch optimizations.
4736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4737 (__libc_ifunc_impl_list): Likewise.
4739 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4741 * benchtests/scripts/validate_benchout.py: New script.
4742 * benchtests/Makefile (bench-func): Call it.
4743 * benchtests/scripts/benchout.schema.json: New file.
4745 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4747 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4748 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4749 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4750 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4751 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4752 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4753 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4754 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4755 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4756 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4757 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4758 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4759 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4760 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4761 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4762 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4867 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4869 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4872 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4877 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4879 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4881 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4883 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4884 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4885 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4888 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4891 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4893 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4896 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4898 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4900 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4901 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4902 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4904 2014-06-10 Wilco <wdijkstr@arm.com>
4906 * math/test-fenv-return.c: New file.
4907 * math/Makefile: Add new test test-fenv-return.
4909 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4912 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4914 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4915 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4916 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4917 0.0L for an argument of 1.0L.
4918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4920 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4921 value when x - 1 is zero.
4922 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4923 * sysdeps/i386/fpu/libm-test-ulps: Update.
4924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4926 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4929 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4931 2014-06-09 Roland McGrath <roland@hack.frob.com>
4933 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4934 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4936 2014-06-09 Roland McGrath <roland@hack.frob.com>
4938 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4939 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4941 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4942 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4944 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4945 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4947 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4948 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4950 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4951 if not already defined.
4952 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4953 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4954 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4955 (TLS_INIT_TP): Use it.
4956 (TLS_DEFINE_INIT_TP): New macro.
4957 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4959 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4961 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4963 [POSIX] (IXANY): Likewise.
4964 [POSIX] (OLCUC): Likewise.
4965 [POSIX || POSIX2008] (CBAUD): Do not allow.
4966 [POSIX || POSIX2008] (DEFECHO): Likewise.
4967 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4968 [POSIX || POSIX2008] (ECHOKE): Likewise.
4969 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4970 [POSIX || POSIX2008] (EXTA): Likewise.
4971 [POSIX || POSIX2008] (EXTB): Likewise.
4972 [POSIX || POSIX2008] (FLUSHO): Likewise.
4973 [POSIX || POSIX2008] (LOBLK): Likewise.
4974 [POSIX || POSIX2008] (PENDIN): Likewise.
4975 [POSIX || POSIX2008] (SWTCH): Likewise.
4976 [POSIX || POSIX2008] (VDISCARD): Likewise.
4977 [POSIX || POSIX2008] (VDSUSP): Likewise.
4978 [POSIX || POSIX2008] (VLNEXT): Likewise.
4979 [POSIX || POSIX2008] (VREPRINT): Likewise.
4980 [POSIX || POSIX2008] (VSTATUS): Likewise.
4981 [POSIX || POSIX2008] (VWERASE): Likewise.
4982 (B*): Change to B[0123456789]*.
4983 * conform/data/time.h-data [POSIX || UNIX98]
4984 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4985 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4986 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4987 [POSIX] (tm_*): Do not allow.
4989 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4991 * Makefile (install): Don't set LANGUAGE.
4992 * Makefile.in (install): Likewise.
4993 * assert/Makefile (test-assert-ENV): Remove variable.
4994 (test-assert-perr-ENV): Likewise.
4995 * elf/Makefile (neededtest4-ENV): Likewise.
4996 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4997 [$(cross-compiling) = no]: Don't set LANGUAGE.
4998 * io/ftwtest-sh (LANG): Remove variable.
4999 * libio/Makefile (tst-widetext-ENV): Likewise.
5000 * manual/install.texi (Running make install): Don't refer to
5001 environment settings for make install.
5002 * INSTALL: Regenerated.
5003 * nptl/tst-tls6.sh: Don't set LANG.
5004 * posix/globtest.sh (LANG): Remove variable.
5005 * string/Makefile (tester-ENV): Likewise.
5006 (inl-tester-ENV): Likewise.
5007 (noinl-tester-ENV): Likewise.
5008 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5009 [$(cross-compiling) = no]: Don't set LANGUAGE.
5010 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5011 without explicit environment settings.
5013 2014-06-06 Roland McGrath <roland@hack.frob.com>
5015 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5016 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5017 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5018 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5020 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5022 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5023 other files in the crypt directory.
5024 * crypt/crypt.c: Remove duplicate includes.
5025 * crypt/crypt-entry.c: Likewise.
5026 * crypt/crypt_util.c: Likewise.
5028 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5030 * Makeconfig (run-program-env): New variable.
5031 (run-program-prefix-before-env): Likewise.
5032 (run-program-prefix-after-env): Likewise.
5033 (run-program-prefix): Define in terms of new variables.
5034 (built-program-cmd-before-env): New variable.
5035 (built-program-cmd-after-env): Likewise.
5036 (built-program-cmd): Define in terms of new variables.
5037 (test-program-prefix-before-env): New variable.
5038 (test-program-prefix-after-env): Likewise.
5039 (test-program-prefix): Define in terms of new variables.
5040 (test-program-cmd-before-env): New variable.
5041 (test-program-cmd-after-env): Likewise.
5042 (test-program-cmd): Define in terms of new variables.
5043 * Rules (make-test-out): Use $(run-program-env).
5044 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5045 (help): Do not mention environment variables. Mention
5046 --timeoutfactor option.
5047 (timeoutfactor): New variable.
5048 (blacklist_exports): Remove function.
5049 (exports): Remove variable.
5050 (command): Do not include ${exports}.
5051 * manual/install.texi (Configuring and compiling): Do not mention
5052 test wrappers preserving environment variables. Mention that last
5053 assignment to a variable must take precedence.
5054 * INSTALL: Regenerated.
5055 * benchtests/Makefile (run-bench): Use $(run-program-env).
5056 * catgets/Makefile ($(objpfx)test1.cat): Use
5057 $(built-program-cmd-before-env), $(run-program-env) and
5058 $(built-program-cmd-after-env).
5059 ($(objpfx)test2.cat): Do not specify environment variables
5061 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5062 $(run-program-env) and $(built-program-cmd-after-env).
5063 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5064 $(run-program-env) and $(test-program-cmd-after-env).
5065 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5067 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5068 run_program_env and test_program_cmd_after_env arguments.
5069 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5070 * elf/tst-pathopt.sh: Use run_program_env argument.
5071 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5072 $(test-wrapper-env) and $(run-program-env).
5073 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5074 run_program_env arguments.
5075 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5076 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5077 $(test-program-prefix-before-env), $(run-program-env) and
5078 $(test-program-prefix-after-env).
5079 ($(objpfx)tst-gettext2.out): Likewise.
5080 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5081 run_program_env and test_program_prefix_after_env arguments.
5082 * intl/tst-gettext2.sh: Likewise.
5083 * intl/tst-gettext4.sh: Do not set environment variables
5085 * intl/tst-gettext6.sh: Likewise.
5086 * intl/tst-translit.sh: Likewise.
5087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5088 $(test-program-prefix-before-env), $(run-program-env) and
5089 $(test-program-prefix-after-env).
5090 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5091 run_program_env and test_program_prefix_after_env arguments.
5092 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5093 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5094 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5095 explicitly with each use of ${test_wrapper_env}.
5096 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5097 $(test-program-prefix-before-env), $(run-program-env) and
5098 $(test-program-prefix-after-env).
5099 * posix/tst-getconf.sh: Do not set environment variables
5101 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5102 run_program_env and test_program_prefix_after_env arguments.
5103 * stdio-common/tst-printf.sh: Do not set environment variables
5105 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5106 $(test-program-prefix-before-env), $(run-program-env) and
5107 $(test-program-prefix-after-env).
5108 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5109 run_program_env and test_program_prefix_after_env arguments.
5110 Split $test calls into $test_pre and $test.
5111 * timezone/Makefile (build-testdata): Use
5112 $(built-program-cmd-before-env), $(run-program-env) and
5113 $(built-program-cmd-after-env).
5115 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5118 strlen for non SHARED builds.
5120 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 * nptl/allocatestack.c (check_list): Inlined function...
5123 (__reclaim_stacks): ... here.
5125 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5128 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5131 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5133 * Rules (make-test-out): Include
5134 LOCPATH=$(common-objpfx)localedata in default environment.
5135 * debug/Makefile (tst-chk1-ENV): Remove variable.
5136 (tst-chk2-ENV): Likewise.
5137 (tst-chk3-ENV): Likewise.
5138 (tst-chk4-ENV): Likewise.
5139 (tst-chk5-ENV): Likewise.
5140 (tst-chk6-ENV): Likewise.
5141 (tst-lfschk1-ENV): Likewise.
5142 (tst-lfschk2-ENV): Likewise.
5143 (tst-lfschk3-ENV): Likewise.
5144 (tst-lfschk4-ENV): Likewise.
5145 (tst-lfschk5-ENV): Likewise.
5146 (tst-lfschk6-ENV): Likewise.
5147 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5148 (tst-iconv7-ENV): Likewise.
5149 * intl/Makefile (LOCPATH-ENV): Likewise.
5150 (tst-codeset-ENV): Likewise.
5151 (tst-gettext3-ENV): Likewise.
5152 (tst-gettext5-ENV): Likewise.
5153 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5154 (tst-fopenloc-ENV): Likewise.
5155 (tst-fgetws-ENV): Remove variable.
5156 (tst-ungetwc1-ENV): Likewise.
5157 (tst-ungetwc2-ENV): Likewise.
5158 (bug-ungetwc2-ENV): Likewise.
5159 (tst-swscanf-ENV): Likewise.
5160 (bug-ftell-ENV): Likewise.
5161 (tst-fgetwc-ENV): Likewise.
5162 (tst-fseek-ENV): Likewise.
5163 (tst-ftell-partial-wide-ENV): Likewise.
5164 (tst-ftell-active-handler-ENV): Likewise.
5165 (tst-ftell-append-ENV): Likewise.
5166 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5167 (tst-regexloc-ENV): Likewise.
5168 (bug-regex1-ENV): Likewise.
5169 (tst-regex-ENV): Likewise.
5170 (tst-regex2-ENV): Likewise.
5171 (bug-regex5-ENV): Likewise.
5172 (bug-regex6-ENV): Likewise.
5173 (bug-regex17-ENV): Likewise.
5174 (bug-regex18-ENV): Likewise.
5175 (bug-regex19-ENV): Likewise.
5176 (bug-regex20-ENV): Likewise.
5177 (bug-regex22-ENV): Likewise.
5178 (bug-regex23-ENV): Likewise.
5179 (bug-regex25-ENV): Likewise.
5180 (bug-regex26-ENV): Likewise.
5181 (bug-regex30-ENV): Likewise.
5182 (bug-regex32-ENV): Likewise.
5183 (bug-regex33-ENV): Likewise.
5184 (bug-regex34-ENV): Likewise.
5185 (bug-regex35-ENV): Likewise.
5186 (tst-rxspencer-ENV): Likewise.
5187 (tst-rxspencer-no-utf8-ENV): Likewise.
5188 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5189 (tst-sscanf-ENV): Likewise.
5190 (tst-swprintf-ENV): Likewise.
5191 (tst-swscanf-ENV): Likewise.
5192 (test-vfprintf-ENV): Likewise.
5193 (scanf13-ENV): Likewise.
5194 (bug14-ENV): Likewise.
5195 (tst-grouping-ENV): Likewise.
5196 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5197 (tst-strtod3-ENV): Likewise.
5198 (tst-strtod4-ENV): Likewise.
5199 (tst-strtod5-ENV): Likewise.
5200 (testmb2-ENV): Likewise./
5201 * string/Makefile (tst-strxfrm-ENV): Likewise.
5202 (tst-strxfrm2-ENV): Likewise.
5203 (bug-strcoll1-ENV): Likewise.
5204 (test-strcasecmp-ENV): Likewise.
5205 (test-strncasecmp-ENV): Likewise.
5206 * time/Makefile (tst-strptime-ENV): Likewise.
5207 (tst-ftime_l-ENV): Likewise.
5208 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5209 (tst-mbrtowc-ENV): Likewise.
5210 (tst-wcrtomb-ENV): Likewise.
5211 (tst-mbrtowc2-ENV): Likewise.
5212 (tst-c16c32-1-ENV): Likewise.
5213 (tst-mbsnrtowcs-ENV): Likewise.
5215 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5217 * manual/resource.texi (How to get information about the memory
5218 subsystem?): Fix typo.
5219 Reported by Peon de la Parra Ivan <peon@keba.com>
5221 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5224 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5225 (pthread_spin_lock): Branch out of spin loop to proper location.
5226 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5227 (pthread_spin_lock): Likewise.
5229 * nptl/tst-spin4.c: New test.
5230 * nptl/Makefile (tests): Add tst-spin4.
5232 2014-06-03 Andreas Schwab <schwab@suse.de>
5235 * resolv/res_send.c (send_dg): Reload file descriptor after
5238 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5242 2014-06-03 Richard Henderson <rth@redhat.com>
5244 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5245 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5246 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5247 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5248 in the SAVE_PID block.
5249 (__libc_vfork): New alias.
5250 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5252 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5253 child in registers, not on the stack. Remove RESET_PID conditionals.
5254 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5256 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5258 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5260 2014-06-03 Wilco <wdijkstr@arm.com>
5262 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5263 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5264 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5265 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5266 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5269 2014-06-03 Wilco <wdijkstr@arm.com>
5271 * sysdeps/aarch64/fpu/math_private.h
5272 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5273 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5274 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5275 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5278 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5280 * crypt/crypt-private.h: Include ufc-crypt.h.
5281 (__b64_from_24bit): Declare extern.
5282 * crypt/crypt_util.c(__b64_from_24bit): New function.
5283 (b64t): New static const variable.
5284 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5285 (b64t): Remove variable.
5286 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5287 * crypt/sha256-crypt.c: Include crypt-private.h.
5288 (b64t): Remove variable.
5289 (__sha256_crypt_r): Remove b64_from_24bit and replace
5290 with __b64_from_24bit.
5291 * crypt/sha512-crypt.c: Likewise.
5293 2014-06-02 Roland McGrath <roland@hack.frob.com>
5295 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5296 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5297 Label the code __libc_vfork rather than __vfork.
5298 [!NOT_IN_libc] (vfork): Define as weak alias.
5299 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5300 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5301 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5303 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5305 * malloc/malloc.c (malloc_info): Fix format specifier for
5308 2014-06-02 Wilco <wdijkstr@arm.com>
5310 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5313 2014-06-02 Wilco <wdijkstr@arm.com>
5316 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5317 Rewrite to reduce FPCR/FPSR accesses.
5319 2014-06-01 David S. Miller <davem@davemloft.net>
5321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5323 2014-05-31 David S. Miller <davem@davemloft.net>
5325 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5326 to occur in round to nearest mode when |x| >= 2.0
5328 2014-05-30 Richard Henderson <rth@twiddle.net>
5330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5331 (PSEUDO_RET_NOERRNO): Remove.
5332 (ret): Don't redefine.
5333 (ret_NOERRNO): Define in terms of ret.
5334 (ret_ERRVAL): Likewise.
5336 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5337 use of PSEUDO_RET; perform the error check directly.
5339 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5341 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5344 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5346 * malloc/malloc (malloc_info): Fix formatting.
5348 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5349 Roland McGrath <roland@hack.frob.com>
5351 * malloc/malloc (malloc_info): Also print mmapped statistics.
5353 2014-05-30 Roland McGrath <roland@hack.frob.com>
5355 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5356 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5358 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5360 * malloc/malloc.c (malloc_info): Inline mi_arena.
5362 2014-05-29 Richard Henderson <rth@twiddle.net>
5364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5365 Remove comma before expanding ASM_ARGS_##nr.
5366 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5367 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5369 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5370 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5371 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5372 (ASM_ARGS_1): Add leading comma.
5374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5375 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5376 to __errno_location.
5377 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5378 Remove the expected plt for __errno_location.
5380 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5381 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5384 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5385 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5386 it and break it down.
5387 (DOCARGS_0, DOCARGS_1): Do nothing.
5388 (DOCARGS_2): Update to store into the new stack frame.
5389 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5390 (UNDOCARGS_1): Update to restore from the new stack frame.
5391 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5392 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5395 (SINGLE_THREAD_P): New parameter for result regno.
5396 (PSEUDO): Update to match; use cbz instead of beq.
5398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5399 Use ENTRY to define the _nocancel entry point. Share the syscall
5400 and syscall error check paths with the cancel path.
5403 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5404 whitespace; tabs before and after asm mnemonics.
5406 2014-05-29 Eric Wong <normalperson@yhbt.net>
5409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5410 Call fstat64 or stat64 internally, depending on arguments passed.
5411 Replace stat buffer argument with file descriptor argument.
5412 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5413 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5414 Pass fd to __internal_statvfs instead of calling fstat64.
5415 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5416 Pass fd to __internal_statvfs64 instead of calling fstat64.
5417 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5418 Pass -1 to __internal_statvfs instead of calling stat64.
5419 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5420 Pass -1 to __internal_statvfs64 instead of calling stat64.
5422 2014-05-28 Roland McGrath <roland@hack.frob.com>
5424 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5425 that was previously under [RESET_PID].
5426 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5428 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5429 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5431 2014-05-27 Roland McGrath <roland@hack.frob.com>
5433 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5435 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5436 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5438 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5440 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5442 2014-05-27 Andreas Schwab <schwab@suse.de>
5444 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5446 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5447 * elf/rtld.c (init_tls, dl_main): Likewise.
5448 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5449 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5450 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5451 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5452 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5453 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5454 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5455 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5456 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5457 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5458 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5459 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5460 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5461 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5462 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5463 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5464 * sysdeps/generic/tls.h: Update description.
5466 2014-05-27 Will Newton <will.newton@linaro.org>
5469 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5470 and restore r2 rather than just restoring.
5472 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * libio/tst-ftell-append.c: New test case.
5476 * libio/Makefile (tests): Add test case.
5477 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5479 * libio/wfileops.c (do_ftell_wide): Likewise.
5481 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5485 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5490 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5491 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5492 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5494 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5502 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5504 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5507 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5510 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5512 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5514 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5516 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5519 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5521 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5544 conditional [RESET_PID].
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5553 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5554 (__libc_vfork): New strong alias.
5555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5562 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5563 (__libc_vfork): New strong alias.
5564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5569 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5571 * malloc/malloc.c (mi_arena): New function.
5572 (malloc_info): Remove nested function mi_arena. Call non-nosted
5575 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5579 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5580 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5581 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5582 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5583 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5584 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5585 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5587 2014-05-26 Andreas Schwab <schwab@suse.de>
5590 * locale/programs/repertoire.c (repertoire_read): Add slash
5591 between I18NPATH element and file name.
5592 * locale/programs/locfile.c (locfile_read): Likewise.
5594 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5596 * nptl/pthread_mutexattr_settype.c
5597 (__pthread_mutexattr_settype):
5598 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5600 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5602 * nptl/tst-mutex5 (do_test):
5603 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5605 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5607 * benchtests/README: Document 'init' directive.
5608 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5610 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5611 (parse_file): Recognize 'init' directive.
5613 2014-05-26 Kyle McMartin <kyle@redhat.com>
5616 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5617 alignment of struct pthread.
5619 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5622 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5623 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5624 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5625 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5627 2014-05-25 Richard Henderson <rth@twiddle.net>
5629 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5630 (SINGLE_THREAD_P_PIC): Remove.
5631 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5632 (SINGLE_THREAD_P_PIC): Remove.
5634 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5635 branch to syscall error ...
5637 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5638 from __local_syscall_error to .Lsyscall_error.
5639 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5640 (SYSCALL_ERROR): Update label name.
5642 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5643 Do not use DOARGS/UNDOARGS.
5644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5645 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5646 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5647 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5648 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5650 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5653 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5654 define if !NOT_IN_libc.
5655 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5656 define with non-default symbol versions.
5658 2014-05-23 Richard Henderson <rth@twiddle.net>
5660 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5661 (vfork, __vfork): Define via compat_symbol.
5663 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5664 [!HAVE_IFUNC] (vfork_compat): Remove.
5665 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5667 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5670 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5671 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5674 2014-05-23 Richard Henderson <rth@twiddle.net>
5676 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5677 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5678 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5679 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5681 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5682 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5683 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5684 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5685 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5686 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5687 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5688 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5689 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5690 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5691 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5692 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5693 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5720 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5721 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5722 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5723 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5724 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5725 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5726 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5728 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5730 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5732 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5734 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5736 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5738 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5739 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5740 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5741 before exiting on error.
5742 (__libc_vfork): New strong alias.
5743 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5744 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5746 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5747 that was previously under [RESET_PID].
5748 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5750 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5752 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5755 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5756 value when x - 1 is zero.
5757 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5758 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5759 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5760 0.0L for an argument of 1.0L.
5761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5763 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5764 value when x - 1 is zero.
5765 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5766 * sysdeps/i386/fpu/libm-test-ulps: Update.
5767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5771 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5772 alphasort and versionsort.
5774 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5778 [copysignf]: Likewise.
5780 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5782 * crypt/md5-crypt.c: Fix formatting.
5784 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5786 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5787 (b64_from_24bit): New function.
5789 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5792 libc_hidden_builtin_def to ifunc.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5794 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5796 2014-05-21 Roland McGrath <roland@hack.frob.com>
5798 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5799 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5801 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5803 * nscd/Depend (linuxthreads): Remove.
5805 * resolv/Depend (linuxthreads): Remove.
5806 * rt/Depend (linuxthreads): Remove.
5808 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5809 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5810 $(common-objpfx)elf/.
5811 (link-libc-before-gnulib): Likewise.
5812 (elfobjdir): Remove variable.
5813 * Makefile (install): Use $(elf-objpfx) instead of
5814 $(common-objpfx)elf/.
5815 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5817 (link-libc-deps): Likewise.
5818 ($(common-objpfx)libc.so): Likewise.
5819 ($(common-objpfx)linkobj/libc.so): Likewise.
5820 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5821 instead of $(common-objpfx)elf/.
5822 (symbolic-link-list): Likewise.
5823 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5824 [$(cross-compiling) = no]: Likewise.
5825 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5827 (static-gnulib-arch): Likewise.
5828 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5829 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5830 $(common-objpfx)elf/.
5832 2014-05-21 Richard Henderson <rth@redhat.com>
5834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5835 (SINGLE_THREAD_P): Use the correct width load. Fold
5836 into the ldr offset.
5838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5839 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5841 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5844 (libgcc_s_resume): Use __attribute_used__.
5845 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5848 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5851 optimization when used with float constants.
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5855 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5858 * locale/nl_langinfo_l.c: Make direct reference to every
5859 _nl_current_CATEGORY symbol.
5860 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5861 (tests-static): Add tst-langinfo-static.
5862 (tests-special): Add tst-langinfo-static.out.
5863 ($(objpfx)tst-langinfo.out): Redirect output.
5864 ($(objpfx)tst-langinfo-static.out): New.
5865 * localedata/tst-langinfo.sh: Send output to stdout.
5866 * localedata/tst-langinfo-static.c: New file.
5869 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5870 when the shift amount is modulo the limb size.
5872 2014-05-20 Richard Henderson <rth@redhat.com>
5875 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5876 Change type of sa_flags from unsigned int to int.
5879 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5881 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5883 2014-05-20 Will Newton <will.newton@linaro.org>
5885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5886 Test the return value of the system call in the nocancel case.
5888 2014-05-20 Will Newton <will.newton@linaro.org>
5889 Yvan Roux <yvan.roux@linaro.org>
5891 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5892 #include of asm/ptrace.h.
5893 (PTRACE_GET_THREAD_AREA): Remove #undef.
5894 (PTRACE_GETHBPREGS): Likewise.
5895 (PTRACE_SETHBPREGS): Likewise.
5896 (struct user_regs_struct): New structure.
5897 (struct user_fpsimd_struct): New structure.
5898 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5899 #include of asm/ptrace.h and second #include of sys/user.h.
5900 (PTRACE_GET_THREAD_AREA): Remove #undef.
5901 (PTRACE_GETHBPREGS): Likewise.
5902 (PTRACE_SETHBPREGS): Likewise.
5903 (ELF_NGREG): Use new struct user_regs_struct.
5904 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5906 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5911 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5915 membar to avoid block loads/stores to overlap previous stores.
5917 2014-05-17 Richard Henderson <rth@redhat.com>
5919 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5920 Create the __##syscall_name##_nocancel entry point.
5921 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5922 Remove; let the sysdep-cancel.h code create it.
5924 2014-05-17 David S. Miller <davem@davemloft.net>
5926 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5927 Protect with __USE_GNU.
5928 (TIOCSET_TEMPT): Likewise.
5929 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5930 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5931 these are already provided in bits/ioctl-types.h
5933 2014-05-16 Roland McGrath <roland@hack.frob.com>
5935 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5936 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5938 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5939 Use wait4 regardless of [__NR_waitpid].
5941 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5944 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5945 (_FP_NANSIGN_Q): Set the quiet bit.
5947 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5949 * benchtests/Makefile
5950 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5951 not $(common-objpfx)math/libm.so.
5952 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5953 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5954 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5955 $(common-objpfx)dlfcn/libdl.so.
5956 ($(objpfx)tst-audit8): Depend on $(libm), not
5957 $(common-objpfx)math/libm.so.
5958 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5959 not $(common-objpfx)dlfcn/libdl.so.
5961 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5962 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5963 [$(build-shared) = yes].
5964 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5965 $(common-objpfx)nptl/libpthread.so.
5966 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5967 $(common-objpfx)math/libm.so$(libm.so-version) or
5968 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5969 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5970 $(common-objpfx)dlfcn/libdl.so.
5971 * setjmp/Makefile (link-libm): Remove variable.
5972 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5973 * stdio-common/Makefile (link-libm): Remove variable.
5974 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5975 * stdlib/Makefile (link-libm): Remove variable.
5976 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5977 ($(objpfx)tst-strtod-round): Likewise.
5978 ($(objpfx)tst-tininess): Likewise.
5979 ($(objpfx)tst-strtod-underflow): Likewise.
5980 ($(objpfx)tst-strtod6): Likewise.
5981 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5982 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5983 $(common-objpfx)dlfcn/libdl.so.
5985 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5988 BSD terminal modes definitions.
5990 2014-05-16 Roland McGrath <roland@hack.frob.com>
5992 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5993 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5995 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5996 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5997 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5998 Don't do #include_next.
5999 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6000 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6001 Don't do #include_next.
6002 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6003 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6004 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6005 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6007 2014-05-16 Allan McRae <allan@archlinux.org>
6009 * po/sv.po: Update Swedish translation from translation project.
6011 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6014 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6017 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6018 errno if the TIOCGPTN ioctl fails with an error different than
6020 * login/tst-ptsname.c: New file.
6021 * login/Makefile (tests): Add tst-ptsname.
6024 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6027 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6031 herrno to return EAI_AGAIN.
6033 2014-05-14 Roland McGrath <roland@hack.frob.com>
6035 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6036 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6037 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6052 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6053 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6054 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6055 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6056 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6057 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6058 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6059 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6060 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6061 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6062 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6063 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6064 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6066 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6068 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6071 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6075 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6079 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6081 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6083 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6085 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6087 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6089 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6091 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6093 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6095 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6097 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6100 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6102 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6104 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6106 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6108 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6110 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6112 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6114 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6116 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6118 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6121 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6123 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6125 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6126 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6127 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6128 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6129 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6131 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6133 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6135 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6137 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6139 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6141 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6143 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6145 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6147 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6149 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6151 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6152 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6153 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6155 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6157 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6158 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6160 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6161 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6162 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6163 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6164 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6170 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6171 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6173 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6177 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6178 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6181 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6182 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6183 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6184 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6185 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6186 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6187 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6188 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6190 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6193 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6195 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6196 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6197 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6198 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6205 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6207 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6209 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6212 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6215 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6218 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6219 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6223 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6226 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6227 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6228 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6229 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6230 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6231 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6232 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6233 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6235 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6238 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6240 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6241 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6242 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6243 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6255 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6256 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6258 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6259 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6261 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6262 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6264 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6267 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6270 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6272 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6273 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6274 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6277 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6278 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6279 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6281 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6283 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6284 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6286 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6289 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6291 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6292 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6294 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6303 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6304 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6305 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6307 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6309 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6310 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6311 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6313 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6314 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6316 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6317 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6319 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6320 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6321 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6322 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6323 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6325 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6326 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6327 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6329 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6331 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6332 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6333 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6335 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6338 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6340 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6343 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6347 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6352 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6361 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6362 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6363 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6364 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6365 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6367 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6369 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6371 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6374 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6375 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6376 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6377 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6379 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6380 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6381 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6382 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6383 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6384 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6385 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6386 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6387 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6388 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6393 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6394 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6396 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6398 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6399 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6400 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6401 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6402 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6403 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6404 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6405 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6406 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6433 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6434 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6435 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6436 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6437 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6438 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6439 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6440 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6441 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6443 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6444 that was previously under [RESET_PID].
6445 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6446 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6447 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6449 * sysdeps/i386/nptl/Implies: New file.
6450 * sysdeps/x86_64/nptl/Implies: New file.
6451 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6452 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6453 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6454 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6456 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6457 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6458 (__libc_vfork): New strong alias.
6459 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6460 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6462 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6463 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6464 (__libc_vfork): New strong alias.
6465 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6466 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6468 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6469 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6470 (__libc_vfork): New strong alias.
6471 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6472 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6473 * nptl/pt-vfork.c: New file.
6474 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6475 (libpthread: GLIBC_2.20): New version set (empty).
6477 2014-05-14 Will Newton <will.newton@linaro.org>
6479 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6482 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6485 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6486 arguments with exponent 65 or above.
6487 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6488 arguments 0x1p113L or above.
6489 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6490 to arguments 0x1p107L or above.
6491 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6492 positive arguments with exponent 65 or above.
6493 * math/auto-libm-test-in: Add more tests of log1p.
6494 * math/auto-libm-test-out: Regenerated.
6497 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6498 non-finite arguments is +0.
6499 * math/s_cacosf.c (__cacosf): Likewise.
6500 * math/s_cacosl.c (__cacosl): Likewise.
6501 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6502 * sysdeps/i386/fpu/libm-test-ulps: Update.
6503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6506 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6508 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6509 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6510 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6511 for explicit high bit of mantissa when testing for argument equal
6513 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6514 * sysdeps/i386/fpu/libm-test-ulps: Update.
6515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6518 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6519 (__erf): Scale by 16 instead of 8 in potentially underflowing
6520 case. Ensure exception if result actually underflows.
6521 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6522 (__erff): Scale by 16 instead of 8 in potentially underflowing
6523 case. Ensure exception if result actually underflows.
6524 * sysdeps/ieee754/ldbl-128/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 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6529 (efx8): Remove variable.
6530 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6531 case. Ensure exception if result actually underflows.
6532 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6533 (efx8): Remove variable.
6534 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6535 case. Ensure exception if result actually underflows.
6536 * math/auto-libm-test-in: Add more tests of erf.
6537 * math/auto-libm-test-out: Regenerated.
6539 2014-05-14 Andreas Schwab <schwab@suse.de>
6541 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6542 Remove code conditionalized on USE___THREAD.
6544 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6545 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6548 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6551 Define unconditionally.
6552 (__ASSUME_O_CLOEXEC): Likewise.
6553 (__ASSUME_SOCK_CLOEXEC): Likewise.
6554 (__ASSUME_IN_NONBLOCK): Likewise.
6555 (__ASSUME_PIPE2): Likewise.
6556 (__ASSUME_EVENTFD2): Likewise.
6557 (__ASSUME_SIGNALFD4): Likewise.
6558 (__ASSUME_DUP3): Likewise.
6559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6560 (__ASSUME_DUP3): Do not define.
6561 (__ASSUME_EVENTFD2): Likewise.
6562 (__ASSUME_IN_NONBLOCK): Likewise.
6563 (__ASSUME_O_CLOEXEC): Likewise.
6564 (__ASSUME_PIPE2): Likewise.
6565 (__ASSUME_SIGNALFD4): Likewise.
6566 (__ASSUME_SOCK_CLOEXEC): Likewise.
6567 (__ASSUME_UTIMES): Undefine.
6568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6569 (__ASSUME_UTIMES): Do not define.
6570 (__ASSUME_O_CLOEXEC): Likewise.
6571 (__ASSUME_SOCK_CLOEXEC): Likewise.
6572 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6573 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6575 (__ASSUME_PIPE2): Likewise.
6576 (__ASSUME_EVENTFD2): Likewise.
6577 (__ASSUME_SIGNALFD4): Likewise.
6578 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6579 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6581 (__ASSUME_EVENTFD2): Likewise.
6582 (__ASSUME_SIGNALFD4): Likewise.
6583 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6584 (__ASSUME_32BITUIDS): Likewise.
6585 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6586 (__ASSUME_IPC64): Likewise.
6587 (__ASSUME_ST_INO_64_BIT): Likewise.
6588 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6589 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6590 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6591 (__ASSUME_UTIMES): Do not define.
6592 (__ASSUME_PSELECT): Likewise.
6593 (__ASSUME_PPOLL): Likewise.
6594 (__ASSUME_O_CLOEXEC): Likewise.
6595 (__ASSUME_SOCK_CLOEXEC): Likewise.
6596 (__ASSUME_IN_NONBLOCK): Likewise.
6597 (__ASSUME_PIPE2): Likewise.
6598 (__ASSUME_EVENTFD2): Likewise.
6599 (__ASSUME_SIGNALFD4): Likewise.
6600 (__ASSUME_DUP3): Likewise.
6601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6602 (__ASSUME_UTIMES): Likewise.
6603 (__ASSUME_O_CLOEXEC): Likewise.
6604 (__ASSUME_SOCK_CLOEXEC): Likewise.
6605 (__ASSUME_IN_NONBLOCK): Likewise.
6606 (__ASSUME_PIPE2): Likewise.
6607 (__ASSUME_EVENTFD2): Likewise.
6608 (__ASSUME_SIGNALFD4): Likewise.
6609 (__ASSUME_DUP3): Likewise.
6610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6611 (__ASSUME_UTIMES): Likewise.
6612 (__ASSUME_O_CLOEXEC): Likewise.
6613 (__ASSUME_SOCK_CLOEXEC): Likewise.
6614 (__ASSUME_IN_NONBLOCK): Likewise.
6615 (__ASSUME_PIPE2): Likewise.
6616 (__ASSUME_EVENTFD2): Likewise.
6617 (__ASSUME_SIGNALFD4): Likewise.
6618 (__ASSUME_DUP3): Likewise.
6619 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6621 (__ASSUME_UTIMES): Likewise.
6622 (__ASSUME_EVENTFD2): Likewise.
6623 (__ASSUME_SIGNALFD4): Likewise.
6624 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6625 (__ASSUME_O_CLOEXEC): Likewise.
6626 (__ASSUME_SOCK_CLOEXEC): Likewise.
6627 (__ASSUME_IN_NONBLOCK): Likewise.
6628 (__ASSUME_PIPE2): Likewise.
6629 (__ASSUME_EVENTFD2): Likewise.
6630 (__ASSUME_SIGNALFD4): Likewise.
6631 (__ASSUME_DUP3): Likewise.
6632 (__ASSUME_UTIMES): Undefine.
6634 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6635 feclearexcept. Remove symbol versioning code.
6636 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6637 symbol versioning code.
6638 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6639 symbol versioning code.
6640 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6641 feupdateenv. Remove symbol versioning code.
6642 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6643 fegetexceptflag. Remove symbol versioning code.
6644 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6645 fesetexceptflag. Remove symbol versioning code.
6646 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6647 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6648 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6649 (__posix_fadvise64_l32): Remove prototype.
6650 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6653 2014-05-13 Roland McGrath <roland@hack.frob.com>
6655 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6656 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6657 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6658 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6660 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6662 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6663 current working directory
6665 2014-05-13 Roland McGrath <roland@hack.frob.com>
6667 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6668 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6669 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6670 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6671 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6672 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6673 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6674 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6680 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6681 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6682 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6684 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6686 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6687 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6688 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6689 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6692 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6694 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6695 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6696 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6697 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6698 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6700 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6701 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6702 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6703 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6705 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6706 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6707 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6708 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6710 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6711 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6713 * sysdeps/unix/sysv/linux/arm/Makefile
6714 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6715 Add rt-aeabi_unwind_cpp_pr1.
6716 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6717 Add nptl-aeabi_unwind_cpp_pr1.
6718 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6719 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6720 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6721 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6722 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6723 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6725 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6726 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6727 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6728 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6730 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6731 Deconditionalize the code that was previously under [RESET_PID].
6732 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6734 * sysdeps/generic/exit-thread.h: New file.
6735 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6736 * include/unistd.h (__exit_thread): Remove declaration.
6737 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6738 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6739 * csu/libc-start.c: Include <exit-thread.h>.
6740 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6741 * nptl/pthread_create.c: Include <exit-thread.h>.
6742 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6743 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6744 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6745 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6746 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6747 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6748 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6749 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6750 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6751 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6752 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6753 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6754 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6755 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6756 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6757 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6758 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6760 2014-05-13 Andreas Schwab <schwab@suse.de>
6762 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6764 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6766 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6767 (__ASSUME_UTIMES): Do not condition on kernel version.
6768 (__ASSUME_PSELECT): Define unconditionally.
6769 (__ASSUME_PPOLL): Likewise.
6770 (__ASSUME_ATFCTS): Likewise.
6771 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6772 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6773 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6774 (__ASSUME_UTIMENSAT): Define unconditionally.
6775 (__ASSUME_PRIVATE_FUTEX): Likewise.
6776 (__ASSUME_FALLOCATE): Likewise.
6777 (__ASSUME_O_CLOEXEC): Likewise.
6778 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6779 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6780 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6781 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6782 (__ASSUME_IN_NONBLOCK): Likewise.
6783 (__ASSUME_PIPE2): Likewise.
6784 (__ASSUME_EVENTFD2): Likewise.
6785 (__ASSUME_SIGNALFD4): Likewise.
6786 (__ASSUME_DUP3): Likewise.
6787 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6788 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6789 (__ASSUME_AT_RANDOM): Likewise.
6790 (__ASSUME_PREADV): Likewise.
6791 (__ASSUME_PWRITEV): Likewise.
6792 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6793 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6794 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6795 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6796 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6797 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6798 (__ASSUME_O_CLOEXEC): Define unconditionally.
6799 (__ASSUME_PSELECT): Do not undefine conditionally.
6800 (__ASSUME_PPOLL): Likewise.
6801 (__ASSUME_ATFCTS): Likewise.
6802 (__ASSUME_SET_ROBUST_LIST): Likewise.
6803 (__ASSUME_UTIMENSAT): Likewise.
6804 (__ASSUME_FDATASYNC): Define unconditionally.
6805 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6806 (__ASSUME_SIGFRAME_V2): Likewise.
6807 )__ASSUME_EVENTFD2): Likewise.
6808 (__ASSUME_SIGNALFD4): Likewise.
6809 (__ASSUME_PSELECT): Do not undefine conditionally.
6810 (__ASSUME_PPOLL): Likewise.
6811 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6812 (__ASSUME_PSELECT): Define unconditionally.
6813 (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
6822 (__ASSUME_O_CLOEXEC): Likewise.
6823 (__ASSUME_SOCK_CLOEXEC): Likewise.
6824 (__ASSUME_IN_NONBLOCK): Likewise.
6825 (__ASSUME_PIPE2): Likewise.
6826 (__ASSUME_EVENTFD2): Likewise.
6827 (__ASSUME_SIGNALFD4): Likewise.
6828 (__ASSUME_DUP3): Likewise.
6829 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6830 (__ASSUME_EVENTFD2): Likewise.
6831 (__ASSUME_SIGNALFD4): Likewise.
6832 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6834 2014-05-12 Andreas Schwab <schwab@suse.de>
6837 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6838 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6839 than maximum RPC packet size.
6840 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6841 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6842 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6843 (_nss_nis_getservbyport_r): Likewise.
6845 2014-05-12 Will Newton <will.newton@linaro.org>
6847 * malloc/Makefile (tests): Add tst-mallopt.
6848 * malloc/tst-mallopt.c: New file.
6850 2014-05-09 Roland McGrath <roland@hack.frob.com>
6852 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6853 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6855 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6858 (tst-tlsmod6.so): Likewise.
6860 2014-05-09 Roland McGrath <roland@hack.frob.com>
6862 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6864 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6867 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6868 and <dl-procinfo.h>.
6869 (__fegetenv): Save SSE state in envp->__eip if supported.
6870 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6871 envp->__eip if supported.
6872 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6873 and <dl-procinfo.h>.
6874 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6875 __data_offset and __data_selector in environment to 0. Set SSE
6877 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6879 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6881 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6883 2014-05-09 Will Newton <will.newton@linaro.org>
6885 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6886 and libc_relro_required for ARM.
6887 * sysdeps/arm/preconfigure: Regenerate.
6889 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6890 Stefan Liebler <stli@linux.vnet.ibm.com>
6892 * config.make.in (enable-lock-elision): New Makefile variable.
6893 * configure.ac: Likewise.
6894 * configure: Regenerate.
6895 * sysdeps/s390/configure.ac:
6896 Add check for gcc transactions support.
6897 * sysdeps/s390/configure: Regenerate.
6898 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6899 Build elision files if enabled.
6900 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6901 Add lock elision support for s390.
6902 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6903 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6904 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6905 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6906 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6907 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6908 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6910 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6912 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6914 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6916 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6917 (__lll_timedlock_elision, __lll_lock_elision)
6918 (__lll_unlock_elision, __lll_trylock_elision)
6919 (lll_timedlock_elision, lll_lock_elision)
6920 (lll_unlock_elision, lll_trylock_elision): Add.
6921 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6922 (pthread_mutex_t): Add lock elision support for s390.
6924 2014-05-14 Wilco <wdijkstr@arm.com>
6926 * sysdeps/arm/fclrexcpt.c: Cleanup.
6927 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6928 * sysdeps/arm/feenablxcpt.c: Cleanup.
6929 * sysdeps/arm/fegetenv.c: Cleanup.
6930 * sysdeps/arm/fegetexcept.c: Cleanup.
6931 * sysdeps/arm/fegetround.c: Cleanup.
6932 * sysdeps/arm/feholdexcpt.c: Cleanup.
6933 * sysdeps/arm/fesetenv.c: Cleanup.
6934 * sysdeps/arm/fesetround.c: Cleanup.
6935 * sysdeps/arm/feupdateenv.c: Cleanup.
6936 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6937 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6938 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6939 * sysdeps/arm/ftestexcept.c: Cleanup.
6940 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6941 * sysdeps/arm/setfpucw.c: Cleanup.
6943 2014-05-09 Will Newton <will.newton@linaro.org>
6945 * sysdeps/arm/armv7/strcmp.S: New file.
6946 * NEWS: Mention addition of ARMv7 optimized strcmp.
6948 2014-05-08 Roland McGrath <roland@hack.frob.com>
6950 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6951 look for %.ac rather than %.in.
6953 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6954 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6955 * sysdeps/mach/hurd/configure: Regenerated.
6956 * sysdeps/unix/sysv/linux/configure: Regenerated.
6958 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6960 2014-05-07 Steve Ellcey <sellcey@mips.com>
6963 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6967 2014-05-07 Andreas Schwab <schwab@suse.de>
6969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6970 when skipping over non-matching result from nscd.
6972 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6975 * nptl/sockperf.c (client): Check socket return value.
6978 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6979 nscd security class.
6981 2014-05-06 Roland McGrath <roland@hack.frob.com>
6983 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6984 * sysdeps/arm/unwind.h: ... here.
6986 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6989 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6992 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6994 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6995 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6996 multiarch strncpy for PPC64.
6997 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6998 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7000 multiarch optimizations.
7001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7002 (__libc_ifunc_impl_list): Likewise.
7003 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7004 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7005 multiarch stpncpy for PPC64.
7006 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7007 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7009 2014-05-06 Andreas Schwab <schwab@suse.de>
7012 * gmon/mcount.c (_MCOUNT_DECL): Use
7013 atomic_compare_and_exchange_bool_acq instead of
7014 catomic_compare_and_exchange_bool_acq.
7016 2014-05-05 Roland McGrath <roland@hack.frob.com>
7018 * elf/Makefile (others, install-bin): Remove pldd.
7019 (pldd-modules): Variable removed.
7020 ($(objpfx)pldd): Target removed.
7021 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7022 (others, install-bin): Append pldd here.
7023 ($(objpfx)pldd): New target.
7025 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7026 to 0, so the first #if test emitted later doesn't see it undefined.
7027 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7028 * sysdeps/gnu/errlist.c: Regenerated.
7030 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7033 [libc_hidden_builtin_def]: Define to empty value.
7034 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7035 [libc_hidden_builtin_def]: Likewise.
7036 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7037 [libc_hidden_builtin_def]: Likewise.
7038 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7039 [libc_hidden_builtin_def]: Likewise.
7040 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7041 __redirect_memcpy and define ifunc as default hidden symbol.
7042 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7043 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7045 2014-05-04 Adam Conrad <adconrad@0c3.net>
7047 * locale/iso-4217.def: Reintroduce XDR currency.
7049 2014-05-04 Allan McRae <allan@archlinux.org>
7051 * po/eo.po: Update Esperanto translation from translation project.
7053 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7055 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7056 and FEATURE_INDEX_MAX to 1.
7057 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7059 2014-05-01 Steve Ellcey <sellcey@mips.com>
7061 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7062 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7063 * iconvdata/big5.c (ONE_DIRECTION): Define.
7064 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7065 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7066 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7067 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7068 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7069 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7070 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7071 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7072 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7073 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7074 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7075 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7076 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7077 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7078 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7079 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7080 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7081 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7082 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7083 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7084 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7085 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7086 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7087 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7088 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7089 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7090 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7091 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7092 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7093 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7094 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7095 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7096 * iconvdata/johab.c (ONE_DIRECTION): Define.
7097 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7098 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7099 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7100 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7101 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7102 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7103 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7104 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7105 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7106 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7108 2014-05-01 Roland McGrath <roland@hack.frob.com>
7110 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7111 (_IO_JUMPS_OFFSET): Define to 0.
7113 * nptl/sysdeps/pthread/bits/libc-lock.h
7114 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7115 (__libc_lock_define_initialized_recursive): Always define using
7116 initializer. Modern compilers treat uninitialized (implicit zero) and
7117 explicit zero initializers the same (i.e. put the datum in bss).
7119 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7121 * nscd/nscd-client.h: Include <string.h>.
7123 2014-05-01 David S. Miller <davem@davemloft.net>
7126 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7127 multiple zero bytes exist at the end of a string.
7128 Reported by Aurelien Jarno <aurelien@aurel32.net>
7130 * string/test-strcmp.c (check): Add explicit test for situations where
7131 there are multiple zero bytes after the first.
7133 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7136 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7137 when compiling wprintf.
7138 * stdio-common/tstdiomisc.c (t3): New function.
7141 2014-05-01 Steve Ellcey <sellcey@mips.com>
7143 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7144 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7145 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7146 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7148 2014-05-01 Steve Ellcey <sellcey@mips.com>
7150 * stdlib/longlong.h: Updated from GCC.
7152 2014-05-01 Will Newton <will.newton@linaro.org>
7153 Bernard Ogden <bernie.ogden@linaro.org>
7155 * NEWS: Update fixed bug list.
7158 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7160 2014-04-30 David S. Miller <davem@davemloft.net>
7162 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7163 (libc_feholdexcept_setround_sparc_ctx): New function.
7164 (libc_fesetenv_sparc_ctx): Likewise.
7165 (libc_feupdateenv_sparc_ctx): Likewise.
7166 (libc_feholdsetround_sparc_ctx): Likewise.
7167 (libc_feholdexcept_setround_ctx): Define.
7168 (libc_feholdexcept_setroundf_ctx): Likewise.
7169 (libc_feholdexcept_setroundl_ctx): Likewise.
7170 (libc_fesetenv_ctx): Likewise.
7171 (libc_fesetenvf_ctx): Likewise.
7172 (libc_fesetenvl_ctx): Likewise.
7173 (libc_feupdateenv_ctx): Likewise.
7174 (libc_feupdateenvf_ctx): Likewise.
7175 (libc_feupdateenvl_ctx): Likewise.
7176 (libc_feresetround_ctx): Likewise.
7177 (libc_feresetroundf_ctx): Likewise.
7178 (libc_feresetroundl_ctx): Likewise.
7179 (libc_feholdsetround_ctx): Likewise.
7180 (libc_feholdsetroundf_ctx): Likewise.
7181 (libc_feholdsetroundl_ctx): Likewise.
7183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7184 with __USE_GNU instead of XOPEN cpp guards.
7186 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7190 with XOPEN cpp guards.
7192 2014-04-30 Julian Brown <julian@codesourcery.com>
7195 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7198 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7201 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7203 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7204 * sysdeps/unix/sysv/linux/configure: Regenerated.
7205 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7206 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7207 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7208 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7209 * README: Update reference to required Linux kernel version.
7210 * manual/install.texi (Linux): Update reference to required Linux
7211 kernel headers version.
7212 * INSTALL: Regenerated.
7214 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7216 [POSIX] (limits.h): Likewise.
7217 [POSIX] (math.h): Likewise.
7218 [POSIX] (sys/wait.h): Likewise.
7219 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7221 [POSIX] (stddef.h): Do not allow header inclusion.
7223 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7225 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7227 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7229 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7230 Return immediately after lll_futex_wake.
7232 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7235 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7237 (datahead_init_pos): Call datahead_init_common early.
7238 (datahead_init_neg): Likewise.
7240 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7241 datahead_init_neg): New functions.
7242 * nscd/aicache.c (addhstaiX): Use them.
7243 * nscd/grpcache.c (cache_addgr): Likewise.
7244 * nscd/hstcache.c (cache_addhst): Likewise.
7245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7246 * nscd/netgroupcache.c (do_notfound): Likewise.
7247 (addgetnetgrentX): Likewise.
7248 (addinnetgrX): Likewise.
7249 * nscd/pwdcache.c (cache_addpw): Likewise.
7250 * nscd/servicescache.c (cache_addserv): Likewise.
7252 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7253 Atsushi Onoe <atsushi@onoe.org>
7258 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7259 one response is valid.
7260 * resolv/res_send.c (send_dg): Check for validity of other
7261 response if the current response is a referral.
7263 2014-04-29 Steve Ellcey <sellcey@mips.com>
7265 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7267 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7270 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7271 Always divide by positive zero when computing -Inf result.
7272 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7273 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7275 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7277 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7278 FPSCR if value do not change.
7279 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7280 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7281 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7282 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7283 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7284 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7287 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7289 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7290 * sysdeps/unix/sysv/linux/hppa: Move directory from
7291 ports/systeps/unix/sysv/linux/hppa.
7292 * README: Update listing for hppa-*-linux-gnu.
7294 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7297 * manual/stdio.texi (Hook functions): Fix types of stream hook
7300 * socket/sys/socket.h: Fix typo in comment.
7302 2014-04-28 Wilco <wdijkstr@arm.com>
7304 * sysdeps/arm/fenv_private.h: New file.
7305 * sysdeps/arm/math_private.h: New file.
7306 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7308 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7310 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7312 (La_x86_64_retval): Likewise.
7314 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7316 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7317 fpsr if value didn't change.
7318 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7319 to fpcr if value didn't change.
7320 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7321 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7322 fpsr or fpcr if value didn't change.
7323 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7324 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7325 fpcr if value didn't change.
7326 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7327 to fpsr if value didn't change.
7329 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7331 * nptl/tst-sem3.c: Use test-skeleton.c
7332 (main): Rename to do_test. Use return instead of
7334 * nptl/tst-sem4.c: Use test-skeleton.c
7335 (main): Rename to do_test.
7337 2014-04-22 David S. Miller <davem@davemloft.net>
7339 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7340 (struct sigaction): New struct member __glibc_reserved0, change
7341 type of sa_flags to int.
7343 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7345 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7346 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7348 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7350 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7351 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7353 2014-04-22 Will Newton <will.newton@linaro.org>
7354 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7356 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7357 (__longjmp): Add longjmp and longjmp_target SystemTap
7359 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7360 (__sigsetjmp): Add setjmp SystemTap probe.
7362 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7364 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7367 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7371 * sysdeps/powerpc/fpu/fenv_private.h
7372 (libc_feholdexcept_setroundl_ctx): Define to
7373 libc_feholdexcept_setround_ppc_ctx.
7374 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7375 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7376 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7377 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7379 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7381 * sysdeps/aarch64/math-tests.h: New file.
7383 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7385 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7388 Check and set bit_AVX2_Usable.
7389 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7391 (bit_AVX2): Likewise.
7392 (index_AVX2_Usable): Likewise.
7393 (CPUID_AVX2): Likewise.
7394 (HAS_AVX2): Likewise.
7396 2014-04-17 Will Newton <will.newton@linaro.org>
7398 * manual/setjmp.texi (System V contexts): Add note that
7399 calling setcontext on a context created by a call to a
7400 signal handler is undefined. Update text to note that
7401 setcontext from a signal handler is possible but not
7405 * stdlib/tst-setcontext.c: Include signal.h.
7406 (main): Check that the signal stack before and
7407 after swapcontext is the same.
7409 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7410 Re-implement to restore registers in user code and avoid
7411 rt_sigreturn system call.
7413 2014-04-17 Wilco <wdijkstr@arm.com>
7415 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7416 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7417 * math/test-fenv.c: Skip exception trap tests on targets which only
7418 support non-stop mode.
7420 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7421 Wilco Dijkstra <wilco.dijkstra@arm.com>
7423 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7424 (libc_feholdsetround_aarch64_ctx)
7425 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7426 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7427 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7428 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7429 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7430 (libc_feresetround_noexl_ctx): Define.
7432 2014-04-16 Richard Henderson <rth@redhat.com>
7434 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7436 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7439 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7440 const from the non-libc, non-ldso copy.
7442 * sysdeps/alpha/libm-test-ulps: Regenerate.
7444 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7445 Wilco Dijkstra <wilco.dijkstra@arm.com>
7447 * sysdeps/aarch64/fpu/math_private.h: New file.
7449 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7451 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7453 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7456 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7457 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7459 Intel MPX bound registers before _dl_profile_fixup.
7460 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7461 registers after _dl_profile_fixup. Save and restore bound
7462 registers bnd0/bnd1 when calling _dl_call_pltexit.
7463 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7464 (LR_BND_OFFSET): Likewise.
7465 (LRV_BND0_OFFSET): Likewise.
7466 (LRV_BND1_OFFSET): Likewise.
7468 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7470 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7472 * sysdeps/mach/hurd/i386/tls.h: ... here.
7473 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7474 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7477 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7479 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7481 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7483 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7485 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7488 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7489 * sysdeps/s390/configure: Regenerate.
7492 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7493 Set round-to-nearest internally to reduce error accumulation.
7495 2014-04-16 Alan Modra <amodra@gmail.com>
7499 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7500 * math/libm-test.inc (frexp_test_data): Add tests.
7501 * NEWS: Update fixed bug list.
7503 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7505 * benchtests/Makefile: Depend on libraries in build directory.
7506 (bench-math): Separate out math tests.
7507 (bench-pthread): Separate out pthread tests.
7508 (bench): Include math and pthread tests.
7510 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7513 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7514 _dl_debug_initialize.
7516 * configure.ac: Remove SELinux header check.
7517 * configure: Regenerate.
7518 * nscd/selinux.c (perms): Array of const char* to permission names.
7519 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7520 default policy. Call string_to_security_class and string_to_av_perm to
7521 translate strings. Enforce default policy and call avs_has_perm with
7522 results of translated strings.
7524 2014-04-13 David S. Miller <davem@davemloft.net>
7526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7528 2014-04-12 Allan McRae <allan@archlinux.org>
7531 * manual/string.texi (Collation Functions): Fix qsort argument
7533 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7535 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7537 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7538 Make the test a no-op if there are no exceptions defined.
7540 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7542 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7543 enable-hardcoded-path-in-tests
7545 2014-04-11 Will Newton <will.newton@linaro.org>
7547 * benchtests/Makefile (extra-objs): Add json-lib.o.
7548 (bench-func): Tidy up JSON output.
7549 * benchtests/bench-skeleton.c: Include json-lib.h.
7550 (main): Use JSON library functions to do output of
7552 * benchtests/bench-timing-type.c (main): Output the
7553 timing type simply, leaving formatting to the user.
7554 * benchtests/json-lib.c: New file.
7555 * benchtests/json-lib.h: Likewise.
7557 2014-04-11 Torvald Riegel <triegel@redhat.com>
7560 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7561 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7562 memory barriers. Add comments.
7563 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7564 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7565 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7566 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7567 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7568 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7570 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7572 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7573 * sysdeps/s390/s390-64/configure.ac: ... this ...
7574 * sysdeps/s390/configure.ac: ... to here.
7575 * sysdeps/s390/s390-32/configure: Delete file.
7576 * sysdeps/s390/s390-64/configure: Delete file.
7577 * sysdeps/s390/configure: Regenerate.
7579 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7581 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7583 2014-04-11 Will Newton <will.newton@linaro.org>
7585 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7586 to zero if it is not defined elsewhere. (mtrim): Test
7587 the value of MALLOC_DEBUG with #if rather than #ifdef.
7589 2014-04-10 Torvald Riegel <triegel@redhat.com>
7591 * benchtests/pthread_once-inputs: New file.
7592 * benchtests/pthread_once-source.c: New file.
7593 * benchtests/README: Update documentation.
7595 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7596 H.J. Lu <hongjiu.lu@intel.com>
7599 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7600 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7601 * sysdeps/x86_64/configure: Regenerated.
7602 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7604 (REGISTER_SAVE_RAX): Likewise.
7605 (REGISTER_SAVE_RCX): Likewise.
7606 (REGISTER_SAVE_RDX): Likewise.
7607 (REGISTER_SAVE_RSI): Likewise.
7608 (REGISTER_SAVE_RDI): Likewise.
7609 (REGISTER_SAVE_R8): Likewise.
7610 (REGISTER_SAVE_R9): Likewise.
7611 (REGISTER_SAVE_BND0): Likewise.
7612 (REGISTER_SAVE_BND1): Likewise.
7613 (REGISTER_SAVE_BND2): Likewise.
7614 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7615 bound registers when calling _dl_fixup.
7617 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7619 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7620 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7622 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7623 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7624 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7625 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7626 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7627 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7628 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7630 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7633 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7634 pathconf(_PC_NAME_MAX).
7636 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7638 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7640 (__PTHREAD_SPINS): Move definition to ...
7641 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7642 (__PTHREAD_SPINS): ... here.
7643 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7644 (__PTHREAD_SPIN): Likewise.
7645 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7646 (__PTHREAD_SPIN): Likewise.
7647 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7648 (__PTHREAD_SPIN): Likewise.
7649 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7650 (__PTHREAD_SPIN): Likewise.
7651 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7652 (__PTHREAD_SPIN): Likewise.
7653 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7654 (__PTHREAD_SPIN): Likewise.
7655 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7656 (__PTHREAD_SPIN): Likewise.
7657 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7658 (__PTHREAD_SPIN): Likewise.
7659 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7660 (__PTHREAD_SPIN): Likewise.
7661 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7662 (__PTHREAD_SPIN): Likewise.
7663 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7664 (__PTHREAD_SPIN): Likewise.
7665 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7666 (__PTHREAD_SPIN): Likewise.
7668 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7669 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7670 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7671 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7673 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7674 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7675 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7676 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7678 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7679 strlen symbol for non multi-arch builds.
7680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7681 missing hidden_def and weak_alias.
7683 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7685 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7687 2014-04-07 Will Newton <will.newton@linaro.org>
7689 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7690 and contents. [!_LIBC] Remove #ifndef and contents.
7691 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7692 * string/memccpy.c (__memccpy): Use ANSI prototype.
7693 * string/memfrob.c (memfrob): Likewise.
7694 * string/strcoll.c (STRCOLL): Likewise.
7695 * string/strlen.c (strlen): Likewise.
7696 * string/strtok.c (STRTOK): Likewise.
7697 * string/strcat.c: Remove unused #include of memcopy.h.
7698 (strcat): Use ANSI prototype.
7699 * string/strchr.c: Remove unused #include of memcopy.h.
7700 (strchr): Use ANSI prototype.
7701 * string/strcmp.c: Remove unused #include of memcopy.h.
7702 (strcmp): Use ANSI prototype.
7703 * string/strcpy.c: Remove unused #include of memcopy.h.
7704 (strcpy): Use ANSI prototype.
7706 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7708 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7709 * config.make.in (config-extra-cppflags): Set it from
7710 libc_extra_cppflags.
7711 * configure.ac (libc_extra_cflags): Make it accumulate over
7712 configure fragments.
7713 (libc_extra_cppflags): New flag.
7714 * configure. Regenerate.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7716 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7717 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7722 result for FE_DOWNWARD rounding mode.
7723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7727 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7729 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7730 in function argument name.
7732 2014-04-03 David Svoboda <svoboda@cert.org>
7735 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7738 2014-04-03 Roland McGrath <roland@hack.frob.com>
7740 * elf/dl-unmap-segments.h: New file.
7741 * sysdeps/generic/ldsodefs.h
7742 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7743 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7744 * elf/dl-fptr.c: Likewise.
7745 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7746 * sysdeps/aarch64/tlsdesc.c: Likewise.
7747 * sysdeps/arm/tlsdesc.c: Likewise.
7748 * sysdeps/i386/tlsdesc.c: Likewise.
7749 * sysdeps/tile/dl-runtime.c: Likewise.
7750 * sysdeps/x86_64/tlsdesc.c: Likewise.
7751 * elf/dl-load.h: New file.
7752 * elf/dl-load.c: Include it.
7753 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7754 Macros moved to dl-load.h.
7755 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7756 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7757 Use _dl_unmap_segments in place of __munmap.
7758 Break out segment-mapping loop into ...
7759 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7761 2014-04-03 Will Newton <will.newton@linaro.org>
7763 * elf/dl-lookup.c (do_lookup_x): Remove comment
7764 referring to nested function and move variable
7765 declarations down to before first use.
7767 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7771 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7773 * math/s_catanf.c (__catanf): Likewise.
7774 * math/s_catanh.c (__catanh): Likewise.
7775 * math/s_catanhf.c (__catanhf): Likewise.
7776 * math/s_catanhl.c (__catanhl): Likewise.
7777 * math/s_catanl.c (__catanl): Likewise.
7778 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7779 by positive zero when computing -Inf result.
7780 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7781 (catanh_test): Likewise.
7782 * sysdeps/i386/fpu/libm-test-ulps: Update.
7783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7786 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7787 instead of using underflowing value in computing result.
7788 * math/s_clog10.c (__clog10): Likewise.
7789 * math/s_clog10f.c (__clog10f): Likewise.
7790 * math/s_clog10l.c (__clog10l): Likewise.
7791 * math/s_clogf.c (__clogf): Likewise.
7792 * math/s_clogl.c (__clogl): Likewise.
7793 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7794 (clog10_test): Likewise.
7795 * sysdeps/i386/fpu/libm-test-ulps: Update.
7796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798 2014-04-02 Alan Modra <amodra@gmail.com>
7801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7802 output when value is near a power of two. Use int64_t for lx and
7803 remove casts. Use decimal rather than hex exponent constants.
7804 Don't use long double multiplication when double will suffice.
7805 * math/libm-test.inc (nextafter_test_data): Add tests.
7806 * NEWS: Add 16739 and 16786 to bug list.
7808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7810 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7812 2014-04-01 Will Newton <will.newton@linaro.org>
7814 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7815 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7817 2014-04-01 Florian Weimer <fweimer@redhat.com>
7820 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7821 * nptl/tst-setuid2.c: New file.
7822 * nptl/Makefile (xtests): Add tst-setuid2.
7824 2014-04-01 Alan Modra <amodra@gmail.com>
7827 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7829 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7833 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7834 set errno as appropriate.
7835 * math/w_scalbf.c (__scalbf): Likewise.
7836 * math/w_scalbl.c (__scalbl): Likewise.
7837 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7838 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7839 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7843 * math/w_atan2.c: Include <errno.h>.
7844 (__atan2): Set errno for result underflowing to zero.
7845 * math/w_atan2f.c: Include <errno.h>.
7846 (__atan2f): Set errno for result underflowing to zero.
7847 * math/w_atan2l.c: Include <errno.h>.
7848 (__atan2l): Set errno for result underflowing to zero.
7849 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7851 * math/auto-libm-test-out: Regenerated.
7853 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7855 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7856 Encode instruction correctly in little endian.
7857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7859 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7861 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7863 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7866 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7869 * sysdeps/unix/sysv/linux/kernel-features.h
7870 [__sparc__ && !__arch64__ && !__sparc_v9__]
7871 (__ASSUME_SET_ROBUST_LIST): Do not define.
7872 [__sparc__ && !__arch64__ && !__sparc_v9__]
7873 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7874 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7876 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7877 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7878 (__ASSUME_REQUEUE_PI): Likewise.
7879 (__ASSUME_SET_ROBUST_LIST): Likewise.
7880 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7881 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7884 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7886 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7888 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7890 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7891 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7893 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7894 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7898 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7899 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7900 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7902 2014-03-31 Will Newton <will.newton@linaro.org>
7904 * benchtests/Makefile (bench): Add ffs and ffsll to list
7906 * benchtests/ffs-inputs: New file.
7907 * benchtests/ffsll-inputs: Likewise.
7909 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7912 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7913 too large before casting to int.
7914 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7915 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7916 * math/libm-test.inc (scalb_test_data): Add more tests.
7918 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7920 * benchtests/Makefile (DETAILED_OPT): New make option.
7921 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7923 * benchtests/bench-skeleton.c: Include stdbool.h.
7924 (main): Store and print timings per input.
7925 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7926 member to each argument value.
7927 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7928 (_print_arg_data): Initialize per-input timing to 0.
7930 * benchtests/Makefile (timing-type): New binary.
7931 (bench-clean): Also remove bench-timing-type.
7932 (bench): New target for timing-type.
7933 (bench-func): Print output in JSON format.
7934 * benchtests/bench-skeleton.c (main): Print output in JSON
7936 * benchtests/bench-timing-type.c: New file.
7937 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7938 (TIMING_PRINT_STATS): Remove.
7939 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7942 * benchtests/bench-modf.c: Remove.
7943 * benchtests/modf-inputs: New inputs file.
7945 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7948 * math/s_clog10.c (M_PI_LOG10E): New macro.
7949 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7950 imaginary parts are 0.
7951 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7952 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7953 imaginary parts are 0.
7954 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7955 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7956 imaginary parts are 0.
7957 * math/libm-test.inc (clog10_test_data): Update expected results
7958 for when real and imaginary parts are 0.
7960 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7962 * elf/dl-load.c: Finish conversion of __builtin_expect into
7965 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7969 1+x for argument with exponent below -67.
7970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7972 * math/auto-libm-test-in: Add more tests of exp.
7973 * math/auto-libm-test-out: Regenerated.
7975 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7978 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7979 (nscd_getnetgrent): Use it.
7982 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7985 2014-03-27 Andi Kleen <ak@linux.intel.com>
7987 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7988 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7989 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7990 (lll_robust_unlock): Remove out of line section. Use cfi
7992 (LLL_STUB_UNWIND_INFO*): Remove.
7993 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7994 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7995 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7996 (lll_robust_unlock): Remove out of line section. Use cfi
7998 (LLL_STUB_UNWIND_INFO*): Remove.
8000 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8003 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8006 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8008 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8010 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8013 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8015 * math/test-fenv-preserve.c: New file.
8016 * math/Makefile (tests): Add test-fenv-preserve.
8018 2014-03-26 Will Newton <will.newton@linaro.org>
8020 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8022 2014-03-25 Roland McGrath <roland@hack.frob.com>
8024 * scripts/versionlist.awk: Partition the version sets and emit all
8025 GLIBC_* (sorted) before all others (sorted).
8027 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8029 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8030 GLIBC_2.2.5 version.
8032 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8037 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8042 2014-03-25 Andreas Schwab <schwab@suse.de>
8044 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8045 label to be used after in6ailist is initialized.
8047 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8050 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8052 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8056 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8058 (fp_formats): Update initializers.
8059 (init_fp_formats): Initialize new field.
8060 (output_for_one_input_case): Allow underflow for results up to
8062 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8063 * math/auto-libm-test-in: Don't mark some underflows from asin and
8065 * math/auto-libm-test-out: Regenerated.
8066 * sysdeps/i386/fpu/libm-test-ulps: Update.
8067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8069 2014-03-25 Andreas Schwab <schwab@suse.de>
8071 * libio/Makefile (tst-ftell-partial-wide-ENV)
8072 (tst-ftell-active-handler-ENV): Define.
8074 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8076 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8078 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8080 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8082 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8084 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8085 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8086 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8088 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8091 * elf/dl-load.c (open_verify): Add mode parameter.
8092 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8093 (open_path): Change from boolean 'secure' to complete flag 'mode'
8094 (_dl_map_object): Adjust.
8095 * elf/Makefile (tests): Add tst-dlopen-aout.
8096 * elf/tst-dlopen-aout.c: New test.
8098 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8101 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8102 (struct stat): Rename member pad0 to __glibc_reserved0.
8105 * sysdeps/s390/s390-32/bits/wordsize.h
8106 (__WORDSIZE32_SIZE_ULONG): New define.
8107 * sysdeps/s390/s390-64/bits/wordsize.h
8108 (__WORDSIZE32_SIZE_ULONG): Likewise.
8109 * sysdeps/generic/stdint.h (SIZE_MAX):
8110 Define as UL if __WORDSIZE32_SIZE_ULONG.
8113 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8114 (__glibc_reserved0): New variable.
8115 (sa_flags): Change type to int.
8117 * posix/Makefile (before-compile): Use += before-compile instead
8120 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8121 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8123 2014-03-20 Andreas Schwab <schwab@suse.de>
8126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8127 non-matching result from nscd.
8129 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8131 * scripts/bench.py: Moved to ...
8132 * benchtests/scripts/bench.py: ... here.
8133 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8135 2014-03-24 Andreas Schwab <schwab@suse.de>
8138 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8139 alloca_account and account alloca use for struct in6ailist.
8141 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8145 rounding mode to recompute results that overflow to infinity or
8147 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8149 * math/auto-libm-test-out: Regenerated.
8150 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8151 (ccosh_test): Likewise.
8152 (csin_test_data): Use plus_oflow.
8153 (csin_test): Use ALL_RM_TEST.
8154 (csinh_test_data): Use plus_oflow.
8155 (csinh_test): Use ALL_RM_TEST.
8156 * sysdeps/i386/fpu/libm-test-ulps: Update.
8157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8162 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8163 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8166 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8168 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8169 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8170 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8173 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8174 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8176 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8177 * sysdeps/i386/fpu/libm-test-ulps: Update.
8178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8180 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8182 * scripts/bench.pl: Remove file.
8183 * scripts/bench.py: New benchmark script.
8184 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8185 * benchtests/README: Mention python dependency.
8186 * scripts/pylintrc: New file.
8187 * scripts/pylint: New file.
8189 * bits/mathdef.h: Use #ifdef instead of #if.
8190 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8191 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8192 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8193 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8194 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8195 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8197 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8200 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8202 and strpbrk-ppc64 objects.
8203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8205 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8206 multiarch strpbrk for POWER7.
8207 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8208 multiarch strpbrk for PPC64.
8209 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8211 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8214 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8216 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8217 (atan_test): Likewise.
8218 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8219 (atanh_test): Use ALL_RM_TEST.
8220 (atan2_test_data): Likewise.
8221 (cabs_test): Likewise.
8222 (cacosh_test): Likewise.
8223 (carg_test): Likewise.
8224 (casin_test): Likewise.
8225 (casinh_test): Likewise.
8226 (cbrt_test): Likewise.
8227 (csqrt_test): Likewise.
8228 (erf_test): Likewise.
8229 (erfc_test): Likewise.
8230 (pow10_test): Likewise.
8231 (exp2_test): Likewise.
8232 (hypot_test): Likewise.
8233 (j0_test): Likewise.
8234 (j1_test): Likewise.
8235 (lgamma_test): Likewise.
8236 (gamma_test): Likewise.
8237 (sincos_test): Likewise.
8238 (tanh_test): Likewise.
8239 (y0_test): Likewise.
8240 (y1_test): Likewise.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8244 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8248 and strcspn-ppc64 objects.
8249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8251 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8252 multiarch strcspn for POWER7.
8253 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8254 multiarch strcspn for PPC64.
8255 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8257 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8260 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8262 * math/gen-libm-test.pl (generate_testfile): Expect only function
8263 name as argument to AUTO_TESTS_* and pass results for all rounding
8264 modes to parse_args.
8265 (parse_auto_input): Separate inputs of automatic tests from
8266 outputs before storing in %auto_tests.
8267 * math/libm-test.inc (acos_test_data): Update call to
8269 (acos_test): Use ALL_RM_TEST.
8270 (acos_tonearest_test_data): Remove.
8271 (acos_test_tonearest): Likewise.
8272 (acos_towardzero_test_data): Likewise.
8273 (acos_test_towardzero): Likewise.
8274 (acos_downward_test_data): Likewise.
8275 (acos_test_downward): Likewise.
8276 (acos_upward_test_data): Likewise.
8277 (acos_test_upward): Likewise.
8278 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8279 (asin_test_data): Likewise.
8280 (asin_test): Use ALL_RM_TEST.
8281 (asin_tonearest_test_data): Remove.
8282 (asin_test_tonearest): Likewise.
8283 (asin_towardzero_test_data): Likewise.
8284 (asin_test_towardzero): Likewise.
8285 (asin_downward_test_data): Likewise.
8286 (asin_test_downward): Likewise.
8287 (asin_upward_test_data): Likewise.
8288 (asin_test_upward): Likewise.
8289 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8290 (atan_test_data): Likewise.
8291 (atanh_test_data): Likewise.
8292 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8293 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8294 (carg_test_data): Likewise.
8295 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8296 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8297 (ccosh_test_data): Likewise.
8298 (cexp_test_data): Likewise.
8299 (clog_test_data): Likewise.
8300 (clog10_test_data): Likewise.
8301 (cos_test_data): Update call to AUTO_TESTS_f_f.
8302 (cos_test): Use ALL_RM_TEST.
8303 (cos_tonearest_test_data): Remove.
8304 (cos_test_tonearest): Likewise.
8305 (cos_towardzero_test_data): Likewise.
8306 (cos_test_towardzero): Likewise.
8307 (cos_downward_test_data): Likewise.
8308 (cos_test_downward): Likewise.
8309 (cos_upward_test_data): Likewise.
8310 (cos_test_upward): Likewise.
8311 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8312 (cosh_test): Use ALL_RM_TEST.
8313 (cosh_tonearest_test_data): Remove.
8314 (cosh_test_tonearest): Likewise.
8315 (cosh_towardzero_test_data): Likewise.
8316 (cosh_test_towardzero): Likewise.
8317 (cosh_downward_test_data): Likewise.
8318 (cosh_test_downward): Likewise.
8319 (cosh_upward_test_data): Likewise.
8320 (cosh_test_upward): Likewise.
8321 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8322 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8323 (ctan_test_data): Likewise.
8324 (ctan_test): Use ALL_RM_TEST.
8325 (ctan_tonearest_test_data): Remove.
8326 (ctan_test_tonearest): Likewise.
8327 (ctan_towardzero_test_data): Likewise.
8328 (ctan_test_towardzero): Likewise.
8329 (ctan_downward_test_data): Likewise.
8330 (ctan_test_downward): Likewise.
8331 (ctan_upward_test_data): Likewise.
8332 (ctan_test_upward): Likewise.
8333 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8334 (ctanh_test): Use ALL_RM_TEST.
8335 (ctanh_tonearest_test_data): Remove.
8336 (ctanh_test_tonearest): Likewise.
8337 (ctanh_towardzero_test_data): Likewise.
8338 (ctanh_test_towardzero): Likewise.
8339 (ctanh_downward_test_data): Likewise.
8340 (ctanh_test_downward): Likewise.
8341 (ctanh_upward_test_data): Likewise.
8342 (ctanh_test_upward): Likewise.
8343 (erf_test_data): Update call to AUTO_TESTS_f_f.
8344 (erfc_test_data): Likewise.
8345 (exp_test_data): Likewise.
8346 (exp_test): Use ALL_RM_TEST.
8347 (exp_tonearest_test_data): Remove.
8348 (exp_test_tonearest): Likewise.
8349 (exp_towardzero_test_data): Likewise.
8350 (exp_test_towardzero): Likewise.
8351 (exp_downward_test_data): Likewise.
8352 (exp_test_downward): Likewise.
8353 (exp_upward_test_data): Likewise.
8354 (exp_test_upward): Likewise.
8355 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8356 (exp10_test): Use ALL_RM_TEST.
8357 (exp10_tonearest_test_data): Remove.
8358 (exp10_test_tonearest): Likewise.
8359 (exp10_towardzero_test_data): Likewise.
8360 (exp10_test_towardzero): Likewise.
8361 (exp10_downward_test_data): Likewise.
8362 (exp10_test_downward): Likewise.
8363 (exp10_upward_test_data): Likewise.
8364 (exp10_test_upward): Likewise.
8365 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8366 (expm1_test_data): Likewise.
8367 (expm1_test): Use ALL_RM_TEST.
8368 (expm1_tonearest_test_data): Remove.
8369 (expm1_test_tonearest): Likewise.
8370 (expm1_towardzero_test_data): Likewise.
8371 (expm1_test_towardzero): Likewise.
8372 (expm1_downward_test_data): Likewise.
8373 (expm1_test_downward): Likewise.
8374 (expm1_upward_test_data): Likewise.
8375 (expm1_test_upward): Likewise.
8376 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8377 (fma_test): Use ALL_RM_TEST.
8378 (fma_towardzero_test_data): Remove.
8379 (fma_test_towardzero): Likewise.
8380 (fma_downward_test_data): Likewise.
8381 (fma_test_downward): Likewise.
8382 (fma_upward_test_data): Likewise.
8383 (fma_test_upward): Likewise.
8384 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8385 (j0_test_data): Update call to AUTO_TESTS_f_f.
8386 (j1_test_data): Likewise.
8387 (jn_test_data): Update call to AUTO_TESTS_if_f.
8388 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8389 (log_test_data): Update call to AUTO_TESTS_f_f.
8390 (log10_test_data): Likewise.
8391 (log1p_test_data): Likewise.
8392 (log2_test_data): Likewise.
8393 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8394 (pow_tonearest_test_data): Likewise.
8395 (sin_test_data): Update call to AUTO_TESTS_f_f.
8396 (sin_test): Use ALL_RM_TEST.
8397 (sin_tonearest_test_data): Remove.
8398 (sin_test_tonearest): Likewise.
8399 (sin_towardzero_test_data): Likewise.
8400 (sin_test_towardzero): Likewise.
8401 (sin_downward_test_data): Likewise.
8402 (sin_test_downward): Likewise.
8403 (sin_upward_test_data): Likewise.
8404 (sin_test_upward): Likewise.
8405 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8406 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8407 (sinh_test): Use ALL_RM_TEST.
8408 (sinh_tonearest_test_data): Remove.
8409 (sinh_test_tonearest): Likewise.
8410 (sinh_towardzero_test_data): Likewise.
8411 (sinh_test_towardzero): Likewise.
8412 (sinh_downward_test_data): Likewise.
8413 (sinh_test_downward): Likewise.
8414 (sinh_upward_test_data): Likewise.
8415 (sinh_test_upward): Likewise.
8416 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8417 (sqrt_test): Use ALL_RM_TEST.
8418 (sqrt_tonearest_test_data): Remove.
8419 (sqrt_test_tonearest): Likewise.
8420 (sqrt_towardzero_test_data): Likewise.
8421 (sqrt_test_towardzero): Likewise.
8422 (sqrt_downward_test_data): Likewise.
8423 (sqrt_test_downward): Likewise.
8424 (sqrt_upward_test_data): Likewise.
8425 (sqrt_test_upward): Likewise.
8426 (tan_test_data): Update call to AUTO_TESTS_f_f.
8427 (tan_test): Use ALL_RM_TEST.
8428 (tan_tonearest_test_data): Remove.
8429 (tan_test_tonearest): Likewise.
8430 (tan_towardzero_test_data): Likewise.
8431 (tan_test_towardzero): Likewise.
8432 (tan_downward_test_data): Likewise.
8433 (tan_test_downward): Likewise.
8434 (tan_upward_test_data): Likewise.
8435 (tan_test_upward): Likewise.
8436 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8437 (tgamma_test_data): Likewise.
8438 (y0_test_data): Likewise.
8439 (y1_test_data): Likewise.
8440 (yn_test_data): Update call to AUTO_TESTS_if_f.
8441 (main): Do not call removed functions.
8443 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8445 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8446 (ldexp_test_data): Remove.
8447 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8449 (scalb_test): Use ALL_RM_TEST.
8451 2014-03-19 Andreas Schwab <schwab@suse.de>
8453 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8455 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8459 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8460 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8462 (__ASSUME_PREADV): Undefine.
8463 (__ASSUME_PWRITEV): Likewise.
8465 2014-03-18 Roland McGrath <roland@hack.frob.com>
8467 * bits/mman-linux.h: Add comment about non-Linux use.
8468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8469 bits/mman-linux.h resting place.
8471 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8472 * bits/mman-linux.h: ... here.
8474 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476 * conform/conformtest.pl: Add standard definition when calling C
8477 preprocessor on data files.
8478 (checknamespace): Remove unused variable.
8480 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8482 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8483 minus_oflow, plus_uflow and minus_uflow in expected results.
8484 * math/libm-test.inc (scalbn_test_data): Add more tests of
8485 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8487 (scalbn_test): Use ALL_RM_TEST.
8488 (scalbln_test_data): Add more tests of negative arguments. Use
8489 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8490 (scalbln_test): Use ALL_RM_TEST.
8492 2014-03-18 Roland McGrath <roland@hack.frob.com>
8494 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8496 2014-03-18 Will Newton <will.newton@linaro.org>
8498 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8501 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8503 * Makerules [!subdir] (check-abi): Exit with error status if a
8506 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8508 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8509 for rint. Include results for all rounding modes.
8510 (nearbyint_test): Use ALL_RM_TEST.
8511 (rint_test_data): Include all tests used for nearbyint.
8513 2014-03-17 Will Newton <will.newton@linaro.org>
8515 * nptl/sysdeps/pthread/pthread.h: Revert previous
8518 * sysdeps/generic/ldsodefs.h: Revert previous
8521 * libio/genops.c: Revert previous change.
8522 * libio/libioP.h: Likewise.
8523 * stdio-common/vfprintf.c: Likewise.
8525 * sysdeps/generic/math_private.h: Revert previous
8528 * sysdeps/generic/math_private.h: Check whether
8529 HAVE_RM_CTX is defined with #ifdef rather
8532 * argp/argp-fmtstream.h: Check whether
8533 __STRICT_ANSI__ is defined with #ifdef rather
8535 * argp/argp.h: Likewise.
8537 * libio/genops.c: Check whether
8538 _IO_JUMPS_OFFSET is defined with #ifdef rather
8540 * libio/libioP.h: Likewise.
8541 * stdio-common/vfprintf.c: Likewise.
8543 * sysdeps/generic/ldsodefs.h: Check whether
8544 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8547 * nptl/sysdeps/pthread/pthread.h: Check
8548 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8551 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8553 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8555 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8559 * libio/fileops.c (_IO_file_open): Seek to end of file but
8560 don't cache the offset.
8561 (get_file_offset): Remove function.
8562 (do_ftell): Use cached offset when available.
8563 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8564 don't cache the offset.
8565 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8567 (do_one_test): Call it.
8568 (do_ftell_test): Fix up expected old offset for a+ mode.
8569 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8572 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8573 up test status with function return status.
8574 (do_write_test): Likewise.
8575 (do_append_test): Likewise.
8577 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8578 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8581 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8583 * math/gen-libm-test.pl (parse_args): Handle results specified for
8584 each rounding mode separately.
8585 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8586 tests and results from lrint_tonearest_test_data,
8587 lrint_towardzero_test_data, lrint_downward_test_data and
8588 lrint_upward_test_data.
8589 (lrint_test): Use ALL_RM_TEST.
8590 (lrint_tonearest_test_data): Remove.
8591 (lrint_test_tonearest): Likewise.
8592 (lrint_towardzero_test_data): Likewise.
8593 (lrint_test_towardzero): Likewise.
8594 (lrint_downward_test_data): Likewise.
8595 (lrint_test_downward): Likewise.
8596 (lrint_upward_test_data): Likewise.
8597 (lrint_test_upward): Likewise.
8598 (llrint_test_data): Merge in per-rounding-mode tests and results
8599 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8600 llrint_downward_test_data and llrint_upward_test_data.
8601 (llrint_test): Use ALL_RM_TEST.
8602 (llrint_tonearest_test_data): Remove.
8603 (llrint_test_tonearest): Likewise.
8604 (llrint_towardzero_test_data): Likewise.
8605 (llrint_test_towardzero): Likewise.
8606 (llrint_downward_test_data): Likewise.
8607 (llrint_test_downward): Likewise.
8608 (llrint_upward_test_data): Likewise.
8609 (llrint_test_upward): Likewise.
8610 (rint_test_data): Merge in per-rounding-mode tests and results
8611 from rint_tonearest_test_data, rint_towardzero_test_data,
8612 rint_downward_test_data and rint_upward_test_data. Add
8613 per-rounding-mode results for tests not in those arrays.
8614 (rint_test): Use ALL_RM_TEST.
8615 (rint_tonearest_test_data): Remove.
8616 (rint_test_tonearest): Likewise.
8617 (rint_towardzero_test_data): Likewise.
8618 (rint_test_towardzero): Likewise.
8619 (rint_downward_test_data): Likewise.
8620 (rint_test_downward): Likewise.
8621 (rint_upward_test_data): Likewise.
8622 (rint_test_upward): Likewise.
8623 (main): Don't call removed functions.
8625 2014-03-14 Roland McGrath <roland@hack.frob.com>
8627 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8628 "Compiled on ..." crapola. It is anti-useful.
8630 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8632 * scripts/evaluate-test.sh: Handle fourth argument to determine
8633 whether test run should stop on failure.
8634 * Makeconfig (stop-on-test-failure): New variable.
8635 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8636 $(stop-on-test-failure).
8637 * Makefile (tests): Give a summary of results from testing and
8638 exit with failure status if they include an ERROR or FAIL.
8640 * manual/install.texi (Configuring and compiling): Mention
8641 stop-on-test-failure=y.
8642 * INSTALL: Regenerated.
8644 2014-03-14 Roland McGrath <roland@hack.frob.com>
8646 * scripts/versionlist.awk: New file.
8647 * Makerules [$(build-shared) = yes]
8648 (postclean-generated): Add Versions.def, not Versions.def.v and
8650 ($(common-objpfx)Versions.def.v.i): Target removed.
8651 ($(common-objpfx)Versions.def): New target.
8652 ($(common-objpfx)Versions.all): Depend on that rather that
8653 $(common-objpfx)Versions.def.v.
8654 * Versions.def: File removed.
8656 * Makeconfig (+gccwarn): Add -Wundef.
8657 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8658 a dl-sysdep.h breaking its contract.
8659 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8660 * include/stackinfo.h: New file.
8661 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8662 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8663 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8664 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8665 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8666 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8667 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8668 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8669 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8670 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8671 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8672 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8673 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8674 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8675 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8677 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8680 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8682 * math/libm-test.inc (round_test_data): Add more tests.
8685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8687 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8690 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8692 * math/libm-test.inc (ceil_test_data): Add more tests.
8694 * math/libm-test.inc (trunc_test_data): Add more tests related to
8697 2014-03-14 Roland McGrath <roland@hack.frob.com>
8699 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8700 with #if rather than #ifdef.
8701 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8703 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8705 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8706 first. Disable AVX-512 GCC support if assembler doesn't support
8708 * sysdeps/x86_64/configure: Regenerated.
8710 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8712 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8713 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8714 (__old_pthread_attr_setstack): Likewise.
8715 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8716 [!_STACK_GROWS_DOWN]: Likewise.
8718 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8720 * config.make.in (have-bash2): Delete.
8721 * configure.ac (libc_cv_have_bash2): Delete.
8722 * configure: Regenerate.
8723 * elf/Makefile (common-ldd-rewrite): Rename to ...
8724 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8725 (sh-ldd-rewrite): Delete.
8726 (bash-ldd-rewrite): Delete.
8727 (have-bash2): Delete checks.
8728 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8731 * config.make.in (have-ksh): Delete.
8733 * configure.ac (libc_cv_have_ksh): Delete.
8734 * configure: Regenerate.
8736 * elf/Makefile: Delete $(have-ksh) check.
8737 ($(objpfx)sotruss): Change KSH to BASH.
8738 * elf/sotruss.ksh: Rename to ...
8739 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8740 function style to match POSIX. Drop ksh vim mode setting.
8742 * manual/time.texi (Specifying the Time Zone with TZ): Change
8743 Tuesday to Thursday.
8745 * debug/tst-longjmp_chk2.c: Update header comment.
8746 (stackoverflow_handler): Add comment. Call assert on pass value.
8748 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8751 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8752 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8753 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8754 (La_x86_64_vector): Add zmm.
8755 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8756 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8757 ($(objpfx)tst-audit10): New target.
8758 ($(objpfx)tst-audit10.out): Likewise.
8759 (tst-audit10-ENV): New.
8760 (AVX512-CFLAGS): Likewise.
8761 (CFLAGS-tst-audit10.c): Likewise.
8762 (CFLAGS-tst-auditmod10a.c): Likewise.
8763 (CFLAGS-tst-auditmod10b.c): Likewise.
8764 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8765 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8766 * sysdeps/x86_64/configure: Regenerated.
8767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8768 AVX-512 zmm register support.
8769 (_dl_x86_64_save_sse): Likewise.
8770 (_dl_x86_64_restore_sse): Likewise.
8771 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8772 size vector registers.
8773 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8774 (ZMM_SIZE): Likewise.
8775 * sysdeps/x86_64/tst-audit10.c: New file.
8776 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8777 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8779 2014-03-13 Roland McGrath <roland@hack.frob.com>
8781 * configure.ac (HAVE_EHDR_START): New check.
8782 * configure: Regenerated.
8783 * config.h.in (HAVE_EHDR_START): New #undef.
8784 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8785 assuming the lowest-addressed segment maps the start of the file.
8787 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8789 * INSTALL: Regenerated.
8791 2014-03-13 Will Newton <will.newton@linaro.org>
8793 * manual/setjmp.texi (System V contexts): Improve
8794 clarity and grammar of documentation.
8796 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8799 * elf/Makefile (tests): Add tst-pie2.
8800 (tests-pie): Add tst-pie2.
8801 * elf/tst-pie2.c: New file.
8802 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8804 * elf/rtld.c (map_doit): Load executable as lt_executable.
8805 (dl_main): Likewise.
8807 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8810 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8811 (__ASSUME_PSELECT): Undefine.
8813 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8817 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8820 selector for static builds.
8822 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8825 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8828 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8831 IFUNC selector for static builds.
8833 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/mips/math_private.h [__mips_hard_float]
8836 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8837 libc_feresetround_mips_ctx.
8838 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8839 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8840 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8843 * math/s_nextafter.c (__nextafter): Do not return value from
8844 overflowing computation.
8845 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8846 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8847 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8851 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8852 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8854 2014-03-11 Roland McGrath <roland@hack.frob.com>
8856 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8857 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8858 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8859 the new mov targetting sp.
8861 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8865 Define it for static builds as well.
8866 (NO_BZERO_IMPL): Likewise.
8868 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8870 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8871 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8872 multiarch strspn for PPC64.
8873 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8874 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8876 (__libc_ifunc_impl_list): Likewise.
8877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8878 multiarch optimizations
8879 * string/strspn.c (strspn): Using macro to redefine symbol name.
8881 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8882 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8884 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8885 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8886 multiarch strncat for PPC64.
8887 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8888 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8890 (__libc_ifunc_impl_list): Likewise.
8891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8892 multiarch optimizations
8894 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8897 * nscd/nscd.service: Make service type forking.
8899 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8901 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8902 sign in non default rounding modes.
8903 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8905 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8907 * math/libm-test.inc (ALL_RM_TEST): New macro.
8908 (ceil_test): Use ALL_RM_TEST.
8909 (cimag_test): Likewise.
8910 (conj_test): Likewise.
8911 (copysign_test): Likewise.
8912 (cproj_test): Likewise.
8913 (creal_test): Likewise.
8914 (fabs_test): Likewise.
8915 (floor_test): Likewise.
8916 (fmax_test): Likewise.
8917 (fmin_test): Likewise.
8918 (fmod_test): Likewise.
8919 (fpclassify_test): Likewise.
8920 (frexp_test): Likewise.
8921 (ilogb_test): Likewise.
8922 (isfinite_test): Likewise.
8923 (finite_test): Likewise.
8924 (isgreater_test): Likewise.
8925 (isgreaterequal_test): Likewise.
8926 (isinf_test): Likewise.
8927 (isless_test): Likewise.
8928 (islessequal_test): Likewise.
8929 (islessgreater_test): Likewise.
8930 (isnan_test): Likewise.
8931 (isnormal_test): Likewise.
8932 (issignaling_test): Likewise.
8933 (isunordered_test): Likewise.
8934 (logb_test): Likewise.
8935 (logb_downward_test_data): Remove.
8936 (logb_test_downward): Likewise.
8937 (lround_test): Use ALL_RM_TEST.
8938 (llround_test): Likewise.
8939 (modf_test): Likewise.
8940 (nexttoward_test): Likewise.
8941 (remainder_test): Likewise.
8942 (drem_test): Likewise.
8943 (remainder_tonearest_test_data): Likewise.
8944 (remainder_test_tonearest): Likewise.
8945 (drem_test_tonearest): Likewise.
8946 (remainder_towardzero_test_data): Likewise.
8947 (remainder_test_towardzero): Likewise.
8948 (drem_test_towardzero): Likewise.
8949 (remainder_downward_test_data): Likewise.
8950 (remainder_test_downward): Likewise.
8951 (drem_test_downward): Likewise.
8952 (remainder_upward_test_data): Likewise.
8953 (remainder_test_upward): Likewise.
8954 (drem_test_upward): Likewise.
8955 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8956 (round_test): Use ALL_RM_TEST.
8957 (signbit_test): Likewise.
8958 (trunc_test): Likewise.
8959 (significand_test): Likewise.
8960 (main): Don't call removed functions.
8962 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8965 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8967 (ILL_ILLOPN): Likewise.
8968 (ILL_ILLADR): Likewise.
8969 (ILL_ILLTRP): Likewise.
8970 (ILL_PRVOPC): Likewise.
8971 (ILL_PRVREG): Likewise.
8972 (ILL_COPROC): Likewise.
8973 (ILL_BADSTK): Likewise.
8974 (FPE_INTDIV): Likewise.
8975 (FPE_INTOVF): Likewise.
8976 (FPE_FLTDIV): Likewise.
8977 (FPE_FLTOVF): Likewise.
8978 (FPE_FLTUND): Likewise.
8979 (FPE_FLTRES): Likewise.
8980 (FPE_FLTINV): Likewise.
8981 (FPE_FLTSUB): Likewise.
8982 (SEGV_MAPERR): Likewise.
8983 (SEGV_ACCERR): Likewise.
8984 (BUS_ADRALN): Likewise.
8985 (BUS_ADRERR): Likewise.
8986 (BUS_OBJERR): Likewise.
8987 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8988 (TRAP_TRACE): Likewise.
8989 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8991 (CLD_KILLED): Likewise.
8992 (CLD_DUMPED): Likewise.
8993 (CLD_TRAPPED): Likewise.
8994 (CLD_STOPPED): Likewise.
8995 (CLD_CONTINUED): Likewise.
8996 (POLL_IN): Likewise.
8997 (POLL_OUT): Likewise.
8998 (POLL_MSG): Likewise.
8999 (POLL_ERR): Likewise.
9000 (POLL_PRI): Likewise.
9001 (POLL_HUP): Likewise.
9002 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9004 (ILL_ILLOPN): Likewise.
9005 (ILL_ILLADR): Likewise.
9006 (ILL_ILLTRP): Likewise.
9007 (ILL_PRVOPC): Likewise.
9008 (ILL_PRVREG): Likewise.
9009 (ILL_COPROC): Likewise.
9010 (ILL_BADSTK): Likewise.
9011 (FPE_INTDIV): Likewise.
9012 (FPE_INTOVF): Likewise.
9013 (FPE_FLTDIV): Likewise.
9014 (FPE_FLTOVF): Likewise.
9015 (FPE_FLTUND): Likewise.
9016 (FPE_FLTRES): Likewise.
9017 (FPE_FLTINV): Likewise.
9018 (FPE_FLTSUB): Likewise.
9019 (SEGV_MAPERR): Likewise.
9020 (SEGV_ACCERR): Likewise.
9021 (BUS_ADRALN): Likewise.
9022 (BUS_ADRERR): Likewise.
9023 (BUS_OBJERR): Likewise.
9024 (BUS_MCEERR_AR): Likewise.
9025 (BUS_MCEERR_AO): Likewise.
9026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9027 (TRAP_TRACE): Likewise.
9028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9030 (CLD_KILLED): Likewise.
9031 (CLD_DUMPED): Likewise.
9032 (CLD_TRAPPED): Likewise.
9033 (CLD_STOPPED): Likewise.
9034 (CLD_CONTINUED): Likewise.
9035 (POLL_IN): Likewise.
9036 (POLL_OUT): Likewise.
9037 (POLL_MSG): Likewise.
9038 (POLL_ERR): Likewise.
9039 (POLL_PRI): Likewise.
9040 (POLL_HUP): Likewise.
9041 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9042 (ILL_ILLOPN): Likewise.
9043 (ILL_ILLADR): Likewise.
9044 (ILL_ILLTRP): Likewise.
9045 (ILL_PRVOPC): Likewise.
9046 (ILL_PRVREG): Likewise.
9047 (ILL_COPROC): Likewise.
9048 (ILL_BADSTK): Likewise.
9049 (FPE_INTDIV): Likewise.
9050 (FPE_INTOVF): Likewise.
9051 (FPE_FLTDIV): Likewise.
9052 (FPE_FLTOVF): Likewise.
9053 (FPE_FLTUND): Likewise.
9054 (FPE_FLTRES): Likewise.
9055 (FPE_FLTINV): Likewise.
9056 (FPE_FLTSUB): Likewise.
9057 (SEGV_MAPERR): Likewise.
9058 (SEGV_ACCERR): Likewise.
9059 (BUS_ADRALN): Likewise.
9060 (BUS_ADRERR): Likewise.
9061 (BUS_OBJERR): Likewise.
9062 (BUS_MCEERR_AR): Likewise.
9063 (BUS_MCEERR_AO): Likewise.
9064 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9065 (TRAP_TRACE): Likewise.
9066 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9068 (CLD_KILLED): Likewise.
9069 (CLD_DUMPED): Likewise.
9070 (CLD_TRAPPED): Likewise.
9071 (CLD_STOPPED): Likewise.
9072 (CLD_CONTINUED): Likewise.
9073 (POLL_IN): Likewise.
9074 (POLL_OUT): Likewise.
9075 (POLL_MSG): Likewise.
9076 (POLL_ERR): Likewise.
9077 (POLL_PRI): Likewise.
9078 (POLL_HUP): Likewise.
9079 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9081 (ILL_ILLOPN): Likewise.
9082 (ILL_ILLADR): Likewise.
9083 (ILL_ILLTRP): Likewise.
9084 (ILL_PRVOPC): Likewise.
9085 (ILL_PRVREG): Likewise.
9086 (ILL_COPROC): Likewise.
9087 (ILL_BADSTK): Likewise.
9088 (ILL_BADIADDR): Likewise.
9089 (ILL_BREAK): Likewise.
9090 (FPE_INTDIV): Likewise.
9091 (FPE_INTOVF): Likewise.
9092 (FPE_FLTDIV): Likewise.
9093 (FPE_FLTOVF): Likewise.
9094 (FPE_FLTUND): Likewise.
9095 (FPE_FLTRES): Likewise.
9096 (FPE_FLTINV): Likewise.
9097 (FPE_FLTSUB): Likewise.
9098 (FPE_DECOVF): Likewise.
9099 (FPE_DECDIV): Likewise.
9100 (FPE_DECERR): Likewise.
9101 (FPE_INVASC): Likewise.
9102 (FPE_INVDEC): Likewise.
9103 (SEGV_MAPERR): Likewise.
9104 (SEGV_ACCERR): Likewise.
9105 (SEGV_PSTKOVF): Likewise.
9106 (BUS_ADRALN): Likewise.
9107 (BUS_ADRERR): Likewise.
9108 (BUS_OBJERR): Likewise.
9109 (BUS_MCEERR_AR): Likewise.
9110 (BUS_MCEERR_AO): Likewise.
9111 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9112 (TRAP_TRACE): Likewise.
9113 (TRAP_BRANCH): Likewise.
9114 (TRAP_HWBKPT): Likewise.
9115 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9117 (CLD_KILLED): Likewise.
9118 (CLD_DUMPED): Likewise.
9119 (CLD_TRAPPED): Likewise.
9120 (CLD_STOPPED): Likewise.
9121 (CLD_CONTINUED): Likewise.
9122 (POLL_IN): Likewise.
9123 (POLL_OUT): Likewise.
9124 (POLL_MSG): Likewise.
9125 (POLL_ERR): Likewise.
9126 (POLL_PRI): Likewise.
9127 (POLL_HUP): Likewise.
9128 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9129 (ILL_ILLOPN): Likewise.
9130 (ILL_ILLADR): Likewise.
9131 (ILL_ILLTRP): Likewise.
9132 (ILL_PRVOPC): Likewise.
9133 (ILL_PRVREG): Likewise.
9134 (ILL_COPROC): Likewise.
9135 (ILL_BADSTK): Likewise.
9136 (FPE_INTDIV): Likewise.
9137 (FPE_INTOVF): Likewise.
9138 (FPE_FLTDIV): Likewise.
9139 (FPE_FLTOVF): Likewise.
9140 (FPE_FLTUND): Likewise.
9141 (FPE_FLTRES): Likewise.
9142 (FPE_FLTINV): Likewise.
9143 (FPE_FLTSUB): Likewise.
9144 (SEGV_MAPERR): Likewise.
9145 (SEGV_ACCERR): Likewise.
9146 (BUS_ADRALN): Likewise.
9147 (BUS_ADRERR): Likewise.
9148 (BUS_OBJERR): Likewise.
9149 (BUS_MCEERR_AR): Likewise.
9150 (BUS_MCEERR_AO): Likewise.
9151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9152 (TRAP_TRACE): Likewise.
9153 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9155 (CLD_KILLED): Likewise.
9156 (CLD_DUMPED): Likewise.
9157 (CLD_TRAPPED): Likewise.
9158 (CLD_STOPPED): Likewise.
9159 (CLD_CONTINUED): Likewise.
9160 (POLL_IN): Likewise.
9161 (POLL_OUT): Likewise.
9162 (POLL_MSG): Likewise.
9163 (POLL_ERR): Likewise.
9164 (POLL_PRI): Likewise.
9165 (POLL_HUP): Likewise.
9166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9167 (ILL_ILLOPN): Likewise.
9168 (ILL_ILLADR): Likewise.
9169 (ILL_ILLTRP): Likewise.
9170 (ILL_PRVOPC): Likewise.
9171 (ILL_PRVREG): Likewise.
9172 (ILL_COPROC): Likewise.
9173 (ILL_BADSTK): Likewise.
9174 (FPE_INTDIV): Likewise.
9175 (FPE_INTOVF): Likewise.
9176 (FPE_FLTDIV): Likewise.
9177 (FPE_FLTOVF): Likewise.
9178 (FPE_FLTUND): Likewise.
9179 (FPE_FLTRES): Likewise.
9180 (FPE_FLTINV): Likewise.
9181 (FPE_FLTSUB): Likewise.
9182 (SEGV_MAPERR): Likewise.
9183 (SEGV_ACCERR): Likewise.
9184 (BUS_ADRALN): Likewise.
9185 (BUS_ADRERR): Likewise.
9186 (BUS_OBJERR): Likewise.
9187 (BUS_MCEERR_AR): Likewise.
9188 (BUS_MCEERR_AO): Likewise.
9189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9190 (TRAP_TRACE): Likewise.
9191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9193 (CLD_KILLED): Likewise.
9194 (CLD_DUMPED): Likewise.
9195 (CLD_TRAPPED): Likewise.
9196 (CLD_STOPPED): Likewise.
9197 (CLD_CONTINUED): Likewise.
9198 (POLL_IN): Likewise.
9199 (POLL_OUT): Likewise.
9200 (POLL_MSG): Likewise.
9201 (POLL_ERR): Likewise.
9202 (POLL_PRI): Likewise.
9203 (POLL_HUP): Likewise.
9204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9205 (ILL_ILLOPN): Likewise.
9206 (ILL_ILLADR): Likewise.
9207 (ILL_ILLTRP): Likewise.
9208 (ILL_PRVOPC): Likewise.
9209 (ILL_PRVREG): Likewise.
9210 (ILL_COPROC): Likewise.
9211 (ILL_BADSTK): Likewise.
9212 (FPE_INTDIV): Likewise.
9213 (FPE_INTOVF): Likewise.
9214 (FPE_FLTDIV): Likewise.
9215 (FPE_FLTOVF): Likewise.
9216 (FPE_FLTUND): Likewise.
9217 (FPE_FLTRES): Likewise.
9218 (FPE_FLTINV): Likewise.
9219 (FPE_FLTSUB): Likewise.
9220 (SEGV_MAPERR): Likewise.
9221 (SEGV_ACCERR): Likewise.
9222 (BUS_ADRALN): Likewise.
9223 (BUS_ADRERR): Likewise.
9224 (BUS_OBJERR): Likewise.
9225 (BUS_MCEERR_AR): Likewise.
9226 (BUS_MCEERR_AO): Likewise.
9227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9228 (TRAP_TRACE): Likewise.
9229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9231 (CLD_KILLED): Likewise.
9232 (CLD_DUMPED): Likewise.
9233 (CLD_TRAPPED): Likewise.
9234 (CLD_STOPPED): Likewise.
9235 (CLD_CONTINUED): Likewise.
9236 (POLL_IN): Likewise.
9237 (POLL_OUT): Likewise.
9238 (POLL_MSG): Likewise.
9239 (POLL_ERR): Likewise.
9240 (POLL_PRI): Likewise.
9241 (POLL_HUP): Likewise.
9242 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9243 (ILL_ILLOPN): Likewise.
9244 (ILL_ILLADR): Likewise.
9245 (ILL_ILLTRP): Likewise.
9246 (ILL_PRVOPC): Likewise.
9247 (ILL_PRVREG): Likewise.
9248 (ILL_COPROC): Likewise.
9249 (ILL_BADSTK): Likewise.
9250 (ILL_DBLFLT): Likewise.
9251 (ILL_HARDWALL): Likewise.
9252 (FPE_INTDIV): Likewise.
9253 (FPE_INTOVF): Likewise.
9254 (FPE_FLTDIV): Likewise.
9255 (FPE_FLTOVF): Likewise.
9256 (FPE_FLTUND): Likewise.
9257 (FPE_FLTRES): Likewise.
9258 (FPE_FLTINV): Likewise.
9259 (FPE_FLTSUB): Likewise.
9260 (SEGV_MAPERR): Likewise.
9261 (SEGV_ACCERR): Likewise.
9262 (BUS_ADRALN): Likewise.
9263 (BUS_ADRERR): Likewise.
9264 (BUS_OBJERR): Likewise.
9265 (BUS_MCEERR_AR): Likewise.
9266 (BUS_MCEERR_AO): Likewise.
9267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9268 (TRAP_TRACE): Likewise.
9269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9271 (CLD_KILLED): Likewise.
9272 (CLD_DUMPED): Likewise.
9273 (CLD_TRAPPED): Likewise.
9274 (CLD_STOPPED): Likewise.
9275 (CLD_CONTINUED): Likewise.
9276 (POLL_IN): Likewise.
9277 (POLL_OUT): Likewise.
9278 (POLL_MSG): Likewise.
9279 (POLL_ERR): Likewise.
9280 (POLL_PRI): Likewise.
9281 (POLL_HUP): Likewise.
9282 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9283 (ILL_ILLOPN): Likewise.
9284 (ILL_ILLADR): Likewise.
9285 (ILL_ILLTRP): Likewise.
9286 (ILL_PRVOPC): Likewise.
9287 (ILL_PRVREG): Likewise.
9288 (ILL_COPROC): Likewise.
9289 (ILL_BADSTK): Likewise.
9290 (FPE_INTDIV): Likewise.
9291 (FPE_INTOVF): Likewise.
9292 (FPE_FLTDIV): Likewise.
9293 (FPE_FLTOVF): Likewise.
9294 (FPE_FLTUND): Likewise.
9295 (FPE_FLTRES): Likewise.
9296 (FPE_FLTINV): Likewise.
9297 (FPE_FLTSUB): Likewise.
9298 (SEGV_MAPERR): Likewise.
9299 (SEGV_ACCERR): Likewise.
9300 (BUS_ADRALN): Likewise.
9301 (BUS_ADRERR): Likewise.
9302 (BUS_OBJERR): Likewise.
9303 (BUS_MCEERR_AR): Likewise.
9304 (BUS_MCEERR_AO): Likewise.
9305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9306 (TRAP_TRACE): Likewise.
9307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9309 (CLD_KILLED): Likewise.
9310 (CLD_DUMPED): Likewise.
9311 (CLD_TRAPPED): Likewise.
9312 (CLD_STOPPED): Likewise.
9313 (CLD_CONTINUED): Likewise.
9314 (POLL_IN): Likewise.
9315 (POLL_OUT): Likewise.
9316 (POLL_MSG): Likewise.
9317 (POLL_ERR): Likewise.
9318 (POLL_PRI): Likewise.
9319 (POLL_HUP): Likewise.
9320 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9321 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9324 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9325 before #include of <time.h>.
9326 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9327 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9328 (test-xfail-UNIX98/sched.h/conform): Likewise.
9330 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9332 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9333 error absence of trapping exception support.
9334 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9336 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9338 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9339 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9340 * timezone/Makefile (testdata): Move definition above include of
9342 (test-zones): New variable.
9343 (tests-special): Add zone files.
9344 (build-testdata): Use $(evaluate-test).
9346 * elf/Makefile (tests-special): Rename tests to end with .out.
9347 ($(objpfx)noload-mem): Likewise.
9348 ($(objpfx)tst-leaks1-mem): Likewise.
9349 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9350 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9351 $(objpfx)test-iconvconfig.out.
9352 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9353 set -e inside subshell and redirect output to file.
9354 * iconvdata/Makefile (generated): Rename tests to end with .out.
9356 (tests-special): Rename tests to end with .out.
9357 ($(objpfx)mtrace-tst-loading): Likewise.
9358 * intl/Makefile (generated): Likewise.
9359 (tests-special): Likewise.
9360 ($(objpfx)mtrace-tst-gettext): Likewise.
9361 * misc/Makefile (generated): Likewise.
9362 (tests-special): Likewise.
9363 ($(objpfx)tst-error1-mem): Likewise.
9364 * nptl/Makefile (tests-special): Likewise.
9365 ($(objpfx)tst-stack3-mem): Likewise.
9366 (generated): Likewise.
9367 * posix/Makefile (generated): Likewise.
9368 (tests-special): Likewise.
9369 (xtests-special): Likewise.
9370 ($(objpfx)tst-fnmatch-mem): Likewise.
9371 ($(objpfx)bug-regex2-mem): Likewise.
9372 ($(objpfx)bug-regex14-mem): Likewise.
9373 ($(objpfx)bug-regex21-mem): Likewise.
9374 ($(objpfx)bug-regex31-mem): Likewise.
9375 ($(objpfx)tst-vfork3-mem): Likewise.
9376 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9377 ($(objpfx)tst-pcre-mem): Likewise.
9378 ($(objpfx)tst-boost-mem): Likewise.
9379 ($(objpfx)bug-ga2-mem): Likewise.
9380 ($(objpfx)bug-glob2-mem): Likewise.
9381 * resolv/Makefile (generate): Likewise.
9382 (tests-special): Likewise.
9383 (xtests-special): Likewise.
9384 (generated): Likewise.
9385 ($(objpfx)mtrace-tst-leaks): Likewise.
9386 ($(objpfx)mtrace-tst-leaks2): Likewise.
9388 * scripts/merge-test-results.sh: New file.
9389 * Makefile (tests-special-notdir): New variable.
9390 (tests): Run merge-test-results.sh.
9392 * Rules (tests-special-notdir): New variable.
9393 (xtests-special-notdir): Likewise.
9394 (tests): Run merge-test-results.sh
9397 * Makeconfig (test-xfail-name): New variable.
9398 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9399 compute variable name for expected failures.
9400 * conform/Makefile (conformtest-headers-data): New variable.
9401 (conformtest-standards): Likewise.
9402 (conformtest-headers-ISO): Likewise.
9403 (conformtest-headers-ISO99): Likewise.
9404 (conformtest-headers-ISO11): Likewise.
9405 (conformtest-headers-POSIX): Likewise.
9406 (conformtest-headers-XPG3): Likewise.
9407 (conformtest-headers-XPG4): Likewise.
9408 (conformtest-headers-UNIX98): Likewise.
9409 (conformtest-headers-XOPEN2K): Likewise.
9410 (conformtest-headers-POSIX2008): Likewise.
9411 (conformtest-headers-XOPEN2K8): Likewise.
9412 (conformtest-header-list-base): Likewise.
9413 (conformtest-header-list-tests): Likewise.
9414 (conformtest-header-base): Likewise.
9415 (conformtest-header-tests): Likewise.
9416 (tests-special): Add $(conformtest-header-list-tests). If
9417 [$(fast-check) && !$(cross-compiling)], add
9418 $(conformtest-header-tests) instead of
9419 $(objpfx)run-conformtest.out.
9420 (generated): Add $(conformtest-header-list-base). If
9421 [$(fast-check) && !$(cross-compiling)], add
9422 $(conformtest-header-base). Remove previous setting.
9423 ($(conformtest-header-list-tests)): New target.
9424 (test-xfail-run-conformtest): Remove variable.
9425 ($(objpfx)run-conformtest.out): Remove target.
9426 (test-xfail-ISO11/complex.h/conform): New variable.
9427 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9428 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9429 (test-xfail-XPG3/varargs.h/conform): Likewise.
9430 (test-xfail-XPG4/varargs.h/conform): Likewise.
9431 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9432 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9433 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9434 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9435 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9436 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9437 (test-xfail-XPG3/ftw.h/conform): Likewise.
9438 (test-xfail-XPG3/grp.h/conform): Likewise.
9439 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9440 (test-xfail-XPG3/limits.h/conform): Likewise.
9441 (test-xfail-XPG3/pwd.h/conform): Likewise.
9442 (test-xfail-XPG3/search.h/conform): Likewise.
9443 (test-xfail-XPG3/signal.h/conform): Likewise.
9444 (test-xfail-XPG3/stdio.h/conform): Likewise.
9445 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9446 (test-xfail-XPG3/string.h/conform): Likewise.
9447 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9448 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9449 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9450 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9451 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9452 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9453 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9454 (test-xfail-XPG3/termios.h/conform): Likewise.
9455 (test-xfail-XPG3/time.h/conform): Likewise.
9456 (test-xfail-XPG3/unistd.h/conform): Likewise.
9457 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9458 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9459 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9460 (test-xfail-XPG4/netdb.h/conform): Likewise.
9461 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9462 (test-xfail-XPG4/signal.h/conform): Likewise.
9463 (test-xfail-XPG4/stdio.h/conform): Likewise.
9464 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9465 (test-xfail-XPG4/stropts.h/conform): Likewise.
9466 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9467 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9468 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9469 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9470 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9471 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9472 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9473 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9474 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9475 (test-xfail-XPG4/termios.h/conform): Likewise.
9476 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9477 (test-xfail-XPG4/unistd.h/conform): Likewise.
9478 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9479 (test-xfail-POSIX/sched.h/conform): Likewise.
9480 (test-xfail-POSIX/signal.h/conform): Likewise.
9481 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9482 (test-xfail-POSIX/tar.h/conform): Likewise.
9483 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9484 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9485 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9486 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9487 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9488 (test-xfail-UNIX98/sched.h/conform): Likewise.
9489 (test-xfail-UNIX98/signal.h/conform): Likewise.
9490 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9491 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9492 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9493 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9494 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9495 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9496 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9497 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9498 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9499 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9500 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9501 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9502 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9503 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9504 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9505 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9506 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9507 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9508 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9509 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9510 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9511 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9512 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9513 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9514 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9515 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9516 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9517 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9518 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9519 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9520 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9521 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9522 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9523 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9524 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9525 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9526 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9527 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9528 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9529 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9530 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9531 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9532 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9533 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9534 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9535 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9536 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9537 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9538 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9539 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9540 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9541 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9542 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9543 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9544 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9545 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9546 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9547 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9548 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9549 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9550 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9551 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9552 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9553 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9554 (conformtest-cc-flags): Likewise.
9555 ($(conformtest-header-tests): New target.
9556 * conform/check-header-lists.sh: New file.
9557 * conform/run-conformtest.sh: Remove.
9559 * conform/conformtest.pl: Allow ' and \ in values given for
9561 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9563 [POSIX] (sys/types.h): Likewise.
9564 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9566 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9568 * conform/data/signal.h-data (SIGIO): Remove expectation.
9569 [XPG3] (SIGBUS): Do not expect.
9570 [POSIX || XPG3] (SIGPOLL): Likewise.
9571 [POSIX || XPG3] (SIGPROF): Likewise.
9572 [POSIX || XPG3] (SIGSYS): Likewise.
9573 [XPG3] (SIGTRAP): Likewise.
9574 [POSIX || XPG3] (SIGURG): Likewise.
9575 [POSIX || XPG3] (SIGVTALRM): Likewise.
9576 [POSIX || XPG3] (SIGXCPU): Likewise.
9577 [POSIX || XPG3] (SIGXFSZ): Likewise.
9578 [POSIX] (SA_SIGINFO): Expect.
9579 [XPG3] (siginfo_t): Do not expect type or contents.
9580 [POSIX] (si_pid): Do not expect element.
9581 [POSIX] (si_uid): Likewise.
9582 [POSIX] (si_addr): Likewise.
9583 [POSIX] (si_status): Likewise.
9584 [POSIX] (si_band): Likewise.
9585 [XPG4] (si_value): Likewise.
9586 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9587 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9588 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9589 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9590 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9591 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9592 [POSIX || XPG3] (ILL_COPROC): Likewise.
9593 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9594 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9595 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9596 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9597 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9598 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9599 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9600 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9601 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9602 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9603 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9604 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9605 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9606 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9607 [POSIX || XPG3] (CLD_EXITED): Likewise.
9608 [POSIX || XPG3] (CLD_KILLED): Likewise.
9609 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9610 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9611 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9612 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9613 [POSIX || XPG3] (POLL_IN): Likewise.
9614 [POSIX || XPG3] (POLL_OUT): Likewise.
9615 [POSIX || XPG3] (POLL_MSG): Likewise.
9616 [POSIX || XPG3] (POLL_ERR): Likewise.
9617 [POSIX || XPG3] (POLL_PRI): Likewise.
9618 [POSIX || XPG3] (POLL_HUP): Likewise.
9619 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9620 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9621 (SIG*): Do not allow.
9622 [XPG3] (si_*): Likewise.
9623 [XPG3] (SI_*): Likewise.
9624 [XPG3 || XPG4] (sigev_*): Likewise.
9625 [XPG3 || XPG4] (SIGEV_*): Likewise.
9626 [XPG3 || XPG4] (sival_*): Likewise.
9627 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9628 [POSIX || XPG3] (BUS_*): Likewise.
9629 [POSIX || XPG3] (CLD_*): Likewise.
9630 [POSIX || XPG3] (FPE_*): Likewise.
9631 [POSIX || XPG3] (ILL_*): Likewise.
9632 [POSIX || XPG3] (POLL_*): Likewise.
9633 [POSIX || XPG3] (SEGV_*): Likewise.
9634 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9635 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9636 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9637 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9638 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9639 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9640 Specify type and value.
9641 (TVERSLEN): Likewise.
9642 (REGTYPE): Likewise.
9643 (AREGTYPE): Likewise.
9644 (LNKTYPE): Likewise.
9645 (SYMTYPE): Likewise.
9646 (CHRTYPE): Likewise.
9647 (BLKTYPE): Likewise.
9648 (DIRTYPE): Likewise.
9649 (FIFOTYPE): Likewise.
9650 (CONTTYPE): Likewise.
9655 (TUWRITE): Likewise.
9658 (TGWRITE): Likewise.
9661 (TOWRITE): Likewise.
9663 [POSIX] (TSVTX): Expect constant.
9665 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9667 * Makefile (tests): Change dependencies to ....
9668 (tests-special): ... additions to this variable.
9669 (tests): Depend on $(tests-special).
9670 * Makerules (check-abi-list): New variable.
9671 (check-abi): Depend on $(check-abi-list).
9672 [$(subdir) = elf] (tests-special): Add
9673 $(objpfx)check-abi-libc.out.
9674 [$(build-shared) = yes && subdir] (tests-special): Add
9676 [$(build-shared) = yes && subdir] (tests): Do not depend on
9678 * Rules (tests): Depend on $(tests-special).
9679 (xtests): Depend on $(xtests-special).
9680 * catgets/Makefile (tests): Change dependencies to ....
9681 (tests-special): ... additions to this variable.
9682 * conform/Makefile (tests): Change dependencies to ....
9683 (tests-special): ... additions to this variable.
9684 * elf/Makefile (tests): Change dependencies to ....
9685 (tests-special): ... additions to this variable.
9686 * grp/Makefile (tests): Change dependencies to ....
9687 (tests-special): ... additions to this variable.
9688 * iconv/Makefile (xtests): Change dependencies to ....
9689 (xtests-special): ... additions to this variable.
9690 * iconvdata/Makefile (tests): Change dependencies to ....
9691 (tests-special): ... additions to this variable.
9692 * intl/Makefile (tests): Change dependencies to ....
9693 (tests-special): ... additions to this variable. Also add
9694 $(objpfx)tst-gettext.out.
9695 * io/Makefile (tests): Change dependencies to ....
9696 (tests-special): ... additions to this variable.
9697 * libio/Makefile (tests): Change dependencies to ....
9698 (tests-special): ... additions to this variable.
9699 * malloc/Makefile (tests): Change dependencies to ....
9700 (tests-special): ... additions to this variable.
9701 * misc/Makefile (tests): Change dependencies to ....
9702 (tests-special): ... additions to this variable.
9703 * nptl/Makefile (tests): Change dependencies to ....
9704 (tests-special): ... additions to this variable.
9705 * nptl_db/Makefile (tests): Change dependencies to ....
9706 (tests-special): ... additions to this variable.
9707 * posix/Makefile (tests): Change dependencies to ....
9708 (tests-special): ... additions to this variable.
9709 (xtests): Change dependencies to ....
9710 (xtests-special): ... additions to this variable.
9711 * resolv/Makefile (tests): Change dependencies to ....
9712 (tests-special): ... additions to this variable.
9713 (xtests): Change dependencies to ....
9714 (xtests-special): ... additions to this variable.
9715 * stdio-common/Makefile (tests): Change dependencies to ....
9716 (tests-special): ... additions to this variable.
9717 (do-tst-unbputc): Remove target.
9718 (do-tst-printf): Likewise.
9719 * stdlib/Makefile (tests): Change dependencies to ....
9720 (tests-special): ... additions to this variable.
9721 * string/Makefile (tests): Change dependencies to ....
9722 (tests-special): ... additions to this variable.
9723 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9724 (tests-special): ... additions to this variable.
9726 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9728 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9730 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9731 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9733 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9734 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9735 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9736 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9737 * conform/data/libgen.h-data [XPG3]: Likewise.
9738 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9739 * conform/data/ndbm.h-data [XPG3]: Likewise.
9740 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9741 * conform/data/netdb.h-data [XPG3]: Likewise.
9742 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9743 * conform/data/poll.h-data [XPG3]: Likewise.
9744 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9745 * conform/data/strings.h-data [XPG3]: Likewise.
9746 * conform/data/stropts.h-data [XPG3]: Likewise.
9747 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9748 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9749 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9751 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9752 * conform/data/sys/time.h-data [XPG3]: Likewise.
9753 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9754 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9755 * conform/data/sys/un.h-data [XPG3]: Likewise.
9756 * conform/data/syslog.h-data [XPG3]: Likewise.
9757 * conform/data/ucontext.h-data [XPG3]: Likewise.
9758 * conform/data/utmpx.h-data [XPG3]: Likewise.
9759 * conform/data/varargs.h-data [UNIX98]: Enable file.
9761 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9763 * math/libm-test.inc (struct test_f_f_data): Move expected results
9764 into structure for each rounding mode.
9765 (struct test_ff_f_data): Likewise.
9766 (struct test_ff_f_data_nexttoward): Likewise.
9767 (struct test_fi_f_data): Likewise.
9768 (struct test_fl_f_data): Likewise.
9769 (struct test_if_f_data): Likewise.
9770 (struct test_fff_f_data): Likewise.
9771 (struct test_c_f_data): Likewise.
9772 (struct test_f_f1_data): Likewise.
9773 (struct test_fF_f1_data): Likewise.
9774 (struct test_ffI_f1_data): Likewise.
9775 (struct test_c_c_data): Likewise.
9776 (struct test_cc_c_data): Likewise.
9777 (struct test_f_i_data): Likewise.
9778 (struct test_ff_i_data): Likewise.
9779 (struct test_f_l_data): Likewise.
9780 (struct test_f_L_data): Likewise.
9781 (struct test_fFF_11_data): Likewise.
9783 (RM_FE_DOWNWARD): Likewise.
9784 (RM_FE_TONEAREST): Likewise.
9785 (RM_FE_TOWARDZERO): Likewise.
9786 (RM_FE_UPWARD): Likewise.
9787 (RUN_TEST_LOOP_f_f): Update references to expected results.
9788 (RUN_TEST_LOOP_2_f): Likewise.
9789 (RUN_TEST_LOOP_fff_f): Likewise.
9790 (RUN_TEST_LOOP_c_f): Likewise.
9791 (RUN_TEST_LOOP_f_f1): Likewise.
9792 (RUN_TEST_LOOP_fF_f1): Likewise.
9793 (RUN_TEST_LOOP_fI_f1): Likewise.
9794 (RUN_TEST_LOOP_ffI_f1): Likewise.
9795 (RUN_TEST_LOOP_c_c): Likewise.
9796 (RUN_TEST_LOOP_cc_c): Likewise.
9797 (RUN_TEST_LOOP_f_i): Likewise.
9798 (RUN_TEST_LOOP_f_i_tg): Likewise.
9799 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9800 (RUN_TEST_LOOP_f_b): Likewise.
9801 (RUN_TEST_LOOP_f_b_tg): Likewise.
9802 (RUN_TEST_LOOP_f_l): Likewise.
9803 (RUN_TEST_LOOP_f_L): Likewise.
9804 (RUN_TEST_LOOP_fFF_11): Likewise.
9805 * math/gen-libm-test.pl (parse_args): Output four copies of
9806 expected results for each test.
9808 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9809 (__ASSUME_UTIMES): Remove.
9810 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9811 (__ASSUME_UTIMES): Likewise.
9813 * math/gen-auto-libm-tests.c: Update comment on output format.
9814 (output_for_one_input_case): Generate before-rounding and
9815 after-rounding information as conditions on output flags not
9816 floating-point format.
9817 * math/auto-libm-test-out: Regenerated.
9818 * math/gen-libm-test.pl (cond_value): New function.
9819 (or_cond_value): Use cond_value.
9820 (generate_testfile): Handle conditional exceptions.
9822 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9824 * math/libm-test.inc (max_valid_error): New variable.
9825 (init_max_error): Take new argument specifying whether function
9826 results are exactly determined. Set max_valid_error and bound
9827 other variables for errors based on this argument.
9828 (set_max_error): Do not record results above max_valid_error.
9829 (check_float_internal): Only accept errors of up to 0.5ulps if
9830 also at most max_valid_error.
9831 (START): Take new argument EXACT and pass it to init_max_error.
9832 (acos_test): Update call to START.
9833 (acos_test_tonearest): Likewise.
9834 (acos_test_towardzero): Likewise.
9835 (acos_test_downward): Likewise.
9836 (acos_test_upward): Likewise.
9837 (acosh_test): Likewise.
9838 (asin_test): Likewise.
9839 (asin_test_tonearest): Likewise.
9840 (asin_test_towardzero): Likewise.
9841 (asin_test_downward): Likewise.
9842 (asin_test_upward): Likewise.
9843 (asinh_test): Likewise.
9844 (atan_test): Likewise.
9845 (atanh_test): Likewise.
9846 (atan2_test): Likewise.
9847 (cabs_test): Likewise.
9848 (cacos_test): Likewise.
9849 (cacosh_test): Likewise.
9850 (carg_test): Likewise.
9851 (casin_test): Likewise.
9852 (casinh_test): Likewise.
9853 (catan_test): Likewise.
9854 (catanh_test): Likewise.
9855 (cbrt_test): Likewise.
9856 (ccos_test): Likewise.
9857 (ccosh_test): Likewise.
9858 (ceil_test): Likewise.
9859 (cexp_test): Likewise.
9860 (cimag_test): Likewise.
9861 (clog_test): Likewise.
9862 (clog10_test): Likewise.
9863 (conj_test): Likewise.
9864 (copysign_test): Likewise.
9865 (cos_test): Likewise.
9866 (cos_test_tonearest): Likewise.
9867 (cos_test_towardzero): Likewise.
9868 (cos_test_downward): Likewise.
9869 (cos_test_upward): Likewise.
9870 (cosh_test): Likewise.
9871 (cosh_test_tonearest): Likewise.
9872 (cosh_test_towardzero): Likewise.
9873 (cosh_test_downward): Likewise.
9874 (cosh_test_upward): Likewise.
9875 (cpow_test): Likewise.
9876 (cproj_test): Likewise.
9877 (creal_test): Likewise.
9878 (csin_test): Likewise.
9879 (csinh_test): Likewise.
9880 (csqrt_test): Likewise.
9881 (ctan_test): Likewise.
9882 (ctan_test_tonearest): Likewise.
9883 (ctan_test_towardzero): Likewise.
9884 (ctan_test_downward): Likewise.
9885 (ctan_test_upward): Likewise.
9886 (ctanh_test): Likewise.
9887 (ctanh_test_tonearest): Likewise.
9888 (ctanh_test_towardzero): Likewise.
9889 (ctanh_test_downward): Likewise.
9890 (ctanh_test_upward): Likewise.
9891 (erf_test): Likewise.
9892 (erfc_test): Likewise.
9893 (exp_test): Likewise.
9894 (exp_test_tonearest): Likewise.
9895 (exp_test_towardzero): Likewise.
9896 (exp_test_downward): Likewise.
9897 (exp_test_upward): Likewise.
9898 (exp10_test): Likewise.
9899 (exp10_test_tonearest): Likewise.
9900 (exp10_test_towardzero): Likewise.
9901 (exp10_test_downward): Likewise.
9902 (exp10_test_upward): Likewise.
9903 (pow10_test): Likewise.
9904 (exp2_test): Likewise.
9905 (expm1_test): Likewise.
9906 (expm1_test_tonearest): Likewise.
9907 (expm1_test_towardzero): Likewise.
9908 (expm1_test_downward): Likewise.
9909 (expm1_test_upward): Likewise.
9910 (fabs_test): Likewise.
9911 (fdim_test): Likewise.
9912 (floor_test): Likewise.
9913 (fma_test): Likewise.
9914 (fma_test_towardzero): Likewise.
9915 (fma_test_downward): Likewise.
9916 (fma_test_upward): Likewise.
9917 (fmax_test): Likewise.
9918 (fmin_test): Likewise.
9919 (fmod_test): Likewise.
9920 (fpclassify_test): Likewise.
9921 (frexp_test): Likewise.
9922 (hypot_test): Likewise.
9923 (ilogb_test): Likewise.
9924 (isfinite_test): Likewise.
9925 (finite_test): Likewise.
9926 (isgreater_test): Likewise.
9927 (isgreaterequal_test): Likewise.
9928 (isinf_test): Likewise.
9929 (isless_test): Likewise.
9930 (islessequal_test): Likewise.
9931 (islessgreater_test): Likewise.
9932 (isnan_test): Likewise.
9933 (isnormal_test): Likewise.
9934 (issignaling_test): Likewise.
9935 (isunordered_test): Likewise.
9936 (j0_test): Likewise.
9937 (j1_test): Likewise.
9938 (jn_test): Likewise.
9939 (ldexp_test): Likewise.
9940 (lgamma_test): Likewise.
9941 (gamma_test): Likewise.
9942 (lrint_test): Likewise.
9943 (lrint_test_tonearest): Likewise.
9944 (lrint_test_towardzero): Likewise.
9945 (lrint_test_downward): Likewise.
9946 (lrint_test_upward): Likewise.
9947 (llrint_test): Likewise.
9948 (llrint_test_tonearest): Likewise.
9949 (llrint_test_towardzero): Likewise.
9950 (llrint_test_downward): Likewise.
9951 (llrint_test_upward): Likewise.
9952 (log_test): Likewise.
9953 (log10_test): Likewise.
9954 (log1p_test): Likewise.
9955 (log2_test): Likewise.
9956 (logb_test): Likewise.
9957 (logb_test_downward): Likewise.
9958 (lround_test): Likewise.
9959 (llround_test): Likewise.
9960 (modf_test): Likewise.
9961 (nearbyint_test): Likewise.
9962 (nextafter_test): Likewise.
9963 (nexttoward_test): Likewise.
9964 (pow_test): Likewise.
9965 (pow_test_tonearest): Likewise.
9966 (pow_test_towardzero): Likewise.
9967 (pow_test_downward): Likewise.
9968 (pow_test_upward): Likewise.
9969 (remainder_test): Likewise.
9970 (drem_test): Likewise.
9971 (remainder_test_tonearest): Likewise.
9972 (drem_test_tonearest): Likewise.
9973 (remainder_test_towardzero): Likewise.
9974 (drem_test_towardzero): Likewise.
9975 (remainder_test_downward): Likewise.
9976 (drem_test_downward): Likewise.
9977 (remainder_test_upward): Likewise.
9978 (drem_test_upward): Likewise.
9979 (remquo_test): Likewise.
9980 (rint_test): Likewise.
9981 (rint_test_tonearest): Likewise.
9982 (rint_test_towardzero): Likewise.
9983 (rint_test_downward): Likewise.
9984 (rint_test_upward): Likewise.
9985 (round_test): Likewise.
9986 (scalb_test): Likewise.
9987 (scalbn_test): Likewise.
9988 (scalbln_test): Likewise.
9989 (signbit_test): Likewise.
9990 (sin_test): Likewise.
9991 (sin_test_tonearest): Likewise.
9992 (sin_test_towardzero): Likewise.
9993 (sin_test_downward): Likewise.
9994 (sin_test_upward): Likewise.
9995 (sincos_test): Likewise.
9996 (sinh_test): Likewise.
9997 (sinh_test_tonearest): Likewise.
9998 (sinh_test_towardzero): Likewise.
9999 (sinh_test_downward): Likewise.
10000 (sinh_test_upward): Likewise.
10001 (sqrt_test): Likewise.
10002 (sqrt_test_tonearest): Likewise.
10003 (sqrt_test_towardzero): Likewise.
10004 (sqrt_test_downward): Likewise.
10005 (sqrt_test_upward): Likewise.
10006 (tan_test): Likewise.
10007 (tan_test_tonearest): Likewise.
10008 (tan_test_towardzero): Likewise.
10009 (tan_test_downward): Likewise.
10010 (tan_test_upward): Likewise.
10011 (tanh_test): Likewise.
10012 (tgamma_test): Likewise.
10013 (trunc_test): Likewise.
10014 (y0_test): Likewise.
10015 (y1_test): Likewise.
10016 (yn_test): Likewise.
10017 (significand_test): Likewise.
10019 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10020 individual tests in comment.
10021 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10022 (prev_max_error): New variable.
10023 (prev_real_max_error): Likewise.
10024 (prev_imag_max_error): Likewise.
10025 (compare_ulp_data): Don't refer to test names in comment.
10026 (find_test_ulps): Remove function.
10027 (find_function_ulps): Likewise.
10028 (find_complex_function_ulps): Likewise.
10029 (init_max_error): Take function name as argument. Look up ulps
10031 (print_ulps): Remove function.
10032 (print_max_error): Use prev_max_error instead of calling
10033 find_function_ulps.
10034 (print_complex_max_error): Use prev_real_max_error and
10035 prev_imag_max_error instead of calling find_complex_function_ulps.
10036 (check_float_internal): Take max_ulp parameter instead of calling
10037 find_test_ulps. Don't call print_ulps.
10038 (check_float): Update call to check_float_internal.
10039 (check_complex): Update calls to check_float_internal.
10040 (START): Pass argument to init_max_error.
10041 * math/gen-libm-test.pl (%results): Don't include "kind"
10043 (parse_ulps): Don't handle ulps of individual tests.
10044 (print_ulps_file): Likewise.
10045 (output_ulps): Likewise.
10046 * math/README.libm-test: Update.
10047 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10049 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10050 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10051 * sysdeps/arm/libm-test-ulps: Likewise.
10052 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10053 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10054 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10055 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10056 * sysdeps/microblaze/libm-test-ulps: Likewise.
10057 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10058 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10060 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10061 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10062 * sysdeps/sh/libm-test-ulps: Likewise.
10063 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10064 * sysdeps/tile/libm-test-ulps: Likewise.
10065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10067 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10069 * math/libm-test.inc (print_complex_max_error): Check separately
10070 whether real and imaginary errors are within allowed range and
10071 pass 0 to print_complex_function_ulps instead of value within
10074 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10076 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10078 (get_handles_fopen): Likewise.
10079 (do_write_test): Likewise.
10081 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10083 * libio/fileops.c (do_ftell): Use cached offset when
10085 * libio/iofwide.c (do_ftell_wide): Likewise.
10086 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10088 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10091 * libio/libioP.h (get_file_offset): New function.
10092 * libio/fileops.c (get_file_offset): Likewise.
10093 (do_ftell): Likewise.
10094 (_IO_new_file_seekoff): Split out ftell logic.
10095 * libio/wfileops.c (do_ftell_wide): Likewise.
10096 (_IO_wfile_seekoff): Split out ftell logic.
10097 * libio/tst-ftell-active-handler.c: New test case.
10098 * libio/Makefile (tests): Add it.
10100 2014-03-03 Roland McGrath <roland@hack.frob.com>
10102 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10103 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10105 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10108 * nscd/connections.c (nscd_init): Call do_exit.
10109 (start_threads): Call do_exit and notify_parent.
10110 (begin_drop_privileges): Call do_exit.
10111 (finish_drop_privileges): Likewise.
10112 * nscd/selinux.c (preserve_capabilities): Likewise.
10113 (install_real_capabilities): Likewise.
10114 (nscd_selinux_enabled): Likewise.
10115 (avc_create_thread): Likewise.
10116 (avc_alloc_lock): Likewise.
10117 (nscd_avc_init): Likewise.
10118 * nscd/nscd.c (parent_fd): New static variable.
10119 (main): Create a pipe between parent and child processes.
10120 Skip closing parent_fd.
10121 (monitor_child): New function.
10122 (do_exit): Likewise.
10123 (notify_parent): Likewise.
10124 * nscd/nscd.h (notify_parent): Likewise.
10125 (do_exit): Likewise.
10127 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10129 * malloc/malloc.c (__libc_calloc): Revert last change.
10131 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10135 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10137 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10141 (__libc_ifunc_impl_list): Likewise.
10142 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10143 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10144 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10145 * string/strrchr.c: Define STRRCHR.
10147 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10149 * benchtest/bench-strtok.c (simple_strtok): Delete.
10150 (strtok_string): Use as benchmark.
10151 * string/strtok (STRTOK): New macro.
10153 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10155 * manual/threads.texi: Add header and standard comments to all
10158 * elf/dl-lookup.c (check_match): New function.
10159 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10160 (do_lookup_x): Remove nested function check_match. Use non-nested
10161 function check_match.
10163 2014-02-28 Roland McGrath <roland@hack.frob.com>
10165 * csu/Makefile (generated, before-compile): Use += rather than =.
10166 * catgets/Makefile (generated, generated-dirs): Likewise.
10167 * debug/Makefile (generated): Likewise.
10168 * dlfcn/Makefile (generated): Likewise.
10169 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10170 * iconvdata/Makefile (before-compile, generated): Likewise.
10171 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10172 * libio/Makefile (generated): Likewise.
10173 * malloc/Makefile (generated): Likewise.
10174 * manual/Makefile (generated, generated-dirs): Likewise.
10175 * misc/Makefile (generated): Likewise.
10176 * posix/Makefile (generated): Likewise.
10177 * resolv/Makefile (generated): Likewise.
10178 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10179 * timezone/Makefile (generated, generated-dirs): Likewise.
10181 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10183 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10186 power8 implementation.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10188 file: POWER8 llround ifunc implementation.
10189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10190 (__lllround): Add POWER8 implementation.
10191 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10192 POWER8 llround implementation.
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10195 power8 implementation.
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10197 file: POWER8 llrint ifunc implementation.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10199 Add POWER8 implementation.
10200 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10201 POWER8 llrint implementation.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10204 power8 implementation.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10206 file: POWER8 finite ifunc implementation.
10207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10208 Add POWER8 implementation.
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10211 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10212 POWER8 finite implementation.
10213 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10216 power8 implementation.
10217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10218 file: POWER8 isinf ifunc implementation.
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10220 POWER8 implementation.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10223 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10224 isinf implementation.
10225 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10227 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10228 (INIT_ARCH): Add hwcap2 initialization.
10229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10230 power8 implementation.
10231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10232 file: POWER8 isnan ifunc implementation.
10233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10234 POWER8 implementation.
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10237 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10238 isnan implementation.
10239 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10241 2014-02-27 Joey Ye <joey.ye@arm.com>
10243 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10244 (_FP_NANFRAC_Q): Set to zero.
10246 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10249 * math/auto-libm-test-in: New test inputs.
10250 * math/auto-libm-test-out: Regenerate.
10251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10256 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10258 * scripts/evaluate-test.sh: Take new argument indicating whether
10259 failure is expected.
10260 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10261 indicating whether failure is expected.
10262 * conform/Makefile (test-xfail-run-conformtest): New variable.
10263 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10265 * posix/Makefile (test-xfail-annexc): New variable.
10266 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10268 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10270 * argp/Makefile: Include Makeconfig immediately after defining
10272 * assert/Makefile: Likewise.
10273 * benchtests/Makefile: Likewise.
10274 * catgets/Makefile: Likewise.
10275 * conform/Makefile: Likewise.
10276 * crypt/Makefile: Likewise.
10277 * csu/Makefile: Likewise.
10278 (all): Remove target.
10279 * ctype/Makefile: Include Makeconfig immediately after defining
10281 * debug/Makefile: Likewise.
10282 * dirent/Makefile: Likewise.
10283 * dlfcn/Makefile: Likewise.
10284 * gmon/Makefile: Likewise.
10285 * gnulib/Makefile: Likewise.
10286 * grp/Makefile: Likewise.
10287 * gshadow/Makefile: Likewise.
10288 * hesiod/Makefile: Likewise.
10289 * hurd/Makefile: Likewise.
10290 (all): Remove target.
10291 * iconvdata/Makefile: Include Makeconfig immediately after
10293 * inet/Makefile: Likewise.
10294 * intl/Makefile: Likewise.
10295 * io/Makefile: Likewise.
10296 * libio/Makefile: Likewise.
10297 (all): Remove target.
10298 * locale/Makefile: Include Makeconfig immediately after defining
10300 * login/Makefile: Likewise.
10301 * mach/Makefile: Likewise.
10302 (all): Remove target.
10303 * malloc/Makefile: Include Makeconfig immediately after defining
10305 (all): Remove target.
10306 * manual/Makefile: Include Makeconfig immediately after defining
10308 * math/Makefile: Likewise.
10309 * misc/Makefile: Likewise.
10310 * nis/Makefile: Likewise.
10311 * nss/Makefile: Likewise.
10312 * po/Makefile: Likewise.
10313 (all): Remove target.
10314 * posix/Makefile: Include Makeconfig immediately after defining
10316 * pwd/Makefile: Likewise.
10317 * resolv/Makefile: Likewise.
10318 * resource/Makefile: Likewise.
10319 * rt/Makefile: Likewise.
10320 * setjmp/Makefile: Likewise.
10321 * shadow/Makefile: Likewise.
10322 * signal/Makefile: Likewise.
10323 * socket/Makefile: Likewise.
10324 * soft-fp/Makefile: Likewise.
10325 * stdio-common/Makefile: Likewise.
10326 * stdlib/Makefile: Likewise.
10327 * streams/Makefile: Likewise.
10328 * string/Makefile: Likewise.
10329 * sunrpc/Makefile: Likewise.
10330 (all): Remove target.
10331 * sysvipc/Makefile: Include Makeconfig immediately after defining
10333 * termios/Makefile: Likewise.
10334 * time/Makefile: Likewise.
10335 * timezone/Makefile: Likewise.
10336 (all): Remove target.
10337 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10339 * wctype/Makefile: Likewise.
10341 2014-02-26 Steve Ellcey <sellcey@mips.com>
10343 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10344 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10345 (libc_feholdexcept_setround_mips): Ditto.
10346 (libc_feholdsetround): New.
10347 (libc_feholdsetroundf): New.
10348 (libc_feholdsetroundl): New.
10349 (libc_feupdateenv_test_mips): New.
10350 (libc_feupdateenv_test): New.
10351 (libc_feupdateenv_testf): New.
10352 (libc_feupdateenv_testl): New.
10353 (libc_feresetround): New.
10354 (libc_feresetroundf): New.
10355 (libc_feresetroundl): New.
10356 (libc_fetestexcept_mips): New.
10357 (libc_fetestexcept): New.
10358 (libc_fetestexceptf): New.
10359 (libc_fetestexceptl): New.
10360 (HAVE_RM_CTX): New.
10361 (libc_feholdexcept_setround_mips_ctx): New.
10362 (libc_feholdexcept_setround_ctx): New.
10363 (libc_feholdexcept_setroundf_ctx): New.
10364 (libc_feholdexcept_setroundl_ctx): New.
10365 (libc_fesetenv_mips_ctx): New.
10366 (libc_fesetenv_ctx): New.
10367 (libc_fesetenv_ctxf): New.
10368 (libc_fesetenv_ctxl): New.
10369 (libc_feupdateenv_mips_ctx): New.
10370 (libc_feupdateenv_ctx): New.
10371 (libc_feupdateenvf_ctx): New.
10372 (libc_feupdateenvl_ctx): New.
10373 (libc_feholdsetround_mips_ctx): New.
10374 (libc_feholdsetround_ctx): New.
10375 (libc_feholdsetroundf_ctx): New.
10376 (libc_feholdsetroundl_ctx): New.
10377 (libc_feresetround_mips_ctx): New.
10378 (libc_feresetround_ctx): New.
10379 (libc_feresetroundf_ctx): New.
10380 (libc_feresetroundl_ctx): New.
10382 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10384 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10386 * manual/ipc.texi: New file.
10387 * manual/Makefile (chapters): Add ipc.
10388 * manual/job.texi: Add "Inter-Process Communication" to next.
10389 * manual/process.texi: Add "Inter-Process Communication" to prev.
10391 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10395 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10397 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10399 * manual/arith.texi: Fix spaces after sentences.
10400 * manual/charset.texi: Likewise.
10401 * manual/errno.texi: Likewise.
10402 * manual/install.texi: Likewise.
10403 * manual/llio.texi: Likewise.
10404 * manual/locale.texi: Likewise.
10405 * manual/maint.texi: Likewise.
10406 * manual/math.texi: Likewise.
10407 * manual/memory.texi: Likewise.
10408 * manual/message.texi: Likewise.
10409 * manual/probes.texi: Likewise.
10410 * manual/resource.texi: Likewise.
10411 * manual/signal.texi: Likewise.
10412 * manual/socket.texi: Likewise.
10413 * manual/stdio.texi: Likewise.
10414 * manual/string.texi: Likewise.
10415 * manual/time.texi: Likewise.
10416 * manual/users.texi: Likewise.
10418 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10421 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10422 _DEFAULT_SOURCE is defined.
10424 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10425 Carlos O'Donell <carlos@redhat.com>
10428 * elf/dl-tls.c (_dl_count_modids): New function.
10429 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10430 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10431 audit library and increment generation counter.
10432 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10433 * elf/tst-audit9.c: New file.
10434 * elf/tst-auditmod9a.c: New file.
10435 * elf/tst-auditmod9b.c: New file.
10436 * elf/Makefile: Add rules to build and run tst-audit9.
10438 2014-02-25 Florian Weimer <fweimer@redhat.com>
10441 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10443 2014-02-25 Will Newton <will.newton@linaro.org>
10445 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10446 (__longjmp): Restore sp and lr before restoring callee
10447 saved registers. Add longjmp and longjmp_target
10448 SystemTap probe point.
10449 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10450 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10451 Define to zero to match jmpbuf layout.
10452 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10453 (__sigsetjmp): Save sp and lr before saving callee
10454 saved registers. Add setjmp SystemTap probe point.
10456 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10458 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10460 2014-02-24 Andreas Schwab <schwab@suse.de>
10463 * elf/pldd.c (wait_for_ptrace_stop): New function.
10464 (main): Call it after attaching.
10466 2014-02-22 Roland McGrath <roland@hack.frob.com>
10468 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10469 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10470 Versions files is now verboten.
10471 * hurd/Versions (libc: GLIBC_2.0):
10472 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10473 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10474 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10475 * mach/Versions: Likewise.
10477 * csu/Versions: Remove unused %include.
10478 * resolv/Versions: Likewise.
10480 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10482 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10483 ($(objpfx)check-local-headers.out): Likewise.
10484 ($(objpfx)begin-end-check.out): Likewise.
10485 * Makerules (check-abi-%.out): Likewise.
10486 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10487 ($(objpfx)test2.cat): Likewise.
10488 ($(objpfx)de/libc.cat): Likewise.
10489 ($(objpfx)test-gencat.out): Likewise.
10490 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10491 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10492 ($(objpfx)noload-mem): Likewise.
10493 ($(objpfx)tst-pathopt.out): Likewise.
10494 ($(objpfx)tst-rtld-load-self.out): Likewise.
10495 ($(objpfx)tst-array1-cmp.out): Likewise.
10496 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10497 ($(objpfx)tst-array2-cmp.out): Likewise.
10498 ($(objpfx)tst-array3-cmp.out): Likewise.
10499 ($(objpfx)tst-array4-cmp.out): Likewise.
10500 ($(objpfx)tst-array5-cmp.out): Likewise.
10501 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10502 ($(objpfx)check-textrel.out): Likewise.
10503 ($(objpfx)check-execstack.out): Likewise.
10504 ($(objpfx)check-localplt.out): Likewise.
10505 ($(objpfx)order2-cmp.out): Likewise.
10506 ($(objpfx)tst-leaks1-mem): Likewise.
10507 ($(objpfx)tst-leaks1-static-mem): Likewise.
10508 ($(objpfx)tst-initorder-cmp.out): Likewise.
10509 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10510 ($(objpfx)tst-unused-dep.out): Likewise.
10511 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10512 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10513 * iconv/Makefile (test-iconvconfig): Likewise.
10514 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10515 ($(objpfx)iconv-test.out): Likewise.
10516 ($(objpfx)tst-tables.out): Likewise.
10517 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10518 ($(objpfx)tst-gettext.out): Likewise.
10519 ($(objpfx)tst-translit.out): Likewise.
10520 ($(objpfx)tst-gettext2.out): Likewise.
10521 ($(objpfx)tst-gettext4.out): Likewise.
10522 ($(objpfx)tst-gettext6.out): Likewise.
10523 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10524 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10525 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10526 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10527 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10528 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10529 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10530 ($(objpfx)wordexp-tst.out): Likewise.
10531 ($(objpfx)annexc.out): Likewise.
10532 ($(objpfx)tst-fnmatch-mem): Likewise.
10533 ($(objpfx)bug-regex2-mem): Likewise.
10534 ($(objpfx)bug-regex14-mem): Likewise.
10535 ($(objpfx)bug-regex21-mem): Likewise.
10536 ($(objpfx)bug-regex31-mem): Likewise.
10537 ($(objpfx)tst-vfork3-mem): Likewise.
10538 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10539 ($(objpfx)tst-pcre-mem): Likewise.
10540 ($(objpfx)tst-boost-mem): Likewise.
10541 ($(objpfx)tst-getconf.out): Likewise.
10542 ($(objpfx)bug-ga2-mem): Likewise.
10543 ($(objpfx)bug-glob2-mem): Likewise.
10544 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10545 ($(objpfx)mtrace-tst-leaks2): Likewise.
10546 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10547 ($(objpfx)tst-printf.out): Likewise.
10548 ($(objpfx)tst-setvbuf1.out): Likewise.
10549 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10550 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10551 ($(objpfx)tst-fmtmsg.out): Likewise.
10552 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10553 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10555 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10556 * bits/sigaction.h [__USE_MISC]: Likewise.
10557 * bits/waitstatus.h: Update #endif comments.
10558 * ctype/ctype.h: Likewise.
10559 * dirent/dirent.h: Likewise.
10560 [__USE_MISC]: Remove redundant conditionals.
10561 * grp/grp.h: Update #endif comments.
10562 [__USE_GNU]: Remove redundant conditionals.
10563 [__USE_MISC]: Likewise.
10564 * inet/netinet/in.h [__USE_GNU]: Likewise.
10565 * io/sys/stat.h [__USE_MISC]: Likewise.
10566 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10567 * libio/bits/stdio.h: Update #endif comments.
10568 [__USE_MISC]: Remove redundant conditionals.
10569 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10570 * libio/stdio.h: Update #endif comments.
10571 [__USE_MISC]: Remove redundant conditionals.
10572 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10573 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10574 * math/math.h: Update #else and #endif comments.
10575 [__USE_MISC]: Remove redundant conditionals.
10576 * misc/sys/uio.h: Update #endif comments.
10577 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10578 * posix/glob.h [__USE_MISC]: Likewise.
10579 * posix/sys/types.h: Update #endif comments.
10580 [__USE_MISC]: Remove redundant conditionals.
10581 * posix/sys/wait.h: Update #endif comments.
10582 [__USE_MISC]: Remove redundant conditionals.
10583 * posix/unistd.h: Update #endif comments.
10584 [__USE_MISC]: Remove redundant conditionals.
10585 * pwd/pwd.h [__USE_GNU]: Likewise.
10586 [__USE_MISC]: Likewise.
10587 * resolv/netdb.h [__USE_GNU]: Likewise.
10588 * signal/signal.h: Update #endif comments.
10589 [__USE_MISC]: Remove redundant conditionals.
10590 * stdlib/stdlib.h: Update #else and #endif comments.
10591 [__USE_MISC]: Remove redundant conditionals.
10592 [__USE_GNU]: Likewise.
10593 * string/bits/string2.h [__USE_MISC]: Likewise.
10594 * string/string.h: Update #endif comments.
10595 [__USE_MISC]: Remove redundant conditionals.
10596 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10598 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10599 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10600 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10602 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10606 [__USE_MISC]: Remove redundant conditionals.
10607 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10608 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10609 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10610 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10611 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10613 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10614 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10616 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10619 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10621 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10624 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10626 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10627 * sysdeps/x86/bits/string.h: Update #endif comments.
10628 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10630 * time/sys/time.h: Update #endif comments.
10631 * time/time.h: Likewise.
10632 [__USE_MISC]: Remove redundant conditionals.
10634 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10637 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10639 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10641 * Versions.def (librt): Add GLIBC_2.17.
10643 2014-02-21 Adam Conrad <adconrad@0c3.net>
10645 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10646 synonym for _SYS_AUXV_H to allow direct inclusion.
10647 * sysdeps/sparc/bits/hwcap.h: Likewise.
10648 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10649 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10650 * sysdeps/sparc/sysdep.h: Likewise.
10652 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10656 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10658 * benchtests/bench-strrchr.c: Print length instead of position.
10660 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/unix/sysv/linux/kernel-features.h
10664 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10665 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10666 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10667 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10669 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10670 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10671 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10672 (__ASSUME_SENDMMSG): Define instead of using previous
10673 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10675 (__ASSUME_SENDMMSG_SYSCALL): Define.
10676 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10677 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10679 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10680 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10682 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10683 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10685 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10686 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10687 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10688 [__ASSUME_SENDMMSG]: Change conditionals to
10689 [__ASSUME_SENDMMSG_SOCKETCALL].
10690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10691 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10693 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10694 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10696 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10697 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10698 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10699 [!__ASSUME_SENDMMSG]: Change conditional to
10700 [!__ASSUME_SENDMMSG_SOCKETCALL].
10701 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10702 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10706 * sysdeps/unix/sysv/linux/kernel-features.h
10707 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10708 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10709 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10710 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10711 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10712 [__i386__ || __sparc__]
10713 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10714 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10715 (__ASSUME_RECVMMSG): Define instead of using previous
10716 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10717 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10718 (__ASSUME_RECVMMSG_SYSCALL): Define.
10719 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10720 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10722 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10725 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10726 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10728 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10729 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10730 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10731 [__ASSUME_RECVMMSG]: Change condition to
10732 [__ASSUME_RECVMMSG_SOCKETCALL].
10733 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10736 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10737 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10738 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10740 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10741 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10742 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10743 [!__ASSUME_RECVMMSG]: Change condition to
10744 [!__ASSUME_RECVMMSG_SOCKETCALL].
10745 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10746 (__ASSUME_RECVMMSG_SYSCALL): Define.
10749 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10750 __powerpc__ || __s390__ || __sh__ || __sparc__]
10751 (__ASSUME_SOCKETCALL): Define.
10752 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10753 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10754 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10755 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10756 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10757 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10758 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10759 (__ASSUME_ACCEPT4): Define instead of using previous
10760 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10761 __powerpc__ || __sparc__ || __s390__)] condition.
10762 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10763 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10764 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10765 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10766 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10767 [!__ASSUME_ACCEPT4]: Change condition to
10768 [!__ASSUME_ACCEPT4_SOCKETCALL].
10769 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10770 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10771 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10772 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10773 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10774 __ASSUME_ACCEPT4_SYSCALL.
10775 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10776 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10777 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10778 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10779 __ASSUME_ACCEPT4_SYSCALL.
10780 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10781 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10782 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10783 [__ASSUME_ACCEPT4]: Change condition to
10784 [__ASSUME_ACCEPT4_SOCKETCALL].
10785 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10786 (__ASSUME_SOCKETCALL): Define.
10787 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10789 (__ASSUME_SOCKETCALL): Define.
10790 (__ASSUME_ACCEPT4): Remove.
10791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10793 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10794 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10796 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10797 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10799 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10801 (HWCAP_ARM_LPAE): Likewise.
10802 (HWCAP_ARM_EVTSTRM): Likewise.
10803 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10804 Add vpfd32, lpae and evtstrm.
10805 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10808 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10810 * math/auto-libm-test-in: Add tests of clog10.
10811 * math/auto-libm-test-out: Regenerated.
10812 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10813 * sysdeps/i386/fpu/libm-test-ulps: Update.
10814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816 2014-02-18 Andreas Schwab <schwab@suse.de>
10819 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10820 Store non-zero if the second buffer was newly allocated.
10821 (send_dg): Likewise.
10822 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10823 to send_vc and send_dg.
10824 (res_nsend): Pass NULL for ansp2_malloced.
10825 * resolv/res_query.c (__libc_res_nquery): Add parameter
10826 answerp2_malloced and pass it down to __libc_res_nsend.
10827 (res_nquery): Pass additional NULL to __libc_res_nquery.
10828 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10829 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10830 second answer buffer if answerp2_malloced was set.
10831 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10832 (__libc_res_nquerydomain): Add parameter
10833 answerp2_malloced and pass it down to __libc_res_nquery.
10834 (res_nquerydomain): Pass additional NULL to
10835 __libc_res_nquerydomain.
10836 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10837 additional NULL to __libc_res_nsend and __libc_res_nquery.
10838 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10839 additional NULL to __libc_res_nsearch.
10840 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10841 parameter of __libc_res_nsearch to check for separately allocated
10843 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10845 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10846 additional NULL to __libc_res_nquery.
10847 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10848 __libc_res_nsearch.
10849 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10850 * include/resolv.h: Update prototypes of __libc_res_nquery,
10851 __libc_res_nsearch, __libc_res_nsend.
10853 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10855 * math/auto-libm-test-in: Add tests of fma.
10856 * math/auto-libm-test-out: Regenerated.
10857 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10858 (fma_towardzero_test_data): Likewise.
10859 (fma_downward_test_data): Likewise.
10860 (fma_upward_test_data): Likewise.
10861 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10863 (rounding_modes): Add values for new field.
10864 (func_calc_method): Add value mpfr_fff_f.
10865 (func_calc_desc): Add mpfr_fff_f union field.
10866 (test_function): Add field exact_args.
10867 (FUNC): Add macro argument EXACT_ARGS.
10868 (FUNC_mpfr_f_f): Update call to FUNC.
10869 (FUNC_mpfr_f_f): Likewise.
10870 (FUNC_mpfr_ff_f): Likewise.
10871 (FUNC_mpfr_if_f): Likewise.
10872 (FUNC_mpc_c_f): Likewise.
10873 (FUNC_mpc_c_c): Likewise.
10874 (test_functions): Add fma. Update calls to FUNC.
10875 (handle_input_arg): Add argument exact_args.
10876 (add_test): Update call to handle_input_arg.
10877 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10878 (output_for_one_input_case): Update call to calc_generic_results.
10879 Recalculate exact zero results in each rounding mode.
10881 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10882 non-negative before setting low bit.
10883 * math/auto-libm-test-in: Mark one asin test possibly having
10884 spurious underflow.
10885 * math/auto-libm-test-out: Regenerated.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10889 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10891 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10892 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10893 ports/sysdeps/unix/sysv/linux/microblaze.
10894 * README: Add missing listing for microblaze*-*-linux-gnu.
10896 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10898 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10901 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10903 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10904 * sysdeps/unix/sysv/linux/ia64: Move directory from
10905 ports/sysdeps/unix/sysv/linux/ia64.
10906 * README: Update listing for ia64-*-linux-gnu.
10908 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10909 Joseph Myers <joseph@codesourcery.com>
10911 * Makeconfig (test-name): New variable.
10912 (evaluate-test): Likewise.
10913 * Makerules (do-test-clean): Remove .test-result files.
10914 (common-mostlyclean): Likewise.
10915 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10916 * scripts/evaluate-test.sh: New file.
10918 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10920 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10921 separate $(objpfx)tst-fopenloc-cmp.out and
10922 $(objpfx)tst-fopenloc-mem.out targets.
10923 (tests): Update dependencies.
10924 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10925 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10926 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10927 (tst-rxspencer-no-utf8-ARGS): New variable.
10928 (tst-rxspencer-no-utf8-ENV): Likewise.
10929 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10930 instead of $(objpfx)tst-rxspencer-mem.
10931 ($(objpfx)tst-rxspencer-mem): Change target to
10932 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10933 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10934 * posix/tst-rxspencer-no-utf8.c: New file.
10936 * elf/Makefile ($(objpfx)order.out): Remove rule.
10937 [$(run-built-tests) = yes] (tests): Depend on
10938 $(objpfx)order-cmp.out.
10939 ($(objpfx)order-cmp.out): New rule.
10940 [$(run-built-tests) = yes] (tests): Depend on
10941 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10942 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10943 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10944 $(objpfx)tst-array5-static-cmp.out.
10945 ($(objpfx)tst-array1.out): Remove rule.
10946 ($(objpfx)tst-array1-cmp.out): New rule.
10947 ($(objpfx)tst-array1-static.out): Remove rule.
10948 ($(objpfx)tst-array1-static-cmp.out): New rule.
10949 ($(objpfx)tst-array2.out): Remove rule.
10950 ($(objpfx)tst-array2-cmp.out): New rule.
10951 ($(objpfx)tst-array3.out): Remove rule.
10952 ($(objpfx)tst-array3-cmp.out): New rule.
10953 ($(objpfx)tst-array4.out): Remove rule.
10954 ($(objpfx)tst-array4-cmp.out): New rule.
10955 ($(objpfx)tst-array5.out): Remove rule.
10956 ($(objpfx)tst-array5-cmp.out): New rule.
10957 ($(objpfx)tst-array5-static.out): Remove rule.
10958 ($(objpfx)tst-array5-static-cmp.out): New rule.
10959 [$(run-built-tests) = yes] (tests): Depend on
10960 $(objpfx)order2-cmp.out.
10961 ($(objpfx)order2.out): Remove rule.
10962 ($(objpfx)order2-cmp.out): New rule.
10963 ($(objpfx)tst-initorder.out): Remove rule.
10964 [$(run-built-tests) = yes] (tests): Depend on
10965 $(objpfx)tst-initorder-cmp.out.
10966 ($(objpfx)tst-initorder-cmp.out): New rule.
10967 ($(objpfx)tst-initorder2.out): Remove rule.
10968 [$(run-built-tests) = yes] (tests): Depend on
10969 $(objpfx)tst-initorder2-cmp.out.
10970 ($(objpfx)tst-initorder2-cmp.out): New rule.
10971 [$(run-built-tests) = yes] (tests): Depend on
10972 $(objpfx)tst-unused-dep-cmp.out.
10973 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10974 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10975 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10976 on $(objpfx)tst-setvbuf1-cmp.out.
10977 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10978 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10979 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10980 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10981 ($(objpfx)tst-svc.out): Remove rule.
10982 ($(objpfx)tst-svc-cmp.out): New rule.
10984 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10986 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10987 * ctype/ctype.h [__USE_MISC]: Likewise.
10988 * dirent/dirent.h [__USE_MISC]: Likewise.
10989 * grp/grp.h [__USE_MISC]: Likewise.
10990 * io/fcntl.h [__USE_MISC]: Likewise.
10991 * io/sys/stat.h [__USE_MISC]: Likewise.
10992 * libio/stdio.h [__USE_MISC]: Likewise.
10993 * posix/unistd.h [__USE_MISC]: Likewise.
10994 * pwd/pwd.h [__USE_MISC]: Likewise.
10995 * stdlib.h [__USE_MISC]: Likewise.
10996 * string/bits/string2.h [__USE_MISC]: Likewise.
10997 * string/string.h [__USE_MISC]: Likewise.
10998 * time/time.h [__USE_MISC]: Likewise.
11000 2014-02-13 Andreas Schwab <schwab@suse.de>
11003 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11004 second answer buffer if it was separately allocated.
11006 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/mips/math-tests.h: Include <features.h>.
11009 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11010 (ROUNDING_TESTS_long_double): Do not define.
11011 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11012 (EXCEPTION_TESTS_long_double): Likewise.
11013 * sysdeps/mips/mips64/libm-test-ulps: Update.
11015 * include/features.h (__USE_BSD): Remove macro definitions.
11016 (__USE_SVID): Likewise.
11017 (_BSD_SOURCE): Likewise.
11018 (_SVID_SOURCE): Likewise.
11019 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11020 from definition of _DEFAULT_SOURCE.
11021 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11023 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11024 * bits/mman.h [__USE_BSD]: Likewise.
11025 * bits/termios.h [__USE_BSD]: Likewise.
11026 * bits/waitstatus.h [__USE_BSD]: Likewise.
11027 * ctype/ctype.h [__USE_SVID]: Likewise.
11028 * dirent/dirent.h [__USE_BSD]: Likewise.
11029 * grp/grp.h [__USE_SVID]: Likewise.
11030 [__USE_BSD]: Likewise.
11031 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11032 * io/fcntl.h [__USE_BSD]: Likewise.
11033 * io/ftw.h [__USE_BSD]: Likewise.
11034 * io/sys/stat.h [__USE_BSD]: Likewise.
11035 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11036 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11037 * libio/stdio.h [__USE_SVID]: Likewise.
11038 [__USE_BSD]: Likewise.
11039 * math/math.h [__USE_SVID]: Likewise.
11040 [__USE_BSD]: Likewise.
11041 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11042 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11043 * misc/search.h [__USE_SVID]: Likewise.
11044 * misc/sys/mman.h [__USE_BSD]: Likewise.
11045 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11046 * misc/sys/uio.h [__USE_BSD]: Likewise.
11047 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11048 * posix/glob.h [__USE_BSD]: Likewise.
11049 * posix/regex.h [__USE_BSD]: Likewise.
11050 * posix/sys/types.h [__USE_BSD]: Likewise.
11051 [__USE_SVID]: Likewise.
11052 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11053 * posix/sys/wait.h [__USE_BSD]: Likewise.
11054 [__USE_SVID]: Likewise.
11055 * posix/unistd.h [__USE_BSD]: Likewise.
11056 [__USE_SVID]: Likewise.
11057 * pwd/pwd.h [__USE_SVID]: Likewise.
11058 * resolv/netdb.h [__USE_BSD]: Likewise.
11059 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11060 * signal/signal.h [__USE_BSD]: Likewise.
11061 [__USE_SVID]: Likewise.
11062 * socket/sys/socket.h [__USE_BSD]: Likewise.
11063 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11064 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11065 [__USE_SVID]: Likewise.
11066 * string/bits/string2.h [__USE_BSD]: Likewise.
11067 [__USE_SVID]: Likewise.
11068 * string/bits/string3.h [__USE_BSD]: Likewise.
11069 * string/endian.h [__USE_BSD]: Likewise.
11070 * string/string.h [__USE_SVID]: Likewise.
11071 [__USE_BSD]: Likewise.
11072 * string/strings.h [__USE_BSD]: Likewise.
11073 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11074 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11075 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11076 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11077 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11078 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11082 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11083 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11085 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11086 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11088 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11090 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11091 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11096 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11097 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11098 * termios/termios.h [__USE_BSD]: Likewise.
11099 * time/sys/time.h [__USE_BSD]: Likewise.
11100 * time/time.h [__USE_BSD]: Likewise.
11101 [__USE_SVID]: Likewise.
11103 * Makefile (subdir_targets): Remove subdir_lint.out.
11105 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11106 (do-tst-printf): Likewise.
11107 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11108 $(objpfx)tst-printf.out.
11110 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11112 * Makerules (check-abi-%): Change target to
11113 $(objpfx)check-abi-%.out.
11114 (check-abi target): Update dependencies.
11115 (check-abi-pattern variable): Redirect output of diff to $@.
11116 (check-abi variable): Likewise.
11117 * elf/Makefile (check-abi): Update dependencies.
11119 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11121 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11122 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11124 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11125 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11126 value has largest subnormal exponent.
11127 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11128 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11129 * sysdeps/aarch64/soft-fp/sfp-machine.h
11130 (_FP_TININESS_AFTER_ROUNDING): New macro.
11131 * sysdeps/alpha/soft-fp/sfp-machine.h
11132 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11133 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11135 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11136 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11137 * sysdeps/mips/soft-fp/sfp-machine.h
11138 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11139 * sysdeps/powerpc/soft-fp/sfp-machine.h
11140 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11141 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11144 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11146 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11147 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11150 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11156 2014-02-12 Richard Henderson <rth@redhat.com>
11158 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11159 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11160 * sysdeps/unix/sysv/linux/alpha: Move directory from
11161 ports/sysdeps/unix/sysv/linux/alpha.
11162 * README: Update listing for alpha-*-linux-gnu.
11164 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11166 * include/features.h: Update comment documenting feature test
11168 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11170 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11171 (_SVID_SOURCE): Likewise.
11172 (_DEFAULT_SOURCE): Update description of default features.
11173 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11175 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11176 (S_ISVTX): Likewise.
11177 * manual/math.texi (Mathematical Constants): Likewise.
11178 * manual/signal.texi (Interrupted Primitives): Likewise.
11179 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11180 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11181 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11182 Don't refer to _SVID_SOURCE in warning text.
11184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11186 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11188 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11189 * sysdeps/mips/dl-lookup.c: Remove.
11190 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11192 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11195 * math/auto-libm-test-in: Add testcase for expl.
11196 * math/auto-libm-test-out: Regenerate.
11197 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11198 calculation of unsafe.
11199 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11201 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11203 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11204 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11205 ports/sysdeps/unix/sysv/linux/aarch64.
11206 * README: Update listing for aarch64*-*-linux-gnu.
11208 2014-02-11 Will Newton <will.newton@linaro.org>
11210 * manual/probes.texi (Mathematical Function Probes): Use
11211 "triggered" instead of "hit".
11213 * manual/probes.texi (Internal Probes): Add documentation
11214 of setjmp, longjmp and longjmp_target probes.
11216 * include/stap-probe.h: Add comment about probe argument
11219 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11220 definition. (tr_where, tr_freehook, tr_mallochook,
11221 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11223 2014-02-11 David S. Miller <davem@davemloft.net>
11225 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11226 processing int_tests.
11228 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11230 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11231 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11232 * sysdeps/unix/sysv/linux/mips: Move directory from
11233 ports/sysdeps/unix/sysv/linux/mips.
11234 * README: Update listing for mips-*-linux-gnu and
11235 mips64-*-linux-gnu.
11237 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11239 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11240 * sysdeps/unix/sysv/linux/m68k: Move directory from
11241 ports/sysdeps/unix/sysv/linux/m68k.
11242 * README: Update listing for m68k-*-linux-gnu.
11244 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11246 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11247 * sysdeps/unix/sysv/linux/generic: Move directory from
11248 ports/sysdeps/unix/sysv/linux/generic.
11249 * sysdeps/unix/sysv/linux/tile: Move directory from
11250 ports/sysdeps/unix/sysv/linux/tile.
11251 * README: Update listing for tile*-*-linux-gnu.
11253 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11255 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11257 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11258 * catgets/open_catalog.c (__open_catalog): Likewise.
11259 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11260 * debug/confstr_chk.c: Likewise.
11261 * debug/fread_chk.c (__fread_chk): Likewise.
11262 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11263 * debug/getgroups_chk.c: Likewise.
11264 * debug/mbsnrtowcs_chk.c: Likewise.
11265 * debug/mbsrtowcs_chk.c: Likewise.
11266 * debug/mbstowcs_chk.c: Likewise.
11267 * debug/memcpy_chk.c: Likewise.
11268 * debug/memmove_chk.c: Likewise.
11269 * debug/mempcpy_chk.c: Likewise.
11270 * debug/memset_chk.c: Likewise.
11271 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11272 * debug/strcat_chk.c (__strcat_chk): Likewise.
11273 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11274 * debug/strncat_chk.c (__strncat_chk): Likewise.
11275 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11276 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11277 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11278 * debug/wcpncpy_chk.c: Likewise.
11279 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11280 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11281 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11282 * debug/wcsncpy_chk.c: Likewise.
11283 * debug/wcsnrtombs_chk.c: Likewise.
11284 * debug/wcsrtombs_chk.c: Likewise.
11285 * debug/wcstombs_chk.c: Likewise.
11286 * debug/wmemcpy_chk.c: Likewise.
11287 * debug/wmemmove_chk.c: Likewise.
11288 * debug/wmempcpy_chk.c: Likewise.
11289 * debug/wmemset_chk.c: Likewise.
11290 * dirent/scandirat.c (SCANDIRAT): Likewise.
11291 * dlfcn/dladdr1.c (dladdr1): Likewise.
11292 * dlfcn/dladdr.c (dladdr): Likewise.
11293 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11294 * dlfcn/dlerror.c (__dlerror): Likewise.
11295 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11296 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11297 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11298 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11299 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11300 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11301 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11302 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11304 * elf/dl-conflict.c: Likewise.
11305 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11306 * elf/dl-dst.h: Likewise.
11307 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11308 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11309 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11310 * elf/dl-init.c (call_init, _dl_init): Likewise.
11311 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11312 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11313 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11315 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11317 * elf/dl-minimal.c (__libc_memalign): Likewise.
11318 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11319 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11320 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11321 * elf/dl-sym.c (do_sym): Likewise.
11322 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11323 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11324 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11325 * elf/dl-writev.h (_dl_writev): Likewise.
11326 * elf/ldconfig.c (search_dir): Likewise.
11327 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11328 (dl_main): Likewise.
11329 * elf/setup-vdso.h (setup_vdso): Likewise.
11330 * grp/compat-initgroups.c (compat_call): Likewise.
11331 * grp/fgetgrent.c (fgetgrent): Likewise.
11332 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11333 * grp/putgrent.c (putgrent): Likewise.
11334 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11336 * hurd/hurdinit.c: Likewise.
11337 * iconvdata/8bit-gap.c (struct): Likewise.
11338 * iconvdata/ansi_x3.110.c : Likewise.
11339 * iconvdata/big5.c : Likewise.
11340 * iconvdata/big5hkscs.c : Likewise.
11341 * iconvdata/cp1255.c: Likewise.
11342 * iconvdata/cp1258.c : Likewise.
11343 * iconvdata/cp932.c : Likewise.
11344 * iconvdata/euc-cn.c: Likewise.
11345 * iconvdata/euc-jisx0213.c : Likewise.
11346 * iconvdata/euc-jp.c: Likewise.
11347 * iconvdata/euc-jp-ms.c : Likewise.
11348 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11349 * iconvdata/gb18030.c : Likewise.
11350 * iconvdata/gbbig5.c (const): Likewise.
11351 * iconvdata/gbgbk.c: Likewise.
11352 * iconvdata/gbk.c : Likewise.
11353 * iconvdata/ibm1364.c : Likewise.
11354 * iconvdata/ibm930.c : Likewise.
11355 * iconvdata/ibm932.c: Likewise.
11356 * iconvdata/ibm933.c : Likewise.
11357 * iconvdata/ibm935.c : Likewise.
11358 * iconvdata/ibm937.c : Likewise.
11359 * iconvdata/ibm939.c : Likewise.
11360 * iconvdata/ibm943.c: Likewise.
11361 * iconvdata/iso_11548-1.c: Likewise.
11362 * iconvdata/iso-2022-cn.c : Likewise.
11363 * iconvdata/iso-2022-cn-ext.c : Likewise.
11364 * iconvdata/iso-2022-jp-3.c: Likewise.
11365 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11366 * iconvdata/iso-2022-kr.c : Likewise.
11367 * iconvdata/iso646.c (gconv_end): Likewise.
11368 * iconvdata/iso_6937-2.c : Likewise.
11369 * iconvdata/iso_6937.c : Likewise.
11370 * iconvdata/iso8859-1.c: Likewise.
11371 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11372 * iconvdata/shift_jisx0213.c : Likewise.
11373 * iconvdata/sjis.c : Likewise.
11374 * iconvdata/t.61.c : Likewise.
11375 * iconvdata/tcvn5712-1.c : Likewise.
11376 * iconvdata/tscii.c: Likewise.
11377 * iconvdata/uhc.c : Likewise.
11378 * iconvdata/unicode.c (gconv_end): Likewise.
11379 * iconvdata/utf-16.c (gconv_end): Likewise.
11380 * iconvdata/utf-32.c (gconv_end): Likewise.
11381 * iconvdata/utf-7.c (base64): Likewise.
11382 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11383 * iconv/gconv_close.c (__gconv_close): Likewise.
11384 * iconv/gconv_open.c (__gconv_open): Likewise.
11385 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11386 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11387 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11388 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11389 (ucs4le_internal_loop_single): Likewise.
11390 * iconv/iconv.c (iconv): Likewise.
11391 * iconv/iconv_close.c: Likewise.
11392 * iconv/loop.c (SINGLE): Likewise.
11393 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11394 * include/atomic.h: Likewise.
11395 * inet/inet6_option.c (option_alloc): Likewise.
11396 * intl/bindtextdom.c (set_binding_values): Likewise.
11397 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11398 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11399 * intl/localealias.c (read_alias_file): Likewise.
11400 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11401 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11402 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11403 * libio/fmemopen.c (fmemopen): Likewise.
11404 * libio/iofgets.c (_IO_fgets): Likewise.
11405 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11406 * libio/iofgetws.c (fgetws): Likewise.
11407 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11408 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11409 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11410 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11411 * locale/findlocale.c (_nl_find_locale): Likewise.
11412 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11413 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11415 * locale/setlocale.c (setlocale): Likewise.
11416 * login/programs/pt_chown.c (main): Likewise.
11417 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11418 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11419 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11420 (mmap, mmap64, mremap, munmap): Likewise.
11421 * math/e_exp2l.c: Likewise.
11422 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11423 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11424 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11425 * math/s_catan.c (__catan): Likewise.
11426 * math/s_catanf.c (__catanf): Likewise.
11427 * math/s_catanh.c (__catanh): Likewise.
11428 * math/s_catanhf.c (__catanhf): Likewise.
11429 * math/s_catanhl.c (__catanhl): Likewise.
11430 * math/s_catanl.c (__catanl): Likewise.
11431 * math/s_ccosh.c (__ccosh): Likewise.
11432 * math/s_ccoshf.c (__ccoshf): Likewise.
11433 * math/s_ccoshl.c (__ccoshl): Likewise.
11434 * math/s_cexp.c (__cexp): Likewise.
11435 * math/s_cexpf.c (__cexpf): Likewise.
11436 * math/s_cexpl.c (__cexpl): Likewise.
11437 * math/s_clog10.c (__clog10): Likewise.
11438 * math/s_clog10f.c (__clog10f): Likewise.
11439 * math/s_clog10l.c (__clog10l): Likewise.
11440 * math/s_clog.c (__clog): Likewise.
11441 * math/s_clogf.c (__clogf): Likewise.
11442 * math/s_clogl.c (__clogl): Likewise.
11443 * math/s_csin.c (__csin): Likewise.
11444 * math/s_csinf.c (__csinf): Likewise.
11445 * math/s_csinh.c (__csinh): Likewise.
11446 * math/s_csinhf.c (__csinhf): Likewise.
11447 * math/s_csinhl.c (__csinhl): Likewise.
11448 * math/s_csinl.c (__csinl): Likewise.
11449 * math/s_csqrt.c (__csqrt): Likewise.
11450 * math/s_csqrtf.c (__csqrtf): Likewise.
11451 * math/s_csqrtl.c (__csqrtl): Likewise.
11452 * math/s_ctan.c (__ctan): Likewise.
11453 * math/s_ctanf.c (__ctanf): Likewise.
11454 * math/s_ctanh.c (__ctanh): Likewise.
11455 * math/s_ctanhf.c (__ctanhf): Likewise.
11456 * math/s_ctanhl.c (__ctanhl): Likewise.
11457 * math/s_ctanl.c (__ctanl): Likewise.
11458 * math/w_pow.c: Likewise.
11459 * math/w_powf.c: Likewise.
11460 * math/w_powl.c: Likewise.
11461 * math/w_scalb.c (sysv_scalb): Likewise.
11462 * math/w_scalbf.c (sysv_scalbf): Likewise.
11463 * math/w_scalbl.c (sysv_scalbl): Likewise.
11464 * misc/error.c (error_tail): Likewise.
11465 * misc/pselect.c (__pselect): Likewise.
11466 * nis/nis_callback.c (__nis_create_callback): Likewise.
11467 * nis/nis_call.c (__nisfind_server): Likewise.
11468 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11469 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11470 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11471 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11472 * nis/nis_lookup.c (nis_lookup): Likewise.
11473 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11474 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11475 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11476 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11477 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11478 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11479 * nis/nss_compat/compat-initgroups.c (add_group)
11480 (internal_getgrent_r): Likewise.
11481 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11482 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11483 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11484 (internal_getspnam_r): Likewise.
11485 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11486 (_nss_nis_getaliasbyname_r): Likewise.
11487 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11488 (_nss_nis_getntohost_r): Likewise.
11489 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11490 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11491 (_nss_nis_getgrgid_r): Likewise.
11492 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11493 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11494 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11495 (_nss_nis_gethostbyname4_r): Likewise.
11496 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11497 (initgroups_netid): Likewise.
11498 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11499 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11500 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11501 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11502 (_nss_nis_getprotobynumber_r): Likewise.
11503 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11504 (_nss_nis_getsecretkey): Likewise.
11505 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11506 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11507 (_nss_nis_getpwuid_r): Likewise.
11508 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11509 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11510 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11511 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11512 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11513 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11514 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11516 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11517 (_nss_nisplus_getntohost_r): Likewise.
11518 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11519 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11520 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11521 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11523 * nis/nss_nisplus/nisplus-initgroups.c
11524 (_nss_nisplus_initgroups_dyn): Likewise.
11525 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11526 (_nss_nisplus_getnetbyaddr_r): Likewise.
11527 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11528 (_nss_nisplus_getprotobynumber_r): Likewise.
11529 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11530 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11531 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11533 * nis/nss_nisplus/nisplus-service.c
11534 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11535 (_nss_nisplus_getservbyport_r): Likewise.
11536 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11537 (_nss_nisplus_getspnam_r): Likewise.
11538 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11540 * nscd/aicache.c (addhstaiX): Likewise.
11541 * nscd/cache.c (cache_search, prune_cache): Likewise.
11542 * nscd/connections.c (register_traced_file, send_ro_fd)
11543 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11544 (main_loop_epoll): Likewise.
11545 * nscd/grpcache.c (addgrbyX): Likewise.
11546 * nscd/hstcache.c (addhstbyX): Likewise.
11547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11548 * nscd/mem.c (gc, mempool_alloc): Likewise.
11549 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11550 (addinnetgrX): Likewise.
11551 * nscd/nscd-client.h (__nscd_acquire_maplock)
11552 (__nscd_drop_map_ref): Likewise.
11553 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11554 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11555 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11557 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11559 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11560 (__nscd_get_map_ref): Likewise.
11561 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11562 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11564 * nscd/pwdcache.c (addpwbyX): Likewise.
11565 * nscd/selinux.c (preserve_capabilities): Likewise.
11566 * nscd/servicescache.c (addservbyX): Likewise.
11567 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11568 * posix/fnmatch.c (fnmatch): Likewise.
11569 * posix/getopt.c (_getopt_internal_r): Likewise.
11570 * posix/glob.c (glob, glob_in_dir): Likewise.
11571 * posix/wordexp.c (exec_comm_child): Likewise.
11572 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11573 (getanswer_r, gaih_getanswer_slice): Likewise.
11574 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11575 * resolv/res_init.c: Likewise.
11576 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11577 * resolv/res_query.c (__libc_res_nquery): Likewise.
11578 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11581 * stdio-common/perror.c (perror): Likewise.
11582 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11583 * stdio-common/tmpnam.c (tmpnam): Likewise.
11584 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11585 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11586 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11588 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11589 * stdlib/putenv.c (putenv): Likewise.
11590 * stdlib/setenv.c (__add_to_environ): Likewise.
11591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11592 * stdlib/strtol_l.c (INTERNAL): Likewise.
11593 * string/memmem.c (memmem): Likewise.
11594 * string/strerror.c (strerror): Likewise.
11595 * string/strnlen.c (__strnlen): Likewise.
11596 * string/test-memmem.c (simple_memmem): Likewise.
11597 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11598 * sunrpc/pm_getport.c (__get_socket): Likewise.
11599 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11600 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11601 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11602 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11604 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11605 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11606 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11607 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11608 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11609 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11611 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11613 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11614 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11616 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11617 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11619 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11620 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11621 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11622 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11623 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11624 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11626 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11628 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11632 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11633 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11634 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11635 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11636 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11647 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11649 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11651 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11653 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11655 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11657 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11658 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11659 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11660 * sysdeps/posix/sleep.c: Likewise.
11661 * sysdeps/posix/tempname.c: Likewise.
11662 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11663 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11665 * sysdeps/powerpc/powerpc32/dl-machine.h
11666 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11667 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11669 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11670 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11672 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11674 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11676 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11677 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11678 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11679 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11680 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11681 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11683 (elf_machine_lazy_rel): Likewise.
11684 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11686 (elf_machine_lazy_rel): Likewise.
11687 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11688 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11689 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11690 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11691 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11692 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11693 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11696 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11697 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11698 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11699 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11700 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11701 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11702 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11703 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11704 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11705 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11706 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11708 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11709 (__posix_fallocate64_l64): Likewise.
11710 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11711 (posix_fallocate): Likewise.
11712 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11715 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11716 (getifaddrs_internal): Likewise.
11717 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11718 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11719 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11720 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11721 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11722 (__posix_fallocate64_l64): Likewise.
11723 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11725 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11727 (__get_clockfreq): Likewise.
11728 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11729 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11730 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11733 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11734 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11735 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11737 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11738 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11739 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11741 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11742 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11743 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11746 (posix_fallocate): Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11748 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11749 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11750 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11751 (elf_machine_rela, elf_machine_rela_relative)
11752 (elf_machine_lazy_rel): Likewise.
11753 * time/asctime.c (asctime_internal): Likewise.
11754 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11755 * time/tzset.c (__tzset_parse_tz): Likewise.
11756 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11757 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11758 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11759 * wcsmbs/wcsmbsload.h: Likewise.
11762 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11764 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11765 (arena_get2): Remove THREAD_STATS conditionals.
11766 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11767 (__malloc_stats, int): Likewise.
11769 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11771 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11772 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11774 * manual/setjmp.texi: Fix typos/grammar errors.
11776 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11777 Only return early when n is <= 0. Delete unused return statement.
11779 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11780 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11781 * debug/tst-longjmp_chk3.c: New file.
11783 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11784 (test_main): Replace code with set_fortify_handler call.
11785 * debug/test-strcpy_chk.c: Likewise.
11786 * debug/tst-chk1.c: Likewise.
11787 * debug/tst-longjmp_chk.c: Likewise.
11788 * test-skeleton.c: Include fcntl.h & paths.h
11789 (set_fortify_handler): Define.
11791 * debug/tst-longjmp_chk.c: Add header comment and include
11792 ../test-skeleton.c.
11793 (do_test): Mark static.
11794 (TEST_FUNCTION): Define.
11796 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11797 (IP_PMTUDISC_INTERFACE): Likewise.
11798 (IP_MULTICAST_IF): Likewise.
11799 (IP_MULTICAST_TTL): Likewise.
11800 (IP_MULTICAST_LOOP): Likewise.
11801 (IP_ADD_MEMBERSHIP): Likewise.
11802 (IP_DROP_MEMBERSHIP): Likewise.
11803 (IP_UNBLOCK_SOURCE): Likewise.
11804 (IP_BLOCK_SOURCE): Likewise.
11805 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11806 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11807 (IP_MSFILTER): Likewise.
11808 (MCAST_JOIN_GROUP): Likewise.
11809 (MCAST_BLOCK_SOURCE): Likewise.
11810 (MCAST_UNBLOCK_SOURCE): Likewise.
11811 (MCAST_LEAVE_GROUP): Likewise.
11812 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11813 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11814 (MCAST_MSFILTER): Likewise.
11815 (IP_MULTICAST_ALL): Likewise.
11816 (IP_UNICAST_IF): Likewise.
11818 * timezone/Makefile: Delete $(have-ksh) check.
11819 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11820 * timezone/tzselect.ksh: Add +x mode bits.
11822 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11823 (ANON_INODE_FS_MAGIC): Likewise.
11824 (BDEVFS_MAGIC): Likewise.
11825 (BINFMTFS_MAGIC): Likewise.
11826 (BTRFS_TEST_MAGIC): Likewise.
11827 (CRAMFS_MAGIC_WEND): Likewise.
11828 (DEBUGFS_MAGIC): Likewise.
11829 (ECRYPTFS_SUPER_MAGIC): Likewise.
11830 (EXT3_SUPER_MAGIC): Likewise.
11831 (EXT4_SUPER_MAGIC): Likewise.
11832 (FUTEXFS_SUPER_MAGIC): Likewise.
11833 (HOSTFS_SUPER_MAGIC): Likewise.
11834 (HUGETLBFS_MAGIC): Likewise.
11835 (MINIX3_SUPER_MAGIC): Likewise.
11836 (MTD_INODE_FS_MAGIC): Likewise.
11837 (NILFS_SUPER_MAGIC): Likewise.
11838 (OPENPROM_SUPER_MAGIC): Likewise.
11839 (PIPEFS_MAGIC): Likewise.
11840 (PSTOREFS_MAGIC): Likewise.
11841 (QNX6_SUPER_MAGIC): Likewise.
11842 (RAMFS_MAGIC): Likewise.
11843 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11844 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11845 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11846 (SECURITYFS_MAGIC): Likewise.
11847 (SELINUX_MAGIC): Likewise.
11848 (SMACK_MAGIC): Likewise.
11849 (SOCKFS_MAGIC): Likewise.
11850 (SQUASHFS_MAGIC): Likewise.
11851 (STACK_END_MAGIC): Likewise.
11852 (TMPFS_MAGIC): Likewise.
11853 (USBDEVICE_SUPER_MAGIC): Likewise.
11854 (V9FS_MAGIC): Likewise.
11855 (XENFS_SUPER_MAGIC): Likewise.
11856 (CRAMFS_MAGIC): Fix typo in comment.
11857 (EXT2_SUPER_MAGIC): Update comment.
11858 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11860 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11862 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11863 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11864 * sysdeps/unix/sysv/linux/arm: Move directory from
11865 ports/sysdeps/unix/sysv/linux/arm.
11866 * README: Update listing for arm-*-linux-gnueabi.
11868 * README: Remove mention of am33.
11870 2014-02-07 Roland McGrath <roland@hack.frob.com>
11872 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11873 than the comma operator, to avoid "rhs of comma has no effect"
11875 (__sigfillset, __sigandset, __sigorset): Likewise.
11876 * include/signal.h (__sigemptyset): Likewise.
11877 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11879 2014-02-07 Allan McRae <allan@archlinux.org>
11881 * version.h (RELEASE): Set to "development".
11882 (VERSION): Set to "2.19.90"
11883 * NEWS: Add 2.20 section.
11885 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11888 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11890 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11892 * manual/contrib.texi: Update entry for Carlos O'Donell,
11893 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11895 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11897 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11899 * sysdeps/unix/sysv/linux/kernel-features.h
11900 [__LINUX_KERNEL_VERSION >= 0x020621]
11901 (__ASSUME_PROC_PID_TASK_COMM): Define.
11903 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11906 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11907 conversion when destination buffer does not have enough space.
11908 * libio/tst-ftell-partial-wide.c: New test case.
11909 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11911 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11912 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11913 Leonard and Allan McRae.
11915 2014-02-04 David S. Miller <davem@davemloft.net>
11917 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11920 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11949 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11952 * shlib-versions: Likewise.
11954 2014-02-04 Roland McGrath <roland@hack.frob.com>
11955 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11958 (abilist-pattern): New variable, set to %-le.abilist.
11960 * Makerules (abilist-pattern): New variable.
11961 (vpath): Use $(abilist-pattern) in place of %.abilist.
11962 (check-abi-% pattern rule): Likewise.
11963 (check-abi, update-abi): Likewise.
11965 2014-02-04 Eric Wong <normalperson@yhbt.net>
11967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11969 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11971 * manual/startup.texi: Add next, previous, and top entries for
11972 the `Program Arguments' and `Environment Variables' nodes.
11974 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11976 * manual/macros.texi: Add comments before MTASC-safety macros.
11978 * manual/users.texi: Document MTASC-safety properties.
11980 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11981 (pthread_getspecific, pthread_setspecific): Format with
11982 @deftypefun, and add @safety note.
11983 * manual/signal.texi: Move comments that analyze the above
11984 functions to their home place.
11986 2014-02-03 Allan McRae <allan@archlinux.org>
11988 * po/sl.po: Update Slovenian translation from translation project.
11990 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11992 * manual/time.texi (timegm): Add missing blank after @c.
11993 Reported by Joseph Myers <joseph@codesourcery.com>.
11995 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11997 * manual/check-safety.sh: New.
11998 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12000 * manual/terminal.texi: Document MTASC-safety properties.
12002 * manual/filesys.texi: Document MTASC-safety properties.
12004 * manual/errno.texi: Document MTASC-safety properties.
12006 * manual/intro.texi: Document safety identifiers and
12009 * manual/string.texi (wcstok): Fix prototype.
12010 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12012 * manual/time.texi: Document MTASC-safety properties.
12014 * manual/string.texi: Document MTASC-safety properties.
12016 * manual/threads.texi: Document MTASC-safety properties.
12018 * manual/stdio.texi: Document MTASC-safety properties.
12020 * manual/syslog.texi: Document MTASC-safety properties.
12022 * manual/sysinfo.texi: Document MTASC-safety properties.
12024 * manual/startup.texi: Document MTASC-safety properties.
12026 * manual/socket.texi: Document MTASC-safety properties.
12028 * manual/signal.texi: Document MTASC-safety properties.
12030 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12032 * manual/setjmp.texi: Document MTASC-safety properties.
12034 * manual/search.texi: Document MTASC-safety properties.
12036 * manual/resource.texi: Document MTASC-safety properties.
12038 * manual/process.texi: Document MTASC-safety properties.
12040 * manual/platform.texi: Document MTASC-safety properties.
12042 * manual/pipe.texi: Document MTASC-safety properties.
12044 * manual/pattern.texi: Document MTASC-safety properties.
12046 * manual/message.texi: Document MTASC-safety properties.
12049 * manual/memory.texi: Document MTASC-safety properties.
12051 * manual/math.texi: Document MTASC-safety properties.
12053 * manual/locale.texi: Document MTASC-safety properties.
12055 * manual/llio.texi: Document MTASC-safety properties.
12057 * manual/libdl.texi: New.
12059 * manual/lang.texi: Document MTASC-safety properties.
12061 * manual/job.texi: Document MTASC-safety properties.
12063 * manual/getopt.texi: Document MTASC-safety properties.
12065 * manual/ctype.texi: Document MTASC-safety properties.
12067 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12070 * csu/libc-tls.c (static_map): Remove variable.
12071 (__libc_setup_tls): Use main executable's link map for TLS data.
12072 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12073 casing for LM_ID_BASE and GL(dl_nns).
12074 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12075 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12076 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12077 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12078 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12080 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12083 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12085 * manual/debug.texi: Document MTASC-safety properties.
12087 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12090 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12091 of __x86_64__ when disabling x87 inline functions.
12093 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12095 * manual/charset.texi: Document MTASC-safety properties.
12097 * manual/crypt.texi: Document MTASC-safety properties.
12099 * manual/conf.texi: Document MTASC-safety properties.
12101 * manual/arith.texi: Document MTASC-safety properties.
12103 * manual/argp.texi: Document MTASC-safety properties.
12105 * manual/macros.texi: Introduce macros to document multi
12106 thread, asynchronous signal and asynchronous cancellation
12108 * manual/intro.texi: Introduce the properties themselves.
12110 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12112 * sysdeps/sh/sh4/Makefile: New file.
12114 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12116 * math/gen-libm-test.pl ($srcdir): New variable.
12117 ($auto_input): Use it.
12119 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12122 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12123 access beyond array bounds when parsing netgroups file.
12125 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12126 the old buffer before realloc.
12128 2014-01-27 Allan McRae <allan@archlinux.org>
12130 * po/fr.po: Update French translation from translation project.
12132 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12134 * sysdeps/sh/libm-test-ulps: Regenerate.
12136 2014-01-24 David S. Miller <davem@davemloft.net>
12138 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12140 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12142 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12143 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12145 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12148 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12149 string pointers after reallocation.
12151 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12153 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12154 __SH4A__ instead of __SH_FPU_ANY__.
12156 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12158 * sysdeps/sh/fpu_control.h: New file.
12159 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12160 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12161 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12162 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12163 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12164 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12165 * sysdeps/sh/sys/ucontext.h: Remove.
12166 * sysdeps/sh/sys: Remove directory.
12168 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12170 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12171 s390/sys/ucontext.h.
12172 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12173 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12175 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12178 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12180 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12184 Adjust the vDSO correctly for internal calls.
12185 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12187 2014-01-20 Allan McRae <allan@archlinux.org>
12189 * po/ca.po: Update Catalan translation from translation project.
12191 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12193 * sysdeps/s390/sotruss-lib.c: New file.
12195 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12199 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12200 local calls issues by not having a PLT stub required for IFUNC calls.
12201 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12203 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12205 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12206 * math/test-fpucw-static.c: Likewise.
12208 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12211 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12213 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12215 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12216 implementation for powerpc.
12218 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12221 * sysdeps/posix/system.c (__libc_system): Do not enable
12222 asynchronous cancellation.
12224 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12227 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12228 handling only for numbers special also in the IEEE case.
12230 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12232 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12234 2014-01-11 Allan McRae <allan@archlinux.org>
12236 * po/bg.po: Update Bulgarian translation from translation project.
12238 * po/de.po: Update German translation from translation project.
12240 2014-01-10 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/generic/gcc-compat.h: New file.
12244 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12246 * benchtests/asin-inputs: Correct slow inputs.
12247 * benchtests/acos-inputs: Likewise.
12249 2014-01-10 Allan McRae <allan@archlinux.org>
12251 * po:sv.po: Update Swedish translation from translation project.
12253 * po/vi.po: Update Vietnamese translation from translation project.
12255 * po/eo.po: Update Esperanto translation from translation project.
12257 * po/cs.po: Update Czech translation from translation project.
12259 * po/nl.po: Update Dutch translation from translation project.
12261 * po/pl.po: Update Polish translation from translation project.
12263 * po/ru.po: Update Russian translation from translation project.
12265 * po/uk.po: Update Ukrainian translation from translation project.
12267 2014-01-08 Brooks Moses <bmoses@google.com>
12269 * elf/dl-load.c: Fix comment typo.
12271 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12273 * po/header.pot: Rename to...
12274 * po/pot.header: ... this.
12275 * po/Makefile: Use pot.header.
12277 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12278 Maxim Kuvyrkov <maxim@kugelworks.com>
12281 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12282 SRC and DEST against LEN.
12284 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12287 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12289 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12291 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12295 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12298 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12299 for large positive arguments.
12301 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12303 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12305 * math/auto-libm-test-in: Mark various tests with
12306 xfail-rounding:ldbl-128ibm.
12307 * math/auto-libm-test-out: Regenerated.
12310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12311 Increase overflow threshold.
12313 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12316 * stdio-common/vfprintf.c: Check for integer overflow.
12318 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12320 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12321 the first argument and return value of __tls_get_addr_internal.
12323 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12325 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12326 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12328 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12330 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12331 * sysdeps/s390/rtld-global-offsets.sym: New file.
12332 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12334 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12335 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12336 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12338 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12339 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12345 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12346 halfs of GPRs for high_gprs contexts.
12347 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12348 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12350 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12352 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12354 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12355 for high GPRs (uc_high_gprs) and for future extensions
12357 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12358 for future extensions (__reserved).
12359 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12361 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12362 SC_HIGHGPRS offset definition.
12363 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12364 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12366 * Versions.def: Add GLIBC_2.19 for libpthread.
12367 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12368 siglongjmp for libpthread with GLIBC_2.19 symver.
12369 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12370 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12371 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12372 * sysdeps/s390/__longjmp.c: New file.
12373 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12374 * sysdeps/s390/longjmp.c: New file.
12375 * sysdeps/s390/setjmp.S: New file.
12376 * sysdeps/s390/sigjmp.S: New file.
12377 * sysdeps/s390/v1-longjmp.c: New file.
12378 * sysdeps/s390/v1-setjmp.h: New file.
12379 * sysdeps/s390/v1-sigjmp.c: New file.
12380 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12381 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12382 GLIBC_2.19 version.
12383 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12385 versioned symbols for ____longjmp_chk.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12396 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12397 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12398 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12399 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12400 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12401 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12402 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12403 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12404 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12405 * sysdeps/s390/rtld-__longjmp.c: New file.
12406 * sysdeps/s390/rtld-setjmp.S: New file.
12408 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12412 Return -__logl (x) for small positive arguments without evaluating
12415 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12417 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12419 (__ptrace_peeksiginfo_args): ... this.
12420 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12424 2014-01-06 Allan McRae <allan@archlinux.org>
12426 * inet/netinet/in.h: Fix typo in comment.
12428 2014-01-05 Andreas Jaeger <aj@suse.de>
12430 * sysdeps/i386/fpu/libm-test-ulps: Update.
12432 2014-01-05 Allan McRae <allan@archlinux.org>
12434 * po/libc.pot: Regenerated.
12436 * malloc/memusagestat.c: Fix gettext call formatting.
12438 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12440 * nscd/nscd.c: Improve usage() output.
12442 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12444 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12445 * sysdeps/unix/sysv/linux/configure: Regenerated.
12446 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12447 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12449 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12452 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12453 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12455 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12458 extra tokens at end of #undef directive.
12459 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12463 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12465 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12467 * math/auto-libm-test-in: Mark various tests with
12468 xfail-rounding:ldbl-128ibm.
12469 * math/auto-libm-test-out: Regenerated.
12471 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12474 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12475 numbers with subnormal high part when calculating exponent.
12478 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12482 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12484 (__ieee754_acoshl): Use __log1pl not __log1p.
12486 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12488 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12489 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12490 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12491 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12492 (reused_arena, arena_get2): Convert to GNU style.
12493 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12494 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12495 (memalign_check, __malloc_set_state): Likewise.
12496 * malloc/mallocbug.c (main): Likewise.
12497 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12498 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12499 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12500 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12501 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12502 (__posix_memalign, malloc_info): Likewise.
12503 * malloc/malloc.h: Likewise.
12504 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12505 (mallochook, memalignhook, reallochook, mabort): Likewise.
12506 * malloc/mcheck.h: Likewise.
12507 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12508 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12509 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12510 * malloc/morecore.c (__default_morecore): Likewise.
12511 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12512 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12513 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12514 (print_and_abort): Likewise.
12515 * malloc/obstack.h: Likewise.
12516 * malloc/set-freeres.c (__libc_freeres): Likewise.
12517 * malloc/tst-mallocstate.c (main): Likewise.
12518 * malloc/tst-mtrace.c (main): Likewise.
12519 * malloc/tst-realloc.c (do_test): Likewise.
12521 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12524 * nscd/netgroupcache.c (do_notfound): New function.
12525 (addgetnetgrentX): Use it.
12528 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12529 NSS_STATUS_NOTFOUND.
12531 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12533 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12536 2014-01-01 Allan McRae <allan@archlinux.org>
12538 * scripts/update-copyrights: Update configure input file suffix.
12540 * NEWS: Update copyright year.
12541 * catgets/gencat.c: Likewise.
12542 * csu/version.c: Likewise.
12543 * debug/catchsegv.sh: Likewise.
12544 * debug/pcprofiledump.c: Likewise.
12545 * debug/xtrace.sh: Likewise.
12546 * elf/ldconfig.c: Likewise.
12547 * elf/ldd.bash.in: Likewise.
12548 * elf/pldd.c: Likewise.
12549 * elf/sotruss.ksh: Likewise.
12550 * elf/sprof.c: Likewise.
12551 * iconv/iconv_prog.c: Likewise.
12552 * iconv/iconvconfig.c: Likewise.
12553 * locale/programs/locale.c: Likewise.
12554 * locale/programs/localedef.c: Likewise.
12555 * login/programs/pt_chown.c: Likewise.
12556 * malloc/memusage.sh: Likewise.
12557 * malloc/memusagestat.c: Likewise.
12558 * malloc/mtrace.pl: Likewise.
12559 * manual/libc.texinfo: Likewise.
12560 * nscd/nscd.c: Likewise.
12561 * nss/getent.c: Likewise.
12562 * nss/makedb.c: Likewise.
12563 * posix/getconf.c: Likewise.
12564 * scripts/test-installation.pl: Likewise.
12566 * All files with FSF copyright notices: Update copyright dates
12567 using scripts/update-copyrights.
12568 * intl/plural.c: Regenerated.
12569 * locale/programs/charmap-kw.h: Likewise.
12570 * locale/programs/locfile-kw.h: Likewise.
12572 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12574 * sysdeps/unix/sysv/linux/configure: Regenerated.
12575 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12576 the linux/fanotify.h header.
12577 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12578 HAVE_LINUX_FANOTIFY_H is defined.
12580 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12582 * benchtests/cos-inputs: New inputs.
12583 * benchtests/sin-inputs: Likewise.
12585 * benchtests/atan-inputs: New inputs. Fix name of multiple
12586 precision fallback inputs.
12588 * benchtests/atanh-inputs: New inputs.
12589 * benchtests/tanh-inputs: Likewise.
12591 * benchtests/acosh-inputs: New inputs.
12592 * benchtests/asinh-inputs: Likewise.
12594 * benchtests/cosh-inputs: New inputs.
12595 * benchtests/sinh-inputs: Likewise.
12597 * benchtests/acos-inputs: Add more inputs.
12598 * benchtests/asin-inputs: Likewise.
12600 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12603 * manual/arith.texi: Fix spelling.
12604 * manual/charset.texi: Likewise.
12605 * manual/errno.texi: Likewise.
12606 * manual/filesys.texi: Likewise.
12607 * manual/lang.texi: Likewise.
12608 * manual/llio.texi: Likewise.
12609 * manual/locale.texi: Likewise.
12610 * manual/message.texi: Likewise.
12611 * manual/resource.texi: Likewise.
12612 * manual/search.texi: Likewise.
12613 * manual/setjmp.texi: Likewise.
12614 * manual/stdio.texi: Likewise.
12615 * manual/string.texi: Likewise.
12616 * manual/sysinfo.texi: Likewise.
12617 * manual/time.texi: Likewise.
12619 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12621 * po/sl.po: New file.
12623 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12625 * .gitignore: Add core/.gdbinit/.gdb_history.
12627 2013-12-27 Allan McRae <allan@archlinux.org>
12630 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12631 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12633 2013-12-24 Brooks Moses <bmoses@google.com>
12635 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12636 all compilers that claim C++98 compliance, not just GCC.
12637 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12640 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12642 * NEWS: Restore accidentally deleted bug-fix entries.
12644 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12645 Ondřej Bílka <neleai@seznam.cz>
12648 * malloc/malloc.c (_int_free): Perform sanity check only if we
12651 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12654 * manual/stdio.texi (String Input Conversions): Clarify that character
12655 classes are not supported.
12657 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12661 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12664 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12665 Calculate results for small negative arguments directly rather
12666 than using reflection formula with special underflow handling.
12668 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12669 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12670 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12671 (fchflags): Likewise.
12672 (revoke): Likewise.
12673 (setlogin): Likewise.
12674 (sigaltstack): Likewise.
12676 (sigblock): Remove.
12677 (sigsetmask): Likewise.
12679 (waitpid): Likewise.
12680 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12681 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12683 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12684 * sysdeps/unix/bsd/Makefile: ... here.
12685 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12686 * sysdeps/unix/bsd/Versions: ... here.
12687 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12688 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12689 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12690 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12691 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12692 * sysdeps/unix/bsd/sigblock.c: ... here.
12693 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12694 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12695 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12696 * sysdeps/unix/bsd/sigvec.c: ... here.
12697 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12698 * sysdeps/unix/bsd/tcdrain.c: ... here.
12699 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12700 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12701 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12702 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12703 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12704 * sysdeps/unix/bsd/wait.c: ... here.
12705 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12706 * sysdeps/unix/bsd/wait3.c: ... here.
12707 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12708 * sysdeps/unix/bsd/waitpid.c: ... here.
12710 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12714 round-to-nearest for [!USE_AS_EXPM1L].
12715 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12716 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12717 more tests of exp and exp10. Expect some exp10 tests to miss
12718 exceptions or fail in directed rounding modes.
12719 * math/auto-libm-test-out: Regenerated.
12720 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12721 (exp10_test_tonearest): New function.
12722 (exp10_towardzero_test_data): New array.
12723 (exp10_test_towardzero): New function.
12724 (exp10_downward_test_data): New array.
12725 (exp10_test_downward): New function.
12726 (exp10_upward_test_data): New array.
12727 (exp10_test_upward): New function.
12728 (main): Call the new functions.
12729 * sysdeps/i386/fpu/libm-test-ulps: Update.
12730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12732 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12734 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12735 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12736 * math/auto-libm-test-out: Regenerated.
12737 * math/libm-test.inc (acosh_test_data): Add more tests.
12738 (atanh_test_data): Likewise.
12739 (ceil_test_data): Likewise.
12740 (copysign_test_data): Likewise.
12741 * sysdeps/i386/fpu/libm-test-ulps: Update.
12742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744 * timezone/checktab.awk: Update from tzcode 2013i.
12745 * timezone/private.h: Likewise.
12746 * timezone/scheck.c: Likewise.
12747 * timezone/tzfile.h: Likewise.
12748 * timezone/tzselect.ksh: Likewise.
12749 * timezone/zdump.c: Likewise.
12750 * timezone/zic.c: Likewise.
12752 * math/auto-libm-test-in: Add tests of cpow.
12753 * math/auto-libm-test-out: Regenerated.
12754 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12755 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12757 (func_calc_desc): Add mpc_cc_c union field.
12758 (test_functions): Add cpow.
12759 (special_fill_2pi): New function.
12760 (special_real_inputs): Add 2pi.
12761 (calc_generic_results): Handle mpc_cc_c.
12762 * sysdeps/i386/fpu/libm-test-ulps: Update.
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12765 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12766 csqrt, ctan and ctanh.
12767 * math/auto-libm-test-out: Regenerated.
12768 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12769 (TEST_COND_x86): Likewise.
12770 (ccos_test_data): Use AUTO_TESTS_c_c.
12771 (ccosh_test_data): Likewise.
12772 (cexp_test_data): Likewise.
12773 (clog_test_data): Likewise.
12774 (csqrt_test_data): Likewise.
12775 (ctan_test_data): Likewise.
12776 (ctan_tonearest_test_data): Likewise.
12777 (ctan_towardzero_test_data): Likewise.
12778 (ctan_downward_test_data): Likewise.
12779 (ctan_upward_test_data): Likewise.
12780 (ctanh_test_data): Likewise.
12781 (ctanh_tonearest_test_data): Likewise.
12782 (ctanh_towardzero_test_data): Likewise.
12783 (ctanh_downward_test_data): Likewise.
12784 (ctanh_upward_test_data): Likewise.
12785 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12787 (func_calc_desc): Add mpc_c_c union field.
12788 (FUNC_mpc_c_c): New macro.
12789 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12790 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12792 (special_fill_min_subnorm_p120): New function.
12793 (special_real_inputs): Add min_subnorm_p120.
12794 (calc_generic_results): Handle mpc_c_c.
12795 * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12801 (do_sin_slow): New functions.
12802 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12803 (cslow2, csloww1, csloww2): Use the new functions.
12805 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12806 Use M to change sign of result instead of X. Assume X is
12808 (csloww1): Likewise.
12812 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12813 arguments A and DA.
12817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12819 (sloww1): Don't adjust sign of DX.
12820 (csloww1): Likewise.
12821 (sloww2): Use X directly and don't adjust sign of DX.
12822 (csloww2): Likewise.
12824 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12826 * math/auto-libm-test-in: Add tests of cabs and carg.
12827 * math/auto-libm-test-out: Regenerated.
12828 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12829 (carg_test_data): Likewise.
12830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12832 (func_calc_desc): Add mpc_c_f union field.
12833 (test_functions): Add cabs and carg.
12834 (calc_generic_results): Handle mpc_c_f.
12836 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12837 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12838 as a macro and a compat symbol.
12839 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12840 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12841 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12842 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12843 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12844 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12846 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12848 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12850 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12852 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12856 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12857 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12860 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12864 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12866 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12867 trailing whitespace removed.
12868 * scripts/config.guess: Update to version 2013-11-29.
12869 * scripts/config.sub: Update to version 2013-10-01.
12871 * math/auto-libm-test-in: Add tests of sincos.
12872 * math/auto-libm-test-out: Regenerated.
12873 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12874 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12876 (func_calc_desc): Add mpfr_f_11 union field.
12877 (test_functions): Add sincos.
12878 (calc_generic_results): Handle mpfr_f_11.
12879 * sysdeps/i386/fpu/libm-test-ulps: Update.
12880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12882 2013-12-19 Andreas Schwab <schwab@suse.de>
12884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12886 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12888 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12890 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12892 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12893 * sysdeps/i386/fpu/libm-test-ulps: Update.
12894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12898 round-to-nearest mode when using frndint.
12899 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12900 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12901 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12903 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12905 * math/auto-libm-test-out: Regenerated.
12906 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12907 (TEST_COND_x86): Likewise.
12908 (expm1_tonearest_test_data): New array.
12909 (expm1_test_tonearest): New function.
12910 (expm1_towardzero_test_data): New array.
12911 (expm1_test_towardzero): New function.
12912 (expm1_downward_test_data): New array.
12913 (expm1_test_downward): New function.
12914 (expm1_upward_test_data): New array.
12915 (expm1_test_upward): New function.
12916 (main): Run the new test functions.
12917 * sysdeps/i386/fpu/libm-test-ulps: Update.
12918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12920 * include/features.h: Update comment documenting feature test
12921 macros. Mention _DEFAULT_SOURCE in comment.
12922 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12923 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12924 _BSD_SOURCE and _SVID_SOURCE.
12925 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12926 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12927 !_SVID_SOURCE]: Likewise.
12928 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12929 (__USE_POSIX_IMPLICITLY): Define.
12930 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12931 (_POSIX_SOURCE): Undefine and redefine.
12932 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12933 (_POSIX_C_SOURCE): Likewise.
12934 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12935 (Feature Test Macros): Update documentation of default features.
12937 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12939 * benchtests/Makefile: Add bench-strtok.
12940 * benchtests/bench-strtok.c: New file: strtok benchtest.
12942 2013-12-19 Allan McRae <allan@archlinux.org>
12944 * manual/install.texi: Suppress menu for plain text output.
12945 * INSTALL: Regenerated.
12947 2013-12-18 Brooks Moses <bmoses@google.com>
12950 * misc/getauxval.c: Include errno.h.
12951 (__getauxval): Set errno to ENOENT if the requested type is not
12953 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12954 don't declare with __attribute_const__.
12955 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12956 * manual/startup.texi: Document that getauxval sets errno.
12958 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12960 * math/auto-libm-test-in: Add tests of jn and yn.
12961 * math/auto-libm-test-out: Regenerated.
12962 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12963 (yn_test_data): Likewise.
12964 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12966 (func_calc_desc): Add mpfr_if_f union field.
12967 (FUNC_mpfr_if_f): New macro.
12968 (test_functions): Add jn and yn.
12969 (calc_generic_results): Assert type of second input for
12970 mpfr_ff_f. Handle mpfr_if_f.
12971 (output_for_one_input_case): Disable all checking for arguments
12972 fitting floating-point types in case of an integer argument.
12973 * sysdeps/i386/fpu/libm-test-ulps: Update.
12974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12977 Don't expect fegetround reference in libm.so.
12979 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12981 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12982 $(config-cflags-nofma).
12984 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12986 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12987 * math/auto-libm-test-out: Regenerated.
12990 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12991 to determine exponent and adjust argument to have exponent of -1.
12992 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12994 * math/auto-libm-test-out: Regenerated.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12998 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13000 * manual/probes.texi: Remove cases when per-thread arenas are
13003 2013-12-18 Andreas Schwab <schwab@suse.de>
13005 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13006 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13007 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13008 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13009 * sysdeps/i386/i686/multiarch/Makefile: Update.
13010 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13012 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13014 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13015 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13017 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13020 Support TZ transition times < 00:00:00.
13021 This is needed for version-3 tz-format files; it supports time
13022 stamps past 2037 for America/Godthab (the only entry in the tz
13023 database for which this change is relevant).
13024 * manual/time.texi (TZ Variable): Document transition times
13025 from -167:59:59 through -00:00:01.
13026 * time/tzset.c (tz_rule): Time of day is now signed.
13027 (__tzset_parse_tz): Parse negative time of day.
13029 Document TZ transition times >= 25:00:00.
13030 * manual/time.texi (TZ Variable): Document transition times from
13031 25:00:00 through 167:59:59. These are already supported, and this
13032 support will help with version-3 tz-format files.
13034 * manual/time.texi (TZ Variable): Modernize North America example
13035 to reflect current (i.e., 2007-and-later) daylight saving rules.
13037 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13039 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13041 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13042 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13045 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13046 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13047 * sysdeps/unix/bsd/clock.c: Likewise.
13048 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13049 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13050 * sysdeps/unix/bsd/init-posix.c: Likewise.
13051 * sysdeps/unix/bsd/poll.c: Likewise.
13052 * sysdeps/unix/bsd/ptsname.c: Likewise.
13053 * sysdeps/unix/bsd/seekdir.c: Likewise.
13054 * sysdeps/unix/bsd/setegid.c: Likewise.
13055 * sysdeps/unix/bsd/seteuid.c: Likewise.
13056 * sysdeps/unix/bsd/setgid.c: Likewise.
13057 * sysdeps/unix/bsd/setrgid.c: Likewise.
13058 * sysdeps/unix/bsd/setruid.c: Likewise.
13059 * sysdeps/unix/bsd/setsid.c: Likewise.
13060 * sysdeps/unix/bsd/setuid.c: Likewise.
13061 * sysdeps/unix/bsd/sigaction.c: Likewise.
13062 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13063 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13064 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13065 * sysdeps/unix/bsd/telldir.c: Likewise.
13066 * sysdeps/unix/bsd/times.c: Likewise.
13067 * sysdeps/unix/bsd/usleep.c: Likewise.
13069 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13070 ($(objpfx)libbsd-compat.a): Remove rule.
13072 * include/features.h (__FAVOR_BSD): Do not define.
13073 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13074 features conflicting with POSIX.
13075 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13076 (_BSD_SOURCE): Remove description of not being a subset of other
13077 feature test macros.
13078 * manual/job.texi (getpgrp): Do not document BSD version.
13079 (getpgid): Do not document by reference to BSD getpgrp.
13080 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13081 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13082 * signal/signal.h [__FAVOR_BSD]: Likewise.
13083 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13084 instead of making contents conditional on [__FAVOR_BSD].
13085 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13087 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13091 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13094 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13095 values below 2**-450, not 2**-500.
13096 * math/auto-libm-test-in: Don't allow spurious underflow from
13098 * math/auto-libm-test-out: Regenerated.
13102 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13103 values of ha and hb and sort them after adjusting subnormal
13105 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13107 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13108 values of ea and eb and sort them after adjusting subnormal
13110 * math/auto-libm-test-in: Do not expect some hypot tests of
13111 subnormals to fail. Add more hypot tests.
13112 * math/auto-libm-test-out: Regenerated.
13114 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13117 * sysdeps/sh/s_fma.c: New file.
13118 * sysdeps/sh/s_fmaf.c: New file.
13119 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13121 * sysdeps/sh/Implies: Add sh/soft-fp.
13123 2013-12-16 Roland McGrath <roland@hack.frob.com>
13125 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13126 level of indirection to members `objname', `errstring', `malloced'.
13127 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13128 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13129 it as the __longjmp argument (just pass 1 instead).
13130 (_dl_catch_error): Initialize C with argument pointers and address of
13131 volatile local ERRCODE rather than copying values out of C at return.
13133 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13135 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13136 * math/auto-libm-test-out: Regenerated.
13137 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13138 (hypot_test_data): Likewise.
13139 (pow_test_data): Likewise.
13140 (pow_tonearest_test_data): Likewise.
13141 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13143 (func_calc_desc): Add mpfr_ff_f union field.
13144 (FUNC_mpfr_ff_f): New macro.
13145 (test_functions): Add atan2, hypot and pow.
13146 (special_fill_min): New function.
13147 (special_fill_minus_min): Likewise.
13148 (special_fill_min_subnorm): Likewise.
13149 (special_fill_minus_min_subnorm): Likewise.
13150 (special_real_inputs): Add min, -min, min_subnorm and
13152 (calc_generic_results): Handle mpfr_ff_f.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13156 2013-12-16 Will Newton <will.newton@linaro.org>
13158 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13159 (Aligned Memory Blocks): Add documentation for aligned_alloc
13160 and suggest it as an alternative to posix_memalign.
13161 (Hooks for Malloc): Document __memalign_hook is also called
13162 for aligned_alloc. (Summary of Malloc): Add summary for
13163 aligned alloc. Document __memalign_hook is also called
13166 2013-12-16 Will Newton <will.newton@linaro.org>
13168 * manual/memory.texi (Malloc Examples): Clarify default
13169 alignment documentation. Suggest posix_memalign rather
13170 than memalign or valloc.
13171 (Aligned Memory Blocks): Remove suggestion to use memalign
13172 or valloc. Remove obsolete comment about BSD.
13173 Document memalign errno values and mark the function obsolete.
13174 Document posix_memalign returned error codes. Mark valloc
13175 as obsolete. (Hooks for Malloc): __memalign_hook is also
13176 called for posix_memalign and valloc.
13177 (Summary of Malloc): Add posix_memalign to function summary.
13178 __memalign_hook is also called for posix_memalign and valloc.
13180 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13182 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13186 (sloww): Use mynumber union. Expand ternary operator into
13187 if-else statements.
13188 (cslow): use mynumber union.
13190 2013-12-16 Allan McRae <allan@archlinux.org>
13192 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13193 * configure: Regenerated.
13195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13198 * configure.ac: Added --enable-maintainer-mode. Check for
13199 autoconf when enabled.
13200 * configure: Regenerated.
13202 * nscd/nscd.service: New file.
13203 * nscd/nscd.tmpfiles: New file.
13205 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13208 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13209 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13210 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13211 (strstr): Add __strstr_sse2_unaligned ifunc.
13212 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13213 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13214 (strcasestr): Remove __strcasestr_sse42 ifunc.
13215 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13219 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13221 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13222 * sysdeps/sh/bits/fenv.h: ... here.
13223 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13225 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13230 hypotf multiarch implementations.
13231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13233 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13234 multiarch hypot for PPC64.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13237 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13238 multiarch hypotf for PPC64.
13240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13241 modff multiarch implementations.
13242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13245 multiarch modf for PPC64.
13246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13249 multiarch modff for PPC64.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13252 and logl multiarch implementations.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13256 multiarch logb for PPC64.
13257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13260 multiarch logb for PPC64.
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13264 multiarch logb for PPC64.
13266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13267 isinff multiarch implementation.
13268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13272 multiarch isinf for PPC64.
13273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13276 multiarch isinff for PPC64.
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13279 finitef multiarch implementation.
13280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13284 multiarch finite for PPC64.
13285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13288 multiarch finitef for PPC64.
13290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13291 lrint multiarch implementation.
13292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13296 multiarch llrint for PPC64.
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13298 multiarch lrint for PPC64.
13300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13301 copysignf multiarch implementation.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13307 multiarch copysign for PPC64.
13308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13309 multiarch copysignf for PPC64.
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13312 multiarch implementation.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13321 multiarch llround for PPC64.
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13323 multiarch trunc for PPC64.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13325 multiarch truncf for PPC64.
13327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13328 multiarch implementation.
13329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13337 multiarch llround for PPC64.
13338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13339 multiarch round for PPC64.
13340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13341 multiarch roundf for PPC64.
13343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13344 multiarch implementation.
13345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13353 multiarch llround for PPC64.
13354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13355 multiarch floor for PPC64.
13356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13357 multiarch floorf for PPC64.
13359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13360 multiarch implementation.
13361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13369 multiarch llround for PPC64.
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13371 multiarch ceil for PPC64.
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13373 multiarch ceilf for PPC64.
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13376 multiarch implementation.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13384 multiarch llround for PPC64.
13385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13386 multiarch lround for PPC64.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13389 multiarch implementation.
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13397 multiarch isnan for PPC64.
13398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13399 multiarch isnanf for PPC64.
13401 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13402 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13403 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13404 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13405 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13408 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13409 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13414 multiarch implementations.
13415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13416 (__libc_ifunc_impl_list): Likewise.
13417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13418 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13420 multiarch stpcpy for PPC64.
13422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13423 multiarch implementations.
13424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13425 (__libc_ifunc_impl_list): Likewise.
13426 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13427 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13428 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13429 multiarch strcpy for PPC64.
13431 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13432 redefine function name.
13433 (_wordcopy_fwd_dest_aligned): Likewise.
13434 (_wordcopy_bwd_aligned): Likewise.
13435 (_wordcopy_bwd_dest_aligned): Likewise.
13436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13437 multiarch implementations.
13438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13439 (__libc_ifunc_impl_list): Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13441 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13442 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13444 multiarch wcscpy for PPC64.
13446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13447 multiarch implementations.
13448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13449 (__libc_ifunc_impl_list): Likewise.
13450 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13451 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13452 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13453 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13454 multiarch wcscpy for PPC64.
13456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13457 multiarch implementations.
13458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13459 (__libc_ifunc_impl_list): Likewise.
13460 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13461 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13462 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13463 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13464 multiarch wcsrchr for PPC64.
13466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13467 multiarch implementations.
13468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13469 (__libc_ifunc_impl_list): Likewise.
13470 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13471 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13472 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13473 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13474 multiarch wcschr for PPC64.
13476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13477 multiarch implementations.
13478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13479 (__libc_ifunc_impl_list): Likewise.
13480 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13481 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13482 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13483 multiarch strchrnul for PPC64.
13485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13488 (__libc_ifunc_impl_list): Likewise.
13489 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13490 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13491 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13492 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13498 (__libc_ifunc_impl_list): Likewise.
13499 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13501 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13502 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13506 multiarch implementations.
13507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13508 (__libc_ifunc_impl_list): Likewise.
13509 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13510 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13511 strncasecmp for PPC64.
13512 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13513 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13514 multiarch strncasecmp_l for PPC64.
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13517 multiarch implementations.
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13519 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13521 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13522 multiarch strcasecmp for PPC64.
13523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13525 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13526 multiarch strcasecmp_l for PPC64.
13528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531 (__libc_ifunc_impl_list): Likewise.
13532 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13533 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13534 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13540 (__libc_ifunc_impl_list): Likewise.
13541 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13542 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13549 (__libc_ifunc_impl_list): Likewise.
13550 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13551 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13552 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13553 rawmemrchr for PPC64.
13555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13558 (__libc_ifunc_impl_list): Likewise.
13559 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13560 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13561 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13567 (__libc_ifunc_impl_list): Likewise.
13568 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13569 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13570 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13576 (__libc_ifunc_impl_list): Likewise.
13577 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13578 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13579 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13582 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13583 avoid cretion of __bzero symbol.
13584 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13586 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13588 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13591 multiarch implementations.
13592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13593 (__libc_ifunc_impl_list): Likewise.
13594 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13595 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13596 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13597 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13599 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13600 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13601 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13602 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13603 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13605 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13607 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13611 (__libc_ifunc_impl_list): Likewise.
13612 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13613 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13614 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13615 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13619 multiarch for POWER/PPC64.
13620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13627 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13628 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13631 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13632 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13633 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13634 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13635 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13636 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13637 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13638 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13639 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13640 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13641 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13642 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13643 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13644 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13645 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13654 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13656 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13658 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13660 * benchtests/Makefile (bench): Add exp2 and log2.
13661 (LDLIBS-bench-exp2): Add -lm.
13662 (LDLIBS-bench-log2): Likewise.
13663 * benchtests/exp2-inputs: New inputs file.
13664 * benchtests/log2-inputs: New inputs file.
13665 * benchtests/log-inputs: Add new inputs.
13666 * benchtests/tan-inputs: Likewise.
13668 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13670 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13672 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13673 (csloww2): ... from here.
13675 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13676 instead of structures.
13677 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13678 (POLYNOMIAL): Likewise.
13679 (TAYLOR_SLOW): Likewise.
13685 (sloww1); Likewise.
13686 (sloww2): Likewise.
13687 (bsloww1): Likewise.
13688 (bsloww2): Likewise.
13689 (cslow2): Likewise.
13690 (csloww): Likewise.
13691 (csloww1): Likewise.
13692 (csloww2): Likewise.
13694 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13696 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13697 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13698 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13699 * malloc/hooks.c (realloc_check): Likewise.
13701 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13702 * malloc/arena.c: Remove PER_THREAD conditional.
13703 [!PER_THREAD]: Remove code.
13704 (ptmalloc_unlock_all2): Likewise.
13705 (ptmalloc_init): Likewise.
13706 (_int_new_arena): Likewise.
13707 (arena_get2): Likewise.
13708 * malloc/hooks.c (__malloc_get_state): Likewise.
13709 (__malloc_set_state): Likewise.
13710 * malloc/malloc.c: Likewise.
13711 (struct malloc_state): Likewise.
13712 (struct malloc_par): Likewise.
13713 (__libc_realloc): Likewise.
13714 (__libc_mallopt): Likewise.
13716 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13718 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13720 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13722 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13723 macro to a function. Check for zero perturb_byte.
13724 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13726 * malloc/malloc.c: (force_reg): Remove.
13727 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13728 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13729 force_reg by atomic_forced_read.
13730 * malloc/arena.c (ptmalloc_init): Likewise.
13731 * malloc/hooks.c (top_check): Likewise.
13733 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13737 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13741 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13743 * math/auto-libm-test-in: Add tests of lgamma.
13744 * math/auto-libm-test-out: Regenerated.
13745 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13746 (M_LOG_2_SQRT_PIl): Likewise.
13747 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13748 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13750 (func_calc_desc): Add mpfr_f_f1 union field.
13751 (ARGS1): New macro.
13759 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13760 (test_functions): Add lgamma.
13761 (calc_generic_results): Handle mpfr_f_f1.
13762 * sysdeps/i386/fpu/libm-test-ulps: Update.
13763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13765 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13767 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13768 __mpn_add_n for PowerPC64/POWER7.
13769 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13770 __mpn_sub_n for PowerPC64/POWER7.
13772 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13773 __mpn_addmul_1 for PowerPC64.
13774 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13775 __mpn_submul_1 for PowerPC64.
13776 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13778 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13781 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13784 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13786 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13788 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13790 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13791 add multiarch folders.
13792 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13793 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13794 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13795 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13796 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13797 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13798 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13799 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13800 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13801 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13802 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13811 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13817 multiarch __ieee754_hypot for PowerPC32.
13818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13823 multiarch __ieee754_hypotf for PowerPC32.
13825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13826 long_double_symbol only if __logbl is defined.
13827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13828 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13830 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13832 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13834 path for implementation.
13835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13838 logb, and logbl multiarch implementations for PowerPC32.
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13844 multiarch logb for PowerPC32.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13850 multiarch logbf for PowerPC32.
13851 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13855 multiarch logbl implementation for PowerPC32.
13857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13858 and modff multiarch implementations.
13859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13864 multiarch modf for PowerPC32.
13865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13870 multiarch modff for PowerPC32.
13872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13873 and lrintf multiarch implementations.
13874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13879 multiarch lrint for PowerPC32.
13880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13881 file: multiarch lrintf for PowerPC32.
13883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13884 and lroundf multiarch implementations.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13892 multiarch lround for PowerPC32.
13893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13894 file: multiarch lroundf for PowerPC32.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13897 copysign and copysignf multiarch implementations.
13898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13903 file: multiarch copysign for PowerPC32.
13904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13905 file: multiarch copysignf for PowerPC32.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13908 and truncf multiarch implementations.
13909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13914 multiarch trunc for PowerPC32.
13915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13920 multiarch truncf for PowerPC32.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13923 and roundf multiarch implementations.
13924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13929 multiarch round for PowerPC32.
13930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13935 multiarch roundf for PowerPC32.
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13938 and floorf multiarch implementations.
13939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13944 multiarch floor for PowerPC32.
13945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13950 multiarch floorf for PowerPC32.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13953 and ceilf multiarch implementations.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13959 multiarch ceil for PowerPC32.
13960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13965 multiarch ceilf for PowerPC32.
13967 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13969 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13970 FINITEF is defined.
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13972 and finitef multiarch implementations.
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13978 multiarch finite for PowerPC32.
13979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13982 file: multiarch finitef for PowerPC32.
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13985 and isinff multiarch implementations.
13986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13991 multiarch isinf for PowerPC32.
13992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13995 multiarch isinff for PowerPC32.
13997 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13998 alias when __isnan is defined.
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14000 and isnanf multiarch implementations.
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14010 multiarch isnan for PowerPC32.
14011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14016 multiarch isnanf for PowerPC32.
14018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14019 and sqrtf multiarch implementations.
14020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14025 multiarch sqrt for PowerPC32.
14026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14031 multiarch sqrtf for PowerPC32.
14033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14034 and llroundf multiarch implementations.
14035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14042 file: multiarch llround for PowerPC32.
14043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14044 file: multiarch llroundf for PowerPC32.
14046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14047 multiarch PowerPC32 fpu implementations.
14048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14053 multiarch llrint for PowerPC32.
14054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14067 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14069 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14070 multiarch wordcopy for PPC32.
14071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14074 (__libc_ifunc_impl_list): Likewise.
14075 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14076 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14077 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14078 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14079 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14080 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14082 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14090 multiarch wcscpy for PPC32.
14091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14094 (__libc_ifunc_impl_list): Likewise.
14095 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14096 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14097 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14098 sysdeps/powerpc/power6/wcscpy.c.
14100 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14108 multiarch wcsrchr for PPC32.
14109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14112 (__libc_ifunc_impl_list): Likewise.
14113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14114 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14115 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14116 sysdeps/powerpc/power6/wcsrchr.c.
14118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14124 multiarch wcschr for PPc32.
14125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14128 (__libc_ifunc_impl_list): Likewise.
14129 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14130 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14131 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14132 sysdeps/powerpc/power6/wcschr.c.
14134 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14137 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14138 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14139 file: multiarch strchr for PPC32.
14140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14143 (__libc_ifunc_impl_list): Likewise.
14145 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14147 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14149 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14152 multiarch strchrnul for PPC32.
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14156 (__libc_ifunc_impl_list): Likewise.
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14161 multiarch strncasecmp for PPC32.
14162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14164 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14165 multiarch strncasecmp_l for PPC32.
14166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14167 strncasecmp multiarch objects.
14168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14169 (__libc_ifunc_impl_list): Likewise.
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14174 multiarch strncasecmp for PPC32.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14178 multiarch strcasecmp_l for PPC32.
14179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14182 (__libc_ifunc_impl_list): Likewise.
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14189 multiarch strncmp for PPC32.
14190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14193 (__libc_ifunc_impl_list): Likewise.
14195 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14196 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14199 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14203 (__libc_ifunc_impl_list): Likewise.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14207 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14209 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14213 (__libc_ifunc_impl_list): Likewise.
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14217 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14219 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14220 multiarch rawmemchr for PPC32.
14221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14224 (__libc_ifunc_impl_list): Likewise.
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14228 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14230 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14231 file: memrchr multiarch for PPC32.
14232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14235 (__libc_ifunc_impl_list): Likewise.
14237 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14238 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14242 multiarch memchr for PPC32.
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14246 (__libc_ifunc_impl_list): Likewise.
14248 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14251 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14253 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14254 file: multiarch mempcpy for PPC32.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14258 (__libc_ifunc_impl_list): Likewise.
14260 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14262 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14263 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14264 multiarch bzero for PPC32.
14265 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14267 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14269 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14270 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14271 file: multiarch memset for PPC32.
14272 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14274 memset multiarch objects.
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14276 (__libc_ifunc_impl_list): Likewise.
14278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14283 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14287 (__libc_ifunc_impl_list): Likewise.
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14291 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14293 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14295 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14298 multiarch memcpy for PPC32.
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14302 (__libc_ifunc_impl_list): Likewise.
14304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14305 support multiarch for POWER/PPC32.
14306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14308 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14310 Implies file to make multiarch folder appers before the fpu and
14311 default folder for power4 configuration.
14313 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14315 * scripts/bench.pl: Append volatile keyword to type.
14317 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14319 * sysdeps/sh/sotruss-lib.c: New file.
14320 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14322 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14326 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14329 * math/w_tgamma.c: Include <errno.h>.
14330 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14331 * math/w_tgammaf.c: Include <errno.h>.
14332 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14333 * math/w_tgammal.c: Include <errno.h>.
14334 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14335 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14336 underflow. Add more tgamma tests.
14337 * math/auto-libm-test-out: Regenerated.
14338 * sysdeps/i386/fpu/libm-test-ulps: Update.
14339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14341 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14342 sin, sinh, tan, tanh, tgamma, y0 and y1.
14343 * math/auto-libm-test-out: Regenerated.
14344 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14345 (TEST_COND_x86): Likewise.
14346 (M_E2l): Remove macro.
14348 (M_2_SQRT_PIl): Likewise.
14349 (M_SQRT_PIl): Likewise.
14350 (M_1_DIV_El): Likewise.
14351 (log_test_data): Use AUTO_TESTS_f_f.
14352 (log10_test_data): Likewise.
14353 (log1p_test_data): Likewise.
14354 (log2_test_data): Likewise.
14355 (sin_test_data): Likewise.
14356 (sin_tonearest_test_data): Likewise.
14357 (sin_towardzero_test_data): Likewise.
14358 (sin_downward_test_data): Likewise.
14359 (sin_upward_test_data): Likewise.
14360 (sinh_test_data): Likewise.
14361 (sinh_tonearest_test_data): Likewise.
14362 (sinh_towardzero_test_data): Likewise.
14363 (sinh_downward_test_data): Likewise.
14364 (sinh_upward_test_data): Likewise.
14365 (tan_test_data): Likewise.
14366 (tan_tonearest_test_data): Likewise.
14367 (tan_towardzero_test_data): Likewise.
14368 (tan_downward_test_data): Likewise.
14369 (tan_upward_test_data): Likewise.
14370 (tanh_test_data): Likewise.
14371 (tgamma_test_data): Likewise.
14372 (y0_test_data): Likewise.
14373 (y1_test_data): Likewise.
14374 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14375 (special_real_inputs): Add pi/4.
14376 * sysdeps/i386/fpu/libm-test-ulps: Update.
14377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14379 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14381 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14382 "longjmp_target" static probes.
14383 (__longjmp): Rename to __longjmp_symbol.
14384 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14386 on which longjmp to generate.
14387 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14390 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14391 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14392 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14394 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14395 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14397 __longjmp_symbol based on which __longjmp to generate.
14398 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14400 (setjmp): Rename to setjmp_symbol.
14401 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14402 (_setjmp): Rename to _setjmp_symbol.
14403 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14404 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14405 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14406 which setjmp to generate.
14407 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14408 "longjmp_target" static probes.
14410 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14412 * benchtests/README: Add note about output arguments.
14413 * benchtests/bench-sincos.c: Remove file.
14414 * benchtests/sincos-inputs: New file.
14415 * scripts/bench.pl: Identify output arguments and define
14416 static variables for them.
14418 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14421 * Makefile (INSTALL): Add install-plain.texi as the primary
14423 * manual/install-plain.texi: New file.
14424 * manual/install.texi: Include node directive only for
14425 non-plaintext output.
14427 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14429 * stdlib/longlong.h: Update from GCC.
14433 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14434 * math/w_j0f.c (y0f): Likewise.
14435 * math/w_j0l.c (__y0l): Likewise.
14436 * math/w_j1.c (y1): Likewise.
14437 * math/w_j1f.c (y1f): Likewise.
14438 * math/w_j1l.c (__y1l): Likewise
14439 * math/w_jn.c (yn): Likewise.
14440 * math/w_jnf.c (ynf): Likewise.
14441 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14442 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14443 value for Bessel function domain errors outside _SVID_ mode.
14444 Adjust sign of return value for yn (negative integer, 0).
14445 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14446 by zero in return for negative x and set sign appropriately for
14448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14449 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14450 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14451 expectations in error cases.
14452 (y1_test_data): Likewise.
14453 (yn_test_data): Likewise.
14454 * sysdeps/i386/fpu/libm-test-ulps: Update.
14455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14457 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14459 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14460 "64" to "64-v1". Add "64-v2".
14461 (abi-64-options): Rename to ...
14462 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14463 (abi-64-condition): Rename to ...
14464 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14465 (abi-64-ld-soname): Rename to ...
14466 (abi-64-v1-ld-soname): ... this.
14467 (abi-64-v2-options): Define.
14468 (abi-64-v2-condition): Likewise.
14469 (abi-64-v2-ld-soname): Likewise.
14470 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14471 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14476 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14477 Alan Modra <amodra@gmail.com>
14479 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14480 New versions for use with the ELFv2 ABI.
14481 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14482 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14484 (struct La_ppc64v2_retval): Likewise.
14485 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14486 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14487 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14488 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14489 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14490 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14491 Do not save or restore CR.
14492 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14493 (_dl_profile_resolve): Do no save or restore CR. Support extended
14494 return values for ELFv2 ABI. Fix location of FPR return registers.
14495 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14496 updated values for _CALL_ELF == 2.
14497 (La_regs, La_retval, int_retval): Likewise.
14499 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14501 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14502 (FRAME_MIN_SIZE_PARM): Likewise.
14503 (FRAME_BACKCHAIN): Likewise.
14504 (FRAME_CR_SAVE): Likewise.
14505 (FRAME_LR_SAVE): Likewise.
14506 (FRAME_TOC_SAVE): Likewise.
14507 (FRAME_PARM_SAVE): Likewise.
14508 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14509 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14510 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14511 (call_mcount_parm_offset): New macro.
14512 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14513 (PROF): Use symbolic stack frame offsets.
14514 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14515 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14516 Redefine in terms of FRAME_MIN_SIZE.
14517 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14518 (_dl_profile_resolve): Likewise. Update comment.
14519 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14520 symbols stack frame offsets.
14521 (__sigsetjmp): Likewise.
14522 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14523 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14524 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14525 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14528 (FRAME_BACKCHAIN): Remove.
14529 (FRAME_CR_SAVE): Likewise.
14530 (FRAME_LR_SAVE): Likewise.
14531 (FRAME_COMPILER_DW): Likewise.
14532 (FRAME_LINKER_DW): Likewise.
14533 (FRAME_TOC_SAVE): Likewise.
14534 (FRAME_PARM_SAVE): Likewise.
14535 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14536 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14537 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14539 (CHECK_SP): Use symbolic stack frame offsets.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14541 zone" instead of caller's parameter save area for temp storage.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14543 Likewise. Also, use symbolic stack frame offsets.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14545 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14546 our own stack frame instead of the caller's.
14547 (__socket): Use symbolic stack frame offsets.
14549 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14550 Alan Modra <amodra@gmail.com>
14552 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14554 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14555 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14556 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14558 (elf_machine_fixup_plt): Call it.
14559 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14561 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14562 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14563 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14564 r2 before calling target.
14566 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14567 Alan Modra <amodra@gmail.com>
14569 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14570 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14571 versions of macros to support ELFv2 ABI.
14572 (LOCALENTRY): New macro.
14573 (ENTRY, EALIGN): Use it.
14574 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14575 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14576 fall through into ENTRY entry point.
14577 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14578 Only define if _CALL_ELF != 2.
14580 (elf_machine_matches_host): Verify ABI version matches.
14581 (RTLD_START): Use LOCALENTRY.
14582 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14583 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14584 (PLT_ENTRY_WORDS): New macro.
14585 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14586 (elf_machine_runtime_setup): Support ELFv2 ABI.
14587 (elf_machine_fixup_plt): Likewise.
14588 (elf_machine_plt_conflict): Likewise.
14589 (resolve_ifunc): Likewise.
14590 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14591 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14594 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14596 (makecontext): Support ELFv2 ABI.
14597 * elf/elf.h (EF_PPC64_ABI): Define.
14599 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14601 * sysdeps/powerpc/powerpc64/sysdep.h
14602 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14603 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14604 (ENTRY) [ASSEMBLER]: ... but instead here ...
14605 (EALIGN) [ASSEMBLER]: ... and here.
14606 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14607 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14608 (ENTRY_2) [!ASSEMBLER]: Use it.
14609 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14610 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14612 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14613 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14615 Use PPC64_LOAD_FUNCPTR.
14617 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14619 2013-12-04 Alan Modra <amodra@gmail.com>
14621 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14622 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14623 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14624 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14627 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14628 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14629 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14630 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14631 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14633 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14636 (__makecontext): Fix incorrect CFI when backtracing out of
14637 context created via makecontext.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14639 (__setcontext): Fix incorrect CFI during switch to new context.
14640 (__novec_setcontext): Likewise.
14642 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14645 * time/strptime_l.c (__strptime_internal): Allow modifiers
14647 * time/tst-strptime.c (day_tests): Add testcase.
14649 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14651 * scripts/bench.pl: Skip over blank lines.
14653 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14656 * manual/time.texi (Calendar Time): Clarify what timezone functions
14659 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14663 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14665 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14667 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14668 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14669 * debug/memset_chk.c (__memset_chk): Likewise.
14670 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14671 * debug/strncpy_chk.c: Likewise.
14673 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14678 (__ieee754_exp): For possibly underflowing results, check size of
14679 result and force underflow exception if required.
14680 * math/auto-libm-test-in: Add more tests of exp.
14681 * math/auto-libm-test-out: Regenerated.
14682 * sysdeps/i386/fpu/libm-test-ulps: Update.
14683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14687 * math/w_exp2f.c (__exp2f): Likewise.
14688 * math/w_exp2l.c (__exp2l): Likewise.
14689 * math/auto-libm-test-in: Do not allow missing errno on exp2
14691 * math/auto-libm-test-out: Regenerated.
14693 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14696 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14697 handle filename validation.
14698 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14701 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14704 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14705 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14706 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14708 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14709 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14710 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14712 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14714 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14715 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14716 Add more erfc tests.
14717 * math/auto-libm-test-out: Regenerated.
14718 * sysdeps/i386/fpu/libm-test-ulps: Update.
14719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14721 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14722 exp2, expm1, j0 and j1.
14723 * math/auto-libm-test-out: Regenerated.
14724 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14725 (erfc_test_data): Likewise.
14726 (exp_test_data): Likewise.
14727 (exp_tonearest_test_data): Likewise.
14728 (exp_towardzero_test_data): Likewise.
14729 (exp_downward_test_data): Likewise.
14730 (exp_upward_test_data): Likewise.
14731 (exp10_test_data): Likewise.
14732 (exp2_test_data): Likewise.
14733 (expm1_test_data): Likewise.
14734 (j0_test_data): Likewise.
14735 (j1_test_data): Likewise.
14736 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14737 (input_flag_type): Add flag_xfail_rounding.
14738 (input_flags): Add xfail-rounding.
14739 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14740 (output_for_one_input_case): Handle flag_xfail_rounding.
14741 * sysdeps/i386/fpu/libm-test-ulps: Update.
14742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14744 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14747 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14750 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14753 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14754 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14755 (STAP_PROBE0): New macro.
14756 (STAP_PROBE1): Likewise.
14757 (STAP_PROBE2): Likewise.
14758 (STAP_PROBE3): Likewise.
14759 (STAP_PROBE4): Likewise.
14761 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14763 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14765 2013-12-02 Steve Ellcey <sellcey@mips.com>
14767 * benchtests/Makefile (bench): Add sqrt.
14768 (LDLIBS-bench-sqrt): New.
14769 * benchtests/sqrt-input: New.
14771 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14773 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14774 (GAIH_EAI): Likewise.
14775 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14776 (gaih_inet): Likewise.
14777 (getaddrinfo): Don't use GAIH_EAI.
14779 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14780 (struct gaih): Remove definition.
14782 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14785 Use HERRNOP directly.
14787 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14791 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14793 * math/gen-auto-libm-tests.c (test_functions): Add more
14794 single-argument functions.
14795 (special_fill_pi_2): New function.
14796 (special_fill_minus_pi_2): Likewise.
14797 (special_fill_pi_6): Likewise.
14798 (special_fill_minus_pi_6): Likewise.
14799 (special_fill_pi_3): Likewise.
14800 (special_fill_2pi_3): Likewise.
14801 (special_fill_e): Likewise.
14802 (special_fill_1_e): Likewise.
14803 (special_fill_e_minus_1): Likewise.
14804 (special_real_inputs): Add more special inputs.
14805 (output_for_one_input_case): Do not require ERANGE on underflow to
14806 zero if round-to-nearest result does not underflow to zero, unless
14807 exact results required.
14808 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14809 atan, atanh, cbrt, cos and cosh.
14810 * math/auto-libm-test-out: Regenerated.
14811 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14812 (acos_tonearest_test_data): Likewise.
14813 (acos_towardzero_test_data): Likewise.
14814 (acos_downward_test_data): Likewise.
14815 (acos_upward_test_data): Likewise.
14816 (acosh_test_data): Likewise.
14817 (asin_test_data): Likewise.
14818 (asin_tonearest_test_data): Likewise.
14819 (asin_towardzero_test_data): Likewise.
14820 (asin_upward_test_data): Likewise.
14821 (asinh_test_data): Likewise.
14822 (atan_test_data): Likewise.
14823 (atanh_test_data): Likewise.
14824 (cbrt_test_data): Likewise.
14825 (cos_test_data): Likewise.
14826 (cos_tonearest_test_data): Likewise.
14827 (cos_towardzero_test_data): Likewise.
14828 (cos_downward_test_data): Likewise.
14829 (cos_upward_test_data): Likewise.
14830 (cosh_test_data): Likewise.
14831 (cosh_tonearest_test_data): Likewise.
14832 (cosh_towardzero_test_data): Likewise.
14833 (cosh_downward_test_data): Likewise.
14834 (cosh_upward_test_data): Likewise.
14835 * sysdeps/i386/fpu/libm-test-ulps: Update.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14838 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14841 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14842 * math/w_exp10f.c (__exp10f): Likewise.
14843 * math/w_exp10l.c (__exp10l): Likewise.
14844 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14845 errno settings in existing tests.
14848 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14849 precision control set to double precision.
14850 * sysdeps/i386/fpu/w_sqrt.c: New file.
14851 * math/auto-libm-test-in: Add more tests.
14852 * math/auto-libm-test-out: Update.
14854 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14855 (sqrt_test_tonearest): New function.
14856 (sqrt_towardzero_test_data): New variable.
14857 (sqrt_test_towardzero): New function.
14858 (sqrt_downward_test_data): New variable.
14859 (sqrt_test_downward): New function.
14860 (sqrt_upward_test_data): New variable.
14861 (sqrt_test_upward): New function.
14862 (main): Call the new functions.
14864 * math/gen-auto-libm-tests.c: New file.
14865 * math/auto-libm-test-in: Likewise.
14866 * math/auto-libm-test-out: New generated file.
14867 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14869 (%beautify): Add generated representations of zero.
14870 (top level): Set $auto_input and call parse_auto_input.
14871 (beautify): Remove trailing "f" from hex float constants.
14872 (parse_args): Handle XFAIL_TEST.
14873 (convert_condition): New function.
14874 (or_value): Likewise.
14875 (or_cond_value): Likewise.
14876 (generate_testfile): Handle AUTO_TESTS_* lines.
14877 (parse_auto_input): New function.
14878 * math/libm-test.inc (XFAIL_TEST): New macro.
14879 (ERRNO_UNCHANGED): Update value.
14880 (ERRNO_EDOM): Likewise.
14881 (ERRNO_ERANGE): Likewise.
14882 (IGNORE_RESULT): Likewise.
14883 (TEST_COND_flt_32): New macro.
14884 (TEST_COND_dbl_64): Likewise.
14885 (TEST_COND_ldbl_96_intel): Likewise.
14886 (TEST_COND_ldbl_96_m68k): Likewise.
14887 (TEST_COND_ldbl_128): Likewise.
14888 (TEST_COND_ldbl_128ibm): Likewise.
14889 (TEST_COND_long32): Likewise.
14890 (TEST_COND_long64): Likewise.
14891 (TEST_COND_before_rounding): Likewise.
14892 (TEST_COND_after_rounding): Likewise.
14893 (enable_test): Handle XFAIL_TEST flag.
14894 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14895 with finite results.
14896 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14897 auto-libm-test-out.
14899 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14900 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14903 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14904 __tls_get_addr_internal instead of __tls_get_offset in order to
14905 avoid GOT pointer dependency. Make rtld export
14906 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14907 __tls_get_addr since we are a __tls_get_offset platform.
14908 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14909 GOT pointer being set up before.
14910 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14912 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14914 * manual/math.texi (Errors in Math Functions): Document accuracy
14918 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14919 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14935 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14936 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14937 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14938 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14939 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14941 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14943 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14945 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14946 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14947 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14948 atomic-feupdateenv and flt-rounds.
14949 * sysdeps/powerpc/nofpu/Versions (libc): Add
14950 __atomic_feholdexcept, __atomic_feclearexcept,
14951 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14952 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14953 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14954 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14955 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14960 * manual/arith.texi (FP Exceptions): Document that exceptions may
14961 not be raised when matherr is used.
14962 (Math Error Reporting): Document overflow in directed rounding
14963 modes. Document that errno may not be set when finite values are
14964 returned on overflow. Document intent to set errno on underflow
14965 only for underflow to zero.
14968 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14969 round-to-nearest then adjust result for other rounding modes.
14970 * include/fenv.h (fegetround): Use libm_hidden_proto.
14971 * math/fegetround.c (fegetround): Use libm_hidden_def.
14972 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14973 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14974 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14975 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14977 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14978 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14979 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14980 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14982 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14985 * nss/Versions (libnss_files): Add
14986 _nss_files_gethostbyname3_r.
14987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14989 (HOST_DB_LOOKUP): Remove macro.
14990 (_nss_files_gethostbyname_r): Implement function without the
14991 HOST_DB_LOOKUP macro.
14992 (_nss_files_gethostbyname2_r): Likewise.
14994 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14996 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14998 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15000 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15001 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15004 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15006 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15007 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15008 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15009 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15011 __fe_nomask_env_priv and attribute_hidden.
15012 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15013 (libc_feupdateenv_test_ppc): Likewise.
15014 (libc_feresetround_ppc): Likewise.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15016 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15017 compat_symbol macro.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15019 (__fe_nomask_env): Likewise.
15020 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15022 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15024 * string/Makefile: Remove ifunc tests.
15025 * string/test-string.h: Define TEST_IFUNC.
15026 * string/test-bcopy-ifunc.c: Remove.
15027 * string/test-bzero-ifunc.c: Likewise.
15028 * string/test-memccpy-ifunc.c: Likewise.
15029 * string/test-memchr-ifunc.c: Likewise.
15030 * string/test-memcmp-ifunc.c: Likewise.
15031 * string/test-memcpy-ifunc.c: Likewise.
15032 * string/test-memmem-ifunc.c: Likewise.
15033 * string/test-memmove-ifunc.c: Likewise.
15034 * string/test-mempcpy-ifunc.c: Likewise.
15035 * string/test-memrchr-ifunc.c: Likewise.
15036 * string/test-memset-ifunc.c: Likewise.
15037 * string/test-rawmemchr-ifunc.c: Likewise.
15038 * string/test-stpcpy-ifunc.c: Likewise.
15039 * string/test-stpncpy-ifunc.c: Likewise.
15040 * string/test-strcasecmp-ifunc.c: Likewise.
15041 * string/test-strcasestr-ifunc.c: Likewise.
15042 * string/test-strcat-ifunc.c: Likewise.
15043 * string/test-strchr-ifunc.c: Likewise.
15044 * string/test-strchrnul-ifunc.c: Likewise.
15045 * string/test-strcmp-ifunc.c: Likewise.
15046 * string/test-strcpy-ifunc.c: Likewise.
15047 * string/test-strcspn-ifunc.c: Likewise.
15048 * string/test-strlen-ifunc.c: Likewise.
15049 * string/test-strncasecmp-ifunc.c: Likewise.
15050 * string/test-strncat-ifunc.c: Likewise.
15051 * string/test-strncmp-ifunc.c: Likewise.
15052 * string/test-strncpy-ifunc.c: Likewise.
15053 * string/test-strnlen-ifunc.c: Likewise.
15054 * string/test-strpbrk-ifunc.c: Likewise.
15055 * string/test-strrchr-ifunc.c: Likewise.
15056 * string/test-strspn-ifunc.c: Likewise.
15057 * string/test-strstr-ifunc.c: Likewise.
15059 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15061 * benchtests/Makefile: Remove ifunc tests.
15062 * benchtests/bench-string.h: Define TEST_IFUNC.
15063 * benchtests/bench-bcopy-ifunc.c: Remove.
15064 * benchtests/bench-bzero-ifunc.c: Likewise.
15065 * benchtests/bench-memccpy-ifunc.c: Likewise.
15066 * benchtests/bench-memchr-ifunc.c: Likewise.
15067 * benchtests/bench-memcmp-ifunc.c: Likewise.
15068 * benchtests/bench-memcpy-ifunc.c: Likewise.
15069 * benchtests/bench-memmem-ifunc.c: Likewise.
15070 * benchtests/bench-memmove-ifunc.c: Likewise.
15071 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15072 * benchtests/bench-memrchr-ifunc.c: Likewise.
15073 * benchtests/bench-memset-ifunc.c: Likewise.
15074 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15075 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15076 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15077 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15078 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15079 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15080 * benchtests/bench-strcat-ifunc.c: Likewise.
15081 * benchtests/bench-strchr-ifunc.c: Likewise.
15082 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15083 * benchtests/bench-strcmp-ifunc.c: Likewise.
15084 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15085 * benchtests/bench-strcpy-ifunc.c: Likewise.
15086 * benchtests/bench-strcspn-ifunc.c: Likewise.
15087 * benchtests/bench-strlen-ifunc.c: Likewise.
15088 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15089 * benchtests/bench-strncat-ifunc.c: Likewise.
15090 * benchtests/bench-strncmp-ifunc.c: Likewise.
15091 * benchtests/bench-strncpy-ifunc.c: Likewise.
15092 * benchtests/bench-strnlen-ifunc.c: Likewise.
15093 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15094 * benchtests/bench-strrchr-ifunc.c: Likewise.
15095 * benchtests/bench-strsep-ifunc.c: Likewise.
15096 * benchtests/bench-strspn-ifunc.c: Likewise.
15097 * benchtests/bench-strstr-ifunc.c: Likewise.
15099 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15101 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15103 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15105 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15106 * rt/aio.h: Likewise.
15107 * sysdeps/gnu/bits/utmp.h: Likewise.
15108 * sysdeps/gnu/bits/utmpx.h: Likewise.
15109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15110 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15111 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15112 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15113 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15114 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15115 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15116 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15126 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15127 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15128 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15129 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15130 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15131 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15132 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15133 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15135 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15136 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15137 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15140 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15144 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15145 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15146 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15147 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15148 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15149 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15150 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15152 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15155 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15156 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15158 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15160 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15161 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15164 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15167 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15168 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15169 (__fesetround): Remove define.
15170 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15171 rounding and exceptions handling.
15172 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15173 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15174 (__fe_nomask_env): Likewise.
15175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15176 __fegetround instead of fegetround.
15177 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15180 2013-11-21 Roland McGrath <roland@hack.frob.com>
15182 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15185 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15187 2013-11-21 Meador Inge <meadori@codesourcery.com>
15190 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15191 (encrypt_r): Likewise.
15192 * malloc/obstack.h (obstack_free): Likewise.
15193 * posix/unistd.h (encrypt): Likewise.
15195 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15197 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15198 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15199 DL_CALL_DT_FINI() that call the functions directly.
15200 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15201 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15202 * elf/dl-fini.c: Likewise.
15204 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15206 * malloc/hooks.c (memalign_check): Add alignment rounding.
15207 * malloc/malloc.c (_mid_memalign): New function.
15208 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15209 Implement by calling _mid_memalign.
15210 * manual/probes.texi (Memory Allocation Probes): Remove
15211 memory_valloc_retry and memory_pvalloc_retry.
15213 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15215 * locale/programs/locarchive.c (open_archive): Add const
15216 qualifier to ARCHIVEFNAME and copy default fname to
15220 * libio/tst-widetext.input: Rename Oriya to Odia.
15221 * locale/iso-639.def: Likewise.
15223 * manual/probes.texi (Mathematical Function Probes): Add
15224 documentation for sin, cos, asin and acos probes.
15225 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15226 (__sin32): Add slowasin probe.
15227 (__cos32): Add slowacos probe.
15228 (__mpsin): Add slowsin probe.
15229 (__mpcos): Add slowcos probe.
15231 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15234 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15235 thread-local __sim_exceptions_thread and global
15236 __sim_exceptions_global.
15237 (__sim_disabled_exceptions): Change to thread-local
15238 __sim_disabled_exceptions_thread and global
15239 __sim_disabled_exceptions_global.
15240 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15241 and global __sim_round_mode_global.
15242 (__simulate_exceptions): Use thread-local floating-point state and
15243 set global state from it as needed.
15244 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15245 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15246 __sim_round_mode_thread.
15247 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15248 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15249 and global __sim_exceptions_global.
15250 (__sim_disabled_exceptions): Change to thread-local
15251 __sim_disabled_exceptions_thread and global
15252 __sim_disabled_exceptions_global.
15253 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15254 and global __sim_round_mode_global.
15255 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15256 (SIM_SET_GLOBAL): Likewise.
15257 * sysdeps/powerpc/soft-fp/sfp-machine.h
15258 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15259 __sim_round_mode_thread.
15260 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15261 __sim_disabled_exceptions_thread.
15262 (__sim_exceptions): Change to __sim_exceptions_thread.
15263 (__sim_disabled_exceptions): Change to
15264 __sim_disabled_exceptions_thread.
15265 (__sim_round_mode): Change to __sim_round_mode_thread.
15266 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15267 thread-local floating-point state and set global state from it as
15269 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15270 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15271 (__sim_disabled_exceptions): Remove extern declaration.
15272 (feenableexcept): Use thread-local floating-point state and set
15273 global state from it as needed.
15274 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15275 extern declaration.
15276 (__sim_disabled_exceptions): Likewise.
15277 (__sim_round_mode): Likewise.
15278 (__fegetenv): Use thread-local floating-point state.
15279 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15280 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15281 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15282 floating-point state and set global state from it as needed.
15283 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15284 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15285 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15287 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15288 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15290 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15291 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15292 Use __sim_round_mode_thread.
15293 * math/test-fenv-tls.c: New file.
15294 * math/Makefile (tests): Add test-fenv-tls.
15295 ($(objpfx)test-fenv-tls): Depend on
15296 $(common-objpfx)nptl/libpthread.so.
15298 2013-11-19 Andreas Schwab <schwab@suse.de>
15300 * locale/programs/locale.c (show_info): Decode wordarray elements.
15301 * locale/categories.def (LC_MONETARY): Add element for
15302 _NL_MONETARY_CRNCYSTR.
15303 * locale/C-monetary.c (conversion_rate): New variable.
15304 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15307 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15309 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15310 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15312 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15314 * elf/Makefile (tst-auxv): New test.
15315 * elf/tst-auxv.c: New
15316 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15318 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15320 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15321 (hidden_proto): Caller changed.
15322 (hidden_tls_proto): New macro.
15323 (libc_hidden_tls_proto): Likewise.
15324 (rtld_hidden_tls_proto): Likewise.
15325 (libm_hidden_tls_proto): Likewise.
15326 (libresolv_hidden_tls_proto): Likewise.
15327 (librt_hidden_tls_proto): Likewise.
15328 (libdl_hidden_tls_proto): Likewise.
15329 (libnss_files_hidden_tls_proto): Likewise.
15330 (libnsl_hidden_tls_proto): Likewise.
15331 (libnss_nisplus_hidden_tls_proto): Likewise.
15332 (libutil_hidden_tls_proto): Likewise.
15334 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15337 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15338 (decompose_rpath): Defer expansion to fillin_rpath.
15339 (_dl_init_paths): Pass linkmap to fillin_rpath.
15341 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15343 * benchtests/Makefile: Add strsep.
15344 * benchtests/bench-strsep.c: New file: strsep benchtest.
15345 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15347 2013-11-18 Andreas Schwab <schwab@suse.de>
15349 * locale/programs/locale.c (show_info) [case byte]: Check for
15350 '\377' instead of '\177'.
15351 * locale/C-monetary.c (not_available): Always use "\377".
15352 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15353 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15354 detect unavailable sign_posn locale elements.
15355 * locale/localeconv.c (__localeconv): For grouping and
15356 mon_grouping handle "\177" and "\377" like no grouping.
15357 (INT_ELEM): New macro. Use it to set all numeric members.
15358 * locale/programs/ld-monetary.c (monetary_read)
15359 <tok_mon_grouping>: Normalize single -1 to the empty string.
15360 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15363 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15366 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15367 when we match (nil).
15368 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15370 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15372 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15373 (NO_TEST_INLINE): Update value.
15374 (ERRNO_UNCHANGED): Likewise.
15375 (ERRNO_EDOM): Likewise.
15376 (ERRNO_ERANGE): Likewise.
15377 (IGNORE_RESULT): Likewise.
15378 (check_float_internal): Check signs of NaN results if
15379 TEST_NAN_SIGN used.
15380 (check_complex): Pass TEST_NAN_SIGN flag through to second
15381 check_float_internal call.
15382 (copysign_test_data): Add tests with quiet NaNs as second
15383 argument. Use TEST_NAN_SIGN.
15384 (fabs_test_data): Add test of negative quiet NaN argument. Use
15386 (signbit_test_data): Add tests of quiet NaN argument.
15387 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15389 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15391 (parse_args): Handle function results specified as IGNORE.
15392 * math/libm-test.inc (IGNORE_RESULT): New macro.
15393 (check_float_internal): Do not check numerical result if flag
15395 (check_complex): Pass through IGNORE_RESULT to second
15396 check_float_internal call.
15397 (check_int): Do not check numerical result if flag IGNORE_RESULT
15399 (check_long): Likewise.
15400 (check_bool): Likewise.
15401 (check_longlong): Likewise.
15402 (lrint_test_data): Add tests of infinite and NaN arguments.
15403 (lrint_tonearest_test_data): Likewise.
15404 (lrint_towardzero_test_data): Likewise.
15405 (lrint_downward_test_data): Likewise.
15406 (lrint_upward_test_data): Likewise.
15407 (llrint_test_data): Likewise.
15408 (llrint_tonearest_test_data): Likewise.
15409 (llrint_towardzero_test_data): Likewise.
15410 (llrint_downward_test_data): Likewise.
15411 (llrint_upward_test_data): Likewise.
15412 (lround_test_data): Likewise.
15413 (llround_test_data): Likewise.
15415 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15416 (ERRNO_UNCHANGED): Update value.
15417 (ERRNO_EDOM): Likewise.
15418 (ERRNO_ERANGE): Likewise.
15419 (NO_TEST_INLINE_FLOAT): New macro.
15420 (NO_TEST_INLINE_DOUBLE): Likewise.
15421 (enable_test): New function.
15422 (RUN_TEST_f_f): Check enable_test before running test.
15423 (RUN_TEST_2_f): Likewise.
15424 (RUN_TEST_fff_f): Likewise.
15425 (RUN_TEST_c_f): Likewise.
15426 (RUN_TEST_f_f1): Likewise.
15427 (RUN_TEST_fF_f1): Likewise.
15428 (RUN_TEST_fI_f1): Likewise.
15429 (RUN_TEST_ffI_f1): Likewise.
15430 (RUN_TEST_c_c): Likewise.
15431 (RUN_TEST_cc_c): Likewise.
15432 (RUN_TEST_f_i): Likewise.
15433 (RUN_TEST_f_i_tg): Likewise.
15434 (RUN_TEST_ff_i_tg): Likewise.
15435 (RUN_TEST_f_b): Likewise.
15436 (RUN_TEST_f_b_tg): Likewise.
15437 (RUN_TEST_f_l): Likewise.
15438 (RUN_TEST_f_L): Likewise.
15439 (RUN_TEST_fFF_11): Likewise.
15440 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15442 (cosh_test_data): Likewise.
15443 (exp_test_data): Likewise.
15444 (expm1_test_data): Likewise.
15445 (hypot_test_data): Likewise.
15446 (pow_test_data): Likewise.
15447 (sinh_test_data): Likewise.
15448 (tanh_test_data): Likewise.
15449 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15452 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15453 tests with quiet NaN input and output.
15454 (acosh_test_data): Likewise.
15455 (asin_test_data): Likewise.
15456 (asinh_test_data): Likewise.
15457 (atan_test_data): Likewise.
15458 (atanh_test_data): Likewise.
15459 (atan2_test_data): Likewise.
15460 (cbrt_test_data): Likewise.
15461 (cos_test_data): Likewise.
15462 (cosh_test_data): Likewise.
15463 (erf_test_data): Likewise.
15464 (erfc_test_data): Likewise.
15465 (exp_test_data): Likewise.
15466 (exp10_test_data): Likewise.
15467 (exp2_test_data): Likewise.
15468 (expm1_test_data): Likewise.
15469 (hypot_test_data): Likewise.
15470 (j0_test_data): Likewise.
15471 (j1_test_data): Likewise.
15472 (jn_test_data): Likewise.
15473 (lgamma_test_data): Likewise.
15474 (log_test_data): Likewise.
15475 (log10_test_data): Likewise.
15476 (log1p_test_data): Likewise.
15477 (log2_test_data): Likewise.
15478 (pow_test_data): Likewise.
15479 (scalb_test_data): Likewise.
15480 (sin_test_data): Likewise.
15481 (sincos_test_data): Likewise.
15482 (sinh_test_data): Likewise.
15483 (tan_test_data): Likewise.
15484 (tanh_test_data): Likewise.
15485 (tgamma_test_data): Likewise.
15486 (y0_test_data): Likewise.
15487 (y1_test_data): Likewise.
15488 (yn_test_data): Likewise.
15491 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15492 argument being NaN and avoid computations with second argument in
15494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15496 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15498 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15500 * locale/iso-639.def: Add Chitwani Tharu (the).
15502 2013-11-14 Andreas Schwab <schwab@suse.de>
15504 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15505 word instead of empty string.
15507 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15510 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15512 (__fe_nomask_env): Likewise.
15514 2013-11-13 Steve Ellcey <sellcey@mips.com>
15516 * benchtests/bench-timing.h: Include time.h.
15518 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15521 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15523 * sysdeps/unix/sysv/linux/configure: Regenerated.
15525 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15528 * stdlib/strtod_l.c (round_and_return): Do not consider
15529 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15530 exponent one less than half the least subnormal exponent.
15531 * stdlib/test-strtod-round-data: Add more tests.
15532 * stdlib/tst-strtod-round.c (tests): Regenerated.
15534 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15537 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15538 (__fe_mask_env): Likewise.
15539 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15540 libm_hidden_proto and add function prototype.
15541 (__fe_mask_env): Add function prototype.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15543 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15545 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15547 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15549 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15551 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15552 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15554 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15556 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15557 of htab_find_slot().
15559 2013-11-11 David S. Miller <davem@davemloft.net>
15562 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15563 symbol in the non-vis3 case in static builds.
15564 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15565 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15566 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15567 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15569 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15572 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15575 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15577 * benchtests/Makefile: Add bench-strtod.
15578 * benchtests/bench-strtod.c: New file: strtod benchtest
15580 2013-11-11 Andreas Schwab <schwab@suse.de>
15583 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15584 terminating NUL in key length.
15586 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15588 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15589 Add artificial ODP entry for vDSO symbol for PPC64.
15590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15591 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15593 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15596 * nss/getent.c (services_keys): Recognize services starting with digit.
15598 2013-11-06 David S. Miller <davem@davemloft.net>
15601 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15602 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15604 2013-11-06 Will Newton <will.newton@linaro.org>
15606 * manual/memory.texi (Malloc Examples): Remove register
15607 keyword from examples.
15609 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15611 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15613 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15616 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15617 depending on [__GCC_IEC_559 > 0].
15618 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15619 depending on [__GCC_IEC_559_COMPLEX > 0].
15621 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15623 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15626 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15628 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15630 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15633 * malloc/malloc (malloc_info): Do not handle first bin as
15636 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15638 * locale/iso-639.def: Add Central Nahuatl (nhn).
15640 2013-11-01 Bruno Haible <bruno@clisp.org>
15643 * manual/math.texi (BSD Random): Specify range upper bound as
15646 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15648 * locale/iso-639.def: Add Meadow Mari (mhr).
15650 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15652 [BZ #14752], [BZ #15763]
15653 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15655 * rt/tst_shm.c: Add test for escaping directory.
15657 2013-10-31 Andreas Schwab <schwab@suse.de>
15660 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15661 followed by 'x' as part of digit sequence.
15662 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15664 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15667 * configure.ac: allow GNU Make 4.0 and greater.
15668 * configure: Regenerated.
15670 2013-10-30 Will Newton <will.newton@linaro.org>
15673 * malloc/hooks.c (memalign_check): Limit alignment to the
15674 maximum representable power of two.
15675 * malloc/malloc.c (__libc_memalign): Likewise.
15676 * malloc/tst-memalign.c (do_test): Add test for very
15677 large alignment values.
15678 * malloc/tst-posix_memalign.c (do_test): Likewise.
15680 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15683 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15684 (munmap_chunk): Likewise.
15685 (mremap_chunk): Likewise.
15687 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15690 * stdlib/div.c (div): Remove obsolete code.
15691 * stdlib/ldiv.c (ldiv): Likewise.
15692 * stdlib/lldiv.c (lldiv): Likewise.
15694 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15697 * nss/nss_files/files-XXX.c (get_contents_ret): New
15699 (get_contents): New function.
15700 (internal_getent): Use it. Expand size of LINEBUFLEN.
15702 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15704 * configure.in: Moved to ...
15705 * configure.ac: ... here. Change reference to configure.in
15707 * sysdeps/arm/preconfigure.ac: ... here.
15708 configure.in to configure.ac.
15709 * sysdeps/gnu/configure.in: Moved to ...
15710 * sysdeps/gnu/configure.ac: ... here.
15711 * sysdeps/i386/configure.in: Moved to ...
15712 * sysdeps/i386/configure.ac: ... here.
15713 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15714 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15715 * sysdeps/mach/configure.in: Moved to ...
15716 * sysdeps/mach/configure.ac: ... here.
15717 * sysdeps/mach/hurd/configure.in: Moved to ...
15718 * sysdeps/mach/hurd/configure.ac: ... here.
15719 * sysdeps/powerpc/configure.in: Moved to ...
15720 * sysdeps/powerpc/configure.ac: ... here.
15721 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15722 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15723 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15724 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15725 * sysdeps/s390/s390-32/configure.in: Moved to ...
15726 * sysdeps/s390/s390-32/configure.ac: ... here.
15727 * sysdeps/s390/s390-64/configure.in: Moved to ...
15728 * sysdeps/s390/s390-64/configure.ac: ... here.
15729 * sysdeps/sh/configure.in: Moved to ...
15730 * sysdeps/sh/configure.ac: ... here.
15731 * sysdeps/sparc/configure.in: Moved to ...
15732 * sysdeps/sparc/configure.ac: ... here.
15733 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15734 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15735 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15736 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15737 * sysdeps/x86_64/configure.in: Moved to ...
15738 * sysdeps/x86_64/configure.ac: ... here.
15739 * sysdeps/x86_64/preconfigure.in: Moved to ...
15740 * sysdeps/x86_64/preconfigure.ac: ... here.
15741 * aclocal.m4: Change reference to configure.in to configure.ac.
15742 * config.h.in: Likewise.
15743 * manual/install.texi: Likewise.
15744 * manual/maint.texi: Likewise.
15745 * Makefile: Likewise.
15746 * malloc/Makefile: Likewise.
15747 * nscd/Makefile: Likewise.
15748 * Makeconfig: Change reference to configure.in and
15749 preconfigure.in to configure.ac and preconfigure.ac
15751 * INSTALL: Regenerated.
15752 * configure: Likewise.
15753 * sysdeps/gnu/configure: Likewise.
15754 * sysdeps/i386/configure: Likewise.
15755 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15756 * sysdeps/mach/configure: Likewise.
15757 * sysdeps/mach/hurd/configure: Likewise.
15758 * sysdeps/powerpc/configure: Likewise.
15759 * sysdeps/powerpc/powerpc32/configure: Likewise.
15760 * sysdeps/powerpc/powerpc64/configure: Likewise.
15761 * sysdeps/s390/s390-32/configure: Likewise.
15762 * sysdeps/s390/s390-64/configure: Likewise.
15763 * sysdeps/sh/configure: Likewise.
15764 * sysdeps/sparc/configure: Likewise.
15765 * sysdeps/unix/sysv/linux/configure: Likewise.
15766 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15767 * sysdeps/x86_64/configure: Likewise.
15768 * sysdeps/x86_64/preconfigure: Likewise.
15770 2013-10-29 Andreas Schwab <schwab@suse.de>
15772 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15774 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 * benchtests/pow-inputs: Add new inputs.
15778 * benchtests/exp-inputs: Add new inputs.
15780 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15781 conditional check for return value.
15782 (__cos32): Likewise.
15784 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15787 to provide a boost for large inputs with word alignment.
15788 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15789 implementation based on optimized PPC64 strcpy.
15790 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15791 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15792 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15793 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15795 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15798 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15800 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15803 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15804 * time/tst-strptime.c (day_tests): Add testcase.
15806 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15809 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15811 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15814 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15815 MAP_FAILED on error.
15817 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15820 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15821 heap for large requests.
15823 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15826 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15827 result if the result has no associated interface.
15828 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15829 interface for all 127.X.Y.Z addresses.
15831 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15833 * locale/iso-639.def: Add Ligurian (lij)
15835 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15838 * sunrpc/rpc_main.c: Document rpcgen -5.
15840 2013-10-19 Michael Stahl <mstahl@redhat.com>
15842 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15844 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15847 * posix/glob.c: Match only directories when trailing slash is present.
15848 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15849 (main): Add testcase.
15851 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15854 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15856 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15858 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15859 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15860 AUTH_DES and cindex for FIPS 140-2.
15861 (DES Encryption): Add cindex FIPS 46-3.
15863 * locale/locarchive.h (struct locarhandle): Add fname.
15864 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15865 if an optional argument was specified to --list-archive,
15867 * locale/programs/locarchive.c (show_archive_content): Take new
15868 argument fname and pass it via ah.fname to open_archive.
15869 * locale/programs/localedef.h: Update decl.
15870 (open_archive): If AH->fname is non-null, open that file
15871 rather than the default file name, and don't ignore ENOENT.
15872 (create_archive): Set AH.fname to NULL.
15873 (delete_locales_from_archive): Likewise.
15874 (add_locales_to_archive): Likewise.
15875 * locale/programs/locfile.c (write_all_categories): Likewise.
15877 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15878 Aldy Hernandez <aldyh@redhat.com>
15880 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15881 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15882 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15883 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15884 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15885 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15886 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15887 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15888 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15890 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15891 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15892 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15893 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15894 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15896 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15898 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15900 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15902 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15903 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15905 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15906 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15907 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15908 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15910 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15911 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15912 * sysdeps/powerpc/preconfigure: Likewise.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15915 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15916 Replace contents of file by #include of <fenv_libc.h>.
15917 * sysdeps/powerpc/soft-fp/sfp-machine.h
15918 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15920 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15925 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15933 Allow copysignl PLT reference to be missing.
15935 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15936 Joseph Myers <joseph@codesourcery.com
15939 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15941 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15943 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15945 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15946 * elf/tst-tls1.c: Likewise.
15947 * elf/tst-tls10.h: Likewise.
15948 * elf/tst-tls14.c: Likewise.
15949 * elf/tst-tls2.c: Likewise.
15950 * elf/tst-tls3.c: Likewise.
15951 * elf/tst-tls4.c: Likewise.
15952 * elf/tst-tls5.c: Likewise.
15953 * elf/tst-tls6.c: Likewise.
15954 * elf/tst-tls7.c: Likewise.
15955 * elf/tst-tls8.c: Likewise.
15956 * elf/tst-tls9.c: Likewise.
15957 * elf/tst-tlsmod1.c: Likewise.
15958 * elf/tst-tlsmod13.c: Likewise.
15959 * elf/tst-tlsmod13a.c: Likewise.
15960 * elf/tst-tlsmod14a.c: Likewise.
15961 * elf/tst-tlsmod16a.c: Likewise.
15962 * elf/tst-tlsmod16b.c: Likewise.
15963 * elf/tst-tlsmod2.c: Likewise.
15964 * elf/tst-tlsmod3.c: Likewise.
15965 * elf/tst-tlsmod4.c: Likewise.
15966 * elf/tst-tlsmod5.c: Likewise.
15967 * elf/tst-tlsmod6.c: Likewise.
15969 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15972 * malloc/malloc.c: remove checks for statistics.
15974 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15977 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15978 * inet/tst-network.c: Add testcase.
15980 2013-10-17 Andreas Schwab <schwab@suse.de>
15983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15984 to determine canonical name.
15986 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15988 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15989 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16012 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16013 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16018 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16023 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16027 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16028 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16029 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16030 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16031 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16032 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16033 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16034 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16035 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16036 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16037 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16038 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16039 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16042 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16043 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16045 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16047 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16050 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16051 make result into a quiet NaN.
16053 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16055 * soft-fp/adddf3.c: Fix horizontal whitespace.
16056 * soft-fp/addsf3.c: Likewise.
16057 * soft-fp/addtf3.c: Likewise.
16058 * soft-fp/divdf3.c: Likewise.
16059 * soft-fp/divsf3.c: Likewise.
16060 * soft-fp/divtf3.c: Likewise.
16061 * soft-fp/double.h: Likewise.
16062 * soft-fp/eqdf2.c: Likewise.
16063 * soft-fp/eqsf2.c: Likewise.
16064 * soft-fp/eqtf2.c: Likewise.
16065 * soft-fp/extenddftf2.c: Likewise.
16066 * soft-fp/extended.h: Likewise.
16067 * soft-fp/extendsfdf2.c: Likewise.
16068 * soft-fp/extendsftf2.c: Likewise.
16069 * soft-fp/extendxftf2.c: Likewise.
16070 * soft-fp/fixdfdi.c: Likewise.
16071 * soft-fp/fixdfsi.c: Likewise.
16072 * soft-fp/fixdfti.c: Likewise.
16073 * soft-fp/fixsfdi.c: Likewise.
16074 * soft-fp/fixsfsi.c: Likewise.
16075 * soft-fp/fixsfti.c: Likewise.
16076 * soft-fp/fixtfdi.c: Likewise.
16077 * soft-fp/fixtfsi.c: Likewise.
16078 * soft-fp/fixtfti.c: Likewise.
16079 * soft-fp/fixunsdfdi.c: Likewise.
16080 * soft-fp/fixunsdfsi.c: Likewise.
16081 * soft-fp/fixunsdfti.c: Likewise.
16082 * soft-fp/fixunssfdi.c: Likewise.
16083 * soft-fp/fixunssfsi.c: Likewise.
16084 * soft-fp/fixunssfti.c: Likewise.
16085 * soft-fp/fixunstfdi.c: Likewise.
16086 * soft-fp/fixunstfsi.c: Likewise.
16087 * soft-fp/fixunstfti.c: Likewise.
16088 * soft-fp/floatdidf.c: Likewise.
16089 * soft-fp/floatdisf.c: Likewise.
16090 * soft-fp/floatditf.c: Likewise.
16091 * soft-fp/floatsidf.c: Likewise.
16092 * soft-fp/floatsisf.c: Likewise.
16093 * soft-fp/floatsitf.c: Likewise.
16094 * soft-fp/floattidf.c: Likewise.
16095 * soft-fp/floattisf.c: Likewise.
16096 * soft-fp/floattitf.c: Likewise.
16097 * soft-fp/floatundidf.c: Likewise.
16098 * soft-fp/floatundisf.c: Likewise.
16099 * soft-fp/floatunditf.c: Likewise.
16100 * soft-fp/floatunsidf.c: Likewise.
16101 * soft-fp/floatunsisf.c: Likewise.
16102 * soft-fp/floatunsitf.c: Likewise.
16103 * soft-fp/floatuntidf.c: Likewise.
16104 * soft-fp/floatuntisf.c: Likewise.
16105 * soft-fp/floatuntitf.c: Likewise.
16106 * soft-fp/fmadf4.c: Likewise.
16107 * soft-fp/fmasf4.c: Likewise.
16108 * soft-fp/fmatf4.c: Likewise.
16109 * soft-fp/gedf2.c: Likewise.
16110 * soft-fp/gesf2.c: Likewise.
16111 * soft-fp/getf2.c: Likewise.
16112 * soft-fp/ledf2.c: Likewise.
16113 * soft-fp/lesf2.c: Likewise.
16114 * soft-fp/letf2.c: Likewise.
16115 * soft-fp/muldf3.c: Likewise.
16116 * soft-fp/mulsf3.c: Likewise.
16117 * soft-fp/multf3.c: Likewise.
16118 * soft-fp/negdf2.c: Likewise.
16119 * soft-fp/negsf2.c: Likewise.
16120 * soft-fp/negtf2.c: Likewise.
16121 * soft-fp/op-1.h: Likewise.
16122 * soft-fp/op-2.h: Likewise.
16123 * soft-fp/op-4.h: Likewise.
16124 * soft-fp/op-8.h: Likewise.
16125 * soft-fp/op-common.h: Likewise.
16126 * soft-fp/quad.h: Likewise.
16127 * soft-fp/single.h: Likewise.
16128 * soft-fp/soft-fp.h: Likewise.
16129 * soft-fp/sqrtdf2.c: Likewise.
16130 * soft-fp/sqrtsf2.c: Likewise.
16131 * soft-fp/sqrttf2.c: Likewise.
16132 * soft-fp/subdf3.c: Likewise.
16133 * soft-fp/subsf3.c: Likewise.
16134 * soft-fp/subtf3.c: Likewise.
16135 * soft-fp/truncdfsf2.c: Likewise.
16136 * soft-fp/trunctfdf2.c: Likewise.
16137 * soft-fp/trunctfsf2.c: Likewise.
16138 * soft-fp/trunctfxf2.c: Likewise.
16139 * soft-fp/unorddf2.c: Likewise.
16140 * soft-fp/unordsf2.c: Likewise.
16141 * soft-fp/unordtf2.c: Likewise.
16143 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16145 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16146 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16148 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16150 * elf/dl-libc.c: Clear initfini list after freeing.
16152 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16154 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16155 * soft-fp/addsf3.c: Likewise.
16156 * soft-fp/addtf3.c: Likewise.
16157 * soft-fp/divdf3.c: Likewise.
16158 * soft-fp/divsf3.c: Likewise.
16159 * soft-fp/divtf3.c: Likewise.
16160 * soft-fp/double.h: Likewise.
16161 * soft-fp/eqdf2.c: Likewise.
16162 * soft-fp/eqsf2.c: Likewise.
16163 * soft-fp/eqtf2.c: Likewise.
16164 * soft-fp/extenddftf2.c: Likewise.
16165 * soft-fp/extended.h: Likewise.
16166 * soft-fp/extendsfdf2.c: Likewise.
16167 * soft-fp/extendsftf2.c: Likewise.
16168 * soft-fp/extendxftf2.c: Likewise.
16169 * soft-fp/fixdfdi.c: Likewise.
16170 * soft-fp/fixdfsi.c: Likewise.
16171 * soft-fp/fixdfti.c: Likewise.
16172 * soft-fp/fixsfdi.c: Likewise.
16173 * soft-fp/fixsfsi.c: Likewise.
16174 * soft-fp/fixsfti.c: Likewise.
16175 * soft-fp/fixtfdi.c: Likewise.
16176 * soft-fp/fixtfsi.c: Likewise.
16177 * soft-fp/fixtfti.c: Likewise.
16178 * soft-fp/fixunsdfdi.c: Likewise.
16179 * soft-fp/fixunsdfsi.c: Likewise.
16180 * soft-fp/fixunsdfti.c: Likewise.
16181 * soft-fp/fixunssfdi.c: Likewise.
16182 * soft-fp/fixunssfsi.c: Likewise.
16183 * soft-fp/fixunssfti.c: Likewise.
16184 * soft-fp/fixunstfdi.c: Likewise.
16185 * soft-fp/fixunstfsi.c: Likewise.
16186 * soft-fp/fixunstfti.c: Likewise.
16187 * soft-fp/floatdidf.c: Likewise.
16188 * soft-fp/floatdisf.c: Likewise.
16189 * soft-fp/floatditf.c: Likewise.
16190 * soft-fp/floatsidf.c: Likewise.
16191 * soft-fp/floatsisf.c: Likewise.
16192 * soft-fp/floatsitf.c: Likewise.
16193 * soft-fp/floattidf.c: Likewise.
16194 * soft-fp/floattisf.c: Likewise.
16195 * soft-fp/floattitf.c: Likewise.
16196 * soft-fp/floatundidf.c: Likewise.
16197 * soft-fp/floatundisf.c: Likewise.
16198 * soft-fp/floatunsidf.c: Likewise.
16199 * soft-fp/floatunsisf.c: Likewise.
16200 * soft-fp/floatuntidf.c: Likewise.
16201 * soft-fp/floatuntisf.c: Likewise.
16202 * soft-fp/floatuntitf.c: Likewise.
16203 * soft-fp/fmadf4.c: Likewise.
16204 * soft-fp/fmasf4.c: Likewise.
16205 * soft-fp/fmatf4.c: Likewise.
16206 * soft-fp/gedf2.c: Likewise.
16207 * soft-fp/gesf2.c: Likewise.
16208 * soft-fp/getf2.c: Likewise.
16209 * soft-fp/ledf2.c: Likewise.
16210 * soft-fp/lesf2.c: Likewise.
16211 * soft-fp/letf2.c: Likewise.
16212 * soft-fp/muldf3.c: Likewise.
16213 * soft-fp/mulsf3.c: Likewise.
16214 * soft-fp/multf3.c: Likewise.
16215 * soft-fp/negdf2.c: Likewise.
16216 * soft-fp/negsf2.c: Likewise.
16217 * soft-fp/negtf2.c: Likewise.
16218 * soft-fp/op-1.h: Likewise.
16219 * soft-fp/op-2.h: Likewise.
16220 * soft-fp/op-4.h: Likewise.
16221 * soft-fp/op-8.h: Likewise.
16222 * soft-fp/op-common.h: Likewise.
16223 * soft-fp/quad.h: Likewise.
16224 * soft-fp/single.h: Likewise.
16225 * soft-fp/soft-fp.h: Likewise.
16226 * soft-fp/sqrtdf2.c: Likewise.
16227 * soft-fp/sqrtsf2.c: Likewise.
16228 * soft-fp/sqrttf2.c: Likewise.
16229 * soft-fp/subdf3.c: Likewise.
16230 * soft-fp/subsf3.c: Likewise.
16231 * soft-fp/subtf3.c: Likewise.
16232 * soft-fp/truncdfsf2.c: Likewise.
16233 * soft-fp/trunctfdf2.c: Likewise.
16234 * soft-fp/trunctfsf2.c: Likewise.
16235 * soft-fp/trunctfxf2.c: Likewise.
16236 * soft-fp/unorddf2.c: Likewise.
16237 * soft-fp/unordsf2.c: Likewise.
16238 * soft-fp/unordtf2.c: Likewise.
16240 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16243 * misc/error.c (error_tail): Fix possible buffer overflow.
16245 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16248 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16251 2013-10-14 P. J. McDermott <pj@pehjota.net>
16254 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16255 testing pipefail option.
16257 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16259 * soft-fp/double.h: Indent preprocessor directives inside #if.
16260 * soft-fp/extended.h: Likewise.
16261 * soft-fp/op-2.h: Likewise.
16262 * soft-fp/op-4.h: Likewise.
16263 * soft-fp/op-common.h: Likewise.
16264 * soft-fp/quad.h: Likewise.
16265 * soft-fp/single.h: Likewise.
16266 * soft-fp/soft-fp.h: Likewise.
16268 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16270 * iconv/iconv_prog.c: Fix typos.
16271 * stdio-common/psiginfo-data.h: Likewise.
16273 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16276 * locale/setlocale.c: Fix typo.
16278 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16281 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16282 signaling NaN arguments.
16283 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16284 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16287 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16288 unordered operands.
16289 * soft-fp/gesf2.c (__gesf2): Likewise.
16290 * soft-fp/getf2.c (__getf2): Likewise.
16291 * soft-fp/ledf2.c (__ledf2): Likewise.
16292 * soft-fp/lesf2.c (__lesf2): Likewise.
16293 * soft-fp/letf2.c (__letf2): Likewise.
16295 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16296 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16297 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16298 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16299 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16300 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16301 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16302 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16303 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16304 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16305 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16306 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16307 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16308 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16309 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16310 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16311 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16312 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16313 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16314 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16315 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16316 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16317 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16318 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16319 * soft-fp/floattidf.c (__floattidf): Likewise.
16320 * soft-fp/floattisf.c (__floattisf): Likewise.
16321 * soft-fp/floattitf.c (__floattitf): Likewise.
16322 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16323 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16324 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16325 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16326 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16327 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16328 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16329 * soft-fp/gesf2.c (__gesf2): Likewise.
16330 * soft-fp/getf2.c (__getf2): Likewise.
16331 * soft-fp/ledf2.c (__ledf2): Likewise.
16332 * soft-fp/lesf2.c (__lesf2): Likewise.
16333 * soft-fp/letf2.c (__letf2): Likewise.
16335 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16336 Undefine and redefine.
16337 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16338 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16339 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16340 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16341 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16342 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16343 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16344 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16345 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16346 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16347 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16348 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16349 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16350 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16351 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16354 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16355 without decrementing exponent if mantissa >= that for the
16356 denominator, not >.
16357 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16358 denominator, not >. Decrement exponent in < case instead of
16359 incrementing in >= case.
16360 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16361 without decrementing exponent if mantissa >= that for the
16362 denominator, not >.
16364 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16365 computing saturated result for unsigned overflow.
16367 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16368 Jeff Law <law@redhat.com>
16370 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16371 (atan2Mp): Add systemtap probe marker.
16372 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16373 (__ieee754_log): Add systemtap probe marker.
16374 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16375 (atanMp): Add systemtap probe marker.
16376 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16377 (tanMp): Add systemtap probe marker.
16378 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16379 (__slowexp): Add systemtap probe marker.
16380 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16381 (__slowpow): Add systemtap probe marker.
16382 * manual/probes.texi: Document probes.
16384 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16387 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16389 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16391 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16392 written to buffer but not flushed.
16393 * libio/iofwrite_u.c: Likewise.
16394 * libio/iopadn.c: Return bytes returned even if EOF was
16396 * libio/iowpadn.c: Likewise.
16397 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16398 if _IO_padn does not write the whole buffer.
16399 [!COMPILE_WPRINTF] (PAD): Likewise.
16401 2013-10-10 David S. Miller <davem@davemloft.net>
16403 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16406 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16408 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16409 instead of FSF address.
16410 * soft-fp/fixdfti.c: Likewise.
16411 * soft-fp/fixsfti.c: Likewise.
16412 * soft-fp/fixtfti.c: Likewise.
16413 * soft-fp/fixunsdfti.c: Likewise.
16414 * soft-fp/fixunssfti.c: Likewise.
16415 * soft-fp/fixunstfti.c: Likewise.
16416 * soft-fp/floattidf.c: Likewise.
16417 * soft-fp/floattisf.c: Likewise.
16418 * soft-fp/floattitf.c: Likewise.
16419 * soft-fp/floatuntidf.c: Likewise.
16420 * soft-fp/floatuntisf.c: Likewise.
16421 * soft-fp/floatuntitf.c: Likewise.
16422 * soft-fp/trunctfxf2.c: Likewise.
16424 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16425 * soft-fp/fixdfti.c: Likewise.
16426 * soft-fp/fixsfti.c: Likewise.
16427 * soft-fp/fixtfti.c: Likewise.
16428 * soft-fp/fixunsdfti.c: Likewise.
16429 * soft-fp/fixunssfti.c: Likewise.
16430 * soft-fp/fixunstfti.c: Likewise.
16431 * soft-fp/floattidf.c: Likewise.
16432 * soft-fp/floattisf.c: Likewise.
16433 * soft-fp/floattitf.c: Likewise.
16434 * soft-fp/floatuntidf.c: Likewise.
16435 * soft-fp/floatuntisf.c: Likewise.
16436 * soft-fp/floatuntitf.c: Likewise.
16437 * soft-fp/trunctfxf2.c: Likewise.
16439 2013-10-10 David S. Miller <davem@davemloft.net>
16441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16443 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16445 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16446 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16447 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16448 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16449 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16450 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16451 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16454 for NaNs before doing comparisons on argument.
16455 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16458 2013-10-10 Will Newton <will.newton@linaro.org>
16460 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16461 passed to _int_memalign does not overflow.
16463 2013-10-10 Torvald Riegel <triegel@redhat.com>
16465 * scripts/bench.pl: Add include-sources directive.
16466 * benchtests/README: Update documentation.
16468 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16470 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16471 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16472 instead of FP_INIT_ROUNDMODE.
16473 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16474 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16477 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16478 copy class of input value.
16479 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16480 not handle exceptions.
16481 * soft-fp/negsf2.c (__negsf2): Likewise.
16482 * soft-fp/negtf2.c (__negtf2): Likewise.
16483 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16485 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16487 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16488 semicolon. From Linux kernel.
16490 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16492 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16494 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16497 * manual/socket.texi: Added statement about buffer
16498 for gethostbyname2_r.
16500 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16502 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16503 Use .p2align directive instead, throughout.
16504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16505 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16506 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16508 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16509 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16510 * sysdeps/x86_64/strchr.S: Likewise.
16511 * sysdeps/x86_64/strrchr.S: Likewise.
16513 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16515 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16517 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16519 * sysdeps/generic/math_private.h (__mpsin1): Remove
16521 (__mpcos1): Likewise.
16522 (__mpsin): New argument __range_reduce.
16523 (__mpcos): Likewise.
16524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16525 (slow): Use __mpsin and __mpcos.
16529 (sloww1): Likewise.
16530 (sloww2): Likewise.
16531 (bsloww): Likewise.
16532 (bsloww1): Likewise.
16533 (bsloww2): Likewise.
16534 (cslow2): Likewise.
16535 (csloww): Likewise.
16536 (csloww1): Likewise.
16537 (csloww2): Likewise.
16538 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16539 range_reduce. Merge in __mpsin1.
16540 (__mpcos): Likewise.
16541 (__mpsin1): Remove.
16542 (__mpcos1): Likewise.
16544 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16546 * locale/loadlocale.c (_nl_intern_locale_data): Use
16548 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16549 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16550 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16551 obstack data is appropriately aligned.
16552 (obstack_int32_grow_fast): Likewise.
16553 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16554 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16555 (add_locale_uint32_array): Likewise.
16557 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16559 * benchtests/Makefile: Remove ARGLIST and RET variables.
16560 ($(objpfx)bench-%.c): Pass only function name to the script.
16561 * benchtests/README: Update documentation.
16562 * benchtests/acos-inputs: Add new directives.
16563 * benchtests/acosh-inputs: Likewise.
16564 * benchtests/asin-inputs: Likewise.
16565 * benchtests/asinh-inputs: Likewise.
16566 * benchtests/atan-inputs: Likewise.
16567 * benchtests/atanh-inputs: Likewise.
16568 * benchtests/cos-inputs: Likewise.
16569 * benchtests/cosh-inputs: Likewise.
16570 * benchtests/exp-inputs: Likewise.
16571 * benchtests/log-inputs: Likewise.
16572 * benchtests/pow-inputs: Likewise.
16573 * benchtests/rint-inputs: Likewise.
16574 * benchtests/sin-inputs: Likewise.
16575 * benchtests/sinh-inputs: Likewise.
16576 * benchtests/tan-inputs: Likewise.
16577 * benchtests/tanh-inputs: Likewise.
16578 * scripts/bench.pl: Add support for new directives.
16580 2013-10-07 Alan Modra <amodra@gmail.com>
16582 * README: Fix careless merge.
16584 2013-10-05 Alan Modra <amodra@gmail.com>
16586 * NEWS: Mention powerpc64le support and bugs fixed.
16587 * README: Both big-endian and little-endian powerpc64 supported.
16589 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16591 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16592 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16593 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16594 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16596 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16598 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16601 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16603 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16604 Move -mhard-float appending from
16605 ports/sysdeps/powerpc/powerpc32/Makefile.
16606 [$(with-fp) = yes] (ASFLAGS): Likewise.
16607 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16608 * sysdeps/powerpc/nofpu: Move directory from
16609 ports/sysdeps/powerpc/nofpu.
16610 * sysdeps/powerpc/soft-fp: Move directory from
16611 ports/sysdeps/powerpc/soft-fp.
16612 * sysdeps/powerpc/powerpc32/405: Move directory from
16613 ports/sysdeps/powerpc/powerpc32/405.
16614 * sysdeps/powerpc/powerpc32/440: Move directory from
16615 ports/sysdeps/powerpc/powerpc32/440.
16616 * sysdeps/powerpc/powerpc32/464: Move directory from
16617 ports/sysdeps/powerpc/powerpc32/464.
16618 * sysdeps/powerpc/powerpc32/476: Move directory from
16619 ports/sysdeps/powerpc/powerpc32/476.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16621 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16623 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16625 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16627 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16629 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16630 * README: Update for powerpc-*-linux-gnu software floating point
16633 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16634 case to powerpc/powerpc32*.
16635 * sysdeps/unix/sysv/linux/configure: Regenerated.
16637 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16638 (_FPU_MASK_OM): Define as 0x04.
16639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16647 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16650 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16653 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16654 and setcontext_e500.
16656 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16658 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16660 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16662 * manual/threads.texi (Default Thread Attributes): Fix typo.
16664 2013-10-04 Will Newton <will.newton@linaro.org>
16666 * malloc/Makefile: Add tst-memalign.
16667 * malloc/tst-memalign.c: New file.
16669 * malloc/tst-posix_memalign.c: Add comments.
16670 (do_test): Add comments and call free on all potentially
16671 allocated pointers. Add space after cast.
16673 * malloc/tst-pvalloc.c: Add comments.
16674 (do_test): Add comments and call free on all potentially
16675 allocated pointers. Remove duplicate check for NULL pointer.
16676 Add space after cast.
16678 * malloc/tst-valloc.c: Add comments.
16679 (do_test): Add comments and call free on all potentially
16680 allocated pointers. Remove duplicate check for NULL pointer.
16681 Add space after cast.
16683 2013-10-04 Alan Modra <amodra@gmail.com>
16685 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16686 Use stdint types in rather than __attribute__((mode())).
16687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16689 2013-10-04 Alan Modra <amodra@gmail.com>
16691 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16692 Correct handling of unaligned relocs for little-endian.
16693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16695 2013-10-04 Alan Modra <amodra@gmail.com>
16697 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16698 * configure: Regenerate.
16699 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16700 * shlib-versions: Likewise.
16702 2013-10-04 Alan Modra <amodra@gmail.com>
16704 * string/tester.c (test_memrchr): Increment reported test cycle.
16706 2013-10-04 Alan Modra <amodra@gmail.com>
16708 * string/test-memcpy.c (do_one_test): When reporting errors, print
16709 string address and don't overrun end of string.
16711 2013-10-04 Alan Modra <amodra@gmail.com>
16713 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16714 insrdi. Make better use of reg selection to speed exit slightly.
16715 Schedule entry path a little better. Remove useless "are we done"
16716 checks on entry to main loop. Handle wrapping around zero address.
16717 Correct main loop count. Handle single left-over word from main
16718 loop inline rather than by using loop_small. Remove extra word
16719 case in loop_small caused by wrong loop count. Add little-endian
16721 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16722 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16724 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16725 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16726 support. Avoid rlwimi.
16727 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16729 2013-10-04 Alan Modra <amodra@gmail.com>
16731 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16732 insrdi. Formatting.
16733 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16734 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16735 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16736 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16737 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16738 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16740 2013-10-04 Alan Modra <amodra@gmail.com>
16742 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16745 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16746 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16748 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16750 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16751 use of regs. Use power7 mtocrf. Tidy function tails.
16753 2013-10-04 Alan Modra <amodra@gmail.com>
16755 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16756 Formatting. Consistently use rXXX register defines or rN defines.
16757 Use early exit labels that avoid restoring unused non-volatile regs.
16758 Make cr field use more consistent with rWORDn compares. Rename
16759 regs used as shift registers for unaligned loop, using rN defines
16760 for short lifetime/multiple use regs.
16761 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16763 addi 1,1,64 to pop stack frame. Simplify return value code.
16764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16766 2013-10-04 Alan Modra <amodra@gmail.com>
16768 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16769 support. Correct typos, formatting. Optimize tail. Use insrdi
16770 rather than rlwimi.
16771 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16772 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16773 little-endian support. Correct typos.
16774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16775 rather than rlwimi.
16776 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16777 in loop and entry code to keep "and." results.
16778 (strchr): Add little-endian support. Comment. Move cntlzd
16780 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16782 2013-10-04 Alan Modra <amodra@gmail.com>
16784 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16785 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16786 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16787 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16789 2013-10-04 Alan Modra <amodra@gmail.com>
16791 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16792 (rTMP): Define as r11.
16793 (strcmp): Add little-endian support. Optimise tail.
16794 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16795 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16796 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16797 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16798 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16799 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16802 2013-10-04 Alan Modra <amodra@gmail.com>
16804 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16805 little-endian support. Remove unnecessary "are we done" tests.
16806 Handle "s" wrapping around zero and extremely large "size".
16807 Correct main loop count. Handle single left-over word from main
16808 loop inline rather than by using small_loop. Correct comments.
16809 Delete "zero" tail, use "end_max" instead.
16810 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16812 2013-10-04 Alan Modra <amodra@gmail.com>
16814 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16815 support. Don't branch over align.
16816 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16817 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16818 support. Rearrange tmp reg use to suit. Comment.
16819 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16821 2013-10-04 Alan Modra <amodra@gmail.com>
16823 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16825 2013-10-04 Alan Modra <amodra@gmail.com>
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16828 conditional form of branch and link when obtaining pc.
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16831 2013-10-04 Alan Modra <amodra@gmail.com>
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16838 2013-10-04 Alan Modra <amodra@gmail.com>
16840 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16841 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16842 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16843 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16844 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16845 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16846 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16847 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16848 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16849 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16851 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16852 Alistair Popple <alistair@ozlabs.au.ibm.com>
16853 Alan Modra <amodra@gmail.com>
16856 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16857 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16858 _dl_hwcap access for little-endian.
16859 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16860 destroy vmx regs when saving unaligned.
16861 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16862 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16863 destroy vmx regs when saving unaligned.
16865 2013-10-04 Alan Modra <amodra@gmail.com>
16867 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16868 Don't use a union to pack hi/low value.
16870 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16872 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16874 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16875 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16876 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16877 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16878 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16880 2013-10-04 Alan Modra <amodra@gmail.com>
16882 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16883 constants to usual value for .cst8 section, and remove redundant
16885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16886 constant for 0x1p52. Load little-endian words of double from
16887 correct stack offsets.
16889 2013-10-04 Alan Modra <amodra@gmail.com>
16891 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16892 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16893 words of double from correct stack offsets.
16894 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16895 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16896 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16901 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16902 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16905 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16906 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16908 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16909 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16910 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16912 2013-10-04 Alan Modra <amodra@gmail.com>
16914 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16915 64-bit int/double union.
16916 (_FPU_SETCW): Likewise.
16917 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16918 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16920 2013-10-04 Alan Modra <amodra@gmail.com>
16922 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16923 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16925 2013-10-04 Alan Modra <amodra@gmail.com>
16927 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16928 use vector int constants.
16929 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16931 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16933 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16934 array with long long.
16935 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16936 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16937 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16938 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16939 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16940 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16941 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16942 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16943 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16944 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16945 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16946 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16947 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16949 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16951 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16952 (__signbit): Likewise. Correct for little-endian.
16953 (__signbitl): Call __signbit.
16954 (lrint): Correct for little-endian.
16955 (lrintf): Call lrint.
16957 2013-10-04 Alan Modra <amodra@gmail.com>
16959 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16960 union 32-bit int array member with 64-bit int array.
16961 (t515, tm256): Double rather than long double.
16962 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16964 2013-10-04 Alan Modra <amodra@gmail.com>
16966 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16968 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16970 version of math_ldbl.h.
16972 2013-10-04 Alan Modra <amodra@gmail.com>
16974 [BZ #15734], [BZ #15735]
16975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16976 all uses of ieee875 long double macros and unions. Simplify test
16977 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16978 ldbl_extract_mantissa value for ix,iy exponents. Properly
16979 normalize after ldbl_extract_mantissa, and don't add hidden bit
16980 already handled. Don't treat low word of ieee854 mantissa like
16981 low word of IBM long double and mask off bit when testing for
16983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16984 all uses of ieee875 long double macros and unions. Simplify tests
16985 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16986 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16987 two1022, instead use their values. Recognise that tests for large
16988 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16990 Rewrite all uses of ieee875 long double macros and unions. Simplify
16991 test for 0.0L and nan. Correct negation.
16992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16993 ieee875 long double macros and unions. Correct output for large
16994 magnitude x. Correct absolute value calculation.
16995 (__erfcl): Likewise.
16996 * math/libm-test.inc: Add tests for errors discovered in IBM long
16997 double versions of fmodl, remainderl, erfl and erfcl.
16999 2013-10-04 Alan Modra <amodra@gmail.com>
17001 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17002 all uses of ieee854 long double macros and unions. Simplify tests
17003 for long doubles that are fully specified by the high double.
17004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17006 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17007 Remove dead code too.
17008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17009 (__ieee754_ynl): Likewise.
17010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17013 Remove dead code too.
17014 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17016 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17017 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17019 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17024 Comment on variable precision.
17025 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17028 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17032 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17034 2013-10-04 Alan Modra <amodra@gmail.com>
17036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17037 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17038 all uses of ieee854 long double macros and unions.
17039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17052 Simplify sign and nan test too.
17053 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17058 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17068 2013-10-04 Alan Modra <amodra@gmail.com>
17070 * stdio-common/printf_size.c (__printf_size): Don't use
17071 union ieee854_long_double in fpnum union.
17072 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17073 signbit macro to retrieve sign from long double.
17074 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17075 retrieve sign from long double.
17076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17077 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17079 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17080 * math/test-misc.c (main): Don't use union ieee854_long_double.
17082 2013-10-04 Alan Modra <amodra@gmail.com>
17085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17086 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17087 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17088 calculation. Remove unnecessary test for denormal exponent.
17089 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17090 Correct handling of denormals. Avoid undefined shift behaviour.
17091 Correct normalisation of low mantissa when low double is denormal.
17092 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17093 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17094 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17095 Correct normalisation of low mantissa. Test for overflow of high
17096 mantissa and normalise.
17097 (ldbl_nearbyint): Use more readable constant for two52.
17098 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17099 (__mpn_construct_long_double): Fix test for overflow of high
17100 mantissa and correct normalisation. Avoid undefined shift.
17102 2013-10-04 Alan Modra <amodra@gmail.com>
17104 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17105 (union ibm_extended_long_double): Define as an array of ieee754_double.
17106 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17107 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17108 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17109 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17113 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17118 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17120 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17121 page size instead of calling getpagesize.
17123 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17124 (LOCFILE_ALIGN_MASK): Likewise.
17125 (LOCFILE_ALIGN_UP): Likewise.
17126 (LOCFILE_ALIGNED_P): Likewise.
17127 * locale/programs/ld-collate.c (collate_output): Use the new
17128 macros instead of __alignof__ (int32_t).
17129 * locale/weight.h (findidx): Likewise.
17131 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17134 * manual/string.texi: Fix strncat and wcsncat.
17136 2013-10-03 Brooks Moses <bmoses@google.com>
17139 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17140 * Makerules: ...here, and adjust associated comments.
17142 2013-10-02 Will Newton <will.newton@linaro.org>
17144 * malloc/Makefile: Add tst-pvalloc.
17145 * malloc/tst-pvalloc.c: New file.
17147 2013-10-02 Will Newton <will.newton@linaro.org>
17149 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17150 improve test coverage.
17152 2013-10-02 Will Newton <will.newton@linaro.org>
17154 * malloc/Makefile: Add tst-posix_memalign.
17155 * malloc/tst-posix_memalign.c: New file.
17157 2013-10-01 Eric Blake <eblake@redhat.com>
17159 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17160 Use __THROWNL rather than __THROW on static functions.
17162 2013-09-30 Petr Machata <pmachata@redhat.com>
17164 * elf/elf.h (R_AARCH64_ABS16): New macro.
17165 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17166 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17167 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17168 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17169 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17170 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17171 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17172 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17173 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17174 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17175 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17176 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17177 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17178 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17179 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17180 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17181 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17182 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17183 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17184 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17185 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17186 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17187 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17188 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17189 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17190 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17191 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17192 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17193 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17194 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17195 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17196 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17197 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17198 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17199 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17200 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17201 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17202 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17203 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17204 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17205 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17206 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17207 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17208 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17209 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17210 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17211 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17212 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17213 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17214 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17215 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17216 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17217 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17218 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17219 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17220 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17221 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17222 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17223 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17224 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17225 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17226 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17227 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17228 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17229 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17230 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17231 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17232 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17233 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17234 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17235 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17236 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17237 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17238 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17239 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17240 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17241 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17242 (R_AARCH64_TLSDESC_LDR): Likewise.
17243 (R_AARCH64_TLSDESC_ADD): Likewise.
17244 (R_AARCH64_TLSDESC_CALL): Likewise.
17246 2013-09-30 Andreas Schwab <schwab@suse.de>
17249 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17250 the nss database lookup.
17251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17254 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17256 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17258 2013-09-28 P. J. McDermott <pj@pehjota.net>
17260 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17261 ${Bash-specific parameter/pattern/string} parameter expansion.
17262 * sysdeps/unix/make-syscalls.sh: Likewise.
17264 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17266 * sysdeps/sh/stackguard-macros.h: New file.
17268 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17272 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17273 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17274 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17275 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17277 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17279 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17280 Fix thread ID register.
17282 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17284 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17285 [POSIX || UNIX98]: Require rather than permitting all symbols from
17287 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17288 element of struct sched_param.
17289 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17290 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17291 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17292 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17295 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17297 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17298 argument calculation.
17300 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17302 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17304 [POSIX] (pthread_attr_t): Do not require type.
17305 [POSIX] (pthread_cond_t): Likewise.
17306 [POSIX] (pthread_condattr_t): Likewise.
17307 [POSIX] (pthread_key_t): Likewise.
17308 [POSIX] (pthread_mutex_t): Likewise.
17309 [POSIX] (pthread_mutexattr_t): Likewise.
17310 [POSIX] (pthread_once_t): Likewise.
17311 [POSIX] (pthread_t): Likewise.
17312 [POSIX-based standards] (pthread_atfork): Expect function.
17314 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17315 Richard Sandiford <richard@codesourcery.com>
17317 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17318 (swap_endianness_p): New extern variable.
17319 (set_big_endian): New inline function.
17320 (maybe_swap_uint32): Likewise.
17321 (maybe_swap_uint32_array): Likewise.
17322 (maybe_swap_uint32_obstack): Likewise.
17323 * locale/programs/locfile.c: Include <stdbool.h>.
17324 (swap_endianness_p): New variable.
17325 (add_locale_uint32): Call maybe_swap_uint32.
17326 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17327 (write_locale_data): Call maybe_swap_uint32_array.
17328 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17330 (obstack_int32_grow_fast): Likewise.
17331 (output_weightwc): Call maybe_swap_uint32_obstack.
17332 (collate_output): Likewise.
17333 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17334 (OPT_LITTLE_ENDIAN): Likewise.
17335 (options): Add --little-endian and --big-endian options.
17336 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17337 * locale/programs/locarchive.c: Include "locfile.h".
17341 (create_archive): Use the new macros to access fields of
17342 structures directly mapped from or written to locale archives.
17343 (oldlocrecentcmp): Likewise.
17344 (enlarge_archive): Likewise.
17345 (insert_name): Likewise.
17346 (add_alias): Likewise.
17347 (add_locale): Likewise.
17348 (delete_locales_from_archive): Likewise.
17349 (show_archive_content): Likewise.
17350 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17353 2013-09-24 Roland McGrath <roland@hack.frob.com>
17355 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17356 http://www.gnu.org/doc/freemanuals.texi.
17357 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17359 2013-09-24 Will Newton <will.newton@linaro.org>
17361 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17364 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17366 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17369 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17371 * manual/threads.texi (POSIX Threads): Fix a typo.
17373 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17376 * string/tst-strcoll-overflow.c: New test case.
17377 * string/Makefile (xtests): Add tst-strcoll-overflow.
17378 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17379 cache if string sizes may cause integer overflow.
17382 * string/strcoll_l.c (coll_seq): New members rule, idx,
17383 save_idx and back_us.
17384 (get_next_seq_nocache): New function.
17385 (do_compare_nocache): New function.
17386 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17389 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17392 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17393 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17394 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17397 * elf/Makefile (tests): Add tst-ptrguard1.
17398 (tests-static): Add tst-ptrguard1-static.
17399 (tst-ptrguard1-ARGS): Define.
17400 (tst-ptrguard1-static-ARGS): Define.
17401 * elf/tst-ptrguard1.c: New file.
17402 * elf/tst-ptrguard1-static.c: New file.
17403 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17404 * sysdeps/i386/stackguard-macros.h: Likewise.
17405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17412 2013-09-23 Hector Marco <hecmargi@upv.es>
17413 Ismael Ripoll <iripoll@disca.upv.es>
17414 Carlos O'Donell <carlos@redhat.com>
17417 * sysdeps/generic/stackguard-macros.h: Define
17418 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17419 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17420 Define __pointer_chk_guard_local.
17421 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17422 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17424 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17427 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17429 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17431 * include/string.h (__ffs): Declare as hidden.
17432 * string/ffs.c (__ffs): Define as hidden.
17433 * sysdeps/i386/ffs.c (__ffs): Likewise.
17434 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17435 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17436 * sysdeps/s390/ffs.c (__ffs): Likewise.
17437 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17439 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17441 * NEWS: Mention malloc probes.
17443 * malloc/arena.c (new_heap): New memory_heap_new probe.
17444 (grow_heap): New memory_heap_more probe.
17445 (shrink_heap): New memory_heap_less probe.
17446 (heap_trim): New memory_heap_free probe.
17447 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17448 (systrim): New memory_sbrk_less probe.
17449 * manual/probes.texi: Document them.
17451 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17452 * manual/probes.texi: Document it.
17454 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17455 (__libc_realloc): Add memory_realloc_retry probe.
17456 (__libc_memalign): Add memory_memalign_retry probe.
17457 (__libc_valloc): Add memory_valloc_retry probe.
17458 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17459 (__libc_calloc): Add memory_calloc_retry probe.
17460 * manual/probes.texi: Document them.
17462 * malloc/arena.c (get_free_list): Add probe
17463 memory_arena_reuse_free_list.
17464 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17465 and memory_arena_reuse.
17466 (arena_get2) [!PER_THREAD]: Likewise.
17467 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17468 memory_arena_reuse_realloc.
17469 * manual/probes.texi: Document them.
17471 * malloc/malloc.c (__libc_free): Add
17472 memory_mallopt_free_dyn_thresholds probe.
17473 (__libc_mallopt): Add multiple memory_mallopt probes.
17474 * manual/probes.texi: Document them.
17476 * malloc/malloc.c: Include stap-probe.h.
17477 (__libc_mallopt): Add memory_mallopt probe.
17478 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17479 * manual/probes.texi: New.
17480 * manual/Makefile (chapters): Add probes.
17481 * manual/threads.texi: Set next node.
17483 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17485 [BZ #15963, #13985]
17486 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17487 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17488 Add `Chinese' to `nan' entry name.
17490 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17492 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17493 (POLYNOMIAL): Likewise.
17494 (TAYLOR_SINCOS): Likewise.
17495 (TAYLOR_SLOW): Likewise.
17496 (__sin): Use TAYLOR_SINCOS.
17498 (slow): Use TAYLOR_SLOW.
17500 (bsloww): Likewise.
17501 (csloww): Likewise.
17503 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17505 * stdlib/strtod_l.c: Fix buffer overrun.
17507 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17509 * benchtests/Makefile (bench): Add sincos.
17510 * benchtests/bench-sincos.c: New file.
17512 * math/libm-test.inc (cos_test_data): New test inputs.
17513 (sin_test_data): Likewise.
17515 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17521 (sloww1): Likewise.
17522 (sloww2): Likewise.
17523 (bsloww1): Likewise.
17524 (bsloww2): Likewise.
17525 (cslow2): Likewise.
17526 (csloww1): Likewise.
17527 (csloww2): Likewise.
17529 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17534 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17538 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17540 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17541 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17542 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17543 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17544 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17545 * elf/cache.c (print_entry): Handle the new cache flags.
17547 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17548 Aldy Hernandez <aldyh@redhat.com>
17550 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17551 Change condition to [_SOFT_FLOAT].
17552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17564 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17567 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17570 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17572 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17573 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17574 (__longjmp): Use LOAD_GP to load saved GPRs.
17575 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17576 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17577 (__sigsetjmp): Use SAVE_GP to save GPRs.
17579 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17580 Do not append -msoft-float.
17581 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17583 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17585 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17587 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17590 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17591 (_FPU_GETCW): Use initial "__" on variable and field names but not
17592 on macro parameter name.
17593 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17594 parentheses around reference to macro parameter.
17596 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17598 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17600 (ctype_startup): Use uint32_t in cast and sizeof for
17603 2013-09-11 Jia Liu <proljc@gmail.com>
17605 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17607 [__FreeBSD__]: Likewise.
17609 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17612 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17613 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17614 (strchr): Remove __strchr_sse42 ifunc selection.
17615 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17616 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17618 2013-09-11 Will Newton <will.newton@linaro.org>
17620 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17621 parameter to RES. Remove hardcoded 1000 value.
17622 * benchtests/bench-skeleton.c (main): Pass RES parameter
17623 to TIMING_INIT and multiply result by 1000.
17625 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17629 2013-09-11 Andreas Schwab <schwab@suse.de>
17631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17633 (O_TMPFILE) [__USE_GNU]: Define.
17634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17637 2013-09-11 Will Newton <will.newton@linaro.org>
17640 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17643 2013-09-11 Will Newton <will.newton@linaro.org>
17646 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17649 2013-09-11 Will Newton <will.newton@linaro.org>
17652 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17655 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17657 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17663 2013-09-10 Allan McRae <allan@archlinux.org>
17666 * manual/arith.texi (Parsing of Floats): Clarify
17670 * manual/install.texi (Running make install): Mention
17672 * INSTALL: Regenerated.
17674 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17676 * csu/init-first.c (_init): Remove the !SHARED condition around
17677 FPU control word initialization.
17678 * elf/dl-support.c (_dl_fpu_control): New variable.
17679 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17680 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17681 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17682 * math/test-fpucw-static.c: New file.
17683 * math/test-fpucw-ieee.c: New file.
17684 * math/test-fpucw-ieee-static.c: New file.
17685 * math/Makefile (tests): Add `test-fpucw-ieee' and
17687 (tests-static): New variable.
17688 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17690 [($(build-shared),yes)]
17691 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17693 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17696 2013-09-09 Allan McRae <allan@archlinux.org>
17699 * manual/string.texi (Collation Functions): Fix typo in
17701 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17704 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17707 * libio/memstream.c (open_memstream): Fix memory leak.
17708 * libio/wmemstream.c (open_wmemstream): Likewise.
17711 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17713 2013-09-09 Will Newton <will.newton@linaro.org>
17715 * malloc/Makefile: Add tst-realloc to tests.
17716 * malloc/tst-realloc.c: New file.
17718 2013-09-09 Allan McRae <allan@archlinux.org>
17721 * COPYING: Update from GNU website to fix FSF address.
17722 * COPYING.LIB: Likewise.
17724 2013-09-06 David S. Miller <davem@davemloft.net>
17726 * po/zh_TW.po: Update Chinese (traditional) translation from
17727 translation project.
17729 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17730 Joseph Myers <joseph@codesourcery.com>
17732 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17734 (obstack_chunk_alloc): New macro.
17735 (obstack_chunk_free): Likewise.
17736 (record_offset): New function.
17737 (init_locale_data): Likewise.
17738 (align_locale_data): Likewise.
17739 (add_locale_empty): Likewise.
17740 (add_locale_raw_data): Likewise.
17741 (add_locale_raw_obstack): Likewise.
17742 (add_locale_string): Likewise.
17743 (add_locale_wstring): Likewise.
17744 (add_locale_uint32): Likewise.
17745 (add_locale_uint32_array): Likewise.
17746 (add_locale_char): Likewise.
17747 (start_locale_structure): Likewise.
17748 (end_locale_structure): Likewise.
17749 (start_locale_prelude): Likewise.
17750 (end_locale_prelude): Likewise.
17751 (write_locale_data): Take locale_file structure rather than an
17753 * locale/programs/locfile.h: Include "obstack.h".
17754 (struct locale_file): Change to store locale file contents instead
17756 (init_locale_data): New prototype.
17757 (align_locale_data): Likewise.
17758 (add_locale_empty): Likewise.
17759 (add_locale_raw_data): Likewise.
17760 (add_locale_raw_obstack): Likewise.
17761 (add_locale_string): Likewise.
17762 (add_locale_wstring): Likewise.
17763 (add_locale_uint32): Likewise.
17764 (add_locale_uint32_array): Likewise.
17765 (add_locale_char): Likewise.
17766 (start_locale_structure): Likewise.
17767 (end_locale_structure): Likewise.
17768 (start_locale_prelude): Likewise.
17769 (end_locale_prelude): Likewise.
17770 (write_locale_data): Update prototype.
17771 * locale/programs/3level.h (struct TABLE): Remove result field.
17772 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17773 Use new locale_file interface.
17774 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17775 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17776 * locale/programs/ld-address.c (address_output): Use new
17777 locale_file interface.
17778 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17780 (collate_finish): Don't call collseq_table_finalize.
17781 (collate_output): Use new locale_file interface.
17782 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17784 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17785 (TABLE): Move defines earlier in file.
17786 (ELEMENT): Likewise.
17787 (DEFAULT): Likewise.
17788 (wctrans_table_add): Move macro and inline function earlier in
17790 (struct wctype_table): Move type earlier in file.
17791 (add_locale_wctype_table): New static prototype.
17792 (struct locale_ctype_t): Use logical types instead of struct iovec
17793 pointers for members.
17794 (ctype_output): Use new locale_file interface.
17795 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17796 new locale_file interface.
17797 (allocate_arrays): Update for use of new locale_file interface.
17798 * locale/programs/ld-identification.c (identification_output): Use
17799 new locale_file interface.
17800 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17801 * locale/programs/ld-messages.c (messages_output): Likewise.
17802 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17803 * locale/programs/ld-name.c (name_output): Likewise.
17804 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17805 * locale/programs/ld-paper.c (paper_output): Likewise.
17806 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17807 * locale/programs/ld-time.c (time_output): Likewise.
17809 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811 * benchtests/Makefile: Add memrchr benchmark.
17812 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17813 benchmark as memrchr.
17814 * benchtests/bench-memrchr-ifunc.c: New file.
17815 * benchtests/bench-memrchr.c: New file.
17817 2013-09-06 Will Newton <will.newton@linaro.org>
17819 * benchtests/Makefile (string-bench): Add memcpy.
17821 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17822 Cong Wang <amwang@redhat.com>
17825 * sysdeps/unix/sysv/linux/bits/in.h
17826 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17827 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17828 before __USE_KERNEL_IPV6_DEFS uses.
17829 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17831 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17832 sockaddr_in6, or ipv6_mreq.
17834 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17836 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17837 memory access for final bytes in some large inputs.
17838 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17840 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17842 * string/test-memrchr.c: New file.
17843 * string/test-memrchr-ifunc.c: New file.
17844 * string/Makefile: Add new memrchr testcase.
17846 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17848 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17849 fanotify_init returns EPERM.
17851 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17853 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17855 (top level): Treat second token from macro or constant entries for
17856 allowed headers as allowed.
17857 * include/complex.h: Condition internal declarations on
17859 * include/fenv.h: Condition include of <stdbool.h> and internal
17860 declarations on [!_ISOMAC].
17862 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17865 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17867 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17869 * configure.in (--enable-versioning): Remove configure option.
17870 (libc_cv_asm_symver_directive): Remove configure test.
17871 (libc_cv_ld_version_script_option): Likewise.
17872 (VERSIONING): Remove variable and AC_SUBST.
17873 (DO_VERSIONING): Remove AC_DEFINE.
17874 * configure: Regenerated.
17875 * config.h.in (DO_VERSIONING): Remove macro.
17876 * Makerules [$(versioning) = yes]: Change conditionals to
17877 [$(build-shared) = yes].
17878 * config.make.in (versioning): Remove variable.
17879 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17880 [$(build-shared) = yes].
17881 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17882 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17883 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17884 [$(build-shared) = yes].
17885 * extra-lib.mk [$(versioning) = yes]: Likewise.
17886 * hurd/Makefile [$(versioning) = yes]: Likewise.
17887 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17889 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17891 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17892 [SHARED && !NO_HIDDEN].
17893 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17895 [SHARED && DO_VERSIONING]: Likewise..
17896 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17897 [$(build-shared) = yes].
17898 * manual/install.texi (--disable-versioning): Remove
17900 * INSTALL: Regenerated.
17901 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17903 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17904 [$(build-shared) = yes].
17905 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17906 * sysdeps/i386/i686/multiarch/strstr-c.c
17907 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17908 [SHARED && !NO_HIDDEN].
17909 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17910 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17911 * sysdeps/powerpc/powerpc32/dl-machine.c
17912 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17913 * sysdeps/powerpc/powerpc32/sysdep.h
17914 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17915 to [SHARED && PIC && !NO_HIDDEN].
17916 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17917 conditional to [SHARED].
17919 2013-09-04 Will Newton <will.newton@linaro.org>
17921 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17922 * benchtests/bench-string.h: Include bench-timing.h instead
17923 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17924 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17925 call to HP_TIMING_DIFF_INIT.
17926 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17927 instead of hp-timing.h macros.
17928 * benchtests/bench-memchr.c: Likewise.
17929 * benchtests/bench-memcmp.c: Likewise.
17930 * benchtests/bench-memcpy.c: Likewise.
17931 * benchtests/bench-memmem.c: Likewise.
17932 * benchtests/bench-memmove.c: Likewise.
17933 * benchtests/bench-memset.c: Likewise.
17934 * benchtests/bench-rawmemchr.c: Likewise.
17935 * benchtests/bench-strcasecmp.c: Likewise.
17936 * benchtests/bench-strcasestr.c: Likewise.
17937 * benchtests/bench-strcat.c: Likewise.
17938 * benchtests/bench-strchr.c: Likewise.
17939 * benchtests/bench-strcmp.c: Likewise.
17940 * benchtests/bench-strcpy.c: Likewise.
17941 * benchtests/bench-strcpy_chk.c: Likewise.
17942 * benchtests/bench-strlen.c: Likewise.
17943 * benchtests/bench-strncasecmp.c: Likewise.
17944 * benchtests/bench-strncat.c: Likewise.
17945 * benchtests/bench-strncmp.c: Likewise.
17946 * benchtests/bench-strncpy.c: Likewise.
17947 * benchtests/bench-strnlen.c: Likewise.
17948 * benchtests/bench-strpbrk.c: Likewise.
17949 * benchtests/bench-strrchr.c: Likewise.
17950 * benchtests/bench-strspn.c: Likewise.
17951 * benchtests/bench-strstr.c: Likewise.
17953 2013-09-04 Will Newton <will.newton@linaro.org>
17955 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17957 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17961 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17962 * math/libm-test.inc (lgamma_test_data): Add more tests.
17963 * sysdeps/i386/fpu/libm-test-ulps: Update.
17964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17966 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17968 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17972 Add strcmp-sse2-unaligned
17973 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17975 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17977 * Versions.def (libc): Add GLIBC_2.19.
17979 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17981 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17982 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17984 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17987 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17988 intermediate calculations in recurrence.
17989 (__ieee754_ynf): Likewise.
17990 * math/libm-test.inc (jn_test_data): Do not allow spurious
17991 underflow exception. Add more tests.
17992 (yn_test_data): Add more tests.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17996 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18000 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18002 * csu/init-first.c: Fix then/than typos.
18003 * locale/programs/ld-collate.c: Likewise.
18004 * locale/programs/linereader.h: Likewise.
18005 * manual/charset.texi: Likewise.
18006 * manual/filesys.texi: Likewise.
18007 * manual/stdio.texi: Likewise.
18008 * manual/string.texi: Likewise.
18009 * stdlib/fmtmsg.c: Likewise.
18010 * sysdeps/i386/stpncpy.S: Likewise.
18011 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18012 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18013 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18014 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18016 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18018 * elf/dl-open.c: Fix typos.
18019 * iconvdata/gbbig5.c: Likewise.
18020 * iconvdata/iso-2022-jp.c: Likewise.
18021 * iconv/gconv_int.h: Likewise.
18022 * iconv/loop.c: Likewise.
18023 * nis/rpcsvc/nis.h: Likewise.
18024 * resolv/ns_name.c: Likewise.
18025 * stdio-common/vfscanf.c: Likewise.
18026 * streams/stropts.h: Likewise.
18027 * sunrpc/rpc_thread.c: Likewise.
18028 * sysdeps/i386/strpbrk.S: Likewise.
18029 * sysdeps/ieee754/k_standard.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18032 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18033 * sysdeps/mach/hurd/profil.c: Likewise.
18034 * sysdeps/s390/dl-procinfo.h: Likewise.
18035 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18037 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18038 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18041 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18043 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18046 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18048 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18049 aix specific files.
18050 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18052 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18055 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18056 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18057 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18059 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18060 Roland McGrath <roland@hack.frob.com>
18062 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18063 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18065 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18067 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18068 __executable_start symbol instead of _start.
18070 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18072 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18073 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18075 * sysdeps/gnu/ldsodefs.h: ... this new file.
18077 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18078 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18079 instead of ELFOSABI_LINUX.
18081 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18082 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18083 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18084 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18086 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18087 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18090 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18091 (ibm_extended_long_double): Add ieee_nan member.
18092 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18093 (do_test): New function.
18095 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18097 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18098 functions, renamed from truncdfsf_test, trunctfsf_test,
18100 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18102 (do_test): Run all these.
18104 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18106 * argp/argp-help.c: Fix typos.
18107 * argp/argp-parse.c: Likewise.
18108 * debug/backtracesyms.c: Likewise.
18109 * elf/elf.h: Likewise.
18110 * malloc/malloc.c: Likewise.
18111 * nis/nis_print.c: Likewise.
18112 * resolv/res_comp.c: Likewise.
18113 * stdlib/stdlib.h: Likewise.
18114 * sunrpc/clnt_tcp.c: Likewise.
18115 * sunrpc/clnt_udp.c: Likewise.
18116 * sunrpc/clnt_unix.c: Likewise.
18117 * sysdeps/unix/bsd/ptsname.c: Likewise.
18118 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18126 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18128 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18130 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18133 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18136 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18137 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18138 ($(objpfx)bug-dl-leaf): New rule.
18139 ($(objpfx)bug-dl-leaf.so): Likewise.
18140 ($(objpfx)bug-dl-leaf.out): Likewise.
18141 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18142 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18143 * dlfcn/bug-dl-leaf.c: New test.
18144 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18145 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18146 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18147 (dlclose): Likewise.
18148 (dlmopen): Likewise.
18150 2013-08-27 Roland McGrath <roland@hack.frob.com>
18152 * include/netdb.h [!_ISOMAC]:
18153 Don't include <tls.h>.
18154 (h_errno, __libc_h_errno): Move declaration and macros out of
18157 * include/resolv.h [_RESOLV_H_]:
18158 Don't include <tls.h>.
18159 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18160 * resolv/res_libc.c: Don't include <tls.h>.
18161 (_res): Use __attribute__ ((nocommon)) in place of
18162 __attribute__ ((section (".bss"))).
18164 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18165 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18167 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18169 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18170 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18172 * resolv/res_mkquery.c: Include <sys/time.h>.
18174 * inet/ifreq.c: Moved to ...
18175 * sysdeps/unix/ifreq.c: ... here.
18176 * inet/ifreq.c: New file, true stub version.
18178 * socket/sa_len.c: New file.
18179 * socket/Makefile (aux): Add it.
18180 * sysdeps/unix/sysv/linux/Makefile
18181 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18182 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18183 and #include <socket/sa_len.c>.
18184 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18185 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18188 * bits/socket.h: ... here.
18190 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18191 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18192 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18194 2013-08-27 Andreas Schwab <schwab@suse.de>
18197 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18198 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18199 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18200 * string/test-strcasecmp.c (test_main): Run tests in several
18202 * string/test-strncasecmp.c (test_main): Likewise.
18204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18205 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18206 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18208 (__strncasecmp_ssse3) [PIC]: Likewise.
18210 2013-08-26 Roland McGrath <roland@hack.frob.com>
18212 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18214 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18215 instead of explicitly declaring xdecrypt.
18216 * nis/nss_nis/nis-publickey.c: Likewise.
18218 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18221 * nscd/aicache.c: Include res_hconf.h.
18222 (addhstaiX): Initialize res_hconf.
18224 2013-08-26 Andreas Schwab <schwab@suse.de>
18226 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18227 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18229 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18231 * nscd/aicache.c (addhstaiX): Fix indentation.
18233 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18235 * configure.ac: Quote $build_pt_chown test.
18236 * configure: Regenerated.
18238 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18241 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18242 * math/s_cexpf.c (__cexpf): Likewise.
18243 * math/s_cexpl.c (__cexpl): Likewise.
18244 * math/libm-test.inc (cexp_test_data): Correct expected return
18245 value for NaN + i0. Add another test.
18247 2013-08-22 David S. Miller <davem@davemloft.net>
18249 * po/ca.po: Update Catalan translation from translation project.
18250 * po/uk.po: Add Ukrainian translations from translation project.
18252 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18255 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18256 is infinite, not alongside NaN test.
18257 * math/s_fdimf.c (__fdimf): Likewise.
18258 * math/s_fdiml.c (__fdiml): Likewise.
18259 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18260 errno is unchanged.
18262 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18264 * argp/argp-help.c: Fix typos.
18265 * crypt/speeds.c: Likewise.
18266 * csu/check_fds.c: Likewise.
18267 * elf/dl-load.c: Likewise.
18268 * elf/dl-open.c: Likewise.
18269 * elf/reldep3.c: Likewise.
18270 * elf/reldep.c: Likewise.
18271 * elf/sprof.c: Likewise.
18272 * iconv/iconv_charmap.c: Likewise.
18273 * iconv/skeleton.c: Likewise.
18274 * iconv/strtab.c: Likewise.
18275 * io/lockf64.c: Likewise.
18276 * libio/libioP.h: Likewise.
18277 * resolv/gai_notify.c: Likewise.
18278 * resolv/ns_name.c: Likewise.
18279 * resolv/ns_samedomain.c: Likewise.
18280 * resolv/res_send.c: Likewise.
18281 * stdlib/random.c: Likewise.
18282 * sunrpc/rpc/xdr.h: Likewise.
18283 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18284 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18285 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18286 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18291 * sysdeps/mach/hurd/check_fds.c: Likewise.
18292 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18293 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18296 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18297 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18298 * sysdeps/pthread/aio_notify.c: Likewise.
18299 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18300 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18301 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18303 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18305 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18307 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18308 version if bit_Slow_SSE4_2 is set.
18309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18310 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18312 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18315 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18316 trampoline stack frame information.
18317 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18318 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18319 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18320 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18321 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18322 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18323 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18324 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18326 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18327 interrupting a syscall and set with option SA_SIGINFO.
18329 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18332 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18333 argument is infinite.
18334 * math/s_cprojf.c (__cprojf): Likewise.
18335 * math/s_cprojl.c (__cprojl): Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18337 * math/libm-test.inc (cproj_test_data): Add more tests.
18339 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18341 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18342 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18343 size. Use __ffs to determine corresponding shift.
18345 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18346 Roland McGrath <roland@hack.frob.com>
18348 * Makefile (INSTALL): Remove trailing blank lines from output of
18351 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18353 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18354 Align 32 bit compat elf_greg to 8 bytes.
18356 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18358 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18360 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18362 * string/strcoll_l.c (coll_seq): New structure.
18363 (get_next_seq_cached): New function.
18364 (get_next_seq): New function.
18365 (do_compare): New function.
18366 (STRCOLL): Use GNU style definition. Simplify implementation
18367 by using get_next_seq, get_next_seq_cached and do_compare.
18369 2013-08-16 Florian Weimer <fweimer@redhat.com>
18373 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18375 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18377 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18378 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18379 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18381 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18382 GETDENTS_64BIT_ALIGNED.
18383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18384 * manual/filesys.texi (Reading/Closing Directory): Document
18385 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18387 * manual/conf.texi (Limits for Files): Add portability note to
18388 NAME_MAX, PATH_MAX.
18389 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18391 2013-08-13 Andreas Schwab <schwab@suse.de>
18394 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18396 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18397 LDBL_MAX_EXP >= 16384]: Add tests for it.
18399 2013-08-12 David S. Miller <davem@davemloft.net>
18401 * version.h (RELEASE): Set to "development".
18402 (VERSION): Set to "2.18.90".
18403 * NEWS: Add 2.19 section.
18405 2013-08-03 David S. Miller <davem@davemloft.net>
18407 * po/ko.po: Update Korean translation from translation project.
18409 2013-08-01 David S. Miller <davem@davemloft.net>
18411 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18412 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18415 2013-07-30 David S. Miller <davem@davemloft.net>
18417 * po/fr.po: Update French translation from translation project.
18419 2013-07-28 David S. Miller <davem@davemloft.net>
18421 * po/cs.po: Update Czech translation from translation project.
18423 * po/sv.po: Update Swedish translation from translation project.
18425 2013-07-27 David S. Miller <davem@davemloft.net>
18427 * po/eo.po: Update Esperanto translation from translation project.
18429 * po/vi.po: Update Vietnamese translation from translation project.
18431 * po/de.po: Update German translation from translation project.
18433 2013-07-26 David S. Miller <davem@davemloft.net>
18435 * po/bg.po: Update Bulgarian translation from translation project.
18437 * po/nl.po: Update Dutch translation from translation project.
18438 * po/pl.po: Update Polish translation from translation project.
18439 * po/ru.po: Update Russian translation from translation project.
18441 2013-07-24 David S. Miller <davem@davemloft.net>
18443 * po/libc.pot: Update.
18445 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18447 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18448 variable page size.
18449 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18451 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18453 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18455 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18457 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18458 Andreas Schwab <schwab@suse.de>
18459 Roland McGrath <roland@hack.frob.com>
18460 Joseph Myers <joseph@codesourcery.com>
18461 Carlos O'Donell <carlos@redhat.com>
18464 * config.h.in: Define HAVE_PT_CHOWN.
18465 * config.make.in (build-pt-chown): New variable.
18466 * configure.in (--enable-pt_chown): New configure option.
18467 * configure: Regenerate.
18468 * login/Makefile: Include Makeconfig. Build pt_chown only if
18469 build-pt-chown is enabled.
18470 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18471 pt_chown to fix pty ownership.
18472 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18474 * manual/install.texi (Configuring and compiling): Mention
18475 --enable-pt_chown. Add @findex for grantpt.
18476 * INSTALL: Regenerate.
18478 2013-07-20 David S. Miller <davem@davemloft.net>
18480 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18481 difference between 32-bit and 64-bit.
18483 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18486 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18487 Avoid system header dependency with -ffreestanding.
18488 ($(objpfx)bits/syscall%d): Likewise.
18490 2013-07-13 David S. Miller <davem@davemloft.net>
18492 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18493 underflows from atanl/atan2l due to bug 15319.
18494 (casinh_test_data): Likewise.
18496 2013-07-07 David S. Miller <davem@davemloft.net>
18498 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18500 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18502 * sysdeps/i386/fpu/libm-test-ulps: Update.
18503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18507 * configure.in (--enable-lock-elision): Fix message text.
18508 * INSTALL: Regenerate.
18509 * configure: Regenerate.
18511 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18515 2013-07-03 Andreas Jaeger <aj@suse.de>
18517 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18519 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18520 (ptrace_peeksiginfo_args): Add.
18521 (__ptrace_peeksiginfo_flags): Add.
18522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18526 2013-07-03 Allan McRae <allan@archlinux.org>
18528 * sysdeps/i386/fpu/libm-test-ulps: Update.
18530 2013-07-02 David S. Miller <davem@davemloft.net>
18532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18534 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18538 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18540 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543 2013-07-02 Andi Kleen <ak@linux.intel.com>
18545 * config.h.in (ENABLE_LOCK_ELISION): Add.
18546 * configure.in (--enable-lock-elision): Add option.
18547 * manual/install.texi: Document --enable lock elision.
18548 * configure: Regenerate
18549 * INSTALL: Regenerate.
18551 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18553 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18554 SSE4.2 strcasecmp for libc.a.
18555 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18557 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18560 * soft-fp/op-common.h (_FP_FMA): New macro.
18561 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18562 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18563 (_FP_MUL_MEAT_1_imm): ... here.
18564 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18565 (_FP_MUL_MEAT_1_wide): ... here.
18566 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18567 (_FP_MUL_MEAT_1_hard): ... here.
18568 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18569 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18570 (_FP_MUL_MEAT_2_wide): ... here.
18571 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18572 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18573 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18574 (_FP_MUL_MEAT_2_gmp): ... here.
18575 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18576 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18577 (_FP_MUL_MEAT_4_wide): ... here.
18578 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18579 (_FP_MUL_MEAT_4_gmp): ... here.
18580 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18581 (_FP_WFRACBITS_DW_S): Likewise.
18582 (_FP_WFRACXBITS_DW_S): Likewise.
18583 (_FP_HIGHBIT_DW_S): Likewise.
18584 (FP_FMA_S): Likewise.
18585 (_FP_FRAC_HIGH_DW_S): Likewise.
18586 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18587 (_FP_WFRACBITS_DW_D): Likewise.
18588 (_FP_WFRACXBITS_DW_D): Likewise.
18589 (_FP_HIGHBIT_DW_D): Likewise.
18590 (FP_FMA_D): Likewise.
18591 (_FP_FRAC_HIGH_DW_D): Likewise.
18592 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18593 (_FP_WFRACBITS_DW_E): Likewise.
18594 (_FP_WFRACXBITS_DW_E): Likewise.
18595 (_FP_HIGHBIT_DW_E): Likewise.
18596 (FP_FMA_E): Likewise.
18597 (_FP_FRAC_HIGH_DW_E): Likewise.
18598 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18599 (_FP_WFRACBITS_DW_Q): Likewise.
18600 (_FP_WFRACXBITS_DW_Q): Likewise.
18601 (_FP_HIGHBIT_DW_Q): Likewise.
18602 (FP_FMA_Q): Likewise.
18603 (_FP_FRAC_HIGH_DW_Q): Likewise.
18604 * soft-fp/fmasf4.c: New file.
18605 * soft-fp/fmadf4.c: Likewise.
18606 * soft-fp/fmatf4.c: Likewise.
18608 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18611 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18615 (index_Slow_SSE4_2): Likewise.
18616 (index_Prefer_PMINUB_for_stringop): Likewise.
18617 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18618 bit_Slow_SSE4_2 is set.
18619 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18620 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18622 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18624 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18625 rtld_global._dl_hwcap2.
18626 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18628 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18629 POWER8 feature descriptions defined in _dl_hwcap2.
18630 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18631 string handling for POWER8 feature bits.
18632 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18633 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18634 _dl_powerpc_cap_flags.
18635 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18636 * sysdeps/powerpc/rtld-global-offsets.sym
18637 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18638 _dl_hwcap2 in the rtld_global_ro structure.
18640 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18642 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18643 hardware capabilities in support of AT_HWCAP2.
18644 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18645 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18647 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18648 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18649 explicitly the unknown a_type display mechanism is used.
18650 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18651 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18653 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18654 to macro prototype for AT_HWCAP2 support.
18655 * sysdeps/i386/dl-procinfo.h: Likewise.
18656 * sysdeps/s390/dl-procinfo.h: Likewise.
18657 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18658 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18659 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18660 return -1 for unknown a_type display fallback.
18661 * sysdeps/sparc/dl-procinfo.h: Likewise.
18662 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18663 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18665 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18667 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18668 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18670 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18673 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18674 mprotect making __stack_prot writable.
18676 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18677 Joseph Myers <joseph@codesourcery.com>
18679 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18680 as being properly aligned.
18682 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18684 * dlfcn/modstatic5.c: New file.
18685 * dlfcn/tststatic5.c: New file.
18686 * dlfcn/Makefile (tests): Add tststatic5.
18687 (tests-static): Likewise.
18688 (modules-names): Add modstatic5.
18689 (tststatic5-ENV): New variable.
18690 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18693 * elf/dl-support.c (_dl_main_map): New variable.
18694 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18695 (_dl_nns, _dl_load_adds): Set to 1.
18696 (_dl_initial_searchlist): Refer to _dl_main_map.
18697 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18698 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18699 call to _dl_get_origin.
18700 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18702 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18703 * dlfcn/modstatic3.c: New file.
18704 * dlfcn/tststatic3.c: New file.
18705 * dlfcn/tststatic4.c: New file.
18706 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18707 (tests-static): Likewise.
18708 (modules-names): Add modstatic3.
18709 (tststatic3-ENV, tststatic4-ENV): New variables.
18710 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18711 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18713 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18715 * configure.in (CC): Require GCC version 4.4 or later.
18716 * configure: Regenerated.
18717 * manual/install.texi (Tools for Compilation): Update GCC version
18719 * INSTALL: Regenerated.
18721 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18724 * string/test-memcmp.c (check2): New.
18725 (main): Call check2.
18727 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18729 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18732 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18734 (dl_open_worker) [!SHARED]: ... here.
18736 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18738 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18740 2013-06-25 Richard Henderson <rth@redhat.com>
18742 * locale/programs/locarchive.c: Include <libc-internal.h>
18744 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18746 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18747 trailing whitespace removed.
18749 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18752 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18753 * locale/programs/locarchive.c: Include libc-mmap.h.
18754 (prepare_address_space): Take two new outputs (the mmap base and len).
18755 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18757 (create_archive): Declare new mmap base and len values for
18758 prepare_address_space, and store the result in ah.
18759 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18760 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18761 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18762 Declare new mmap base and len values for
18763 prepare_address_space, and store the result in new_ah.
18764 (open_archive): Declare new mmap base and len values for
18765 prepare_address_space, and store the result in ah.
18766 (close_archive): If ah->mmap_base is not NULL, use that and
18767 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18768 * sysdeps/generic/libc-mmap.h: New file.
18770 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18772 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18773 (ALIGN_UP): Likewise.
18774 (PTR_ALIGN_DOWN): Likewise.
18775 (PTR_ALIGN_UP): Likewise.
18777 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18780 entry mapped to PPC_PLATFORM_POWER8.
18781 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18783 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18784 (_dl_string_platform): Add case for exporting platform position for
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18787 search path to sysdeps/powerpc/powerpc32/power8 directory.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18789 search path to sysdeps/powerpc/powerpc64/power8 directory.
18790 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18791 power7 directories.
18792 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18793 power7 directories.
18795 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18797 * INSTALL: Regenerate.
18799 * nscd/connections.c (nscd_init): Fix comment.
18801 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18803 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18806 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18807 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18809 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18811 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18813 (DL_DST_REQ_STATIC): Remove macro.
18815 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18818 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18819 with a shift of 0 bits.
18821 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18823 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18826 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18829 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18831 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18833 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18834 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18835 accepts -fno-tree-loop-distribute-patterns.
18836 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18837 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18839 * string/memset.c (memset): Likewise.
18840 * string/test-memmove.c (simple_memmove): Disable loop transformation
18842 * string/test-memset.c (simple_memset): Likewise.
18843 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18844 * benchtests/bench-memset.c (simple_memset): Likewise.
18845 * configure: Regenerated.
18847 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18849 * math/test-misc.c (main): Ignore fesetround failure when failures
18850 of subsequent rounding tests would be ignored.
18853 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18854 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18855 * math/fegetenv.c (__fegetenv): Return 0.
18856 * math/fegetexcept.c (fegetexcept): Return 0.
18857 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18859 * math/feholdexcpt.c (feholdexcept): Return 0.
18860 * math/fesetenv.c (__fesetenv): Return 0.
18861 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18862 argument FE_TONEAREST.
18863 * math/feupdateenv.c (__feupdateenv): Return 0.
18864 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18866 2013-06-18 Roland McGrath <roland@hack.frob.com>
18868 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18869 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18870 ($(objpfx)rtld-%.os rules): Use them.
18872 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18874 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18877 2013-06-17 Roland McGrath <roland@hack.frob.com>
18879 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18880 length of target pattern, then descending length of dependency pattern.
18881 * configure.in (AWK): Require gawk 3.1.2 or newer.
18882 * manual/install.texi (Tools for Compilation): Say that we do.
18883 * configure: Regenerated.
18885 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18886 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18887 * scripts/sysd-rules.awk: ... this new script.
18888 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18889 than a glob-style pattern.
18891 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18893 * math/test-misc.c (main): Do not treat incorrectly rounded
18894 conversions as failure unless ROUNDING_TESTS passes.
18896 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18900 restore exception state around main square root computation, then
18901 check for inexactness explicitly.
18903 * math/libm-test.inc (fma_test_data): Add another test.
18905 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18907 * manual/threads.texi (Non-POSIX Extensions): New document
18908 node. Document pthread_getattr_default_np and
18909 pthread_setattr_default_np.
18911 * Versions.def (libpthread): Add GLIBC_2.18.
18912 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18921 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18932 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18935 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18937 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18938 H.J. Lu <hjl.tools@gmail.com>
18941 * sysdeps/x86_64/rtld-memset.c: Remove file.
18942 * sysdeps/x86_64/rtld-memset.S: New file.
18944 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18946 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18947 (test_in_one_mode): Take arguments for whether the rounding mode
18948 is supported for each floating-point type.
18949 (do_test): Pass new arguments to test_in_one_mode using
18952 2013-06-13 Roland McGrath <roland@hack.frob.com>
18954 * posix/tst-waitid.c (do_test): Distinguish different instances of
18955 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18956 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18957 before entering the kernel for waitpid.
18959 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18961 * NEWS: Fix note on clock function precision. Text by Roland
18964 2013-06-13 Roland McGrath <roland@hack.frob.com>
18966 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18967 it into place only when and if the sanity check passes.
18969 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18971 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18972 output for whether conversion result is exact. Take argument
18973 indicating whether type is IBM long double.
18974 (round_for_all): Change need_exact field to ibm_ld.
18975 * stdlib/tst-strtod-round.c (struct exactness): New type.
18976 (struct test): Change bool ld_ok field to struct exactness exact.
18977 (TEST): Update all definitions for change to field.
18978 (tests): Regenerate array contents.
18979 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18980 field value. Check for IBM long double here.
18981 (do_test): Update calls to test_in_one_mode.
18983 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18986 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18987 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18989 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18992 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18993 generated by the compiler on loop optimizations.
18994 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18995 general definitions.
18997 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18999 * math/bug-nextafter.c: Include <math-tests.h>.
19000 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19002 * math/bug-nexttoward.c: Include <math-tests.h>.
19003 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19005 * math/test-misc.c: Include <math-tests.h>.
19006 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19009 2013-06-12 Andreas Jaeger <aj@suse.de>
19011 * po/ia.po: Update Interlingua translation from translation
19014 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19016 * include/fenv.h: Include stdbool.h.
19017 (struct rm_ctx): New structure.
19018 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19020 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19021 (SET_RESTORE_ROUNDF): Likewise.
19022 (SET_RESTORE_ROUNDL): Likewise.
19023 (SET_RESTORE_ROUND_NOEX): Likewise.
19024 (SET_RESTORE_ROUND_NOEXF): Likewise.
19025 (SET_RESTORE_ROUND_NOEXL): Likewise.
19026 (SET_RESTORE_ROUND_53BIT): Likewise.
19027 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19028 (libc_feresetround_noexf_ctx): Likewise.
19029 (libc_feresetround_noexl_ctx): Likewise.
19030 (libc_feholdsetround_53bit_ctx): Likewise.
19031 (libc_feresetround_53bit_ctx): Likewise.
19032 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19033 (libc_feholdexcept_setround_sse_ctx): New function.
19034 (libc_fesetenv_sse_ctx): Likewise.
19035 (libc_feupdateenv_sse_ctx): Likewise.
19036 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19037 (libc_feholdexcept_setround_387_ctx): Likewise.
19038 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19039 (libc_feholdsetround_387_prec_ctx): Likewise.
19040 (libc_feholdsetround_387_ctx): Likewise.
19041 (libc_feholdsetround_387_53bit_ctx): Likewise.
19042 (libc_feholdsetround_sse_ctx): Likewise.
19043 (libc_feresetround_sse_ctx): Likewise.
19044 (libc_feresetround_387_ctx): Likewise.
19045 (libc_feupdateenv_387_ctx): Likewise.
19046 (libc_feholdexcept_setroundf_ctx): Define macro.
19047 (libc_fesetenvf_ctx): Likewise.
19048 (libc_feupdateenvf_ctx): Likewise.
19049 (libc_feholdsetroundf_ctx): Likewise.
19050 (libc_feresetroundf_ctx): Likewise.
19051 (libc_feholdexcept_setround_ctx): Likewise.
19052 (libc_fesetenv_ctx): Likewise.
19053 (libc_feupdateenv_ctx): Likewise.
19054 (libc_feholdsetround_ctx): Likewise.
19055 (libc_feresetround_ctx): Likewise.
19056 (libc_feholdexcept_setroundl_ctx): Likewise.
19057 (libc_feupdateenvl_ctx): Likewise.
19058 (libc_feholdsetroundl_ctx): Likewise.
19059 (libc_feresetroundl_ctx): Likewise.
19060 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19061 (libc_feresetround_53bit_ctx): Likewise.
19063 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19065 * locale/iso-639.def: Convert to UTF-8.
19067 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19069 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19070 (EXCEPTION_TESTS_double): Likewise.
19071 (EXCEPTION_TESTS_long_double): Likewise.
19072 (EXCEPTION_TESTS): Likewise.
19073 * math/libm-test.inc (test_exceptions): Only test exceptions if
19074 EXCEPTION_TESTS (FLOAT).
19076 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19078 * benchtests/Makefile (string-bench): Add strcpy_chk and
19080 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19081 * benchtests/bench-stpcpy_chk.c: New file.
19082 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19083 * benchtests/bench-strcpy_chk.c: New file.
19084 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19086 (do_test): Likewise.
19088 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19090 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19091 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19092 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19093 with tabs where appropriate.
19094 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19096 [PPC_PLATFORM_PPC440]: Likewise.
19097 [PPC_PLATFORM_PPC464]: Likewise.
19098 [PPC_PLATFORM_PPC476]: Likewise.
19099 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19100 ppc464, and ppc476 platform strings merging from ports/
19103 2013-06-11 Andreas Schwab <schwab@suse.de>
19106 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19107 (from_ucs4_idx): Regenerate.
19108 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19109 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19110 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19111 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19112 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19113 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19114 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19115 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19116 from FROM_LOOP and TO_LOOP specific macros.
19117 (BODY): Handle combining characters.
19118 * iconvdata/BIG5HKSCS.irreversible: Update.
19119 * iconvdata/BIG5HKSCS.precomposed: New file.
19120 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19122 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19124 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19126 * include/sys/time.h: Fix indentation and add copyright header.
19128 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19129 (do_test): Likewise.
19130 * string/test-memchr.c (do_one_test): Likewise.
19131 (do_test): Likewise.
19132 * string/test-memcmp.c (do_one_test): Likewise.
19133 (do_test): Likewise.
19134 * string/test-memcpy.c (do_one_test): Likewise.
19135 (do_test): Likewise.
19136 * string/test-memmem.c (do_one_test): Likewise.
19137 (do_test): Likewise.
19138 (do_random_tests): Likewise.
19139 * string/test-memmove.c (do_one_test): Likewise.
19140 (do_test): Likewise.
19141 * string/test-memset.c (do_one_test): Likewise.
19142 (do_test): Likewise.
19143 * string/test-rawmemchr.c (do_one_test): Likewise.
19144 (do_test): Likewise.
19145 * string/test-strcasecmp.c (do_one_test): Likewise.
19146 (do_test): Likewise.
19147 * string/test-strcasestr.c (do_one_test): Likewise.
19148 (do_test): Likewise.
19149 * string/test-strcat.c (do_one_test): Likewise.
19150 (do_test): Likewise.
19151 * string/test-strchr.c (do_one_test): Likewise.
19152 (do_test): Likewise.
19153 * string/test-strcmp.c (do_one_test): Likewise.
19154 (do_test): Likewise.
19155 * string/test-strcpy.c (do_one_test): Likewise.
19156 (do_test): Likewise.
19157 * string/test-string.h: Likewise.
19158 (test_init): Likewise.
19159 * string/test-strlen.c (do_one_test): Likewise.
19160 (do_test): Likewise.
19161 * string/test-strncasecmp.c (do_one_test): Likewise.
19162 (do_test): Likewise.
19163 * string/test-strncat.c (do_one_test): Likewise.
19164 (do_test): Likewise.
19165 * string/test-strncmp.c (do_one_test): Likewise.
19166 (do_test_limit): Likewise.
19167 (do_test): Likewise.
19168 * string/test-strncpy.c (do_one_test): Likewise.
19169 (do_test): Likewise.
19170 * string/test-strnlen.c (do_one_test): Likewise.
19171 (do_test): Likewise.
19172 * string/test-strpbrk.c (do_one_test): Likewise.
19173 (do_test): Likewise.
19174 * string/test-strrchr.c (do_one_test): Likewise.
19175 (do_test): Likewise.
19176 * string/test-strspn.c (do_one_test): Likewise.
19177 (do_test): Likewise.
19178 * string/test-strstr.c (do_one_test): Likewise.
19179 (do_test): Likewise.
19181 * benchtests/Makefile (string-bench): Add string benchmarks.
19182 * benchtests/bench-bcopy-ifunc.c: New file.
19183 * benchtests/bench-bcopy.c: New file.
19184 * benchtests/bench-bzero-ifunc.c: New file.
19185 * benchtests/bench-bzero.c: New file.
19186 * benchtests/bench-memccpy-ifunc.c: New file.
19187 * benchtests/bench-memccpy.c: New file.
19188 * benchtests/bench-memchr-ifunc.c: New file.
19189 * benchtests/bench-memchr.c: New file.
19190 * benchtests/bench-memcmp-ifunc.c: New file.
19191 * benchtests/bench-memcmp.c: New file.
19192 * benchtests/bench-memmem-ifunc.c: New file.
19193 * benchtests/bench-memmem.c: New file.
19194 * benchtests/bench-memmove-ifunc.c: New file.
19195 * benchtests/bench-memmove.c: New file.
19196 * benchtests/bench-mempcpy-ifunc.c: New file.
19197 * benchtests/bench-mempcpy.c: New file.
19198 * benchtests/bench-memset-ifunc.c: New file.
19199 * benchtests/bench-memset.c: New file.
19200 * benchtests/bench-rawmemchr-ifunc.c: New file.
19201 * benchtests/bench-rawmemchr.c: New file.
19202 * benchtests/bench-stpcpy-ifunc.c: New file.
19203 * benchtests/bench-stpcpy.c: New file.
19204 * benchtests/bench-stpncpy-ifunc.c: New file.
19205 * benchtests/bench-stpncpy.c: New file.
19206 * benchtests/bench-strcasecmp-ifunc.c: New file.
19207 * benchtests/bench-strcasecmp.c: New file.
19208 * benchtests/bench-strcasestr-ifunc.c: New file.
19209 * benchtests/bench-strcasestr.c: New file.
19210 * benchtests/bench-strcat-ifunc.c: New file.
19211 * benchtests/bench-strcat.c: New file.
19212 * benchtests/bench-strchr-ifunc.c: New file.
19213 * benchtests/bench-strchr.c: New file.
19214 * benchtests/bench-strchrnul-ifunc.c: New file.
19215 * benchtests/bench-strchrnul.c: New file.
19216 * benchtests/bench-strcmp-ifunc.c: New file.
19217 * benchtests/bench-strcmp.c: New file.
19218 * benchtests/bench-strcpy-ifunc.c: New file.
19219 * benchtests/bench-strcpy.c: New file.
19220 * benchtests/bench-strcspn-ifunc.c: New file.
19221 * benchtests/bench-strcspn.c: New file.
19222 * benchtests/bench-strlen-ifunc.c: New file.
19223 * benchtests/bench-strlen.c: New file.
19224 * benchtests/bench-strncasecmp-ifunc.c: New file.
19225 * benchtests/bench-strncasecmp.c: New file.
19226 * benchtests/bench-strncat-ifunc.c: New file.
19227 * benchtests/bench-strncat.c: New file.
19228 * benchtests/bench-strncmp-ifunc.c: New file.
19229 * benchtests/bench-strncmp.c: New file.
19230 * benchtests/bench-strncpy-ifunc.c: New file.
19231 * benchtests/bench-strncpy.c: New file.
19232 * benchtests/bench-strnlen-ifunc.c: New file.
19233 * benchtests/bench-strnlen.c: New file.
19234 * benchtests/bench-strpbrk-ifunc.c: New file.
19235 * benchtests/bench-strpbrk.c: New file.
19236 * benchtests/bench-strrchr-ifunc.c: New file.
19237 * benchtests/bench-strrchr.c: New file.
19238 * benchtests/bench-strspn-ifunc.c: New file.
19239 * benchtests/bench-strspn.c: New file.
19240 * benchtests/bench-strstr-ifunc.c: New file.
19241 * benchtests/bench-strstr.c: New file.
19243 * benchtests/Makefile: Disable parallel execution of targets.
19244 (string-bench): Add memcpy.
19245 (benchset): New variable to store a list of benchmark sets.
19246 (bench-func): Renamed from bench.
19247 (bench-set): New target.
19248 (bench): Depend on bench-func and bench-set.
19249 * benchtests/README: Add section on benchmark sets.
19250 * benchtests/bench-memcpy-ifunc.c: New file.
19251 * benchtests/bench-memcpy.c: New file.
19252 * benchtests/bench-string.h: New file.
19254 2013-06-11 Andreas Schwab <schwab@suse.de>
19257 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19258 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19259 values in the triple.
19260 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19261 terminator in the group key.
19263 2013-06-11 Andreas Jaeger <aj@suse.de>
19265 * po/zh_TW.po: Update Chinese (traditional) translation from
19266 translation project.
19268 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19270 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19271 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19272 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19274 (clock_getcpuclockid): Likewise.
19275 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19276 Add weak_alias and libc_hidden_def.
19277 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19278 * rt/clock_gettime.c (clock_gettime): Rename to
19279 __clock_gettime. Add weak_alias and libc_hidden_def.
19280 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19281 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19282 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19283 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19284 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19286 * rt/clock_settime.c (clock_settime): Rename to
19287 __clock_settime. Add weak_alias and libc_hidden_def.
19288 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19290 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19292 * mach/err_boot.sub: Remove trailing whitespace.
19293 * mach/err_ipc.sub: Likewise.
19294 * mach/err_mach.sub: Likewise.
19296 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19297 (ROUNDING_TESTS_double): Likewise.
19298 (ROUNDING_TESTS_long_double): Likewise.
19299 (ROUNDING_TESTS): Likewise.
19300 * math/libm-test.inc: Include <math-tests.h>.
19301 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19302 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19303 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19304 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19306 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19308 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19311 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19313 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19314 otherwise empty TRANS lines.
19315 * sysdeps/gnu/errlist.c: Regenerated.
19317 * catgets/gencat.c (error_print): Use (void) in function
19319 * crypt/crypt_util.c (__init_des): Likewise.
19320 * crypt/speeds.c (Stop): Likewise.
19322 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19323 * inet/ruserpass.c (token): Likewise.
19324 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19325 * intl/localealias.c (extend_alias_table): Likewise.
19326 * intl/plural-exp.c (init_germanic_plural): Likewise.
19327 * libio/fcloseall.c (__fcloseall): Likewise.
19328 * libio/genops.c (_IO_flush_all): Likewise.
19329 (_IO_flush_all_linebuffered): Likewise.
19330 (_IO_cleanup): Likewise.
19331 (_IO_iter_begin): Likewise.
19332 (_IO_iter_end): Likewise.
19333 (_IO_list_lock): Likewise.
19334 (_IO_list_unlock): Likewise.
19335 (_IO_list_resetlock): Likewise.
19336 * libio/getchar.c (getchar): Likewise.
19337 * libio/getchar_u.c (getchar_unlocked): Likewise.
19338 * libio/getwchar.c (getwchar): Likewise.
19339 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19340 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19341 * login/getpt.c (__getpt): Likewise.
19342 * login/tst-utmp.c (main): Likewise.
19343 * malloc/hooks.c (__malloc_check_init): Likewise.
19344 * malloc/malloc.c (__malloc_stats): Likewise.
19345 * malloc/mtrace.c (tr_break): Likewise.
19346 (mtrace): Likewise.
19347 (muntrace): Likewise.
19348 * misc/fstab.c (endfsent): Likewise.
19349 * misc/getclktck.c (__getclktck): Likewise.
19350 * misc/getdtsz.c (__getdtablesize): Likewise.
19351 * misc/gethostid.c (gethostid): Likewise.
19352 * misc/getpagesize.c (__getpagesize): Likewise.
19353 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19354 (__get_nprocs): Likewise.
19355 (__get_phys_pages): Likewise.
19356 (__get_avphys_pages): Likewise.
19357 * misc/getttyent.c (getttyent): Likewise.
19358 (setttyent): Likewise.
19359 (endttyent): Likewise.
19360 * misc/getusershell.c (getusershell): Likewise.
19361 (endusershell): Likewise.
19362 (setusershell): Likewise.
19363 (initshells): Likewise.
19364 * misc/hsearch.c (__hdestroy): Likewise.
19365 * misc/sync.c (sync): Likewise.
19366 * misc/syslog.c (closelog_internal): Likewise.
19367 (closelog): Likewise.
19368 * misc/ttyslot.c (ttyslot): Likewise.
19369 * misc/vhangup.c (vhangup): Likewise.
19370 * posix/fork.c (__fork): Likewise.
19371 * posix/getegid.c (__getegid): Likewise.
19372 * posix/geteuid.c (__geteuid): Likewise.
19373 * posix/getgid.c (__getgid): Likewise.
19374 * posix/getpid.c (__getpid): Likewise.
19375 * posix/getppid.c (__getppid): Likewise.
19376 * posix/getuid.c (__getuid): Likewise.
19377 * posix/pause.c (pause): Likewise.
19378 * posix/setpgrp.c (setpgrp): Likewise.
19379 * posix/setsid.c (__setsid): Likewise.
19380 * posix/test-vfork.c (noop): Likewise.
19381 * resolv/gethnamaddr.c (_endhtent): Likewise.
19382 (_gethtent): Likewise.
19383 (ht_endhostent): Likewise.
19384 (gethostent): Likewise.
19385 (dns_service): Likewise.
19386 * stdlib/drand48.c (drand48): Likewise.
19387 * stdlib/lrand48.c (lrand48): Likewise.
19388 * stdlib/mrand48.c (mrand48): Likewise.
19389 * stdlib/rand.c (rand): Likewise.
19390 * stdlib/random.c (__random): Likewise.
19391 * stdlib/setenv.c (clearenv): Likewise.
19392 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19393 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19394 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19395 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19396 (__get_nprocs): Likewise.
19397 (__get_phys_pages): Likewise.
19398 (__get_avphys_pages): Likewise.
19399 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19400 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19401 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19402 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19403 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19404 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19405 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19406 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19407 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19408 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19409 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19410 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19411 * sysdeps/posix/clock.c (clock): Likewise.
19412 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19413 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19414 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19415 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19416 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19418 (__get_nprocs_conf): Likewise.
19419 (__get_phys_pages): Likewise.
19420 (__get_avphys_pages): Likewise.
19421 * time/clock.c (clock): Likewise.
19422 * time/tzset.c (__tzname_max): Likewise.
19424 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19426 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19427 (__bswap_32): Do not use "register".
19428 * crypt/crypt.c (_ufc_doit_r): Likewise.
19429 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19430 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19431 * gmon/gmon.c (__monstartup): Likewise.
19432 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19433 * hurd/hurdmalloc.c (more_memory): Likewise.
19434 (malloc): Likewise.
19436 (realloc): Likewise.
19437 (malloc_fork_prepare): Likewise.
19438 (malloc_fork_parent): Likewise.
19439 (malloc_fork_child): Likewise.
19440 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19441 (_svcauth_des): Likewise.
19442 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19443 * inet/inet_net.c (inet_network): Likewise.
19444 * inet/inet_netof.c (inet_netof): Likewise.
19445 * inet/rcmd.c (__validuser2_sa): Likewise.
19446 * io/fts.c (fts_open): Likewise.
19447 (fts_load): Likewise.
19448 (fts_close): Likewise.
19449 (fts_read): Likewise.
19450 (fts_children): Likewise.
19451 (fts_build): Likewise.
19452 (fts_stat): Likewise.
19453 (fts_sort): Likewise.
19454 (fts_alloc): Likewise.
19455 (fts_lfree): Likewise.
19456 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19457 (_IO_file_xsgetn): Likewise.
19458 (_IO_file_xsgetn_mmap): Likewise.
19459 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19460 (_IO_cookie_write): Likewise.
19461 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19462 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19463 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19464 * malloc/obstack.c (_obstack_begin): Likewise.
19465 (_obstack_begin_1): Likewise.
19466 (_obstack_newchunk): Likewise.
19467 (_obstack_allocated_p): Likewise.
19468 (obstack_free): Likewise.
19469 (_obstack_memory_used): Likewise.
19470 * misc/getttyent.c (getttynam): Likewise.
19471 (getttyent): Likewise.
19474 * misc/getusershell.c (initshells): Likewise.
19475 * misc/syslog.c (__vsyslog_chk): Likewise.
19476 * misc/ttyslot.c (ttyslot): Likewise.
19477 * nis/nis_hash.c (__nis_hash): Likewise.
19478 * posix/fnmatch_loop.c (FCT): Likewise.
19479 * posix/getconf.c (print_all): Likewise.
19481 * posix/getopt.c (exchange): Likewise.
19482 * posix/glob.c (globfree): Likewise.
19483 (prefix_array): Likewise.
19484 (__glob_pattern_type): Likewise.
19485 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19486 (NS_GET32): Likewise.
19487 (NS_PUT16): Likewise.
19488 (NS_PUT32): Likewise.
19489 * resolv/gethnamaddr.c (getanswer): Likewise.
19490 (gethostbyname2): Likewise.
19491 (gethostbyaddr): Likewise.
19492 (_gethtent): Likewise.
19493 (_gethtbyname2): Likewise.
19494 (_gethtbyaddr): Likewise.
19495 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19496 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19497 * resolv/res_init.c (__res_vinit): Likewise.
19498 (net_mask): Likewise.
19499 * resolv/res_mkquery.c (outchar): Likewise.
19501 * stdio-common/printf_fp.c (outchar): Likewise.
19503 * stdio-common/printf_fphex.c (outchar): Likewise.
19505 * stdio-common/printf_size.c (outchar): Likewise.
19507 * stdio-common/test_rdwr.c (main): Likewise.
19508 * stdio-common/tfformat.c (matches): Likewise.
19509 * stdio-common/vfprintf.c (outchar): Likewise.
19510 (printf_unknown): Likewise.
19511 (buffered_vfprintf): Likewise.
19512 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19513 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19514 (ReadFile): Likewise.
19515 * stdlib/qsort.c (SWAP): Likewise.
19516 (_quicksort): Likewise.
19517 * stdlib/setenv.c (__add_to_environ): Likewise.
19518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19519 * stdlib/strtol_l.c (__strtol_l): Likewise.
19520 * stdlib/tst-strtod.c (main): Likewise.
19521 * stdlib/tst-strtol.c (main): Likewise.
19522 * stdlib/tst-strtoll.c (main): Likewise.
19523 * string/bits/string2.h (__strcmp_cc): Likewise.
19524 (__strcmp_cg): Likewise.
19525 (__strcspn_c1): Likewise.
19526 (__strcspn_c2): Likewise.
19527 (__strcspn_c3): Likewise.
19528 (__strspn_c1): Likewise.
19529 (__strspn_c2): Likewise.
19530 (__strspn_c3): Likewise.
19531 (__strsep_1c): Likewise.
19532 (__strsep_2c): Likewise.
19533 (__strsep_3c): Likewise.
19534 * string/memccpy.c (__memccpy): Likewise.
19535 * string/stpcpy.c (__stpcpy): Likewise.
19536 * string/strcmp.c (strcmp): Likewise.
19537 * string/strrchr.c (strrchr): Likewise.
19538 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19540 * sysdeps/mach/hurd/getcwd.c
19541 (_hurd_canonicalize_directory_name_internal): Likewise.
19542 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19543 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19544 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19545 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19546 Likewise, in both definitions.
19547 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19549 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19550 64] (__bswap_64): Likewise.
19551 * time/test_time.c (main): Likewise.
19552 * time/tzfile.c (__tzfile_read): Likewise.
19553 (__tzfile_compute): Likewise.
19554 * time/tzset.c (__tzset_parse_tz): Likewise.
19555 (tzset_internal): Likewise.
19556 (compute_change): Likewise.
19557 * wcsmbs/wcscat.c (__wcscat): Likewise.
19558 * wcsmbs/wcschr.c (wcschr): Likewise.
19559 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19560 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19561 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19562 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19563 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19564 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19565 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19566 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19567 * wcsmbs/wmemset.c (wmemset): Likewise.
19569 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19571 * scripts/config.guess: Update to version 2013-05-16.
19572 * scripts/config.sub: Update to version 2013-04-24.
19573 * scripts/install-sh: Update to version 2011-11-20.07.
19574 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19575 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19577 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19579 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19580 * elf/sln.c: Likewise.
19581 * hurd/hurd/ioctl.h: Likewise.
19582 * hurd/hurdmalloc.c: Likewise.
19583 * hurd/xattr.c: Likewise.
19584 * include/shlib-compat.h: Likewise.
19585 * inet/ruserpass.c: Likewise.
19586 * libio/iofgets_u.c: Likewise.
19587 * libio/iofgetws_u.c: Likewise.
19588 * locale/programs/ld-identification.c: Likewise.
19589 * locale/programs/ld-time.c: Likewise.
19590 * mach/msg-destroy.c: Likewise.
19591 * nss/nss_files/files-netgrp.c: Likewise.
19592 * resolv/res_data.c: Likewise.
19593 * soft-fp/op-1.h: Likewise.
19594 * soft-fp/op-2.h: Likewise.
19595 * soft-fp/op-4.h: Likewise.
19596 * soft-fp/op-common.h: Likewise.
19597 * stdio-common/printf_fphex.c: Likewise.
19598 * stdlib/strtod_l.c: Likewise.
19599 * sunrpc/rpc/clnt.h: Likewise.
19600 * sysdeps/generic/framestate.c: Likewise.
19601 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19602 * sysdeps/i386/bsd-setjmp.S: Likewise.
19603 * sysdeps/i386/__longjmp.S: Likewise.
19604 * sysdeps/i386/setjmp.S: Likewise.
19605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19606 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19623 * sysdeps/ieee754/support.c: Likewise.
19624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19625 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19626 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19627 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19628 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19629 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19630 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19631 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19632 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19633 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19634 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19635 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19636 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19638 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19639 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19640 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19643 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19645 * posix/transbug.c: Remove executable mode.
19647 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19649 * crypt/speeds.c: Remove trailing whitespace.
19650 * dlfcn/default.c: Likewise.
19651 * elf/ifuncdep2.c: Likewise.
19652 * elf/ifuncmain1.c: Likewise.
19653 * elf/ifuncmain1vis.c: Likewise.
19654 * elf/testobj.h: Likewise.
19655 * elf/tst-stackguard1.c: Likewise.
19656 * gmon/sys/gmon.h: Likewise.
19657 * hurd/hurdmsg.c: Likewise.
19658 * hurd/new-fd.c: Likewise.
19659 * hurd/ports-get.c: Likewise.
19660 * iconvdata/ibm1008_420.c: Likewise.
19661 * inet/tst-getni1.c: Likewise.
19662 * inet/tst-getni2.c: Likewise.
19663 * libio/ioungetc.c: Likewise.
19664 * libio/wfiledoalloc.c: Likewise.
19665 * manual/libm-err-tab.pl: Likewise.
19666 * math/w_dremf.c: Likewise.
19667 * misc/ftruncate.c: Likewise.
19668 * posix/bug-glob2.c: Likewise.
19669 * posix/tst-pcre.c: Likewise.
19670 * posix/wait4.c: Likewise.
19671 * resolv/README: Likewise.
19672 * resolv/res_debug.h: Likewise.
19673 * resolv/tst-inet_ntop.c: Likewise.
19674 * setjmp/bug269-setjmp.c: Likewise.
19675 * soft-fp/extended.h: Likewise.
19676 * soft-fp/op-1.h: Likewise.
19677 * soft-fp/op-2.h: Likewise.
19678 * soft-fp/op-4.h: Likewise.
19679 * soft-fp/op-8.h: Likewise.
19680 * soft-fp/testit.c: Likewise.
19681 * stdio-common/bug16.c: Likewise.
19682 * stdlib/random.c: Likewise.
19683 * sunrpc/rpcsvc/rquota.x: Likewise.
19684 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19690 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19693 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19695 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19700 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19702 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19711 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19712 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19713 * sysdeps/ieee754/s_lib_version.c: Likewise.
19714 * sysdeps/mach/hurd/check_fds.c: Likewise.
19715 * sysdeps/mach/hurd/getsockname.c: Likewise.
19716 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19717 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19718 * sysdeps/powerpc/bits/link.h: Likewise.
19719 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19720 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19721 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19722 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19723 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19724 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19725 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19726 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19727 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19732 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19733 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19734 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19740 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19742 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19743 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19746 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19747 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19750 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19751 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19752 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19753 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19754 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19755 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19760 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19761 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19763 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19764 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19766 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19767 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19771 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19772 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19773 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19775 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19777 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19783 * sysdeps/powerpc/sysdep.h: Likewise.
19784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19785 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19786 * sysdeps/sh/dl-trampoline.S: Likewise.
19787 * sysdeps/sh/memset.S: Likewise.
19788 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19789 * sysdeps/sh/strlen.S: Likewise.
19790 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19791 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19792 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19793 * sysdeps/sparc/sparc32/rem.S: Likewise.
19794 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19795 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19796 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19797 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19798 * sysdeps/sparc/sparc32/urem.S: Likewise.
19799 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19800 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19801 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19802 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19804 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19805 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19806 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19807 * sysdeps/unix/bsd/times.c: Likewise.
19808 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19809 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19813 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19814 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19815 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19816 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19817 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19818 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19819 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19820 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19821 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19822 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19823 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19824 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19825 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19826 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19827 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19828 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19829 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19830 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19831 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19832 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19833 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19834 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19836 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19837 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19838 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19839 * sysdeps/x86_64/strcspn.S: Likewise.
19841 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19843 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19844 generated file. Regenerate properly from gen-translit.pl.
19845 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19846 locale/C-translit.h.
19848 2013-06-05 Andreas Schwab <schwab@suse.de>
19851 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19852 week as 6 instead of -1.
19853 * time/tst-strptime.c (day_tests): Add test case.
19855 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19857 * sysdeps/generic/math_private.h
19858 (libc_feholdexcept_setround_53bit): Replace with
19859 libc_feholdsetround_53bit.
19860 (libc_feupdateenv_53bit): Replace with
19861 libc_feresetround_53bit.
19862 (SET_RESTORE_ROUND_53BIT): Adjust.
19864 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19866 * string/test-strchrnul.c: Add copyright header.
19868 * posix/tst-getaddrinfo4.c: Increase test timeout.
19870 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19873 * math/libm-test.inc (MAX_EXP): Remove
19875 (ulp): Use MIN_EXP - MANT_DIG.
19876 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19878 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19880 * po/be.po: Revert last change.
19881 * po/zh_CN.po: Likewise.
19882 * po/header.pot: Likewise.
19884 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19886 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19887 link-libc-deps to empty as target-specific variable.
19888 * Makerules (link-libc-args): New variable.
19889 (libc-for-link): Likewise.
19890 (link-libc-deps): Likewise.
19891 (lib%.so): Depend on $(link-libc-deps). Link with
19893 (build-module): Link with $(link-libc-args).
19894 (build-module-asneeded): Likewise.
19895 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19897 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19898 target-specific variable.
19899 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19900 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19901 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19903 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19905 ($(objpfx)libpcprofile.so): Likewise.
19906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19908 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19909 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19910 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19912 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19913 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19914 * login/Makefile ($(objpfx)libutil.so): Likewise.
19915 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19916 * math/Makefile ($(objpfx)libm.so): Likewise.
19917 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19918 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19919 variable instead of depending directly on libc.
19920 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19921 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19923 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19925 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19926 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19927 ($(objpfx)libanl.so): Likewise.
19928 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19930 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19932 * sysdeps/i386/fpu/Makefile: Remove file.
19933 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19934 ($(objpfx)libm.so): Remove dependency on ld.so.
19936 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19939 * nis/yp_xdr.c (XDRMAXNAME): Define.
19940 (XDRMAXRECORD): Define.
19941 (xdr_domainname): Use XDRMAXNAME.
19942 (xdr_mapname): Likewise.
19943 (xdr_peername): Likewise.
19944 (xdr_keydat): Use XDRMAXRECORD.
19945 (xdr_valdat): Likewise.
19947 2013-05-30 Jeff Law <law@redhat.com>
19950 * manual/errno.texi (ESTALE): Update to account for more than
19951 just NFS file systems.
19952 * sysdeps/gnu/errlist.c: Regenerated.
19954 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19957 * elf/Makefile (tests): Add tst-null-argv.
19958 (modules-names): Add tst-null-argv-lib.
19959 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19960 (tst-null-argv-ENV): Set environment for tst-null-argv.
19961 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19962 (RTLD_PROGNAME): New macro.
19963 * elf/tst-null-argv.c: New test case.
19964 * elf/tst-null-argv-lib.c: Library for test case.
19965 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19966 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19967 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19968 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19969 * elf/dl-init.c (call_init): Likewise.
19970 (_dl_init): Likewise.
19971 * elf/dl-load.c (print_search_path): Likewise.
19972 (_dl_map_object): Likewise.
19973 * elf/dl-lookup.c (do_lookup_x): Likewise.
19974 (add_dependency): Likewise.
19975 (_dl_lookup_symbol_x): Likewise.
19976 (_dl_debug_bindings): Likewise.
19977 * elf/dl-open.c (_dl_show_scope): Likewise.
19978 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19979 * elf/dl-version.c (match_symbol): Likewise.
19980 (_dl_check_map_versions): Likewise.
19981 * elf/rtld.c (dl_main): Likewise.
19982 (print_unresolved): Use RTLD_PROGNAME.
19983 (print_missing_version): Likewise.
19984 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19985 (elf_machine_rela): Likewise.
19986 * sysdeps/powerpc/powerpc32/dl-machine.c
19987 (__process_machine_rela): Likewise.
19988 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19990 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19992 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19994 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20001 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20003 * po/be.po: Add descriptive title.
20004 * po/zh_CN.po: Likewise.
20005 * po/header.pot: Likewise.
20007 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20009 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20011 (enlarge_archive): Likewise.
20013 2013-05-28 Ben North <ben@redfrontdoor.org>
20015 * manual/arith.texi (frexp): It is the magnitude of the return
20016 value which lies in [0.5, 1), not the return value itself.
20018 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20022 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20024 * stdio-common/bug26.c (main): Correct fscanf template.
20026 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20027 declare _dl_skip_args.
20029 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20032 * manual/platform.texi: Add missing @end deftypefun.
20034 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20037 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20038 bit of mantissa of 2^16382.
20039 * math/libm-test.inc (hypot_test_data): Add more tests.
20041 * math/libm-test.inc: Add drem and pow10 to list of tested
20043 (pow10_test): New function.
20044 (drem_test): Likewise.
20045 (drem_test_tonearest): Likewise.
20046 (drem_test_towardzero): Likewise.
20047 (drem_test_downward): Likewise.
20048 (drem_test_upward): Likewise.
20049 (main): Call the new functions.
20051 * math/libm-test.inc (finite_test_data): Remove.
20052 (finite_test): Run tests from isfinite_test_data.
20053 (gamma_test_data): Remove.
20054 (gamma_test): Run tests from lgamma_test_data.
20055 * sysdeps/i386/fpu/libm-test-ulps: Update.
20056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20060 * manual/platform.texi: Add PowerPC PPR function set documentation.
20061 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20064 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20066 * math/libm-test.inc (MAX_EXP): Define.
20068 (ulp): New function.
20069 (check_float_internal): Use ULPDIFF.
20070 (cpow_test): Disable failing test.
20071 (check_ulp): Test ulp() implemetnation.
20072 (main): Call check_ulp before starting tests.
20074 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20076 * math/gen-libm-test.pl (generate_testfile): Do not handle
20077 START_DATA and END_DATA.
20078 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20080 (acos_tonearest_test_data): Likewise.
20081 (acos_towardzero_test_data): Likewise.
20082 (acos_downward_test_data): Likewise.
20083 (acos_upward_test_data): Likewise.
20084 (acosh_test_data): Likewise.
20085 (asin_test_data): Likewise.
20086 (asin_tonearest_test_data): Likewise.
20087 (asin_towardzero_test_data): Likewise.
20088 (asin_downward_test_data): Likewise.
20089 (asin_upward_test_data): Likewise.
20090 (asinh_test_data): Likewise.
20091 (atan_test_data): Likewise.
20092 (atanh_test_data): Likewise.
20093 (atan2_test_data): Likewise.
20094 (cabs_test_data): Likewise.
20095 (cacos_test_data): Likewise.
20096 (cacosh_test_data): Likewise.
20097 (carg_test_data): Likewise.
20098 (casin_test_data): Likewise.
20099 (casinh_test_data): Likewise.
20100 (catan_test_data): Likewise.
20101 (catanh_test_data): Likewise.
20102 (cbrt_test_data): Likewise.
20103 (ccos_test_data): Likewise.
20104 (ccosh_test_data): Likewise.
20105 (ceil_test_data): Likewise.
20106 (cexp_test_data): Likewise.
20107 (cimag_test_data): Likewise.
20108 (clog_test_data): Likewise.
20109 (clog10_test_data): Likewise.
20110 (conj_test_data): Likewise.
20111 (copysign_test_data): Likewise.
20112 (cos_test_data): Likewise.
20113 (cos_tonearest_test_data): Likewise.
20114 (cos_towardzero_test_data): Likewise.
20115 (cos_downward_test_data): Likewise.
20116 (cos_upward_test_data): Likewise.
20117 (cosh_test_data): Likewise.
20118 (cosh_tonearest_test_data): Likewise.
20119 (cosh_towardzero_test_data): Likewise.
20120 (cosh_downward_test_data): Likewise.
20121 (cosh_upward_test_data): Likewise.
20122 (cpow_test_data): Likewise.
20123 (cproj_test_data): Likewise.
20124 (creal_test_data): Likewise.
20125 (csin_test_data): Likewise.
20126 (csinh_test_data): Likewise.
20127 (csqrt_test_data): Likewise.
20128 (ctan_test_data): Likewise.
20129 (ctan_tonearest_test_data): Likewise.
20130 (ctan_towardzero_test_data): Likewise.
20131 (ctan_downward_test_data): Likewise.
20132 (ctan_upward_test_data): Likewise.
20133 (ctanh_test_data): Likewise.
20134 (ctanh_tonearest_test_data): Likewise.
20135 (ctanh_towardzero_test_data): Likewise.
20136 (ctanh_downward_test_data): Likewise.
20137 (ctanh_upward_test_data): Likewise.
20138 (erf_test_data): Likewise.
20139 (erfc_test_data): Likewise.
20140 (exp_test_data): Likewise.
20141 (exp_tonearest_test_data): Likewise.
20142 (exp_towardzero_test_data): Likewise.
20143 (exp_downward_test_data): Likewise.
20144 (exp_upward_test_data): Likewise.
20145 (exp10_test_data): Likewise.
20146 (exp2_test_data): Likewise.
20147 (expm1_test_data): Likewise.
20148 (fabs_test_data): Likewise.
20149 (fdim_test_data): Likewise.
20150 (finite_test_data): Likewise.
20151 (floor_test_data): Likewise.
20152 (fma_test_data): Likewise.
20153 (fma_towardzero_test_data): Likewise.
20154 (fma_downward_test_data): Likewise.
20155 (fma_upward_test_data): Likewise.
20156 (fmax_test_data): Likewise.
20157 (fmin_test_data): Likewise.
20158 (fmod_test_data): Likewise.
20159 (fpclassify_test_data): Likewise.
20160 (frexp_test_data): Likewise.
20161 (gamma_test_data): Likewise.
20162 (hypot_test_data): Likewise.
20163 (ilogb_test_data): Likewise.
20164 (isfinite_test_data): Likewise.
20165 (isgreater_test_data): Likewise.
20166 (isgreaterequal_test_data): Likewise.
20167 (isinf_test_data): Likewise.
20168 (isless_test_data): Likewise.
20169 (islessequal_test_data): Likewise.
20170 (islessgreater_test_data): Likewise.
20171 (isnan_test_data): Likewise.
20172 (isnormal_test_data): Likewise.
20173 (issignaling_test_data): Likewise.
20174 (isunordered_test_data): Likewise.
20175 (j0_test_data): Likewise.
20176 (j1_test_data): Likewise.
20177 (jn_test_data): Likewise.
20178 (ldexp_test_data): Likewise.
20179 (lgamma_test_data): Likewise.
20180 (lrint_test_data): Likewise.
20181 (lrint_tonearest_test_data): Likewise.
20182 (lrint_towardzero_test_data): Likewise.
20183 (lrint_downward_test_data): Likewise.
20184 (lrint_upward_test_data): Likewise.
20185 (llrint_test_data): Likewise.
20186 (llrint_tonearest_test_data): Likewise.
20187 (llrint_towardzero_test_data): Likewise.
20188 (llrint_downward_test_data): Likewise.
20189 (llrint_upward_test_data): Likewise.
20190 (log_test_data): Likewise.
20191 (log10_test_data): Likewise.
20192 (log1p_test_data): Likewise.
20193 (log2_test_data): Likewise.
20194 (logb_test_data): Likewise.
20195 (logb_downward_test_data): Likewise.
20196 (lround_test_data): Likewise.
20197 (llround_test_data): Likewise.
20198 (modf_test_data): Likewise.
20199 (nearbyint_test_data): Likewise.
20200 (nextafter_test_data): Likewise.
20201 (nexttoward_test_data): Likewise.
20202 (pow_test_data): Likewise.
20203 (pow_tonearest_test_data): Likewise.
20204 (pow_towardzero_test_data): Likewise.
20205 (pow_downward_test_data): Likewise.
20206 (pow_upward_test_data): Likewise.
20207 (remainder_test_data): Likewise.
20208 (remainder_tonearest_test_data): Likewise.
20209 (remainder_towardzero_test_data): Likewise.
20210 (remainder_downward_test_data): Likewise.
20211 (remainder_upward_test_data): Likewise.
20212 (remquo_test_data): Likewise.
20213 (rint_test_data): Likewise.
20214 (rint_tonearest_test_data): Likewise.
20215 (rint_towardzero_test_data): Likewise.
20216 (rint_downward_test_data): Likewise.
20217 (rint_upward_test_data): Likewise.
20218 (round_test_data): Likewise.
20219 (scalb_test_data): Likewise.
20220 (scalbn_test_data): Likewise.
20221 (scalbln_test_data): Likewise.
20222 (signbit_test_data): Likewise.
20223 (sin_test_data): Likewise.
20224 (sin_tonearest_test_data): Likewise.
20225 (sin_towardzero_test_data): Likewise.
20226 (sin_downward_test_data): Likewise.
20227 (sin_upward_test_data): Likewise.
20228 (sincos_test_data): Likewise.
20229 (sinh_test_data): Likewise.
20230 (sinh_tonearest_test_data): Likewise.
20231 (sinh_towardzero_test_data): Likewise.
20232 (sinh_downward_test_data): Likewise.
20233 (sinh_upward_test_data): Likewise.
20234 (sqrt_test_data): Likewise.
20235 (tan_test_data): Likewise.
20236 (tan_tonearest_test_data): Likewise.
20237 (tan_towardzero_test_data): Likewise.
20238 (tan_downward_test_data): Likewise.
20239 (tan_upward_test_data): Likewise.
20240 (tanh_test_data): Likewise.
20241 (tgamma_test_data): Likewise.
20242 (trunc_test_data): Likewise.
20243 (y0_test_data): Likewise.
20244 (y1_test_data): Likewise.
20245 (yn_test_data): Likewise.
20246 (significand_test_data): Likewise.
20248 * math/gen-libm-test.pl (@functions): Remove variable.
20249 (generate_testfile): Don't handle START and END lines.
20250 * math/libm-test.inc (START): New macro.
20252 (END_COMPLEX): Likewise.
20253 (acos_test): Use END macro without arguments.
20254 (acos_test_tonearest): Likewise.
20255 (acos_test_towardzero): Likewise.
20256 (acos_test_downward): Likewise.
20257 (acos_test_upward): Likewise.
20258 (acosh_test): Likewise.
20259 (asin_test): Likewise.
20260 (asin_test_tonearest): Likewise.
20261 (asin_test_towardzero): Likewise.
20262 (asin_test_downward): Likewise.
20263 (asin_test_upward): Likewise.
20264 (asinh_test): Likewise.
20265 (atan_test): Likewise.
20266 (atanh_test): Likewise.
20267 (atan2_test): Likewise.
20268 (cabs_test): Likewise.
20269 (cacos_test): Use END_COMPLEX macro without arguments.
20270 (cacosh_test): Likewise.
20271 (carg_test): Use END macro without arguments.
20272 (casin_test): Use END_COMPLEX macro without arguments.
20273 (casinh_test): Likewise.
20274 (catan_test): Likewise.
20275 (catanh_test): Likewise.
20276 (cbrt_test): Use END macro without arguments.
20277 (ccos_test): Use END_COMPLEX macro without arguments.
20278 (ccosh_test): Likewise.
20279 (ceil_test): Use END macro without arguments.
20280 (cexp_test): Use END_COMPLEX macro without arguments.
20281 (cimag_test): Use END macro without arguments.
20282 (clog_test): Use END_COMPLEX macro without arguments.
20283 (clog10_test): Likewise.
20284 (conj_test): Likewise.
20285 (copysign_test): Use END macro without arguments.
20286 (cos_test): Likewise.
20287 (cos_test_tonearest): Likewise.
20288 (cos_test_towardzero): Likewise.
20289 (cos_test_downward): Likewise.
20290 (cos_test_upward): Likewise.
20291 (cosh_test): Likewise.
20292 (cosh_test_tonearest): Likewise.
20293 (cosh_test_towardzero): Likewise.
20294 (cosh_test_downward): Likewise.
20295 (cosh_test_upward): Likewise.
20296 (cpow_test): Use END_COMPLEX macro without arguments.
20297 (cproj_test): Likewise.
20298 (creal_test): Use END macro without arguments.
20299 (csin_test): Use END_COMPLEX macro without arguments.
20300 (csinh_test): Likewise.
20301 (csqrt_test): Likewise.
20302 (ctan_test): Likewise.
20303 (ctan_test_tonearest): Likewise.
20304 (ctan_test_towardzero): Likewise.
20305 (ctan_test_downward): Likewise.
20306 (ctan_test_upward): Likewise.
20307 (ctanh_test): Likewise.
20308 (ctanh_test_tonearest): Likewise.
20309 (ctanh_test_towardzero): Likewise.
20310 (ctanh_test_downward): Likewise.
20311 (ctanh_test_upward): Likewise.
20312 (erf_test): Use END macro without arguments.
20313 (erfc_test): Likewise.
20314 (exp_test): Likewise.
20315 (exp_test_tonearest): Likewise.
20316 (exp_test_towardzero): Likewise.
20317 (exp_test_downward): Likewise.
20318 (exp_test_upward): Likewise.
20319 (exp10_test): Likewise.
20320 (exp2_test): Likewise.
20321 (expm1_test): Likewise.
20322 (fabs_test): Likewise.
20323 (fdim_test): Likewise.
20324 (finite_test): Likewise.
20325 (floor_test): Likewise.
20326 (fma_test): Likewise.
20327 (fma_test_towardzero): Likewise.
20328 (fma_test_downward): Likewise.
20329 (fma_test_upward): Likewise.
20330 (fmax_test): Likewise.
20331 (fmin_test): Likewise.
20332 (fmod_test): Likewise.
20333 (fpclassify_test): Likewise.
20334 (frexp_test): Likewise.
20335 (gamma_test): Likewise.
20336 (hypot_test): Likewise.
20337 (ilogb_test): Likewise.
20338 (isfinite_test): Likewise.
20339 (isgreater_test): Likewise.
20340 (isgreaterequal_test): Likewise.
20341 (isinf_test): Likewise.
20342 (isless_test): Likewise.
20343 (islessequal_test): Likewise.
20344 (islessgreater_test): Likewise.
20345 (isnan_test): Likewise.
20346 (isnormal_test): Likewise.
20347 (issignaling_test): Likewise.
20348 (isunordered_test): Likewise.
20349 (j0_test): Likewise.
20350 (j1_test): Likewise.
20351 (jn_test): Likewise.
20352 (ldexp_test): Likewise.
20353 (lgamma_test): Likewise.
20354 (lrint_test): Likewise.
20355 (lrint_test_tonearest): Likewise.
20356 (lrint_test_towardzero): Likewise.
20357 (lrint_test_downward): Likewise.
20358 (lrint_test_upward): Likewise.
20359 (llrint_test): Likewise.
20360 (llrint_test_tonearest): Likewise.
20361 (llrint_test_towardzero): Likewise.
20362 (llrint_test_downward): Likewise.
20363 (llrint_test_upward): Likewise.
20364 (log_test): Likewise.
20365 (log10_test): Likewise.
20366 (log1p_test): Likewise.
20367 (log2_test): Likewise.
20368 (logb_test): Likewise.
20369 (logb_test_downward): Likewise.
20370 (lround_test): Likewise.
20371 (llround_test): Likewise.
20372 (modf_test): Likewise.
20373 (nearbyint_test): Likewise.
20374 (nextafter_test): Likewise.
20375 (nexttoward_test): Likewise.
20376 (pow_test): Likewise.
20377 (pow_test_tonearest): Likewise.
20378 (pow_test_towardzero): Likewise.
20379 (pow_test_downward): Likewise.
20380 (pow_test_upward): Likewise.
20381 (remainder_test): Likewise.
20382 (remainder_test_tonearest): Likewise.
20383 (remainder_test_towardzero): Likewise.
20384 (remainder_test_downward): Likewise.
20385 (remainder_test_upward): Likewise.
20386 (remquo_test): Likewise.
20387 (rint_test): Likewise.
20388 (rint_test_tonearest): Likewise.
20389 (rint_test_towardzero): Likewise.
20390 (rint_test_downward): Likewise.
20391 (rint_test_upward): Likewise.
20392 (round_test): Likewise.
20393 (scalb_test): Likewise.
20394 (scalbn_test): Likewise.
20395 (scalbln_test): Likewise.
20396 (signbit_test): Likewise.
20397 (sin_test): Likewise.
20398 (sin_test_tonearest): Likewise.
20399 (sin_test_towardzero): Likewise.
20400 (sin_test_downward): Likewise.
20401 (sin_test_upward): Likewise.
20402 (sincos_test): Likewise.
20403 (sinh_test): Likewise.
20404 (sinh_test_tonearest): Likewise.
20405 (sinh_test_towardzero): Likewise.
20406 (sinh_test_downward): Likewise.
20407 (sinh_test_upward): Likewise.
20408 (sqrt_test): Likewise.
20409 (tan_test): Likewise.
20410 (tan_test_tonearest): Likewise.
20411 (tan_test_towardzero): Likewise.
20412 (tan_test_downward): Likewise.
20413 (tan_test_upward): Likewise.
20414 (tanh_test): Likewise.
20415 (tgamma_test): Likewise.
20416 (trunc_test): Likewise.
20417 (y0_test): Likewise.
20418 (y1_test): Likewise.
20419 (yn_test): Likewise.
20420 (significand_test): Likewise.
20422 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20425 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20427 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20430 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20431 __ppc_mdoio and __ppc_mdoom.
20432 * manual/platform.texi: Document new functions __ppc_yield,
20433 __ppc_mdoio and __ppc_mdoom.
20435 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20437 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20438 (main): Mention "tls" pseudo-hwcap is legacy.
20439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20441 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20443 * math/gen-libm-test.pl (parse_args): Output only string of
20444 arguments as text for test name, not full call or descriptions of
20445 tests for extra outputs.
20446 (generate_testfile): Do not pass function name to parse_args.
20447 Generate this_func variable from START.
20448 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20450 (struct test_ff_f_data): Likewise.
20451 (test_ff_f_data_nexttoward): Likewise.
20452 (struct test_fi_f_data): Likewise.
20453 (struct test_fl_f_data): Likewise.
20454 (struct test_if_f_data): Likewise.
20455 (struct test_fff_f_data): Likewise.
20456 (struct test_c_f_data): Likewise.
20457 (struct test_f_f1_data): Likewise. Remove field extra_name.
20458 (struct test_fF_f1_data): Likewise.
20459 (struct test_ffI_f1_data): Likewise.
20460 (struct test_c_c_data): Rename test_name field to arg_str.
20461 (struct test_cc_c_data): Likewise.
20462 (struct test_f_i_data): Likewise.
20463 (struct test_ff_i_data): Likewise.
20464 (struct test_f_l_data): Likewise.
20465 (struct test_f_L_data): Likewise.
20466 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20468 (COMMON_TEST_SETUP): New macro.
20469 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20470 (COMMON_TEST_CLEANUP): Likewise.
20471 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20472 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20474 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20475 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20477 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20478 (RUN_TEST_fff_f): Take argument string. Call new setup and
20480 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20481 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20483 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20484 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20486 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20487 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20489 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20490 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20492 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20493 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20495 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20496 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20498 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20499 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20501 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20502 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20504 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20505 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20507 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20508 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20510 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20511 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20513 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20514 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20516 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20517 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20519 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20520 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20522 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20523 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20525 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20527 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20529 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20530 to _sifields.sigfault.
20531 (si_addr_lsb): Define new macro.
20532 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20536 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20539 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20541 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20543 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20544 loading the domain.
20546 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20548 * math/gen-libm-test.pl (parse_args): Do not include expected
20549 result in test name.
20550 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20553 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20557 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20559 * benchtests/Makefile: Sort function entries.
20561 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20562 tanh, asinh, acosh, atanh.
20563 * benchtests/acos-inputs: New file.
20564 * benchtests/acosh-inputs: New file.
20565 * benchtests/asin-inputs: New file.
20566 * benchtests/asinh-inputs: New file.
20567 * benchtests/atanh-inputs: New file.
20568 * benchtests/cosh-inputs: New file.
20569 * benchtests/log-inputs: New file.
20570 * benchtests/sinh-inputs: New file.
20571 * benchtests/tanh-inputs: New file.
20573 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20576 * posix/tst-getaddrinfo4.c: New test.
20577 * posix/Makefile (tests): Add it.
20579 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20582 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20583 when no services were used.
20584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20585 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20587 2013-05-21 Andreas Schwab <schwab@suse.de>
20590 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20591 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20593 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20594 redundant variable declarations and reallocation of buffer when
20595 parsing as IPv6 address. Always set NSS status when called from
20596 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20597 buffer too small. Correct computation of needed size.
20598 * nss/Makefile (tests): Add test-digits-dots.
20599 * nss/test-digits-dots.c: New test.
20601 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20603 * benchtests/Makefile: Remove instructions for adding
20605 * benchtests/README: New file to explain how to execute and
20606 enhance the benchmark tests.
20608 2013-05-21 Andreas Schwab <schwab@suse.de>
20611 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20612 * setjmp/tst-sigsetjmp.c: New test.
20614 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20616 * sysdeps/x86_64/memset.S (memset): New implementation.
20617 (__bzero): Likewise.
20618 (__memset_tail): New function.
20620 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20622 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20623 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20624 __memcpy_sse2_unaligned ifunc selection.
20625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20626 Add memcpy-sse2-unaligned.S.
20627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20628 Add: __memcpy_sse2_unaligned.
20630 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20633 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20634 math_force_eval before restoring floating-point envrionment.
20635 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20640 (__nearbyintl): Use math_force_eval before restoring
20641 floating-point environment.
20642 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20644 * math/gen-libm-test.pl (special_functions): Remove.
20645 (parse_args): Don't handle TEST_extra. Handle functions with no
20647 * math/libm-test.inc (struct test_sincos_data): Replace with
20648 struct test_fFF_11_data.
20649 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20650 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20651 (sincos_test_data): Change element type to struct
20652 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20653 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20654 RUN_TEST_LOOP_sincos.
20655 * math/README.libm-test: Don't mention special handling of
20656 individual functions.
20657 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20659 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20660 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20661 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20664 * math/gen-libm-test.pl (get_variable): Remove function.
20665 (parse_args): Don't show pointer parameters to call in test
20666 names. Use "extra output N" in test names for extra outputs
20667 rather than naming variables.
20669 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20672 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20673 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20674 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20676 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20678 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20681 * math/gen-libm-test.pl (@tests): Remove variable.
20682 ($count): Likewise.
20683 (new_test): Remove function.
20684 (show_exceptions): New function.
20685 (special_functions): Use show_exceptions instead of new_test.
20686 (parse_args): Likewise.
20687 (generate_testfile): Pass only function name in generated call to
20688 print_max_error or print_complex_max_error.
20689 (get_ulps): Do not handle complex tests specially.
20690 (output_test): Rename to ...
20691 (get_all_ulps_for_test): ... this. Return a string rather than
20692 printing to a file. Require ulps to be present.
20693 (output_ulps): Generate arrays rather than #defines.
20694 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20695 (struct ulp_data): New type.
20696 (BUILD_COMPLEX_ULP): Remove macro.
20697 (compare_ulp_data): New function.
20698 (find_ulps): Likewise.
20699 (find_test_ulps): Likewise.
20700 (find_function_ulps): Likewise.
20701 (find_complex_function_ulps): Likewise.
20702 (print_max_error): Determine allowed ulps using
20703 find_function_ulps.
20704 (print_complex_max_error): Determine allowed ulps using
20705 find_complex_function_ulps.
20706 (check_float_internal): Determine max ulps using find_test_ulps.
20707 (check_float): Do not take max_ulp parameter. Update call to
20708 check_float_internal.
20709 (check_complex): Likewise.
20710 (check_int): Do not take max_ulp parameter.
20711 (check_long): Likewise.
20712 (check_bool): Likewise.
20713 (check_longlong): Likewise.
20714 (struct test_f_f_data): Remove max_ulp field.
20715 (struct test_ff_f_data): Likewise.
20716 (struct test_ff_f_data_nexttoward): Likewise.
20717 (struct test_fi_f_data): Likewise.
20718 (struct test_fl_f_data): Likewise.
20719 (struct test_if_f_data): Likewise.
20720 (struct test_fff_f_data): Likewise.
20721 (struct test_c_f_data): Likewise.
20722 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20723 (struct test_fF_f1_data): Likewise.
20724 (struct test_ffI_f1_data): Likewise.
20725 (struct test_c_c_data): Remove max_ulp field.
20726 (struct test_cc_c_data): Likewise.
20727 (struct test_f_i_data): Likewise.
20728 (struct test_ff_i_data): Likewise.
20729 (struct test_f_l_data): Likewise.
20730 (struct test_f_L_data): Likewise.
20731 (struct test_sincos_data): Likewise.
20732 (RUN_TEST_f_f): Do not handle ulps.
20733 (RUN_TEST_LOOP_f_f): Likewise.
20734 (RUN_TEST_2_f): Likewise.
20735 (RUN_TEST_LOOP_2_f): Likewise.
20736 (RUN_TEST_fff_f): Likewise.
20737 (RUN_TEST_LOOP_fff_f): Likewise.
20738 (RUN_TEST_c_f): Likewise.
20739 (RUN_TEST_LOOP_c_f): Likewise.
20740 (RUN_TEST_f_f1): Likewise.
20741 (RUN_TEST_LOOP_f_f1): Likewise.
20742 (RUN_TEST_fF_f1): Likewise.
20743 (RUN_TEST_LOOP_fF_f1): Likewise.
20744 (RUN_TEST_fI_f1): Likewise.
20745 (RUN_TEST_LOOP_fI_f1): Likewise.
20746 (RUN_TEST_ffI_f1): Likewise.
20747 (RUN_TEST_LOOP_ffI_f1): Likewise.
20748 (RUN_TEST_c_c): Likewise.
20749 (RUN_TEST_LOOP_c_c): Likewise.
20750 (RUN_TEST_cc_c): Likewise.
20751 (RUN_TEST_LOOP_cc_c): Likewise.
20752 (RUN_TEST_f_i): Likewise.
20753 (RUN_TEST_LOOP_f_i): Likewise.
20754 (RUN_TEST_f_i_tg): Likewise.
20755 (RUN_TEST_LOOP_f_i_tg): Likewise.
20756 (RUN_TEST_ff_i_tg): Likewise.
20757 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20758 (RUN_TEST_f_b): Likewise.
20759 (RUN_TEST_LOOP_f_b): Likewise.
20760 (RUN_TEST_f_b_tg): Likewise.
20761 (RUN_TEST_LOOP_f_b_tg): Likewise.
20762 (RUN_TEST_f_l): Likewise.
20763 (RUN_TEST_LOOP_f_l): Likewise.
20764 (RUN_TEST_f_L): Likewise.
20765 (RUN_TEST_LOOP_f_L): Likewise.
20766 (RUN_TEST_sincos): Likewise.
20767 (RUN_TEST_LOOP_sincos): Likewise.
20769 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20773 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20774 main case of finite arguments, set rounding mode to FE_TONEAREST
20775 and discard exceptions.
20776 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20778 (remainder_tonearest_test_data): New variable.
20779 (remainder_test_tonearest): New function.
20780 (remainder_towardzero_test_data): New variable.
20781 (remainder_test_towardzero): New function.
20782 (remainder_downward_test_data): New variable.
20783 (remainder_test_downward): New function.
20784 (remainder_upward_test_data): New variable.
20785 (remainder_test_upward): New function.
20786 (main): Call the new test functions.
20788 * math/libm-test.inc (struct test_f_f1_data): Remove field
20790 (struct test_fF_f1_data): Likewise.
20791 (struct test_ffI_f1_data): Likewise.
20792 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20793 based on value of EXTRA_EXPECTED.
20794 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20795 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20796 EXTRA_VAR based on value of EXTRA_EXPECTED.
20797 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20798 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20799 EXTRA_VAR based on value of EXTRA_EXPECTED.
20800 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20801 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20802 EXTRA_VAR based on value of EXTRA_EXPECTED.
20803 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20804 * math/gen-libm-test.pl (parse_args): Don't output initializers
20805 for extra output values.
20807 * math/libm-test.inc (check_int): Expect result to be exactly
20808 equal to expected value and do not handle ulps.
20809 (check_long): Likewise.
20810 (check_longlong): Likewise.
20812 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20814 (cimag_test_data): Likewise.
20815 (conj_test_data): Likewise.
20816 (copysign_test_data): Likewise.
20817 (cproj_test_data): Likewise.
20818 (creal_test_data): Likewise.
20819 (fabs_test_data): Likewise.
20820 (fdim_test_data): Likewise.
20821 (finite_test_data): Likewise.
20822 (floor_test_data): Likewise.
20823 (fmax_test_data): Likewise.
20824 (fmin_test_data): Likewise.
20825 (fmod_test_data): Likewise.
20826 (fpclassify_test_data): Likewise.
20827 (frexp_test_data): Likewise.
20828 (ilogb_test_data): Likewise.
20829 (isfinite_test_data): Likewise.
20830 (isgreater_test_data): Likewise.
20831 (isgreaterequal_test_data): Likewise.
20832 (isinf_test_data): Likewise.
20833 (isless_test_data): Likewise.
20834 (islessequal_test_data): Likewise.
20835 (islessgreater_test_data): Likewise.
20836 (isnan_test_data): Likewise.
20837 (isnormal_test_data): Likewise.
20838 (issignaling_test_data): Likewise.
20839 (isunordered_test_data): Likewise.
20840 (ldexp_test_data): Likewise.
20841 (lrint_test_data): Likewise.
20842 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20843 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20844 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20845 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20846 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20847 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20849 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20850 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20851 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20852 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20854 (lrint_downward_test_data): Test for "inexact" exceptions.
20855 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20856 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20857 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20859 (lrint_upward_test_data): Test for "inexact" exceptions.
20860 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20862 (llrint_test_data): Test for "inexact" exceptions.
20863 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20864 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20865 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20866 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20867 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20868 (llrint_downward_test_data): Test for "inexact" exceptions.
20869 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20870 (llrint_upward_test_data): Test for "inexact" exceptions.
20871 (logb_test_data): Likewise.
20872 (logb_downward_test_data): Likewise.
20873 (nextafter_test_data): Likewise.
20874 (nexttoward_test_data): Likewise.
20875 (remainder_test_data): Likewise.
20876 (remquo_test_data): Likewise.
20877 (scalbn_test_data): Likewise.
20878 (scalbln_test_data): Likewise.
20879 (signbit_test_data): Likewise.
20880 (sqrt_test_data): Likewise.
20881 (significand_test_data): Likewise.
20883 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20886 * benchtests/bench-modf.c (struct args): Mark arg0 as
20888 * scripts/bench.pl: Mark members of struct args as volatile.
20890 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20893 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20894 negative infinity on POWER6 or lower.
20895 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20897 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20900 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20901 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20902 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20903 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20904 (_FP_SETQNAN): New macro.
20905 (_FP_SETQNAN_SEMIRAW): Likewise.
20906 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20907 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20908 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20909 (FP_EXTEND): Use _FP_FRAC_SNANP.
20910 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20911 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20913 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20915 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20918 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20920 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20921 with DIVIDE_BY_ZERO_EXCEPTION.
20922 (gamma_test_data): Likewise.
20923 (lgamma_test_data): Likewise.
20924 (log_test_data): Likewise.
20925 (log10_test_data): Likewise.
20926 (log2_test_data): Likewise.
20927 (tgamma_test_data): Likewise.
20929 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20930 (acos_test_tonearest): Likewise.
20931 (acos_test_towardzero): Likewise.
20932 (acos_test_downward): Likewise.
20933 (acos_test_upward): Likewise.
20934 (acosh_test): Likewise.
20935 (asin_test): Likewise.
20936 (asin_test_tonearest): Likewise.
20937 (asin_test_towardzero): Likewise.
20938 (asin_test_downward): Likewise.
20939 (asin_test_upward): Likewise.
20940 (asinh_test): Likewise.
20941 (atan_test): Likewise.
20942 (atanh_test): Likewise.
20943 (atan2_test): Likewise.
20944 (cabs_test): Likewise.
20945 (cacos_test): Likewise.
20946 (cacosh_test): Likewise.
20947 (casin_test): Likewise.
20948 (casinh_test): Likewise.
20949 (catan_test): Likewise.
20950 (catanh_test): Likewise.
20951 (cbrt_test): Likewise.
20952 (ccos_test): Likewise.
20953 (ccosh_test): Likewise.
20954 (cexp_test): Likewise.
20955 (clog_test): Likewise.
20956 (clog10_test): Likewise.
20957 (cos_test): Likewise.
20958 (cos_test_tonearest): Likewise.
20959 (cos_test_towardzero): Likewise.
20960 (cos_test_downward): Likewise.
20961 (cos_test_upward): Likewise.
20962 (cosh_test): Likewise.
20963 (cosh_test_tonearest): Likewise.
20964 (cosh_test_towardzero): Likewise.
20965 (cosh_test_downward): Likewise.
20966 (cosh_test_upward): Likewise.
20967 (cpow_test): Likewise.
20968 (csin_test): Likewise.
20969 (csinh_test): Likewise.
20970 (csqrt_test): Likewise.
20971 (ctan_test): Likewise.
20972 (ctan_test_tonearest): Likewise.
20973 (ctan_test_towardzero): Likewise.
20974 (ctan_test_downward): Likewise.
20975 (ctan_test_upward): Likewise.
20976 (ctanh_test): Likewise.
20977 (ctanh_test_tonearest): Likewise.
20978 (ctanh_test_towardzero): Likewise.
20979 (ctanh_test_downward): Likewise.
20980 (ctanh_test_upward): Likewise.
20981 (erf_test): Likewise.
20982 (erfc_test): Likewise.
20983 (exp_test): Likewise.
20984 (exp_test_tonearest): Likewise.
20985 (exp_test_towardzero): Likewise.
20986 (exp_test_downward): Likewise.
20987 (exp_test_upward): Likewise.
20988 (exp10_test): Likewise.
20989 (exp2_test): Likewise.
20990 (expm1_test): Likewise.
20991 (fmod_test): Likewise.
20992 (gamma_test): Likewise.
20993 (hypot_test): Likewise.
20994 (j0_test): Likewise.
20995 (j1_test): Likewise.
20996 (jn_test): Likewise.
20997 (lgamma_test): Likewise.
20998 (log_test): Likewise.
20999 (log10_test): Likewise.
21000 (log1p_test): Likewise.
21001 (log2_test): Likewise.
21002 (logb_test_downward): Likewise.
21003 (pow_test): Likewise.
21004 (pow_test_tonearest): Likewise.
21005 (pow_test_towardzero): Likewise.
21006 (pow_test_downward): Likewise.
21007 (pow_test_upward): Likewise.
21008 (remainder_test): Likewise.
21009 (remquo_test): Likewise.
21010 (sin_test): Likewise.
21011 (sin_test_tonearest): Likewise.
21012 (sin_test_towardzero): Likewise.
21013 (sin_test_downward): Likewise.
21014 (sin_test_upward): Likewise.
21015 (sincos_test): Likewise.
21016 (sinh_test): Likewise.
21017 (sinh_test_tonearest): Likewise.
21018 (sinh_test_towardzero): Likewise.
21019 (sinh_test_downward): Likewise.
21020 (sinh_test_upward): Likewise.
21021 (sqrt_test): Likewise.
21022 (tan_test): Likewise.
21023 (tan_test_tonearest): Likewise.
21024 (tan_test_towardzero): Likewise.
21025 (tan_test_downward): Likewise.
21026 (tan_test_upward): Likewise.
21027 (tanh_test): Likewise.
21028 (tgamma_test): Likewise.
21029 (y0_test): Likewise.
21030 (y1_test): Likewise.
21031 (yn_test): Likewise.
21033 * math/gen-libm-test.pl (adjust_arg): Remove function.
21034 (special_function): Remove argument $in_func. Only handle
21035 generating output for tables of tests, not inside functions.
21036 (parse_args): Likewise.
21037 (generate_testfile): Remove variable $in_func. Update call to
21039 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21040 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21041 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21042 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21043 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21044 (MAX_VALUE_INIT): Rename macro to max_value.
21045 (MIN_VALUE_INIT): Rename macro to min_value.
21046 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21047 (plus_zero): Remove variable.
21048 (minus_zero): Likewise.
21049 (plus_infty): Likewise.
21050 (minus_infty): Likewise.
21051 (qnan_value): Likewise.
21052 (max_value): Likewise.
21053 (min_value): Likewise.
21054 (min_subnorm_value): Likewise.
21056 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21058 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21059 uint64_t or uint32_t usage.
21060 * crypt/sha256-block.c: Likewise.
21061 * crypt/sha256-crypt.c: Likewise.
21062 * crypt/sha256.c: Likewise.
21063 * crypt/sha512-block.c: Likewise.
21064 * crypt/sha512-crypt.c: Likewise.
21065 * crypt/sha512.c: Likewise.
21066 * debug/backtrace-tst.c: Likewise.
21067 * debug/pcprofiledump.c: Likewise.
21068 * elf/cache.c: Likewise.
21069 * elf/dl-cache.c: Likewise.
21070 * elf/dl-misc.c: Likewise.
21071 * elf/dl-profile.c: Likewise.
21072 * elf/dl-support.c: Likewise.
21073 * elf/ldconfig.c: Likewise.
21074 * elf/sprof.c: Likewise.
21075 * iconv/dummy-repertoire.c: Likewise.
21076 * iconv/iconv_charmap.c: Likewise.
21077 * iconv/skeleton.c: Likewise.
21078 * iconvdata/8bit-generic.c: Likewise.
21079 * iconvdata/cp737.h: Likewise.
21080 * iconvdata/cp775.h: Likewise.
21081 * iconvdata/ibm1008.h: Likewise.
21082 * iconvdata/ibm1025.h: Likewise.
21083 * iconvdata/ibm1046.h: Likewise.
21084 * iconvdata/ibm1097.h: Likewise.
21085 * iconvdata/ibm1112.h: Likewise.
21086 * iconvdata/ibm1122.h: Likewise.
21087 * iconvdata/ibm1123.h: Likewise.
21088 * iconvdata/ibm1124.h: Likewise.
21089 * iconvdata/ibm1129.h: Likewise.
21090 * iconvdata/ibm1130.h: Likewise.
21091 * iconvdata/ibm1132.h: Likewise.
21092 * iconvdata/ibm1133.h: Likewise.
21093 * iconvdata/ibm1137.h: Likewise.
21094 * iconvdata/ibm1140.h: Likewise.
21095 * iconvdata/ibm1141.h: Likewise.
21096 * iconvdata/ibm1142.h: Likewise.
21097 * iconvdata/ibm1143.h: Likewise.
21098 * iconvdata/ibm1144.h: Likewise.
21099 * iconvdata/ibm1145.h: Likewise.
21100 * iconvdata/ibm1146.h: Likewise.
21101 * iconvdata/ibm1147.h: Likewise.
21102 * iconvdata/ibm1148.h: Likewise.
21103 * iconvdata/ibm1149.h: Likewise.
21104 * iconvdata/ibm1153.h: Likewise.
21105 * iconvdata/ibm1154.h: Likewise.
21106 * iconvdata/ibm1155.h: Likewise.
21107 * iconvdata/ibm1156.h: Likewise.
21108 * iconvdata/ibm1157.h: Likewise.
21109 * iconvdata/ibm1158.h: Likewise.
21110 * iconvdata/ibm1160.h: Likewise.
21111 * iconvdata/ibm1161.h: Likewise.
21112 * iconvdata/ibm1162.h: Likewise.
21113 * iconvdata/ibm1163.h: Likewise.
21114 * iconvdata/ibm1164.h: Likewise.
21115 * iconvdata/ibm1166.h: Likewise.
21116 * iconvdata/ibm1167.h: Likewise.
21117 * iconvdata/ibm12712.h: Likewise.
21118 * iconvdata/ibm1390.h: Likewise.
21119 * iconvdata/ibm1399.h: Likewise.
21120 * iconvdata/ibm16804.h: Likewise.
21121 * iconvdata/ibm4517.h: Likewise.
21122 * iconvdata/ibm4899.h: Likewise.
21123 * iconvdata/ibm4909.h: Likewise.
21124 * iconvdata/ibm4971.h: Likewise.
21125 * iconvdata/ibm5347.h: Likewise.
21126 * iconvdata/ibm803.h: Likewise.
21127 * iconvdata/ibm856.h: Likewise.
21128 * iconvdata/ibm901.h: Likewise.
21129 * iconvdata/ibm902.h: Likewise.
21130 * iconvdata/ibm9030.h: Likewise.
21131 * iconvdata/ibm9066.h: Likewise.
21132 * iconvdata/ibm921.h: Likewise.
21133 * iconvdata/ibm922.h: Likewise.
21134 * iconvdata/ibm9448.h: Likewise.
21135 * iconvdata/isiri-3342.h: Likewise.
21136 * iconvdata/jis0201.h: Likewise.
21137 * include/link.h: Likewise.
21138 * include/netdb.h: Likewise.
21139 * inet/check_native.c: Likewise.
21140 * inet/check_pf.c: Likewise.
21141 * inet/getipv4sourcefilter.c: Likewise.
21142 * inet/getnameinfo.c: Likewise.
21143 * inet/getsourcefilter.c: Likewise.
21144 * inet/htonl.c: Likewise.
21145 * inet/setipv4sourcefilter.c: Likewise.
21146 * inet/setsourcefilter.c: Likewise.
21147 * inet/test-inet6_opt.c: Likewise.
21148 * inet/tst-network.c: Likewise.
21149 * locale/C-collate.c: Likewise.
21150 * locale/C-ctype.c: Likewise.
21151 * locale/C-time.c: Likewise.
21152 * locale/C-translit.h: Likewise.
21153 * locale/loadarchive.c: Likewise.
21154 * locale/programs/3level.h: Likewise.
21155 * locale/programs/charmap.c: Likewise.
21156 * locale/programs/charmap.h: Likewise.
21157 * locale/programs/ld-address.c: Likewise.
21158 * locale/programs/ld-collate.c: Likewise.
21159 * locale/programs/ld-ctype.c: Likewise.
21160 * locale/programs/ld-identification.c: Likewise.
21161 * locale/programs/ld-measurement.c: Likewise.
21162 * locale/programs/ld-messages.c: Likewise.
21163 * locale/programs/ld-monetary.c: Likewise.
21164 * locale/programs/ld-name.c: Likewise.
21165 * locale/programs/ld-numeric.c: Likewise.
21166 * locale/programs/ld-paper.c: Likewise.
21167 * locale/programs/ld-telephone.c: Likewise.
21168 * locale/programs/ld-time.c: Likewise.
21169 * locale/programs/linereader.c: Likewise.
21170 * locale/programs/locale.c: Likewise.
21171 * locale/programs/locarchive.c: Likewise.
21172 * locale/programs/locfile.h: Likewise.
21173 * locale/programs/repertoire.c: Likewise.
21174 * locale/programs/simple-hash.c: Likewise.
21175 * locale/programs/simple-hash.h: Likewise.
21176 * malloc/memusage.c: Likewise.
21177 * malloc/memusagestat.c: Likewise.
21178 * nis/nis_defaults.c: Likewise.
21179 * nis/nis_hash.c: Likewise.
21180 * nis/nis_print.c: Likewise.
21181 * nis/nis_xdr.c: Likewise.
21182 * nscd/connections.c: Likewise.
21183 * nscd/hstcache.c: Likewise.
21184 * nscd/nscd_gethst_r.c: Likewise.
21185 * nscd/nscd_getserv_r.c: Likewise.
21186 * nscd/nscd_helper.c: Likewise.
21187 * nscd/servicescache.c: Likewise.
21188 * nss/makedb.c: Likewise.
21189 * nss/nss_db/db-XXX.c: Likewise.
21190 * nss/nss_db/db-initgroups.c: Likewise.
21191 * nss/nss_db/db-netgrp.c: Likewise.
21192 * nss/nss_files/files-network.c: Likewise.
21193 * nss/nss_files/files-parse.c: Likewise.
21194 * posix/bug-regex5.c: Likewise.
21195 * posix/fnmatch_loop.c: Likewise.
21196 * posix/regcomp.c: Likewise.
21197 * posix/regexec.c: Likewise.
21198 * posix/tst-rfc3484-2.c: Likewise.
21199 * posix/tst-rfc3484-3.c: Likewise.
21200 * posix/tst-rfc3484.c: Likewise.
21201 * resolv/nss_dns/dns-canon.c: Likewise.
21202 * resolv/nss_dns/dns-network.c: Likewise.
21203 * resolv/res_init.c: Likewise.
21204 * resolv/res_mkquery.c: Likewise.
21205 * resolv/tst-aton.c: Likewise.
21206 * stdlib/cxa_atexit.c: Likewise.
21207 * stdlib/cxa_finalize.c: Likewise.
21208 * stdlib/gen-fpioconst.c: Likewise.
21209 * stdlib/strtol_l.c: Likewise.
21210 * string/tst-endian.c: Likewise.
21211 * sunrpc/auth_des.c: Likewise.
21212 * sunrpc/clnt_udp.c: Likewise.
21213 * sunrpc/rtime.c: Likewise.
21214 * sunrpc/svcauth_des.c: Likewise.
21215 * sunrpc/xdr.c: Likewise.
21216 * sunrpc/xdr_intXX_t.c: Likewise.
21217 * sunrpc/xdr_rec.c: Likewise.
21218 * sysdeps/generic/ldconfig.h: Likewise.
21219 * sysdeps/generic/ldsodefs.h: Likewise.
21220 * sysdeps/generic/memusage.h: Likewise.
21221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21223 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21227 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21228 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21231 * sysdeps/posix/getaddrinfo.c: Likewise.
21232 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21233 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21234 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21235 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21236 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21237 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21238 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21239 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21240 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21241 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21242 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21243 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21244 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21245 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21246 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21247 * sysdeps/x86_64/dl-tls.h: Likewise.
21248 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21249 * time/alt_digit.c: Likewise.
21250 * time/era.c: Likewise.
21251 * wcsmbs/tst-c16c32-1.c: Likewise.
21253 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21255 * math/libm-test.inc (struct test_sincos_data): New type.
21256 (RUN_TEST_LOOP_sincos): New macro.
21257 (sincos_test_data): New variable.
21258 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21260 2013-05-16 Richard Henderson <rth@redhat.com>
21262 * math/atest-exp2.c (LIMB64): New macro.
21263 (CONSTSZ): New macro.
21264 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21266 (print_mpn_fp): ... to function scope.
21267 (read_mpn_hex): Remove.
21268 (get_log2): Remove.
21269 (exp2_mpn): Use mp_log2.
21270 (main): Use mp_exp1.
21272 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21274 * math/libm-test.inc: Remove comment about not testing "inexact"
21276 (INEXACT_EXCEPTION): New macro.
21277 (NO_INEXACT_EXCEPTION): Likewise.
21278 (INVALID_EXCEPTION_OK): Update value.
21279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21280 (OVERFLOW_EXCEPTION_OK): Likewise.
21281 (UNDERFLOW_EXCEPTION_OK): Likewise.
21282 (IGNORE_ZERO_INF_SIGN): Likewise.
21283 (ERRNO_UNCHANGED): Likewise.
21284 (ERRNO_EDOM): Likewise.
21285 (ERRNO_ERANGE): Likewise.
21286 (test_exceptions): Handle testing "inexact" exceptions.
21287 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21288 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21289 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21290 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21292 (rint_towardzero_test_data): Likewise.
21293 (rint_downward_test_data): Likewise.
21294 (rint_upward_test_data): Likewise.
21296 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21297 with OVERFLOW_EXCEPTION.
21298 (exp10_test_data): Likewise.
21299 (exp2_test_data): Likewise.
21300 (expm1_test_data): Likewise.
21301 (lgamma_test_data): Likewise.
21302 (pow_test_data): Likewise.
21303 (tgamma_test_data): Likewise.
21304 (yn_test_data): Remove duplicate test of overflow.
21306 * math/libm-test.inc (struct test_cc_c_data): New type.
21307 (RUN_TEST_LOOP_cc_c): New macro.
21308 (cpow_test_data): New variable.
21309 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21311 * math/libm-test.inc (struct test_f_L_data): New type.
21312 (RUN_TEST_LOOP_f_L): New macro.
21313 (llrint_test_data): New variable.
21314 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21315 (llrint_tonearest_test_data): New variable.
21316 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21317 (llrint_towardzero_test_data): New variable.
21318 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21319 (llrint_downward_test_data): New variable.
21320 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21321 (llrint_upward_test_data): New variable.
21322 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21323 (llround_test_data): New variable.
21324 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21326 2013-05-13 Peter Collingbourne <pcc@google.com>
21328 * math/atest-exp2.c (get_log2): Remove const attribute.
21330 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21332 * math/libm-test.inc (struct test_f_l_data): New type.
21333 (RUN_TEST_LOOP_f_l): New macro.
21334 (lrint_test_data): New variable.
21335 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21336 (lrint_tonearest_test_data): New variable.
21337 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21338 (lrint_towardzero_test_data): New variable.
21339 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21340 (lrint_downward_test_data): New variable.
21341 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21342 (lrint_upward_test_data): New variable.
21343 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21344 (lround_test_data): New variable.
21345 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21347 2013-05-15 Peter Collingbourne <pcc@google.com>
21349 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21350 (EXTRACT_WORDS64) Use where appropriate.
21351 (INSERT_WORDS64) Likewise.
21353 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21354 constraints with x constraints.
21355 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21357 * malloc/obstack.c (_obstack_compat): Add initializer.
21359 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21361 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21362 si_trapno and add si_addr_lsb to _sifields.sigfault.
21363 (si_trapno): Remove macro.
21364 (si_addr_lsb): Define new macro.
21365 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21367 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21369 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21370 instead of TEST_f_l.
21371 (llrint_test_tonearest): Likewise.
21372 (llrint_test_towardzero): Likewise.
21373 (llrint_test_downward): Likewise.
21374 (llrint_test_upward): Likewise.
21375 (llround_test): Likewise.
21377 * math/libm-test.inc (struct test_f_i_data): Add comment.
21378 (RUN_TEST_LOOP_f_b): New macro.
21379 (RUN_TEST_LOOP_f_b_tg): Likewise.
21380 (finite_test_data): New variable.
21381 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21382 (isfinite_test_data): New variable.
21383 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21384 (isinf_test_data): New variable.
21385 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21386 (isnan_test_data): New variable.
21387 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21388 (isnormal_test_data): New variable.
21389 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21390 (issignaling_test_data): New variable.
21391 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21392 (signbit_test_data): New variable.
21393 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21395 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21396 with INVALID_EXCEPTION.
21397 (acosh_test_data): Likewise.
21398 (asin_test_data): Likewise.
21399 (atanh_test_data): Likewise.
21400 (fmod_test_data): Likewise.
21401 (log_test_data): Likewise.
21402 (log10_test_data): Likewise.
21403 (log2_test_data): Likewise.
21404 (pow_test_data): Likewise.
21405 (sqrt_test_data): Likewise.
21406 (y0_test_data): Likewise.
21407 (y1_test_data): Likewise.
21408 (yn_test_data): Likewise.
21410 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21413 * math/libm-test.inc (struct test_ff_i_data): New type.
21414 (RUN_TEST_LOOP_ff_i_tg): New macro.
21415 (isgreater_test_data): New variable.
21416 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21417 (isgreaterequal_test_data): New variable.
21418 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21419 (isless_test_data): New variable.
21420 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21421 (islessequal_test_data): New variable.
21422 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21423 (islessgreater_test_data): New variable.
21424 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21425 (isunordered_test_data): New variable.
21426 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21428 2013-05-14 David S. Miller <davem@davemloft.net>
21430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21432 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21434 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21436 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21438 (struct test_f_i_data): Change type of max_ulp to int.
21440 * math/libm-test.inc (test_ffI_f1_data): New type.
21441 (RUN_TEST_LOOP_ffI_f1): New macro.
21442 (remquo_test_data): New variable.
21443 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21445 * setjmp/tst-setjmp-fp.c: New file.
21446 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21447 (link-libm): New variable.
21448 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21450 * math/libm-test.inc (struct test_f_i_data): New type.
21451 (RUN_TEST_LOOP_f_i): New macro.
21452 (RUN_TEST_LOOP_f_i_tg): Likewise.
21453 (fpclassify_test_data): New variable.
21454 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21455 (ilogb_test_data): New variable.
21456 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21458 * math/libm-test.inc (scalbln_test): Correct function name in END
21461 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21462 (RUN_TEST_LOOP_fI_f1): New macro.
21463 (frexp_test_data): New variable.
21464 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21466 * math/libm-test.inc (struct test_fF_f1_data): New type.
21467 (RUN_TEST_LOOP_fF_f1): New macro.
21468 (modf_test_data): New variable.
21469 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21471 * math/libm-test.inc (struct test_f_f1_data): New type.
21472 (RUN_TEST_LOOP_f_f1): New macro.
21473 (gamma_test_data): New variable.
21474 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21475 (lgamma_test_data): New variable.
21476 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21478 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21480 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21481 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21482 (main): Comment "tls" pseudo-hwcap.
21484 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21486 * math/libm-test.inc (struct test_fl_f_data): New type.
21487 (RUN_TEST_LOOP_fl_f): New variable.
21488 (scalbln_test_data): New variable.
21489 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21491 * math/libm-test.inc (struct test_fi_f_data): New type.
21492 (RUN_TEST_LOOP_fi_f): New macro.
21493 (ldexp_test_data): New variable.
21494 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21495 (scalbn_test_data): New variable.
21496 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21498 * math/libm-test.inc (struct test_c_f_data): New type.
21499 (RUN_TEST_LOOP_c_f): New macro.
21500 (cabs_test_data): New variable.
21501 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21502 (carg_test_data): New variable.
21503 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21504 (cimag_test_data): New variable.
21505 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21506 (creal_test_data): New variable.
21507 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21509 * math/libm-test.inc (struct test_if_f_data): New type.
21510 (RUN_TEST_LOOP_if_f): New macro.
21511 (jn_test_data): New variable.
21512 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21513 (yn_test_data): New variable.
21514 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21516 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21518 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21521 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21523 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21525 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21526 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21527 (bench-deps): Add bench-timing.h.
21528 * benchtests-bench-skeleton.c: Include bench-timing.h.
21529 (main): Use TIMING_* macros instead of clock_gettime.
21530 * benchtests/bench-timing.h: New file.
21533 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21534 Renamed from _LIB_VERSION.
21535 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21537 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21539 * math/libm-test.inc (struct test_fff_f_data): New type.
21540 (RUN_TEST_LOOP_fff_f): New macro.
21541 (fma_test_data): New variable.
21542 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21543 (fma_towardzero_test_data): New variable.
21544 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21545 (fma_downward_test_data): New variable.
21546 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21547 (fma_upward_test_data): New variable.
21548 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21550 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21551 (struct test_c_c_data): New type.
21552 (RUN_TEST_LOOP_c_c): New macro.
21553 (cacos_test_data): New variable.
21554 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21555 (cacosh_test_data): New variable.
21556 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21557 (casin_test_data): New variable.
21558 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21559 (casinh_test_data): New variable.
21560 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21561 (catan_test_data): New variable.
21562 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21563 (catanh_test_data): New variable.
21564 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21565 (ccos_test_data): New variable.
21566 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21567 (ccosh_test_data): New variable.
21568 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21569 (cexp_test_data): New variable.
21570 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21571 (clog_test_data): New variable.
21572 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21573 (clog10_test_data): New variable.
21574 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21575 (conj_test_data): New variable.
21576 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21577 (cproj_test_data): New variable.
21578 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21579 (csin_test_data): New variable.
21580 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21581 (csinh_test_data): New variable.
21582 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21583 (csqrt_test_data): New variable.
21584 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21585 (ctan_test_data): New variable.
21586 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21587 (ctan_tonearest_test_data): New variable.
21588 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21589 (ctan_towardzero_test_data): New variable.
21590 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21591 (ctan_downward_test_data): New variable.
21592 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21593 (ctan_upward_test_data): New variable.
21594 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21595 (ctanh_test_data): New variable.
21596 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21597 (ctanh_tonearest_test_data): New variable.
21598 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21599 (ctanh_towardzero_test_data): New variable.
21600 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21601 (ctanh_downward_test_data): New variable.
21602 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21603 (ctanh_upward_test_data): New variable.
21604 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21605 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21608 * math/libm-test.inc (struct test_ff_f_data): New type.
21609 (struct test_ff_f_data_nexttoward): Likewise.
21610 (RUN_TEST_LOOP_2_f): New macro.
21611 (RUN_TEST_LOOP_ff_f): Likewise.
21612 (atan2_test_data): New variable.
21613 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21614 (copysign_test_data): New variable.
21615 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21616 (fdim_test_data): New variable.
21617 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21618 (fmax_test_data): New variable.
21619 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21620 (fmin_test_data): New variable.
21621 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21622 (fmod_test_data): New variable.
21623 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21624 (hypot_test_data): New variable.
21625 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21626 (nextafter_test_data): New variable.
21627 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21628 (nexttoward_test_data): New variable.
21629 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21630 (pow_test_data): New variable.
21631 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21632 (pow_tonearest_test_data): New variable.
21633 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21634 (pow_towardzero_test_data): New variable.
21635 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21636 (pow_downward_test_data): New variable.
21637 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21638 (pow_upward_test_data): New variable.
21639 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21640 (remainder_test_data): New variable.
21641 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21642 (scalb_test_data): New variable.
21643 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21644 * sysdeps/i386/fpu/libm-test-ulps: Update.
21646 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21648 * math/libm-test.inc (fma_test): Use max_value instead of local
21650 (nextafter_test): Likewise.
21652 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21653 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21654 (acos_downward_test_data): New variable.
21655 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21656 (acos_upward_test_data): New variable.
21657 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21658 (acosh_test_data): New variable.
21659 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21660 (asin_test_data): New variable.
21661 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21662 (asin_tonearest_test_data): New variable.
21663 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21664 (asin_towardzero_test_data): New variable.
21665 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21666 (asin_downward_test_data): New variable.
21667 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21668 (asin_upward_test_data): New variable.
21669 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21670 (asinh_test_data): New variable.
21671 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21672 (atan_test_data): New variable.
21673 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21674 (atanh_test_data): New variable.
21675 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21676 (cbrt_test_data): New variable.
21677 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21678 (ceil_test_data): New variable.
21679 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21680 (cos_test_data): New variable.
21681 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21682 (cos_tonearest_test_data): New variable.
21683 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21684 (cos_towardzero_test_data): New variable.
21685 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21686 (cos_downward_test_data): New variable.
21687 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21688 (cos_upward_test_data): New variable.
21689 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21690 (cosh_test_data): New variable.
21691 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21692 (cosh_tonearest_test_data): New variable.
21693 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21694 (cosh_towardzero_test_data): New variable.
21695 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21696 (cosh_downward_test_data): New variable.
21697 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21698 (cosh_upward_test_data): New variable.
21699 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21700 (erf_test_data): New variable.
21701 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21702 (erfc_test_data): New variable.
21703 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21704 (exp_test_data): New variable.
21705 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21706 (exp_tonearest_test_data): New variable.
21707 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21708 (exp_towardzero_test_data): New variable.
21709 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21710 (exp_downward_test_data): New variable.
21711 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21712 (exp_upward_test_data): New variable.
21713 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21714 (exp10_test_data): New variable.
21715 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21716 (exp2_test_data): New variable.
21717 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21718 (expm1_test_data): New variable.
21719 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21720 (fabs_test_data): New variable.
21721 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21722 (floor_test_data): New variable.
21723 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21724 (j0_test_data): New variable.
21725 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21726 (j1_test_data): New variable.
21727 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21728 (log_test_data): New variable.
21729 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21730 (log10_test_data): New variable.
21731 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21732 (log1p_test_data): New variable.
21733 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21734 (log2_test_data): New variable.
21735 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21736 (logb_test_data): New variable.
21737 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21738 (logb_downward_test_data): New variable.
21739 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21740 (nearbyint_test_data): New variable.
21741 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21742 (rint_test_data): New variable.
21743 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21744 (rint_tonearest_test_data): New variable.
21745 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21746 (rint_towardzero_test_data): New variable.
21747 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21748 (rint_downward_test_data): New variable.
21749 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21750 (rint_upward_test_data): New variable.
21751 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21752 (round_test_data): New variable.
21753 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21754 (sin_test_data): New variable.
21755 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21756 (sin_tonearest_test_data): New variable.
21757 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21758 (sin_towardzero_test_data): New variable.
21759 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21760 (sin_downward_test_data): New variable.
21761 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21762 (sin_upward_test_data): New variable.
21763 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21764 (sinh_test_data): New variable.
21765 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21766 (sinh_tonearest_test_data): New variable.
21767 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21768 (sinh_towardzero_test_data): New variable.
21769 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21770 (sinh_downward_test_data): New variable.
21771 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21772 (sinh_upward_test_data): New variable.
21773 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21774 (sqrt_test_data): New variable.
21775 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21776 (tan_test_data): New variable.
21777 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21778 (tan_tonearest_test_data): New variable.
21779 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21780 (tan_towardzero_test_data): New variable.
21781 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21782 (tan_downward_test_data): New variable.
21783 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21784 (tan_upward_test_data): New variable.
21785 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21786 (tanh_test_data): New variable.
21787 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21788 (tgamma_test_data): New variable.
21789 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21790 (trunc_test_data): New variable.
21791 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21792 (y0_test_data): New variable.
21793 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21794 (y1_test_data): New variable.
21795 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21796 (significand_test_data): New variable.
21797 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21799 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21802 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21804 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21806 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21808 2013-05-10 Andreas Jaeger <aj@suse.de>
21811 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21812 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21814 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21816 * math/gen-libm-test.pl (adjust_arg): New function.
21817 (special_functions): Handle generating output in both functions
21819 (parse_args): Likewise.
21820 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21821 $in_func argument to parse_args.
21822 * math/libm-test.inc (struct test_f_f_data): New type.
21823 (IF_ROUND_INIT_): New macro.
21824 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21825 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21826 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21827 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21828 (ROUND_RESTORE_): Likewise.
21829 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21830 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21831 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21832 (ROUND_RESTORE_FE_UPWARD): Likewise.
21833 (RUN_TEST_LOOP_f_f): New macro.
21834 (acos_test_data): New variable.
21835 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21836 (acos_tonearest_test_data): New variable.
21837 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21839 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21841 * benchtests/bench-skeleton.c (startup): Fix coding style.
21843 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21846 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21847 negative infinity argument.
21848 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21849 negative infinity argument.
21850 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21851 negative infinity argument.
21852 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21855 2013-05-10 Florian Weimer <fweimer@redhat.com>
21857 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21858 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21859 * iconv/iconv_prog.c (main): Likewise.
21860 * locale/programs/charmap-dir.c (charmap_readdir)
21861 (fopen_uncompressed): Likewise.
21862 * locale/programs/locfile.c (siblings_uncached)
21863 (write_locale_data): Use lstat64 instead of lstat.
21864 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21867 2013-05-10 Andreas Jaeger <aj@suse.de>
21870 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21872 Include <locale.h>.
21874 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21876 * elf/dl-close.c (_dl_close_worker): Add comments.
21878 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21883 (__ieee754_rem_pio2l): Update comments.
21886 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21888 (__ieee754_rem_pio2l): Update comments.
21890 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21891 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21893 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21896 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21897 (M_PI_34_LOG10El): Likewise.
21898 (M_PI2_LOG10El): Likewise.
21899 (M_PI4_LOG10El): Likewise.
21900 (M_PI_LOG10El): Likewise.
21902 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21906 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21908 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21909 (MINUS_ZERO_INIT): Likewise.
21910 (PLUS_INFTY_INIT): Likewise.
21911 (MINUS_INFTY_INIT): Likewise.
21912 (QNAN_VALUE_INIT): Likewise.
21913 (MAX_VALUE_INIT): Likewise.
21914 (MIN_VALUE_INIT): Likewise.
21915 (MIN_SUBNORM_VALUE_INIT): Likewise.
21916 (plus_zero): Initialize with PLUS_ZERO_INIT.
21917 (minus_zero): Initialize with MINUS_ZERO_INIT.
21918 (plus_infty): Initialize with PLUS_INFTY_INIT.
21919 (minus_infty): Initialize with MINUS_INFTY_INIT.
21920 (qnan_value): Initialize with QNAN_VALUE_INIT.
21921 (max_value): Initialize with MAX_VALUE_INIT.
21922 (min_value): Initialize with MIN_VALUE_INIT.
21923 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21925 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21926 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21927 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21928 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21930 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21931 (RUN_TEST_2_f): Likewise.
21932 (RUN_TEST_ff_f): Likewise.
21933 (RUN_TEST_fi_f): Likewise.
21934 (RUN_TEST_fl_f): Likewise.
21935 (RUN_TEST_fff_f): Likewise.
21936 (RUN_TEST_c_f): Likewise.
21937 (RUN_TEST_f_f1): Likewise.
21938 (RUN_TEST_fF_f1): Likewise.
21939 (RUN_TEST_fI_f1): Likewise.
21940 (RUN_TEST_ffI_f1): Likewise.
21941 (RUN_TEST_c_c): Likewise.
21942 (RUN_TEST_cc_c): Likewise.
21943 (RUN_TEST_f_i): Likewise.
21944 (RUN_TEST_f_i_tg): Likewise.
21945 (RUN_TEST_ff_i_tg): Likewise.
21946 (RUN_TEST_f_b): Likewise.
21947 (RUN_TEST_f_b_tg): Likewise.
21948 (RUN_TEST_f_l): Likewise.
21949 (RUN_TEST_f_L): Likewise.
21950 (RUN_TEST_sincos): Likewise.
21951 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21952 whether to show exceptions. Do not include ");\n" in return
21954 (special_functions): Output call to RUN_TEST_sincos instead of
21955 check_float calls. Update calls to new_test.
21956 (parse_args): Output call to single RUN_TEST_* macro instead of
21957 check_* calls and other assignments. Update calls to new_test.
21963 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21964 input to result for tgamma overflow.
21965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21966 (gamma_coeff): New variable.
21967 (NCOEFF): New macro.
21968 (gamma_positive): New function.
21969 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21970 underflow here. Use gamma_positive instead of exp (lgamma) for
21972 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21973 (gamma_coeff): New variable.
21974 (NCOEFF): New macro.
21975 (gammaf_positive): New function.
21976 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21977 underflow here. Use gamma_positive instead of exp (lgamma) for
21979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21980 (gamma_coeff): New variable.
21981 (NCOEFF): New macro.
21982 (gammal_positive): New function.
21983 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21984 underflow here. Use gamma_positive instead of exp (lgamma) for
21986 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21987 (gamma_coeff): New variable.
21988 (NCOEFF): New macro.
21989 (gammal_positive): New function.
21990 (__ieee754_gammal_r): Handle positive infinity, overflow and
21991 underflow here. Handle NaN the same as positive infinity. Remove
21992 check x < 0xffffffff for negative integers. Use gamma_positive
21993 instead of exp (lgamma) for other arguments.
21994 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21995 (gamma_coeff): New variable.
21996 (NCOEFF): New macro.
21997 (gammal_positive): New function.
21998 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21999 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22003 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22004 * sysdeps/generic/math_private.h (__gamma_productf): New
22006 (__gamma_product): Likewise.
22007 (__gamma_productl): Likewise.
22008 * math/Makefile (libm-calls): Add gamma_product.
22009 * math/libm-test.inc (tgamma_test): Add more tests.
22010 * sysdeps/i386/fpu/libm-test-ulps: Update.
22011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22013 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22015 * benchtests/bench-skeleton.c (main): Preheat CPU.
22017 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22019 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22021 2013-05-07 Roland McGrath <roland@hack.frob.com>
22023 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22024 and _dl_skip_args_internal.
22026 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22028 * manual/message.texi (Message Translation): Talk about users.
22029 Message to key mapping impacts design.
22031 2013-05-06 Roland McGrath <roland@hack.frob.com>
22033 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22035 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22037 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22038 * sysdeps/wordsize-64/glob64.c: ... here.
22040 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22041 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22044 * debug/getlogin_r_chk.c: Moved to ...
22045 * login/getlogin_r_chk.c: ... here.
22046 * debug/Makefile (routines): Move getlogin_r_chk to ...
22047 * login/Makefile (routines): ... here.
22048 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22049 * login/Versions (libc: GLIBC_2.4): ... here.
22051 * io/poll.c (__poll): Renamed from poll.
22052 Add libc_hidden_def.
22053 (poll): Define as weak alias.
22055 * debug/ptsname_r_chk.c: Moved to ...
22056 * login/ptsname_r_chk.c: ... here.
22057 * debug/Makefile (routines): Move ptsname_r_chk to ...
22058 * login/Makefile (routines): ... here.
22059 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22060 * login/Versions (libc: GLIBC_2.4): ... here.
22062 * posix/getlogin.c: Moved to ...
22063 * login/getlogin.c: ... here.
22064 * posix/getlogin_r.c: Moved to ...
22065 * login/getlogin_r.c: ... here.
22066 * posix/getlogin_r.c: Moved to ...
22067 * login/getlogin_r.c: ... here.
22068 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22069 * login/Makefile (routines): ... here.
22070 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22071 * login/Versions (libc: GLIBC_2.0): ... here.
22073 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22074 (setrlimit): Define as weak alias.
22076 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22077 Call __ names for open, ftruncate, and close.
22078 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22079 (truncate): Define as weak alias.
22081 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22083 * math/gen-libm-test.pl (parse_args): Initialize x before each
22084 test of frexp, modf and remquo.
22086 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22087 test signgam value.
22089 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22093 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22095 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22097 2013-05-06 Roland McGrath <roland@hack.frob.com>
22099 * elf/dl-writev.h: New file.
22100 * elf/dl-misc.c: Include it.
22101 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22102 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22104 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22106 * math/libm-test.inc (noXFails): Remove variable.
22107 (noXPasses): Likewise.
22108 (BUILD_COMPLEX_INT): Remove macro.
22109 (print_screen): Remove xfail argument.
22110 (print_screen_max_error): Likewise.
22111 (update_stats): Likewise.
22112 (print_max_error): Likewise. Update calls to other affected
22114 (print_complex_max_error): Likewise.
22115 (test_single_exception): Update calls to print_screen.
22116 (test_single_errno): Likewise.
22117 (check_float_internal): Remove xfail argument. Update calls to
22118 other affected functions.
22119 (check_float): Likewise.
22120 (check_complex): Likewise.
22121 (check_int): Likewise.
22122 (check_long): Likewise.
22123 (check_bool): Likewise.
22124 (check_longlong): Likewise.
22125 (main): Don't print noXFails and noXPasses.
22126 * math/gen-libm-test.pl (top level): Don't mention expected
22127 failure handling in comment.
22128 (new_test): Don't handle expected failures.
22129 (parse_args): Don't mention expected failure handling in comment.
22130 (generate_testfile): Don't handle expected failures.
22131 (parse_ulps): Likewise.
22132 (print_ulps_file): Likewise.
22133 (get_failure): Remove function.
22134 (output_test): Don't handle expected failures.
22135 * make/README.libm-test: Don't mention expected failure handling.
22137 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22138 (minus_zero): Likewise.
22139 (plus_infty): Likewise.
22140 (minus_infty): Likewise.
22141 (qnan_value): Likewise.
22142 (max_value): Likewise.
22143 (min_value): Likewise.
22144 (min_subnorm_value): Likewise.
22145 (initialize): Do not initialize those variables dynamically.
22147 2013-05-03 Roland McGrath <roland@hack.frob.com>
22149 * io/open.c (__open_2): Moved to ...
22150 * io/open_2.c: ... this new file.
22151 * io/open64.c (__open64_2): Moved to ...
22152 * io/open64_2.c: ... this new file.
22153 * io/openat.c (__openat_2): Moved to ...
22154 * io/openat_2.c: ... this new file.
22155 * io/openat64.c (__openat64_2): Moved to ...
22156 * io/openat64_2.c: ... this new file.
22157 * io/Makefile (routines): Add them.
22158 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22159 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22160 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22161 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22162 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22163 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22164 (__openat64): Add hidden_ver.
22165 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22166 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22168 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22169 Separately conditionalize setting of GLRO(dl_sysinfo) so
22170 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22171 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22173 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22175 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22178 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22179 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22180 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22181 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22182 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22184 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22186 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22187 test signgam value.
22189 * math/libm-test.inc (hypot_test): Do not use
22190 IGNORE_ZERO_INF_SIGN.
22192 2013-05-03 Andreas Jaeger <aj@suse.de>
22194 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22196 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22197 (PF_MAX): Adjust for VSOCK change.
22199 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22203 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22206 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22207 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22208 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22210 2013-05-02 David S. Miller <davem@davemloft.net>
22212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22214 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22216 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22218 2013-05-01 Roland McGrath <roland@hack.frob.com>
22220 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22222 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22225 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22226 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22227 Use __attribute__ ((__gnu_inline__)).
22228 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22229 Don't use __attribute__ ((__gnu_inline__)).
22231 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22234 * math/s_catan.c (__catan): Handle small real or imaginary part of
22235 input specially to avoid spurious underflow.
22236 * math/s_catanf.c (__catanf): Likewise.
22237 * math/s_catanh.c (__catanh): Likewise.
22238 * math/s_catanhf.c (__catanhf): Likewise.
22239 * math/s_catanhl.c (__catanhl): Likewise.
22240 * math/s_catanl.c (__catanl): Likewise.
22241 * math/libm-test.inc (catan_test): Add more tests.
22242 (catanh_test): Likewise.
22243 * sysdeps/i386/fpu/libm-test-ulps: Update.
22244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22250 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22253 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22254 accurately for denominator in atan2.
22255 * math/s_catanf.c (__catanf): Likewise.
22256 * math/s_catanh.c (__catanh): Likewise.
22257 * math/s_catanhf.c (__catanhf): Likewise.
22258 * math/s_catanhl.c (__catanhl): Likewise.
22259 * math/s_catanl.c (__catanl): Likewise.
22260 * math/libm-test.inc (catan_test): Add more tests.
22261 (catanh_test): Likewise.
22262 * sysdeps/i386/fpu/libm-test-ulps: Update.
22263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22267 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22269 * benchtests/Makefile (bench): Remove slow benchmarks.
22270 * benchtests/atan-inputs: Add slow benchmark inputs.
22271 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22272 (BENCH_FUNC): Accept variant offset.
22274 * benchtests/bench-skeleton.c (main): Run benchmark for each
22276 * benchtests/cos-inputs: Add slow benchmark inputs.
22277 * benchtests/exp-inputs: Likewise.
22278 * benchtests/pow-inputs: Likewise.
22279 * benchtests/sin-inputs: Likewise.
22280 * benchtests/slowatan-inputs: Remove.
22281 * benchtests/slowatan.c: Remove.
22282 * benchtests/slowcos-inputs: Remove.
22283 * benchtests/slowcos.c: Remove.
22284 * benchtests/slowexp-inputs: Remove.
22285 * benchtests/slowexp.c: Remove.
22286 * benchtests/slowpow-inputs: Remove.
22287 * benchtests/slowpow.c: Remove.
22288 * benchtests/slowsin-inputs: Remove.
22289 * benchtests/slowsin.c: Remove.
22290 * benchtests/slowtan-inputs: Remove.
22291 * benchtests/slowtan.c: Remove.
22292 * benchtests/tan-inputs: Add slow benchmark inputs.
22293 * scripts/bench.pl: Parse comments and directives.
22295 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22297 ($(objpfx)bench-%.c): Remove *-ITER.
22298 * benchtests/bench-modf.c: Remove definition of ITER.
22299 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22300 (main): Loop for DURATION seconds instead of fixed number of
22302 * scripts/bench.pl: Don't expect iterations in parameters.
22304 2013-04-29 Roland McGrath <roland@hack.frob.com>
22306 * io/fchdir.c (__fchdir): Renamed from fchdir.
22307 (fchdir): Define as weak alias.
22309 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22311 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22312 (ERRNO_EDOM): Likewise.
22313 (ERRNO_ERANGE): Likewise.
22314 (noErrnoTests): New variable.
22315 (init_max_error): Set errno to 0.
22316 (test_single_errno): New function.
22317 (test_errno): Likewise.
22318 (check_float_internal): Call test_errno. Set errno to 0.
22319 (check_complex): Refer to errno tests in comment.
22320 (check_int): Call test_errno. Set errno to 0.
22321 (check_long): Likewise.
22322 (check_bool): Likewise.
22323 (check_longlong): Likewise.
22324 (cos_test): Use ERRNO_* flags for errno tests instead of
22326 (expm1_test): Likewise.
22327 (fmod_test): Likewise.
22328 (ilogb_test): Likewise.
22329 (lgamma_test): Likewise.
22330 (pow_test): Likewise.
22331 (remainder_test): Likewise.
22332 (sin_test): Likewise.
22333 (tan_test): Likewise.
22334 (yn_test): Likewise.
22335 (initialize): Set errno to 0.
22336 (main): Print number of errno tests.
22337 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22339 2013-04-29 Andreas Jaeger <aj@suse.de>
22342 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22346 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22347 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22351 * stdlib/random.c (__initstate): Return NULL if
22355 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22356 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22359 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22363 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22365 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22366 of individual tests.
22367 (casin_test): Likewise.
22368 (casinh_test): Likewise.
22370 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22373 * math/s_catan.c (__catan): Handle arguments with large real or
22374 imaginary part separately without squaring.
22375 * math/s_catanf.c (__catanf): Likewise.
22376 * math/s_catanh.c (__catanh): Likewise.
22377 * math/s_catanhf.c (__catanhf): Likewise.
22378 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22380 (__catanhl): Handle arguments with large real or imaginary part
22381 separately without squaring.
22382 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22384 (__catanl): Handle arguments with large real or imaginary part
22385 separately without squaring.
22386 * math/libm-test.inc (catan_test): Add more tests.
22387 (catanh_test): Likewise.
22388 * sysdeps/i386/fpu/libm-test-ulps: Update.
22389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391 2013-04-27 Andreas Jaeger <aj@suse.de>
22394 * stdlib/stdlib.h: Update guards for qecvt.
22395 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22398 2013-04-27 Allan McRae <allan@archlinux.org>
22400 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22405 * math/s_catan.c: Include <float.h>.
22406 (__catan): Ensure underflow exception occurs for underflowed
22408 * math/s_catanf.c: Include <float.h>.
22409 (__catanf): Ensure underflow exception occurs for underflowed
22411 * math/s_catanh.c: Include <float.h>.
22412 (__catanh): Ensure underflow exception occurs for underflowed
22414 * math/s_catanhf.c: Include <float.h>.
22415 (__catanhf): Ensure underflow exception occurs for underflowed
22417 * math/s_catanhl.c: Include <float.h>.
22418 (__catanhl): Ensure underflow exception occurs for underflowed
22420 * math/s_catanl.c: Include <float.h>.
22421 (__catanl): Ensure underflow exception occurs for underflowed
22423 * math/libm-test.inc (catan_test): Add more tests.
22424 (catanh_test): Likewise.
22427 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22428 underflowed result.
22429 * math/s_ccoshf.c (__ccoshf): Likewise.
22430 * math/s_ccoshl.c (__ccoshl): Likewise.
22431 * math/s_csin.c (__csin): Likewise.
22432 * math/s_csinf.c (__csinf): Likewise.
22433 * math/s_csinh.c (__csinh): Likewise.
22434 * math/s_csinhf.c (__csinhf): Likewise.
22435 * math/s_csinhl.c (__csinhl): Likewise.
22436 * math/s_csinl.c (__csinl): Likewise.
22437 * math/libm-test.inc (ccos_test): Add more tests.
22438 (ccosh_test): Likewise.
22439 (csin_test): Likewise.
22440 (csinh_test): Likewise.
22442 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22444 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22445 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22446 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22447 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22448 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22449 powerpc/power5+/fpu folders.
22450 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22453 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22457 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22459 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22460 additions to variable.
22461 [$(config-machine) = x86_64] (modules-names): Likewise.
22462 ($(objpfx)tst-audit3): Remove dependency.
22463 ($(objpfx)tst-audit3.out): Likewise.
22464 ($(objpfx)tst-audit4): Likewise.
22465 ($(objpfx)tst-audit4.out): Likewise.
22466 ($(objpfx)tst-audit5): Likewise.
22467 ($(objpfx)tst-audit5.out): Likewise.
22468 ($(objpfx)tst-audit6): Likewise.
22469 ($(objpfx)tst-audit6.out): Likewise.
22470 ($(objpfx)tst-audit7): Likewise.
22471 ($(objpfx)tst-audit7.out): Likewise.
22472 (tst-audit3-ENV): Remove variable.
22473 (tst-audit4-ENV): Likewise.
22474 (tst-audit5-ENV): Likewise.
22475 (tst-audit6-ENV): Likewise.
22476 (tst-audit7-ENV): Likewise.
22477 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22478 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22479 addition to variable.
22480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22484 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22485 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22486 tst-audit3, tst-audit4 and tst-audit5.
22487 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22488 tst-audit6 and tst-audit7.
22489 [$(subdir) = elf] (modules-names): Add audit modules for those
22491 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22492 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22493 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22494 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22495 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22496 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22497 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22498 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22499 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22500 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22501 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22502 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22503 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22504 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22505 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22506 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22508 [$(subdir) = elf && $(config-cflags-avx) = yes]
22509 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22510 [$(subdir) = elf && $(config-cflags-avx) = yes]
22511 (CFLAGS-tst-auditmod4a.c): Likewise.
22512 [$(subdir) = elf && $(config-cflags-avx) = yes]
22513 (CFLAGS-tst-auditmod4b.c): Likewise.
22514 [$(subdir) = elf && $(config-cflags-avx) = yes]
22515 (CFLAGS-tst-auditmod6b.c): Likewise.
22516 [$(subdir) = elf && $(config-cflags-avx) = yes]
22517 (CFLAGS-tst-auditmod6c.c): Likewise.
22518 [$(subdir) = elf && $(config-cflags-avx) = yes]
22519 (CFLAGS-tst-auditmod7b.c): Likewise.
22520 * elf/tst-audit3.c: Move to ...
22521 * sysdeps/x86_64/tst-audit3.c: ... here.
22522 * elf/tst-audit4.c: Move to ...
22523 * sysdeps/x86_64/tst-audit4.c: ... here.
22524 * elf/tst-audit5.c: Move to ...
22525 * sysdeps/x86_64/tst-audit5.c: ... here.
22526 * elf/tst-audit6.c: Move to ...
22527 * sysdeps/x86_64/tst-audit6.c: ... here.
22528 * elf/tst-audit7.c: Move to ...
22529 * sysdeps/x86_64/tst-audit7.c: ... here.
22530 * elf/tst-auditmod3a.c: Move to ...
22531 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22532 * elf/tst-auditmod3b.c: Move to ...
22533 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22534 * elf/tst-auditmod4a.c: Move to ...
22535 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22536 * elf/tst-auditmod4b.c: Move to ...
22537 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22538 * elf/tst-auditmod5a.c: Move to ...
22539 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22540 * elf/tst-auditmod5b.c: Move to ...
22541 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22542 * elf/tst-auditmod6a.c: Move to ...
22543 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22544 * elf/tst-auditmod6b.c: Move to ...
22545 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22546 * elf/tst-auditmod6c.c: Move to ...
22547 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22548 * elf/tst-auditmod7a.c: Move to ...
22549 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22550 * elf/tst-auditmod7b.c: Move to ...
22551 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22553 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22556 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22557 define unconditionally.
22558 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22559 define unconditionally.
22560 (INT8_C, INT16_C, etc.): Likewise.
22562 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22564 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22565 __ehdr_start with hidden visibility.
22567 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22569 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22571 * math/libm-test.inc (cos_test): Use accurate hex constants.
22572 (sincost_test): Likewise.
22574 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22576 * math/libm-test.inc (catan_test): Add more tests.
22577 (catanh_test): Likewise.
22579 * math/s_catanf.c (__catanf): Use suffixed floating-point
22581 * math/s_catanhf.c (__catanhf): Likewise.
22582 * math/s_catanhl.c (__catanhl): Likewise.
22583 * math/s_catanl.c (__catanl): Likewise.
22586 * math/s_catan.c (__catan): Calculate imaginary part of result
22587 with log1p not log unless computing log of number close to 0.
22588 * math/s_catanf.c (__catanf): Likewise.
22589 * math/s_catanl.c (__catanl): Likewise.
22590 * math/s_catanh.c (__catanh): Calculate real part of result with
22591 log1p not log unless computing log of number close to 0.
22592 * math/s_catanhf.c (__catanhf): Likewise.
22593 * math/s_catanhl.c (__catanhl): Likewise.
22594 * math/libm-test.inc (catan_test): Add more tests.
22595 (catanh_test): Likewise.
22596 * sysdeps/i386/fpu/libm-test-ulps: Update.
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22599 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22601 * benchtests/Makefile: Mention files in which fast and slow
22602 paths of math functions are implemented.
22604 2013-04-23 Roland McGrath <roland@hack.frob.com>
22606 * sysdeps/posix/timespec_get.c: New file.
22608 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22610 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22612 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22614 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22615 powerpc/power5/fpu folders.
22616 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22617 * benchtests/Makefile: Add modf testcase.
22618 * benchtests/bench-modf.c: New file: Benchmark test for mo
22620 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22623 * time/Makefile (tests): Add tst-strptime-whitespace.
22624 * time/strptime_l.c (get_number): Use ISSPACE.
22625 (__strptime_internal): Likewise.
22626 * time/tst-strptime-whitespace.c: New test case.
22628 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22630 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22632 (_nss_files_init): Set it here.
22634 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22636 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22637 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22640 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22642 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22644 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22649 2013-04-21 David S. Miller <davem@davemloft.net>
22651 * po/ru.po: Update Russion translation from translation project.
22653 2013-04-17 Adam Conrad <adconrad@0c3.net>
22655 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22658 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22660 * configure.in: Remove i386 configure warning. Remove i386 case.
22661 * configure: Regenerate.
22662 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22663 Add example to error message.
22664 * sysdeps/i386/configure: Regenerate.
22666 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22668 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22670 * benchtests/cos-inputs: New file.
22671 * benchtests/slowcos-inputs: New file.
22672 * benchtests/slowcos.c: New file.
22673 * benchtests/slowtan-inputs: New file.
22674 * benchtests/slowtan.c: New file.
22675 * benchtests/tan-inputs: New file.
22677 2013-04-16 Roland McGrath <roland@hack.frob.com>
22679 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22682 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22684 * benchtests/Makefile: Include cppflags-iterator.mk to add
22685 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22687 * Makefile.in (bench-clean): New target.
22688 * benchtests/Makefile (bench-clean): Likewise.
22690 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22692 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22694 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22696 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22698 2013-04-15 Andreas Schwab <schwab@suse.de>
22700 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22702 * nscd/pwdcache.c (cache_addpw): Likewise.
22703 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22706 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * benchtests/Makefile (bench): Write all output to
22709 bench-out.tmp together.
22711 2013-04-15 Andreas Schwab <schwab@suse.de>
22713 * nscd/nscd.c (main): Don't fork again after closing files.
22715 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22717 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22719 * benchtests/Rules (bench-deps): Collect dependencies into a
22720 single variable. Add Makefile to dependencies.
22721 ($(objpfx)bench-%.c): Depend on bench-deps.
22723 2013-04-12 Roland McGrath <roland@hack.frob.com>
22724 Xavier Roche <roche+kml2@exalead.com>
22727 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22728 just that it's a file descriptor.
22729 * manual/llio.texi (Synchronizing AIO Operations): Update description
22730 for EBADF error from aio_fsync.
22732 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22734 * Rules (bench): Move target definition...
22735 * benchtests/Makefile: ... here.
22737 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22739 * math/libm-test.inc (cos_test): Fix PI/2 test.
22740 (sincos_test): Likewise.
22741 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22742 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22744 2013-04-11 Andreas Schwab <schwab@suse.de>
22747 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22748 accept exponent character only when digits were seen.
22749 * stdio-common/Makefile (tests): Add bug26.
22750 * stdio-common/bug26.c: New file.
22753 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22756 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22758 * Makeconfig (rtld-prefix): Define built linker prefix.
22759 * Rules (run-bench): Use it.
22760 * math/Makefile (run-regen-ulps): Likewise.
22762 * Rules (bench): Remove eval.
22764 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22765 Roland McGrath <roland@hack.frob.com>
22766 Ondrej Bilka <neleai@seznam.cz>
22769 * time/getdate.c: Include ctype.h and alloca.h.
22770 (__getdate_r): Trim leading and trailing spaces of input.
22771 * time/tst-getdate.c (tests): Add tests with leading and
22774 2013-04-08 Roland McGrath <roland@hack.frob.com>
22777 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22778 when computing value.
22780 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22782 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22783 Use testrun.sh to run libm tests.
22786 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22788 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22791 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22793 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22795 * Makefile.in (regen-ulps): New target.
22796 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22797 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22798 [ifneq (no,$(PERL)] (regen-ulps): New target.
22799 [ifeq (no,$(PERL)] (regen-ulps): New target.
22800 * math/libm-test.inc (ulps_file_name): Define.
22801 (output_dir): New variable.
22802 (options): Add "output-dir" option.
22803 (parse_opt): Handle 'o' case.
22804 (main): If output_dir is non-NULL use it as a prefix
22806 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22808 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22810 [BZ #10060, #10062]
22811 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22812 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22813 fail configure if __sync_val_compare_and_swap is not inlined.
22814 * sysdeps/i386/configure: Regenerate.
22815 * configure.in: Build for i686 when configured for i386.
22816 * configure: Regenerate.
22817 * README: Remove i386 reference.
22819 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22821 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22824 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22826 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22827 (lmsnanval): New variables.
22828 (F): Add conversion tests.
22829 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22830 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22832 * stdio-common/tstdiomisc.c (F): Properly collect individual
22835 [BZ #14686, #15336]
22836 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22837 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22838 Instead, use input NaN values or generate a qNaN by arithmetic
22839 operation. Also fix bugs to comply with the standard.
22840 * math/libm-test.inc (remainder_test): Add more tests.
22842 [BZ #15335, #15342]
22843 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22845 input NaN values or generate a qNaN by arithmetic operation.
22847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22850 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22853 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22856 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22857 underflowed result.
22858 * math/s_cexpf.c (__cexpf): Likewise.
22859 * math/s_cexpl.c (__cexpl): Likewise.
22860 * math/libm-test.inc (cexp_test): Add more tests.
22862 2013-04-03 Andreas Schwab <schwab@suse.de>
22865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22866 order arrays from heap if bigger than alloca cutoff.
22868 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22870 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22871 (SNAN_TESTS_double): Refer to GCC PR56831.
22872 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22875 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22877 * Rules (bench): Move bench.out after the run is complete.
22879 * Rules (bench): Echo currently running benchmark.
22881 * benchtests/Makefile (bench): Add atan and slowatan.
22882 * benchtests/atan-inputs: New file.
22883 * benchtests/slowatan-inputs: New file.
22884 * benchtests/slowatan.c: New file.
22886 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22887 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22891 * sysdeps/unix/sysv/linux/kernel-features.h
22892 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22893 __ASSUME_XFS_RESTRICTED_CHOWN.
22894 * sysdeps/unix/sysv/linux/pathconf.c
22895 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22896 Save and restore errno.
22898 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22901 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22902 arguments using __kernel_casinh.
22903 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22904 arguments using __kernel_casinhf.
22905 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22906 arguments using __kernel_casinhl.
22907 * math/libm-test.inc (cacosh_test): Add more tests.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22913 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22916 * bench/Makefile (bench): Add sin and slowsin.
22917 * benchtests/sin-inputs: New file.
22918 * benchtests/slowsin-inputs: New file.
22919 * benchtests/slowsin.c: New file.
22921 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22922 (bench): Add slowexp and slowpow.
22923 (exp-ITER): Increase iterations.
22924 (pow-ITER): Likewise.
22925 * benchtests/exp-inputs: Change input.
22926 * benchtests/pow-inputs: Likewise.
22927 * benchtests/slowexp-inputs: New file.
22928 * benchtests/slowexp.c: New file.
22929 * benchtests/slowpow-inputs: New file.
22930 * benchtests/slowpow.c: New file.
22932 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22934 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22936 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22937 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22939 * benchtests/Makefile: Add rint benchtest.
22940 * benchtests/rint-inputs: Input for rint benchtest.
22942 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22944 * Versions.def (libm): Add GLIBC_2.18.
22945 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22946 hidden libm prototypes.
22947 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22948 * math/Makefile (libm-calls): Add s_issignaling.
22949 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22950 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22951 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22953 * math/math.h [__USE_GNU] (issignaling): New macro.
22954 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22955 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22956 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22957 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22960 * manual/arith.texi (issignaling): New section.
22961 * manual/libm-err-tab.pl (@all_functions): Update comment.
22962 * math/gen-libm-test.pl (parse_args): Apply special handling for
22964 * math/libm-test.inc (print_float, issignaling_test): New
22966 (check_float_internal): Add issignaling checks.
22967 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22968 default definition.
22969 * sysdeps/powerpc/math-tests.h: New file.
22970 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22972 * math/test-snan.c (TEST_FUNC): Likewise.
22974 2013-03-30 David S. Miller <davem@davemloft.net>
22976 * po/de.po: Update from translation team.
22978 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22981 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22982 imaginary part less than 1.0 and real part less than 0.5
22984 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22985 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22986 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22987 (cacos_test): Add more tests.
22988 (casin_test): Likewise.
22989 (casinh_test): Likewise.
22990 * sysdeps/i386/fpu/libm-test-ulps: Update.
22991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22993 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22995 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22996 ONE with its value.
22998 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22999 (__pow_mp): Replace ONE and MONE with their values.
23000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23003 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23005 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23007 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23009 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23010 (__pow_mp): Replace ZERO and MZERO with their values.
23011 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23013 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23015 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23016 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23019 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23021 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23023 2013-03-28 Roland McGrath <roland@hack.frob.com>
23025 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23026 Declare with __attribute__ ((weak)).
23027 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23028 Call __call_tls_dtors only if it's not NULL.
23030 2013-03-28 Roland McGrath <roland@hack.frob.com>
23032 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23033 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23034 magic __ehdr_start linker symbol if it's defined.
23035 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23036 them up here if it was already done.
23038 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23039 (_dl_aux_init): Use const in cast when setting it.
23040 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23041 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23042 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23044 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23046 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23047 * csu/libc-tls.c: Nor here.
23048 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23050 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23051 (__libc_message): Never call vsyslog.
23053 2013-03-28 Alan Modra <amodra@gmail.com>
23055 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23057 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23060 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23067 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23070 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23071 Don't add gid passed as argument.
23073 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23075 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23078 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23079 imaginary part between 1.0 and 1.5 and real part less than 0.5
23081 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23082 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23083 * math/libm-test.inc (cacos_test): Add more tests.
23084 (casin_test): Likewise.
23085 (casinh_test): Likewise.
23086 * sysdeps/i386/fpu/libm-test-ulps: Update.
23087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23089 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23091 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23094 (denorm): Likewise.
23095 (__dbl_mp): Likewise.
23096 (add_magnitudes): Likewise.
23097 (sub_magnitudes): Likewise.
23105 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23107 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23108 (__dubcos): Likewise.
23109 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23110 (__ieee754_acos): Likewise.
23111 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23112 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23113 (__exp1): Likewise.
23114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23117 (my_log2): Likewise.
23118 (checkint): Likewise.
23119 * sysdeps/ieee754/dbl-64/e_remainder.c
23120 (__ieee754_remainder): Likewise.
23121 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23123 (bsloww): Likewise.
23124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23126 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23127 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23128 MANTISSA_STORE_T to store computations on mantissa. Use
23129 macros for rounding and division.
23130 (denorm): Likewise.
23131 (__dbl_mp): Likewise.
23132 (add_magnitudes): Likewise.
23133 (sub_magnitudes): Likewise.
23136 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23137 powers of two in terms of TWOPOW macro.
23138 (mp_no): Make type of mantissa as MANTISSA_T.
23139 [!RADIXI]: Define RADIXI.
23140 [!TWO52]: Define TWO52.
23141 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23143 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23145 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23146 llroundl symbol when building for PPC32.
23148 2013-03-24 Mark H Weaver <mhw@netris.org>
23150 * manual/arith.texi (Normalization Functions): Fix prototypes for
23151 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23153 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23157 high value to check if expl overflow.
23158 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23159 to check for underflow and overflow.
23160 * math/libm-test.inc: Add exp test.
23162 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23165 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23168 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23170 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23173 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23175 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23176 wrap blocks consisting of several statements.
23178 * sysdeps/generic/math-tests.h: New file.
23179 * sysdeps/i386/fpu/math-tests.h: Likewise.
23180 * math/test-snan.c: Include it.
23181 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23183 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23187 (__ieee754_j0l): Do not improve calculations using cos of twice
23188 input for inputs above LDBL_MAX / 2.0L.
23189 (__ieee754_y0l): Likewise.
23190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23191 (__ieee754_j1l): Do not improve calculations using cos of twice
23192 input for inputs above LDBL_MAX / 2.0L.
23193 (__ieee754_y1l): Likewise.
23194 * math/libm-test.inc (j0_test): Add another test.
23195 (j1_test): Likewise.
23196 (y0_test): Likewise.
23197 (y1_test): Likewise.
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23200 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23202 * Rules ($(objpfx)bench-%.c): Include code from a C source
23205 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23208 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23209 imaginary part 1.0 and real part less than 0.5 specially.
23210 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23211 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23212 * math/libm-test.inc (cacos_test): Add more tests.
23213 (casin_test): Likewise.
23214 (casinh_test): Likewise.
23215 * sysdeps/i386/fpu/libm-test-ulps: Update.
23216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23218 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23220 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23221 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23223 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23225 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23226 * config.make.in (config-cflags-sse4): Remove variable.
23227 (config-cflags-avx): Likewise.
23228 (config-cflags-sse2avx): Likewise.
23229 (config-cflags-novzeroupper): Likewise.
23230 (config-asflags-i686): Likewise.
23231 (have-mfma4): Likewise.
23232 (have-as-vis3): Likewise.
23234 * configure.in (MIG): Do not AC_SUBST.
23235 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23236 (libc_cv_cc_sse4): Do not AC_SUBST.
23237 (libc_cv_cc_avx): Likewise.
23238 (libc_cv_cc_sse2avx): Likewise.
23239 (libc_cv_cc_novzeroupper): Likewise.
23240 (libc_cv_cc_fma4): Likewise.
23241 (libc_cv_as_i686): Likewise.
23242 (libc_cv_sparc_as_vis3): Likewise.
23243 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23245 (config-asflags-i686): Likewise.
23246 (config-cflags-avx): Likewise.
23247 (config-cflags-sse2avx): Likewise.
23248 (have-mfma4): Likewise.
23249 (config-cflags-novzeroupper): Likewise.
23250 * sysdeps/mach/configure.in (MIG): Likewise.
23251 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23252 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23254 (config-cflags-avx): Likewise.
23255 (config-cflags-sse2avx): Likewise.
23256 (have-mfma4): Likewise.
23257 (config-cflags-novzeroupper): Likewise.
23258 * configure: Regenerated.
23259 * sysdeps/i386/configure: Likewise.
23260 * sysdeps/mach/configure: Likewise.
23261 * sysdeps/sparc/configure: Likewise.
23262 * sysdeps/x86_64/configure: Likewise.
23264 2013-03-20 Roland McGrath <roland@hack.frob.com>
23267 * locale/programs/localedef.c (options): Put N_ translation marker
23268 on argument names, not just descriptions.
23270 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23272 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23274 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23277 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23279 2013-03-19 Roland McGrath <roland@hack.frob.com>
23281 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23282 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23283 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23284 [!BEFORE_ABORT] (before_abort): New function.
23285 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23286 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23287 (writev_for_fatal): New function.
23288 (WRITEV_FOR_FATAL): New macro; call that.
23289 (backtrace_and_maps): New function.
23290 (BEFORE_ABORT): New macro; call that.
23291 (struct str_list): Type removed.
23292 (__libc_message, __libc_fatal): Functions removed.
23293 Include <sysdeps/posix/libc_fatal.c> instead.
23295 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23297 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23299 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23302 2013-03-19 Andreas Schwab <schwab@suse.de>
23304 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23305 * sysdeps/gnu/configure: Regenerate.
23307 * configure.in: Substitute libc_cv_rtlddir.
23308 * configure: Regenerate.
23309 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23310 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23311 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23312 * elf/Makefile (install-others, CFLAGS-interp.c)
23313 (ldso_install, common-ldd-rewrite): Likewise.
23314 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23315 $(inst_slibdir)/$(rtld-installed-name).
23316 * scripts/rellns-sh: Add -p option.
23317 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23320 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23322 * manual/nptl.texi: Renamed to ...
23323 * manual/threads.texi: ... this.
23324 * manual/Makefile (chapters): Update.
23326 2013-03-18 Roland McGrath <roland@hack.frob.com>
23329 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23330 on argument names, not just descriptions.
23331 * malloc/memusagestat.c (options): Likewise.
23332 * nss/getent.c (options): Likewise.
23334 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23337 * iconv/iconv_prog.c (options): Put N_ translation marker
23338 on argument names, not just descriptions.
23339 * iconv/iconvconfig.c (options): Likewise.
23341 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23343 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23344 implementation which is faster on all x86_64 architectures.
23345 Tested on AMD, Intel Nehalem, SNB, IVB.
23346 * sysdeps/x86_64/strnlen.S: Likewise.
23348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23349 Remove all multiarch strlen and strnlen versions.
23350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23351 Remove strlen and strnlen related parts.
23353 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23354 Inline strlen part.
23355 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23357 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23358 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23359 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23360 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23361 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23362 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23364 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23366 * manual/memory.texi (Malloc Tunable Parameters):
23367 Sort parameters alphabetically. Add comments for missing entries.
23369 2013-03-17 David S. Miller <davem@davemloft.net>
23371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23373 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23376 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23377 for arguments at most half maximum finite value.
23378 * math/libm-test.inc (j0_test): Add more tests.
23379 (j1_test): Likewise.
23380 (y0_test): Likewise.
23381 (y1_test): Likewise.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23386 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23387 1 / x and functions P and Q for arguments above 0x1p256L.
23388 (__ieee754_y0l): Likewise.
23389 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23390 (__ieee754_y1l): Likewise.
23391 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23392 (j1_test): Likewise.
23393 (y0_test): Likewise.
23394 (y1_test): Likewise.
23396 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23398 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23401 2013-03-15 Roland McGrath <roland@hack.frob.com>
23403 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23404 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23405 zero since it's initialized to EXEC_PAGESIZE.
23407 * sysdeps/unix/sysv/linux/ldsodefs.h
23408 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23409 * sysdeps/generic/ldsodefs.h: ... here.
23411 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23413 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23415 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23417 * math/test-snan.c: Renamed from
23418 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23419 * math/Makefile (tests): Add test-snan.
23420 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23423 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23424 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23426 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23427 __builtin_nan family of functions.
23428 * math/libm-test.inc (initialize): Initialize qnan_value with
23429 __builtin_nan family of functions.
23430 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23432 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23434 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23435 storage class. Initialize qNaN_var and sNaN_var with
23436 __builtin_nan and __builtin_nans families of functions,
23439 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23440 (sqrt_test): Remove duplicate test with qNaN input.
23441 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23442 (round_test, signbit_test, significand_test): Note missing +/-Inf
23443 as well as qNaN tests.
23445 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23446 qNaN_var. Fix a few strings, too.
23447 * math/libm-test.inc (nan_value): Rename to qnan_value.
23448 * math/gen-libm-test.pl (%beautify): Adjust to that.
23449 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23450 * math/test-misc.c (main): Likewise.
23451 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23452 to __qnan_bytes, and __qnan_union, respectively.
23453 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23455 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23456 and lqnanval, respectively.
23457 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23458 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23459 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23460 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23462 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23463 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23466 * math/test-misc.c (main): Fix copy'n'pastos.
23467 * misc/tst-efgcvt.c (special): Likewise.
23469 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23470 Remove declarations.
23472 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23474 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23475 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23476 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23477 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23479 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23482 macro to return vdso values correctly in IFUNC implementations.
23483 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23484 Optimization by using IFUNC.
23486 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23487 Richard Henderson <rth@redhat.com>
23488 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23490 * Makefile.in (bench): New target.
23491 * NEWS: Mention the benchmark framework.
23492 * Rules (bench): Likewise.
23493 (binaries-bench): Generate binaries for functions to
23495 * benchtests/Makefile: New makefile for benchmark tests.
23496 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23498 * benchtests/exp-inputs: New input file for EXP function.
23499 * benchtests/pow-inputs: New input file for POW function.
23500 * scripts/bench.pl: New script to generate source files for
23501 benchmark programs.
23503 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23505 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23506 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23507 computations on mantissa. Use macros for rounding and
23509 (denorm): Likewise.
23510 (__dbl_mp): Likewise.
23511 (add_magnitudes): Likewise.
23512 (sub_magnitudes): Likewise.
23515 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23516 powers of two in terms of TWOPOW macro.
23517 (mp_no): Make type of mantissa as MANTISSA_T.
23518 [!RADIXI]: Define RADIXI.
23519 [!TWO52]: Define TWO52.
23520 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23522 * manual/nptl.texi (cindex): Modify threads to pthreads.
23524 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23526 * sysdeps/x86_64/preconfigure: Regenerated.
23528 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23531 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23533 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23534 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23536 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23537 * math/libm-test.inc (j0_test): Do not allow one spurious
23538 underflow exception.
23539 (y1_test): Likewise.
23541 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * manual/Makefile (chapters): Add nptl.
23544 * manual/debug.texi (Debugging Support): Add link to Threads
23546 * manual/nptl.texi: New file.
23548 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23550 2013-03-14 Petr Baudis <pasky@ucw.cz>
23552 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23553 for non-NULL pointer before the memory validity test. Pointed
23554 out by Holger Brunck <holger.brunck@keymile.com>.
23556 2013-03-13 Andreas Schwab <schwab@suse.de>
23558 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23561 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23563 * timezone/zic.c: Update from tzcode 2013b.
23565 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23567 * manual/install.texi (Configuring and compiling):
23568 Mention i686 and i586.
23569 * INSTALL: Regenerate.
23571 2013-03-12 Roland McGrath <roland@hack.frob.com>
23573 * sysdeps/init_array/elf-init.c: New file.
23575 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23576 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23578 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23579 __gmon_start__ as global, but as static with a .preinit_array pointer.
23580 * sysdeps/init_array/gmon-start.c: New file. Use that.
23581 * sysdeps/init_array/crti.S: New file, empty except for comments.
23582 * sysdeps/init_array/crtn.S: Likewise.
23584 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23586 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23589 Remove Prefer_SSE_for_memop.
23590 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23591 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23592 HAS_PREFER_SSE_FOR_MEMOP.
23593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23596 Remove bzero, memset ifunc support.
23597 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23598 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23599 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23600 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23602 2013-03-11 Andreas Schwab <schwab@suse.de>
23605 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23608 (GLIBC_2.16): Remove pthread_atfork.
23610 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23612 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23613 (ptestcases.h): Likewise.
23615 2013-03-08 Roland McGrath <roland@hack.frob.com>
23617 * Makeconfig ($(common-objpfx)config.status): Depend on
23618 sysdeps/*/preconfigure{,.in} too.
23620 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23622 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23623 (__free_hook): Use void * instead of __malloc_ptr_t.
23624 (__malloc_hook): Likewise.
23625 (__realloc_hook): Likewise.
23626 (__memalign_hook): Likewise.
23627 (__after_morecore_hook): Likewise.
23628 * malloc/arena.c (save_malloc_hook): Likewise.
23629 (save_free_hook): Likewise.
23630 * malloc/hooks.c (malloc_hook_ini): Likewise.
23631 (realloc_hook_ini): Likewise.
23632 (memalign_hook_ini): Likewise.
23633 * malloc/malloc.c (malloc_hook_ini): Likewise.
23634 (realloc_hook_ini): Likewise.
23635 (memalign_hook_ini): Likewise.
23636 (__free_hook): Likewise.
23637 (__malloc_hook): Likewise.
23638 (__realloc_hook): Likewise.
23639 (__memalign_hook): Likewise.
23640 (__libc_malloc): Likewise.
23641 (__libc_free): Likewise.
23642 (__libc_realloc): Likewise.
23643 (__libc_memalign): Likewise.
23644 (__libc_valloc): Likewise.
23645 (__libc_pvalloc): Likewise.
23646 (__libc_calloc): Likewise.
23647 (__posix_memalign): Likewise.
23648 * malloc/morecore.c (__sbrk): Likewise.
23649 (__default_morecore): Likewise.
23651 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23653 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23654 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23655 __malloc_ptrdiff_t.
23657 * malloc/malloc.h (__malloc_size_t): Remove macro.
23658 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23660 (old_memalign_hook): Likewise.
23661 (old_realloc_hook): Likewise.
23662 (struct hdr): Likewise.
23664 (mallochook): Likewise.
23665 (memalignhook): Likewise.
23666 (reallochook): Likewise.
23667 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23668 (tr_old_realloc_hook): Likewise.
23669 (tr_old_memalign_hook): Likewise.
23670 (tr_mallochook): Likewise.
23671 (tr_reallochook): Likewise.
23672 (tr_memalignhook): Likewise.
23674 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23677 default_ldbl_pack and using as default implementation.
23678 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23680 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23681 redundant definition.
23682 (ldbl_insert_mantissa): Likewise.
23683 (ldbl_canonicalize): Likewise.
23684 (ldbl_nearbyint): Likewise.
23685 (ldbl_pack): Rename to ldbl_pack_ppc.
23686 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23687 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23688 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23690 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23693 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23694 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23695 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23697 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23698 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23699 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23701 2013-03-07 Andreas Jaeger <aj@suse.de>
23703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23706 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23708 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23709 Include mpa.h and declare __MPEXP.
23710 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23711 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23712 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23714 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23715 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23716 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23718 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23719 (__slowpow): Use long double EXPL and LOGL functions to
23721 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23722 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23724 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23725 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23729 intermediate variable to calculate exponent.
23731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23735 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23736 [!NO__SQR]: Define __sqr.
23737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23738 and NO__SQR. Remove all code except __mul and __sqr. Include
23739 sysdeps/ieee754/dbl-64/mpa.c.
23740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23743 * posix/Makefile (tests): Add tst-pathconf.
23744 * posix/tst-pathconf.c: New test case.
23745 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23747 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23749 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23751 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23753 2013-03-06 Andreas Jaeger <aj@suse.de>
23755 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23756 definition via __MAP_ANONYMOUS.
23758 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23759 it's not part of Linux headers.
23761 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23762 (MAP_HUGE_MASK): Define.
23764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23766 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23769 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23770 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23772 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23775 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23777 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23778 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23779 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23780 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23781 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23782 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23788 Handle f2fs and efivarfs.
23790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23793 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23794 (EFIVARFS_MAGIC): Add.
23795 (F2FS_LINK_MAX): Add.
23797 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23799 * stdio-common/vfprintf.c: Replace __builtin_expect with
23802 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23805 * sysdeps/generic/bp-sym.h: Remove file.
23806 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23807 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23808 <bp-sym.h> and <bp-asm.h>.
23809 (__longjmp): Don't use BP_SYM.
23810 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23812 (memcpy): Don't use BP_SYM.
23813 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23814 <bp-sym.h> and <bp-asm.h>.
23815 (memcpy): Don't use BP_SYM.
23816 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23818 (memcpy): Don't use BP_SYM.
23819 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23821 (memset): Don't use BP_SYM.
23822 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23823 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23824 (__bzero): Don't use BP_SYM.
23825 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23826 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23828 <bp-sym.h> and <bp-asm.h>.
23829 (memcmp): Don't use BP_SYM. Remove comment about bounded
23831 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23832 <bp-sym.h> and <bp-asm.h>.
23833 (memcpy): Don't use BP_SYM.
23834 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23835 <bp-sym.h> and <bp-asm.h>.
23836 (memset): Don't use BP_SYM.
23837 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23838 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23839 (__bzero): Don't use BP_SYM.
23840 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23841 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (strncmp): Don't use BP_SYM. Remove comment about bounded
23846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23847 <bp-sym.h> and <bp-asm.h>.
23848 (memcpy): Don't use BP_SYM.
23849 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23850 <bp-sym.h> and <bp-asm.h>.
23851 (memset): Don't use BP_SYM.
23852 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23853 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23854 (__bzero): Don't use BP_SYM.
23855 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23856 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23858 <bp-sym.h> and <bp-asm.h>.
23859 (__memchr): Don't use BP_SYM.
23860 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23861 <bp-sym.h> and <bp-asm.h>.
23862 (memcmp): Don't use BP_SYM. Remove comment about bounded
23864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23865 <bp-sym.h> and <bp-asm.h>.
23866 (memcpy): Don't use BP_SYM.
23867 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23868 <bp-sym.h> and <bp-asm.h>.
23869 (__mempcpy): Don't use BP_SYM.
23870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23871 <bp-sym.h> and <bp-asm.h>.
23872 (__memrchr): Don't use BP_SYM.
23873 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23874 <bp-sym.h> and <bp-asm.h>.
23875 (memset): Don't use BP_SYM.
23876 (__bzero): Likewise.
23877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23878 <bp-sym.h> and <bp-asm.h>.
23879 (__rawmemchr): Don't use BP_SYM.
23880 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23881 <bp-sym.h> and <bp-asm.h>.
23882 (__STRCMP): Don't use BP_SYM.
23883 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23884 <bp-sym.h> and <bp-asm.h>.
23885 (strchr): Don't use BP_SYM.
23886 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23887 <bp-sym.h> and <bp-asm.h>.
23888 (__strchrnul): Don't use BP_SYM.
23889 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23890 <bp-sym.h> and <bp-asm.h>.
23891 (strlen): Don't use BP_SYM.
23892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23893 <bp-sym.h> and <bp-asm.h>.
23894 (strncmp): Don't use BP_SYM. Remove comment about bounded
23896 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23897 <bp-sym.h> and <bp-asm.h>.
23898 (__strnlen): Don't use BP_SYM.
23899 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23900 <bp-sym.h> and <bp-asm.h>.
23901 (__GI__setjmp): Don't use BP_SYM.
23902 (_setjmp): Likewise.
23903 (__sigsetjmp): Likewise.
23904 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23905 (L(start_addresses)): Don't use BP_SYM.
23906 (_start): Likewise.
23907 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23909 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23910 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23911 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23912 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23913 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23915 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23916 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23917 about bounded pointers.
23918 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23919 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23920 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23922 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23923 about bounded pointers. Remove GKM FIXME comments.
23924 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23925 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23927 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23928 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23929 Remove GKM FIXME comments.
23930 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23931 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23932 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23934 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23935 about bounded pointers. Remove GKM FIXME comment.
23936 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23938 (strncmp): Don't use BP_SYM. Remove comment about bounded
23940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23941 <bp-sym.h> and <bp-asm.h>.
23942 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23944 <bp-sym.h> and <bp-asm.h>.
23945 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23948 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23950 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23953 2013-03-05 David S. Miller <davem@davemloft.net>
23955 * po/es.po: Update from translation team.
23957 2013-03-05 Andreas Jaeger <aj@suse.de>
23959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23960 <bits/mman-linux.h>.
23961 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23963 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23964 <bits/mman-linux.h> to end of file.
23965 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23967 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23968 <bits/mman-linux.h> to end of file.
23969 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23972 <bits/mman-linux.h> to end of file.
23974 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23975 (MCL_CURRENT, MCL_FUTURE): Define here.
23977 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23980 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23982 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23984 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23987 fourth parameter needed for rt_sigprocmask syscall.
23988 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23989 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23990 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23992 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23993 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23995 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23998 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23999 comment about bounded pointers.
24000 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24001 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24003 2013-03-04 Andreas Jaeger <aj@suse.de>
24005 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24006 common definitions.
24008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24009 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24010 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24015 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24019 __ieee754_sqrl instead of __sqrl.
24021 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24023 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24024 * sysdeps/powerpc/fpu_control.h: ... here.
24025 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24026 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24027 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24028 * sysdeps/powerpc/bits/mathinline.h: ... here.
24030 2013-03-01 Roland McGrath <roland@hack.frob.com>
24032 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24033 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24034 to just [NEED_DL_SYSINFO_DSO].
24035 * elf/dl-support.c: Likewise.
24036 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24037 * elf/rtld.c (dl_main): Likewise.
24038 * elf/setup-vdso.h (setup_vdso): Likewise.
24039 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24040 * sysdeps/unix/sysv/linux/dl-sysdep.c
24041 (_dl_discover_osversion): Likewise.
24043 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24045 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24046 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24048 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24050 * NEWS: Mention libm performance improvements and non-x86 PI
24053 * csu/libc-start.c (__pthread_initialize_minimal): Change
24054 function arguments.
24055 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24057 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24060 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24061 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24062 <bp-sym.h> and <bp-asm.h>.
24063 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24064 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24066 (memcpy): Don't use BP_SYM.
24067 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24069 (__mpn_add_n): Don't use BP_SYM.
24070 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24071 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24073 (__mpn_addmul_1): Don't use BP_SYM.
24074 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24075 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24077 (_setjmp): Don't use BP_SYM.
24078 (__novmx_setjmp): Likewise.
24079 (__GI__setjmp): Likewise.
24080 (__vmx_setjmp): Likewise.
24081 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24083 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24084 (__bzero): Don't use BP_SYM.
24085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24087 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24088 <bp-sym.h> and <bp-asm.h>.
24089 (memcpy): Don't use BP_SYM.
24090 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24091 <bp-sym.h> and <bp-asm.h>.
24092 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24093 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24094 <bp-sym.h> and <bp-asm.h>.
24095 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24096 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24098 (__mpn_lshift): Don't use BP_SYM.
24099 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24100 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24102 (memset): Don't use BP_SYM.
24103 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24104 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24105 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24107 (__mpn_mul_1): Don't use BP_SYM.
24108 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24110 <bp-sym.h> and <bp-asm.h>.
24111 (memcmp): Don't use BP_SYM.
24112 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24113 <bp-sym.h> and <bp-asm.h>.
24114 (memcpy): Don't use BP_SYM.
24115 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24116 <bp-sym.h> and <bp-asm.h>.
24117 (memset): Don't use BP_SYM.
24118 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24119 <bp-sym.h> and <bp-asm.h>.
24120 (strncmp): Don't use BP_SYM.
24121 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24122 <bp-sym.h> and <bp-asm.h>.
24123 (memcpy): Don't use BP_SYM.
24124 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24125 <bp-sym.h> and <bp-asm.h>.
24126 (memset): Don't use BP_SYM.
24127 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24128 <bp-sym.h> and <bp-asm.h>.
24129 (__memchr): Don't use BP_SYM.
24130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24131 <bp-sym.h> and <bp-asm.h>.
24132 (memcmp): Don't use BP_SYM.
24133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24134 <bp-sym.h> and <bp-asm.h>.
24135 (memcpy): Don't use BP_SYM.
24136 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24137 <bp-sym.h> and <bp-asm.h>.
24138 (__mempcpy): Don't use BP_SYM.
24139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24140 <bp-sym.h> and <bp-asm.h>.
24141 (__memrchr): Don't use BP_SYM.
24142 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24143 <bp-sym.h> and <bp-asm.h>.
24144 (memset): Don't use BP_SYM.
24145 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24146 <bp-sym.h> and <bp-asm.h>.
24147 (__rawmemchr): Don't use BP_SYM.
24148 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24149 <bp-sym.h> and <bp-asm.h>.
24150 (__STRCMP): Don't use BP_SYM.
24151 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24152 <bp-sym.h> and <bp-asm.h>.
24153 (strchr): Don't use BP_SYM.
24154 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24155 <bp-sym.h> and <bp-asm.h>.
24156 (__strchrnul): Don't use BP_SYM.
24157 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24158 <bp-sym.h> and <bp-asm.h>.
24159 (strlen): Don't use BP_SYM.
24160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24161 <bp-sym.h> and <bp-asm.h>.
24162 (strncmp): Don't use BP_SYM.
24163 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24164 <bp-sym.h> and <bp-asm.h>.
24165 (__strnlen): Don't use BP_SYM.
24166 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24168 (__mpn_rshift): Don't use BP_SYM.
24169 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24170 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24171 <bp-sym.h> and <bp-asm.h>.
24172 (__sigsetjmp): Don't use BP_SYM.
24173 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24174 (L(start_addresses)): Don't use BP_SYM.
24175 (_start): Likewise.
24176 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24178 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24179 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24180 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24181 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24183 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24184 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24185 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24186 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24188 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24190 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24191 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24193 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24195 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24196 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24197 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24199 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24201 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24203 (strncmp): Don't use BP_SYM,
24204 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24206 (__mpn_sub_n): Don't use BP_SYM.
24207 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24208 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24210 (__mpn_submul_1): Don't use BP_SYM.
24211 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24213 <bp-sym.h> and <bp-asm.h>.
24214 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24216 <bp-sym.h> and <bp-asm.h>.
24217 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24220 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24223 Use ZK to minimize writes to Z.
24224 (sub_magnitudes): Simplify code a bit.
24225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24226 Use ZK to minimize writes to Z.
24227 (sub_magnitudes): Simplify code a bit.
24229 2013-02-27 Roland McGrath <roland@hack.frob.com>
24231 * csu/gmon-start.c: Add special exception to license text.
24233 2013-02-27 Richard Henderson <rth@redhat.com>
24235 * scripts/config.guess: Update from config.git.
24236 * scripts/config.sub: Likewise.
24238 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24242 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24244 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24246 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24248 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24250 2013-02-26 Roland McGrath <roland@hack.frob.com>
24252 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24253 [$(build-shared = yes].
24255 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24257 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24258 (__mul): Reduce iterations for calculating mantissa.
24260 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24262 (__mpranred): Likewise.
24265 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24266 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24268 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24270 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24271 Define __attribute__.
24273 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24275 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24277 * posix/regex_internal.h (__attribute): Remove.
24278 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24279 (re_string_context_at): Likewise.
24280 (bitset_not): Use __attribute__ and mark function as possibly
24282 (bitset_merge): Likewise.
24283 (bitset_mask): Likewise.
24284 (re_string_char_size_at): Likewise.
24285 (re_string_wchar_at): Likewise.
24286 (re_string_elem_size_at): Likewise.
24288 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24290 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24294 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24298 (denorm): Likewise.
24299 (__dbl_mp): Likewise.
24300 (add_magnitudes): Likewise.
24301 (sub_magnitudes): Likewise.
24305 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24308 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24311 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24315 up changes with default code.
24316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24319 2013-02-24 Allan McRae <allan@archlinux.org>
24321 * manual/socket.texi (The Internet Namespace): Order menu items
24322 to match that in the file.
24324 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24325 node listing of the info page menu.
24327 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24330 * sysdeps/i386/bp-asm.h: Remove file.
24331 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24332 (PARMS): Do not use macros from bp-asm.h.
24336 (__mpn_add_n): Do not use BP_SYM
24337 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24339 (PARMS): Do not use macros from bp-asm.h.
24342 (__mpn_addmul_1): Do not use BP_SYM
24343 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24345 (PARMS): Do not use macros from bp-asm.h.
24346 (SIGMSK): Likewise.
24347 (_setjmp): Likewise. Do not use BP_SYM.
24348 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24350 (PARMS): Do not use macros from bp-asm.h.
24351 (SIGMSK): Likewise.
24352 (setjmp): Likewise. Do not use BP_SYM.
24353 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24355 (PARMS): Do not use macros from bp-asm.h.
24356 (__frexp): Do not use BP_SYM.
24358 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24360 (PARMS): Do not use macros from bp-asm.h.
24361 (__frexpf): Do not use BP_SYM.
24362 (frexpf): Likewise.
24363 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24365 (PARMS): Do not use macros from bp-asm.h.
24366 (__frexpl): Do not use BP_SYM.
24367 (frexpl): Likewise.
24368 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24370 (PARMS): Do not use macros from bp-asm.h.
24371 (__remquo): Do not use BP_SYM.
24372 (remquo): Likewise.
24373 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24375 (PARMS): Do not use macros from bp-asm.h.
24376 (__remquof): Do not use BP_SYM.
24377 (remquof): Likewise.
24378 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24380 (PARMS): Do not use macros from bp-asm.h.
24381 (__remquol): Do not use BP_SYM.
24382 (remquol): Likewise.
24383 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24385 (PARMS): Do not use macros from bp-asm.h.
24388 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24389 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24391 (PARMS): Do not use macros from bp-asm.h.
24392 (strlen): Do not use BP_SYM.
24393 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24395 (PARMS): Do not use macros from bp-asm.h.
24399 (__mpn_add_n): Do not use BP_SYM.
24400 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24402 (PARMS): Do not use macros from bp-asm.h.
24405 (__mpn_addmul_1): Do not use BP_SYM.
24406 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24409 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24411 (PARMS): Do not use macros from bp-asm.h.
24414 (__mpn_lshift): Do not use BP_SYM.
24415 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24417 (PARMS): Do not use macros from bp-asm.h.
24421 (memcpy): Likewise. Do not use BP_SYM.
24422 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24423 libc_hidden_def and weak_alias.
24424 (mempcpy): Do not use BP_SYM in weak_alias.
24425 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24427 (PARMS): Do not use macros from bp-asm.h.
24430 [!BZERO_P] (CHR): Likewise.
24431 (memset): Likewise. Do not use BP_SYM.
24432 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24434 (PARMS): Do not use macros from bp-asm.h.
24437 (__mpn_mul_1): Do not use BP_SYM.
24438 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24440 (PARMS): Do not use macros from bp-asm.h.
24443 (__mpn_rshift): Do not use BP_SYM.
24444 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24446 (PARMS): Do not use macros from bp-asm.h.
24449 (strchr): Likewise. Do not use BP_SYM.
24450 (index): Do not use BP_SYM in weak_alias.
24451 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24453 (PARMS): Do not use macros from bp-asm.h.
24456 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24457 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24459 (PARMS): Do not use macros from bp-asm.h.
24460 (strlen): Do not use BP_SYM.
24461 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24463 (PARMS): Do not use macros from bp-asm.h.
24467 (__mpn_sub_n): Do not use BP_SYM.
24468 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24470 (PARMS): Do not use macros from bp-asm.h.
24473 (__mpn_submul_1): Do not use BP_SYM.
24474 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24476 (PARMS): Do not use macros from bp-asm.h.
24480 (__mpn_add_n): Do not use BP_SYM.
24481 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24484 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24486 (PARMS): Do not use macros from bp-asm.h.
24489 (memcmp): Do not use BP_SYM.
24490 (bcmp): Do not use BP_SYM in weak_alias.
24491 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24493 (PARMS): Do not use macros from bp-asm.h.
24497 (memcpy): Likewise. Do not use BP_SYM.
24498 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24500 (PARMS): Do not use macros from bp-asm.h.
24504 (memmove): Likewise. Do not use BP_SYM.
24505 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24507 (PARMS): Do not use macros from bp-asm.h.
24511 (__mempcpy): Likewise. Do not use BP_SYM.
24512 (mempcpy): Do not use BP_SYM in weak_alias.
24513 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24515 (PARMS): Do not use macros from bp-asm.h.
24518 [!BZERO_P] (CHR): Likewise.
24519 (memset): Likewise. Do not use BP_SYM.
24520 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24522 (PARMS): Do not use macros from bp-asm.h.
24524 (strcmp): Do not use BP_SYM.
24525 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24527 (PARMS): Do not use macros from bp-asm.h.
24530 [USE_AS_STRTOK_R] (SAVE): Likewise.
24531 (FUNCTION): Likewise. Do not use BP_SYM.
24532 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24534 (strtok_r): Likewise.
24535 (__GI___strtok_r): Likewise.
24536 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24537 (PARMS): Do not use macros from bp-asm.h.
24540 (__mpn_lshift): Do not use BP_SYM.
24541 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24542 (PARMS): Do not use macros from bp-asm.h.
24545 (__memchr): Do not use BP_SYM.
24546 (memchr): Do not use BP_SYM in weak_alias.
24547 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24548 (PARMS): Do not use macros from bp-asm.h.
24551 (memcmp): Do not use BP_SYM.
24552 (bcmp): Do not use BP_SYM in weak_alias.
24553 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24554 (PARMS): Do not use macros from bp-asm.h.
24557 (__mpn_mul_1): Do not use BP_SYM.
24558 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24560 (PARMS): Do not use macros from bp-asm.h.
24563 (__rawmemchr): Do not use BP_SYM.
24564 (rawmemchr): Do not use BP_SYM in weak_alias.
24565 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24566 (PARMS): Do not use macros from bp-asm.h.
24569 (__mpn_rshift): Do not use BP_SYM.
24570 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24571 (PARMS): Do not use macros from bp-asm.h.
24572 (SIGMSK): Likewise.
24573 (__sigsetjmp): Likewise. Do not use BP_SYM.
24574 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24575 (_start): Do not use BP_SYM.
24576 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24577 (PARMS): Do not use macros from bp-asm.h.
24580 (__stpcpy): Likewise. Do not use BP_SYM.
24581 (stpcpy): Do not use BP_SYM in weak_alias.
24582 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24584 (PARMS): Do not use macros from bp-asm.h.
24588 (__stpncpy): Likewise. Do not use BP_SYM.
24589 (stpncpy): Do not use BP_SYM in weak_alias.
24590 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24591 (PARMS): Do not use macros from bp-asm.h.
24594 (strchr): Likewise. Do not use BP_SYM.
24595 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24597 (PARMS): Do not use macros from bp-asm.h.
24600 (__strchrnul): Likewise. Do not use BP_SYM.
24601 (strchrnul): Do not use BP_SYM in weak_alias.
24602 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24604 (PARMS): Do not use macros from bp-asm.h.
24606 (strcspn): Do not use BP_SYM.
24607 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24609 (PARMS): Do not use macros from bp-asm.h.
24612 (strpbrk): Likewise. Do not use BP_SYM.
24613 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24615 (PARMS): Do not use macros from bp-asm.h.
24618 (strrchr): Likewise. Do not use BP_SYM.
24619 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24620 (PARMS): Do not use macros from bp-asm.h.
24622 (strspn): Do not use BP_SYM.
24623 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24624 (PARMS): Do not use macros from bp-asm.h.
24628 (FUNCTION): Likewise. Do not use BP_SYM.
24629 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24631 (strtok_r): Likewise.
24632 (__GI___strtok_r): Likewise.
24633 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24634 (PARMS): Do not use macros from bp-asm.h.
24638 (__mpn_sub_n): Do not use BP_SYM.
24639 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24641 (PARMS): Do not use macros from bp-asm.h.
24644 (__mpn_submul_1): Do not use BP_SYM.
24645 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24647 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24649 (PARMS): Do not use macros from bp-asm.h.
24654 (__clone): Do not use BP_SYM.
24655 (clone): Do not use BP_SYM in weak_alias.
24656 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24658 (PARMS): Do not use macros from bp-asm.h.
24660 (__mmap64): Do not use BP_SYM.
24661 (mmap64): Do not use BP_SYM in weak_alias.
24662 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24663 <bp-sym.h> and <bp-asm.h>.
24664 (PARMS): Do not use macros from bp-asm.h.
24665 (__posix_fadvise64_l64): Do not use BP_SYM.
24666 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24667 (PARMS): Do not use macros from bp-asm.h.
24669 (semtimedop): Do not use BP_SYM.
24670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24673 2013-02-21 Allan McRae <allan@archlinux.org>
24675 * manual/message.texi (Charset conversion in gettext):
24676 Move @end statement to beginning of line.
24678 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24685 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24686 (denorm): Likewise.
24687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24690 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24692 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24693 tail-call to the resolved function if pltexit isn't needed.
24695 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24698 or Y being zero as being unlikely.
24699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24702 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24704 * manual/nss.texi (System Databases and Name Service Switch):
24705 Remove frobnicate @pxref.
24707 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24709 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24710 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24712 2013-02-20 Petr Machata <pmachata@redhat.com>
24714 * elf/elf.h (R_ARM_TARGET1): New macro.
24715 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24716 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24717 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24718 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24719 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24720 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24721 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24722 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24723 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24724 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24725 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24726 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24727 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24728 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24729 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24730 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24731 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24732 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24733 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24734 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24735 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24736 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24737 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24738 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24739 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24740 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24741 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24742 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24743 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24744 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24745 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24746 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24747 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24748 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24749 (R_ARM_THM_GOT_BREL12): Likewise.
24750 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24751 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24752 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24753 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24754 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24755 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24756 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24757 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24758 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24760 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24762 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24763 __attribute_used__ to __attribute__ ((unused)).
24765 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24767 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24770 comment formatting.
24771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24773 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24776 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24778 (ENTER): Remove both macro definitions.
24780 (CHECK_BOUNDS_LOW): Likewise.
24781 (CHECK_BOUNDS_HIGH): Likewise.
24782 (CHECK_BOUNDS_BOTH): Likewise.
24783 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24784 (RETURN_BOUNDED_POINTER): Likewise.
24785 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24786 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24787 (POP_ERRNO_LOCATION_RETURN): Likewise.
24788 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24789 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24790 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24792 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24793 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24794 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24795 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24796 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24797 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24798 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24799 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24800 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24801 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24802 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24803 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24804 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24805 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24807 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24808 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24810 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24811 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24812 * sysdeps/i386/i586/memset.S (memset): Likewise.
24813 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24814 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24815 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24817 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24818 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24819 Change uses of L(2) to L(out).
24820 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24821 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24822 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24823 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24824 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24826 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24827 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24829 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24830 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24831 (RETURN): Do not use macro LEAVE.
24832 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24833 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24834 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24835 * sysdeps/i386/i686/memset.S (memset): Likewise.
24836 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24837 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24838 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24839 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24841 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24842 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24843 L(1_2) and L(1_3) into L(1).
24844 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24845 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24846 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24847 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24848 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24849 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24850 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24851 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24852 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24854 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24855 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24856 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24857 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24858 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24859 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24860 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24861 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24862 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24863 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24864 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24865 * sysdeps/i386/strspn.S (strspn): Likewise.
24866 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24868 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24869 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24870 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24871 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24872 L(1_3) into L(1_1).
24873 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24874 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24875 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24879 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24881 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24884 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24886 * math/atest-exp.c (exp_mpn): Remove ROUND.
24887 * math/atest-exp2.c (exp_mpn): Likewise.
24888 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24890 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24891 * stdlib/tst-tls-atexit-lib.c: Likewise.
24892 * stdlib/tst-tls-atexit.c: Likewise.
24894 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24896 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24897 and __attribute_alloc_size__.
24899 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24901 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24902 __attribute_alloc_size__.
24903 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24904 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24906 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24908 * include/programs/xmalloc.h: New file.
24909 * catgets/gencat.c: Include it.
24910 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24911 * elf/pldd.c: Likewise.
24912 * iconv/iconv_charmap.c: Likewise.
24913 * iconv/iconvconfig.c: Likewise.
24914 * iconv/strtab.c: Likewise.
24915 * locale/programs/locale.c: Likewise.
24916 * locale/programs/localedef.h: Likewise.
24917 * locale/programs/simple-hash.c: Likewise.
24918 * nscd/nscd.h: Likewise.
24919 * nss/makedb.c: Likewise.
24920 * sysdeps/generic/ldconfig.h: Likewise.
24922 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24924 * Versions.def: Add GLIBC_2.18.
24925 * include/link.h (struct link_map): New member l_tls_dtor_count.
24926 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24927 (__call_tls_dtors): Likewise.
24928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24929 __cxa_thread_atexit_impl.
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24946 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24947 (tests): Add test case tst-tls-atexit.
24948 (modules-names): Add shared library for tst-tls-atexit.
24949 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24950 (GLIBC_PRIVATE): Add __call_tls_dtors.
24951 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24953 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24954 * stdlib/tst-tls-atexit.c: New test case.
24955 * stdlib/tst-tls-atexit-lib.c: New test case.
24957 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24959 * elf/Versions (ld): Add _dl_find_dso_for_object.
24960 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24961 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24962 (dl_open_worker): Use _dl_find_dso_for_object.
24963 * elf/dl-sym.c (do_sym): Likewise.
24964 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24966 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24968 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24969 Syntactic changes only.
24970 (_dl_runtime_profile): Do a tail-call to the resolved function.
24972 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24975 * sysdeps/x86_64/bp-asm.h: Remove file.
24976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24977 <bp-sym.h> and <bp-asm.h>.
24978 (__clone): Do not use BP_SYM.
24979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24980 <bp-sym.h> and <bp-asm.h>.
24981 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24982 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24984 (_setjmp): Do not use BP_SYM.
24985 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24987 (setjmp): Do not use BP_SYM.
24988 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24990 (mempcpy): Do not use BP_SYM in weak_alias.
24991 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24993 (strchr): Do not use BP_SYM.
24994 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24996 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24997 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24998 (_start): Do not use BP_SYM.
24999 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25001 (strcat): Do not use BP_SYM.
25002 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25004 (STRCMP): Do not use BP_SYM.
25005 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25007 (STRCPY): Do not use BP_SYM.
25008 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25010 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25012 (FUNCTION): Do not use BP_SYM.
25013 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25015 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25017 2013-02-17 Andreas Jaeger <aj@suse.de>
25019 * time/Versions: Sort entries.
25020 * string/Versions: Likewise.
25021 * resolv/Versions: Likewise.
25022 * posix/Versions: Likewise.
25023 * iconv/Versions: Likewise.
25024 * elf/Versions: Likewise.
25025 * wcsmbs/Versions: Likewise.
25027 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25029 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25030 loop termination condition.
25032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25033 variable to calculate EZ.
25036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25037 the lower precision input.
25039 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25042 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25043 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25044 (run-via-rtld-prefix): Do not handle %-bp tests.
25045 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25046 (all-object-suffixes): Remove .ob.
25047 (bppfx): Remove variable.
25048 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25049 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25050 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25051 [$(build-bounded) = yes] (libtype.ob): Likewise.
25052 * Makerules (elide-routines.ob): Remove variable.
25053 (do-tests-clean): Do not handle *-bp.out.
25054 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25055 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25056 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25057 (tests): Do not include $(tests-bp.out).
25058 (xtests): Do not include $(xtests-bp.out).
25059 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25060 [$(build-bounded) = yes] ($(addprefix
25061 $(objpfx),$(binaries-bounded))): Remove rule.
25062 ($(objpfx)%-bp.out): Remove rule.
25063 * config.make.in (build-bounded): Remove variable.
25064 * crypt/Makefile [$(build-bounded) = yes]
25065 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25066 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25067 append to variable.
25068 [$(build-bounded) = yes] (install-lib): Likewise.
25069 [$(build-bounded) = yes] (generated): Likewise.
25070 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25072 * intl/Makefile [$(build-bounded) = yes]
25073 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25074 * math/Makefile [$(build-bounded) = yes]
25075 ($(tests:%=$(objpfx)%-bp): Likewise.
25076 * misc/Makefile [$(build-bounded) = yes]
25077 ($(objpfx)tst-tsearch-bp): Likewise.
25078 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25079 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25081 * string/Makefile (o-objects.ob): Remove variable.
25082 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25083 (CFLAGS-.ob): Remove variable.
25084 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25085 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25086 both definitions of variable.
25087 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25088 (ASFLAGS-.ob): Remove variable.
25090 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25093 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25094 Remove __BOUNDED_POINTERS__ from condition.
25095 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25096 * string/bits/string2.h [!__NO_STRING_INLINES &&
25097 !__BOUNDED_POINTERS__]: Likewise.
25098 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25100 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25101 Remove conditional code.
25102 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25103 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25104 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25108 * csu/libc-start.c: Do not include <bp-sym.h>.
25109 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25110 * elf/dl-open.c: Do not include <bp-sym.h>.
25111 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25112 * math/fegetenv.c: Do not include <bp-sym.h>.
25113 (fegetenv): Do not use BP_SYM in versioned symbols.
25114 * nptl/sysdeps/pthread/bits/libc-lockP.h
25115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25118 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25120 (__pthread_mutex_destroy): Likewise.
25121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25122 (__pthread_mutex_lock): Likewise.
25123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25124 (__pthread_mutex_trylock): Likewise.
25125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25126 (__pthread_mutex_unlock): Likewise.
25127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25128 (__pthread_mutexattr_init): Likewise.
25129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25130 (__pthread_mutexattr_destroy): Likewise.
25131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25132 (__pthread_mutexattr_settype): Likewise.
25133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25134 (__pthread_rwlock_init): Likewise.
25135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25136 (__pthread_rwlock_destroy): Likewise.
25137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25138 (__pthread_rwlock_rdlock): Likewise.
25139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25140 (__pthread_rwlock_tryrdlock): Likewise.
25141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25142 (__pthread_rwlock_wrlock): Likewise.
25143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25144 (__pthread_rwlock_trywrlock): Likewise.
25145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25146 (__pthread_rwlock_unlock): Likewise.
25147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25148 (__pthread_key_create): Likewise.
25149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25150 (__pthread_setspecific): Likewise.
25151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25152 (__pthread_getspecific): Likewise.
25153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25156 (_pthread_cleanup_push_defer): Likewise.
25157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25158 (_pthread_cleanup_pop_restore): Likewise.
25159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25160 (pthread_setcancelstate): Likewise.
25161 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25163 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25164 (memchr): Do not use BP_SYM in weak_alias.
25165 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25166 (fegetenv): Do not use BP_SYM in versioned symbols.
25167 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25168 (fesetenv): Do not use BP_SYM in versioned symbols.
25169 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25170 (feupdateenv): Do not use BP_SYM in versioned symbols.
25171 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25172 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25173 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25174 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25175 (open64): Do not use BP_SYM in weak_alias.
25176 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25177 (fegetenv): Do not use BP_SYM in versioned symbols.
25178 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25179 (fesetenv): Do not use BP_SYM in versioned symbols.
25180 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25181 (feupdateenv): Do not use BP_SYM in versioned symbols.
25182 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25183 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25184 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25185 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25186 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25187 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25188 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25190 (__libc_start_main): Do not use BP_SYM.
25192 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25195 redundant return line.
25197 (denorm): Likewise.
25198 (dbl_mp): Likewise.
25199 (sub_magnitudes): Likewise.
25205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25207 (denorm): Likewise.
25208 (dbl_mp): Likewise.
25209 (sub_magnitudes): Likewise.
25216 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25218 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25219 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25222 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25223 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25225 of __mul for squares.
25226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25230 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25233 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25236 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25238 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25239 prototype or function definition. Rename ubp_* variables and
25240 parameters. Remove argv definitions conditional on
25241 [__BOUNDED_POINTERS__].
25242 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25243 * elf/dl-runtime.c (_dl_fixup): Likewise.
25244 * include/set-hooks.h (RUN_HOOK): Likewise.
25245 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25247 * string/strcpy.c (strcpy): Do not use __unbounded.
25248 * sysdeps/generic/frame.h (struct layout): Likewise.
25249 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25250 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25251 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25252 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25253 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25254 (__backtrace): Likewise.
25255 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25257 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25258 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25259 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25261 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25262 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25263 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25264 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25265 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25266 Do not use __unbounded.
25267 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25268 Rename __unboundedrlimits parameter to rlimits in prototype.
25269 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25270 Do not use __unbounded.
25271 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25272 not use __ptrvalue.
25273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25274 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25275 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25276 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25277 __ptrvalue or __unbounded.
25278 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25279 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25281 (__new_msgctl): Do not use __ptrvalue.
25282 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25284 (__libc_msgrcv): Do not use __ptrvalue.
25285 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25286 startup_info): Do not use __unbounded.
25287 (__libc_start_main): Likewise. Rename ubp_* variables and
25288 parameters. Remove argv definitions conditional on
25289 [__BOUNDED_POINTERS__].
25290 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25292 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25294 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25296 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25298 (__new_shmctl): Do not use __ptrvalue.
25299 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25300 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25302 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25303 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25304 (__libc_sigaction): Likewise.
25305 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25306 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25308 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25310 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25312 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25314 * string/mempcpy.c: Implement by calling memcpy.
25316 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25323 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25324 values in the mantissa.
25326 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25327 minimize writes to Z.
25328 (sub_magnitudes): Simplify code a bit.
25330 2013-02-12 Roland McGrath <roland@hack.frob.com>
25332 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25333 from the message. The linker prefixes all warnings with that already.
25335 2013-02-12 Andreas Schwab <schwab@suse.de>
25338 * posix/regexec.c (extend_buffers): Add parameter min_len.
25339 (check_matching): Pass minimum needed length.
25340 (clean_state_log_if_needed): Likewise.
25341 (get_subexp): Likewise.
25342 * posix/Makefile (tests): Add bug-regex34.
25343 (bug-regex34-ENV): Define.
25344 * posix/bug-regex34.c: New file.
25347 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25348 elements compare against the byte sequence of it, not its name.
25349 * posix/Makefile (tests): Add bug-regex35.
25350 (bug-regex35-ENV): Define.
25351 * posix/bug-regex35.c: New file.
25353 2013-02-11 Tom de Vries <tom@codesourcery.com>
25355 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25357 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25358 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25359 (CHECK_EOL): Add undef.
25361 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25363 * bits/stdlib-bsearch.h: New file.
25364 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25365 * stdlib/stdlib.h: Likewise.
25367 2013-02-11 Roland McGrath <roland@hack.frob.com>
25369 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25370 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25372 * manual/search.texi (Array Search Function): Add missing const in
25374 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25375 declaration to use rlim_t.
25376 (Basic Scheduling Functions): Remove erroneous const from
25377 sched_getparam prototype. Remove erroneous * from
25378 sched_get_priority_max and sched_get_priority_min prototypes.
25379 (Resource Usage): Fix summary @comment on vtimes to refer to
25380 sys/vtimes.h rather than vtimes.h.
25381 Add missing *s in vtimes prototype.
25382 (Limits on Resources): Fix ulimit prototype to return long int.
25383 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25384 prototypes to use long int rather than double.
25385 (BSD Random): Fix initstate and setstate to use char *, not void *.
25386 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25387 prototype to make second argument 'struct aiocb64 *const[]'.
25388 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25389 (Status of AIO Operations): Remove erroneous const in aio_return and
25390 aio_return64 prototypes.
25391 (Synchronizing I/O): Fix sync prototype to return void.
25392 * manual/startup.texi (Suboptions): Remove an erroneous const in
25393 getsubopt prototype.
25394 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25395 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25396 use size_t rather than int.
25397 (Scanning All Users): Likewise for getpwent_r.
25398 (Setting Groups): Add missing const to setgroups prototype.
25399 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25400 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25401 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25402 'const void *' rather than 'const char *'.
25403 (Host Address Functions): Likewise for inet_ntop.
25404 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25405 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25406 ssize_t for return value.
25407 (Sending Data): Likewise for send, sendto, sendmsg.
25408 (Socket Option Functions): Add a missing const in setsockopt prototype.
25409 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25410 use wchar_t for the argument.
25411 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25412 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25414 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25415 double/float/long double for second argument.
25416 Fix return types of significand, significandf, significandl.
25417 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25418 argument in fchmod prototype.
25419 (File Owner): Use uid_t and gid_t in fchown prototype.
25420 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25421 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25422 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25423 use 'const struct dirent **' as argument types to CMP function pointer
25425 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25426 (File Times): Fix summary magic @comment for struct utimbuf and utime
25427 to refer to utime.h, not time.h.
25428 * manual/string.texi (Argz Functions): Add missing const in
25429 argz_extract and argz_next prototypes.
25430 (Finding Tokens in a String): Likewise for basename.
25431 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25432 (Copying and Concatenation): Fix typo in wmemmove prototype.
25433 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25434 (Signal Stack): Remove erroneous const in sigstack prototype.
25435 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25437 (Simple Calendar Time): Likewise for stime.
25438 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25440 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25441 say sys/sysctl.h instead.
25442 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25443 and vsyslog prototypes.
25445 2013-02-11 Tom de Vries <tom@codesourcery.com>
25447 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25450 2013-02-11 Roland McGrath <roland@hack.frob.com>
25452 * misc/sys/mman.h: Fix typo in mremap comment.
25454 2013-02-08 Roland McGrath <roland@hack.frob.com>
25456 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25457 the '\0' terminator.
25459 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25462 * debug/segfault.c: Don't include <bp-checks.h>.
25463 * sysdeps/generic/bp-checks.h: Remove file.
25464 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25465 (__GETDENTS): Don't use CHECK_N.
25466 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25467 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25468 (__getgroups): Don't use CHECK_N.
25469 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25470 (setgroups): Don't use CHECK_N.
25471 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25472 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25473 (__libc_msgrcv): Don't use CHECK_N.
25474 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25475 (__libc_msgsnd): Don't use CHECK_N.
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25478 (__libc_pread): Don't use CHECK_N.
25479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25480 include <bp-checks.h>.
25481 (__libc_pread64): Don't use CHECK_N.
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25483 include <bp-checks.h>.
25484 (__libc_pwrite): Don't use CHECK_N.
25485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25486 include <bp-checks.h>.
25487 (__libc_pwrite64): Don't use CHECK_N.
25488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25490 (__libc_pread): Don't use CHECK_N.
25491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25492 include <bp-checks.h>.
25493 (__libc_pread64): Don't use CHECK_N.
25494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25495 include <bp-checks.h>.
25496 (__libc_pwrite): Don't use CHECK_N.
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25498 include <bp-checks.h>.
25499 (__libc_pwrite64): Don't use CHECK_N.
25500 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25501 (do_pread): Don't use CHECK_N.
25502 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25503 (do_pread64): Don't use CHECK_N.
25504 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25505 (do_pwrite): Don't use CHECK_N.
25506 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25507 (do_pwrite64): Don't use CHECK_N.
25508 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25509 (__libc_readv): Don't use CHECK_N.
25510 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25511 (semop): Don't use CHECK_N.
25512 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25514 (semtimedop): Don't use CHECK_N.
25515 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25516 (__libc_pread): Don't use CHECK_N.
25517 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25519 (__libc_pread64): Don't use CHECK_N.
25520 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25522 (__libc_pwrite): Don't use CHECK_N.
25523 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25525 (__libc_pwrite64): Don't use CHECK_N.
25526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25528 (__libc_msgrcv): Don't use CHECK_N.
25529 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25530 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25531 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25532 (__libc_writev): Don't use CHECK_N.
25534 2013-02-08 Roland McGrath <roland@hack.frob.com>
25536 * string/strcpy.c: Removed unused variable.
25538 * Makeconfig (+sysdep-includes): Define with := rather than =.
25539 Use an existing include/ subdir of each sysdeps dir before it.
25541 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25543 * nscd/connection.c (register_traced_file): Comment function.
25544 [HAVE_INOTIFY] (union __inev): Define.
25545 [HAVE_INOTIFY] (inotify_check_files): New function.
25546 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25547 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25549 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25551 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25553 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25554 loaded if not already and that a failure is permanent.
25556 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25559 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25560 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25562 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25565 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25566 (CHECK_1_NULL_OK): Likewise.
25567 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25568 (__fxstat): Do not use CHECK_1.
25569 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25571 (___fxstat64): Do not use CHECK_1.
25572 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25574 (__fxstatat): Do not use CHECK_1.
25575 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25577 (__fxstatat64): Do not use CHECK_1.
25578 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25580 (__fxstat): Do not use CHECK_1.
25581 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25583 (__fxstatat): Do not use CHECK_1.
25584 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25586 (__getresgid): Do not use CHECK_1.
25587 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25589 (__getresuid): Do not use CHECK_1.
25590 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25592 (__lxstat): Do not use CHECK_1.
25593 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25595 (__old_msgctl): Do not use CHECK_1.
25596 (__new_msgctl): Likewise.
25597 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25599 (__new_setrlimit): Do not use CHECK_1.
25600 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25602 (__old_shmctl): Do not use CHECK_1.
25603 (__new_shmctl): Likewise.
25604 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25606 (__xstat): Do not use CHECK_1.
25607 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25608 (__lxstat): Do not use CHECK_1.
25609 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25611 (___lxstat64): Do not use CHECK_1.
25612 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25613 (__old_msgctl): Do not use CHECK_1.
25614 (__new_msgctl): Likewise.
25615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25617 (__gettimeofday): Do not use CHECK_1.
25618 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25619 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25620 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25622 (__gettimeofday): Do not use CHECK_1.
25623 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25624 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25625 (__new_shmctl): Do not use CHECK_1.
25626 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25628 (do_sigtimedwait): Do not use CHECK_1.
25629 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25631 (do_sigwaitinfo): Do not use CHECK_1.
25632 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25634 (msgctl): Do not use CHECK_1.
25635 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25637 (shmctl): Do not use CHECK_1.
25638 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25639 (ustat): Do not use CHECK_1.
25640 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25642 (__fxstat): Do not use CHECK_1.
25643 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25645 (__fxstatat): Do not use CHECK_1.
25646 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25648 (__lxstat): Do not use CHECK_1.
25649 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25651 (__xstat): Do not use CHECK_1.
25652 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25653 (__xstat): Do not use CHECK_1.
25654 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25655 (___xstat64): Do not use CHECK_1.
25658 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25660 (CHECK_BOUNDS_HIGH): Likewise.
25661 * string/strcpy.c: Do not include <bp-checks.h>.
25662 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25664 2013-02-07 Roland McGrath <roland@hack.frob.com>
25666 * nscd/nscd-client.h (__nscd_drop_map_ref):
25667 Add __attribute__ ((unused)).
25668 * nis/nss-nisplus.h (niserr2nss): Likewise.
25670 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25671 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25673 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25674 Remove inline keyword.
25675 * include/rounding-mode.h (round_away): Likewise.
25676 * libio/wfileops.c (adjust_wide_data): Likewise.
25677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25678 (__m128i_strloadu_tolower): Likewise.
25679 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25680 (__m128i_strloadu_tolower): Likewise.
25681 * time/mktime.c (ydhms_diff): Likewise.
25682 * locale/elem-hash.h (elem_hash): Likewise.
25683 * locale/setlocale.c (setdata): Likewise.
25684 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25685 (re_string_wchar_at): Likewise.
25686 (bitset_not, bitset_merge, bitset_mask): Likewise.
25687 [!(__GNUC__ > 3)] (inline): Remove macro.
25688 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25689 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25690 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25691 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25692 * string/memcmp.c (memcmp_bytes): Likewise.
25693 * locale/programs/locarchive.c (compute_hashval): Likewise.
25694 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25695 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25696 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25697 * nss/getent.c (print_rpc, print_protocols): Likewise.
25698 (print_passwd, print_group, print_aliases): Likewise.
25699 * nis/nss-nisplus.h (niserr2nss): Likewise.
25700 * nscd/connections.c (restart_p): Likewise.
25701 Change return type to bool.
25703 2013-02-05 Roland McGrath <roland@hack.frob.com>
25705 * Makeconfig (all-Depend-files): Add existing
25706 $(sorted-subdirs:=/Depend) files.
25707 (all-subdirs): Remove nss.
25708 * sysdeps/unix/inet/Subdirs: Add it here instead.
25709 * hesiod/Depend: New file.
25711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25712 instead of calling alloca.
25714 * io/lseek.c (__lseek): Rename to __libc_lseek.
25715 Define __lseek as an alias.
25717 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25719 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25721 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25722 else clause and remove check for non-standard endianness.
25724 2013-02-04 David S. Miller <davem@davemloft.net>
25726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25728 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25731 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25732 (__ubp_memchr): Remove prototype.
25733 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25734 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25735 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25736 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25737 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25739 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25740 (__ubp_memchr): Likewise.
25741 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25742 (__ubp_memchr): Likewise.
25743 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25744 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25745 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25748 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25749 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25750 (__getcwd): Do not use CHECK_STRING.
25751 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25753 (__real_chown): Do not use CHECK_STRING.
25754 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25756 (fchownat): Do not use CHECK_STRING.
25757 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25759 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25761 (__lchown): Do not use CHECK_STRING.
25762 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25763 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25764 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25765 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25767 include <bp-checks.h>.
25768 (truncate64): Do not use CHECK_STRING.
25769 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25771 (__real_chown): Do not use CHECK_STRING.
25772 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25774 (__lchown): Do not use CHECK_STRING.
25775 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25777 (__chown): Do not use CHECK_STRING.
25778 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25780 (truncate64): Do not use CHECK_STRING.
25781 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25783 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25784 (__xmknod): Do not use CHECK_STRING.
25785 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25787 (__xmknodat): Do not use CHECK_STRING.
25788 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25789 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25791 2013-02-04 Andreas Schwab <schwab@suse.de>
25794 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25795 * include/netdb.h: Likewise for h_errno.
25796 * elf/tst-stackguard1.c: Include <tls.h>.
25798 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25800 * elf/link.h (struct link_map): Extend the l_addr comment.
25801 * include/link.h (struct link_map): Likewise.
25803 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25806 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25807 (BOUNDED_1): Remove macro.
25808 * debug/backtrace.c: Don't include <bp-checks.h>.
25809 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25810 (__backtrace): Likewise.
25811 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25813 (__backtrace): Don't use BOUNDED_1.
25814 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25816 (__backtrace): Don't use BOUNDED_1.
25817 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25818 (__backtrace): Don't use BOUNDED_1.
25819 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25820 (shmat): Don't use BOUNDED_N.
25822 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25825 * sysdeps/generic/bp-start.h: Remove file.
25826 * csu/libc-start.c: Don't include <bp-start.h>.
25827 (LIBC_START_MAIN): Set up __environ directly instead of using
25828 INIT_ARGV_and_ENVIRON.
25829 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25833 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25835 (CHECK_FCNTL): Likewise.
25836 (CHECK_N_PAGES): Likewise.
25839 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25841 (CHECK_SIGSET_NULL_OK): Likewise.
25842 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25844 (sigpending): Don't use CHECK_SIGSET.
25845 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25847 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25848 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25850 (do_sigsuspend): Don't use CHECK_SIGSET.
25851 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25853 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25854 (do_sigwait): Don't use CHECK_SIGSET.
25855 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25857 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25858 include <bp-checks.h>.
25859 (sigpending): Don't use CHECK_SIGSET.
25860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25861 include <bp-checks.h>.
25862 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25863 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25865 (sigpending): Don't use CHECK_SIGSET.
25866 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25868 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25871 * sysdeps/generic/bp-semctl.h: Remove file.
25872 * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
25878 (__old_semctl): Don't use CHECK_SEMCTL.
25879 (__new_semctl): Likewise.
25880 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25881 <bp-checks.h> and <bp-semctl.h>.
25882 (__old_semctl): Don't use CHECK_SEMCTL.
25883 (__new_semctl): Likewise.
25884 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25885 <bp-checks.h> and <bp-semctl.h>.
25886 (semctl): Don't use CHECK_SEMCTL.
25889 * Makerules (elide-bp-thunks): Remove variable.
25890 (elide-routines.oS): Don't use $(elide-bp-thunks).
25891 (elide-routines.os): Likewise.
25892 (elide-routines.o): Likewise.
25893 (elide-routines.op): Likewise.
25894 (elide-routines.og): Likewise.
25895 (objects): Don't use $(bp-thunks).
25896 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25898 (common-generated): Do not add s-proto-bp.d.
25899 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25902 Do not generate makefile rules for bounded-pointer thunks.
25903 * sysdeps/generic/bp-thunks.h: Remove file.
25904 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25905 * sysdeps/unix/s-proto-bp.S: Likewise.
25908 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25909 parts of result separately when argument is not close to line from
25910 -i to i and one part of argument is small.
25911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25913 * math/libm-test.inc (cacos_test): Add more tests.
25914 (casin_test): Likewise.
25915 (casinh_test): Likewise.
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25919 2013-01-31 David S. Miller <davem@davemloft.net>
25921 * po/de.po: Update from translation team.
25923 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25925 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25927 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25929 * configure.in (_AC_PROG_CC_C89): New definition.
25930 * configure: Regenerate.
25932 * configure.in (AC_PROG_CPP): New definition.
25933 * configure: Regenerate.
25935 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25937 * debug/tst-backtrace.h: New file.
25938 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25939 (ret): Remove variable.
25941 (FAIL): Remove macro.
25942 (NO_INLINE): Likewise.
25943 (fn1): Use match function instead of strstr.
25944 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25945 (ret): Remove variable.
25947 (FAIL): Remove macro.
25948 (NO_INLINE): Likewise.
25949 (fn): Use match function instead of strstr.
25950 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25951 (ret): Remove variable.
25953 (FAIL): Remove macro.
25954 (NO_INLINE): Likewise.
25955 (handle_signal): Use match function instead of strstr.
25956 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25957 (ret): Remove variable.
25959 (FAIL): Remove macro.
25960 (NO_INLINE): Likewise.
25961 (handle_signal): Use match function instead of strstr.
25963 2013-01-23 Roland McGrath <roland@hack.frob.com>
25965 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25967 2013-01-23 David S. Miller <davem@davemloft.net>
25969 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25970 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25971 argument of CAS if possible.
25972 * sysdeps/sparc/sparc64/bits/atomic.h
25973 (__arch_compare_and_exchange_val_32_acq): Likewise.
25974 (__arch_compare_and_exchange_val_64_acq): Likewise.
25976 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25978 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25979 * sysdeps/posix/ulimit.c: ... this.
25980 Include <limits.h>.
25981 * sysdeps/unix/bsd/ulimit.c: Remove file.
25983 2013-01-23 Adam Conrad <adconrad@0c3.net>
25985 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25986 (LDFLAGS-tst-array5): Likewise.
25988 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25991 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25992 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25993 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25996 2013-01-21 David S. Miller <davem@davemloft.net>
25998 * sysdeps/sparc/backtrace.c: New file.
25999 * sysdeps/sparc/sparc32/backtrace.h: New file.
26000 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26001 * sysdeps/sparc/sparc64/backtrace.h: New file.
26002 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26003 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26006 2013-01-21 Andreas Schwab <schwab@suse.de>
26009 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26012 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26018 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26019 Mark Mitchell <mark@codesourcery.com>
26020 Tom de Vries <tom@codesourcery.com>
26021 Paul Pluzhnikov <ppluzhnikov@google.com>
26023 * debug/tst-backtrace2.c: New file.
26024 * debug/tst-backtrace3.c: Likewise.
26025 * debug/tst-backtrace4.c: Likewise.
26026 * debug/tst-backtrace5.c: Likewise.
26027 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26028 (CFLAGS-tst-backtrace3.c): Likewise.
26029 (CFLAGS-tst-backtrace4.c): Likewise.
26030 (CFLAGS-tst-backtrace5.c): Likewise.
26031 (LDFLAGS-tst-backtrace2): Likewise.
26032 (LDFLAGS-tst-backtrace3): Likewise.
26033 (LDFLAGS-tst-backtrace4): Likewise.
26034 (LDFLAGS-tst-backtrace5): Likewise.
26035 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26036 tst-backtrace4 and tst-backtrace5.
26038 2013-01-18 Anton Blanchard <anton@samba.org>
26039 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26041 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26042 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26043 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26044 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26046 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26047 "+r" and remove output regs list as redundant. Add explicit inline
26048 asm to specify register of return val to work around compiler codegen
26049 bug. Remove (int) cast on return value. Add return type parameter to
26050 use in macro so that this macro does not truncate return value for
26052 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26053 pass to INTERNAL_VSYSCALL_NCS.
26054 (INLINE_VSYSCALL): Add 'long int' as return type to
26055 INTERNAL_VSYSCALL_NCS macro invocation.
26056 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26057 INTERNAL_VSYSCALL_NCS macro invocation.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26060 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26063 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26064 Fix application of SIMD FP exception mask.
26066 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26067 mp_no from a power of two.
26068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26069 __mpexp_twomm1. Use __pow_mp.
26071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26074 2013-01-17 David S. Miller <davem@davemloft.net>
26076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26078 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26081 * include/complex.h: Condition contents on [!_COMPLEX_H].
26082 (__kernel_casinhf): New prototype.
26083 (__kernel_casinh): Likewise.
26084 (__kernel_casinhl): Likewise.
26085 * math/Makefile (libm_calls): Add k_casinh.
26086 * math/k_casinh.c: New file.
26087 * math/k_casinhf.c: Likewise.
26088 * math/k_casinhl.c: Likewise.
26089 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26090 finite nonzero arguments.
26091 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26092 finite nonzero arguments.
26093 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26094 finite nonzero arguments.
26095 * math/s_casinh.c: Do not include <float.h>.
26096 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26097 * math/s_casinhf.c: Do not include <float.h>.
26098 (__casinhf): Move code for finite nonzero arguments to
26100 * math/s_casinhl.c: Do not include <float.h>.
26101 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26103 (__casinhl): Move code for finite nonzero arguments to
26105 * math/libm-test.inc (cacos_test): Add more tests.
26106 * sysdeps/i386/fpu/libm-test-ulps: Update.
26107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26111 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26112 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26113 [!HAVE_MREMAP]: Remove [defined linux] case.
26114 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26116 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26118 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26120 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26122 * elf/elf.h (R_386_SIZE32): New relocation.
26123 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26125 (elf_machine_rela): Likewise.
26126 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26127 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26129 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26131 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26132 (FP_FAST_FMA): Do not define.
26133 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26134 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26135 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26136 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26137 !_SOFT_FLOAT]: Likewise.
26138 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26141 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26142 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26143 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26144 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26145 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26146 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26149 2013-01-16 Andreas Schwab <schwab@suse.de>
26152 * include/stdlib.h (__mktemp): Add declaration.
26153 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26154 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26156 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26158 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26160 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26161 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26162 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26164 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26165 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26167 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26169 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26170 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26171 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26173 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26174 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26176 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26178 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26180 2013-01-15 David S. Miller <davem@davemloft.net>
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26183 trunc{,f} to libm-sysdep_routes.
26184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26195 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26197 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26198 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26199 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26202 nearbyint{,f} to libm-sysdep_routes.
26203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26216 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26219 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26220 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26221 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26223 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26224 libc_feholdexcept and libc_fesetenv.
26226 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26228 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26230 2013-01-14 David S. Miller <davem@davemloft.net>
26232 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26233 (SPARC_ASM_VIS2_IFUNC): Likewise.
26234 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26236 use of 'siam' instruction.
26237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26270 routines to libm-sysdep_routines.
26271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26274 fdim/fdimf to libm-sysdep_routines.
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26283 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26284 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26285 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26286 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26288 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26290 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26291 to optimize copies.
26293 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26298 local variable MPTWO.
26299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26302 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26304 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26307 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26309 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26311 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26313 * manual/pattern.texi (glob_t): Document gl_flags.
26314 (glob64_t): Likewise.
26316 2013-01-11 David S. Miller <davem@davemloft.net>
26318 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26319 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26320 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26321 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26322 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26323 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26324 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26325 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26326 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26327 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26328 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26329 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26330 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26332 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26333 sparc V9 rather than using V8 code.
26334 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26335 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26339 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26342 2013-01-11 Roland McGrath <roland@hack.frob.com>
26344 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26345 not in the main loop.
26346 * configure: Regenerated.
26348 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26350 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26351 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26353 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26354 [!__GLIBC_HAVE_LONG_LONG] case.
26355 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26356 condition to just #else.
26357 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26358 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26359 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26360 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26362 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26363 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26364 #elif condition to just #else.
26365 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26366 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26367 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26368 #elif condition to just #else.
26370 2013-01-11 Steve Ellcey <sellcey@mips.com>
26372 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26373 (EF_MIPS_ARCH_64): Fix value.
26374 (EF_MIPS_ARCH_32R2): New.
26375 (EF_MIPS_ARCH_64R2): New.
26377 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26379 * Makeconfig (+link-pie-before-libc): New.
26380 (+link-pie-after-libc): Likewise.
26381 (+link-pie-tests): Likewise.
26382 (+link-pie): Rewritten.
26383 (link-before-libc): Remove $(config-LDFLAGS).
26384 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26385 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26386 (config-LDFLAGS): Renamed to ...
26387 (rtld-LDFLAGS): This.
26388 (rtld-tests-LDFLAGS): New macro.
26389 (link-libc-rpath-link): Likewise.
26390 (link-libc-tests-rpath-link): Likewise.
26391 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26392 (link-libc): Prepand $(link-libc-rpath-link).
26393 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26394 (test-program-prefix): New macro.
26395 (test-via-rtld-prefix): Likewise.
26396 (test-program-cmd): Likewise.
26397 (host-test-program-cmd): Likewise.
26398 * Makefile ($(common-objpfx)testrun.sh): Replace
26399 $(run-program-prefix) with $(test-program-prefix).
26400 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26402 ($(common-objpfx)shlib.lds): Likewise.
26403 (build-module-helper): Likewise.
26404 ($(common-objpfx)format.lds): Likewise.
26405 * Rules (binaries-pie-tests): New.
26406 (binaries-pie-notests): Likewise.
26407 (binaries-pie): Rewritten.
26408 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26409 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26410 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26411 (make-test-out): Replace $(host-built-program-cmd) with
26412 $(host-test-program-cmd).
26413 * config.make.in (build-hardcoded-path-in-tests): New variable.
26414 * configure.in (--enable-hardcoded-path-in-tests): New configure
26416 (hardcoded_path_in_tests): New AC_SUBST.
26417 * configure: Regenerated.
26418 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26419 $(built-program-cmd) with $(test-program-cmd).
26420 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26421 (test_program_cmd): This.
26422 * elf/Makefile ($(objpfx)order.out): Run test with
26423 $(test-program-prefix).
26424 ($(objpfx)order2.out): Likewise.
26425 ($(objpfx)tst-initorder.out): Likewise.
26426 ($(objpfx)tst-initorder2.out): Likewise.
26427 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26428 $(test-program-cmd).
26429 ($(objpfx)tst-array1-static.out): Likewise.
26430 ($(objpfx)tst-array2.out): Likewise.
26431 ($(objpfx)tst-array3.out): Likewise.
26432 ($(objpfx)tst-array4.out): Likewise.
26433 ($(objpfx)tst-array5.out): Likewise.
26434 ($(objpfx)tst-array5-static.out): Likewise.
26435 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26436 $(test-program-cmd).
26437 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26438 $(run-program-prefix) with $(test-program-prefix).
26439 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26440 (test_program_prefix): This.
26441 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26442 $(run-program-prefix) with $(test-program-prefix).
26443 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26444 (test_program_prefix): This.
26445 * iconvdata/tst-tables.sh: Likewise.
26446 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26447 $(run-program-prefix) with $(test-program-prefix).
26448 ($(objpfx)tst-translit.out): Likewise.
26449 ($(objpfx)tst-gettext2.out): Likewise.
26450 ($(objpfx)tst-gettext4.out): Likewise.
26451 ($(objpfx)tst-gettext6.out): Likewise.
26452 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26453 (test_program_prefix): This.
26454 * intl/tst-gettext2.sh: Likewise.
26455 * intl/tst-gettext4.sh Likewise.
26456 * intl/tst-gettext6.sh: Likewise.
26457 * intl/tst-translit.sh: Likewise.
26458 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26459 with $(test-program-cmd).
26460 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26461 $(run-program-prefix) with $(test-program-prefix).
26462 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26463 (test_program_prefix): This.
26464 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26465 $(run-program-prefix) with $(test-program-prefix).
26466 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26467 (test_program_prefix): This.
26468 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26469 * posix/Makefile ($(objpfx)globtest.out): Replace
26470 $(run-via-rtld-prefix) and $(test-wrapper) with
26471 $(test-program-prefix) and $(test-via-rtld-prefix).
26472 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26473 $(test-program-prefix).
26474 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26475 $(host-test-program-cmd).
26476 (tst-spawn-ARGS): Likewise.
26477 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26478 $(test-program-prefix).
26479 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26480 (test_via_rtld_prefix): This.
26481 (test_wrapper): Renamed to ...
26482 (test_program_prefix): This.
26483 (run_program_prefix): Replaced by test_program_prefix.
26484 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26485 (test_program_prefix): This.
26486 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26487 with $(host-test-program-cmd).
26488 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26489 $(run-program-prefix) with $(test-program-prefix).
26490 ($(objpfx)tst-printf.out): Likewise.
26491 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26492 $(test-program-cmd).
26493 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26494 (test_program_prefix): This.
26495 * stdio-common/tst-unbputc.sh: Likewise.
26496 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26497 $(run-program-prefix) with $(test-program-prefix).
26498 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26499 (test_program_prefix): This.
26500 * string/Makefile ($(objpfx)tst-svc.out): Replace
26501 $(built-program-cmd) with $(test-program-cmd).
26503 2013-01-11 Andreas Jaeger <aj@suse.de>
26506 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26507 value. Sync with Linux 3.7.
26509 2013-01-10 David S. Miller <davem@davemloft.net>
26511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26512 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26513 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26515 2013-01-10 Roland McGrath <roland@hack.frob.com>
26517 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26519 * configure: Regenerated.
26521 2013-01-10 David S. Miller <davem@davemloft.net>
26523 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26524 sparc V9 rather than using V8 code.
26525 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26526 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26528 2013-01-10 Roland McGrath <roland@hack.frob.com>
26530 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26531 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26532 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26533 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26534 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26535 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26536 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26537 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26538 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26539 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26540 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26541 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26542 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26543 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26544 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26545 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26546 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26547 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26548 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26549 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26550 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26551 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26552 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26553 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26554 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26555 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26556 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26558 2013-01-10 David S. Miller <davem@davemloft.net>
26560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26562 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26564 * posix/Makefile (tests-static): New variable.
26565 (tests): Add $(tests-static).
26566 (tst-exec-static-ARGS): New variable.
26567 (tst-spawn-static-ARGS): Likewise.
26568 * posix/tst-exec-static.c: New file.
26569 * posix/tst-spawn-static.c: Likewise.
26570 * posix/tst-exec.c: Support run directly.
26571 * posix/tst-spawn.c: Likewise.
26573 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26575 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26577 * math/bits/mathcalls.h (llrint): Likewise.
26578 (llround): Likewise.
26579 * stdlib/stdlib.h (struct drand48_data): Likewise.
26580 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26581 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26582 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26584 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26586 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26587 (elf_greg_t): Likewise.
26588 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26589 (__jmp_buf): Likewise.
26590 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26592 (llrint): Likewise, for all definitions.
26593 (llrintl): Likewise.
26595 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26596 Remove [__GNUC__] condition.
26597 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26598 condition to just [__USE_ISOC99].
26599 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26601 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26604 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26605 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26607 (_POSIX_V6_ILP32_OFF32): Likewise.
26608 (_XBS5_ILP32_OFF32): Likewise.
26609 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26610 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26612 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26614 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26617 doubles __mpexp_twomm1. Adjust usage.
26618 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26621 2013-01-10 Andreas Schwab <schwab@suse.de>
26624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26625 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26627 2013-01-09 David S. Miller <davem@davemloft.net>
26630 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26631 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26632 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26633 (TCP_FASTOPEN): Define.
26634 (tcp_repair_opt): New structure.
26635 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26637 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26638 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26639 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26640 (tcp_cookie_transactions): New structure.
26642 2013-01-09 Anton Blanchard <anton@samba.org>
26644 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26645 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26646 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26647 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26649 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26651 * include/features.h (__USE_ANSI): Remove.
26653 2013-01-09 Roland McGrath <roland@hack.frob.com>
26655 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26657 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26659 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26661 * sysdeps/s390/fpu/libm-test-ulps: Update.
26663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26665 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26669 (denorm): Likewise.
26670 (__mp_dbl): Likewise.
26671 (__dbl_mp): Likewise.
26672 (add_magnitudes): Likewise.
26673 (sub_magnitudes): Likewise.
26679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26683 (denorm): Likewise.
26684 (__mp_dbl): Likewise.
26685 (__dbl_mp): Likewise.
26686 (add_magnitudes): Likewise.
26687 (sub_magnitudes): Likewise.
26693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26697 (denorm): Likewise.
26698 (__mp_dbl): Likewise.
26699 (__dbl_mp): Likewise.
26700 (add_magnitudes): Likewise.
26701 (sub_magnitudes): Likewise.
26708 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26710 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26711 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26712 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26713 2 && __USE_EXTERN_INLINES]: Likewise.
26715 2013-01-08 Andreas Jaeger <aj@suse.de>
26718 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26720 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26721 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26723 2013-01-07 Anton Blanchard <anton@samba.org>
26725 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26726 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26727 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26728 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26729 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26730 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26731 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26732 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26734 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26743 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26746 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26748 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26749 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26750 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26751 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26752 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26754 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26755 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26758 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26759 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26760 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26761 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26769 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26771 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26772 (__MALLOC_PMT): Likewise.
26773 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26774 [__GNUC__], only on [_LIBC].
26775 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26776 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26777 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26778 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26779 forward declaration.
26780 (realloc_hook_ini): Likewise.
26781 (memalign_hook_ini): Likewise.
26782 (__libc_memalign): Do not use __MALLOC_PMT in variable
26784 (__libc_valloc): Likewise.
26785 (__libc_pvalloc): Likewise.
26786 (__libc_calloc): Likewise.
26787 (__posix_memalign): Likewise.
26790 * math/s_casinh.c: Include <float.h>.
26791 (__casinh): Do not do computation with squaring and square root
26792 for large arguments.
26793 * math/s_casinhf.c: Include <float.h>.
26794 (__casinhf): Do not do computation with squaring and square root
26795 for large arguments.
26796 * math/s_casinhl.c: Include <float.h>.
26797 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26798 (__casinhl): Do not do computation with squaring and square root
26799 for large arguments.
26800 * math/libm-test.inc (casin_test): Add more tests.
26801 (casinh_test): Likewise.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26805 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26807 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26808 (__x86_64_raw_data_cache_size): Likewise.
26809 (__x86_64_data_cache_size_half): Likewise.
26810 (__x86_64_raw_data_cache_size_half): Likewise.
26811 (__x86_64_shared_cache_size): Likewise.
26812 (__x86_64_raw_shared_cache_size): Likewise.
26813 (__x86_64_shared_cache_size_half): Likewise.
26814 (__x86_64_raw_shared_cache_size_half): Likewise.
26815 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26817 (__x86_data_cache_size): This.
26818 (__x86_64_raw_data_cache_size): Renamed to ...
26819 (__x86_raw_data_cache_size): This.
26820 (__x86_64_data_cache_size_half): Renamed to ...
26821 (__x86_data_cache_size_half): This.
26822 (__x86_64_raw_data_cache_size_half): Renamed to ...
26823 (__x86_raw_data_cache_size_half): This.
26824 (__x86_64_shared_cache_size): Renamed to ...
26825 (__x86_shared_cache_size): This.
26826 (__x86_64_raw_shared_cache_size): Renamed to ...
26827 (__x86_raw_shared_cache_size): This.
26828 (__x86_64_shared_cache_size_half): Renamed to ...
26829 (__x86_shared_cache_size_half): This.
26830 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26831 (__x86_raw_shared_cache_size_half): This.
26832 * sysdeps/x86_64/memcpy.S: Updated.
26833 * sysdeps/x86_64/memset.S: Likewise.
26834 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26835 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26838 2013-01-04 David S. Miller <davem@davemloft.net>
26840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26842 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26844 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26845 1 to avoid redefinition warning.
26846 (__USE_GNU): Don't define.
26847 (init_signaling_nan): Protoize.
26849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26851 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26853 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26855 (__cpymn): Likewise.
26856 (norm): Remove commented code.
26857 (denorm): Likewise.
26858 (__mp_dbl): Likewise.
26860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26861 (__cpymn): Likewise.
26862 (norm): Remove commented code.
26863 (denorm): Likewise.
26864 (__mp_dbl): Likewise.
26867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26868 mp_no value for 1.0 and 2.0.
26869 (norm): Use RADIXI instead of radixi.d.
26870 (denorm): Likewise.
26871 (__mul): Use 0.0 instead of zero.d.
26872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26873 mp_no value for 1.0 and 2.0.
26874 (norm): Use RADIXI instead of radixi.d.
26875 (denorm): Likewise.
26876 (__mul): Use 0.0 instead of zero.d.
26878 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26881 * math/s_casinh.c (__casinh): Reduce finite argument to first
26882 quadrant then set signs of results at the end.
26883 * math/s_casinhf.c (__casinhf): Likewise.
26884 * math/s_casinhl.c (__casinhl): Likewise.
26885 * math/libm-test.inc (casin_test): Add more tests.
26886 (casinh_test): Likewise.
26887 * sysdeps/i386/fpu/libm-test-ulps: Update.
26888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26890 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26892 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26894 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26896 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26898 (denorm): Likewise.
26899 (__mp_dbl): Likewise.
26902 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26903 and adjust the header comment.
26905 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26906 variable name from declaration.
26908 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26911 Initialize COMMON_CPUID_INDEX_7 element.
26912 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26913 (CPUID_RTM): Likewise.
26914 (HAS_RTM): Likewise.
26915 (COMMON_CPUID_INDEX_7): New enum.
26917 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26920 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26921 size is zero, record memory as freed.
26923 2013-01-03 Andreas Jaeger <aj@suse.de>
26925 * po/ia.po: Add new Interlingua translation.
26927 2012-01-03 Allan McRae <allan@archlinux.org>
26929 * locale/programs/localedef.c: Fix description of '--posix' flag.
26931 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26933 * NEWS: Update dates in second copyright notice.
26934 * README: Update copyright dates in example.
26935 * manual/libc.texinfo: Update copyright dates.
26936 * scripts/test-installation.pl: Update copyright date in --version
26939 * hurd/ctty-input.c: Fix copyright notice formatting.
26940 * hurd/ctty-output.c: Likewise.
26941 * hurd/dtable.c: Likewise.
26942 * hurd/hurd-raise.c: Likewise.
26943 * hurd/hurdprio.c: Likewise.
26944 * hurd/msgportdemux.c: Likewise.
26945 * misc/sys/file.h: Likewise.
26946 * misc/sys/ioctl.h: Likewise.
26947 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26948 * sysdeps/mach/hurd/chdir.c: Likewise.
26949 * sysdeps/mach/hurd/fchdir.c: Likewise.
26950 * sysdeps/mach/hurd/rename.c: Likewise.
26951 * sysdeps/mach/hurd/rmdir.c: Likewise.
26952 * sysdeps/mach/hurd/seekdir.c: Likewise.
26953 * sysdeps/mach/hurd/setsid.c: Likewise.
26954 * sysdeps/posix/wait3.c: Likewise.
26956 * All files with FSF copyright notices: Update copyright dates
26957 using scripts/update-copyrights.
26958 * intl/plural.c: Regenerated.
26959 * locale/programs/charmap-kw.h: Likewise.
26960 * locale/programs/locfile-kw.h: Likewise.
26962 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26964 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26967 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26968 calculation loop and add branch prediction.
26970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26971 check access beyond bounds of m1np.
26973 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26975 (__inv): Remove local variable MPTWO to use the global
26977 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26978 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26980 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26981 MP3HALFS static const.
26983 2013-01-01 David S. Miller <davem@davemloft.net>
26985 * po/ca.po: Update from translation team.
26987 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26989 * scripts/update-copyrights: New file.
26990 * Makeconfig: Reformat copyright notice.
26991 * ctype/ctype.h: Likewise.
26992 * debug/swprintf_chk.c: Likewise.
26993 * elf/dl-cache.c: Likewise.
26994 * elf/dl-debug.c: Likewise.
26995 * elf/dl-object.c: Likewise.
26996 * grp/initgroups.c: Likewise.
26997 * hurd/Makefile: Likewise.
26998 * hurd/hurd/signal.h: Likewise.
26999 * hurd/hurdfault.c: Likewise.
27000 * hurd/hurdioctl.c: Likewise.
27001 * hurd/hurdlookup.c: Likewise.
27002 * hurd/intr-msg.c: Likewise.
27003 * iconv/gconv_open.c: Likewise.
27004 * libio/swprintf.c: Likewise.
27005 * locale/lc-ctype.c: Likewise.
27006 * locale/nl_langinfo.c: Likewise.
27007 * mach/Machrules: Likewise.
27008 * mach/Makefile: Likewise.
27009 * malloc/obstack.h: Likewise.
27010 * manual/Makefile: Likewise.
27011 * manual/tsort.awk: Likewise.
27012 * misc/bits/stab.def: Likewise.
27013 * nis/nis_print_group_entry.c: Likewise.
27014 * nis/nis_table.c: Likewise.
27015 * nis/nss_compat/compat-pwd.c: Likewise.
27016 * nis/nss_compat/compat-spwd.c: Likewise.
27017 * po/Makefile: Likewise.
27018 * posix/fnmatch.c: Likewise.
27019 * posix/regex.h: Likewise.
27020 * resolv/Makefile: Likewise.
27021 * resolv/nss_dns/dns-network.c: Likewise.
27022 * resolv/res_hconf.c: Likewise.
27023 * scripts/gen-sorted.awk: Likewise.
27024 * soft-fp/soft-fp.h: Likewise.
27025 * stdio-common/printf.h: Likewise.
27026 * stdlib/monetary.h: Likewise.
27027 * stdlib/random.c: Likewise.
27028 * stdlib/random_r.c: Likewise.
27029 * sysdeps/generic/Makefile: Likewise.
27030 * sysdeps/gnu/Makefile: Likewise.
27031 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27038 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27049 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27059 * sysdeps/mach/hurd/errnos.awk: Likewise.
27060 * sysdeps/mach/hurd/fork.c: Likewise.
27061 * sysdeps/mach/hurd/getcwd.c: Likewise.
27062 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27063 * sysdeps/mach/hurd/mmap.c: Likewise.
27064 * sysdeps/mach/hurd/utimes.c: Likewise.
27065 * sysdeps/mach/hurd/xmknod.c: Likewise.
27066 * sysdeps/posix/profil.c: Likewise.
27067 * sysdeps/posix/readdir_r.c: Likewise.
27068 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27069 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27070 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27071 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27073 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27075 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27077 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27078 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27079 * sysdeps/pthread/lio_listio.c: Likewise.
27080 * sysdeps/sparc/dl-procinfo.h: Likewise.
27081 * sysdeps/unix/i386/sysdep.S: Likewise.
27082 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27083 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27084 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27085 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27087 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27088 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27089 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27090 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27091 * sysdeps/wordsize-32/divdi3.c: Likewise.
27092 * time/sys/time.h: Likewise.
27093 * wcsmbs/Makefile: Likewise.
27095 2013-01-01 David S. Miller <davem@davemloft.net>
27097 * po/fr.po: Update from translation team.
27099 * catgets/gencat.c: Update copyright year.
27100 * csu/version.c: Likewise.
27101 * debug/catchsegv.sh: Likewise.
27102 * debug/pcprofiledump.c: Likewise.
27103 * debug/xtrace.sh: Likewise.
27104 * elf/ldconfig.c: Likewise.
27105 * elf/ldd.bash.in: Likewise.
27106 * elf/pldd.c: Likewise.
27107 * elf/sotruss.ksh: Likewise.
27108 * elf/sprof.c: Likewise.
27109 * iconv/iconv_prog.c: Likewise.
27110 * iconv/iconvconfig.c: Likewise.
27111 * locale/programs/locale.c: Likewise.
27112 * locale/programs/localedef.c: Likewise.
27113 * login/programs/pt_chown.c: Likewise.
27114 * malloc/memusage.sh: Likewise.
27115 * malloc/memusagestat.c: Likewise.
27116 * malloc/mtrace.pl: Likewise.
27117 * nscd/nscd.c: Likewise.
27118 * nss/getent.c: Likewise.
27119 * nss/makedb.c: Likewise.
27120 * posix/getconf.c: Likewise.
27122 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27124 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27127 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27129 * math/bits/mathcalls.h (modf): Use __nonnull.
27131 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27134 (split): Use macro CN instead of the bare value.
27135 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27138 instead of the bare value.
27139 (power1): Likewise.
27141 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27145 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27147 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27151 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27152 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27154 2012-12-28 Andreas Jaeger <aj@suse.de>
27156 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27157 values are from Linux 3.7.
27159 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27160 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27162 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27164 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27169 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27170 variables with preprocessor constants.
27171 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27172 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27173 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27175 2012-12-27 Bruno Haible <bruno@clisp.org>
27178 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27181 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27184 and use variable directly.
27185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27187 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27189 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27192 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27194 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27195 include directive. Remove local variable MPONE.
27196 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27197 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27198 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27200 2012-12-25 David S. Miller <davem@davemloft.net>
27202 * version.h (RELEASE): Set to "development".
27203 (VERSION): Set to "2.17.90".
27204 * NEWS: Add 2.18 section.
27206 2012-12-21 David S. Miller <davem@davemloft.net>
27208 * po/hr.po: Update from translation team.
27210 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27212 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27214 2012-12-19 Steve Ellcey <sellcey@mips.com>
27216 * NEWS: Mention new memcpy for MIPS.
27218 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27220 * manual/contrib.texi (Contributors): Spelling correction.
27222 2012-12-15 David S. Miller <davem@davemloft.net>
27224 * po/ru.po: Update from translation team.
27226 2012-12-13 David S. Miller <davem@davemloft.net>
27228 * NEWS: Mention IFUNC testsuite enhancements.
27230 * po/pl.po: Update from translation team.
27231 * po/bg.po: Likewise.
27233 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27234 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27236 2012-12-11 David S. Miller <davem@davemloft.net>
27238 * po/sv.po: Update from translation team.
27240 * po/vi.po: Update from translation team.
27242 * po/cs.po: Update from translation team.
27244 * po/de.po: Update from translation team.
27245 * po/eo.po: Likewise.
27246 * po/nl.po: Likewise.
27248 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27251 * manual/argp.texi (Argp Helper Functions): Move node to follow
27252 Argp Parsing State.
27255 * manual/conf.texi (Limits on File System Capacity): Mention if
27256 terminating null is included in the max size.
27258 2012-12-10 Andreas Jaeger <aj@suse.de>
27260 * po/cs.po: Update from translation team.
27262 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27264 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27265 void pointer and cast to uintptr_t.
27266 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27268 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27269 * sysdeps/s390/s390-64/memset.S: Likewise.
27271 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27274 * menual/message.texi (Message Translation): Fix typos.
27275 (Helper programs for gettext): Likewise.
27277 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27280 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27283 2012-12-07 David S. Miller <davem@davemloft.net>
27285 * po/libc.pot: Update.
27287 2012-12-07 Richard Henderson <rth@redhat.com>
27290 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27291 normal/normal case to before the switch.
27292 (_FP_DIV): Likewise.
27294 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27295 Mike Frysinger <vapier@gentoo.org>
27297 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27298 check for __NR_fadvise64_64.
27300 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27302 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27303 0, not just to plain "0" as a statement.
27304 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27307 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27309 * NEWS: Use sourceware.org in Bugzilla URL.
27311 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27314 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27316 * stdio-common/tst-put-error.c (do_test): Add newline to the
27317 padded test to ensure flush.
27319 2012-12-05 Jeff Law <law@redhat.com>
27321 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27323 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27325 * README: Don't refer to ports add-on as distributed separately.
27326 Mention AArch64 in list of systems supported in the ports add-on.
27328 * LICENSES: Add more non-FSF copyright and license notices.
27330 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27333 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27335 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27336 10000 as width of padded output.
27338 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27340 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27343 variable LX with __attribute__ ((unused)).
27344 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27346 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27349 with __attribute__ ((unused)).
27351 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27353 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27355 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27357 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27358 (CFLAGS-nldbl-acos.c): New variable.
27359 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27364 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27365 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27366 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27367 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27368 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27369 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27370 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27371 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27372 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27373 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27374 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27375 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27376 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27377 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27378 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27379 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27380 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27381 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27382 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27383 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27399 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27400 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27401 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27402 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27403 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27404 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27405 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27406 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27407 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27408 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27409 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27410 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27411 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27412 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27413 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27414 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27415 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27416 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27417 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27418 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27419 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27420 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27421 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27422 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27423 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27424 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27425 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27426 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27427 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27428 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27429 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27430 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27431 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27432 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27433 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27434 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27435 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27436 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27437 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27438 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27439 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27440 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27441 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27442 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27443 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27444 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27445 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27446 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27447 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27448 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27449 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27450 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27451 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27452 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27453 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27454 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27455 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27458 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27461 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27462 whole low double instead of just low 47 bits when splitting values
27465 2012-12-03 Allan McRae <allan@archlinux.org>
27467 * manual/stdio.texi (Predefined Printf Handlers): Remove
27468 @hsep and @vsep usage.
27470 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27472 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27473 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27475 2012-12-03 Jeff Law <law@redhat.com>
27477 * time/sys/time.h (settimeofday): Do not mark TV argument
27480 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27482 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27483 when currently writing and seek to current position when not.
27484 * libio/Makefile (tests): Remove bug-fclose1.
27485 * libio/bug-fclose1.c: Delete.
27487 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27489 * manual/arith.texi (feenableexcept): Fix typo.
27490 (fedisableexcept): Likewise.
27492 2012-11-30 Roland McGrath <roland@hack.frob.com>
27494 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27495 second, differently-typed declaration, rather than a cast.
27497 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27499 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27500 * include/rpc/svc.h: ... here.
27502 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27505 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27506 depending n and resplen2 to catch cases where answer
27509 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27511 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27512 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27514 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27518 2012-11-29 Roland McGrath <roland@hack.frob.com>
27520 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27522 2012-11-28 Jeff Law <law@redhat.com>
27525 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27526 dataset_temporary. Track alloca usage into alloca_used.
27527 If dataset is large allocate and release it via malloc/free.
27529 2012-06-04 Florian Weimer <fweimer@redhat.com>
27532 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27534 2012-11-28 David S. Miller <davem@davemloft.net>
27536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27538 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27541 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27542 of pi/2 rounded to nearest to 64 bits.
27543 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27544 nearest to 64 bits.
27545 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27548 2012-11-28 Jeff Law <law@redhat.com>
27549 Martin Osvald <mosvald@redhat.com>
27552 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27553 * sunrpc/svc.c: Include time.h.
27554 (__svc_accept_failed): New function.
27555 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27556 any reason other than EINTR, call __svc_accept_failed.
27557 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27558 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27560 2012-11-28 Andreas Schwab <schwab@suse.de>
27562 * scripts/abilist.awk: Also handle indirect functions in .opd
27565 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27568 * sysdeps/x86/fpu/powl_helper.c: New file.
27569 * sysdeps/x86/fpu/Makefile: Likewise.
27570 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27572 (__ieee754_powl): Use __powl_helper for finite arguments except
27573 integer exponents below 8.
27574 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27576 (__ieee754_powl): Use __powl_helper for finite arguments except
27577 integer exponents below 8.
27578 * math/libm-test.inc (pow_test): Add more tests and enable some
27579 previously disabled tests.
27580 * sysdeps/i386/fpu/libm-test-ulps: Update.
27581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27583 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27584 Carlos O'Donell <carlos_odonell@mentor.com>
27586 * nss/makedb.c (is_prime): Assert that input is odd and greater
27587 than 4. Note that fact in a comment too.
27588 (next_prime): Add 4 to input.
27590 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27593 * libio/Makefile (tests): Add test case tst-fwrite-error.
27594 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27595 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27596 * libio/tst-fwrite-error.c: New test case.
27598 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27600 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27601 before casting to void *.
27602 * include/libc-internal.h (__pointer_type): New macro.
27603 (__integer_if_pointer_type_sub): Likewise.
27604 (__integer_if_pointer_type): Likewise.
27605 (cast_to_integer): Likewise.
27606 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27607 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27608 before casting to atomic64_t.
27609 (atomic_exchange_acq): Likewise.
27610 (__arch_exchange_and_add_body): Likewise.
27611 (__arch_add_body): Likewise.
27612 (atomic_add_negative): Likewise.
27613 (atomic_add_zero): Likewise.
27615 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27617 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27618 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27619 (add_fdes): Likewise.
27620 (linear_search_fdes): Likewise.
27621 (binary_search_unencoded_fdes): Likewise.
27623 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27625 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27627 2012-11-24 Adam Conrad <adconrad@0c3.net>
27629 * configure.in: Autodetect C++ header directories.
27630 * configure: Regenerated.
27632 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27634 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27636 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27640 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27642 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27643 LDBL_MANT_DIG == 106]: Disable some tests.
27644 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27646 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27651 input for small inputs. Return +/- pi/2 for large inputs.
27652 * math/libm-test.inc (atan_test): Add more tests.
27654 * sysdeps/generic/unwind-dw2-fde-glibc.c
27655 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27656 __attribute__ ((unused)).
27659 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27660 x * y if x and y are nonzero and z is zero.
27663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27664 nonzero exponents with absolute value below 0x1p-117 to +/-
27668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27669 up arguments below 2**-450, not just those below 2**-500.
27670 * math/libm-test.inc (hypot_test): Add another test.
27673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27674 Return a+b for ratio over 2**120, not 2**60.
27675 * math/libm-test.inc (hypot_test): Add another test.
27677 * math/libm-test.inc (clog_test): Use
27678 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27679 (clog10_test): Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27684 2012-11-22 Andreas Schwab <schwab@suse.de>
27686 * sysdeps/i386/fpu/libm-test-ulps: Update.
27688 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27690 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27691 printf output with newline.
27693 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27696 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27697 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27698 -z nodlopen, -z initfirst and -z execstack support.
27699 * configure: Regenerated.
27701 * elf/elf.h (DF_1_NODIRECT): New macro.
27702 (DF_1_IGNMULDEF): Likewise.
27703 (DF_1_NOKSYMS): Likewise.
27704 (DF_1_NOHDR): Likewise.
27705 (DF_1_EDITED): Likewise.
27706 (DF_1_NORELOC): Likewise.
27707 (DF_1_SYMINTPOSE): Likewise.
27708 (DF_1_GLOBAUDIT): Likewise.
27709 (DF_1_SINGLETON): Likewise.
27710 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27711 DT_1_SUPPORTED_MASK bits.
27712 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27714 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27716 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27718 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27720 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27723 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27724 (sendmmsg): Move declarations...
27725 * socket/sys/socket.h: ... here.
27726 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27727 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27729 * socket/recvmmsg.c: ... this new file.
27730 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27731 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27732 definition of __sendmmsg hidden.
27733 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27734 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27735 Move ENOSYS stub into and include it from...
27736 * socket/sendmmsg.c: ... this new file.
27737 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27738 (sysdep_routines): Move recvmmsg and sendmmsg...
27739 * socket/Makefile (routines): ... here.
27740 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27741 (GLIBC_PRIVATE): Add __sendmmsg.
27742 * include/sys/socket.h (__sendmmsg): Add declarations.
27743 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27746 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27748 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27749 variable I1 with __attribute__ ((unused)).
27750 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27752 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27754 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27755 DUMMY variables with __attribute__ ((unused)).
27757 * bits/byteswap.h: Include <bits/types.h>.
27758 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27760 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27762 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27763 string_t. Do not manually set errno.
27764 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27765 length with __strnlen. Make sure to both set errno and return it on
27768 2012-11-19 David S. Miller <davem@davemloft.net>
27770 With help from Joseph Myers.
27771 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27772 very large arguments properly.
27773 * math/libm-test.inc (atan_test): New tests.
27774 (atan2_test): New tests.
27775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27778 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27781 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27784 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27785 [POSIX] (EADDRNOTAVAIL): Likewise.
27786 [POSIX] (EAFNOSUPPORT): Likewise.
27787 [POSIX] (EALREADY): Likewise.
27788 [POSIX] (ECONNABORTED): Likewise.
27789 [POSIX] (ECONNREFUSED): Likewise.
27790 [POSIX] (ECONNRESET): Likewise.
27791 [POSIX] (EDESTADDRREQ): Likewise.
27792 [POSIX] (EDQUOT): Likewise.
27793 [POSIX] (EHOSTUNREACH): Likewise.
27794 [POSIX] (EIDRM): Likewise.
27795 [POSIX] (EISCONN): Likewise.
27796 [POSIX] (ELOOP): Likewise.
27797 [POSIX] (EMULTIHOP): Likewise.
27798 [POSIX] (ENETDOWN): Likewise.
27799 [POSIX] (ENETUNREACH): Likewise.
27800 [POSIX] (ENOBUFS): Likewise.
27801 [POSIX] (ENODATA): Likewise.
27802 [POSIX] (ENOLINK): Likewise.
27803 [POSIX] (ENOMSG): Likewise.
27804 [POSIX] (ENOPROTOOPT): Likewise.
27805 [POSIX] (ENOSR): Likewise.
27806 [POSIX] (ENOSTR): Likewise.
27807 [POSIX] (ENOTCONN): Likewise.
27808 [POSIX] (ENOTSOCK): Likewise.
27809 [POSIX] (EOPNOTSUPP): Likewise.
27810 [POSIX] (EOVERFLOW): Likewise.
27811 [POSIX] (EPROTO): Likewise.
27812 [POSIX] (EPROTONOSUPPORT): Likewise.
27813 [POSIX] (EPROTOTYPE): Likewise.
27814 [POSIX] (ESTALE): Likewise.
27815 [POSIX] (ETIME): Likewise.
27816 [POSIX] (ETXTBSY): Likewise.
27817 [POSIX] (EWOULDBLOCK): Likewise.
27818 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27819 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27820 [POSIX] (SEEK_CUR): Likewise.
27821 [POSIX] (SEEK_END): Likewise.
27822 [POSIX || UNIX98] (mode_t): Do not require.
27823 [POSIX] (off_t): Likewise.
27824 [POSIX] (pid_t): Likewise.
27825 [POSIX] (sys/stat.h): Do not allow header.
27826 [POSIX] (unistd.h): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27828 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27829 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27830 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27832 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27833 sigevent): Specify elements.
27834 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27836 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27837 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27839 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27840 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27841 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27842 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27843 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27844 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27845 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27846 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27847 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27848 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27849 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27850 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27851 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27854 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27856 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27858 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27860 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27861 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27862 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27863 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27864 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27865 Specify lower bound on value.
27866 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27867 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27868 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27869 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27870 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27872 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27873 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27875 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27877 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27878 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27879 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27880 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27881 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27882 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27883 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27885 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27886 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27887 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27888 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27889 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27890 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27891 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27894 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27896 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27897 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27898 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27899 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27900 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27901 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27903 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27904 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27905 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27906 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27907 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27908 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27909 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27911 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27913 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27914 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27915 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27916 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27917 specify as optional.
27918 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27919 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27920 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27921 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27922 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27923 [XPG3] (NL_LANGMAX): Likewise.
27924 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27925 [POSIX || XPG3] (NL_NMAX): Likewise.
27926 [POSIX || XPG3] (NL_SETMAX): Likewise.
27927 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27928 [XPG3] (NZERO): Likewise.
27929 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27930 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27931 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27932 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27933 (REG_ERANGE): Expect.
27934 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27936 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27937 Use (void) in prototype.
27938 [POSIX] (*_t): Allow.
27939 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27940 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27941 (WRDE_BADVAL): Expect.
27943 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27945 [XPG3 || XPG4] (O_RSYNC): Likewise.
27946 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27948 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27949 [XPG3 || XPG4] (sigqueue): Likewise.
27950 [XPG3 || XPG4] (sigtimedwait): Likewise.
27951 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27952 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27953 [XPG3 || XPG4] (vsnprintf): Likewise.
27954 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27956 [XPG3 || XPG4] (blksize_t): Likewise.
27957 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27959 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27960 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27961 [XPG3 || XPG4] (struct itimerspec): Likewise.
27962 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27963 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27964 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27965 [XPG3 || XPG4] (clockid_t): Likewise.
27966 [XPG3 || XPG4] (timer_t): Likewise.
27967 [XPG3 || XPG4] (clock_getres): Likewise.
27968 [XPG3 || XPG4] (clock_gettime): Likewise.
27969 [XPG3 || XPG4] (clock_settime): Likewise.
27970 [XPG3 || XPG4] (nanosleep): Likewise.
27971 [XPG3 || XPG4] (timer_create): Likewise.
27972 [XPG3 || XPG4] (timer_delete): Likewise.
27973 [XPG3 || XPG4] (timer_gettime): Likewise.
27974 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27975 [XPG3 || XPG4] (timer_settime): Likewise.
27976 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27977 [XPG3 || XPG4] (getlogin_r): Likewise.
27978 [XPG3 || XPG4] (pread): Likewise.
27979 [XPG3 || XPG4] (pthread_atfork): Likewise.
27980 [XPG3 || XPG4] (pwrite): Likewise.
27983 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27986 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27988 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27989 finalizing MALLSTREAM.
27991 * sysdeps/mach/hurd/syncfs.c: New file.
27993 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27996 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27997 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27998 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27999 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28000 (_nss_dns_gethostbyname4_r): Likewise.
28001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28002 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28004 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28007 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28009 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28011 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28012 * elf/cache.c (print_entry): Print ",AArch64" for
28015 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28016 * elf/cache.c (print_entry): Print ",hard-float" for
28019 2012-11-18 David S. Miller <davem@davemloft.net>
28021 With help from Joseph Myers.
28022 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28024 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28026 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28027 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28029 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28030 * math/libm-test.inc (y0_test): New tests.
28031 (y1_test): New tests.
28032 * sysdeps/i386/fpu/libm-test-ulps: Update.
28033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28036 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28038 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28040 * configure: Regenerated.
28042 2012-11-17 David S. Miller <davem@davemloft.net>
28045 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28046 nonzero exponents with absolute value below 0x1p-128 to +/-
28049 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28053 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28055 * posix/getconf-speclist.c: New file.
28056 * posix/posix-envs.def: Likewise.
28057 * posix/confstr.c (START_ENV_GROUP): New macro.
28058 (END_ENV_GROUP): Likewise.
28059 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28060 (KNOWN_PRESENT_ENV_STRING): Likewise.
28061 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28062 (UNKNOWN_ENVIRONMENT): Likewise.
28063 (confstr): Include posix-envs.def instead of handling
28064 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28065 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28066 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28067 (END_ENV_GROUP): Likewise.
28068 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28069 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28070 (UNKNOWN_ENVIRONMENT): Likewise.
28071 (__sysconf): Include posix-envs.def instead of handling associated
28072 cases directly here.
28073 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28074 preprocessing getconf-speclist.c rather than running getconf or
28075 generating empty file.
28077 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28079 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28081 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28084 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28086 2012-11-16 David S. Miller <davem@davemloft.net>
28088 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28089 smaller than LDBL_EPSILON/2.0L, just return xm1.
28091 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28093 * elf/tst-array1.c (init): Set constructor priority to 1000.
28094 (fini): Set destructor priority to 1000.
28095 * elf/tst-array2dep.c: Likewise.
28097 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28100 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28101 (_IO_new_file_xsputn): Also return EOF if none of the input
28102 data was written when overflow failed.
28103 * libio/iopadn.c (_IO_padn): Likewise.
28104 * libio/iowpadn.c (_IO_wpadn): Likewise.
28105 * stdio-common/tst-put-error.c: Add copyright notice.
28106 (do_test): Add case for printing padded string.
28107 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28108 _IO_padn returned error.
28109 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28110 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28113 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28115 * libio/libioP.h: Add comment note that the references to C++
28116 bits are now obsolete.
28118 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28120 * math/libm-test.inc (check_complex): Use asprintf.
28122 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28124 * debug/pcprofiledump.c (print_version): Update copyright year.
28125 * malloc/memusagestat.c (print_version): Likewise.
28127 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28130 * elf/Makefile (tests): Add tst-audit8.
28131 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28132 ($(objpfx)tst-audit8.out): New target.
28133 (tst-audit8-ENV): New variable.
28134 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28135 audit if l_reloc_result is NULL.
28136 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28137 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28138 * elf/tst-audit8.c: New file.
28140 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28142 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28143 * misc/Makefile (CFLAGS-select.c): Define.
28144 * posix/Makefile (CFLAGS-pause.c): Define.
28146 2012-11-13 David S. Miller <davem@davemloft.net>
28148 * crypt/Makefile: Move test targets after toplevel Rules
28149 inclusion. Grab any necessary sysdep routines when linking.
28150 * crypt/md5.c (md5_process_block): Remove define, we will always
28151 name it __md5_process_block.
28152 (md5_finish_ctx): Update md5_process_block call.
28153 (md5_stream): Likewise.
28154 (md5_process_bytes): Likewise.
28155 (md5_process_block): Rename to __md5_process_block and move to ...
28156 * crypt/md5-block.c: ... here.
28157 * crypt/sha256.c (sha256_process_block): Move to ...
28158 * crypt/sha256-block.c: ... here.
28159 * crypt/sha512.c (sha512_process_block): Move to ...
28160 * crypt/sha512-block.c: ... here.
28161 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28163 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28164 * sysdeps/sparc/sparc64/multiarch/Makefile
28165 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28167 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28168 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28170 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28171 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28172 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28173 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28174 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28175 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28176 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28177 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28178 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28180 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28183 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28185 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28187 * timezone/tzselect.ksh: Update from tzcode git revision
28188 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28189 * timezone/zdump.c: Likewise.
28190 * timezone/zic.c: Likewise.
28191 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28192 in TZVERSION setting, not $(PKGVERSION).
28193 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28194 REPORT_BUGS_TO settings.
28197 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28200 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28202 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28203 detection to immediately after _FP_ROUND().
28204 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28207 2012-11-11 David S. Miller <davem@davemloft.net>
28209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28211 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28212 __close rather than their public counterparts.
28214 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28216 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28218 [UNIX98] (sem_timedwait): Do not expect.
28219 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28220 [XPG4 || UNIX98] (sockatmark): Do not expect.
28221 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28222 (clock_getcpuclockid): Do not expect.
28223 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28224 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28226 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28227 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28228 [UNIX98] (vwscanf): Likewise.
28229 [UNIX98] (vswscanf): Likewise.
28231 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28233 * timezone/version.h: Remove file.
28234 * timezone/README: Do not refer to version.h.
28235 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28236 $(objpfx)version.h.
28237 ($(objpfx)zdump.o): Likewise.
28238 ($(objpfx)version.h): New target.
28240 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28242 * timezone/README: Don't mention modification to tzselect.ksh.
28243 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28244 work on unmodified tzselect.ksh. Substitute version numbers in
28247 * Makefile (format-me): Remove.
28248 (INSTALL): Adjust indentation. Use commands directly instead of
28249 using $(format-me).
28251 * aclocal.m4 (ACX_PKGVERSION): New macro.
28252 (ACX_BUGURL): Likewise.
28253 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28254 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28255 (REPORT_BUGS_TO): Likewise.
28256 * configure: Regenerated.
28257 * config.h.in (PKGVERSION): New macro.
28258 (REPORT_BUGS_TO): Likewise.
28259 * config.make.in (PKGVERSION): New variable.
28260 (PKGVERSION_TEXI): Likewise.
28261 (REPORT_BUGS_TO): Likewise.
28262 (REPORT_BUGS_TEXI): Likewise.
28263 * Makefile (format-me): Use -I$(common-objpfx)manual.
28264 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28265 ($(common-objpfx)manual/%): New target.
28266 (manual/%): Remove target.
28267 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28268 (print_version): Use PKGVERSION.
28269 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28270 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28271 and REPORT_BUGS_TO.
28272 ($(objpfx)xtrace): Likewise.
28273 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28274 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28275 (print_version): Use PKGVERSION.
28276 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28277 (do_version): Use PKGVERSION.
28278 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28280 (common-ldd-rewrite): Likewise.
28281 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28282 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28283 (print_version): Use PKGVERSION.
28284 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28285 * elf/pldd.c (argp_program_bug_address): Remove variable.
28286 (more_help): New function.
28287 (argp): Use more_help.
28288 (print_version): Use PKGVERSION.
28289 * elf/sln.c (main): Use PKGVERSION.
28290 (usage): Use REPORT_BUGS_TO.
28291 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28292 (top level): Use PKGVERSION.
28293 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28294 (print_version): Use PKGVERSION.
28295 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28296 (print_version): Use PKGVERSION.
28297 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28298 (print_version): Use PKGVERSION.
28299 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28300 (print_version): Use PKGVERSION.
28301 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28302 (print_version): Use PKGVERSION.
28303 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28304 (print_version): Use PKGVERSION.
28305 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28307 ($(objpfx)memusage): Likewise.
28308 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28309 (do_version): Use PKGVERSION.
28310 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28311 (print_version): Use PKGVERSION.
28312 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28313 ($PKGVERSION): New variable.
28314 ($REPORT_BUGS_TO): Likewise.
28315 (usage): Use $REPORT_BUGS_TO.
28316 (top level): Use $PKGVERSION.
28317 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28318 ($(objpfx)pkgvers.texi): New rule.
28319 ($(objpfx)stamp-pkgvers): Likewise.
28320 * manual/install.texi: Include pkgvers.texi.
28321 (--with-pkgversion): Document new configure option.
28322 (--with-bugurl): Likewise.
28323 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28324 than necessarily for this particular distribution. Use
28325 REPORT_BUGS_TO for where to report bugs.
28326 * INSTALL: Regenerated.
28327 * manual/libc.texinfo: Include pkgvers.texi.
28328 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28329 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28330 (print_version): Use PKGVERSION.
28331 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28332 (print_version): Use PKGVERSION.
28333 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28334 (print_version): Use PKGVERSION.
28335 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28336 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28338 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28339 (print_version): Use PKGVERSION.
28340 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28341 (print_version): Use PKGVERSION.
28342 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28345 * timezone/checktab.awk: Update from tzcode 2012i.
28346 * timezone/ialloc.c: Likewise.
28347 * timezone/private.h: Likewise.
28348 * timezone/scheck.c: Likewise.
28349 * timezone/tzfile.h: Likewise.
28350 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28351 (TZVERSION): Hardcode tzcode version number.
28352 * timezone/zdump.c: Update from tzcode 2012i.
28353 * timezone/zic.c: Likewise.
28354 * timezone/version.h: New file.
28355 * timezone/README: Describe version.h. Update upstream location.
28358 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28359 (mktemp): Enable declaration.
28360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28377 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28378 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28379 for copies of such integer values.
28380 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28381 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28383 2012-11-09 Andreas Jaeger <aj@suse.de>
28385 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28386 definitions and declarations that are provided by
28387 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28389 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28391 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28392 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28393 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28396 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28398 * elf/elf.h: Update comment before AArch64 relocations.
28400 2012-11-07 David S. Miller <davem@davemloft.net>
28402 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28403 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28404 (__start_context): Declare.
28405 (__makecontext_ret): Delete.
28406 (__makecontext): Hook up __start_context instead of
28408 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28409 (sysdep_routines): Add __start_context when in stdlib.
28411 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28413 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28414 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28415 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28417 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28418 (READELF): New variable. Use it instead of hardcoded "readelf".
28420 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28422 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28423 * sysdeps/x86/Makefile: Here.
28424 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28425 * sysdeps/x86/tst-xmmymm.sh: This.
28427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28429 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28431 [UNIX98] (pthread_barrier_t): Do not expect.
28432 [UNIX98] (pthread_barrierattr_t): Likewise.
28433 [UNIX98] (pthread_spinlock_t): Likewise.
28434 [UNIX98] (pthread_barrier_destroy): Likewise.
28435 [UNIX98] (pthread_barrier_init): Likewise.
28436 [UNIX98] (pthread_barrier_wait): Likewise.
28437 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28438 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28439 [UNIX98] (pthread_barrierattr_init): Likewise.
28440 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28441 [UNIX98] (pthread_getcpuclockid): Likewise.
28442 [UNIX98] (pthread_mutex_timedlock): Likewise.
28443 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28444 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28445 [UNIX98] (pthread_sigmask): Likewise.
28446 [UNIX98] (pthread_spin_destroy): Likewise.
28447 [UNIX98] (pthread_spin_init): Likewise.
28448 [UNIX98] (pthread_spin_lock): Likewise.
28449 [UNIX98] (pthread_spin_trylock): Likewise.
28450 [UNIX98] (pthread_spin_unlock): Likewise.
28451 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28453 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28454 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28455 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28456 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28457 [XPG3 || XPG4] (pthread_key_t): Likewise.
28458 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28459 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28460 [XPG3 || XPG4] (pthread_once_t): Likewise.
28461 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28462 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28463 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28464 [XPG3 || XPG4] (pthread_t): Likewise.
28466 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28468 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28471 Change function return type to int.
28473 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28474 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28475 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28476 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28477 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28478 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28479 [!POSIX] (posix_madvise): Likewise.
28480 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28482 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28483 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28484 (mode_t): Likewise.
28485 (posix_mem_offset): Likewise.
28486 (posix_typed_mem_get_info): Likewise.
28487 (posix_typed_mem_open): Likewise.
28489 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28490 Change condition to [XOPEN2K8].
28492 * conform/conformtest.pl: Preprocess allow-header data with -x c
28493 instead of from stdin.
28494 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28495 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28496 [C99-based standards] (cerfc): Likewise.
28497 [C99-based standards] (cexp2): Likewise.
28498 [C99-based standards] (cexpm1): Likewise.
28499 [C99-based standards] (clog10): Likewise.
28500 [C99-based standards] (clog1p): Likewise.
28501 [C99-based standards] (clog2): Likewise.
28502 [C99-based standards] (clgamma): Likewise.
28503 [C99-based standards] (ctgamma): Likewise.
28504 [C99-based standards] (cerff): Likewise.
28505 [C99-based standards] (cerfcf): Likewise.
28506 [C99-based standards] (cexp2f): Likewise.
28507 [C99-based standards] (cexpm1f): Likewise.
28508 [C99-based standards] (clog10f): Likewise.
28509 [C99-based standards] (clog1pf): Likewise.
28510 [C99-based standards] (clog2f): Likewise.
28511 [C99-based standards] (clgammaf): Likewise.
28512 [C99-based standards] (ctgammaf): Likewise.
28513 [C99-based standards] (cerfl): Likewise.
28514 [C99-based standards] (cerfcl): Likewise.
28515 [C99-based standards] (cexp2l): Likewise.
28516 [C99-based standards] (cexpm1l): Likewise.
28517 [C99-based standards] (clog10l): Likewise.
28518 [C99-based standards] (clog1pl): Likewise.
28519 [C99-based standards] (clog2l): Likewise.
28520 [C99-based standards] (clgammal): Likewise.
28521 [C99-based standards] (ctgammal): Likewise.
28522 * conform/data/inttypes.h-data [C99-based standards]: Include
28523 stdint.h-data. Remove all expectations for stdint.h contents.
28524 [C99-based standards] (PRI*): Do not allow.
28525 [C99-based standards] (SCN*): Likewise.
28526 [C99-based standards] (*_t): Likewise.
28527 [C99-based-standards] (PRId8): Expect macro.
28528 [C99-based-standards] (PRIi8): Likewise.
28529 [C99-based-standards] (PRIo8): Likewise.
28530 [C99-based-standards] (PRIu8): Likewise.
28531 [C99-based-standards] (PRIx8): Likewise.
28532 [C99-based-standards] (PRIX8): Likewise.
28533 [C99-based-standards] (SCNd8): Likewise.
28534 [C99-based-standards] (SCNi8): Likewise.
28535 [C99-based-standards] (SCNo8): Likewise.
28536 [C99-based-standards] (SCNu8): Likewise.
28537 [C99-based-standards] (SCNx8): Likewise.
28538 [C99-based-standards] (PRIdLEAST8): Likewise.
28539 [C99-based-standards] (PRIiLEAST8): Likewise.
28540 [C99-based-standards] (PRIoLEAST8): Likewise.
28541 [C99-based-standards] (PRIuLEAST8): Likewise.
28542 [C99-based-standards] (PRIxLEAST8): Likewise.
28543 [C99-based-standards] (PRIXLEAST8): Likewise.
28544 [C99-based-standards] (SCNdLEAST8): Likewise.
28545 [C99-based-standards] (SCNiLEAST8): Likewise.
28546 [C99-based-standards] (SCNoLEAST8): Likewise.
28547 [C99-based-standards] (SCNuLEAST8): Likewise.
28548 [C99-based-standards] (SCNxLEAST8): Likewise.
28549 [C99-based-standards] (PRIdFAST8): Likewise.
28550 [C99-based-standards] (PRIiFAST8): Likewise.
28551 [C99-based-standards] (PRIoFAST8): Likewise.
28552 [C99-based-standards] (PRIuFAST8): Likewise.
28553 [C99-based-standards] (PRIxFAST8): Likewise.
28554 [C99-based-standards] (PRIXFAST8): Likewise.
28555 [C99-based-standards] (SCNdFAST8): Likewise.
28556 [C99-based-standards] (SCNiFAST8): Likewise.
28557 [C99-based-standards] (SCNoFAST8): Likewise.
28558 [C99-based-standards] (SCNuFAST8): Likewise.
28559 [C99-based-standards] (SCNxFAST8): Likewise.
28560 [C99-based-standards] (PRId16): Likewise.
28561 [C99-based-standards] (PRIi16): Likewise.
28562 [C99-based-standards] (PRIo16): Likewise.
28563 [C99-based-standards] (PRIu16): Likewise.
28564 [C99-based-standards] (PRIx16): Likewise.
28565 [C99-based-standards] (PRIX16): Likewise.
28566 [C99-based-standards] (SCNd16): Likewise.
28567 [C99-based-standards] (SCNi16): Likewise.
28568 [C99-based-standards] (SCNo16): Likewise.
28569 [C99-based-standards] (SCNu16): Likewise.
28570 [C99-based-standards] (SCNx16): Likewise.
28571 [C99-based-standards] (PRIdLEAST16): Likewise.
28572 [C99-based-standards] (PRIiLEAST16): Likewise.
28573 [C99-based-standards] (PRIoLEAST16): Likewise.
28574 [C99-based-standards] (PRIuLEAST16): Likewise.
28575 [C99-based-standards] (PRIxLEAST16): Likewise.
28576 [C99-based-standards] (PRIXLEAST16): Likewise.
28577 [C99-based-standards] (SCNdLEAST16): Likewise.
28578 [C99-based-standards] (SCNiLEAST16): Likewise.
28579 [C99-based-standards] (SCNoLEAST16): Likewise.
28580 [C99-based-standards] (SCNuLEAST16): Likewise.
28581 [C99-based-standards] (SCNxLEAST16): Likewise.
28582 [C99-based-standards] (PRIdFAST16): Likewise.
28583 [C99-based-standards] (PRIiFAST16): Likewise.
28584 [C99-based-standards] (PRIoFAST16): Likewise.
28585 [C99-based-standards] (PRIuFAST16): Likewise.
28586 [C99-based-standards] (PRIxFAST16): Likewise.
28587 [C99-based-standards] (PRIXFAST16): Likewise.
28588 [C99-based-standards] (SCNdFAST16): Likewise.
28589 [C99-based-standards] (SCNiFAST16): Likewise.
28590 [C99-based-standards] (SCNoFAST16): Likewise.
28591 [C99-based-standards] (SCNuFAST16): Likewise.
28592 [C99-based-standards] (SCNxFAST16): Likewise.
28593 [C99-based-standards] (PRId32): Likewise.
28594 [C99-based-standards] (PRIi32): Likewise.
28595 [C99-based-standards] (PRIo32): Likewise.
28596 [C99-based-standards] (PRIu32): Likewise.
28597 [C99-based-standards] (PRIx32): Likewise.
28598 [C99-based-standards] (PRIX32): Likewise.
28599 [C99-based-standards] (SCNd32): Likewise.
28600 [C99-based-standards] (SCNi32): Likewise.
28601 [C99-based-standards] (SCNo32): Likewise.
28602 [C99-based-standards] (SCNu32): Likewise.
28603 [C99-based-standards] (SCNx32): Likewise.
28604 [C99-based-standards] (PRIdLEAST32): Likewise.
28605 [C99-based-standards] (PRIiLEAST32): Likewise.
28606 [C99-based-standards] (PRIoLEAST32): Likewise.
28607 [C99-based-standards] (PRIuLEAST32): Likewise.
28608 [C99-based-standards] (PRIxLEAST32): Likewise.
28609 [C99-based-standards] (PRIXLEAST32): Likewise.
28610 [C99-based-standards] (SCNdLEAST32): Likewise.
28611 [C99-based-standards] (SCNiLEAST32): Likewise.
28612 [C99-based-standards] (SCNoLEAST32): Likewise.
28613 [C99-based-standards] (SCNuLEAST32): Likewise.
28614 [C99-based-standards] (SCNxLEAST32): Likewise.
28615 [C99-based-standards] (PRIdFAST32): Likewise.
28616 [C99-based-standards] (PRIiFAST32): Likewise.
28617 [C99-based-standards] (PRIoFAST32): Likewise.
28618 [C99-based-standards] (PRIuFAST32): Likewise.
28619 [C99-based-standards] (PRIxFAST32): Likewise.
28620 [C99-based-standards] (PRIXFAST32): Likewise.
28621 [C99-based-standards] (SCNdFAST32): Likewise.
28622 [C99-based-standards] (SCNiFAST32): Likewise.
28623 [C99-based-standards] (SCNoFAST32): Likewise.
28624 [C99-based-standards] (SCNuFAST32): Likewise.
28625 [C99-based-standards] (SCNxFAST32): Likewise.
28626 [C99-based-standards] (PRId64): Likewise.
28627 [C99-based-standards] (PRIi64): Likewise.
28628 [C99-based-standards] (PRIo64): Likewise.
28629 [C99-based-standards] (PRIu64): Likewise.
28630 [C99-based-standards] (PRIx64): Likewise.
28631 [C99-based-standards] (PRIX64): Likewise.
28632 [C99-based-standards] (SCNd64): Likewise.
28633 [C99-based-standards] (SCNi64): Likewise.
28634 [C99-based-standards] (SCNo64): Likewise.
28635 [C99-based-standards] (SCNu64): Likewise.
28636 [C99-based-standards] (SCNx64): Likewise.
28637 [C99-based-standards] (PRIdLEAST64): Likewise.
28638 [C99-based-standards] (PRIiLEAST64): Likewise.
28639 [C99-based-standards] (PRIoLEAST64): Likewise.
28640 [C99-based-standards] (PRIuLEAST64): Likewise.
28641 [C99-based-standards] (PRIxLEAST64): Likewise.
28642 [C99-based-standards] (PRIXLEAST64): Likewise.
28643 [C99-based-standards] (SCNdLEAST64): Likewise.
28644 [C99-based-standards] (SCNiLEAST64): Likewise.
28645 [C99-based-standards] (SCNoLEAST64): Likewise.
28646 [C99-based-standards] (SCNuLEAST64): Likewise.
28647 [C99-based-standards] (SCNxLEAST64): Likewise.
28648 [C99-based-standards] (PRIdFAST64): Likewise.
28649 [C99-based-standards] (PRIiFAST64): Likewise.
28650 [C99-based-standards] (PRIoFAST64): Likewise.
28651 [C99-based-standards] (PRIuFAST64): Likewise.
28652 [C99-based-standards] (PRIxFAST64): Likewise.
28653 [C99-based-standards] (PRIXFAST64): Likewise.
28654 [C99-based-standards] (SCNdFAST64): Likewise.
28655 [C99-based-standards] (SCNiFAST64): Likewise.
28656 [C99-based-standards] (SCNoFAST64): Likewise.
28657 [C99-based-standards] (SCNuFAST64): Likewise.
28658 [C99-based-standards] (SCNxFAST64): Likewise.
28659 [C99-based-standards] (PRIdMAX): Likewise.
28660 [C99-based-standards] (PRIiMAX): Likewise.
28661 [C99-based-standards] (PRIoMAX): Likewise.
28662 [C99-based-standards] (PRIuMAX): Likewise.
28663 [C99-based-standards] (PRIxMAX): Likewise.
28664 [C99-based-standards] (PRIXMAX): Likewise.
28665 [C99-based-standards] (SCNdMAX): Likewise.
28666 [C99-based-standards] (SCNiMAX): Likewise.
28667 [C99-based-standards] (SCNoMAX): Likewise.
28668 [C99-based-standards] (SCNuMAX): Likewise.
28669 [C99-based-standards] (SCNxMAX): Likewise.
28670 [C99-based-standards] (PRIdPTR): Likewise.
28671 [C99-based-standards] (PRIiPTR): Likewise.
28672 [C99-based-standards] (PRIoPTR): Likewise.
28673 [C99-based-standards] (PRIuPTR): Likewise.
28674 [C99-based-standards] (PRIxPTR): Likewise.
28675 [C99-based-standards] (PRIXPTR): Likewise.
28676 [C99-based-standards] (SCNdPTR): Likewise.
28677 [C99-based-standards] (SCNiPTR): Likewise.
28678 [C99-based-standards] (SCNoPTR): Likewise.
28679 [C99-based-standards] (SCNuPTR): Likewise.
28680 [C99-based-standards] (SCNxPTR): Likewise.
28681 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28683 * conform/data/stdint.h-data: Update comments to clarify
28685 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28687 [C99-based standards] (INT8_MAX): Likewise.
28688 [C99-based standards] (INT16_MIN): Likewise.
28689 [C99-based standards] (INT16_MAX): Likewise.
28690 [C99-based standards] (INT32_MIN): Likewise.
28691 [C99-based standards] (INT32_MAX): Likewise.
28692 [C99-based standards] (INT64_MIN): Likewise.
28693 [C99-based standards] (INT64_MAX): Likewise.
28694 [C99-based standards] (UINT8_MAX): Likewise.
28695 [C99-based standards] (UINT16_MAX): Likewise.
28696 [C99-based standards] (UINT32_MAX): Likewise.
28697 [C99-based standards] (UINT64_MAX): Likewise.
28698 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28699 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28700 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28701 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28702 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28703 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28704 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28705 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28706 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28707 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28708 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28709 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28710 [C99-based standards] (INT_FAST8_MIN): Likewise.
28711 [C99-based standards] (INT_FAST8_MAX): Likewise.
28712 [C99-based standards] (INT_FAST16_MIN): Likewise.
28713 [C99-based standards] (INT_FAST16_MAX): Likewise.
28714 [C99-based standards] (INT_FAST32_MIN): Likewise.
28715 [C99-based standards] (INT_FAST32_MAX): Likewise.
28716 [C99-based standards] (INT_FAST64_MIN): Likewise.
28717 [C99-based standards] (INT_FAST64_MAX): Likewise.
28718 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28719 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28720 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28721 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28722 [C99-based standards] (INTPTR_MIN): Likewise.
28723 [C99-based standards] (INTPTR_MAX): Likewise.
28724 [C99-based standards] (UINTPTR_MAX): Likewise.
28725 [C99-based standards] (INTMAX_MIN): Likewise.
28726 [C99-based standards] (INTMAX_MAX): Likewise.
28727 [C99-based standards] (UINTMAX_MAX): Likewise.
28728 [C99-based standards] (PTRDIFF_MIN): Likewise.
28729 [C99-based standards] (PTRDIFF_MAX): Likewise.
28730 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28731 [C99-based standards] (SIZE_MAX): Likewise.
28732 [C99-based standards] (WCHAR_MAX): Likewise.
28733 [C99-based standards] (WINT_MAX): Likewise.
28734 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28735 constraint on value.
28736 [C99-based standards] (WCHAR_MIN): Likewise.
28737 [C99-based standards] (WINT_MIN): Likewise.
28738 [C99-based standards] (*_t): Allow.
28739 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28740 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28741 Include math.h-data and complex.h-data. Remove all expectations
28742 of math.h and complex.h contents.
28743 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28745 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28746 (struct tm): Expect tag.
28747 [C99-based-standards] (wcstof): Expect function.
28748 [C99-based-standards] (wcstold): Likewise.
28749 [C99-based-standards] (wcstoll): Likewise.
28750 [C99-based-standards] (wcstoull): Likewise.
28751 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28752 macro-int-constant. Specify type.
28753 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28754 constraint on value.
28755 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28757 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28759 [ISO C standards]: Do not allow headers.
28760 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28761 wcs[abcdefghijklmnopqrstuvwxyz]*.
28762 [ISO C standards] (*_t): Do not allow.
28763 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28765 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28766 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28768 [ISO C standards]: Do not allow headers.
28769 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28770 is[abcdefghijklmnopqrstuvwxyz]*.
28771 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28772 to[abcdefghijklmnopqrstuvwxyz]*.
28773 [ISO C standards] (*_t): Do not allow.
28774 * conform/data/stdalign.h-data: New file.
28775 * conform/data/stdbool.h-data: Likewise.
28776 * conform/data/stdnoreturn.h-data: Likewise.
28778 2012-11-07 Roland McGrath <roland@hack.frob.com>
28781 * manual/filesys.texi (Directory Entries): Typo fix.
28782 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28784 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28786 * elf/elf.h (EM_AARCH64): New macro.
28787 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28788 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28789 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28790 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28791 (R_AARCH64_TLSDESC): Likewise.
28792 (NT_ARM_TLS): Likewise.
28793 (NT_ARM_HW_BREAK): Likewise.
28794 (NT_ARM_HW_WATCH): Likewise.
28796 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28799 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28800 (__ieee754_powl): Saturate nonzero exponents with absolute value
28801 below 0x1p-79 to +/- 0x1p-79.
28802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28803 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28804 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28805 nonzero exponents with absolute value below 0x1p-32 to +/-
28807 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28808 (__ieee754_powl): Saturate nonzero exponents with absolute value
28809 below 0x1p-79 to +/- 0x1p-79.
28810 * math/libm-test.inc (pow_test): Add more tests.
28812 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28814 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28815 _dl_s390_cap_flags with kernel. Increase string length.
28816 (_dl_s390_platforms): Add z196 and zEC12.
28818 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28820 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28821 Change XOPEN21K to XOPEN2K.
28823 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28825 * string/memmove.c: Use memcpy when possible.
28827 2012-11-06 Andreas Jaeger <aj@suse.de>
28829 * po/eo.po: Update from translation team.
28831 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28835 exponent and small x and y exponents, scale x or y up. Increase
28836 by 2 the exponent used in scaling up.
28837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28839 * math/libm-test.inc (fma_test): Add more tests.
28840 (fma_test_towardzero): Likewise.
28841 (fma_test_downward): Likewise.
28842 (fma_test_upward): Likewise.
28844 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28847 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28851 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28852 namespace for names of struct fields.
28853 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28855 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28856 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28858 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28861 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28863 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28865 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28869 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28872 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28876 definitely overflow as x * y not x * y + z.
28877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28879 * math/libm-test.inc (fma_test): Add more tests.
28880 (fma_test_towardzero): Likewise.
28881 (fma_test_downward): Likewise.
28882 (fma_test_upward): Likewise.
28884 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28888 * include/stub-tag.h: Remove file.
28889 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28891 * manual/maint.texi (Porting): Don't reference it.
28892 * Makerules ($(objpfx)stubs): Likewise.
28893 * dirent/closedir.c: Don't include <stub-tag.h>.
28894 * dirent/dirfd.c: Likewise.
28895 * dirent/fdopendir.c: Likewise.
28896 * dirent/getdents.c: Likewise.
28897 * dirent/getdents64.c: Likewise.
28898 * dirent/opendir.c: Likewise.
28899 * dirent/readdir.c: Likewise.
28900 * dirent/readdir64.c: Likewise.
28901 * dirent/readdir64_r.c: Likewise.
28902 * dirent/readdir_r.c: Likewise.
28903 * dirent/rewinddir.c: Likewise.
28904 * dirent/seekdir.c: Likewise.
28905 * dirent/telldir.c: Likewise.
28906 * gmon/profil.c: Likewise.
28907 * grp/setgroups.c: Likewise.
28908 * inet/if_index.c: Likewise.
28909 * io/access.c: Likewise.
28910 * io/chdir.c: Likewise.
28911 * io/chmod.c: Likewise.
28912 * io/chown.c: Likewise.
28913 * io/close.c: Likewise.
28914 * io/dup.c: Likewise.
28915 * io/dup2.c: Likewise.
28916 * io/dup3.c: Likewise.
28917 * io/euidaccess.c: Likewise.
28918 * io/faccessat.c: Likewise.
28919 * io/fchdir.c: Likewise.
28920 * io/fchmod.c: Likewise.
28921 * io/fchmodat.c: Likewise.
28922 * io/fchown.c: Likewise.
28923 * io/fchownat.c: Likewise.
28924 * io/fcntl.c: Likewise.
28925 * io/flock.c: Likewise.
28926 * io/fstatfs.c: Likewise.
28927 * io/fstatfs64.c: Likewise.
28928 * io/fstatvfs.c: Likewise.
28929 * io/fstatvfs64.c: Likewise.
28930 * io/futimens.c: Likewise.
28931 * io/fxstat.c: Likewise.
28932 * io/fxstat64.c: Likewise.
28933 * io/fxstatat.c: Likewise.
28934 * io/fxstatat64.c: Likewise.
28935 * io/getcwd.c: Likewise.
28936 * io/isatty.c: Likewise.
28937 * io/lchmod.c: Likewise.
28938 * io/lchown.c: Likewise.
28939 * io/link.c: Likewise.
28940 * io/linkat.c: Likewise.
28941 * io/lseek.c: Likewise.
28942 * io/lseek64.c: Likewise.
28943 * io/lxstat64.c: Likewise.
28944 * io/mkdir.c: Likewise.
28945 * io/mkdirat.c: Likewise.
28946 * io/mkfifo.c: Likewise.
28947 * io/mkfifoat.c: Likewise.
28948 * io/open.c: Likewise.
28949 * io/open64.c: Likewise.
28950 * io/openat.c: Likewise.
28951 * io/openat64.c: Likewise.
28952 * io/pipe.c: Likewise.
28953 * io/pipe2.c: Likewise.
28954 * io/poll.c: Likewise.
28955 * io/posix_fadvise.c: Likewise.
28956 * io/posix_fadvise64.c: Likewise.
28957 * io/posix_fallocate.c: Likewise.
28958 * io/posix_fallocate64.c: Likewise.
28959 * io/read.c: Likewise.
28960 * io/readlink.c: Likewise.
28961 * io/readlinkat.c: Likewise.
28962 * io/rmdir.c: Likewise.
28963 * io/sendfile.c: Likewise.
28964 * io/sendfile64.c: Likewise.
28965 * io/statfs.c: Likewise.
28966 * io/statfs64.c: Likewise.
28967 * io/statvfs.c: Likewise.
28968 * io/statvfs64.c: Likewise.
28969 * io/symlink.c: Likewise.
28970 * io/symlinkat.c: Likewise.
28971 * io/ttyname.c: Likewise.
28972 * io/ttyname_r.c: Likewise.
28973 * io/umask.c: Likewise.
28974 * io/unlink.c: Likewise.
28975 * io/unlinkat.c: Likewise.
28976 * io/utime.c: Likewise.
28977 * io/utimensat.c: Likewise.
28978 * io/write.c: Likewise.
28979 * io/xmknod.c: Likewise.
28980 * io/xmknodat.c: Likewise.
28981 * io/xstat.c: Likewise.
28982 * io/xstat64.c: Likewise.
28983 * login/getpt.c: Likewise.
28984 * login/grantpt.c: Likewise.
28985 * login/unlockpt.c: Likewise.
28986 * math/e_acoshl.c: Likewise.
28987 * math/e_acosl.c: Likewise.
28988 * math/e_asinl.c: Likewise.
28989 * math/e_atan2l.c: Likewise.
28990 * math/e_atanhl.c: Likewise.
28991 * math/e_coshl.c: Likewise.
28992 * math/e_expl.c: Likewise.
28993 * math/e_fmodl.c: Likewise.
28994 * math/e_gammal_r.c: Likewise.
28995 * math/e_hypotl.c: Likewise.
28996 * math/e_j0l.c: Likewise.
28997 * math/e_j1l.c: Likewise.
28998 * math/e_jnl.c: Likewise.
28999 * math/e_lgammal_r.c: Likewise.
29000 * math/e_log10l.c: Likewise.
29001 * math/e_log2l.c: Likewise.
29002 * math/e_logl.c: Likewise.
29003 * math/e_powl.c: Likewise.
29004 * math/e_rem_pio2l.c: Likewise.
29005 * math/e_sinhl.c: Likewise.
29006 * math/e_sqrtl.c: Likewise.
29007 * math/fclrexcpt.c: Likewise.
29008 * math/fedisblxcpt.c: Likewise.
29009 * math/feenablxcpt.c: Likewise.
29010 * math/fegetenv.c: Likewise.
29011 * math/fegetexcept.c: Likewise.
29012 * math/fegetround.c: Likewise.
29013 * math/feholdexcpt.c: Likewise.
29014 * math/fesetenv.c: Likewise.
29015 * math/fesetround.c: Likewise.
29016 * math/feupdateenv.c: Likewise.
29017 * math/fgetexcptflg.c: Likewise.
29018 * math/fraiseexcpt.c: Likewise.
29019 * math/fsetexcptflg.c: Likewise.
29020 * math/ftestexcept.c: Likewise.
29021 * math/k_cosl.c: Likewise.
29022 * math/k_rem_pio2l.c: Likewise.
29023 * math/k_sinl.c: Likewise.
29024 * math/k_tanl.c: Likewise.
29025 * math/s_asinhl.c: Likewise.
29026 * math/s_atanl.c: Likewise.
29027 * math/s_cbrtl.c: Likewise.
29028 * math/s_erfl.c: Likewise.
29029 * math/s_expm1l.c: Likewise.
29030 * math/s_log1pl.c: Likewise.
29031 * math/s_tanhl.c: Likewise.
29032 * misc/acct.c: Likewise.
29033 * misc/brk.c: Likewise.
29034 * misc/chflags.c: Likewise.
29035 * misc/chroot.c: Likewise.
29036 * misc/fchflags.c: Likewise.
29037 * misc/fgetxattr.c: Likewise.
29038 * misc/flistxattr.c: Likewise.
29039 * misc/fremovexattr.c: Likewise.
29040 * misc/fsetxattr.c: Likewise.
29041 * misc/fsync.c: Likewise.
29042 * misc/ftruncate.c: Likewise.
29043 * misc/futimes.c: Likewise.
29044 * misc/futimesat.c: Likewise.
29045 * misc/getdomain.c: Likewise.
29046 * misc/getdtsz.c: Likewise.
29047 * misc/gethostid.c: Likewise.
29048 * misc/gethostname.c: Likewise.
29049 * misc/getloadavg.c: Likewise.
29050 * misc/getpagesize.c: Likewise.
29051 * misc/getsysstats.c: Likewise.
29052 * misc/getxattr.c: Likewise.
29053 * misc/gtty.c: Likewise.
29054 * misc/ioctl.c: Likewise.
29055 * misc/lgetxattr.c: Likewise.
29056 * misc/listxattr.c: Likewise.
29057 * misc/llistxattr.c: Likewise.
29058 * misc/lremovexattr.c: Likewise.
29059 * misc/lsetxattr.c: Likewise.
29060 * misc/lutimes.c: Likewise.
29061 * misc/madvise.c: Likewise.
29062 * misc/mincore.c: Likewise.
29063 * misc/mlock.c: Likewise.
29064 * misc/mlockall.c: Likewise.
29065 * misc/mmap.c: Likewise.
29066 * misc/mprotect.c: Likewise.
29067 * misc/msync.c: Likewise.
29068 * misc/munlock.c: Likewise.
29069 * misc/munlockall.c: Likewise.
29070 * misc/munmap.c: Likewise.
29071 * misc/preadv.c: Likewise.
29072 * misc/preadv64.c: Likewise.
29073 * misc/ptrace.c: Likewise.
29074 * misc/pwritev.c: Likewise.
29075 * misc/pwritev64.c: Likewise.
29076 * misc/readv.c: Likewise.
29077 * misc/reboot.c: Likewise.
29078 * misc/remap_file_pages.c: Likewise.
29079 * misc/removexattr.c: Likewise.
29080 * misc/revoke.c: Likewise.
29081 * misc/select.c: Likewise.
29082 * misc/setdomain.c: Likewise.
29083 * misc/setegid.c: Likewise.
29084 * misc/seteuid.c: Likewise.
29085 * misc/sethostid.c: Likewise.
29086 * misc/sethostname.c: Likewise.
29087 * misc/setregid.c: Likewise.
29088 * misc/setreuid.c: Likewise.
29089 * misc/setxattr.c: Likewise.
29090 * misc/sstk.c: Likewise.
29091 * misc/stty.c: Likewise.
29092 * misc/swapoff.c: Likewise.
29093 * misc/swapon.c: Likewise.
29094 * misc/sync.c: Likewise.
29095 * misc/syncfs.c: Likewise.
29096 * misc/syscall.c: Likewise.
29097 * misc/truncate.c: Likewise.
29098 * misc/ualarm.c: Likewise.
29099 * misc/usleep.c: Likewise.
29100 * misc/ustat.c: Likewise.
29101 * misc/utimes.c: Likewise.
29102 * misc/vhangup.c: Likewise.
29103 * misc/writev.c: Likewise.
29104 * posix/_exit.c: Likewise.
29105 * posix/alarm.c: Likewise.
29106 * posix/execve.c: Likewise.
29107 * posix/fexecve.c: Likewise.
29108 * posix/fork.c: Likewise.
29109 * posix/fpathconf.c: Likewise.
29110 * posix/getaddrinfo.c: Likewise.
29111 * posix/getegid.c: Likewise.
29112 * posix/geteuid.c: Likewise.
29113 * posix/getgid.c: Likewise.
29114 * posix/getgroups.c: Likewise.
29115 * posix/getlogin.c: Likewise.
29116 * posix/getlogin_r.c: Likewise.
29117 * posix/getpgid.c: Likewise.
29118 * posix/getpid.c: Likewise.
29119 * posix/getppid.c: Likewise.
29120 * posix/getresgid.c: Likewise.
29121 * posix/getresuid.c: Likewise.
29122 * posix/getsid.c: Likewise.
29123 * posix/getuid.c: Likewise.
29124 * posix/glob64.c: Likewise.
29125 * posix/nanosleep.c: Likewise.
29126 * posix/pathconf.c: Likewise.
29127 * posix/pause.c: Likewise.
29128 * posix/posix_madvise.c: Likewise.
29129 * posix/pread.c: Likewise.
29130 * posix/pread64.c: Likewise.
29131 * posix/pwrite.c: Likewise.
29132 * posix/pwrite64.c: Likewise.
29133 * posix/sched_getaffinity.c: Likewise.
29134 * posix/sched_getp.c: Likewise.
29135 * posix/sched_gets.c: Likewise.
29136 * posix/sched_primax.c: Likewise.
29137 * posix/sched_primin.c: Likewise.
29138 * posix/sched_rr_gi.c: Likewise.
29139 * posix/sched_setaffinity.c: Likewise.
29140 * posix/sched_setp.c: Likewise.
29141 * posix/sched_sets.c: Likewise.
29142 * posix/sched_yield.c: Likewise.
29143 * posix/setgid.c: Likewise.
29144 * posix/setlogin.c: Likewise.
29145 * posix/setpgid.c: Likewise.
29146 * posix/setresgid.c: Likewise.
29147 * posix/setresuid.c: Likewise.
29148 * posix/setsid.c: Likewise.
29149 * posix/setuid.c: Likewise.
29150 * posix/sleep.c: Likewise.
29151 * posix/spawni.c: Likewise.
29152 * posix/sysconf.c: Likewise.
29153 * posix/times.c: Likewise.
29154 * posix/wait.c: Likewise.
29155 * posix/wait3.c: Likewise.
29156 * posix/wait4.c: Likewise.
29157 * posix/waitpid.c: Likewise.
29158 * resolv/gai_sigqueue.c: Likewise.
29159 * resource/getpriority.c: Likewise.
29160 * resource/getrlimit.c: Likewise.
29161 * resource/getrusage.c: Likewise.
29162 * resource/nice.c: Likewise.
29163 * resource/setpriority.c: Likewise.
29164 * resource/setrlimit.c: Likewise.
29165 * resource/ulimit.c: Likewise.
29166 * rt/aio_cancel.c: Likewise.
29167 * rt/aio_fsync.c: Likewise.
29168 * rt/aio_read.c: Likewise.
29169 * rt/aio_sigqueue.c: Likewise.
29170 * rt/aio_suspend.c: Likewise.
29171 * rt/aio_write.c: Likewise.
29172 * rt/clock_getres.c: Likewise.
29173 * rt/clock_gettime.c: Likewise.
29174 * rt/clock_nanosleep.c: Likewise.
29175 * rt/clock_settime.c: Likewise.
29176 * rt/lio_listio.c: Likewise.
29177 * rt/mq_close.c: Likewise.
29178 * rt/mq_getattr.c: Likewise.
29179 * rt/mq_notify.c: Likewise.
29180 * rt/mq_open.c: Likewise.
29181 * rt/mq_receive.c: Likewise.
29182 * rt/mq_send.c: Likewise.
29183 * rt/mq_setattr.c: Likewise.
29184 * rt/mq_timedreceive.c: Likewise.
29185 * rt/mq_timedsend.c: Likewise.
29186 * rt/mq_unlink.c: Likewise.
29187 * rt/shm_open.c: Likewise.
29188 * rt/shm_unlink.c: Likewise.
29189 * rt/timer_create.c: Likewise.
29190 * rt/timer_delete.c: Likewise.
29191 * rt/timer_getoverr.c: Likewise.
29192 * rt/timer_gettime.c: Likewise.
29193 * rt/timer_settime.c: Likewise.
29194 * setjmp/__longjmp.c: Likewise.
29195 * setjmp/setjmp.c: Likewise.
29196 * signal/kill.c: Likewise.
29197 * signal/killpg.c: Likewise.
29198 * signal/raise.c: Likewise.
29199 * signal/sigaction.c: Likewise.
29200 * signal/sigaltstack.c: Likewise.
29201 * signal/sigblock.c: Likewise.
29202 * signal/sigignore.c: Likewise.
29203 * signal/sigintr.c: Likewise.
29204 * signal/signal.c: Likewise.
29205 * signal/sigpause.c: Likewise.
29206 * signal/sigpending.c: Likewise.
29207 * signal/sigqueue.c: Likewise.
29208 * signal/sigreturn.c: Likewise.
29209 * signal/sigset.c: Likewise.
29210 * signal/sigsetmask.c: Likewise.
29211 * signal/sigstack.c: Likewise.
29212 * signal/sigsuspend.c: Likewise.
29213 * signal/sigtimedwait.c: Likewise.
29214 * signal/sigvec.c: Likewise.
29215 * signal/sigwait.c: Likewise.
29216 * signal/sigwaitinfo.c: Likewise.
29217 * signal/sysv_signal.c: Likewise.
29218 * socket/accept.c: Likewise.
29219 * socket/accept4.c: Likewise.
29220 * socket/bind.c: Likewise.
29221 * socket/connect.c: Likewise.
29222 * socket/getpeername.c: Likewise.
29223 * socket/getsockname.c: Likewise.
29224 * socket/getsockopt.c: Likewise.
29225 * socket/isfdtype.c: Likewise.
29226 * socket/listen.c: Likewise.
29227 * socket/recv.c: Likewise.
29228 * socket/recvfrom.c: Likewise.
29229 * socket/recvmsg.c: Likewise.
29230 * socket/send.c: Likewise.
29231 * socket/sendmsg.c: Likewise.
29232 * socket/sendto.c: Likewise.
29233 * socket/setsockopt.c: Likewise.
29234 * socket/shutdown.c: Likewise.
29235 * socket/sockatmark.c: Likewise.
29236 * socket/socket.c: Likewise.
29237 * socket/socketpair.c: Likewise.
29238 * stdio-common/ctermid.c: Likewise.
29239 * stdio-common/cuserid.c: Likewise.
29240 * stdio-common/remove.c: Likewise.
29241 * stdio-common/rename.c: Likewise.
29242 * stdio-common/renameat.c: Likewise.
29243 * stdio-common/tempname.c: Likewise.
29244 * stdlib/getcontext.c: Likewise.
29245 * stdlib/makecontext.c: Likewise.
29246 * stdlib/setcontext.c: Likewise.
29247 * stdlib/swapcontext.c: Likewise.
29248 * stdlib/system.c: Likewise.
29249 * streams/fattach.c: Likewise.
29250 * streams/fdetach.c: Likewise.
29251 * streams/getmsg.c: Likewise.
29252 * streams/getpmsg.c: Likewise.
29253 * streams/putmsg.c: Likewise.
29254 * streams/putpmsg.c: Likewise.
29255 * sysdeps/unix/bsd/getpt.c: Likewise.
29256 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29257 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29258 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29261 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29262 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29263 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29264 * sysvipc/msgctl.c: Likewise.
29265 * sysvipc/msgget.c: Likewise.
29266 * sysvipc/msgrcv.c: Likewise.
29267 * sysvipc/msgsnd.c: Likewise.
29268 * sysvipc/semctl.c: Likewise.
29269 * sysvipc/semget.c: Likewise.
29270 * sysvipc/semop.c: Likewise.
29271 * sysvipc/semtimedop.c: Likewise.
29272 * sysvipc/shmat.c: Likewise.
29273 * sysvipc/shmctl.c: Likewise.
29274 * sysvipc/shmdt.c: Likewise.
29275 * sysvipc/shmget.c: Likewise.
29276 * termios/tcdrain.c: Likewise.
29277 * termios/tcflow.c: Likewise.
29278 * termios/tcflush.c: Likewise.
29279 * termios/tcgetattr.c: Likewise.
29280 * termios/tcgetpgrp.c: Likewise.
29281 * termios/tcsendbrk.c: Likewise.
29282 * termios/tcsetattr.c: Likewise.
29283 * termios/tcsetpgrp.c: Likewise.
29284 * time/adjtime.c: Likewise.
29285 * time/clock.c: Likewise.
29286 * time/getitimer.c: Likewise.
29287 * time/gettimeofday.c: Likewise.
29288 * time/setitimer.c: Likewise.
29289 * time/settimeofday.c: Likewise.
29290 * time/stime.c: Likewise.
29291 * time/time.c: Likewise.
29293 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29295 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29298 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29300 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29302 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29306 FE_TONEAREST before applying Dekker multiplication and Knuth
29307 addition. Clear inexact exceptions and check for exact zero
29308 results afterwards.
29309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29312 * math/libm-test.inc (fma_test): Add more tests.
29313 (fma_test_towardzero): Likewise.
29314 (fma_test_downward): Likewise.
29315 (fma_test_upward): Likewise.
29316 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29318 (libc_fesetround): New macro.
29319 (libc_fesetroundf): Likewise.
29320 (libc_fesetroundl): Likewise.
29321 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29323 (libc_fesetround_387): Likewise.
29324 (libc_fesetroundf): New macro.
29325 (libc_fesetround): Likewise.
29326 (libc_fesetroundl): Likewise.
29327 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29329 (libc_fesetroundf): New macro.
29330 (libc_fesetround): Likewise.
29331 (libc_fesetroundl): Likewise.
29332 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29333 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29334 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29336 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29337 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29339 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29340 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29342 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29346 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29347 integer constant usable in #if and use that to give value to enum
29349 (FE_DIVBYZERO): Likewise.
29350 (FE_UNDERFLOW): Likewise.
29351 (FE_OVERFLOW): Likewise.
29352 (FE_INVALID): Likewise.
29353 (FE_INVALID_SNAN): Likewise.
29354 (FE_INVALID_ISI): Likewise.
29355 (FE_INVALID_IDI): Likewise.
29356 (FE_INVALID_ZDZ): Likewise.
29357 (FE_INVALID_IMZ): Likewise.
29358 (FE_INVALID_COMPARE): Likewise.
29359 (FE_INVALID_SOFTWARE): Likewise.
29360 (FE_INVALID_SQRT): Likewise.
29361 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29362 (FE_TONEAREST): Likewise.
29363 (FE_TOWARDZERO): Likewise.
29364 (FE_UPWARD): Likewise.
29365 (FE_DOWNWARD): Likewise.
29366 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29367 (FE_DIVBYZERO): Likewise.
29368 (FE_OVERFLOW): Likewise.
29369 (FE_UNDERFLOW): Likewise.
29370 (FE_INEXACT): Likewise.
29371 (FE_TONEAREST): Likewise.
29372 (FE_DOWNWARD): Likewise.
29373 (FE_UPWARD): Likewise.
29374 (FE_TOWARDZERO): Likewise.
29375 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29376 (FE_UNDERFLOW): Likewise.
29377 (FE_OVERFLOW): Likewise.
29378 (FE_DIVBYZERO): Likewise.
29379 (FE_INVALID): Likewise.
29380 (FE_TONEAREST): Likewise.
29381 (FE_TOWARDZERO): Likewise.
29382 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29383 (FE_OVERFLOW): Likewise.
29384 (FE_UNDERFLOW): Likewise.
29385 (FE_DIVBYZERO): Likewise.
29386 (FE_INEXACT): Likewise.
29387 (FE_TONEAREST): Likewise.
29388 (FE_TOWARDZERO): Likewise.
29389 (FE_UPWARD): Likewise.
29390 (FE_DOWNWARD): Likewise.
29391 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29392 (FE_DIVBYZERO): Likewise.
29393 (FE_OVERFLOW): Likewise.
29394 (FE_UNDERFLOW): Likewise.
29395 (FE_INEXACT): Likewise.
29396 (FE_TONEAREST): Likewise.
29397 (FE_DOWNWARD): Likewise.
29398 (FE_UPWARD): Likewise.
29399 (FE_TOWARDZERO): Likewise.
29401 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29403 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29405 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29407 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29408 commands. Quote $PWD.
29409 (blacklist_exports): Don't use remove_newlines. Replace "declare
29411 (remove_newlines): Remove.
29413 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29415 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29416 * stdlib/stdlib.h (atof): Moved to ...
29417 * include/bits/stdlib-float.h: Here. New file.
29418 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29419 * stdlib/bits/stdlib-float.h: New file.
29420 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29425 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29427 * conform/conformtest.pl (@headers): Add fenv.h.
29428 * conform/data/fenv.h-data: New file.
29429 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29430 include of <math/fenv.h>.
29432 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29433 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29434 && !UNIX98]. Enables tests for XOPEN2K8.
29435 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29436 POSIX2008]: Likewise.
29438 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29439 (struct rusage): Do not expect type or its members.
29442 * math/math.h (FP_NAN): Define macro to integer constant usable in
29443 #if and use that to give value to enum constant.
29444 (FP_INFINITE): Likewise.
29445 (FP_ZERO): Likewise.
29446 (FP_SUBNORMAL): Likewise.
29447 (FP_NORMAL): Likewise.
29449 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29451 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29452 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29455 2012-11-02 Roland McGrath <roland@hack.frob.com>
29457 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29458 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29459 autoconf-time if not.
29460 * configure.in: Remove AC_PREREQ.
29462 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29464 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29465 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29466 of the internal implementation.
29468 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29470 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29471 except include of <misc/sys/syslog.h>.
29473 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29476 function returns with a NULL context exit with zero.
29478 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29480 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29482 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29484 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29485 (run_program_cmd): This.
29486 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29487 (tst_langinfo): New variable. Use it.
29489 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29491 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29492 floating point opcodes.
29494 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29496 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29499 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29501 * sysdeps/mach/hurd/powerpc: Remove directory.
29502 * sysdeps/mach/powerpc: Likewise.
29504 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29506 * scripts/check-local-headers.sh: Ignore c++ headers.
29508 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29510 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29511 __libc_cleanup_region_start argument.
29513 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29518 x * y using scaling, not as x * y + z.
29519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29521 * math/libm-test.inc (fma_test): Add more tests.
29522 (fma_test_towardzero): Likewise.
29523 (fma_test_downward): Likewise.
29524 (fma_test_upward): Likewise.
29526 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29528 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29530 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29532 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29535 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29537 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29539 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29546 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29549 Fix the order of the list for glibc 2.17.
29550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29553 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29557 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29560 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29561 for low part of x being zero before using __atanl (y).
29562 * math/libm-test.inc (atan2_test): Add another test.
29564 * manual/install.texi (Configuring and compiling): Document
29565 general use of test-wrapper and test-wrapper-env.
29566 * INSTALL: Regenerated.
29568 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29569 (__fma): Do not extract and scale down low bits on after-rounding
29570 systems when result rounded to normal precision would have normal
29572 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29573 (__fmal): Do not extract and scale down low bits on after-rounding
29574 systems when result rounded to normal precision would have normal
29576 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29577 (__fmal): Do not extract and scale down low bits on after-rounding
29578 systems when result rounded to normal precision would have normal
29580 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29582 (fma_test): Add more tests.
29583 (fma_test_towardzero): Likewise.
29584 (fma_test_downward): Likewise.
29585 (fma_test_upward): Likewise.
29587 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29589 * sysdeps/i386/tininess.h: Renamed to ...
29590 * sysdeps/x86/tininess.h: This.
29591 * sysdeps/x86_64/tininess.h: Removed.
29593 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29595 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29596 input. Use $(build-program-cmd).
29597 ($(objpfx)tst-array1-static.out): Likewise.
29598 ($(objpfx)tst-array2.out): Likewise.
29599 ($(objpfx)tst-array3.out): Likewise.
29600 ($(objpfx)tst-array4.out): Likewise.
29601 ($(objpfx)tst-array5.out): Likewise.
29602 ($(objpfx)tst-array5-static.out): Likewise.
29604 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29606 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29609 * nss/nsswitch.h (nss_interface_function): Provide new
29610 macro for use with NSS functions.
29611 * grp/initgroups.c: Use new macro.
29612 * nss/getXXbyYY.c: Likewise.
29613 * nss/getXXbyYY_r.c: Likewise.
29614 * nss/getXXent.c: Likewise.
29615 * nss/getXXent_r.c: Likewise.
29616 * sysdeps/posix/getaddrinfo.c: Likewise.
29618 2012-10-30 Andreas Jaeger <aj@suse.de>
29620 * po/ru.po: Update Russion translation from translation project.
29622 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29627 result and shift together with sticky bit instead of replicating
29628 round-to-nearest rounding.
29629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29631 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29632 missing underflow exceptions.
29633 (fma_test_towardzero): Add more tests.
29634 (fma_test_downward): Likewise.
29635 (fma_test_upward): Likewise.
29638 * sysdeps/generic/tininess.h: New file.
29639 * sysdeps/i386/tininess.h: Likewise.
29640 * sysdeps/sh/tininess.h: Likewise.
29641 * sysdeps/x86_64/tininess.h: Likewise.
29642 * stdlib/tst-strtod-underflow.c: Likewise.
29643 * stdlib/tst-tininess.c: Likewise.
29644 * stdlib/strtod_l.c: Include <tininess.h>.
29645 (round_and_return): Do not set errno for exact underflow cases.
29646 Force an underflow exception when setting errno for underflow.
29647 Determine underflow based on rounding to normal precision if
29648 TININESS_AFTER_ROUNDING.
29649 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29650 ERANGE for exact underflow cases.
29651 * stdlib/Makefile (tests): Add tst-tininess and
29652 tst-strtod-underflow.
29653 ($(objpfx)tst-tininess): Use $(link-libm).
29654 ($(objpfx)tst-strtod-underflow): Likewise.
29656 2012-10-30 Andreas Jaeger <aj@suse.de>
29659 * elf/Makefile (tests): Remove conditional for have-initfini-array
29660 since this is now always required and the variable does not exist
29662 (tests-static): Likewise.
29663 (modules-names): Likewise.
29665 * po/eo.po: Add Esperanto translation from translation project.
29667 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29668 merged with constructor/destructor.
29669 (init_array): Likewise.
29670 * elf/tst-array2dep.c (fini_array): Likewise.
29671 (init_array): Likewise.
29673 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29675 * manual/message.texi: Delete @cartouche tags.
29677 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29679 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29681 * sysdeps/mach/hurd/fsync.c: Likewise.
29683 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29684 [_POSIX_REALTIME_SIGNALS]: Change condition to
29685 [_POSIX_REALTIME_SIGNALS > 0].
29687 2012-10-27 Andreas Jaeger <aj@suse.de>
29689 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29690 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29692 [__WORDSIZE != 64]: Likewise.
29694 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29696 * iconvdata/tst-table.sh: Remove ${SHELL}.
29697 * iconvdata/tst-tables.sh: Likewise.
29699 2012-10-25 David S. Miller <davem@davemloft.net>
29701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29702 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29707 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29708 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29709 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29712 2012-10-25 Roland McGrath <roland@hack.frob.com>
29714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29715 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29718 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29719 Jim Blandy <jimb@codesourcery.com>
29721 * scripts/cross-test-ssh.sh: New file.
29722 * manual/install.texi (Configuring and compiling): Document use of
29724 * INSTALL: Regenerated.
29726 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29728 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29731 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29733 * Makeconfig (run-program-prefix): Fix comment.
29735 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29736 Jim Blandy <jimb@codesourcery.com>
29738 * Makeconfig (test-wrapper): New variable,
29739 (test-wrapper-env): Likewise.
29740 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29741 (run-built-tests): Define to yes.
29742 (run-program-prefix): Use $(test-wrapper).
29743 (built-program-cmd): Likewise.
29744 * Rules (make-test-out): Use $(test-wrapper-env) and
29745 $(host-built-program-cmd).
29746 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29747 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29749 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29750 $(test-wrapper-env) to tst-rtld-load-self.sh.
29751 ($(objpfx)order2.out): Use $(test-wrapper).
29752 ($(objpfx)tst-initorder.out): Likewise.
29753 ($(objpfx)tst-initorder2.out): Likewise.
29754 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29755 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29756 (test_wrapper_env): New variable. Use it to run ld.so.
29757 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29758 Use it to run ld.so.
29759 (test_wrapper_env): Likewise.
29760 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29761 $(test-wrapper) to run-iconv-test.sh.
29762 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29763 (ICONV): Use $test_wrapper.
29764 * posix/Makefile ($(objpfx)globtest.out): Pass
29765 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29766 globtest.sh, not $(run-program-prefix).
29767 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29768 (test_wrapper): Likewise.
29769 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29770 set together with run_via_rtld_prefix.
29771 (run_program_prefix): Define in terms of test_wrapper and
29772 run_via_rtld_prefix.
29774 2012-10-24 Roland McGrath <roland@hack.frob.com>
29776 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29777 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29781 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29782 Declare __clock_getres, __clock_gettime, __clock_settime,
29783 __clock_nanosleep, and __clock_getcpuclockid.
29784 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29785 Remove librt_hidden_def (clock_gettime).
29786 * sysdeps/unix/clock_gettime.c: Likewise.
29787 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29788 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29789 * rt/clock_getres.c: Define __clock_getres as an alias.
29790 * sysdeps/posix/clock_getres.c: Likewise.
29791 * rt/clock_settime.c: Define __clock_settime as an alias.
29792 * sysdeps/unix/clock_settime.c: Likewise.
29793 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29794 * sysdeps/unix/clock_nanosleep.c: Likewise.
29795 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29796 * rt/clock-compat.c: New file.
29797 * rt/Makefile (librt-routines): Add clock-compat and move
29798 $(clock-routines) to ...
29799 (routines): ... here, new variable.
29800 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29801 Don't add get_clockfreq here.
29802 * rt/Versions (libc: GLIBC_2.17): New version set.
29803 Add clock_* symbols here.
29804 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29805 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29806 (GLIBC_2.17): Add clock_* symbols.
29807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29818 * NEWS: Mention the move.
29820 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29821 Use __open, __read, __close rather than their public counterparts.
29822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29823 (__get_clockfreq_via_cpuinfo): Likewise.
29824 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29825 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29827 * config.h.in (HAVE_IFUNC): New #undef.
29828 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29830 * configure: Regenerated.
29832 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29834 * configure.in: Move READELF check to start of file.
29835 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29836 libc_cv_asm_gnu_indirect_function in the process.
29837 * configure: Regenerated.
29839 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29841 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29842 send the output to /dev/null.
29843 (libc_cv_cc_with_libunwind): Likewise.
29844 (libc_cv_as_noexecstack): Likewise.
29845 * configure: Regenerate.
29847 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29849 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29851 * posix/globtest.sh (TMPDIR): Do not set.
29852 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29853 (testout): Likewise.
29855 2012-10-24 Andreas Jaeger <aj@suse.de>
29857 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29858 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29859 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29860 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29861 posix_fadvise64, posix_fallocate64.
29863 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29864 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29865 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29867 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29869 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29872 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29873 <bits/fcntl-linux.h>.
29874 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29877 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29878 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29879 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29880 [__WORDSIZE != 64]: Likewise.
29882 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29884 * Makeconfig (run-built-tests): New variable.
29885 * Rules [$(cross-compiling) = yes]: Change condition to
29886 [$(run-built-tests) = no].
29887 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29888 to [$(run-built-tests) = yes].
29889 * elf/Makefile [$(cross-compiling) = no]: Likewise
29890 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29891 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29892 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29893 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29894 * io/Makefile [$(cross-compiling) = no]: Likewise.
29895 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29896 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29897 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29898 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29899 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29900 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29901 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29902 * string/Makefile [$(cross-compiling) = no]: Likewise.
29904 * posix/Makefile ($(objpfx)globtest.out): Pass
29905 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29906 $(rtld-installed-name).
29907 * posix/globtest.sh (elf_objpfx): Remove variable.
29908 (rtld_installed_name): Likewise.
29909 (library_path): Likewise.
29910 (run_program_prefix): New variable. Use for running globtest
29913 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29914 Joseph Myers <joseph@codesourcery.com>
29916 * Makeconfig (host-built-program-cmd): New variable.
29917 * elf/Makefile (tst-stackguard1-ARGS): Use
29918 $(host-built-program-cmd).
29919 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29920 (tst-spawn-ARGS): Likewise.
29921 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29923 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29924 Jim Blandy <jimb@codesourcery.com>
29926 * Makeconfig (run-via-rtld-prefix): New variable.
29927 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29928 (built-program-cmd): Likewise.
29930 2012-10-22 Andreas Jaeger <aj@suse.de>
29932 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29933 __O_RSYNC if it exists, otherwise to O_SYNC.
29935 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29936 Joseph Myers <joseph@codesourcery.com>
29938 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29940 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29942 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29945 2012-10-22 Andreas Jaeger <aj@suse.de>
29947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29952 bits/fcntl-linux.h.
29954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29955 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29962 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29963 Joseph Myers <joseph@codesourcery.com>
29965 * config.make.in (NM): New variable.
29967 2012-10-21 Andreas Jaeger <aj@suse.de>
29969 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29970 definitions and declarations that are provided by
29971 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29973 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29976 * elf/Makefile (tests-static): Add tst-leaks1-static.
29977 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29978 ($(objpfx)tst-leaks1-static): New rule.
29979 ($(objpfx)tst-leaks1-static-mem): Likewise.
29980 (tst-leaks1-static-ENV): New macro.
29981 * elf/dl-open.c (dl_open_worker): Check the main application
29982 only if SHARED is defined.
29983 * elf/tst-leaks1-static.c: New file.
29985 2012-10-20 Andreas Jaeger <aj@suse.de>
29987 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29988 generic values for Linux.
29989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29990 and declarations that are provided by <bits/fcntl-linux.h> and
29991 include <bits/fcntl-linux.h>.
29992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29995 2012-10-20 Roland McGrath <roland@hack.frob.com>
29997 * io/fcntl.h: Move include of <bits/types.h> to the top and
29998 include it unconditionally.
30000 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30002 * wcsmbs/Makefile (tests-ifunc): New variable.
30003 (tests): Add $(tests-ifunc).
30004 * wcsmbs/test-wcschr-ifunc.c: New file.
30005 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30006 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30007 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30008 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30009 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30011 * string/Makefile (tests-ifunc): New variable.
30012 (tests): Add $(tests-ifunc).
30013 * string/test-memccpy.c (TEST_NAME): New macro.
30014 * string/test-memchr.c (TEST_NAME): Likewise.
30015 * string/test-memcmp.c (TEST_NAME): Likewise.
30016 * string/test-memcpy.c (TEST_NAME): Likewise.
30017 * string/test-memmem.c (TEST_NAME): Likewise.
30018 * string/test-memmove.c (TEST_NAME): Likewise.
30019 * string/test-memset.c (TEST_NAME): Likewise.
30020 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30021 * string/test-stpcpy.c (TEST_NAME): Likewise.
30022 * string/test-stpncpy.c (TEST_NAME): Likewise.
30023 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30024 * string/test-strcasestr.c (TEST_NAME): Likewise.
30025 * string/test-strcat.c (TEST_NAME): Likewise.
30026 * string/test-strchr.c (TEST_NAME): Likewise.
30027 * string/test-strcmp.c(TEST_NAME): Likewise.
30028 * string/test-strcpy.c (TEST_NAME): Likewise.
30029 * string/test-strcspn.c (TEST_NAME): Likewise.
30030 * string/test-strlen.c (TEST_NAME): Likewise.
30031 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30032 * string/test-strncmp.c (TEST_NAME): Likewise.
30033 * string/test-strncpy.c (TEST_NAME): Likewise.
30034 * string/test-strnlen.c (TEST_NAME): Likewise.
30035 * string/test-strpbrk.c (TEST_NAME): Likewise.
30036 * string/test-strrchr.c (TEST_NAME): Likewise.
30037 * string/test-strspn.c (TEST_NAME): Likewise.
30038 * string/test-strstr.c (TEST_NAME): Likewise.
30039 * string/test-bcopy-ifunc.c: New file.
30040 * string/test-bzero-ifunc.c: Likewise.
30041 * string/test-memccpy-ifunc.c: Likewise.
30042 * string/test-memchr-ifunc.c: Likewise.
30043 * string/test-memcmp-ifunc.c: Likewise.
30044 * string/test-memcpy-ifunc.c: Likewise.
30045 * string/test-memmem-ifunc.c: Likewise.
30046 * string/test-memmove-ifunc.c: Likewise.
30047 * string/test-mempcpy-ifunc.c: Likewise.
30048 * string/test-memset-ifunc.c: Likewise.
30049 * string/test-rawmemchr-ifunc.c: Likewise.
30050 * string/test-stpcpy-ifunc.c: Likewise.
30051 * string/test-stpncpy-ifunc.c: Likewise.
30052 * string/test-strcasecmp-ifunc.c: Likewise.
30053 * string/test-strcasestr-ifunc.c: Likewise.
30054 * string/test-strcat-ifunc.c: Likewise.
30055 * string/test-strchr-ifunc.c: Likewise.
30056 * string/test-strchrnul-ifunc.c: Likewise.
30057 * string/test-strcmp-ifunc.c: Likewise.
30058 * string/test-strcpy-ifunc.c: Likewise.
30059 * string/test-strcspn-ifunc.c: Likewise.
30060 * string/test-strlen-ifunc.c: Likewise.
30061 * string/test-strncasecmp-ifunc.c: Likewise.
30062 * string/test-strncat-ifunc.c: Likewise.
30063 * string/test-strncmp-ifunc.c: Likewise.
30064 * string/test-strncpy-ifunc.c: Likewise.
30065 * string/test-strnlen-ifunc.c: Likewise.
30066 * string/test-strpbrk-ifunc.c: Likewise.
30067 * string/test-strrchr-ifunc.c: Likewise.
30068 * string/test-strspn-ifunc.c: Likewise.
30069 * string/test-strstr-ifunc.c: Likewise.
30071 * debug/Makefile (tests-ifunc): New variable.
30072 (tests): Add $(tests-ifunc).
30073 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30074 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30075 * debug/test-stpcpy_chk-ifunc.c: New file.
30076 * debug/test-strcpy_chk-ifunc.c: Likewise.
30078 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30081 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30082 header is not read in.
30084 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30086 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30087 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30088 directly. Pass built executable to script as
30089 $(built-program-cmd).
30090 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30091 $testprogram without using LD_LIBRARY_PATH and $ldso.
30093 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30094 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30095 $(rtld-installed-name).
30096 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30097 (rtld_installed_name): Likewise.
30098 (library_path): Likewise.
30099 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30100 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30101 $(run-program-prefix) to tst-tables.sh.
30102 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30103 it to run tst-table-from and tst-table-to.
30104 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30105 Pass it to tst-table.sh.
30106 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30107 $(run-program-prefix) to tst-gettext.sh.
30108 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30110 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30112 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30113 to run tst-gettext.
30114 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30115 to run tst-gettext2.
30116 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30117 to run tst-translit.
30118 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30119 $(run-program-prefix) to tst-mtrace.sh.
30120 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30122 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30123 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30124 $(rtld-installed-name).
30125 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30126 (rtld_installed_name): Likewise.
30127 (run_program_prefix): New variable. Use it to run wordexp-test.
30129 * Makeconfig (ARCH): Remove all definitions.
30130 (machine): Likewise.
30131 [ARCH]: Remove conditional code.
30132 [!objdir]: Give error.
30133 [!objdir] (objpfx): Remove.
30134 [!objdir] (common-objpfx): Likewise.
30135 [!objdir] (common-objdir): Likewise.
30136 * configure.in (config_makefile): Remove. Hardcode Makefile in
30137 AC_CONFIG_FILES call.
30138 * configure: Regenerated.
30141 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30143 (testout): Likewise.
30145 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30146 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30147 $(rtld-installed-name).
30148 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30149 (rtld_installed_name): Likwise.
30150 (runit): Remove function.
30151 (run_getconf): New variable, Use it for running getconf binary.
30153 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30156 * string/test-memmem.c (check_result): New function.
30157 (do_one_test): Use it.
30158 (check1): New function.
30159 (test_main): Use it.
30161 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30163 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30165 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30167 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30168 (_G_LSEEK64): Likewise.
30169 (_G_MMAP64): Likewise.
30170 (_G_FSTAT64): Likewise.
30171 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30172 (_G_LSEEK64): Likewise.
30173 (_G_MMAP64): Likewise.
30174 (_G_FSTAT64): Likewise.
30175 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30176 unconditional. Call __mmap64 directly.
30177 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30178 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30179 __lseek64 directly.
30180 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30181 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30183 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30184 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30185 __lseek64 directly.
30186 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30187 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30188 __lseek64 directly.
30189 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30190 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30191 __lseek64 directly.
30192 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30193 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30194 __fxstat64 directly.
30195 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30196 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30198 (freopen64) [!_G_OPEN64]: Remove conditional code.
30199 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30201 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30202 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30204 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30205 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30207 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30208 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30210 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30211 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30213 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30214 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30216 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30217 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30219 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30221 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30224 * manual/memory.texi (Malloc Tunable Parameters): Add note
30225 about free list pointers overwriting some perturb bytes.
30226 Wording suggested by Roland McGrath.
30228 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30230 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30231 (lgamma_test): Likewise.
30232 (tgamma_test): Likewise.
30234 2012-10-16 Florian Weimer <fweimer@redhat.com>
30237 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30238 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30240 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30242 * NEWS: Mention BZ #14716.
30243 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30244 when removing AVAILABLE1_USES_J macro.
30246 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30248 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30249 (__bswap_64): __uint64_t for unsigned 64-bit int.
30251 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30253 * include/string.h (memmem): Declare libc hidden alias.
30254 * string/memmem.c (memmem): Define libc hidden alias.
30255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30256 __read, __close instead of open, read, close.
30258 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30261 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30263 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30264 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30265 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30267 (__rawmemchr_sse2): Likewise.
30268 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30269 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30270 (__strchr_sse2): Likewise.
30271 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30272 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30273 (__strcasecmp_sse2): Likewise.
30274 (__strncasecmp_sse2): Likewise.
30275 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30276 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30277 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30278 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30279 (__strrchr_sse2): Likewise.
30280 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30282 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30283 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30284 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30285 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30286 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30287 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30290 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30291 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30292 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30293 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30294 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30295 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30296 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30297 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30298 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30299 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30300 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30301 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30302 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30303 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30304 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30305 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30306 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30307 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30308 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30309 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30310 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30311 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30313 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30315 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30316 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30317 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30318 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30320 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30322 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30323 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30324 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30325 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30327 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30331 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30333 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30335 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30341 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30343 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30345 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30350 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30353 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30354 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30355 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30360 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30361 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30363 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30364 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30365 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30366 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30367 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30369 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30370 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30371 * include/ifunc-impl-list.h: New file.
30372 * misc/ifunc-impl-list.c: Likewise.
30373 * misc/Makefile (routines): Add ifunc-impl-list.
30374 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30375 * string/test-string.h: Include <ifunc-impl-list.h>.
30376 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30377 TEST_NAME]: New variables.
30378 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30380 (test_init): Call __libc_ifunc_impl_list to initialize
30381 func_list if TEST_IFUNC and TEST_NAME are defined.
30383 * string/Makefile (strop-tests): Add bcopy and bzero.
30384 * string/test-bcopy.c: New file.
30385 * string/test-bzero.c: Likewise.
30386 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30388 * string/test-memset.c: Support bzero test if TEST_BZERO is
30390 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30392 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30394 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30397 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30399 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30400 * configure: Regenerated.
30402 * Makeconfig (+link-static-before-libc): Don't include
30403 $(link-static-libc).
30405 * libio/libio.h (_IO_pos_t): Remove.
30407 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30409 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30412 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30414 * crypt/crypt-entry.c: Include fips-private.h.
30415 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30416 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30417 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30418 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30420 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30422 * crypt/crypt-private.h: Include stdbool.h.
30423 (_ufc_setup_salt_r): Return bool.
30424 * crypt/crypt-entry.c: Include errno.h.
30425 (__crypt_r): Return NULL with EINVAL for bad salt.
30426 * crypt/crypt_util.c (bad_for_salt): New.
30427 (_ufc_setup_salt_r): Check that salt is long enough and within
30428 the specified alphabet.
30429 * crypt/badsalttest.c: New file.
30430 * crypt/Makefile (tests): Add it.
30431 ($(objpfx)badsalttest): New.
30433 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30435 * NEWS: Add entry for BZ #14602.
30437 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30439 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30441 * math/libm-test.inc: Update comment listing what functions and
30443 (isgreater_test): New function.
30444 (isgreaterequal_test): Likewise.
30445 (isless_test): Likewise.
30446 (islessequal_test): Likewise.
30447 (islessgreater_test): Likewise.
30448 (isunordered_test): Likewise.
30449 (main): Call the new functions.
30451 2012-10-09 Roland McGrath <roland@hack.frob.com>
30453 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30454 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30455 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30456 * sysdeps/i386/configure: Regenerated.
30457 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30458 * sysdeps/mach/configure: Regenerated.
30459 * sysdeps/mach/hurd/configure: Regenerated.
30460 * sysdeps/powerpc/configure: Regenerated.
30461 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30462 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30463 * sysdeps/s390/s390-32/configure: Regenerated.
30464 * sysdeps/s390/s390-64/configure: Regenerated.
30465 * sysdeps/sh/configure: Regenerated.
30466 * sysdeps/sparc/configure: Regenerated.
30467 * sysdeps/unix/sysv/linux/configure: Regenerated.
30468 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30469 * sysdeps/x86_64/configure: Regenerated.
30471 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30472 defined. Don't check if MAP is NULL.
30474 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30477 (_G_stat64): Likewise.
30478 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30479 (_G_stat64): Likewise.
30480 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30481 instead of struct _G_stat64.
30482 * libio/fileops.c (mmap_remap_check): Likewise.
30483 (decide_maybe_mmap): Likewise.
30484 (_IO_new_file_seekoff): Likewise.
30485 (_IO_file_stat): Likewise.
30486 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30488 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30489 instead of struct _G_stat64.
30490 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30492 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30495 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30497 (CHECK_EOL): New macro.
30498 (two_way_short_needle): Check beginning of haystack for EOL. Use
30500 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30501 Replace with CHECK_EOL.
30502 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30503 Replace with CHECK_EOL.
30505 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30507 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30509 * math/libm-test.inc: Update comment listing what functions and
30511 (finite_test): New function.
30512 (isinf_test): Likewise.
30513 (isnan_test): Likewise.
30514 (fpclassify_test): Test subnormal input.
30515 (isfinite_test): Likewise.
30516 (isnormal_test): Likewise.
30517 (main): Call the new functions.
30519 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30522 * Makerules (%.dynsym): Force C locale when running
30523 $(OBJDUMP) --dynamic-syms.
30525 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30530 2012-10-06 David S. Miller <davem@davemloft.net>
30532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30533 upper 32-bits of the length value in %o2 since we use branch-on-register
30534 tests which consider the entire 64-bit register.
30536 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30538 * string/test-strstr.c (check2): Add a test for page boundary.
30540 2012-10-05 David S. Miller <davem@davemloft.net>
30542 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30543 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30545 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30547 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30548 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30549 and bzero when HWCAP_SPARC_CRYPTO is present.
30551 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30554 * string/test-strstr.c (check2): New function.
30555 (test_main): Call check2.
30557 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30559 * string/bug-strcasestr1.c (do_test): Moved to ...
30560 * string/test-strcasestr.c (check1): Here. New function.
30561 (do_one_test): Break out result checking code into ...
30562 (check_result): This. New function.
30563 (do_one_test): Call check_result.
30564 (test_main): Call check1.
30565 * string/bug-strchr1.c (do_test): Moved to ...
30566 * string/test-strchr.c (check1): Here. New function.
30567 (do_one_test): Break out result checking code into ...
30568 (check_result): This. New function.
30569 (do_one_test): Call check_result.
30570 (test_main): Call check1.
30571 * string/bug-strstr1.c (main): Moved to ...
30572 * string/test-strstr.c (check1): Here. New function.
30573 (do_one_test): Break out result checking code into ...
30574 (check_result): This. New function.
30575 (do_one_test): Call check_result.
30576 (test_main): Call check1.
30577 * string/bug-strcasestr1.c: Removed.
30578 * string/bug-strchr1.c: Likewise.
30579 * string/bug-strstr1.c: Likewise.
30581 * elf/Makefile (dl-routines): Add hwcaps.
30582 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30583 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30584 (_dl_important_hwcaps): Moved to ...
30585 * elf/dl-hwcaps.c: Here. New file.
30586 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30589 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30590 if IS_IN_rtld isn't defined.
30592 * elf/dl-support.c (_dl_sysinfo_map): New.
30593 Include "get-dynamic-info.h" and "setup-vdso.h".
30594 (_dl_non_dynamic_init): Call setup_vdso.
30595 * elf/dynamic-link.h: Don't include <assert.h>.
30596 (elf_get_dynamic_info): Moved to ...
30597 * elf/get-dynamic-info.h: Here. New file.
30598 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30599 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30600 * elf/setup-vdso.h: Here. New file.
30601 * elf/rtld.c: Include "setup-vdso.h".
30602 (dl_main): Call setup_vdso.
30604 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30606 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30607 creal in comment listing functions tested. List finite, isinf,
30608 isnan, isless, islessequal, isgreater, isgreaterequal,
30609 islessgreater, isunordered, lgamma_r and pow10 as functions and
30610 macros not tested. Mention which functions not tested are aliases
30611 for other functions. Fix typo. Note that signs of NaNs are not
30614 * scripts/config.guess: Update from config.git.
30615 * scripts/config.sub: Likewise.
30617 2012-10-04 Roland McGrath <roland@hack.frob.com>
30619 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30620 * misc/madvise.c (madvise): Renamed to __madvise.
30621 Make madvise a weak alias.
30622 * include/sys/mman.h: Declare __madvise.
30623 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30624 * sysdeps/unix/syscalls.list
30625 (madvise): Make __madvise the strong name, and madvise a weak alias.
30626 * sysdeps/unix/sysv/linux/syscalls.list
30627 (madvise, mmap): Remove redundant entries.
30628 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30629 * malloc/malloc.c (mtrim): Likewise.
30630 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30632 2012-10-03 Roland McGrath <roland@hack.frob.com>
30634 * sysdeps/mach/hurd/dl-cache.c: File removed.
30635 * config.h.in (USE_LDCONFIG): New #undef.
30636 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30637 * configure: Regenerated.
30638 * elf/Makefile (dl-routines): Add dl-cache only under
30639 [$(use-ldconfig) = yes].
30640 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30641 cache on [USE_LDCONFIG].
30642 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30644 * elf/rtld.c (dl_main): Likewise.
30646 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30648 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30649 _SC_LEVEL4_CACHE_LINESIZE.
30651 2012-10-03 Roland McGrath <roland@hack.frob.com>
30653 * sysdeps/unix/bsd/confstr.h: File removed.
30655 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30657 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30660 2012-10-02 Roland McGrath <roland@hack.frob.com>
30662 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30663 Make 'mapoff' field ElfW(Off) rather than off_t.
30665 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30667 * nscd/Makefile: Remove nscd-cflags and all its users.
30668 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30669 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30672 * malloc.c (malloc_printerr): Clarify error message.
30674 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30678 Set bit_FMA_Usable if FMA is supported.
30679 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30681 (bit_FMA4_Usable): Updated.
30682 (index_FMA_Usable): New macro.
30683 (CPUID_FMA): Likewise
30684 (HAS_FMA): Defined with bit_FMA_Usable.
30686 2012-10-01 Roland McGrath <roland@hack.frob.com>
30688 * bits/types.h (__swblk_t): Type removed.
30689 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30690 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30692 (__SWBLK_T_TYPE): Likewise.
30693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30694 (__SWBLK_T_TYPE): Likewise.
30695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30696 (__SWBLK_T_TYPE): Likewise.
30697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30698 (__SWBLK_T_TYPE): Likewise.
30700 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30701 Honza Horak <hhorak@redhat.com>
30703 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30704 (xdr_mapname): Use YPMAXMAP as maxsize.
30705 (xdr_peername): Use YPMAXPEER as maxsize.
30706 (xdr_keydat): Use YPAXRECORD as maxsize.
30707 (xdr_valdat): Use YPMAXRECORD as maxsize.
30709 2012-10-01 Roland McGrath <roland@hack.frob.com>
30711 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30713 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30714 * csu/init-first.c: ... here.
30715 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30716 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30719 * sysdeps/i386/init-first.c: File removed.
30720 * sysdeps/sh/init-first.c: File removed.
30722 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30726 if x * y might underflow to zero and z is zero.
30727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30729 * math/libm-test.inc (min_subnorm_value): New variable.
30730 (fma_test): Add more tests.
30731 (fma_test_towardzero): Likewise.
30732 (fma_test_downward): Likewise
30733 (fma_test_upward): Likewise.
30734 (initialize): Set min_subnorm_value.
30736 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30742 mode for addition resulting in exact zero.
30743 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30748 * math/libm-test.inc (fma_test): Add more tests.
30749 (fma_test_towardzero): New function.
30750 (fma_test_downward): Likewise.
30751 (fma_test_upward): Likewise.
30752 (main): Call the new functions.
30754 2012-09-28 David S. Miller <davem@davemloft.net>
30756 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30758 2012-09-28 Roland McGrath <roland@hack.frob.com>
30760 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30761 instead of SIGALRM.
30763 * sysdeps/gnu/_G_config.h: Moved to ...
30764 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30765 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30766 * sysdeps/generic/_G_config.h: ... here.
30768 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30770 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30772 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30773 Conditionalize target on [libnss_test1.so-version].
30775 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30777 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30778 (elfobjdir): Move out of conditionals.
30780 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30781 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30782 (__nss_lookup_function): Conditionalize label remove_from_tree on
30783 [!DO_STATIC_NSS || SHARED], matching its only use.
30785 2012-09-28 David S. Miller <davem@davemloft.net>
30787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30788 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30790 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30792 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30794 when HWCAP_SPARC_CRYPTO is present.
30796 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30798 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30800 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30803 * stdio-common/vfprintf.c (process_string_arg): Revert
30806 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30808 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30810 * stdio-common/tst-sprintf.c: Include <locale.h>
30811 (main): Test sprintf's handling of incomplete multibyte
30814 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30816 * elf/dl-runtime.c (VERSYMIDX): Removed.
30817 * elf/dl-version.c (VERSYMIDX): Likewise.
30818 * elf/do-rel.h (VERSYMIDX): Likewise.
30819 (VALIDX): Likewise.
30820 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30821 * elf/rtld.c (VALIDX): Likewise.
30822 (ADDRIDX): Likewise.
30823 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30824 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30825 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30826 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30827 (VALIDX): Likewise.
30828 (ADDRIDX): Likewise.
30830 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30832 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30834 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30837 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30839 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30840 addresses are in the same scope as 192.0.2/24.
30841 * posix/gai.conf: Document new scope table defaults.
30843 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30846 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30847 for ftell. Compute offsets from write pointers instead.
30848 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30850 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30853 * libio/Makefile (tests): New test case tst-fseek.
30854 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30855 combination works in wide mode.
30856 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30857 state when the external buffer state changes.
30859 2012-09-27 David S. Miller <davem@davemloft.net>
30862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30863 pass reloc->r_addend in as the 'high' argument to
30864 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30868 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30870 * rt/tst-aio2.c: Include <pthread.h>.
30871 * rt/tst-aio3.c: Likewise.
30873 2012-09-27 Steve Ellcey <sellcey@mips.com>
30875 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30877 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30879 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30880 contents on [SHARED].
30882 2012-09-26 Marek Polacek <polacek@redhat.com>
30886 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30887 for C++ and GCC <4.3 as well as for non GCC compilers.
30889 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30893 2012-09-25 Roland McGrath <roland@hack.frob.com>
30895 * Makefile.in (all, install): Declare with .PHONY.
30896 Reported by Michael Hope <michael.hope@linaro.org>.
30898 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30900 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30901 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30903 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30905 (sydep_routines): Add the new and the internal functions.
30906 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30907 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30909 (GLIBC_2.17): Add the new function.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30911 (GLIBC_2.17): Likewise.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30913 (GLIBC_2.17): Likewise.
30914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30915 (GLIBC_2.17): Likewise.
30916 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30918 2012-09-25 Alan Modra <amodra@gmail.com>
30920 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30921 Add release barrier before setting once_control to say
30922 initialisation is done. Add hints on lwarx. Use macro in
30924 (clear_once_control): Add release barrier.
30926 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30929 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30931 * math/s_clog10.c (__clog10): Likewise.
30932 * math/s_clog10f.c (__clog10f): Likewise.
30933 * math/s_clog10l.c (__clog10l): Likewise.
30934 * math/s_clogf.c (__clogf): Likewise.
30935 * math/s_clogl.c (__clogl): Likewise.
30936 * math/Makefile (libm-calls): Add x2y2m1.
30937 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30938 (__x2y2m1): Likewise.
30939 (__x2y2m1l): Likewise.
30940 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30941 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30944 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30945 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30946 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30947 * sysdeps/i386/fpu/libm-test-ulps: Update.
30948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30951 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30952 int as type of variable DEPTH.
30953 (glob): Use size_t instead of int as type of variables NEWCOUNT
30956 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30958 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30959 Add s_sincosf-sse2.
30960 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30961 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30962 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30963 macros for using routine as __sincosf_ia32.
30964 Use macro for function declaration and weak_alias.
30965 * sysdeps/i386/fpu/libm-test-ulps: Update.
30967 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30970 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30971 subnormal argument.
30972 * math/s_cexpf.c (__cexpf): Likewise.
30973 * math/s_csinf.c (__csinf): Likewise.
30974 * math/s_csinhf.c (__csinhf): Likewise.
30975 * math/s_ctanf.c (__ctanf): Likewise.
30976 * math/s_ctanhf.c (__ctanhf): Likewise.
30977 * math/s_ccosh.c (__ccoshf): Likewise.
30978 * math/s_cexp.c (__cexpl): Likewise.
30979 * math/s_csin.c (__csin): Likewise.
30980 * math/s_csinh.c (__csinh): Likewise.
30981 * math/s_ctan.c (__ctan): Likewise.
30982 * math/s_ctanh.c (ctanh): Likewise.
30983 * math/s_ccoshl.c (__ccoshl): Likewise.
30984 * math/s_cexpl.c (__cexpl): Likewise.
30985 * math/s_csinl.c (__csinl): Likewise.
30986 * math/s_csinhl.c (__csinhl): Likewise.
30987 * math/s_ctanl.c (__ctanl): Likewise.
30988 * math/s_ctanhl.c (__ctanhl): Likewise.
30990 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30992 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30993 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30994 (_IO_off_t): Define to __off_t, not _G_off_t.
30995 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30996 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30997 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30998 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30999 type of __dummy and __dummy2 fields.
31000 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31001 (_G_ssize_t): Likewise.
31002 (_G_off_t): Likewise.
31003 (_G_pid_t): Likewise.
31004 (_G_uid_t): Likewise.
31005 (_G_wchar_t): Likewise.
31006 (_G_wint_t): Likewise.
31007 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31008 (_G_ssize_t): Likewise.
31009 (_G_off_t): Likewise.
31010 (_G_pid_t): Likewise.
31011 (_G_uid_t): Likewise.
31012 (_G_wchar_t): Likewise.
31013 (_G_wint_t): Likewise.
31014 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31015 (_G_ssize_t): Likewise.
31016 (_G_off_t): Likewise.
31017 (_G_pid_t): Likewise.
31018 (_G_uid_t): Likewise.
31019 (_G_wchar_t): Likewise.
31020 (_G_wint_t): Likewise.
31022 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31024 * malloc/arena.c: Include malloc-sysdep.h.
31025 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31026 is sufficient to shrink the heap or an unmap is needed.
31027 * sysdeps/generic/malloc-sysdep.h: New file. Define
31028 new function check_may_shrink_heap.
31029 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31030 new function check_may_shrink_heap.
31032 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31034 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31037 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31039 * catgets/test-gencat.sh: Add "set -e".
31040 * elf/tst-pathopt.sh: Likewise.
31041 * grp/tst_fgetgrent.sh: Likewise.
31042 * iconvdata/run-iconv-test.sh: Likewise.
31043 * intl/tst-gettext.sh: Likewise.
31044 * intl/tst-gettext2.sh: Likewise.
31045 * intl/tst-gettext4.sh: Likewise.
31046 * intl/tst-gettext6.sh: Likewise.
31047 * intl/tst-translit.sh: Likewise.
31048 * io/ftwtest-sh: Likewise.
31049 * libio/test-freopen.sh: Likewise.
31050 * malloc/tst-mtrace.sh: Likewise.
31051 * posix/globtest.sh: Likewise.
31052 * posix/tst-getconf.sh: Likewise.
31053 * posix/wordexp-tst.sh: Likewise.
31054 * stdio-common/tst-printf.sh: Likewise.
31055 * stdio-common/tst-unbputc.sh: Likewise.
31056 * stdlib/tst-fmtmsg.sh: Likewise.
31057 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31058 * catgets/Makefile: Do not specify -e option when running
31059 testsuite shell scripts.
31060 * elf/Makefile: Likewise.
31061 * grp/Makefile: Likewise.
31062 * iconvdata/Makefile: Likewise.
31063 * intl/Makefile: Likewise.
31064 * io/Makefile: Likewise.
31065 * libio/Makefile: Likewise.
31066 * malloc/Makefile: Likewise.
31067 * posix/Makefile: Likewise.
31068 * stdio-common/Makefile: Likewise.
31069 * stdlib/Makefile: Likewise.
31070 * sysdeps/x86_64/Makefile: Likewise.
31072 * io/ftwtest-sh: Add copyright header.
31073 * posix/globtest.sh: Likewise.
31074 * posix/tst-getconf.sh: Likewise.
31075 * posix/wordexp-tst.sh: Likewise.
31076 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31078 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31081 * Makeconfig (+link): Defined as $(+link-static) if
31082 $(build-shared) isn't yes.
31083 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31085 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31087 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31090 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31091 new chunk size with MALLOC_ALIGN_MASK.
31093 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31096 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31098 (__printf_fphex): Determine rounding using get_rounding_mode and
31100 * stdio-common/tst-printf-round.c (struct hex_test): New
31102 (hex_tests): New variable.
31103 (test_hex_in_one_mode): New function.
31104 (do_test): Also run tests for hex float output.
31106 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31108 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31109 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31110 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31111 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31112 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31113 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31114 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31115 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31117 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31119 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31120 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31121 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31122 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31124 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31127 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31129 * elf/tst-rtld-load-self.sh: New test.
31130 * elf/Makefile: Run it.
31132 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31134 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31135 (tst-writev-ENV): Remove.
31136 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31138 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31140 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31142 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31144 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31146 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31148 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31149 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31150 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31153 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31156 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31157 * config.make.in (have-cpp-asm-debuginfo): Removed.
31158 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31159 * configure: Regenerated.
31161 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31164 * stdio-common/printf_fp.c: Include <stdbool.h> and
31166 (___printf_fp): Determine rounding using get_rounding_mode and
31168 * stdio-common/tst-printf-round.c: New file.
31169 * stdio-common/Makefile (tests): Add tst-printf-round.
31170 (link-libm): New variable.
31171 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31173 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31176 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31177 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31179 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31182 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31184 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31185 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31186 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31187 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31189 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31192 * include/rounding-mode.h: New file.
31193 * sysdeps/generic/get-rounding-mode.h: Likewise.
31194 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31195 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31196 (MAX_VALUE): New macro.
31197 (MIN_VALUE): Likewise.
31198 (overflow_value): New function.
31199 (underflow_value): Likewise.
31200 (round_and_return): Use overflow_value and underflow_value to
31201 determine return values in overflow and underflow cases. Use
31202 round_away to determine rounding depending on rounding mode.
31203 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31204 determine return values in overflow and underflow cases.
31205 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31206 (struct test_results): New structure.
31207 (struct test): Use struct test_results to store expected results
31208 for all rounding modes.
31209 (TEST): Include expected results for all rounding modes.
31210 (test_in_one_mode): New function.
31211 (do_test): Use test_in_one_mode to compute and check results.
31212 Check results for all rounding modes.
31213 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31216 2012-12-09 Allan McRae <allan@archlinux.org>
31218 * sysdeps/i386/fpu/libm-test-ulps: Update
31220 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31222 * sysdeps/generic/_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/gnu/_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.
31238 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31239 (_G_int32_t): Likewise.
31240 (_G_uint16_t): Likewise.
31241 (_G_uint32_t): Likewise.
31242 (_G_HAVE_BOOL): Likewise.
31243 (_G_HAVE_ATEXIT): Likewise.
31244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31245 (_G_HAVE_IO_FILE_OPEN): Likewise.
31247 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31249 * csu/libc-tls.c: Update copyright years.
31251 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31253 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31254 [!_G_USING_THUNKS]: Remove conditional code.
31255 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31256 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31258 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31259 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31260 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31261 (_G_VTABLE_LABEL_PREFIX): Likewise.
31262 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31263 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31264 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31265 (_G_VTABLE_LABEL_PREFIX): Likewise.
31266 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31267 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31268 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31269 (_G_VTABLE_LABEL_PREFIX): Likewise.
31270 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31272 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31274 * libio/Makefile: Include ../Makeconfig before tests.
31275 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31276 only if $(build-shared) is yes.
31278 * iconv/gconv_db.c: Update copyright years.
31280 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31282 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31283 unwind info if defined PIC. Fix special cases description.
31284 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31286 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31288 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31290 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31292 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31294 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31297 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31298 (LDLIBS-tst-chk4): This.
31299 (LDFLAGS-tst-chk5): Renamed to ...
31300 (LDLIBS-tst-chk5): This.
31301 (LDFLAGS-tst-chk6): Renamed to ...
31302 (LDLIBS-tst-chk6): This.
31303 (LDFLAGS-tst-lfschk4): Renamed to ...
31304 (LDLIBS-tst-lfschk4): This.
31305 (LDFLAGS-tst-lfschk5): Renamed to ...
31306 (LDLIBS-tst-lfschk5): This.
31307 (LDFLAGS-tst-lfschk6): Renamed to ...
31308 (LDLIBS-tst-lfschk6): This.
31310 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31311 on $(common-objpfx)soversions.mk.
31313 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31316 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31319 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31321 * malloc/arena.c (arena_get_retry): New function that gets
31322 another arena for the caller to try its request on.
31323 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31324 current arena cannot fulfill the request.
31325 (__libc_memalign): Likewise.
31326 (__libc_memalign): Likewise.
31327 (__libc_pvalloc): Likewise.
31328 (__libc_calloc): Likewise.
31330 2012-09-05 John Tobey <john.tobey@gmail.com>
31333 * manual/arith.texi (Operations on Complex): Fix description
31334 of carg branch cut.
31336 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31339 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31343 * manual/memory.texi (Memory): Make order of menu items match
31346 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31348 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31349 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31350 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31352 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31354 * csu/libc-tls.c (static_dtv): Renamed to ...
31355 (_dl_static_dtv): This. Make it global.
31356 (_dl_initial_dtv): Removed.
31357 (__libc_setup_tls): Updated.
31358 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31359 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31362 2012-09-06 Petr Machata <pmachata@redhat.com>
31364 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31365 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31366 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31367 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31369 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31372 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31373 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31376 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31379 * Makeconfig (link-static-before-libc): Replace $(+prector)
31381 (link-static-after-libc): Replace $(+postctor) with
31383 (link-bounded): Replace $(+prector)/$(+postctor) with
31384 $(+prectorT)/$(+postctorT).
31385 (+prectorT): New macro.
31386 (+postctorT): Likewise.
31388 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31390 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31391 (round_str): Handle values above the maximum for IBM long double
31393 * stdlib/tst-strtod-round.c (tests): Regenerated.
31395 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31397 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31399 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31400 zarch_nohighgprs around the zarch optimized routines.
31401 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31402 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31406 2012-09-05 David S. Miller <davem@davemloft.net>
31408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31410 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31411 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31412 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31413 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31416 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31418 * malloc/arena.c: Fold copyright years.
31419 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31421 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31423 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31425 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31427 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31429 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31431 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31432 change internal state upon failure.
31434 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31436 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31437 * malloc/memusage.c (mmap): Likewise.
31438 (mmap64, mremap): Likewise. Adjust name in comment.
31440 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31442 * libio/fileops.c: Fix typos in comments.
31443 * libio/oldfileops.c: Likewise.
31444 * libio/wfileops.c: Likewise.
31446 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31449 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31450 (tst-malloc-usable-ENV): Set environment for test case.
31451 * malloc/hooks.c (malloc_check_get_size): New function to get
31453 * malloc/malloc.c (musable): Use malloc_check_get_size.
31454 * malloc/tst-malloc-usable.c: New test case.
31456 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31458 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31460 2012-09-05 Allan McRae <allan@archlinux.org>
31463 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31464 determine header location.
31465 * configure: Regenerated.
31467 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31469 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31471 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31472 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31474 (test): Regenerate.
31476 2012-09-04 David S. Miller <davem@davemloft.net>
31478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31482 2012-09-04 Florian Weimer <fweimer@redhat.com>
31484 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31487 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31489 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31492 * libio/iogetdelim.c: Include <limits.h>.
31493 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31494 + len + 1 would overflow.
31496 2012-09-03 Andreas Jaeger <aj@suse.de>
31498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31499 * sysdeps/i386/fpu/libm-test-ulps: Update.
31501 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31503 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31504 Add s_sinf-sse2, s_conf-sse2.
31506 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31507 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31508 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31509 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31511 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31512 for using routine as __sinf_ia32.
31513 Use macro for function declaration and weak_alias.
31514 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31515 for using routine as __cosf_ia32.
31516 Use macro for function declaration and weak_alias.
31518 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31519 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31521 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31522 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31525 * math/libm-test.inc (cos_test): Add more test cases.
31526 (sin_test): Likewise.
31527 (sincos_test): Likewise.
31529 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31531 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31532 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31534 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31536 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31539 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31540 first element of the GOT.
31541 (elf_machine_load_address): Return the difference between
31542 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31544 2012-09-01 Allan McRae <allan@archlinux.org>
31547 * configure.in (AWK): Require gawk version 3.0 or later.
31548 * configure: Regenerated.
31550 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31552 * sysdeps/unix/sysv/linux/kernel-features.h
31553 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31554 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31555 [__NR_clock_getres]: Make code unconditional.
31556 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31557 (clock_getcpuclockid): Remove code left unreachable by removal of
31559 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31560 code unconditional.
31561 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31562 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31563 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31564 Make code unconditional.
31565 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31566 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31567 * sysdeps/unix/sysv/linux/clock_settime.c
31568 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31570 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31571 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31573 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31576 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31577 scripts/test-installation.pl.
31579 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31580 and $ld_so_version if it is set.
31582 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31586 failure if reading from procfs failed.
31587 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31589 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31591 * sysdeps/unix/sysv/linux/kernel-features.h
31592 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31593 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31594 Remove conditional code.
31595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31596 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31597 Remove conditional code.
31598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31599 * sysdeps/unix/sysv/linux/i386/fxstat.c
31600 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31602 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31603 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31605 * sysdeps/unix/sysv/linux/i386/lxstat.c
31606 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31608 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31609 Remove conditional code.
31610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31611 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31612 Remove conditional code.
31613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31614 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31615 <kernel-features.h>.
31616 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31618 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31619 Remove conditional code.
31620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31621 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31622 Remove conditional.
31624 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31627 * NEWS: Add fixed bug number.
31629 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31632 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31633 underflowing exponent in case of negative sign.
31634 * stdlib/tst-strtod-round-data: Add more tests.
31635 * stdlib/tst-strtod-round.c (tests): Regenerated.
31638 * stdlib/strtod_l.c (NDIG): Remove.
31639 (HEXNDIG): Likewise.
31640 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31641 smallest representable value.
31642 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31643 lie within an exact representation of 1/2 ulp of the result.
31644 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31646 (TENS_P9_IDX): Define unconditionally.
31647 (TENS_P9_SIZE): Likewise.
31648 (TENS_P10_IDX): Likewise.
31649 (TENS_P10_SIZE): Likewise.
31650 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31651 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31652 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31653 entries for 10^2^13 and 10^2^14.
31654 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31655 (TENS_P13_IDX): Define.
31656 (TENS_P13_SIZE): Likewise.
31657 (TENS_P14_IDX): Likewise.
31658 (TENS_P14_SIZE): Likewise.
31659 (_fpioconst_pow10): Change array size to
31660 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31662 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31663 1024]: Add entries for 10^2^13 and 10^2^14.
31664 [LAST_POW10 > _LAST_POW10]: Remove #error.
31665 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31666 (_fpioconst_pow10): Change array size to
31667 FPIOCONST_POW10_ARRAY_SIZE.
31668 * stdlib/gen-fpioconst.c: New file.
31669 * stdlib/gen-tst-strtod-round.c: Likewise.
31670 * stdlib/tst-strtod-round-data: Likewise.
31671 * stdlib/tst-strtod-round.c: Likewise.
31672 * stdlib/Makefile (tests): Add tst-strtod-round.
31675 * stdlib/strtod_l.c: Include <stdint.h>.
31676 (NDEBUG): Do not define.
31677 (round_and_return): Change EXPONENT parameter to type intmax_t.
31678 Rearrange calculations to avoid internal overflow possibilities.
31679 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31680 Rearrange calculations to avoid internal overflow possibilities.
31681 Assert that number fits inside MPNSIZE limbs.
31682 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31683 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31684 calculations and add assertions to avoid internal overflow
31685 possibilities. Add casts to avoid signed/unsigned operations.
31686 * stdlib/tst-strtod-overflow.c: New file.
31687 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31689 2012-08-25 Marek Polacek <polacek@redhat.com>
31691 * time/time.h: Fix some typos in comments.
31693 2012-08-23 Roland McGrath <roland@hack.frob.com>
31695 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31696 * posix/tst-rfc3484-2.c: Likewise.
31697 * posix/tst-rfc3484-3.c: Likewise.
31699 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31701 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31702 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31704 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31706 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31707 #include of fxstatat64.c.
31709 2012-08-22 Roland McGrath <roland@hack.frob.com>
31711 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31712 * shadow/getspent_r.c: Likewise.
31713 * shadow/getspnam.c: Likewise.
31714 * shadow/getspnam_r.c: Likewise.
31715 * gshadow/getsgent.c: Likewise.
31716 * gshadow/getsgent_r.c: Likewise.
31717 * gshadow/getsgnam.c: Likewise.
31718 * gshadow/getsgnam_r.c: Likewise.
31719 * inet/getnetbyad.c: Likewise.
31720 * inet/getnetbyad_r.c: Likewise.
31721 * inet/getnetbynm.c: Likewise.
31722 * inet/getnetbynm_r.c: Likewise.
31723 * inet/getnetent.c: Likewise.
31724 * inet/getnetent_r.c: Likewise.
31725 * inet/getproto.c: Likewise.
31726 * inet/getproto_r.c: Likewise.
31727 * inet/getprtent.c: Likewise.
31728 * inet/getprtent_r.c: Likewise.
31729 * inet/getprtname.c: Likewise.
31730 * inet/getprtname_r.c: Likewise.
31731 * inet/getrpcbyname.c: Likewise.
31732 * inet/getrpcbyname_r.c: Likewise.
31733 * inet/getrpcbynumber.c: Likewise.
31734 * inet/getrpcbynumber_r.c: Likewise.
31735 * inet/getrpcent.c: Likewise.
31736 * inet/getrpcent_r.c: Likewise.
31737 * inet/getaliasent.c: Likewise.
31738 * inet/getaliasent_r.c: Likewise.
31739 * inet/getaliasname.c: Likewise.
31740 * inet/getaliasname_r.c: Likewise.
31741 * nscd/getgrgid_r.c: Likewise.
31742 * nscd/getgrnam_r.c: Likewise.
31743 * nscd/gethstbyad_r.c: Likewise.
31744 * nscd/gethstbynm3_r.c: Likewise.
31745 * nscd/getpwnam_r.c: Likewise.
31746 * nscd/getpwuid_r.c: Likewise.
31747 * nscd/getsrvbynm_r.c: Likewise.
31748 * nscd/getsrvbypt_r.c: Likewise.
31749 * nscd/gai.c: Likewise.
31751 * configure.in (build_nscd): New substituted variable, set
31752 by --disable-build-nscd and defaults to $use_nscd.
31753 * configure: Regenerated.
31754 * config.make.in (build-nscd): New substituted variable.
31755 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31756 Change conditional to require [$(build-nscd) = yes] as well.
31757 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31760 * configure.in (use_nscd): New substituted variable, set by
31761 --disable-nscd. If enabled, define USE_NSCD.
31762 * configure: Regenerated.
31763 * config.h.in: Add USE_NSCD.
31764 * config.make.in (use-nscd): New substituted variable.
31765 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31766 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31767 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31768 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31769 (CFLAGS-getgrnam_r.c): Likewise.
31770 (CFLAGS-initgroups.c): Likewise.
31771 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31772 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31774 * inet/getnetgrent_r.c
31775 (nscd_setnetgrent): New function, broken out of ...
31776 (setnetgrent): ... here. Call it.
31777 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31778 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31779 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31780 * nscd/Makefile (routines, aux): Move definitions after include of
31781 Makeconfig. Conditionalize on [$(use-nscd) != no].
31782 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31783 Conditionalize on [USE_NSCD].
31784 (is_nscd, nscd_init_cb): Likewise.
31785 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31786 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31787 * nss/nss_db/db-init.c: Likewise.
31788 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31790 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31791 (make_request): Use it.
31792 (cache_valid_p): New function.
31793 (__check_pf): Use it.
31794 * NEWS: Add item for --disable-nscd.
31796 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31798 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31799 to support sed >= 4.2.1-20-ga9bf076.
31800 * configure: Regenerated.
31802 2012-08-22 Roland McGrath <roland@hack.frob.com>
31804 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31805 Conditionalize whole body on [IREL].
31807 2012-08-22 Jeff Law <law@redhat.com>
31810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31811 if the family is PF_UNSPEC.
31813 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31815 * Makerules (lib-version): Rename from V.
31816 (install-lib-nosubdir): Change V to lib-version.
31818 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31821 * powerpc32/power6/wcschr.c: New file.
31822 * powerpc32/power6/wcscpy.c: New file.
31823 * powerpc32/power6/wcsrchr.c: New file.
31824 * powerpc64/power6/wcschr.c: New file.
31825 * powerpc64/power6/wcscpy.c: New file.
31826 * powerpc64/power6/wcsrchr.c: New file.
31828 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31830 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31831 (two_way_short_needle): Use it.
31832 * string/strstr.c (AVAILABLE1_USES_J): Define.
31833 * string/strcasestr.c: Likewise.
31835 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31837 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31840 * NEWS: Add an entry.
31841 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31842 define their defaults.
31843 (two_way_short_needle): Detect end-of-string on-the-fly.
31844 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31845 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31846 * string/bug-strcasestr1.c: New test.
31847 * string/Makefile: Run it.
31849 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31852 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31853 the first character.
31855 2012-08-21 Roland McGrath <roland@hack.frob.com>
31857 * csu/elf-init.c (__libc_csu_irel): Function removed.
31858 * csu/libc-start.c (apply_irel): New function.
31859 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31861 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31863 * sysdeps/unix/sysv/linux/kernel-features.h
31864 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31865 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31866 <kernel-features.h>.
31867 [__NR_fadvise64_64]: Make code unconditional.
31868 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31869 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31870 !__NR_fadvise64_64)]: Likewise.
31871 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31872 !__NR_fadvise64_64))]: Likewise.
31873 [__NR_fadvise64]: Make code unconditional.
31874 [!__NR_fadvise64]: Remove conditional code.
31875 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31876 <kernel-features.h>.
31877 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31879 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31882 not include <kernel-features.h>.
31883 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31885 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31887 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31888 include <kernel-features.h>.
31889 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31891 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31894 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31896 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31897 slight instruction rearrangements per scrollpipe analysis.
31898 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31900 2012-08-20 Roland McGrath <roland@hack.frob.com>
31902 * manual/syslog.texi (syslog; vsyslog, closelog):
31903 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31904 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31906 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31907 DSOCAPS to match condition on defining it.
31909 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31911 * sysdeps/unix/sysv/linux/kernel-features.h
31912 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31914 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31915 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31917 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31918 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31920 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31921 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31923 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31924 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31926 * sysdeps/unix/sysv/linux/kernel-features.h
31927 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31928 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31930 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31931 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31932 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31933 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31934 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31935 Make code unconditional.
31936 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31937 (__mmap64) [!__NR_mmap2]: Likewise.
31938 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31939 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31940 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31941 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31942 [__NR_mmap2]: Make code unconditional.
31943 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31944 (__mmap64) [!__NR_mmap2]: Likewise.
31946 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31948 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31950 2012-08-18 Andreas Jaeger <aj@suse.de>
31952 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31954 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31956 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31957 * include/unistd.h (__have_sock_cloexec): Likewise.
31958 (__have_pipe2): Likewise.
31959 (__have_dup3): Likewise.
31961 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31964 * include/unistd.h (__have_pipe2): Change define into an extern int.
31965 (__have_dup3): Likewise.
31966 * socket/have_sock_cloexec.c: Include fcntl.h.
31967 (__have_pipe2): New variable.
31968 (__have_dup3): Likewise.
31970 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31972 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31974 2012-08-17 Marek Polacek <polacek@redhat.com>
31976 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31977 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31979 2012-08-17 Roland McGrath <roland@hack.frob.com>
31981 * configure.in: Add AC_SUBST for sysheaders.
31982 * configure: Regenerated.
31983 * config.make.in (sysheaders): New substituted variable.
31985 * sysdeps/unix/mkfifo.c: Moved ...
31986 * sysdeps/posix/mkfifo.c: ... here.
31987 * sysdeps/unix/mkfifoat.c: Moved ...
31988 * sysdeps/posix/mkfifoat.c: ... here.
31990 * sysdeps/unix/utime.c: Moved ...
31991 * sysdeps/posix/utime.c: ... here.
31993 * sysdeps/unix/time.c: Moved ...
31994 * sysdeps/posix/time.c: ... here.
31995 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31996 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31998 * sysdeps/unix/nice.c: Moved ...
31999 * sysdeps/posix/nice.c: ... here.
32001 * sysdeps/unix/alarm.c: Moved ...
32002 * sysdeps/posix/alarm.c: ... here.
32004 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32006 2012-08-17 Jeff Law <law@redhat.com>
32008 * intl/Makefile (codeset_mo): New variable.
32009 ($(codeset_mo)): New target.
32010 (tst-codeset.out): Depend on that. Remove explicit rule.
32011 (tst-gettext3.out, tst-gettext5.out): Likewise.
32012 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32013 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32014 * intl/tst-codeset.sh: Remove.
32015 * intl/tst-gettext3.sh: Likewise.
32016 * intl/tst-gettext5.sh: Likewise.
32018 2012-08-17 Roland McGrath <roland@hack.frob.com>
32020 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32021 * sysdeps/unix/syscalls.list: ... here.
32023 * sysdeps/posix/getaddrinfo.c
32024 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32025 (gaiconf_init, gaiconf_reload): Use them.
32026 [!_STATBUF_ST_NSEC]
32027 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32028 Define using time_t rather than struct timespec.
32030 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32031 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32033 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32035 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32036 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32039 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32040 __libc_cleanup_push argument.
32042 * bits/param.h: New file.
32043 * misc/sys/param.h: New file.
32044 * include/sys/param.h: New file.
32045 * misc/Makefile (headers): Add bits/param.h.
32046 * sysdeps/generic/sys/param.h: File removed.
32047 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32048 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32049 * sysdeps/mach/hurd/bits/param.h: New file.
32050 * sysdeps/mach/hurd/sys/param.h: File removed.
32052 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32055 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32057 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32058 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32061 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32062 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32063 rather than -D_IO_MTSAFE_IO conditionally.
32064 * stdio-common/Makefile (CPPFLAGS): Likewise.
32065 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32066 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32067 Use $(libio-mtsafe).
32068 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32069 of -D_IO_MTSAFE_IO.
32070 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32071 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32072 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32073 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32074 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32075 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32076 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32077 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32078 (CFLAGS-fread_u_chk.c): Likewise.
32079 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32080 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32081 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32082 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32083 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32084 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32085 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32086 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32087 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32089 * libio/Makefile: Test [$(libc-reentrant) = yes]
32090 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32093 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32094 * sysdeps/pthread/configure: File removed.
32095 * sysdeps/pthread/Makeconfig: New file.
32096 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32097 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32099 2012-08-16 Gary Benson <gbenson@redhat.com>
32101 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32102 unmapping the first object in a namespace.
32104 2012-08-16 Roland McGrath <roland@hack.frob.com>
32106 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32107 (__internal_setnetgrent): ... this. Add internal_function to
32108 definition. Add libc_hidden_def.
32109 (setnetgrent): Update caller.
32110 (internal_endnetgrent): Renamed to ...
32111 (__internal_endnetgrent): ... this. Add internal_function to
32112 definition. Add libc_hidden_def.
32113 (endnetgrent): Update caller.
32114 (internal_getnetgrent_r): Renamed to ...
32115 (__internal_getnetgrent_r): ... this. Add internal_function to
32116 definition. Add libc_hidden_def.
32117 (__getnetgrent_r): Update caller.
32118 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32120 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32122 * stdlib/longlong.h: Update from GCC.
32124 2012-08-16 Roland McGrath <roland@hack.frob.com>
32126 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32127 on _QL, which is set by umul_ppmm but never used.
32128 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32129 variables, which are set by GMP macros but never used.
32130 * stdio-common/_itowa.c (_itowa): Likewise.
32131 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32132 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32134 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32136 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32137 struct La_sh_regs is not constant.
32138 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32139 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32140 and struct La_sparc64_regs are not constant.
32142 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32144 * sysdeps/unix/sysv/linux/kernel-features.h
32145 (__ASSUME_POSIX_TIMERS): Remove.
32146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32148 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32149 Make code unconditional.
32150 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32151 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32152 Make code unconditional.
32153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32154 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32155 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32156 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32157 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32158 Make code unconditional.
32159 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32160 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32161 (__libc_missing_posix_timers): Remove.
32163 2012-08-15 Roland McGrath <roland@hack.frob.com>
32165 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32166 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32168 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32170 * elf/dl-sym.c: Include <stdlib.h>.
32172 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32173 constants, which avoids warnings in 32-bit builds.
32175 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32176 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32178 * misc/lseek.c: File moved to ...
32179 * io/lseek.c: ... here.
32181 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32183 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32184 shifting LEN more than 31 bits at once.
32186 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32189 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32190 segmentation fault for a case of two empty input strings.
32191 * string/test-strncasecmp.c (check1): Renamed to...
32192 (bz12205): ...this.
32193 (bz14195): Add new testcase for two empty input strings and N > 0.
32194 (test_main): Call new testcase, adapt for renamed function.
32196 2012-08-15 Andreas Jaeger <aj@suse.de>
32199 * crypt/md5test2.c: New test, based on test supplied by Serge
32200 Belyshev <belyshev@depni.sinp.msu.ru>.
32201 * crypt/Makefile (xtests): Add md5test-giant..
32202 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32204 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32207 * crypt/md5.c (md5_process_block): Don't assume the buffer
32208 length is less than 2**32.
32209 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32210 length is less than 2**64.
32212 2012-08-15 Roland McGrath <roland@hack.frob.com>
32214 * string/str-two-way.h: Include <sys/param.h>.
32215 (MAX): Macro removed.
32217 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32218 Move #define and #undef of memmove to just before and after
32219 including <string.h>.
32221 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32222 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32223 and after including <string.h>. Move declarations of
32224 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32225 to before #include "string/memmove.c".
32227 * include/dirent.h: Declare __getdirentries.
32229 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32230 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32232 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32234 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32235 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32236 * sysdeps/i386/configure: Regenerated.
32237 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32238 STABS_CURRENT_FILE, and STABS_FUN.
32239 (END): Remove call to STABS_FUN_END.
32240 (STABS_CURRENT_FILE1): Delete.
32241 (STABS_CURRENT_FILE): Likewise.
32242 (STABS_FUN): Likewise.
32243 (STABS_FUN_END): Likewise.
32244 (STABS_FUN2): Likewise.
32245 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32246 * sysdeps/x86_64/configure: Regenerated.
32248 2012-08-14 Roland McGrath <roland@hack.frob.com>
32250 * elf/dl-open.c: Include <atomic.h>.
32251 * elf/dl-lookup.c: Likewise.
32253 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32255 * sysdeps/unix/sysv/linux/kernel-features.h
32256 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32257 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32259 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32261 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32262 condition on __ASSUME_CLONE_THREAD_FLAGS.
32264 2012-08-14 Andreas Jaeger <aj@suse.de>
32266 * sysdeps/i386/fpu/libm-test-ulps: Update.
32268 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32270 * include/atomic.h (atomic_exchange_and_add): Split into ...
32271 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32274 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32278 2012-08-13 Jeff Law <law@redhat.com>
32280 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32281 null byte in the output string.
32283 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32285 * sysdeps/unix/sysv/linux/kernel-features.h
32286 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32287 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32288 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32289 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32290 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32291 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32292 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32294 2012-08-09 Jeff Law <law@redhat.com>
32297 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32298 When avoid_arena is set, don't retry in the that arena. Pick the
32299 next one, whatever it might be.
32300 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32301 (arena_lock): Pass in new parameter to arena_get2.
32302 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32304 (__libc_malloc): Unify retrying after main arena failure with
32305 __libc_memalign version.
32306 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32308 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32311 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32312 to __redirect_strstr.
32313 (__strstr_sse42): Use typeof __redirect_strstr.
32314 (__strstr_ia32): Likewise.
32315 (__libc_strstr): New prototype.
32316 (strstr): Renamed to ...
32317 (__libc_strstr): This.
32318 (strstr): New strong alias of __libc_strstr.
32319 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32320 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32323 (__libc_time): New prototype.
32324 (time_ifunc): Replace time with __libc_time.
32325 (time): New strong alias and hidden definition of __libc_time.
32326 (__GI_time): Remove strong alias.
32327 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32328 Include <stddef.h>.
32329 (memmove): Redefined to __redirect_memmove.
32330 (__memmove_sse2): Use typeof __redirect_memmove.
32331 (__memmove_ssse3): Likewise.
32332 (__memmove_ssse3_back): Likewise.
32333 (__libc_memmove): New prototype.
32334 (memmove): Renamed to ...
32335 (__libc_memmove): This.
32336 (memmove): New strong alias of __libc_memmove.
32338 2012-08-08 Mark Salter <msalter@redhat.com>
32341 (R_MN10300_TLS_GD): Define.
32342 (R_MN10300_TLS_LD): Likewise.
32343 (R_MN10300_TLS_LDO): Likewise.
32344 (R_MN10300_TLS_GOTIE): Likewise.
32345 (R_MN10300_TLS_IE): Likewise.
32346 (R_MN10300_TLS_LE): Likewise.
32347 (R_MN10300_TLS_DTPMOD): Likewise.
32348 (R_MN10300_TLS_DTPOFF): Likewise.
32349 (R_MN10300_TLS_TPOFF): Likewise.
32350 (R_MN10300_SYM_DIFF): Likewise.
32351 (R_MN10300_ALIGN): Likewise.
32352 (R_MN10300_NUM): Update.
32354 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32359 2012-08-08 Roland McGrath <roland@hack.frob.com>
32361 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32363 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32364 sysdeps/unix -> sysdeps/posix move.
32365 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32367 2012-08-07 Allan McRae <allan@archlinux.org>
32370 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32371 (SUNOS_CPP): Likewise.
32372 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32374 (open_input): Call CPP using execvp.
32376 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32378 * sysdeps/unix/sysv/linux/kernel-features.h
32379 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32380 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32381 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32382 (__ASSUME_WAITID_SYSCALL): Likewise.
32383 * sysdeps/unix/sysv/linux/dl-execstack.c
32384 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32385 code unconditional.
32386 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32388 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32389 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32390 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32392 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32394 [__ASSUME_WAITID_SYSCALL]: Likewise.
32395 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32397 2012-08-07 Roland McGrath <roland@hack.frob.com>
32399 * sysdeps/unix/closedir.c: Renamed to ...
32400 * sysdeps/posix/closedir.c: ... here.
32401 * sysdeps/unix/dirfd.c: Renamed to ...
32402 * sysdeps/posix/dirfd.c: ... here.
32403 * sysdeps/unix/dirstream.h: Renamed to ...
32404 * sysdeps/posix/dirstream.h: ... here.
32405 * sysdeps/unix/fdopendir.c: Renamed to ...
32406 * sysdeps/posix/fdopendir.c: ... here.
32407 * sysdeps/unix/opendir.c: Renamed to ...
32408 * sysdeps/posix/opendir.c: ... here.
32409 * sysdeps/unix/readdir.c: Renamed to ...
32410 * sysdeps/posix/readdir.c: ... here.
32411 * sysdeps/unix/readdir_r.c: Renamed to ...
32412 * sysdeps/posix/readdir_r.c: ... here.
32413 * sysdeps/unix/rewinddir.c: Renamed to ...
32414 * sysdeps/posix/rewinddir.c: ... here.
32415 * sysdeps/unix/seekdir.c: Renamed to ...
32416 * sysdeps/posix/seekdir.c: ... here.
32417 * sysdeps/unix/telldir.c: Renamed to ...
32418 * sysdeps/posix/telldir.c: ... here.
32419 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32420 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32421 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32422 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32424 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32425 * bits/fcntl.h: ... here.
32427 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32429 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32430 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32431 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32432 (struct flock): Move l_start, l_len to the beginning.
32433 Use __pid_t for l_pid.
32434 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32435 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32436 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32437 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32438 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32439 [__USE_LARGEFILE64] (struct flock64): New type.
32440 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32442 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32443 * bits/dirent.h: ... here.
32445 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32446 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32448 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32451 Change from 2.6.0 to 2.6.16.
32452 * sysdeps/unix/sysv/linux/configure: Regenerated.
32453 * sysdeps/unix/sysv/linux/kernel-features.h
32454 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32455 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32457 (__ASSUME_UTIMES): Likewise.
32458 (__ASSUME_CLONE_STOPPED): Remove.
32459 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32460 architectures, not kernel version.
32461 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32462 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32463 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32464 (__ASSUME_WAITID_SYSCALL): Likewise.
32465 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32466 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32467 * README: State 2.6.16 as minimum Linux kernel version. Do not
32468 refer to older versions.
32470 2012-08-06 Roland McGrath <roland@hack.frob.com>
32472 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32473 Define alphasort64 as an alias.
32474 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32475 Define versionsort64 as an alias.
32476 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32477 Define scandir64 as an alias.
32478 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32479 Define scandirat64 as an alias.
32480 * dirent/alphasort64.c (alphasort64):
32481 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32482 * dirent/versionsort64.c: Likewise.
32483 * dirent/scandir64.c: Likewise.
32484 * dirent/scandirat64.c: Likewise.
32485 * sysdeps/wordsize-64/alphasort.c: File removed.
32486 * sysdeps/wordsize-64/alphasort64.c: File removed.
32487 * sysdeps/wordsize-64/scandir.c: File removed.
32488 * sysdeps/wordsize-64/scandir64.c: File removed.
32489 * sysdeps/wordsize-64/scandirat.c: File removed.
32490 * sysdeps/wordsize-64/scandirat64.c: File removed.
32491 * sysdeps/wordsize-64/versionsort.c: File removed.
32492 * sysdeps/wordsize-64/versionsort64.c: File removed.
32493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32502 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32504 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32506 [defined __arch64__ || defined __sparcv9]
32507 (__INO_T_MATCHES_INO64_T): New macro.
32508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32509 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32510 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32511 * sysdeps/unix/sysv/linux/bits/dirent.h
32512 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32513 (_DIRENT_MATCHES_DIRENT64): New macro.
32515 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32516 Define lockf64 as an alias.
32517 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32518 Define fseeko64 as an alias.
32519 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32520 Define ftello64 as an alias.
32521 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32522 Define _IO_fgetpos64 and fgetpos64 as aliases.
32523 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32524 Define _IO_fsetpos64 and fsetpos64 as aliases.
32525 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32526 Conditionalize body on this.
32527 * libio/fseeko64.c: Likewise.
32528 * libio/ftello64.c: Likewise.
32529 * libio/iofgetpos64.c: Likewise.
32530 * libio/iofsetpos64.c: Likewise.
32531 * sysdeps/wordsize-64/lockf.c: File removed.
32532 * sysdeps/wordsize-64/lockf64.c: File removed.
32533 * sysdeps/wordsize-64/fseeko.c: File removed.
32534 * sysdeps/wordsize-64/fseeko64.c: File removed.
32535 * sysdeps/wordsize-64/ftello.c: File removed.
32536 * sysdeps/wordsize-64/ftello64.c: File removed.
32537 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32538 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32539 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32540 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32543 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32544 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32545 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32546 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32549 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32550 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32552 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32554 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32556 [defined __arch64__ || defined __sparcv9]
32557 (__OFF_T_MATCHES_OFF64_T): New macro.
32558 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32559 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32560 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32561 (__OFF_T_MATCHES_OFF64_T): New macro.
32563 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32565 * stdlib/secure-getenv.c (__secure_getenv): Replace
32566 GLIBC_2_16 with GLIBC_2_17.
32568 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32573 2012-08-03 David S. Miller <davem@davemloft.net>
32575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32577 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32581 (__ASSUME_CORRECT_SI_PID): Likewise.
32582 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32583 (__ASSUME_TMPFS_NAME): Likewise.
32584 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32585 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32586 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32587 (HAVE_AUX_SECURE): Make definition unconditional.
32588 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32589 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32591 2012-08-03 Roland McGrath <roland@hack.frob.com>
32593 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32594 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32595 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32596 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32597 __eloop_threshold instead of SYMLOOP_MAX.
32599 * sysdeps/generic/eloop-threshold.h: New file.
32600 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32602 * elf/chroot_canon.c (chroot_canon): Likewise.
32604 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32608 Change to 2.6.0 everywhere.
32609 * sysdeps/unix/sysv/linux/configure: Regenerated.
32610 * sysdeps/unix/sysv/linux/kernel-features.h
32611 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32612 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32614 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32615 (__ASSUME_FUTEX_REQUEUE): Remove.
32616 (__ASSUME_STATFS64): Define unconditionally.
32617 (__ASSUME_AT_SECURE): Likewise.
32618 (__ASSUME_CORRECT_SI_PID): Likewise.
32619 (__ASSUME_TGKILL): Define without depending on kernel version for
32621 (__ASSUME_UTIMES): Likewise.
32622 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32624 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32625 (__ASSUME_TMPFS_NAME): Likewise.
32626 * README: Update reference to Linux kernel versions.
32628 2012-08-02 Marek Polacek <polacek@redhat.com>
32631 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32632 libc_cv_asm_type_prefix with %.
32633 * configure: Regenerated.
32634 * include/libc-symbols.h: Remove comment about
32635 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32636 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32637 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32638 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32639 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32640 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32641 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32642 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32643 * elf/tst-unique2mod1.c: Likewise.
32644 * elf/tst-unique1mod2.c: Likewise.
32645 * elf/tst-unique1mod1.c: Likewise.
32646 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32647 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32648 Replace ASM_TYPE_DIRECTIVE with .type.
32649 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32650 * sysdeps/i386/sysdep.h: Likewise.
32651 * sysdeps/x86_64/sysdep.h: Likewise.
32652 * sysdeps/sh/sysdep.h: Likewise.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32654 Do not define ASM_TYPE_DIRECTIVE.
32655 * sysdeps/powerpc/sysdep.h: Likewise.
32656 * sysdeps/powerpc/powerpc32/sysdep.h:
32657 Replace ASM_TYPE_DIRECTIVE with .type.
32658 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32659 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32660 * sysdeps/i386/fpu/e_powf.S: Likewise.
32661 * sysdeps/i386/fpu/e_expl.S: Likewise.
32662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32664 * sysdeps/i386/fpu/e_pow.S: Likewise.
32665 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32666 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32667 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32668 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32669 * sysdeps/i386/fpu/e_log2.S: Likewise.
32670 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32671 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32672 * sysdeps/i386/fpu/e_powl.S: Likewise.
32673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32674 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32675 * sysdeps/i386/fpu/e_logl.S: Likewise.
32676 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32677 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32678 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32679 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32680 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32681 * sysdeps/i386/fpu/e_log.S: Likewise.
32682 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32683 * sysdeps/i386/fpu/e_logf.S: Likewise.
32684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32686 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32687 * sysdeps/i386/fpu/e_log10.S: Likewise.
32688 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32689 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32690 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32691 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32693 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32694 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32695 * sysdeps/i386/i686/strtok.S: Likewise.
32696 * sysdeps/i386/i386-mcount.S: Likewise.
32697 * sysdeps/i386/strtok.S: Likewise.
32698 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32699 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32702 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32703 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32704 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32705 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32707 * sysdeps/x86_64/_mcount.S: Likewise.
32708 * sysdeps/x86_64/strtok.S: Likewise.
32709 * sysdeps/sh/_mcount.S: Likewise.
32711 2012-08-01 Roland McGrath <roland@hack.frob.com>
32713 * libio/iofopen.c: Include <fcntl.h>.
32714 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32715 (_IO_fopen64, fopen64): Define as aliases.
32716 * libio/iofopen64.c: Include <fcntl.h>.
32717 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32718 Conditionalize body on this.
32719 * sysdeps/wordsize-64/iofopen.c: File removed.
32720 * sysdeps/wordsize-64/iofopen64.c: File removed.
32722 2012-08-01 Marek Polacek <polacek@redhat.com>
32724 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32725 Use dlfcn directly instead of a variable.
32726 (binfmt-subdir): Do not define.
32729 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32732 Remove all definitions.
32733 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32734 <kernel-features.h>.
32735 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32736 (miss_F_GETOWN_EX): Remove all definitions.
32737 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32739 [!__ASSUME_FCNTL64]: Remove conditional code.
32740 [__ASSUME_FCNTL64]: Make code unconditional.
32741 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32742 <kernel-features.h>.
32743 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32744 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32745 (lockf64) [__NR_fcntl64]: Make code unconditional.
32746 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32748 * sysdeps/unix/sysv/linux/kernel-features.h
32749 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32750 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32751 Make code unconditional.
32752 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32753 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32755 [__NR_vfork]: Make code unconditional.
32756 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32757 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32759 [__NR_vfork]: Make code unconditional.
32760 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32761 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32763 2012-08-01 Roland McGrath <roland@hack.frob.com>
32765 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32766 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32768 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32769 Define mkstemp64 as an alias.
32770 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32771 Define mkstemps64 as an alias.
32772 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32773 Define mkostemp64 as an alias.
32774 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32775 Define mkostemps64 as an alias.
32776 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32777 Conditionalize body on this.
32778 * misc/mkostemp64.c: Likewise.
32779 * misc/mkostemps64.c: Likewise.
32780 * misc/mkstemps64.c: Likewise.
32781 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32782 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32783 * sysdeps/wordsize-64/mkostemp.c: File removed.
32784 * sysdeps/wordsize-64/mkstemp.c: File removed.
32785 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32791 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32792 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32793 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32794 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32796 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32797 compat_symbol macros from <shlib-compat.h> rather than the underlying
32798 default_symbol_version and symbol_version macros, so that DEFAULT
32799 lines in shlib-versions are respected.
32800 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32802 2012-08-01 Florian Weimer <fweimer@redhat.com>
32804 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32805 Declare with warn_unused_result.
32806 (setgid, setregid, setegid, setresgid): Likewise.
32807 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32809 * WUR-REPORT: Remove set*id functions.
32811 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32813 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32815 2012-07-31 Roland McGrath <roland@hack.frob.com>
32818 * include/sys/socket.h (__libc_accept, __libc_accept4):
32819 Add attribute_hidden.
32820 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32822 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32824 * inet/getnetgrent_r.c (setup): Likewise.
32826 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32828 2012-07-31 David S. Miller <davem@davemloft.net>
32830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32832 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32835 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32836 value between 1.0 and 2.0 and smaller part has absolute value less
32838 * math/s_clog10.c (__clog10): Likewise.
32839 * math/s_clog10f.c (__clog10f): Likewise.
32840 * math/s_clog10l.c (__clog10l): Likewise.
32841 * math/s_clogf.c (__clogf): Likewise.
32842 * math/s_clogl.c (__clogl): Likewise.
32843 * math/libm-test.inc (clog_test): Add more tests.
32844 (clog10_test): Likewise.
32845 * sysdeps/i386/fpu/libm-test-ulps: Update.
32846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32848 2012-07-31 Florian Weimer <fweimer@redhat.com>
32850 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32851 Exit with zero in case no suitable GID is found, and write a
32852 message to standard error.
32854 2012-07-30 Roland McGrath <roland@hack.frob.com>
32856 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32858 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32859 (MAXPATHLEN): Removed.
32860 (NOGROUP, NODEV): New macros.
32861 (setbit, clrbit, isset, isclr): New macros.
32862 (howmany, roundup, powerof2): New macros.
32863 (DEV_BSIZE): New macro.
32865 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32866 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32868 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32869 definition on [!__NO_LONG_DOUBLE_MATH].
32871 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32872 PTR_MANGLE and PTR_DEMANGLE.
32874 * socket/accept4.c (accept4): Rename to __libc_accept4.
32875 Define accept4 as a weak alias.
32877 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32878 on [_DIRENT_HAVE_D_TYPE].
32879 * io/ftw.c (ftw_dir): Likewise.
32881 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32883 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32885 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32886 Use the BSD numbers rather than the arbitrary ones we had.
32887 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32888 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32889 (SIGXCPU, SIGXFSZ): New macros.
32892 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32893 initializer on [_LIBC_REENTRANT].
32895 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32896 definitions inside [_POSIX_MAPPED_FILES].
32898 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32900 * dirent/opendir.c: Include <fcntl.h>.
32902 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32903 (__libc_getspecific): Likewise.
32904 (__libc_key_create): Likewise.
32906 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32907 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32908 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32909 (tmpfile64): Define as alias.
32910 * sysdeps/wordsize-64/tmpfile.c: File removed.
32911 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32912 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32915 * stdio-common/vfscanf.c: Include <stdbool.h>.
32916 * nss/makedb.c: Likewise.
32917 * stdio-common/_i18n_number.h: Likewise.
32918 * argp/argp-help.c: Likewise.
32919 * posix/wordexp.c: Likewise.
32920 * sysdeps/posix/spawni.c: Likewise.
32921 * nss/nss_files/files-initgroups.c: Likewise.
32922 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32923 * nss/nss_files/files-initgroups.c: Likewise.
32924 * nss/nss_db/db-netgrp.c: Likewise.
32925 * nss/nss_db/db-initgroups.c: Likewise.
32926 * io/fchmodat.c: Include <sys/stat.h>.
32928 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32929 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32931 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32934 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32935 Add multiple inclusion protection.
32937 2012-07-27 David S. Miller <davem@davemloft.net>
32939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32941 2012-07-27 Gary Benson <gbenson@redhat.com>
32944 * elf/rtld.c: Include <stap-probe.h>.
32945 (dl_main): Added static probes "init_start" and "init_complete".
32946 * elf/dl-load.c: Include <stap-probe.h>.
32947 (lose): Take new parameter "nsid".
32948 Added static probe "map_failed".
32949 (_dl_map_object_from_fd): Pass namespace id to lose.
32950 Added static probe "map_start".
32951 (open_verify): Pass namespace id to lose.
32952 * elf/dl-open.c: Include <stap-probe.h>.
32953 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32954 and "reloc_complete".
32955 * elf/dl-close.c: Include <stap-probe.h>.
32956 (_dl_close_worker): Added static probes "unmap_start" and
32958 * elf/rtld-debugger-interface.txt: New file documenting the above.
32960 2012-07-26 Roland McGrath <roland@hack.frob.com>
32962 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32963 rather than a string variable.
32964 * sunrpc/rpc_main.c (h_output): Likewise.
32965 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32967 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32969 * inet/check_native.c: New file.
32971 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32974 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32975 if larger part has absolute value 1.0.
32976 * math/s_clog10.c (__clog10): Likewise.
32977 * math/s_clog10f.c (__clog10f): Likewise.
32978 * math/s_clog10l.c (__clog10l): Likewise.
32979 * math/s_clogf.c (__clogf): Likewise.
32980 * math/s_clogl.c (__clogl): Likewise.
32981 * math/libm-test.inc (clog_test): Add more tests.
32982 (clog10_test): Likewise.
32983 * sysdeps/i386/fpu/libm-test-ulps: Update.
32984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32986 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32987 (pltexit): Likewise.
32988 (La_regs): Likewise.
32989 (La_retval): Likewise.
32990 (int_retval): Likewise.
32991 Update #error for removed macros to refer only to definitions in
32993 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32995 (pltexit): Likewise.
32996 (La_regs): Likewise.
32997 (La_retval): Likewise.
32998 (int_retval): Likewise.
32999 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33001 (pltexit): Likewise.
33002 (La_regs): Likewise.
33003 (La_retval): Likewise.
33004 (int_retval): Likewise.
33005 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33007 (pltexit): Likewise.
33008 (La_regs): Likewise.
33009 (La_retval): Likewise.
33010 (int_retval): Likewise.
33011 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33013 (pltexit): Likewise.
33014 (La_regs): Likewise.
33015 (La_retval): Likewise.
33016 (int_retval): Likewise.
33017 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33019 (pltexit): Likewise.
33020 (La_regs): Likewise.
33021 (La_retval): Likewise.
33022 (int_retval): Likewise.
33023 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33025 (pltexit): Likewise.
33026 (La_regs): Likewise.
33027 (La_retval): Likewise.
33028 (int_retval): Likewise.
33029 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33030 macro definitions in tst-audit.h.
33031 * sysdeps/i386/tst-audit.h: New file.
33032 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33033 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33034 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33035 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33036 * sysdeps/sh/tst-audit.h: Likewise.
33037 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33038 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33039 * sysdeps/x86_64/tst-audit.h: Likewise.
33041 2012-07-26 Andreas Jaeger <aj@suse.de>
33043 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33046 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33047 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33048 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33050 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33051 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33052 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33054 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33057 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33059 (si_call_addr, si_syscall, si_arch): Define new macro.
33060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33062 (si_call_addr, si_syscall, si_arch): Define new marcro.
33063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33065 (si_call_addr, si_syscall, si_arch): Define new macro.
33066 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33068 (si_call_addr, si_syscall, si_arch): Define new macro.
33070 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33073 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33074 Change to 2.4.21 where previously 2.4.1.
33075 * sysdeps/unix/sysv/linux/configure: Regenerated.
33076 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33077 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33078 Linux kernel version.
33079 (__ASSUME_STD_AUXV): Remove.
33080 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33082 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33083 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33084 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33085 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33086 (__ASSUME_NETLINK_SUPPORT): Likewise.
33087 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33088 (__no_netlink_support): Remove conditional definition.
33089 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33091 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33092 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33093 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33094 (if_nameindex_ioctl): Remove.
33095 (if_nameindex_netlink): Do not handle __no_netlink_support.
33096 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33098 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33099 Remove conditional code.
33100 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33102 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33104 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33105 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33106 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33108 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33109 [!__ASSUME_STD_AUXV]: Remove conditional code.
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33111 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33112 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33114 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33115 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33117 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33119 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33120 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33122 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33124 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33127 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33130 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33131 code unconditional.
33132 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33134 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33136 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33139 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33141 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33144 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33145 code unconditional.
33146 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33148 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33150 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33153 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33154 code unconditional.
33155 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33157 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33159 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33162 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33164 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33165 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33166 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33167 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33168 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33169 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33170 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33171 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33172 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33173 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33174 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33175 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33176 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33177 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33178 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33179 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33180 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33181 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33182 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33184 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33185 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33188 2012-07-25 Florian Weimer <fweimer@redhat.com>
33190 * Versions.def: Add GLIBC_2.17.
33191 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33192 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33193 Introduce __libc_secure_getenv.
33194 * stdlib/Versions (2.17): Add secure_getenv
33195 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33196 * stdlib/secure-getenv.c: Rename __secure_getenv to
33197 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33198 symbol __secure_getenv for GLIBC_2.0.
33199 * stdlib/tst-secure-getenv.c: New.
33200 * stdlib/Makefile (tests): Add testcase.
33201 * manual/startup.texi (Environment Access): Document
33203 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33204 __libc_secure_getenv.
33205 * inet/ruserpass.c (ruserpass): Likewise.
33206 * malloc/mtrace.c (mtrace): Likewise.
33207 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33208 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33209 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33210 * sysdeps/posix/tempname.c: Likewise. Evaluate
33211 HAVE_SECURE_GETENV.
33212 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33213 __secure_getenv to __libc_secure_getenv.
33214 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33227 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33229 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33230 (struct La_i86_retval): Likewise.
33231 (struct La_x86_64_regs): Likewise.
33232 (struct La_x86_64_retval): Likewise.
33233 (struct La_x32_regs): Likewise.
33234 (struct La_x32_retval): Likewise.
33235 (struct La_ppc32_regs): Likewise.
33236 (struct La_ppc32_retval): Likewise.
33237 (struct La_ppc64_regs): Likewise.
33238 (struct La_ppc64_retval): Likewise.
33239 (struct La_sh_regs): Likewise.
33240 (struct La_sh_retval): Likewise.
33241 (struct La_s390_32_regs): Likewise.
33242 (struct La_s390_32_retval): Likewise.
33243 (struct La_s390_64_regs): Likewise.
33244 (struct La_s390_64_retval): Likewise.
33245 (struct La_sparc32_regs): Likewise.
33246 (struct La_sparc32_retval): Likewise.
33247 (struct La_sparc64_regs): Likewise.
33248 (struct La_sparc64_retval): Likewise.
33249 (struct audit_ifaces): Remove architecture-specific pltenter and
33251 * sysdeps/i386/ldsodefs.h: New file.
33252 * sysdeps/powerpc/ldsodefs.h: Likewise.
33253 * sysdeps/s390/ldsodefs.h: Likewise.
33254 * sysdeps/sh/ldsodefs.h: Likewise.
33255 * sysdeps/sparc/ldsodefs.h: Likewise.
33256 * sysdeps/x86_64/ldsodefs.h: Likewise.
33258 2012-07-25 Marek Polacek <polacek@redhat.com>
33261 * math/libm-test.inc (yn_test): Add another test.
33262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33263 to ERANGE when the result is +-Inf.
33264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33265 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33266 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33267 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33269 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33271 * conform/data/time.h-data (NULL): Use macro-constant. Require
33273 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33275 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33277 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33279 * configure.in <sysdeps resolving>: Correct printing
33281 * configure: Regenerate.
33283 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33285 * math/w_ilogb.c: Include <limits.h>.
33286 * math/w_ilogbl.c: Likewise.
33288 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33290 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33291 va_copy. Document allowing for unavailable va_copy only as
33292 pre-C99 compatibility.
33293 * manual/string.texi (Copying and Concatenation): Use va_copy
33294 instead of __va_copy in concat example.
33296 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33298 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33299 (__sendto): Use create_address_port. Initialize APORT and deallocate
33302 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33303 with O_NOLINK passed to __file_name_lookup.
33305 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33306 with O_NOLINK passed to __file_name_lookup.
33308 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33309 negative N or less than NGIDS.
33311 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33312 type to string_t. Set ERANGE as errno and return it if NAME is not big
33313 enough. Use memcpy instead of strncpy.
33315 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33317 * elf/Makefile (check-data): Remove.
33318 (localplt.data): New vpath directive.
33319 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33320 instead of $(check-data).
33321 * scripts/data/localplt-generic.data: Move to ...
33322 * sysdeps/generic/localplt.data: ... here.
33323 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33324 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33325 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33328 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33331 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33334 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33337 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33340 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33344 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33346 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33347 PPC32 and PPC64 files.
33348 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33349 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33351 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33353 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33354 __makecontext_ret to ...
33355 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33356 ... here and call exit if uc_link is NULL. New file.
33357 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33358 __makecontext_ret.S.
33359 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33360 __makecontext_ret to ...
33361 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33362 ... here and call exit if uc_link is NULL. New file.
33363 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33364 __makecontext_ret.S.
33366 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33368 * elf/elf.h (R_390_IRELATIVE): New definition.
33369 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33370 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33371 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33373 (elf_machine_lazy_rel): Likewise.
33374 * sysdeps/s390/dl-irel.h: New file.
33375 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33376 * sysdeps/s390/s390-64/memset.S: New asm code.
33377 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33378 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33379 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33380 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33381 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33382 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33383 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33384 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33385 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33386 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33387 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33388 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33389 * sysdeps/s390/s390-32/memset.S: New asm code.
33390 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33392 2012-07-17 Marek Polacek <polacek@redhat.com>
33395 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33396 * sysdeps/s390/s390-64/configure.in: Likewise.
33397 * sysdeps/sparc/configure.in: Likewise.
33398 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33399 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33400 * sysdeps/i386/configure.in: Likewise.
33401 * sysdeps/x86_64/configure.in: Likewise.
33402 * sysdeps/sh/configure.in: Likewise.
33403 * sysdeps/s390/s390-32/configure: Regenerated.
33404 * sysdeps/s390/s390-64/configure: Likewise.
33405 * sysdeps/x86_64/configure: Likewise.
33406 * sysdeps/sh/configure: Likewise.
33407 * sysdeps/powerpc/powerpc64/configure: Likewise.
33408 * sysdeps/powerpc/powerpc32/configure: Likewise.
33409 * sysdeps/sparc/configure: Likwise.
33410 * sysdeps/i386/configure: Likewise.
33412 * elf/dl-open.c: Comment fixes.
33414 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33416 * Makefile [CXX] (check-data): Remove.
33417 [CXX] (c++-types.data): New vpath directive.
33418 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33419 vpath. Do not allow for C++ type data being missing.
33420 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33421 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33422 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33423 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33424 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33425 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33426 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33429 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33432 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33435 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33438 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33441 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33444 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33447 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33450 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33451 definitions to architecture-specific files.
33452 (TLS_IE): Likewise.
33453 (TLS_LD): Likewise.
33454 (TLS_GD): Likewise.
33455 * sysdeps/i386/tls-macros.h: New file.
33456 * sysdeps/powerpc/tls-macros.h: Likewise.
33457 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33458 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33459 * sysdeps/sh/tls-macros.h: Likewise.
33460 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33461 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33462 * sysdeps/x86_64/tls-macros.h: Likewise.
33464 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33466 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33467 zero value for regular exit case.
33469 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33470 (__start_context): Preserve zero value for regular exit case.
33472 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33473 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33475 * manual/setjmp.texi (setcontext): Clarify normal process
33476 termination when uc_link is the null pointer.
33477 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33480 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33482 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33483 preprocessor. Test for each exception mask separately.
33485 2012-07-16 Andreas Jaeger <aj@suse.de>
33487 * po/ru.po: Update from translation team.
33489 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33491 * conform/data/string.h-data (NULL): Use macro-constant. Require
33493 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33494 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33495 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33496 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33497 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33499 2012-07-13 Andreas Jaeger <aj@suse.de>
33501 * po/fr.po: Update from translation team.
33503 2012-07-12 Marek Polacek <polacek@redhat.com>
33506 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33507 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33510 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33514 Change to 2.4.1 where previously 2.4.0.
33515 * sysdeps/unix/sysv/linux/configure: Regenerated.
33516 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33517 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33519 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33520 (__ASSUME_AT_CLKTCK): Remove.
33521 (__ASSUME_AT_PAGESIZE): Likewise.
33522 (__ASSUME_AT_XID): Likewise.
33523 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33524 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33525 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33527 (HAVE_AUX_PAGESIZE): Likewise.
33528 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33529 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33530 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33532 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33536 the temporary buffer used to invoke __gethostbyname2_r,
33537 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33538 host_data / struct gaih_addrtuple.
33539 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33540 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33541 header file nss/nsswitch.h.
33542 * nss/nsswitch.h (global scope): Add definition of implementation
33543 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33544 resolv/nss_dns/dns-host.c).
33546 2012-07-11 Andreas Jaeger <aj@suse.de>
33548 * po/fr.po: Update from translation team.
33550 * po/sv.po: Update from translation team
33551 * po/fr.po: Another update from translation team.
33553 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33555 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33556 for subnormals or multiply small sinh result by itself.
33557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33560 2012-07-11 David S. Miller <davem@davemloft.net>
33562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33564 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33567 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33568 (INTERNAL_MARK): Shift it here.
33570 2012-07-10 Marek Polacek <polacek@redhat.com>
33573 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33574 libc_cv_asm_global_directive with .globl.
33575 * configure: Regenerated.
33576 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33578 * sysdeps/i386/configure: Regenerated.
33579 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33581 * sysdeps/x86_64/configure: Regenerated.
33582 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33583 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33584 * elf/tst-unique2mod2.c: Likewise.
33585 * elf/tst-unique2mod1.c: Likewise.
33586 * elf/tst-unique1mod2.c: Likewise.
33587 * elf/tst-unique1mod1.c: Likewise.
33588 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33589 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33591 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33592 * sysdeps/mach/sysdep.h: Likewise.
33593 * sysdeps/i386/sysdep.h: Likewise.
33594 * sysdeps/i386/i386-mcount.S: Likewise.
33595 * sysdeps/x86_64/_mcount.S: Likewise.
33596 * sysdeps/x86_64/sysdep.h: Likewise.
33597 * sysdeps/sh/_mcount.S: Likewise.
33598 * sysdeps/sh/sysdep.h: Likewise.
33599 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33600 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33601 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33602 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33603 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33604 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33605 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33606 * locale/localeinfo.h: Likewise.
33607 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33608 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33610 2012-07-09 Roland McGrath <roland@hack.frob.com>
33613 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33615 * manual/message.texi (The Uniforum approach): Likewise.
33616 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33617 (glibc iconv Implementation): Likewise.
33619 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33622 * math/s_clog.c (__clog): Avoid scaling a value down where that
33623 could result in underflow.
33624 * math/s_clog10.c (__clog10): Likewise.
33625 * math/s_clog10f.c (__clog10f): Likewise.
33626 * math/s_clog10l.c (__clog10l): Likewise.
33627 * math/s_clogf.c (__clogf): Likewise.
33628 * math/s_clogl.c (__clogl): Likewise.
33629 * math/libm-test.inc (clog_test): Add more tests.
33630 (clog10_test): Likewise.
33631 * sysdeps/i386/fpu/libm-test-ulps: Update.
33632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33634 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33637 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33638 by 7 not 8 to examine high bit of fractional part.
33641 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33642 for call to __mcount_internal.
33643 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33644 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33645 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33647 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33650 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33651 approximation for values within 0x1p-13f of an odd multiple of
33653 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33654 exception. Add more tests.
33655 * sysdeps/i386/fpu/libm-test-ulps: Update.
33658 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33659 inputs and return -1 for them. Do not check for +Inf in case not
33660 reachable for +Inf.
33661 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33662 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33663 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33664 and return -1 for them. Do not check for +Inf in case not
33665 reachable for +Inf.
33666 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33668 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33669 and return -1 for them. Do not check for +Inf in case not
33670 reachable for +Inf.
33671 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33672 spurious underflow.
33673 * sysdeps/i386/fpu/libm-test-ulps: Update.
33674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33676 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33678 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33680 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33684 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33685 could result in spurious underflow. Scale down values above
33686 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33687 * math/s_csqrtf.c (__csqrtf): Likewise.
33688 * math/s_csqrtl.c (__csqrtl): Likewise.
33689 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33690 spurious underflow.
33691 * sysdeps/i386/fpu/libm-test-ulps: Update.
33692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33694 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33696 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33698 * catgets/xopen-msg.awk: New file.
33699 * catgets/xopen-msg.sed: Removed.
33701 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33703 * intl/po2test.awk: New file.
33704 * intl/po2test.sed: Removed.
33706 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33709 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33710 or multiply small sinh result by itself.
33711 * math/s_ctanf.c (__ctanf): Likewise.
33712 * math/s_ctanh.c (__ctanh): Likewise.
33713 * math/s_ctanhf.c (__ctanhf): Likewise.
33714 * math/s_ctanhl.c (__ctanhl): Likewise.
33715 * math/s_ctanl.c (__ctanl): Likewise.
33716 * math/libm-test.inc (ctan_test_tonearest): New function.
33717 (ctan_test_towardzero): Likewise.
33718 (ctan_test_downward): Likewise.
33719 (ctan_test_upward): Likewise.
33720 (ctanh_test_tonearest): Likewise.
33721 (ctanh_test_towardzero): Likewise.
33722 (ctanh_test_downward): Likewise.
33723 (ctanh_test_upward): Likewise.
33724 (main): Call these new functions.
33725 * sysdeps/i386/fpu/libm-test-ulps: Update.
33726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33730 * .gitignore: Delete /ports entry.
33732 2012-07-03 Andreas Jaeger <aj@suse.de>
33734 * po/bg.po: Update from translation team.
33735 * po/cs.po: Likewise.
33736 * po/de.po: Likewise.
33737 * po/hr.po: Likewise.
33738 * po/nl.pl: Likewise.
33739 * po/pl.po: Likewise.
33740 * po/vi.po: Likewise.
33742 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33744 * Makeconfig [!+link] (+link-before-libc): New variable.
33745 [!+link] (+link-after-libc): Likewise.
33746 [!+link] (+link-tests): Likewise.
33747 [!+link] (+link): Define in terms of $(+link-before-libc) and
33748 $(+link-after-libc).
33749 [!+link-static] (+link-static-before-libc): New variable.
33750 [!+link-static] (+link-static-after-libc): Likewise.
33751 [!+link-static] (+link-static-tests): Likewise.
33752 [!+link-static] (+link-static): Define in terms of
33753 $(+link-static-before-libc) and $(+link-static-after-libc).
33754 [build-shared] (link-libc-before-gnulib): New variable.
33755 [build-shared] (link-libc-tests): Likewise.
33756 [build-shared] (link-libc): Define in terms of
33757 $(link-libc-before-gnulib).
33758 [!build-shared] (link-libc-tests): New variable.
33759 (link-libc-static-tests): New variable.
33760 [!gnulib] (gnulib-arch): New variable.
33761 [!gnulib] (gnulib-tests): Likewise.
33762 [!gnulib] (static-gnulib-arch): Likewise.
33763 [!gnulib] (static-gnulib-tests): Likewise.
33764 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33765 Define with "=" instead of ":=".
33766 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33767 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33768 * Rules (binaries-all-notests): New variable.
33769 (binaries-all-tests): Likewise.
33770 (binaries-static-notests): Likewise.
33771 (binaries-static-tests): Likewise.
33772 (binaries-all): Define using $(binaries-all-notests) and
33773 $(binaries-all-tests).
33774 (binaries-static): Define using $(binaries-static-notests) and
33775 $(binaries-static-tests).
33776 (binaries-shared-tests): New variable.
33777 (binaries-shared-notests): Likewise.
33778 (binaries-shared): Remove variable.
33779 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33780 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33781 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33782 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33783 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33784 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33785 * elf/Makefile (sln-modules): New variable.
33786 (extra-objs): Add $(sln-modules:=.o).
33787 (ldconfig-modules): Add static-stubs.
33788 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33789 * elf/static-stubs.c: New file.
33792 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33793 by 7 not 8 to examine high bit of fractional part. Use volatile
33794 variables when splitting into final array of floats if
33795 __FLT_EVAL_METHOD__ != 0.
33796 * math/libm-test.inc (cos_test): Add another test.
33797 (sin_test): Likewise.
33798 * sysdeps/i386/fpu/libm-test-ulps: Update.
33801 * math/libm-test.inc (cosh_test): Add more tests.
33803 * version.h (RELEASE): Set to "development".
33804 (VERSION): Set to "2.16.90".
33806 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33808 * NEWS: Update copyright. Remove last-updated date.
33809 Mention math library bug fixes and timezone data changes.
33810 * README: Mention GNU/Hurd, x32, and HPPA support status.
33812 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33814 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33816 2012-06-27 Andreas Jaeger <aj@suse.de>
33818 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33820 2012-06-25 Andreas Jaeger <aj@suse.de>
33822 * sysdeps/s390/fpu/libm-test-ulps: Update.
33824 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33825 Thomas Schwinge <thomas@codesourcery.com>
33827 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33828 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33832 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33834 * sysdeps/mach/start.c: Remove file.
33835 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33836 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33837 * sysdeps/sh/init-first.c: Likewise.
33839 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33840 registers for frame unwinding purposes, add CFI directives.
33841 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33843 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33846 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33847 __fortify_fail returning.
33848 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33850 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33851 sysdeps/sh/____longjmp_chk.S.
33852 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33853 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33854 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33855 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33857 * sysdeps/sh/abort-instr.h: New file.
33858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33859 process in case exit returns.
33861 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33862 initialize the GOT register before use.
33864 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33865 calculation of ARGC > 4.
33867 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33868 meaningful names to some local labels.
33870 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33871 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33873 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33874 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33875 (__arch_compare_and_exchange_val_16_acq): Likewise.
33876 (__arch_compare_and_exchange_val_32_acq): Likewise.
33877 (atomic_exchange_and_add): Fix gUSA sequence.
33878 (atomic_add): Likewise.
33879 (atomic_add_negative): Likewise.
33880 (atomic_add_zero): Likewise.
33881 (atomic_bit_test_set): Likewise.
33883 2012-06-22 Andreas Schwab <schwab@redhat.com>
33886 * include/link.h (struct link_map): Add l_free_initfini.
33887 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33889 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33890 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33891 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33894 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33896 * configure.in: Use AC_LANG_SOURCE.
33897 * configure: Regenerate.
33899 2012-06-22 Roland McGrath <roland@hack.frob.com>
33901 * configure.in (libc_cv_localstatedir): New substituted variable.
33902 * configure: Regenerated.
33903 * config.make.in (localstatedir): New variable, substituted from
33904 libc_cv_localstatedir.
33905 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33906 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33907 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33908 * sysdeps/gnu/configure: Regenerated.
33910 2012-06-21 Jeff Law <law@redhat.com>
33913 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33914 free. Simplify list management for _LIBC case.
33916 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33919 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33920 Clear sign bit of 64-bit integer value before comparing against
33923 * sysdeps/mach/configure: Regenerated.
33925 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33928 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33930 2012-06-21 Jeff Law <law@redhat.com>
33933 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33934 uint16_t for elements in the "seen" array to avoid char overflows.
33935 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33936 * elf/dl-open.c (dl_open_worker): Likewise.
33938 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33940 * scripts/list-sources.sh: Scan PORTS for translations.
33941 * po/libc.pot: Regenerated.
33943 2012-06-21 Andreas Jaeger <aj@suse.de>
33946 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33948 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33949 * bits/byteswap-16.h (__bswap_16): Likewise.
33950 * bits/byteswap.h (__bswap_constant_16): Likewise.
33952 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33955 * sysdeps/i386/fpu_control.h: Removed.
33956 * sysdeps/x86_64/fpu_control.h: Moved to ...
33957 * sysdeps/x86/fpu_control.h: Here.
33959 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33960 (_FPU_SETCW): Likewise.
33962 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33965 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33966 * sysdeps/x86/fpu/bits/mathinline.h: This.
33967 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33971 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33972 functions if __x86_64__ is defined.
33974 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33976 * string/endian.h: Add !__ASSEMBLER__ condition for including
33977 conversion interfaces.
33979 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33983 of ABS(x) in calculating zero to negative powers other than odd
33985 * math/libm-test.inc (pow_test): Add more tests.
33987 2012-06-15 Andreas Jaeger <aj@suse.de>
33989 * manual/contrib.texi (Contributors): Update entry of Liubov
33990 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33993 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33995 * string/string.h: Add __wur to GNU version of strerror_r.
33997 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34000 * string/Makefile (tests): Add tst-strtok_r.
34001 * string/tst-strtok_r.c: New file.
34002 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34003 RAX_LP/RDX_LP on SAVE_PTR.
34005 2012-06-14 Roland McGrath <roland@hack.frob.com>
34007 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34009 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34011 * libm_test.inc (csqrt_test): Allow more spurious underflow
34013 (j0_test): Likewise.
34014 (j1_test): Likewise.
34015 (y0_test): Likewise.
34016 (y1_test): Likewise.
34018 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34020 * po/Makefile (libc.pot): Use UTF-8 charset.
34022 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34025 Suppress sign-conversion warning from FD_SET.
34026 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34027 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34028 not unsigned long int.
34029 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34031 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34036 __extern_always_inline instead of __extern_inline.
34037 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34038 (__signbit): Likewise.
34039 (__signbitl): Support C++ namespace.
34040 (lrintf): New inline function.
34042 (llrintf): Likewise.
34043 (llrint): Likewise.
34053 (floorf): Likewise.
34054 (nearbyint): Likewise.
34055 (nearbyintf): Likewise.
34057 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34060 non-default versions.
34062 2012-06-11 Roland McGrath <roland@hack.frob.com>
34065 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34067 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34069 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34070 (FE_UPWARD, FE_DOWNWARD): Don't define.
34071 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34072 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34074 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34076 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34077 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34079 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34081 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34082 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34083 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34084 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34086 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34089 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34090 * sysdeps/i386/fpu/Implies: New file.
34091 * sysdeps/x86_64/fpu/Implies: Likewise.
34092 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34093 * sysdeps/x86/fpu/bits/fenv.h: This.
34095 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34098 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34101 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34102 character 0xffff that matches the last element of the
34105 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34107 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34110 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34113 values higher than 25.6283.
34115 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34118 subnormal exponent extraction and add some __builtin_expect.
34119 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34120 Fix for subnormal mantissa calculation.
34122 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34124 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34125 cpu2 is -1 and errno is not ENOSYS.
34127 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34130 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34131 * sysdeps/x86/bits/string.h: This.
34132 * sysdeps/x86_64/bits/string.h: Removed.
34134 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34135 if not compiling for x86-64, but compiling for >= i486.
34137 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34138 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34140 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34141 New macro from Linux kernel 3.4.0.
34142 (FP_XSTATE_MAGIC2): Likewise.
34143 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34144 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34145 (struct _fpx_sw_bytes): New struct.
34146 (struct _xsave_hdr): Likewise.
34147 (struct _ymmh_state): Likewise.
34148 (struct _xstate): Likewise.
34150 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34151 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34152 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34153 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34154 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34155 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34157 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34158 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34159 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34160 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34161 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34162 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34164 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34167 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34168 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34169 (sysdep_headers): Include sys/platform/ppc.h.
34170 * sysdeps/powerpc/test-gettimebase.c: Test for
34171 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34172 * manual/Makefile (appendices): Include platform.texi.
34173 * manual/contrib.texi (Contributors): Update @node pointers.
34174 * manual/maint.texi (Maintenance): Likewise.
34175 (Platform): New node.
34176 * manual/platform.texi: New file. Document the new features.
34178 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34179 Jakub Jelinek <jakub@redhat.com>
34182 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34183 where __builtin_expect is unavailable.
34185 2012-06-03 David S. Miller <davem@davemloft.net>
34187 * stdlib/longlong.h: Updated from GCC.
34189 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34192 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34193 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34196 (GLIBC_2.16): Likewise.
34198 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34200 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34202 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34205 (default-abi): New variable.
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34207 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34209 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34211 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34213 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34216 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34217 definition. Document in comment.
34219 2012-06-01 David S. Miller <davem@davemloft.net>
34221 * stdlib/longlong.h: Updated from GCC.
34223 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34226 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34227 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34228 sys/debugreg.h sys/io.h here.
34229 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34230 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34232 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34233 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34234 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34235 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34236 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34237 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34239 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34240 Define only if __x86_64__ is defined.
34242 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34245 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34246 Use int64_t for variable i.
34247 * math/libm-test.inc (fmod_test): Add more tests.
34249 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34250 z computation is not scheduled after fetestexcept.
34251 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34252 Use math_force_eval instead of asm to ensure calculation scheduled
34253 before exception test.
34254 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34255 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34257 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34260 computation is not scheduled after fetestexcept.
34262 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34265 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34266 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34268 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34270 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34271 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34273 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34276 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34278 (__WCHAR_MIN): Support __WORDSIZE == 64.
34279 (__WCHAR_MAX): Likewise.
34281 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34282 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34286 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34289 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34290 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34292 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34293 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34295 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34296 Defined to 1 if __x86_64__ isn't defined.
34297 (_STAT_VER_LINUX_OLD): New.
34298 (st_atime): Remove duplicate.
34299 (st_mtime): Likewise.
34300 (st_ctime): Likewise.
34302 2012-05-31 David S. Miller <davem@davemloft.net>
34304 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34307 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34309 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34313 * elf/dl-reloc.c: Include <_itoa.h>.
34314 (_dl_reloc_bad_type): Remove use of INTUSE.
34315 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34316 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34317 * stdio-common/psiginfo.c (psiginfo): Likewise.
34318 * stdio-common/psignal.c (psignal): Likewise.
34319 * string/strsignal.c (strsignal): Likewise.
34320 * include/signal.h (_sys_siglist): Declare hidden proto.
34321 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34322 INTVARDEF with libc_hidden_data_def.
34323 * stdio-common/itoa-udigits.c: Likewise.
34324 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34325 (_itoa_lower_digits_internal): Remove declaration.
34326 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34327 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34328 (_sys_sigabbrev_internal): Remove aliases.
34329 (_sys_siglist): Define hidden alias.
34331 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34336 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34339 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34340 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34342 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34343 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34344 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34345 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34347 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34349 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34350 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34351 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34353 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34362 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34363 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34365 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34366 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34368 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34369 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34370 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34372 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34373 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34375 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34376 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34378 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34380 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34382 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34383 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34385 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34387 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34388 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34389 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34391 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34393 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34395 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34397 * math/math.h (M_El): Use two more decimal places.
34398 (M_LOG2El): Likewise.
34399 (M_LOG10El): Likewise.
34400 (M_LN2l): Likewise.
34401 (M_LN10l): Likewise.
34403 (M_PI_2l): Likewise.
34404 (M_PI_4l): Likewise.
34405 (M_1_PIl): Likewise.
34406 (M_2_PIl): Likewise.
34407 (M_2_SQRTPIl): Likewise.
34408 (M_SQRT2l): Likewise.
34409 (M_SQRT1_2l): Likewise.
34411 2012-05-31 David S. Miller <davem@davemloft.net>
34413 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34414 values between float registers.
34415 * sysdeps/sparc/sparc64/memset.S: Likewise.
34416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34418 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34420 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34421 -D_FORTIFY_SOURCE=1.
34422 (CPPFLAGS-tst-longjmp_chk.c): Define.
34423 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34424 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34425 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34426 CFLAGS-tst-wchar-h.c.
34428 2012-05-31 Marek Polacek <polacek@redhat.com>
34431 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34432 __endmntent_internal): Remove declaration.
34433 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34434 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34435 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34437 2012-05-30 David S. Miller <davem@davemloft.net>
34439 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34440 (___Q_simulate_exceptions): Use real FP ops rather than writing
34442 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34445 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34448 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34449 * sysdeps/x86/bits/xtitypes.h: This.
34451 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34452 * sysdeps/x86/bits/wordsize.h: This.
34454 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34455 * sysdeps/x86/bits/huge_vall.h: This.
34457 * sysdeps/i386/bits/select.h: Removed.
34458 * sysdeps/x86_64/bits/select.h: Renamed to ...
34459 * sysdeps/x86/bits/select.h: This.
34461 * sysdeps/i386/bits/setjmp.h: Removed.
34462 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34463 * sysdeps/x86/bits/setjmp.h: This.
34465 * sysdeps/i386/bits/mathdef.h: Removed.
34466 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34467 * sysdeps/x86/bits/mathdef.h: This.
34469 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34472 * include/sys/socket.h (__connect_internal)
34473 (__libc_sa_len_internal): Remove declaration.
34474 (__connect, __libc_sa_len): Declare hidden_proto.
34475 (SA_LEN): Remove use of INTUSE.
34476 * socket/connect.c: Add libc_hidden_def.
34477 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34478 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34479 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34481 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34482 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34483 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34484 of adding _internal alias.
34486 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34489 * sysdeps/i386/bits/link.h: Removed.
34490 * sysdeps/i386/bits/linkmap.h: Likewise.
34491 * sysdeps/x86_64/bits/link.h: Renamed to ...
34492 * sysdeps/x86/bits/link.h: This.
34493 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34494 * sysdeps/x86/bits/linkmap.h: This.
34496 * sysdeps/i386/bits/endian.h: Removed.
34497 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34498 * sysdeps/x86/bits/endian.h: This.
34500 * sysdeps/i386/bits/byteswap.h: Removed.
34501 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34502 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34503 * sysdeps/x86/bits/byteswap.h: This.
34504 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34505 * sysdeps/x86/bits/byteswap-16.h: This.
34506 * sysdeps/i386/Implies: Add x86.
34507 * sysdeps/x86_64/Implies: Likewise.
34509 2012-05-30 David S. Miller <davem@davemloft.net>
34511 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34512 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34513 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34514 (FP_TRAPPING_EXCEPTIONS): Define.
34515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34516 (FP_TRAPPING_EXCEPTIONS): Define.
34517 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34518 subnormals only when inexact has been signalled or underflow
34519 exceptions are enabled.
34520 (_FP_PACK_CANONICAL): Likewise.
34522 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34526 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34528 2012-05-30 Richard Henderson <rth@twiddle.net>
34530 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34531 with #ifndef NOT_IN_libc.
34533 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34534 marked to avoid plt entry.
34536 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34539 * Makeconfig (default-abi): New macro.
34540 (abi-includes): Likewise.
34541 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34542 $(abi-$(default-abi)-lib-soname) for soname if defined.
34543 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34545 * Makefile (installed-stubs): Likewise.
34546 * include/stubs-biarch.h: Removed.
34547 * scripts/lib-names.awk: Only handle one library at a time.
34548 * scripts/soversions.awk: Remove WORDSIZE support.
34549 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34553 (syscall-list-default-condition): Likewise.
34554 (syscall-list-default-condition): Likewise.
34555 (syscall-list-includes): Likewise.
34556 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34557 syscall-list-* with abi-*. Handle undefined abi-variants.
34558 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34559 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34560 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34561 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34562 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34563 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34565 (syscall-list-32-options): Likewise.
34566 (syscall-list-32-condition): Likewise.
34567 (syscall-list-64-options): Likewise.
34568 (syscall-list-64-condition): Likewise.
34569 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34571 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34574 (abi-64-ld-soname): New macro.
34575 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34576 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34579 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34580 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34582 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34584 * sysdeps/unix/sysv/linux/kernel-features.h
34585 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34586 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34587 include <kernel-features.h>.
34588 [!__NR_ftruncate64]: Remove conditional code.
34589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34590 [__NR_ftruncate64]: Make code unconditional.
34591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34592 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34593 include <kernel-features.h>.
34594 [!__NR_ftruncate64]: Remove conditional code.
34595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34596 [__NR_ftruncate64]: Make code unconditional.
34597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34599 include <kernel-features.h>.
34600 [!__NR_ftruncate64]: Remove conditional code.
34601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34602 [__NR_ftruncate64]: Make code unconditional.
34603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34605 include <kernel-features.h>.
34606 [!__NR_ftruncate64]: Remove conditional code.
34607 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34608 [__NR_ftruncate64]: Make code unconditional.
34609 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34611 * configure.in (libc_cv_fpie): Weaken to a compile test using
34612 LIBC_TRY_CC_OPTION.
34613 * configure: Regenerated.
34615 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34630 2012-05-27 David S. Miller <davem@davemloft.net>
34632 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34634 (__Q_simulate_exceptions): Return void. Change to simulate
34635 exceptions by writing into the %fsr.
34636 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34637 (__Qp_handle_exceptions): Likewise.
34639 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34640 __Qp_handle_exceptions.
34641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34642 __Qp_handle_exceptions.
34643 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34644 as unused and give dummy FP_RND_NEAREST initializer.
34645 (FP_INHIBIT_RESULTS): Define.
34646 (___Q_simulate_exceptions): Update declaration.
34647 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34649 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34650 as unused and give dummy FP_RND_NEAREST initializer.
34651 (__Qp_handle_exceptions): Update declaration.
34652 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34655 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34657 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34658 the temporary FPU control word.
34659 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34660 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34662 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34663 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34664 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34665 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34666 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34667 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34668 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34669 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34671 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34673 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34676 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34678 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34679 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34680 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34681 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34683 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34684 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34687 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34689 * po/h.po: Update from translation team.
34691 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34693 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34695 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34696 handling of denormals.
34697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34698 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34699 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34700 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34706 2012-05-26 Marek Polacek <polacek@redhat.com>
34709 * math/libm-test.inc (fma_test): Don't always expect underflow
34712 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34715 * elf/tst-execstack.c: Include stackinfo.h.
34716 (do_test): Adjust test case to ensure that pthread_getattr_np
34717 behaviour remains the same after marking stack executable.
34719 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34721 * sysdeps/unix/sysv/linux/kernel-features.h
34722 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34723 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34725 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34726 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34727 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34729 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34730 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34732 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34734 * configure.in: Define the default includes to being none.
34735 * configure: Regenerated.
34737 2012-05-25 Roland McGrath <roland@hack.frob.com>
34739 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34740 * sysdeps/x86_64/setjmp.S: Likewise.
34741 * sysdeps/i386/bsd-setjmp.S: Likewise.
34742 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34743 * sysdeps/i386/setjmp.S: Likewise.
34744 * sysdeps/i386/__longjmp.S: Likewise.
34745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34746 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34748 * include/stap-probe.h: New file.
34749 * configure.in: Handle --enable-systemtap.
34750 * configure: Regenerated.
34751 * config.h.in (USE_STAP_PROBE): New #undef.
34752 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34753 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34754 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34756 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34760 to 2.4.0 where earlier.
34761 * sysdeps/unix/sysv/linux/configure: Regenerated.
34762 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34763 <kernel-features.h>.
34764 [__ASSUME_32BITUIDS]: Make code unconditional.
34765 [!__ASSUME_32BITUIDS]: Remove conditional code.
34766 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34767 <kernel-features.h>.
34768 [__ASSUME_32BITUIDS]: Make code unconditional.
34769 [!__ASSUME_32BITUIDS]: Remove conditional code.
34770 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34771 [__ASSUME_32BITUIDS]: Make code unconditional.
34772 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34773 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
34806 <kernel-features.h>.
34807 [__ASSUME_32BITUIDS]: Make code unconditional.
34808 [!__ASSUME_32BITUIDS]: Remove conditional code.
34809 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34810 <kernel-features.h>.
34811 [__ASSUME_32BITUIDS]: Make code unconditional.
34812 [!__ASSUME_32BITUIDS]: Remove conditional code.
34813 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34814 <kernel-features.h>.
34815 [__NR_setresgid] (__setresgid): Do not declare.
34816 [__ASSUME_32BITUIDS]: Make code unconditional.
34817 [!__ASSUME_32BITUIDS]: Remove conditional code.
34818 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34819 <kernel-features.h>.
34820 [__NR_setresuid] (__setresuid): Do not declare.
34821 [__ASSUME_32BITUIDS]: Make code unconditional.
34822 [!__ASSUME_32BITUIDS]: Remove conditional code.
34823 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
34852 <kernel-features.h>.
34853 [__ASSUME_32BITUIDS]: Make code unconditional.
34854 [!__ASSUME_32BITUIDS]: Remove conditional code.
34855 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34856 <kernel-features.h>.
34857 [__ASSUME_32BITUIDS]: Make code unconditional.
34858 [!__ASSUME_32BITUIDS]: Remove conditional code.
34859 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34860 <kernel-features.h>.
34861 [__ASSUME_32BITUIDS]: Make code unconditional.
34862 [!__ASSUME_32BITUIDS]: Remove conditional code.
34863 * sysdeps/unix/sysv/linux/kernel-features.h
34864 (__ASSUME_SETRESUID_SYSCALL): Remove.
34865 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34866 (__ASSUME_32BITUIDS): Likewise.
34867 (__ASSUME_LDT_WORKS): Likewise.
34868 (__ASSUME_O_DIRECTORY): Likewise.
34869 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34870 architecture but not kernel version.
34871 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34872 (__ASSUME_MMAP2_SYSCALL): Likewise.
34873 (__ASSUME_STAT64_SYSCALL): Likewise.
34874 (__ASSUME_IPC64): Likewise.
34875 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34876 <kernel-features.h>.
34877 [__ASSUME_32BITUIDS]: Make code unconditional.
34878 [!__ASSUME_32BITUIDS]: Remove conditional code.
34879 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34880 <kernel-features.h>.
34881 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34882 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34883 132096]: Remove conditional code.
34884 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34885 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34886 <kernel-features.h>.
34887 [__ASSUME_32BITUIDS]: Make code unconditional.
34888 [!__ASSUME_32BITUIDS]: Remove conditional code.
34889 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34890 <kernel-features.h>.
34891 [__ASSUME_32BITUIDS]: Make code unconditional.
34892 [!__ASSUME_32BITUIDS]: Remove conditional code.
34893 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34894 <kernel-features.h>.
34895 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34897 (__setresgid): Do not declare.
34898 [__ASSUME_32BITUIDS]: Make code unconditional.
34899 [!__ASSUME_32BITUIDS]: Remove conditional code.
34900 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34901 <kernel-features.h>.
34902 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34904 (__setresuid): Do not declare.
34905 [__ASSUME_32BITUIDS]: Make code unconditional.
34906 [!__ASSUME_32BITUIDS]: Remove conditional code.
34907 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34908 <kernel-features.h>.
34909 [__ASSUME_32BITUIDS]: Make code unconditional.
34910 [!__ASSUME_32BITUIDS]: Remove conditional code.
34911 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34912 <kernel-features.h>.
34913 [__ASSUME_32BITUIDS]: Make code unconditional.
34914 [!__ASSUME_32BITUIDS]: Remove conditional code.
34916 2012-05-25 Richard Henderson <rth@twiddle.net>
34918 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34919 dl_hwcap to ifunc resolver.
34920 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34922 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34923 dl_hwcap to ifunc resolver.
34924 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34926 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34929 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34930 for |x| <= 2**-26, not 2**-57.
34931 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34934 2012-05-24 Jeff Law <law@redhat.com>
34936 * stdio-common/Makefile (tests): Add bug25.
34937 * stdio-common/bug25.c: New test.
34939 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34942 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34943 multiple of MALLOC_ALIGNMENT in size.
34944 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34946 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34948 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34950 (FILENAME_MAX): Use macro-int-constant.
34951 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34952 (_IOFBF): Use macro-int-constant.
34953 (_IOLBF): Likewise.
34954 (_IONBF): Likewise.
34955 (SEEK_CUR): Likewise.
34956 (SEEK_END): Likewise.
34957 (SEEK_SET): Likewise.
34958 (TMP_MAX): Likewise.
34959 (EOF): Use macro-int-constant. Require < 0.
34960 (NULL): Use macro-constant. Require == 0.
34961 (stdin): Require type to be FILE *.
34962 (stdout): Likewise.
34963 (stderr): Likewise.
34964 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34965 macro-int-constant.
34966 (EXIT_SUCCESS): Likewise.
34967 (NULL): Use macro-constant. Require == 0.
34968 (RAND_MAX): Use macro-int-constant.
34969 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34970 [C99-based standards] (strtof): Require function.
34971 [C99-based standards] (strtold): Likewise.
34972 [C99-based standards] (strtoll): Likewise.
34973 [C99-based standards] (strtoull): Likewise.
34974 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34975 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34976 [ISO || ISO99 || ISO11] (math.h): Likewise.
34977 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34978 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34981 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34984 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34985 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34986 * intl/dgettext.c (DCGETTEXT): Likewise.
34987 * intl/gettext.c (DCGETTEXT): Likewise.
34988 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34989 * posix/regex_internal.h (gettext): Likewise.
34990 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34991 Remove declaration.
34992 * include/argz.h (__argz_count_internal)
34993 (__argz_stringify_internal): Remove declaration.
34994 (__argz_count, __argz_stringify): Declare hidden proto.
34995 * intl/dcgettext.c: Remove use of INTDEF.
34996 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34997 * string/argz-stringify.c: Likewise.
34998 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34999 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35000 Declare hidden proto.
35001 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35002 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35003 Declare hidden proto.
35004 * include/stdio.h (__asprintf_internal): Don't declare.
35005 (__asprintf): Don't define as macro. Declare hidden proto.
35006 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35007 (__fsetlocking): Declare hidden proto.
35008 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35009 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35011 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35012 (_IO_setlinebuf): Remove use of INTUSE.
35013 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35014 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35015 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35016 Remove declaration.
35017 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35018 (_IO_do_flush): Remove use of INTUSE.
35019 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35020 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35021 (_IO_adjust_column, _IO_least_wmarker)
35022 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35023 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35024 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35025 (_IO_default_doallocate, _IO_wdefault_doallocate)
35026 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35027 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35028 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35029 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35030 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35031 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35032 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35033 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35034 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35035 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35036 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35037 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35038 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35040 (_IO_flush_all_internal, _IO_adjust_column_internal)
35041 (_IO_default_uflow_internal, _IO_default_finish_internal)
35042 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35043 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35044 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35045 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35046 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35047 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35048 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35049 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35050 (_IO_file_close_internal, _IO_file_close_it_internal)
35051 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35052 (_IO_file_init_internal, _IO_file_attach_internal)
35053 (_IO_file_fopen_internal, _IO_file_read_internal)
35054 (_IO_file_sync_internal, _IO_file_seek_internal)
35055 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35056 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35057 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35058 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35059 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35060 (_IO_list_all_internal, _IO_link_in_internal)
35061 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35062 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35063 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35064 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35065 (_IO_do_write_internal, _IO_padn_internal)
35066 (_IO_getline_info_internal, _IO_getline_internal)
35067 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35068 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35069 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35070 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35071 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35072 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35073 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35074 with libc_hidden_ver, remove use of INTUSE.
35075 * libio/genops.c: Likewise.
35076 * libio/freopen.c: Likewise.
35077 * libio/freopen64.c: Likewise.
35078 * libio/iofclose.c: Likewise.
35079 * libio/iofdopen.c: Likewise.
35080 * libio/iofflush.c: Likewise.
35081 * libio/iofflush_u.c: Likewise.
35082 * libio/iofgets.c: Likewise.
35083 * libio/iofgets_u.c: Likewise.
35084 * libio/iofopen.c: Likewise.
35085 * libio/iofopncook.c: Likewise.
35086 * libio/iofread.c: Likewise.
35087 * libio/iofread_u.c: Likewise.
35088 * libio/ioftell.c: Likewise.
35089 * libio/iofwrite.c: Likewise.
35090 * libio/iogetline.c: Likewise.
35091 * libio/iogets.c: Likewise.
35092 * libio/iogetwline.c: Likewise.
35093 * libio/iopadn.c: Likewise.
35094 * libio/iopopen.c: Likewise.
35095 * libio/ioseekoff.c: Likewise.
35096 * libio/ioseekpos.c: Likewise.
35097 * libio/iosetbuffer.c: Likewise.
35098 * libio/iosetvbuf.c: Likewise.
35099 * libio/ioungetc.c: Likewise.
35100 * libio/ioungetwc.c: Likewise.
35101 * libio/iovdprintf.c: Likewise.
35102 * libio/iovsprintf.c: Likewise.
35103 * libio/iovsscanf.c: Likewise.
35104 * libio/memstream.c: Likewise.
35105 * libio/obprintf.c: Likewise.
35106 * libio/oldfileops.c: Likewise.
35107 * libio/oldiofclose.c: Likewise.
35108 * libio/oldiofdopen.c: Likewise.
35109 * libio/oldiofopen.c: Likewise.
35110 * libio/oldiopopen.c: Likewise.
35111 * libio/oldstdfiles.c: Likewise.
35112 * libio/putc.c: Likewise.
35113 * libio/setbuf.c: Likewise.
35114 * libio/setlinebuf.c: Likewise.
35115 * libio/stdfiles.c: Likewise.
35116 * libio/strops.c: Likewise.
35117 * libio/vasprintf.c: Likewise.
35118 * libio/vscanf.c: Likewise.
35119 * libio/vsnprintf.c: Likewise.
35120 * libio/vswprintf.c: Likewise.
35121 * libio/wfiledoalloc.c: Likewise.
35122 * libio/wfileops.c: Likewise.
35123 * libio/wgenops.c: Likewise.
35124 * libio/wmemstream.c: Likewise.
35125 * libio/wstrops.c: Likewise.
35126 * libio/__fpurge.c: Likewise.
35127 * libio/__fsetlocking.c: Likewise.
35128 * assert/assert.c: Likewise.
35129 * debug/fgets_chk.c: Likewise.
35130 * debug/fgets_u_chk.c: Likewise.
35131 * debug/fread_chk.c: Likewise.
35132 * debug/fread_u_chk.c: Likewise.
35133 * debug/gets_chk.c: Likewise.
35134 * debug/obprintf_chk.c: Likewise.
35135 * debug/vasprintf_chk.c: Likewise.
35136 * debug/vdprintf_chk.c: Likewise.
35137 * debug/vsnprintf_chk.c: Likewise.
35138 * debug/vsprintf_chk.c: Likewise.
35139 * malloc/mtrace.c: Likewise.
35140 * misc/error.c: Likewise.
35141 * misc/syslog.c: Likewise.
35142 * stdio-common/asprintf.c: Likewise.
35143 * stdio-common/fxprintf.c: Likewise.
35144 * stdio-common/getw.c: Likewise.
35145 * stdio-common/isoc99_fscanf.c: Likewise.
35146 * stdio-common/isoc99_scanf.c: Likewise.
35147 * stdio-common/isoc99_vfscanf.c: Likewise.
35148 * stdio-common/isoc99_vscanf.c: Likewise.
35149 * stdio-common/isoc99_vsscanf.c: Likewise.
35150 * stdio-common/printf-prs.c: Likewise.
35151 * stdio-common/printf_fp.c: Likewise.
35152 * stdio-common/printf_fphex.c: Likewise.
35153 * stdio-common/printf_size.c: Likewise.
35154 * stdio-common/putw.c: Likewise.
35155 * stdio-common/scanf.c: Likewise.
35156 * stdio-common/sprintf.c: Likewise.
35157 * stdio-common/tmpfile.c: Likewise.
35158 * stdio-common/vfprintf.c: Likewise.
35159 * stdio-common/vfscanf.c: Likewise.
35160 * stdlib/strfmon_l.c: Likewise.
35161 * sunrpc/openchild.c: Likewise.
35162 * sunrpc/xdr_stdio.c: Likewise.
35163 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35164 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35166 2012-05-24 Roland McGrath <roland@hack.frob.com>
35168 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35170 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35171 in the third column, to generate for the shared library an IFUNC
35172 that uses _dl_vdso_vsym.
35173 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35174 * Makeconfig (object-suffixes-noshared): New variable.
35176 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35177 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35178 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35179 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35182 * include/sys/time.h (__gettimeofday): Remove macro.
35183 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35184 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35186 (__gettimeofday): Add libc_hidden_def.
35187 (gettimeofday): Add libc_hidden_weak.
35188 * sysdeps/mach/gettimeofday.c: Likewise.
35189 * sysdeps/posix/gettimeofday.c: Likewise.
35190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35191 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35193 (__gettimeofday_internal): Remove strong_alias.
35194 (__gettimeofday): Add libc_hidden_def.
35195 (gettimeofday): Add libc_hidden_weak.
35196 * sysdeps/unix/syscalls.list (gettimeofday):
35197 Remove __gettimeofday_internal alias.
35199 2012-05-24 Daniel Jacobowitz <drow@false.org>
35200 H.J. Lu <hongjiu.lu@intel.com>
35203 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35204 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35205 (largebin_index_32_big): New.
35206 (largebin_index): Use it for 16-byte alignment.
35207 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35208 correction with front_misalign.
35210 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35238 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35239 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35241 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35245 * math/libm-test.inc (exp_test): Add test from bug 14036.
35246 (pow_test): Add test from bug 10846.
35248 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35250 (special_function): Do not include flags in test name.
35251 (parse_args): Likewise.
35252 * sysdeps/i386/fpu/libm-test-ulps: Update.
35253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35254 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35258 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35260 * math/libm-test.inc ("Philosophy"): Update comment about
35262 (UNDERFLOW_EXCEPTION): New macro.
35263 (UNDERFLOW_EXCEPTION_OK): Likewise.
35264 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35265 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35266 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35267 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35268 (INVALID_EXCEPTION_OK): Update value.
35269 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35270 (OVERFLOW_EXCEPTION_OK): Likewise.
35271 (IGNORE_ZERO_INF_SIGN): Likewise.
35272 (test_exceptions): Handle underflow exceptions.
35273 (acos_test): Update for underflow exception expectations.
35274 (cexp_test): Likewise.
35275 (clog_test): Likewise.
35276 (clog10_test): Likewise.
35277 (csqrt_test): Likewise.
35278 (ctan_test): Likewise.
35279 (ctanh_test): Likewise.
35280 (exp_test): Likewise.
35281 (exp10_test): Likewise.
35282 (exp2_test): Likewise.
35283 (expm1_test): Likewise.
35284 (fma_test): Likewise.
35285 (j0_test): Likewise.
35286 (jn_test): Likewise.
35287 (nexttoward_test): Likewise.
35288 (pow_test): Likewise.
35289 (scalbn_test): Likewise.
35290 (scalbln_test): Likewise.
35291 (tan_test): Likewise.
35292 (y1_test): Likewise.
35293 * sysdeps/i386/fpu/libm-test-ulps: Update.
35294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35296 2012-05-23 David S. Miller <davem@davemloft.net>
35298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35299 (__libc_sigaction): Remove unused local variables.
35301 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35303 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35305 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35307 mktime: avoid signed integer overflow
35308 * time/mktime.c (__mktime_internal): Do not mishandle the case
35309 where diff == INT_MIN.
35311 mktime: simplify computation of average
35312 * time/mktime.c (ranged_convert): Use new time_t_avg function
35313 instead of rolling our own (probably-slower) code.
35315 mktime: do not assume signed right shift propagates sign bit
35316 * time/mktime.c (isdst_differ): New static function.
35317 (__mktime_internal): No need to normalize tm_isdst now.
35318 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35321 mktime: merge another wrapv change from gnulib
35322 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35323 from some compilers.
35325 mktime: remove incorrect attempt at unusual arithmetics
35326 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35327 The code didn't really work on such machines anyway.
35328 (TYPE_MINIMUM): Assume two's complement.
35329 (twos_complement_arithmetic): Verify that long_int and time_t
35330 are two's complement (or unsigned, in the latter case).
35332 mktime: check signed shifts on long_int and time_t, too
35333 * time/mktime.c (SHR): Check that shifts work as desired
35334 on the types long_int and time_t too, as SHR is used on
35337 mktime: do not assume 'long' is wide enough
35338 * time/mktime.c (verify): Move decl up.
35339 (long_int): New type.
35340 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35341 to remove assumption in the code that 'long' is wide enough to
35342 store year values. This assumption is not true on x32 and on
35343 some non-glibc platforms.
35345 mktime: merge wrapv change from gnulib
35346 * time/mktime.c (WRAPV): New macro.
35347 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35348 (guess_time_tm, __mktime_internal): Do not assume that signed
35349 integer overflow wraps around; modern compilers generate code
35350 where this assumption is no longer valid.
35352 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35354 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35355 Replace "jmp L(pseudo_end)" with "ret".
35356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35359 2012-05-23 Andreas Jaeger <aj@suse.de>
35361 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35362 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35364 2012-05-23 Andreas Jaeger <aj@suse.de>
35365 Maximilian Attems <max@stro.at>
35367 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35370 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35373 code so that pseudo_end is just ret and the stack pointer is
35374 correct also for static library in error case.
35376 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35378 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35379 move to syscalls.list.
35380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35385 * manual/install.texi (Running make install): Do not mention Linux
35386 kernel version for which pt_chown is not needed.
35387 (Linux): Do not mention problems with nscd with 2.0 kernels.
35388 * INSTALL: Regenerated.
35390 2012-05-23 Andreas Jaeger <aj@suse.de>
35392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35393 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35395 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35397 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35399 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35403 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35405 * sysdeps/unix/sysv/linux/bits/in.h
35406 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35408 2012-05-22 Roland McGrath <roland@hack.frob.com>
35410 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35411 (PREPARE_VERSION): Just use assert instead, it will be elided
35412 under [NDEBUG] anyway.
35414 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35416 * sysdeps/unix/sysv/linux/Makefile: Include
35417 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35418 (sysdep_routines): Remove sysctl.
35419 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35420 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35421 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35422 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35423 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35425 2012-05-22 Andreas Jaeger <aj@suse.de>
35427 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35428 that pseudo_end is just ret and the stack pointer is correct also
35429 for static library in error case.
35431 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35434 * nss/nsswitch.c (defconfig_entries): New variable.
35435 (__nss_database_lookup): Don't leak defconfig entries.
35436 (nss_parse_service_list): Don't leak on error paths.
35437 (free_database_entries): New function.
35438 (free_defconfig): New function.
35439 (free_mem): Move common code to free_database_entries.
35441 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35443 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35445 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35448 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35451 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35452 (INTERNAL_SYSCALL_TYPES): Likewise.
35453 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35454 (LOAD_REGS_TYPES_[1-6]): Likewise.
35455 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35456 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35458 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35461 copysignl for GLIBC_2_0.
35462 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35463 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35465 logbl for GLIBC_2_0.
35466 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35467 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35469 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35472 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35474 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35477 * time/mktime.c: Update copyright years.
35479 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35481 mktime: merge comment-quoting-style change from gnulib
35482 * time/mktime.c: Quote 'like this' in comments.
35483 The GNU coding standards suggest that we no longer quote `like this',
35484 as "`" and "'" are typically rendered asymmetrically nowadays.
35485 The typical gnulib style is to quote 'like this' when quoting
35486 code, and "like this" when quoting English.
35488 * time/mktime.c (compile-command): Add "-I.".
35490 mktime: merge mktime-internal.h change from gnulib
35491 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35493 mktime: merge time_r change from gnulib
35494 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35496 mktime: merge DEBUG change from gnulib
35497 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35498 case system <time.h> has a #define.
35500 mktime: merge <sys/types.h> change from gnulib
35501 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35502 since <time.t> is now guaranteed to define time_t.
35504 mktime: merge HAVE_CONFIG_H change from gnulib
35505 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35507 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35512 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35514 (struct rusage): Use anonymous union to pad each field to
35517 2012-05-21 David S. Miller <davem@davemloft.net>
35519 * Makefules (o-iterator): Remove .s cases.
35520 (compile-command.s): Delete.
35521 (COMPILE.s): Delete.
35522 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35524 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35526 * configure.in (libc_cv_predef_stack_protector): Only consider
35527 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35528 * configure: Regenerated.
35530 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35533 New macro. Use R*LP on int and pointer.
35534 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35535 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35536 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35537 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35539 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35540 [__WORDSIZE_TIME64_COMPAT32] instead of
35541 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35542 (struct utmp): Likewise.
35543 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35544 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35546 (__WORDSIZE_TIME64_COMPAT32): This.
35547 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35548 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35549 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35550 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35551 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35552 (__WORDSIZE_TIME64_COMPAT32): New macro.
35554 2012-05-21 Andreas Jaeger <aj@suse.de>
35556 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35557 only if [SHARED]. Add prototype for __wcschr_ia32.
35559 2012-05-21 Roland McGrath <roland@hack.frob.com>
35561 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35562 of %rbp unmolested in the jmp_buf while mangling the low bits.
35563 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35564 unmolested high bits of %rbp while demangling the low bits.
35565 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35567 2012-05-21 Andreas Jaeger <aj@suse.de>
35569 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35570 * sunrpc/svc_simple.c: Use it for registerrpc.
35571 * sunrpc/xcrypt.c: Use it for passwd2des.
35573 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35575 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35577 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35578 Don't define if [__SYSCALL_WORDSIZE != 32].
35579 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35582 2012-05-21 Bruno Haible <bruno@clisp.org>
35583 Andreas Jaeger <aj@suse.de>
35585 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35586 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35587 inptr and inend for must_buffer_ch.
35588 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35589 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35590 * stdio-common/Makefile (tests): Remove bug15.
35591 (bug15-ENV): Remove macro.
35592 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35595 2012-05-19 Andreas Jaeger <aj@suse.de>
35596 Roland McGrath <roland@hack.frob.com>
35598 * manual/contrib.texi: Completely rewritten. It contains now an
35599 alphabetical list of contributors and their contributions.
35601 2012-05-21 Richard Henderson <rth@twiddle.net>
35603 * misc/getauxval.c (__getauxval): Use unsigned long int.
35604 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35605 (getauxval): Use unsigned long int.
35607 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35609 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35611 2012-05-21 Roland McGrath <roland@hack.frob.com>
35613 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35614 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35615 __alignof__ (long double).
35617 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35621 2012-05-20 Richard Henderson <rth@twiddle.net>
35623 * misc/getauxval.c: New file.
35624 * misc/sys/auxv.h: New file.
35625 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35626 (routines): Add getauxval.
35627 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35628 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35629 * elf/dl-sysdep.c (_dl_auxv): Remove.
35630 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35631 * elf/dl-support.c (_dl_auxv): New variable.
35632 (_dl_aux_init): Initialize it.
35633 * manual/startup.texi (Auxiliary Vector): New node.
35634 * sysdeps/generic/bits/hwcap.h: New file.
35635 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35636 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35637 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35638 * sysdeps/sparc/sysdep.h: ... here. Include it.
35639 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35652 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35656 2012-05-19 David S. Miller <davem@davemloft.net>
35658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35660 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35663 * math/s_ccosh.c: Include <float.h>
35664 (__ccosh): Avoid internal overflow calculating sinh and cosh
35665 values before multiplying by sin and cos values.
35666 * math/s_ccoshf.c: Likewise.
35667 * math/s_ccoshl.c: Likewise.
35668 * math/s_csin.c: Likewise.
35669 * math/s_csinf.c: Likewise.
35670 * math/s_csinl.c: Likewise.
35671 * math/s_csinh.c: Likewise.
35672 * math/s_csinhf.c: Likewise.
35673 * math/s_csinhl.c: Likewise.
35674 * math/libm-test.inc (ccos_test): Add more tests.
35675 (ccosh_test): Likewise.
35676 (csin_test): Likewise.
35677 (csinh_test): Likewise.
35678 * sysdeps/i386/fpu/libm-test-ulps: Update.
35679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35681 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35683 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35684 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35686 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35688 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35691 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35692 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35693 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35694 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35695 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35696 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35697 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35698 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35699 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35700 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35701 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35702 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35703 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35704 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35705 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35706 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35707 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35708 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35709 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35710 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35711 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35712 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35713 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35714 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35715 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35716 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35717 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35718 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35719 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35720 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35722 2012-05-18 Andreas Jaeger <aj@suse.de>
35724 * csu/.gitignore: Delete.
35726 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35728 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35729 (timex): Use __syscall_slong_t.
35731 2012-05-18 Andreas Jaeger <aj@suse.de>
35732 Carlos O'Donell <carlos_odonell@mentor.com>
35734 * manual/install.texi (Configuring and compiling): Update
35735 description about files modified in the source directory.
35736 * INSTALL: Regenerated.
35738 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35740 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35741 value. Use "or" to set return value to -1.
35742 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35743 negate return value.
35745 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35747 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35748 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35749 failure if the compiler has Graphite support disabled.
35750 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35752 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35753 (CFLAGS-memmove.c): Likewise.
35754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35757 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35759 * sysdeps/x86_64/x32/_itoa.h: New file.
35761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35762 getdents system call only if kernel and user dirents have the
35763 same d_ino and d_off.
35765 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35766 LLONG_MAX != LONG_MAX.
35767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35768 (_fitoa_word): Likewise.
35770 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35773 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35776 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35777 include <bits/wordsize.h>. Check __x86_64__ instead of
35779 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35780 if __x86_64__ is defined. Use anonymous union on fpstate.
35782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35785 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35787 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35788 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35789 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35790 Refer to _rtld_local_ro instead of _rtld_global_ro.
35791 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35793 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35795 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35797 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35798 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35799 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35801 * sysdeps/powerpc/powerpc32/dl-machine.c
35802 (__elf_machine_runtime_setup) [PROF]: Don't reference
35805 2012-05-18 Andreas Jaeger <aj@suse.de>
35807 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35808 function only available for GCCs before 3.4 since GCC 3.4
35809 introduced a builtin.
35811 (llrintf): Likewise.
35812 (llrint): Likewise.
35819 (nearbyint): Likewise.
35820 (nearbyintf): Likewise.
35824 (floorf): Likewise.
35826 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35828 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35829 on both fields and cast pointer to __syscall_ulong_t.
35831 * bits/types.h (__fsword_t): New type.
35832 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35833 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35835 (__FSWORD_T_TYPE): Likewise.
35836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35837 (__FSWORD_T_TYPE): Likewise.
35838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35839 (__FSWORD_T_TYPE): Likewise.
35840 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35841 (__FSWORD_T_TYPE): Likewise.
35842 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35843 __SWORD_TYPE with __fsword_t.
35844 (statfs64): Likewise.
35846 2012-05-17 David S. Miller <davem@davemloft.net>
35848 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35850 2012-05-17 Andreas Jaeger <aj@suse.de>
35852 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35855 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35857 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35859 2012-05-17 Andreas Jaeger <aj@suse.de>
35861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35864 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35866 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35868 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35870 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35871 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35873 2012-05-17 Andreas Jaeger <aj@suse.de>
35874 Carlos O'Donell <carlos_odonell@mentor.com>
35877 * sysdeps/x86_64/multiarch/init-arch.h
35878 (bit_YMM_Usable): Rename to...
35879 (bit_AVX_Usable): ... this.
35880 (bit_FMA4_Usable): New macro.
35881 (bit_XMM_state): New macro.
35882 (bit_YMM_state): New macro.
35883 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35884 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35885 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35886 (CPUID_OSXSAVE): New macro.
35887 (CPUID_AVX): New macro.
35888 (CPUID_FMA4): New macro.
35889 (index_YMM_Usable): Rename to...
35890 (index_AVX_Usable): ... this.
35891 (HAS_AVX): Use HAS_ARCH_FEATURE.
35892 (HAS_FMA4): Likewise.
35893 (HAS_YMM_USABLE): Remove.
35894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35895 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35897 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35898 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35899 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35900 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35901 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35903 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35905 * math/libm-test.c: Support platforms without multiple rounding modes.
35906 * math/bug-nextafter.c: Support platforms without FP exceptions.
35907 * math/bug-nexttoward.c: Likewise.
35908 * math/test-fenv.c: Likewise.
35909 * math/test-misc.c: Likewise.
35910 * stdlib/bug-getcontext.c: Likewise.
35912 2012-05-17 Andreas Jaeger <aj@suse.de>
35914 * manual/examples/search.c (critter_cmp): Change signature to
35916 * manual/string.texi (Collation Functions): Likewise.
35918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35920 * bits/types.h: Fold copyright years.
35921 * bits/typesizes.h: Likewise.
35922 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35926 * time/time.h: Likewise.
35928 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35931 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35932 in instead of returning them. Return void.
35933 (__libc_mallinfo): Accumulate over all arenas.
35934 (__malloc_stats): Adjust for change in int_mallinfo interface.
35936 2012-05-16 Roland McGrath <roland@hack.frob.com>
35939 * configure.in (NM): Add AC_CHECK_TOOL for it.
35940 (libc_extra_cflags): New substituted variable.
35941 Check for -fstack-protector being used implicitly.
35942 * configure: Regenerated.
35943 * config.make.in (config-extra-cflags): New variable,
35944 gets @libc_extra_cflags@.
35945 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35948 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35949 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35950 * configure: Regenerated.
35951 * config.make.in (CPPUNDEFS): New substituted variable.
35952 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35953 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35954 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35956 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35958 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35959 (mq_attr): Use __syscall_slong_t.
35961 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35963 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35964 Check __x86_64__ instead of __WORDSIZE.
35965 (_STAT_VER_LINUX): Likewise.
35966 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35967 __syscall_ulong_t and __syscall_slong_t.
35968 (stat64): Likewise.
35970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35972 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35976 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35980 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35983 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35984 include <bits/wordsize.h>. Check __x86_64__ instead of
35986 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35988 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35991 include <bits/wordsize.h>. Check __x86_64__ instead of
35993 (user_regs_struct): Use "__extension__ unsigned long long"
35994 instead of "unsigned long" if __x86_64__ is defined.
35995 (user): Likewise. Pad after pointer field if __ILP32__ is
35998 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36000 * configure.in (makeinfo): Require version 4.5 or later. Allow
36002 * configure: Regenerated.
36003 * manual/install.texi (texinfo): Increase version requirement to
36005 * INSTALL: Regenerated.
36007 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36011 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36013 * sysdeps/x86_64/x32/ffs.c: New file.
36015 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36017 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36018 defined. Use __syscall_ulong_t.
36019 (shminfo): Use __syscall_ulong_t.
36020 (shm_info): Likewise.
36022 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36025 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36027 (msgqnum_t): Use __syscall_ulong_t.
36028 (msglen_t): Likewise.
36029 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36032 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36033 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36035 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36037 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36038 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36040 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36043 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36044 include <bits/wordsize.h>. Check __x86_64__ instead of
36047 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36048 "unsigned long long int" if __x86_64__ is defined.
36049 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36052 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36053 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36055 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36057 (GET_PC): Cast to uintptr_t first.
36058 (GET_FRAME): Likewise.
36059 (GET_STACK): Likewise.
36061 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36062 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36068 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36070 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36071 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36072 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36073 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36075 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36076 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36077 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36081 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36086 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36087 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36091 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36093 * Makerules (+depfiles): Also collect depfiles from .oS in
36095 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36096 .oS, $(libnldbl-routines)).
36098 * Makerules (native-compile-mkdep-flags): Define.
36099 * sunrpc/Makefile (extra-objs): Add $(addprefix
36100 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36101 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36102 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36103 calling $(make-target-directory).
36105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36107 * bits/types.h (__snseconds_t): Removed.
36108 * time/time.h (struct timespec): Replace __snseconds_t with
36110 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36111 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36114 (__SNSECONDS_T_TYPE): Likewise.
36115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36116 (__SNSECONDS_T_TYPE): Likewise.
36117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36118 (__SNSECONDS_T_TYPE): Likewise.
36120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36122 * sysdeps/mach/hurd/bits/typesizes.h
36123 (__SYSCALL_SLONG_TYPE): New macro.
36124 (__SYSCALL_ULONG_TYPE): Likewise.
36126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36128 * bits/types.h (__syscall_slong_t): New type.
36129 (__syscall_ulong_t): Likewise.
36131 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36132 (__SYSCALL_ULONG_TYPE): Likewise.
36133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36134 (__SYSCALL_SLONG_TYPE): Likewise.
36135 (__SYSCALL_ULONG_TYPE): Likewise.
36136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36137 (__SYSCALL_SLONG_TYPE): Likewise.
36138 (__SYSCALL_ULONG_TYPE): Likewise.
36139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36140 (__SYSCALL_SLONG_TYPE): Likewise.
36141 (__SYSCALL_ULONG_TYPE): Likewise.
36143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36145 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36146 Add sigaltstack-offsets.sym.
36147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36148 <sigaltstack-offsets.h>.
36149 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36150 longjmp_msg pointer.
36151 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36152 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36154 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36156 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36158 * elf/stackguard-macros.h: Remove file.
36159 * sysdeps/generic/stackguard-macros.h: New file.
36160 * sysdeps/i386/stackguard-macros.h: Likewise.
36161 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36162 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36163 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36164 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36165 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36166 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36167 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36168 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36169 <elf/stackguard-macros.h>.
36172 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36173 __aligned__ in attribute.
36174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36175 (gregset_t): Likewise.
36177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36179 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36180 * sysdeps/x86_64/64/Implies-after: Here. New file.
36181 * sysdeps/x86_64/x32/Implies-after: New file.
36183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36185 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36186 and access return value for _dl_profile_fixup. Use R10_LP to
36189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36191 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36195 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36196 * sysdeps/x86_64/x32/sysdep.h: New file.
36198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36200 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36201 * sysdeps/x86_64/setjmp.S: Likewise.
36203 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36205 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36207 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36208 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36209 remove unused global constant.
36211 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36213 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36214 include of <not-cancel.h>.
36216 2012-05-15 Roland McGrath <roland@hack.frob.com>
36218 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36220 2012-05-15 Jeff Law <law@redhat.com>
36221 Andreas Jaeger <aj@suse.de>
36224 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36226 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36227 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36228 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36229 code changing __hst_map_handle.map.
36231 2012-05-15 Roland McGrath <roland@hack.frob.com>
36233 * configure.in (sysnames): Look for Implies-before and Implies-after
36235 * configure: Regenerated.
36237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36239 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36240 8-byte data alignment with LP_SIZE alignment.
36242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36244 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36249 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36254 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36257 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36261 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36262 (stackinfo_sub_sp): Likewise.
36264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36276 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36281 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36285 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36286 into R11_LP and load __x86_64_shared_cache_size_half into
36289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36294 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36303 powerpc32/power7/fpu/s_logb.c via #include.
36304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36305 powerpc32/power7/fpu/s_logbf.c via #include.
36306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36307 powerpc32/power7/fpu/s_logbl.c via #include.
36309 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36311 * README.libm: Remove file.
36313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36315 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36316 count for x32. Use R*_LP and omit operand-size suffix.
36318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36320 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36321 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36322 * sysdeps/x86_64/x32/shlib-versions: New file.
36324 2012-05-14 Roland McGrath <roland@hack.frob.com>
36326 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36327 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36328 Use _dl_fatal_printf instead.
36330 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36332 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36333 set if not set by the user. Do not allow for being unset.
36334 * sysdeps/unix/sysv/linux/configure: Regenerated.
36336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36338 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36339 the `q' suffix from lea and replace .quad with ASM_ADDR.
36341 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36344 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36346 (PTR_DEMANGLE): Likewise.
36348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36350 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36352 (ASM_ADDR): Likewise.
36353 (RAX_LP): Likewise.
36354 (RBP_LP): Likewise.
36355 (RBX_LP): Likewise.
36356 (RCX_LP): Likewise.
36357 (RDI_LP): Likewise.
36358 (RSI_LP): Likewise.
36359 (RSP_LP): Likewise.
36362 (R10_LP): Likewise.
36363 (R10_LP): Likewise.
36364 (R11_LP): Likewise.
36365 (R12_LP): Likewise.
36366 (R13_LP): Likewise.
36367 (R14_LP): Likewise.
36368 (R15_LP): Likewise.
36370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36372 * sysdeps/x86_64/x32/dl-machine.h: New file.
36374 2012-05-14 Andreas Jaeger <aj@suse.de>
36376 * manual/Makefile (subdir): Remove export of subdir.
36377 (all): Remove target.
36378 (.PHONY): Remove all from list.
36379 (mkinstalldirs): Remove.
36380 (.PHONY): Remove installdirs from list.
36381 ($(inst_infodir)/libc.info): Use make-target-directory.
36382 (installdirs): Remove.
36383 (subdir_%): Remove.
36384 (glibc-targets): Remove.
36387 ($(objpfx)stubs ../po/manual.pot): Remove.
36388 ($(objpfx)stamp%): Remove.
36389 (make-target-directory): Remove.
36390 (subdir_install): Remove.
36391 (routines): Remove.
36398 * manual/.gitignore: Remove, it's not needed anymore.
36399 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36401 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36403 (texis): Renamed to $(objpfx)texis.
36404 (texis-path): New, contains path to generated files.
36405 (chapters.%): Use texis-path for complete path, add extra argument
36407 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36408 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36409 (summary,texi, stamp-summary): Use complete path of
36410 files. Generate files in build dir.
36411 (dir-add.texi): Build in build dir.
36412 (libm-err.texi,stamp-libm-err): Likewise.
36413 (version.texi, stamp-version): Likewise.
36414 (.%c.texi): Likewise.
36415 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36416 (mostlyclean): Remove target.
36417 (realclean): Remove target.
36418 (generated): Add new variable with contents from mostlyclean and
36419 realclean, remove entries duplicated in common-mostlyclean, add
36420 stamp-libm-err and stamp-version.
36421 (generated-dirs): Add libc directory.
36422 ($(inst_infodir)/libc.info): Install files from build dir.
36424 * manual/install.texi (Configuring and compiling): Adjust since
36425 the info files are not part of the tar ball anymore.
36427 2012-05-14 Andreas Jaeger <aj@suse.de>
36429 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36432 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36435 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36436 to 2.2.0 where earlier.
36437 * sysdeps/unix/sysv/linux/configure: Regenerated.
36438 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36439 Remove conditional code.
36440 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36441 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36442 Remove conditional code.
36443 [!__NR_lchown]: Likewise.
36444 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36445 [__NR_lchown]: Likewise.
36446 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36447 comment referencing __ASSUME_LCHOWN_SYSCALL.
36448 * sysdeps/unix/sysv/linux/i386/sigaction.c
36449 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36450 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36451 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36452 Remove conditional code.
36453 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36454 (__protocol_available): Remove #if 0 code.
36455 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36457 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36458 * sysdeps/unix/sysv/linux/kernel-features.h
36459 (__ASSUME_GETCWD_SYSCALL): Don't define.
36460 (__ASSUME_REALTIME_SIGNALS): Likewise.
36461 (__ASSUME_PREAD_SYSCALL): Likewise.
36462 (__ASSUME_PWRITE_SYSCALL): Likewise.
36463 (__ASSUME_POLL_SYSCALL): Likewise.
36464 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36465 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36467 (__ASSUME_SIOCGIFNAME): Don't define.
36468 (__ASSUME_MSG_NOSIGNAL): Likewise.
36469 (__ASSUME_SENDFILE): Define unconditionally.
36470 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36471 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36473 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36474 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36475 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36476 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36477 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36478 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36479 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36481 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36493 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36496 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36499 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36504 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36505 Remove conditional code.
36506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36508 Remove conditional code.
36509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36510 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36511 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36512 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36513 Remove conditional code.
36514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36515 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36516 Remove conditional code.
36517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36518 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36519 Remove conditional code.
36520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36521 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36522 Remove conditional code.
36523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36524 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36525 Remove conditional code.
36526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36527 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36528 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36530 * sysdeps/unix/sysv/linux/sigaction.c
36531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36533 * sysdeps/unix/sysv/linux/sigpending.c
36534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36536 * sysdeps/unix/sysv/linux/sigprocmask.c
36537 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36538 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36539 * sysdeps/unix/sysv/linux/sigsuspend.c
36540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36542 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36543 (__libc_missing_rt_sigs): Remove.
36544 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36545 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36546 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36547 Remove conditional code.
36548 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36549 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36552 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36553 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36554 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36556 2012-05-14 Andreas Jaeger <aj@suse.de>
36558 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36559 it's not used in glibc.
36560 (__coshm1): Likewise.
36561 (__acosh1p): Likewise.
36564 * manual/string.texi (Copying and Concatenation): Add missing
36565 variable in concat example.
36566 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36571 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36572 __builtin_clzl with __builtin_clzll.
36574 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36577 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36580 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36582 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36583 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36584 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36585 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36587 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36589 * NEWS: Update ia64 info.
36591 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36593 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36596 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36598 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36599 * sysdeps/unix/syscalls.list (dup3): Likewise.
36600 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36601 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36603 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36605 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36606 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36608 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36610 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36612 (TLS_IE): Use mov/add instead of movq/addq to load thread
36614 (TLS_GD_PREFIX): New.
36617 2012-05-11 David S. Miller <davem@davemloft.net>
36619 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36620 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36621 (_FPU_SETCW): Likewise.
36623 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36625 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36626 is 32-byte aligned.
36628 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36631 * iconvdata/gb18030.c: Update tables.
36632 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36633 characters specially.
36634 (BODY for TO_LOOP): Add encoding of missing ranges.
36636 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36639 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36640 * sysdeps/mach/hurd/dup3.c: Likewise.
36641 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36642 * sysdeps/powerpc/memmove.c:: Likewise.
36644 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36647 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36649 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36651 * elf/elf.h (R_X86_64_RELATIVE64): New.
36652 (R_X86_64_NUM): Updated.
36653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36654 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36655 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36656 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36657 tst-quad1pie tst-quad2pie
36658 (modules-names): Add tst-quadmod1 tst-quadmod2.
36659 ($(objpfx)tst-quad1): New dependency.
36660 ($(objpfx)tst-quad2): Likewise.
36661 ($(objpfx)tst-quad1pie): Likewise.
36662 ($(objpfx)tst-quad2pie): Likewise.
36663 * sysdeps/x86_64/tst-quad1.c: New file.
36664 * sysdeps/x86_64/tst-quad1pie.c: New file.
36665 * sysdeps/x86_64/tst-quad2.c: Likewise.
36666 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36667 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36668 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36669 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36670 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36674 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36675 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36676 * streams/stropts.h (t_scalar_t): Define type.
36678 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36679 (_PATH_PRESERVE): Set to "/var/lib".
36680 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36682 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36685 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36686 if __dir_mkfile succeeded.
36688 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36689 checking for _hurd_dtablesize. Unlock it right after having
36690 finished _hurd_dtable allocation.
36692 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36694 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36695 * sysdeps/mach/hurd/configure: Regenerated.
36696 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36697 special-casing to...
36698 * sysdeps/gnu/configure.in: ... this new file.
36699 * sysdeps/unix/sysv/linux/configure: Regenerated.
36700 * sysdeps/gnu/configure: New generated file.
36702 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36703 for Linux: use nsec instead of usec, as well as:
36704 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36705 members of type struct timespec.
36706 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36708 (struct stat64): Likewise.
36709 (_STATBUF_ST_NSEC): New macro.
36710 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36712 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36713 __strtoul_internal rather than strtoul.
36715 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36717 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36722 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36723 which preserves existing values.
36724 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36726 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36728 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36729 TIMEOUT values. Return EINVAL for NFDS values either negative or
36730 greater than FD_SETSIZE.
36732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36734 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36735 allocated, call __vm_protect to finish enabling the existing space, and
36736 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36737 allocate the remainder.
36739 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36741 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36742 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36746 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36747 sysdeps/mach/hurd/readlink.c.
36749 * posix/tst-sysconf.c (posix_options): Only use
36750 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36751 _POSIX_SYNCHRONIZED_IO when they are defined
36752 * sysdeps/mach/hurd/bits/posix_opt.h:
36753 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36754 (_XOPEN_REALTIME): Undefine macro.
36755 (_XOPEN_REALTIME_THREADS): Undefine macro.
36756 (_XOPEN_SHM): Undefine macro.
36757 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36759 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36761 (_POSIX_ASYNC_IO): Undefine macro.
36762 (_POSIX_PRIORITIZED_IO): Undefine macro.
36763 (_POSIX_SPIN_LOCKS): Define macro to -1.
36765 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36766 SA_NODEFER, SA_RESETHAND.
36767 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36768 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36773 * elf/Makefile (pldd-modules): Define unconditionally.
36775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36777 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36781 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36782 Return ENOENT when name is empty.
36783 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36787 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36789 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36793 Fix mlock in all cases except non-readable pages.
36794 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36795 instead of VM_PROT_ALL as parameter to __vm_wire function.
36797 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36798 (__mkdir): When path is `/', just fail with EEXIST.
36799 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36803 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36804 <sys/uio.h> (for writev).
36805 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36806 and <sys/param.h> (for MIN).
36808 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36810 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36811 REQUESTED_TIME. Properly set the remaining time and return EINTR
36814 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36816 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36817 Depend on against $(link-rpcuserlibs).
36819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36821 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36822 (__libc_stack_end): Do not use attribute_relro.
36823 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36824 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36825 to libthread-provided value.
36826 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36829 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36832 * bits/libc-lock.h (__libc_once_get): New macro.
36833 * sysdeps/mach/bits/libc-lock.h: Likewise.
36834 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36836 instead of using implementation details.
36838 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36839 * libio/freopen.c: Likewise.
36840 * libio/freopen64.c: Likewise.
36841 * misc/syslog.c: Likewise.
36842 * nscd/connections.c: Likewise.
36843 * nscd/netgroupcache.c: Likewise.
36844 * sysdeps/posix/getcwd.c: Likewise.
36846 2012-05-10 Roland McGrath <roland@hack.frob.com>
36848 * math/w_ilogbf.c: Add #include <limits.h>.
36850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36852 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36853 path instead of returning without unlocking.
36855 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36856 immediate-write ioctls.
36857 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36861 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36862 __builtin_frame_address instead of making assumptions about the
36863 location of the return address relative to DATA. Force early load of
36864 the return address.
36865 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36866 __builtin_frame_address.
36869 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36870 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36871 implement dup3 and do some further code clean-ups.
36872 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36873 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36877 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36879 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36880 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36881 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36882 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36883 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36886 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36887 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36888 when handler == SIG_ERR, not when handler != SIG_ERR.
36890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36892 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36893 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36896 accept4 for GNU Hurd.
36897 * include/sys/socket.h (__libc_accept4): New prototype.
36898 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36899 to implement __libc_accept4.
36900 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36902 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36904 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36905 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36906 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36907 signal-defines.sym.
36909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36911 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36915 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36916 assertion on O_CLOEXEC flag.
36917 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36918 * hurd/intern-fd.c: Likewise.
36919 * hurd/port2fd.c: Likewise.
36921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36924 * bits/in.h (IPV6_PKTINFO): Define new macro.
36925 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36927 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36932 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36933 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36934 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36935 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36937 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36938 * math/libm-test.inc (logb_test) : Additional logb tests.
36940 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36941 Andreas Jaeger <aj@suse.de>
36943 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36944 * configure: Regenerated.
36945 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36946 * config.make.in (link-obsolete-rpc): New substituted variable.
36947 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36948 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36949 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36950 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36951 so that libc.a contains the symbols.
36952 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36953 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36954 * sunrpc/auth_none.c: Likewise.
36955 * sunrpc/auth_unix.c: Likewise.
36956 * sunrpc/authdes_prot.c: Likewise.
36957 * sunrpc/authuxprot.c: Likewise.
36958 * sunrpc/clnt_gen.c: Likewise.
36959 * sunrpc/clnt_perr.c: Likewise.
36960 * sunrpc/clnt_raw.c: Likewise.
36961 * sunrpc/clnt_simp.c: Likewise.
36962 * sunrpc/clnt_tcp.c: Likewise.
36963 * sunrpc/clnt_udp.c: Likewise.
36964 * sunrpc/clnt_unix.c: Likewise.
36965 * sunrpc/des_crypt.c: Likewise.
36966 * sunrpc/des_soft.c: Likewise.
36967 * sunrpc/get_myaddr.c: Likewise.
36968 * sunrpc/key_call.c: Likewise.
36969 * sunrpc/key_prot.c: Likewise.
36970 * sunrpc/netname.c: Likewise.
36971 * sunrpc/pm_getmaps.c: Likewise.
36972 * sunrpc/pm_getport.c: Likewise.
36973 * sunrpc/pmap_clnt.c: Likewise.
36974 * sunrpc/pmap_prot.c: Likewise.
36975 * sunrpc/pmap_prot2.c: Likewise.
36976 * sunrpc/pmap_rmt.c: Likewise.
36977 * sunrpc/publickey.c: Likewise.
36978 * sunrpc/rpc_cmsg.c: Likewise.
36979 * sunrpc/rpc_common.c: Likewise.
36980 * sunrpc/rpc_dtable.c: Likewise.
36981 * sunrpc/rpc_prot.c: Likewise.
36982 * sunrpc/rpc_thread.c: Likewise.
36983 * sunrpc/rtime.c: Likewise.
36984 * sunrpc/svc.c: Likewise.
36985 * sunrpc/svc_auth.c: Likewise.
36986 * sunrpc/svc_raw.c: Likewise.
36987 * sunrpc/svc_run.c: Likewise.
36988 * sunrpc/svc_tcp.c: Likewise.
36989 * sunrpc/svc_udp.c: Likewise.
36990 * sunrpc/svc_unix.c: Likewise.
36991 * sunrpc/svcauth_des.c: Likewise.
36992 * sunrpc/xcrypt.c: Likewise.
36993 * sunrpc/xdr.c: Likewise.
36994 * sunrpc/xdr_array.c: Likewise.
36995 * sunrpc/xdr_float.c: Likewise.
36996 * sunrpc/xdr_intXX_t.c: Likewise.
36997 * sunrpc/xdr_mem.c: Likewise.
36998 * sunrpc/xdr_rec.c: Likewise.
36999 * sunrpc/xdr_ref.c: Likewise.
37000 * sunrpc/xdr_sizeof.c: Likewise.
37001 * sunrpc/xdr_stdio.c: Likewise.
37003 2012-05-10 Roland McGrath <roland@hack.frob.com>
37005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37006 change. Update copyright years.
37008 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37010 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37012 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37013 Joseph Myers <joseph@codesourcery.com>
37014 Paul Pluzhnikov <ppluzhnikov@google.com>
37017 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37019 [cross-compiling] (extra-libs): Likewise.
37020 [cross-compiling] (extra-libs-others): Likewise.
37021 [cross-compiling] (librpcsvc-routines): Likewise.
37022 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37023 [cross-compiling] (omit-deps): Likewise.
37024 (sunrpc-CPPFLAGS): New variable.
37025 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37026 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37027 (cross-rpcgen-objs): New variable.
37028 (extra-objs): Append $(cross-rpcgen-objs).
37029 ($(cross-rpcgen-objs)): New rule.
37030 ($(objpfx)cross-rpcgen): Likewise.
37031 (rpcgen-cmd): Define to use $(built-program-file). Expand
37033 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37034 ($(objpfx)x%.stmp): Likewise.
37035 * sunrpc/proto.h [IS_IN_build] (_): Define.
37036 [IS_IN_build] (_libc_intl_domainname): Likewise.
37038 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37041 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37042 and R_X86_64_TPOFF64.
37044 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37046 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37047 sysdeps/unix/sysv/syscalls.list.
37050 * sysdeps/unix/sysv/syscalls.list: Remove file.
37052 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37055 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37056 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37057 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37058 (__LC_IDENTIFICATION): Make these macros useful in #if
37059 expressions, as required by C99.
37061 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37063 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37064 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37067 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37069 * stdlib/longlong.h: Updated from GCC.
37071 2012-05-09 Andreas Jaeger <aj@suse.de>
37073 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37074 default is first entry.
37075 (run_mode): Set type.
37076 (main): Remove informal message about syslog.
37077 (options): Fix typo.
37080 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37083 (llrintf): Likewise.
37084 (llrint): Likewise.
37087 (nearbyint): Likewise.
37088 (nearbyintf): Likewise.
37090 2012-05-09 Andreas Jaeger <aj@suse.de>
37091 Pedro Alves <palves@redhat.com>
37093 * nscd/nscd.c (run_mode): Use enum.
37094 (main): Cleanup coding style issue.
37096 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37097 Andreas Jaeger <aj@suse.de>
37099 * nscd/nscd.c (go_background): Replaced with...
37100 (run_mode): ... this.
37101 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37102 (options): Add -F --foreground.
37103 (main): Implement it.
37104 (parse_opt): Parse it.
37106 2012-05-09 Andreas Jaeger <aj@suse.de>
37109 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37110 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37111 -Wconversion warning.
37112 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37115 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37117 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37119 (LC_ALL): Use macro-int-constant.
37120 (LC_COLLATE): Likewise.
37121 (LC_CTYPE): Likewise.
37122 (LC_MESSAGES): Likewise.
37123 (LC_MONETARY): Likewise.
37124 (LC_NUMERIC): Likewise.
37125 (LC_TIME): Likewise.
37126 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37127 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37129 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37131 [C99-based standards] (float_t): Expect type.
37132 [C99-based standards] (double_t): Expect type.
37133 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37135 [C99-based standards] (HUGE_VALL): Likewise.
37136 [C99-based standards] (INFINITY): Likewise.
37137 [C99-based standards] (NAN): Likewise.
37138 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37139 [C99-based standards] (FP_NAN): Likewise.
37140 [C99-based standards] (FP_NORMAL): Likewise.
37141 [C99-based standards] (FP_SUBNORMAL): Likewise.
37142 [C99-based standards] (FP_ZERO): Likewise.
37143 [C99-based standards] (FP_FAST_FMA): Use
37144 optional-macro-int-constant. Specify type. Require == 1.
37145 [C99-based standards] (FP_FAST_FMAF): Likewise.
37146 [C99-based standards] (FP_FAST_FMAL): Likewise.
37147 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37148 [C99-based standards] (FP_ILOGBNAN): Likewise.
37149 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37151 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37152 [C99-based standards] (math_errhandling): Specify type.
37153 [ISO99 || ISO11] (signgam): Do not allow.
37154 [non-C99-based standards] (copysignf): Do not allow.
37155 [non-C99-based standards] (exp2f): Likewise.
37156 [non-C99-based standards] (log2f): Likewise.
37157 [non-C99-based standards] (modff): Allow.
37158 [non-C99-based standards] (erff): Do not allow.
37159 [non-C99-based standards] (erfcf): Likewise.
37160 [non-C99-based standards] (gammaf): Likewise.
37161 [non-C99-based standards] (hypotf): Likewise.
37162 [non-C99-based standards] (j0f): Likewise.
37163 [non-C99-based standards] (j1f): Likewise.
37164 [non-C99-based standards] (jnf): Likewise.
37165 [non-C99-based standards] (lgammaf): Likewise.
37166 [non-C99-based standards] (tgammaf): Likewise.
37167 [non-C99-based standards] (y0f): Likewise.
37168 [non-C99-based standards] (y1f): Likewise.
37169 [non-C99-based standards] (ynf): Likewise.
37170 [non-C99-based standards] (isnanf): Likewise.
37171 [non-C99-based standards] (acoshf): Likewise.
37172 [non-C99-based standards] (asinhf): Likewise.
37173 [non-C99-based standards] (atanhf): Likewise.
37174 [non-C99-based standards] (cbrtf): Likewise.
37175 [non-C99-based standards] (expm1f): Likewise.
37176 [non-C99-based standards] (ilogbf): Likewise.
37177 [non-C99-based standards] (log1pf): Likewise.
37178 [non-C99-based standards] (logbf): Likewise.
37179 [non-C99-based standards] (nextafterf): Likewise.
37180 [non-C99-based standards] (remainderf): Likewise.
37181 [non-C99-based standards] (rintf): Likewise.
37182 [non-C99-based standards] (scalbf): Likewise.
37183 [non-C99-based standards] (copysignl): Likewise.
37184 [non-C99-based standards] (exp2l): Likewise.
37185 [non-C99-based standards] (log2l): Likewise.
37186 [non-C99-based standards] (modfl): Allow.
37187 [non-C99-based standards] (erfl): Do not allow.
37188 [non-C99-based standards] (erfcl): Likewise.
37189 [non-C99-based standards] (gammal): Likewise.
37190 [non-C99-based standards] (hypotl): Likewise.
37191 [non-C99-based standards] (j0l): Likewise.
37192 [non-C99-based standards] (j1l): Likewise.
37193 [non-C99-based standards] (jnl): Likewise.
37194 [non-C99-based standards] (lgammal): Likewise.
37195 [non-C99-based standards] (tgammal): Likewise.
37196 [non-C99-based standards] (y0l): Likewise.
37197 [non-C99-based standards] (y1l): Likewise.
37198 [non-C99-based standards] (ynl): Likewise.
37199 [non-C99-based standards] (isnanl): Likewise.
37200 [non-C99-based standards] (acoshl): Likewise.
37201 [non-C99-based standards] (asinhl): Likewise.
37202 [non-C99-based standards] (atanhl): Likewise.
37203 [non-C99-based standards] (cbrtl): Likewise.
37204 [non-C99-based standards] (expm1l): Likewise.
37205 [non-C99-based standards] (ilogbl): Likewise.
37206 [non-C99-based standards] (log1pl): Likewise.
37207 [non-C99-based standards] (logbl): Likewise.
37208 [non-C99-based standards] (nextafterl): Likewise.
37209 [non-C99-based standards] (remainderl): Likewise.
37210 [non-C99-based standards] (rintl): Likewise.
37211 [non-C99-based standards] (scalbl): Likewise.
37212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37213 [non-C99-based standards] (FP_*): Do not allow.
37214 [C99-based standards] (FP_*): Change to
37215 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37216 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37218 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37219 (SIG_ERR): Likewise.
37220 [X/Open-based standards] (SIG_HOLD): Likewise.
37221 (SIG_IGN): Likewise.
37222 (SIGABRT): Use macro-int-constant. Specify type. Require
37224 (SIGFPE): Likewise.
37225 (SIGILL): Likewise.
37226 (SIGINT): Likewise.
37227 (SIGSEGV): Likewise.
37228 (SIGTER): Likewise.
37229 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37230 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37231 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37232 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37233 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37234 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37235 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37236 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37237 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37238 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37239 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37240 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37241 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37242 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37243 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37244 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37245 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37246 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37247 [X/Open-based standards] (SIGTRAP): Likewise.
37248 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37249 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37250 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37251 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37252 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37255 2012-05-08 Ian Wienand <ianw@vmware.com>
37258 * time/tzset.c (__tzset_parse_tz): Update default rules for
37259 daylight time changes in the Energy Policy Act of 2005.
37261 2012-05-09 Andreas Jaeger <aj@suse.de>
37264 * elf/ldconfig.c (parse_conf): Change string to make clear that
37265 ldconfig only issued a warning if ld.so.conf does not exist.
37267 2012-05-08 David S. Miller <davem@davemloft.net>
37269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37270 movxtod instead of popping the value on the stack.
37272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37274 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37276 * config.h.in: Add HAVE_ARM_PCS_VFP.
37278 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37281 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37282 checking but the checks are disabled for any reason.
37284 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37286 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37287 and ELF64_R_TYPE with ELFW(R_TYPE).
37289 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37291 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37292 (ulimit): Likewise.
37294 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37295 (settimeofday): Likewise.
37297 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37299 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37300 a struct th_u2 inside the union, and move tu_block/tu_code into
37301 a new th_u3 union of tu_block/tu_code inside of that. Move
37302 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37303 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37304 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37305 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37306 (th_stuff): Change to th_u1.tu_stuff.
37308 (th_msg): Change to th_u1.th_u2.tu_data.
37310 2012-05-07 David S. Miller <davem@davemloft.net>
37312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37315 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37316 (SETUP_PIC_REG): Use it.
37317 (SETUP_PIC_REG_LEAF): Use it.
37319 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37323 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37325 (EXPL_FINITE): Likewise.
37326 (FLDLOG): Likewise.
37327 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37328 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37330 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37332 (EXPL_FINITE): Likewise.
37333 (FLDLOG): Likewise.
37334 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37335 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37337 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37338 test of -max_value argument for long double.
37339 * sysdeps/i386/fpu/libm-test-ulps: Update.
37340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37342 2012-05-06 David S. Miller <davem@davemloft.net>
37344 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37345 quad soft-float symbols whose references which are compiler
37347 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37349 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37355 (EXPL_FINITE): Likewise.
37356 (FLDLOG): Likewise.
37359 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37360 Adjust comments for base varying.
37361 (__expl_finite): Change alias to EXPL_FINITE.
37362 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37364 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37365 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37366 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37367 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37368 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37370 (EXPL_FINITE): Likewise.
37371 (FLDLOG): Likewise.
37374 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37375 Adjust comments for base varying.
37376 (__expl_finite): Change alias to EXPL_FINITE.
37377 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37382 * math/libm-test.inc (check_float_internal): Correct ulp
37383 calculation for subnormal expected results.
37385 2012-05-06 Andreas Jaeger <aj@suse.de>
37387 * Makeconfig (+math-flags): New, set to -frounding-math.
37388 (+cflags): Add +math-flags so that all of glibc gets compiled with
37391 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37393 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37395 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37401 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37402 (__ieee754_expl): Allow for and saturate large arguments.
37403 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37404 (u_threshold): Likewise.
37405 (__exp): Call __ieee754_exp before checking for overflow and
37407 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37408 (u_threshold): Likewise.
37409 (__expf): Call __ieee754_expf before checking for overflow and
37411 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37412 (u_threshold): Likewise.
37413 (__expl): Call __ieee754_expl before checking for overflow and
37415 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37416 (__ieee754_expl): Allow for and saturate large arguments.
37417 * math/libm-test.inc (exp_test): Add another test. Do not allow
37418 missing overflow exception on overflow.
37419 (expm1_test): Do not allow missing overflow exception on overflow.
37421 * sysdeps/i386/fpu/e_expl.c: Move to ...
37422 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37423 rather than using inline asm.
37424 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37425 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37426 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37428 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37431 (signal): Likewise.
37435 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37437 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37438 sysdeps/unix/common/syscalls.list.
37439 (fchmod): Likewise.
37440 (fchown): Likewise.
37441 (ftruncate): Likewise.
37442 (getrusage): Likewise.
37443 (gettimeofday): Likewise.
37444 (setpgid): Likewise.
37445 (setregid): Likewise.
37446 (setreuid): Likewise.
37447 (sigaction): Likewise.
37448 (truncate): Likewise.
37449 (vhangup): Likewise.
37450 * sysdeps/unix/common/syscalls.list: Remove file.
37451 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37452 * sysdeps/unix/sysv/linux/Implies: Likewise.
37454 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37456 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37458 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37462 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37465 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37468 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37471 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37474 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37477 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37480 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37488 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37491 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37495 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37499 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37501 * sysdeps/unix/common/bits/dirent.h: Remove file.
37502 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37504 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37505 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37506 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37507 * sysdeps/unix/bsd/isatty.c: Likewise.
37508 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37509 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37510 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37512 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37516 long double comparison inaccuracies.
37517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37520 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37522 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37525 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37528 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37529 nonzero digits before rounding a hex value.
37530 * stdlib/tst-strtod.c (tests): Add another test.
37532 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37534 * sysdeps/s390/fpu/libm-test-ulps: Update.
37536 2012-05-03 Andreas Jaeger <aj@suse.de>
37538 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37539 does not get optimized out.
37540 (malloc_opt_barrier): New.
37542 2012-05-03 Andreas Jaeger <aj@suse.de>
37543 Roland McGrath <roland@hack.frob.com>
37545 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37546 intermediate file deletion.
37547 (generated): Add .symlist files.
37549 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37552 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37553 Redirect under this condition.
37554 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37555 [__USE_GNU] (__dprintf_chk): Not under this condition.
37556 [__USE_GNU] (__vdprintf_chk): Likewise.
37557 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37558 under this condition.
37559 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37560 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37561 [__USE_XOPEN2K8] (vdprintf): Likewise.
37562 [__USE_GNU] (__dprintf_chk): Not under this condition.
37563 [__USE_GNU] (__vdprintf_chk): Likewise.
37564 [__USE_GNU] (dprintf): Likewise.
37565 [__USE_GNU] (vdprintf): Likewise.
37567 2012-05-03 Roland McGrath <roland@hack.frob.com>
37569 * elf/Makefile (common-generated): Set this instead of generated for
37570 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37571 $(all-built-dso)-derived lists.
37573 2012-05-03 Andreas Jaeger <aj@suse.de>
37575 * sysdeps/i386/fpu/libm-test-ulps: Update.
37578 * FAQ.in: Likewise.
37579 * scripts/gen-FAQ.pl: Likewise.
37580 * manual/install.texi (Installation): Point to online location of
37582 * Makefile (files-for-dist): Remove FAQ.
37585 2012-05-02 Allan McRae <allan@archlinux.org>
37587 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37588 (LDFLAGS-reldepmod5.so): Likewise.
37589 (LDFLAGS-reldep6mod1.so): Likewise.
37590 (LDFLAGS-reldep6mod4.so): Likewise.
37591 (LDFLAGS-reldep8mod3.so): Likewise.
37592 (LDFLAGS-unload4mod1.so): Likewise.
37593 (LDFLAGS-unload4mod2.so): Likewise.
37594 (LDFLAGS-tst-initorder): Likewise.
37595 (LDFLAGS-tst-initordera2.so): Likewise.
37596 (LDFLAGS-tst-initordera3.so): Likewise.
37597 (LDFLAGS-tst-initordera4.so): Likewise.
37598 (LDFLAGS-tst-initorderb2.so): Likewise.
37599 (LDFLAGS-noload): Likewise.
37600 (LDFLAGS-next): Likewise.
37601 (LDFLAGS-order2mod1.so): Likewise.
37602 (LDFLAGS-order2mod2.so): Likewise.
37603 (LDFLAGS-tst-initorder2): Likewise.
37604 (LDFLAGS-tst-initorder2a.so): Likewise.
37605 (LDFLAGS-tst-initorder2b.so): Likewise.
37606 (LDFLAGS-tst-initorder2c.so): Likewise.
37607 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37609 2012-05-02 David S. Miller <davem@davemloft.net>
37611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37613 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37616 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37618 2012-05-02 Andreas Jaeger <aj@suse.de>
37620 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37621 since we manipulate rounding mode.
37622 (CPPFLAGS-test-idouble.c): Likewise.
37623 (CPPFLAGS-test-ifloat.c): Likewise.
37624 (CFLAGS-test-ldouble.c): Likewise.
37625 (CFLAGS-test-double.c): Likewise.
37626 (CFLAGS-test-float.c): Likewise.
37627 (CFLAGS-test-misc.c): Likewise.
37628 (CFLAGS-test-test-fenv.c): Likewise.
37630 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37635 comparisons to determine direction to adjust input.
37637 2012-05-01 Roland McGrath <roland@hack.frob.com>
37639 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37640 output to the target.
37642 * scripts/localplt.awk: New file.
37643 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37644 (check-localplt-CFLAGS): Variable removed.
37645 ($(all-built-dso:=.jmprel)): New static pattern rule.
37646 (generated): Add those targets.
37647 (localplt-built-dso): New variable.
37648 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37650 * elf/check-localplt.c: File removed.
37652 * scripts/check-execstack.awk: New file.
37653 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37654 (check-execstack-CFLAGS): Variable removed.
37655 ($(objpfx)check-execstack.h): Target removed.
37656 ($(objpfx)execstack-default): New target.
37657 (generated): Add that instead of check-execstack.h.
37658 ($(all-built-dso:=.phdr)): New static pattern rule.
37659 (generated): Add those targets.
37660 * elf/check-execstack.c: File removed.
37662 * scripts/check-textrel.awk: New file.
37663 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37664 (check-textrel-CFLAGS): Variable removed.
37665 (all-built-dso): Use := to define.o
37666 ($(all-built-dso:=.dyn)): New static pattern rule.
37667 (generated): Add those targets.
37668 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37669 * config.make.in (READELF): New substituted variable.
37670 * elf/check-textrel.c: File removed.
37672 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37674 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37676 * conform/data/ctype.h-data [C99-based standards] (isblank):
37678 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37679 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37681 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37682 Specify type. Require positive value.
37683 (EILSEQ): Likewise.
37684 (ERANGE): Likewise.
37685 [ISO || POSIX] (EILSEQ): Do not expect.
37686 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37687 Specify type. Require positive value.
37688 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37695 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37706 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37707 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37708 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37709 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37710 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37714 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37715 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37716 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37717 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37718 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37734 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37738 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37743 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37744 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37745 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37746 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37747 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37748 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37749 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37750 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37751 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37752 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37753 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37754 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37755 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37756 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37757 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37758 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37759 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37760 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37761 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37762 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37763 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37764 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37766 (FLT_ROUNDS): Expect as macro, not constant.
37767 (FLT_MANT_DIG): Use macro-int-constant.
37768 (DBL_MANT_DIG): Likewise.
37769 (LDBL_MANT_DIG): Likewise.
37770 (FLT_DIG): Likewise.
37771 (DBL_DIG): Likewise.
37772 (LDBL_DIG): Likewise.
37773 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37774 (DBL_MIN_EXP): Likewise.
37775 (LDBL_MIN_EXP): Likewise.
37776 (FLT_MAX_EXP): Use macro-int-constant.
37777 (DBL_MAX_EXP): Likewise.
37778 (LDBL_MAX_EXP): Likewise.
37779 (FLT_MAX_10_EXP): Likewise.
37780 (DBL_MAX_10_EXP): Likewise.
37781 (LDBL_MAX_10_EXP): Likewise.
37782 (FLT_MAX): Use macro-constant.
37783 (DBL_MAX): Likewise.
37784 (LDBL_MAX): Likewise.
37785 (FLT_EPSILON): Use macro-constant. Give upper bound.
37786 (DBL_EPSILON): Likewise.
37787 (LDBL_EPSILON): Likewise.
37788 (FLT_MIN): Likewise.
37789 (DBL_MIN): Likewise.
37790 (LDBL_MIN): Likewise.
37791 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37792 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37793 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37794 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37795 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37796 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37797 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37798 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37799 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37800 [ISO11] (FLT_TRUE_MIN): Likewise.
37801 [ISO11] (LDBL_TRUE_MIN): Likewise.
37802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37803 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37804 (SCHAR_MIN): Use macro-int-constant. Specify type.
37805 (SCHAR_MAX): Likewise.
37806 (UCHAR_MAX): Likewise.
37807 (CHAR_MIN): Likewise.
37808 (CHAR_MAX): Likewise.
37809 (MB_LEN_MAX): Use macro-int-constant.
37810 (SHRT_MIN): Use macro-int-constant. Specify type.
37811 (SHRT_MAX): Likewise.
37812 (USHRT_MAX): Likewise.
37813 (INT_MAX): Likewise.
37814 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37816 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37818 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37820 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37821 bound negative. Suffix upper bound with "L".
37822 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37824 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37826 [C99-based standards] (LLONG_MAX): Likewise.
37827 [C99-based standards] (ULLONG_MAX): Likewise.
37828 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37830 [ISO11] (max_align_t): Require type.
37831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37833 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37834 from $CFLAGS, without defining away __attribute__ calls.
37835 (checknamespace): Use $CFLAGS_namespace.
37837 * conform/conformtest.pl (@keywords): Only include C99 keywords
37838 for standards based on C99 or C11.
37840 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37842 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37845 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37846 usability of symbols in #if.
37848 * conform/conformtest.pl: If macro or constant types start
37849 "promoted:", expect the symbol to be of the following type
37850 promoted by the integer promotions.
37852 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37853 in one place. Also handle "macro-constant".
37855 * conform/conformtest.pl: Only accept expected macro values with
37856 "==". Parse all "macro" lines in one place.
37857 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37859 * conform/conformtest.pl: Handle braced types on "constant" lines
37860 instead of handling "typed-constant".
37861 * conform/data/signal.h-data: Use "constant" instead of
37864 * conform/conformtest.pl: Handle "optional-" at start of lines in
37865 one place rather than duplicating several cases. Handle each
37866 format of "macro" line with initial "optional-".
37868 * conform/conformtest.pl: Only accept expected constant or
37869 optional-constant values with "==". Parse all "constant" lines in
37870 one place. Parse all "optional-constant" lines in one place.
37871 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37872 * conform/data/fmtmsg.h-data: Likewise.
37873 * conform/data/netinet/in.h-data: Likewise.
37874 * conform/data/tar.h-data: Likewise.
37875 * conform/data/limits.h-data: Use "==" form on "constant" and
37876 "optional-constant" lines.
37878 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37879 Use -std=c99 for XOPEN2K.
37880 (@knownproblems): Remove.
37881 (newtoken): Don't check %isknown.
37883 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37884 Do not expect macro.
37885 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37889 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37890 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37895 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37896 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37897 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37898 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37899 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37900 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37901 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37902 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37903 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37907 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37908 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37909 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37915 [XPG3] (acosh): Likewise.
37916 [XPG3] (asinh): Likewise.
37917 [XPG3] (atanh): Likewise.
37918 [XPG3] (cbrt): Likewise.
37919 [XPG3] (expm1): Likewise.
37920 [XPG3] (ilogb): Likewise.
37921 [XPG3] (log1p): Likewise.
37922 [XPG3] (logb): Likewise.
37923 [XPG3] (nextafter): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37926 [XPG3] (remainder): Likewise.
37927 [XPG3] (rint): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37935 [UNIX98 || XOPEN2K] (scalb): Expect.
37936 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37937 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38065 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38066 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38067 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38068 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38069 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38070 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38071 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38072 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38074 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38075 _XOPEN_SOURCE_EXTENDED for XPG4.
38077 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38079 * Makeconfig (localtime): Remove variable.
38080 (inst_localtime-file): Likewise.
38082 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38103 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38107 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38108 comparisons to determine direction to adjust input.
38109 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38110 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38113 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38115 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38120 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38122 * math/libm-test.inc (nexttoward_test): Add more tests.
38124 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38128 in version GLIBC_2.1, not GLIBC_2.0.
38129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38132 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38135 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38138 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38139 * math/libm-test.inc (acos_test): Add more tests.
38140 (asin_test): Likewise.
38141 * sysdeps/i386/fpu/libm-test-ulps: Update.
38142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38147 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38148 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38149 * math/libm-test.inc (acos_test_tonearest): New function.
38150 (acos_test_towardzero): Likewise.
38151 (acos_test_downward): Likewise.
38152 (acos_test_upward): Likewise.
38153 (asin_test_tonearest): Likewise.
38154 (asin_test_towardzero): Likewise.
38155 (asin_test_downward): Likewise.
38156 (asin_test_upward): Likewise.
38157 (main): Call the new functions.
38158 * sysdeps/i386/fpu/libm-test-ulps: Update.
38159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38163 * math/e_exp10.c: Include <float.h>.
38164 (__ieee754_exp10): Handle underflow here rather than multiplying
38165 large negative argument by M_LN10.
38166 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38168 * math/e_exp10l.c: Include <float.h>.
38169 (__ieee754_exp10l): Handle underflow here rather than multiplying
38170 large negative argument by M_LN10l.
38171 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38172 spurious overflow exception on underflow.
38174 2012-04-29 Marek Polacek <polacek@redhat.com>
38176 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38177 (__fortify_function): New macro.
38178 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38179 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38180 __extern_always_inline.
38181 * libio/bits/stdio2.h: Likewise.
38182 * libio/bits/stdio.h: Likewise.
38183 * string/string.h: Likewise.
38184 * string/bits/string3.h: Likewise.
38185 * include/stdio.h: Likewise.
38186 * stdlib/bits/stdlib.h: Likewise.
38187 * stdlib/stdlib.h: Likewise.
38188 * rt/bits/mqueue2.h: Likewise.
38189 * rt/mqueue.h: Likewise.
38190 * posix/bits/unistd.h: Likewise.
38191 * posix/unistd.h: Likewise.
38192 * io/bits/poll2.h: Likewise.
38193 * io/bits/fcntl2.h: Likewise.
38194 * io/fcntl.h: Likewise.
38195 * io/sys/poll.h: Likewise.
38196 * misc/bits/syslog.h: Likewise.
38197 * misc/bits/syslog-ldbl.h: Likewise.
38198 * misc/sys/syslog.h: Likewise.
38199 * socket/bits/socket2.h: Likewise.
38200 * socket/sys/socket.h: Likewise.
38201 * debug/tst-chk1.c: Likewise.
38202 * wcsmbs/bits/wchar2.h: Likewise.
38203 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38204 * wcsmbs/wchar.h: Likewise.
38206 2012-04-29 Andreas Jaeger <aj@suse.de>
38208 * Makerules (tests): Remove enable-check-abi protection.
38209 (check-abi-warn): Remove.
38210 (check-abi-%): Remove check-abi-warn usage.
38212 * configure.in: Remove check-abi configure option.
38213 * configure: Regenerated.
38214 * config.make.in (enable-check-abi): Remove.
38216 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38219 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38220 double functions to double *_finite functions.
38223 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38224 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38226 * stdio-common/Makefile (tests): Add tst-sprintf3.
38227 * stdio-common/tst-sprintf3.c: New file.
38229 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38230 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38232 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38234 * conform/conformtest.pl: Remove duplicate typed-constant
38237 2012-04-28 David S. Miller <davem@davemloft.net>
38239 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38240 (check-abi-%): Remove AWK script prerequisite and explicit
38242 (check-abi): Rewrite to just diff the symlist with the abilist.
38243 (config-tls, config-abi-config): Delete, no longer used.
38244 (update-abi-%): Remove AWK script and explicit abilist directory.
38245 (update-abi): Rewrite to simply compare and conditionally copy the
38246 symlist and the sysdep abilist file. Remove update-abi-config
38248 * abilist/ld.abilist: Remove.
38249 * abilist/libBrokenLocale.abilist: Remove.
38250 * abilist/libanl.abilist: Remove.
38251 * abilist/libcrypt.abilist: Remove.
38252 * abilist/libdl.abilist: Remove.
38253 * abilist/librt.abilist: Remove.
38254 * abilist/libthread_db.abilist: Remove.
38255 * abilist/libutil.abilist: Remove.
38256 * scripts/extract-abilist.awk: Remove.
38257 * scripts/merge-abilist.awk: Remove.
38258 * sysdeps/generic/libcidn.abilist: New file.
38259 * sysdeps/generic/libnss_compat.abilist: New file.
38260 * sysdeps/generic/libnss_db.abilist: New file.
38261 * sysdeps/generic/libnss_dns.abilist: New file.
38262 * sysdeps/generic/libnss_files.abilist: New file.
38263 * sysdeps/generic/libnss_hesiod.abilist: New file.
38264 * sysdeps/generic/libnss_nis.abilist: New file.
38265 * sysdeps/generic/libnss_nisplus.abilist: New file.
38266 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38267 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38268 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38271 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38272 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38273 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38274 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38275 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38276 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38277 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38278 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38280 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38281 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38282 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38283 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38285 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38286 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38287 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38288 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38290 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38292 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38293 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38294 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38296 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38399 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38400 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38401 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38404 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38405 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38406 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38407 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38408 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38409 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38410 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38411 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38412 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38464 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38466 * conform/conformtest.pl: Fix typo in handling typed-constant from
38469 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38471 * README: Cut down references to pre-2.6 Linux kernels and
38472 Linuxthreads. Update lists of configurations in libc and ports
38473 and sort alphabetically. Say "or newer" with Linux kernel version
38476 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38478 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38481 * math/libm-test.inc (logb_test_downward): New test to expose
38482 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38485 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38488 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38490 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38491 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38493 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38495 * sysdeps/unix/i386/brk.S: Remove file.
38496 * sysdeps/unix/i386/dl-brk.S: Likewise.
38497 * sysdeps/unix/i386/pipe.S: Likewise.
38498 * sysdeps/unix/i386/sigreturn.S: Likewise.
38499 * sysdeps/unix/i386/syscall.S: Likewise.
38500 * sysdeps/unix/i386/vfork.S: Likewise.
38501 * sysdeps/unix/i386/wait.S: Likewise.
38503 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38504 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38506 * configure.in (arm*-none*): Do not allow without
38507 --enable-hacker-mode.
38508 (netbsd*): Remove case setting base_os.
38509 (386bsd*): Likewise.
38510 (freebsd*): Likewise.
38513 (sunos*): Likewise.
38514 (ultrix*): Likewise.
38515 (newsos*): Likewise.
38516 (dynix*): Likewise.
38522 (minix*): Likewise.
38523 (irix4*): Likewise.
38524 (irix6*): Likewise.
38525 (solaris[2-9]*): Likewise.
38527 * configure: Regenerated.
38529 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38532 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38533 overflow or cancellation in calculating denominator.
38534 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38536 down expression to avoid unexpected rounding in newer GCCs.
38537 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38539 2012-04-26 David S. Miller <davem@davemloft.net>
38541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38542 long-double compat symbols.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38557 2012-04-25 David S. Miller <davem@davemloft.net>
38559 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38560 HWCAP_* values only after the memory barriers have been defined.
38561 (atomic_full_barrier): Define.
38562 (atomic_read_barrier): Define.
38563 (atomic_write_barrier): Define.
38565 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38567 * shlib-versions: Add libgcc_s version information.
38568 * sysdeps/generic/libgcc_s.h: Remove.
38569 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38571 * sysdeps/gnu/unwind-resume.c: Likewise.
38572 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38574 2012-04-25 David S. Miller <davem@davemloft.net>
38576 * sysdeps/unix/sparc/brk.S: Delete.
38577 * sysdeps/unix/sparc/dl-brk.S: Delete.
38578 * sysdeps/unix/sparc/pipe.S: Delete.
38579 * sysdeps/unix/sparc/sysdep.S: Delete.
38580 * sysdeps/unix/sparc/sysdep.h: Delete.
38581 * sysdeps/unix/sparc/vfork.S: Delete.
38582 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38583 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38585 (ret_ERRVAL, r0, r1, MOVE): Define.
38586 (JUMPTARGET): Remove.
38587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38588 sysdeps/unix/sparc/sysdep.h
38589 (ENTRY, END): Remove.
38590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38592 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38594 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38595 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38598 * timezone/README: Update upstream location and email address for
38600 * timezone/zdump.c: Update from tzcode 2012b.
38601 * timezone/zic.c: Likewise.
38603 * configure.in (libc_cv_as_needed): Remove test.
38604 * configure: Regenerated.
38605 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38606 conditional definition.
38607 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38608 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38609 * config.make.in (have-as-needed): Remove variable.
38611 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38612 Paul Pluzhnikov <ppluzhnikov@google.com>
38614 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38617 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38619 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38620 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38621 * sysdeps/sh/strlen.S: Likewise.
38623 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38625 * sysdeps/unix/fork.S: Remove file.
38626 * sysdeps/unix/i386/fork.S: Likewise.
38627 * sysdeps/unix/sparc/fork.S: Likewise.
38629 * sysdeps/unix/system.c: Remove file.
38630 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38632 * sysdeps/unix/getegid.S: Remove file.
38633 * sysdeps/unix/geteuid.S: Likewise.
38635 2012-04-24 Roland McGrath <roland@hack.frob.com>
38637 * scripts/check-localplt.awk: New file.
38638 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38640 * scripts/data/localplt-generic.data: Add a comment.
38642 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38643 NODE when __dir_mkfile failed.
38644 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38645 Reported by Ludovic Courtès <ludo@gnu.org>.
38647 2012-04-24 Andreas Jaeger <aj@suse.de>
38649 * Makerules (common-clean): Also remove gen-as-const-headers
38652 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38654 * Makerules (native-compile): Do not change working directory for
38655 build. Use $(OUTPUT_OPTION) in command.
38656 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38658 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38661 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38662 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38663 * math/libm-test.inc (floor_test): Add more tests.
38664 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38666 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38668 * sysdeps/unix/getdents.c: Remove file.
38669 * sysdeps/unix/sysv/getdents.c: Likewise.
38670 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38672 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38673 sysdeps/unix/mman/syscalls.list.
38675 (mprotect): Likewise.
38677 (munmap): Likewise.
38678 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38679 * sysdeps/unix/mman/syscalls.list: Remove.
38680 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38682 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38683 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38684 * configure: Regenerated.
38685 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38686 $(libgcc_s_suffix).
38687 * config.make.in (libgcc_s_suffix): Remove variable.
38689 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38691 * sysdeps/unix/sysv/gethostname.c: Move to ...
38692 * sysdeps/posix/gethostname.c: ... here.
38694 * sysdeps/unix/execve.S: Remove file.
38696 * sysdeps/unix/_exit.S: Remove file.
38698 2012-04-23 Andreas Jaeger <aj@suse.de>
38701 * manual/Makefile: Remove make dist support, there's no
38702 need for a stand-alone documentation tar ball.
38703 (TEXI2DVI): Define always, it's not in Makeconfig.
38706 (edition): Removed.
38707 (glibc-doc-$(edition).tar): Removed
38711 (ETAGS): Remove, it's in Makeconfig.
38712 (move-if-change): Remove, it's in Makeconfig.
38714 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38717 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38718 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38719 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38720 (strtod_l, strtof_l, strtold_l): Remove __wur.
38721 It is not necessarily an error to ignore strtol's return value.
38722 One can reliably look at the stored endptr to decide whether
38723 the number had valid syntax.
38725 2012-04-21 Andreas Jaeger <aj@suse.de>
38728 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38730 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38733 * sysdeps/unix/sysv/Versions: Remove file.
38735 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38740 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38744 version from __vm86.
38746 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38748 * sysdeps/unix/common/lxstat.c: Remove file.
38749 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38751 * sysdeps/unix/sysv/Makefile: Remove file.
38753 * sysdeps/unix/sysv/direct.h: Remove file.
38755 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38756 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38757 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38758 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38759 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38760 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38761 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38763 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38765 * sysdeps/unix/xmknod.c: Remove file.
38766 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38768 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38770 * sysdeps/unix/sysv/i386/time.S: Remove file.
38772 * sysdeps/unix/fxstat.c: Remove file.
38773 * sysdeps/unix/xstat.c: Likewise.
38774 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38776 * sysdeps/unix/sysv/sigaction.c: Remove file.
38778 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38779 (sysdep_headers): Remove variable.
38780 [termio.h not in sysdep_headers] (generated): Likewise.
38781 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38782 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38783 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38784 * sysdeps/unix/sysv/tcflow.c: Likewise.
38785 * sysdeps/unix/sysv/tcflush.c: Likewise.
38786 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38787 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38788 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38789 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38790 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38792 * sysdeps/unix/siglist.c: Remove file.
38794 * sysdeps/unix/getppid.S: Remove file.
38796 * sysdeps/unix/mkdir.c: Remove file.
38797 * sysdeps/unix/rmdir.c: Likewise.
38799 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38801 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38803 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38804 errlist-compat value.
38806 2012-04-18 David S. Miller <davem@davemloft.net>
38808 * sysdeps/generic/memcopy.h (reg_char): Delete.
38809 * debug/strcat_chk.c: Use char, not reg_char.
38810 * debug/strcpy_chk.c: Likewise.
38811 * debug/strncat_chk.c: Likewise.
38812 * debug/strncpy_chk.c: Likewise.
38813 * string/memchr.c: Likewise.
38814 * string/memrchr.c: Likewise.
38815 * string/rawmemchr.c: Likewise.
38816 * string/strcat.c: Likewise.
38817 * string/strchr.c: Likewise.
38818 * string/strchrnul.c: Likewise.
38819 * string/strcmp.c: Likewise.
38820 * string/strcpy.c: Likewise.
38821 * string/strncat.c: Likewise.
38822 * string/strncmp.c: Likewise.
38823 * string/strncpy.c: Likewise.
38825 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38827 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38828 __builtin_memcopy is called when src and dest ranges are known to not
38831 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38833 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38834 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38835 fwd_align_merge macro call.
38836 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38837 bwd_align_merge macro call.
38838 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38840 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38842 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38843 bwd_align_merge macros.
38844 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38845 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38848 2012-04-18 David S. Miller <davem@davemloft.net>
38850 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38852 2012-04-18 Andreas Jaeger <aj@suse.de>
38855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38856 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38857 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38859 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38860 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38861 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38863 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38864 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38865 Adjust for changed ldbl-128 files.
38867 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38868 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38869 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38871 2012-04-17 David S. Miller <davem@davemloft.net>
38873 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38875 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38877 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38878 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38879 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38880 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38881 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38882 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38884 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38887 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38888 * math/libm-test.inc: Add ilogb errno and exception tests.
38889 * math/w_ilogb.c: New file: ilogb wrapper.
38890 * math/w_ilogbf.c: New file: ilogbf wrapper.
38891 * math/w_ilogbl.c: New file: ilogbl wrapper.
38892 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38893 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38894 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38895 exception being thrown with 0.0 as argument.
38896 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38897 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38898 exception being thrown with 0.0 as argument.
38899 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38900 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38901 exception being thrown with 0.0 as argument.
38902 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38903 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38904 exception being thrown with 0.0 as argument.
38905 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38906 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38907 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38908 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38909 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38910 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38911 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38912 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38913 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38915 2012-04-17 Petr Baudis <pasky@ucw.cz>
38917 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38920 2012-04-16 Marek Polacek <polacek@redhat.com>
38922 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38924 2012-04-16 Marek Polacek <polacek@redhat.com>
38926 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38927 operands of fdivp instruction.
38929 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38931 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38932 * elf/tst-auditmod3b.c: Likewise.
38933 * elf/tst-auditmod4b.c: Likewise.
38934 * elf/tst-auditmod5b.c: Likewise.
38935 * elf/tst-auditmod6b.c: Likewise.
38936 * elf/tst-auditmod6c.c: Likewise.
38937 * elf/tst-auditmod7b.c: Likewise.
38938 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38939 * sysdeps/x86_64/preconfigure.in: Likewise.
38940 * sysdeps/x86_64/preconfigure: Regenerated.
38942 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38944 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38947 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38950 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38952 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38955 * locale/iso-639.def: Fix gl language name. Spotted by
38958 2012-04-12 Roland McGrath <roland@hack.frob.com>
38961 * libio/libio.h (__io_write_fn): Update comment.
38963 2012-04-12 Petr Baudis <pasky@ucw.cz>
38966 * stdio.texi (Hook Functions): The user provided writer function
38967 is not allowed to return -1.
38969 2012-04-11 David S. Miller <davem@davemloft.net>
38971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38973 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38975 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38976 Add a leading slash to rtkaio.
38978 2012-04-11 Jim Meyering <meyering@redhat.com>
38981 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38982 It is not necessarily an error to ignore fwrite's return
38983 value. One can reliably use ferror to test for errors after
38986 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38988 * bits/types.h (__snseconds_t): New type.
38989 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38991 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38993 (__SNSECONDS_T_TYPE): Likewise.
38994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38995 (__SNSECONDS_T_TYPE): Likewise.
38996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38997 (__SNSECONDS_T_TYPE): Likewise.
38999 2012-04-10 Andreas Jaeger <aj@suse.de>
39002 * manual/time.texi (Processor Time): Return type of times is
39003 elapsed real time since an arbitrary point in the past.
39004 (CPU Time): Move CLK_TCK from here...
39005 (Processor Time): ...to here. Correct description.
39006 * manual/conf.texi (Constants for Sysconf): Correct description of
39009 2012-04-10 David S. Miller <davem@davemloft.net>
39012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39013 where the is a gap between DT_REL(A) and DT_JMPREL.
39015 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39017 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39018 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39019 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39021 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39023 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39024 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39025 (dl_main): Handle --inhibit-cache.
39026 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39028 * elf/dl-load.c (_dl_map_object): Use it.
39029 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39031 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39034 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39035 (__ieee754_powl): Saturate large exponents rather than testing for
39036 overflow of y*log2(x).
39037 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39038 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39042 * math/s_ctan.c: Include <float.h>.
39043 (__ctan): Avoid internal overflow or cancellation in calculating
39045 * math/s_ctanf.c: Likewise.
39046 * math/s_ctanl.c: Likewise.
39047 * math/s_ctanh.c: Likewise.
39048 * math/s_ctanhf.c: Likewise.
39049 * math/s_ctanhl.c: Likewise.
39050 * math/libm-test.inc (ctan_test): Add more tests.
39051 (ctanh_test): Likewise.
39052 * sysdeps/i386/fpu/libm-test-ulps: Update.
39053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39055 2012-04-09 Andreas Jaeger <aj@suse.de>
39058 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39059 is an optional BSD extension.
39062 * manual/stdio.texi (Opening Streams): Document additional fopen
39065 2012-04-09 Roland McGrath <roland@hack.frob.com>
39067 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39068 %eax without telling the compiler.
39070 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39073 * manual/install.texi: Use sourceware.org.
39075 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39078 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39079 (__ieee754_pow): Generate overflow and underflow using huge*huge
39080 and tiny*tiny rather than just returning constant infinity or zero
39081 for large exponents.
39082 * math/libm-test.inc (pow_test): Require overflow exceptions for
39083 applicable cases of large exponents.
39086 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39087 (__ieee754_pow): Use iterative multiplication algorithm only for
39088 integer exponents with absolute value below 1024. Check for odd
39089 integer exponents when using algorithm for real exponents.
39090 * math/libm-test.inc (pow_test): Add more tests.
39091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39093 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39096 * math/libm-test.inc (exp_test): Do not allow overflow exception
39099 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39102 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39103 instead of __kernel_standard_f.
39105 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39107 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39108 * sysdeps/x86_64/memset_chk.S: Likewise.
39110 2012-04-08 Andreas Jaeger <aj@suse.de>
39113 * manual/startup.texi (Environment Access): Describe return value
39114 for putenv and setenv.
39117 * manual/filesys.texi (Directory Entries): Add description for
39121 * manual/filesys.texi (Directory Entries): Clarify that it's file
39122 system not operating system in the description of DT_UNKNOWN.
39125 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39127 2012-04-08 Stephen Compall <s11@member.fsf.org>
39130 * manual/llio.texi (Opening and Closing Files): Add cross
39131 reference to explain mode argument.
39133 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39135 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39136 * sysdeps/x86_64/memset_chk.S: Likewise.
39138 2012-04-07 David S. Miller <davem@davemloft.net>
39140 * elf/elf.h (R_SPARC_WDISP10): Define.
39141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39143 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39144 R_SPARC_SIZE64 and R_SPARC_H34.
39146 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39149 conditions and remove no longer applicable assertion.
39151 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39153 * bits/byteswap.h: Include <features.h>.
39154 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39155 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39157 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39159 * bits/byteswap.h (__bswap_16): Removed.
39160 Include <bits/byteswap-16.h> to get __bswap_16.
39161 * sysdeps/i386/bits/byteswap.h: Likewise.
39162 * sysdeps/s390/bits/byteswap.h: Likewise.
39163 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39164 * bits/byteswap-16.h: New file.
39165 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39166 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39167 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39168 * string/Makefile (headers): Add bits/byteswap-16.h.
39170 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39173 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39175 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39176 * nss/tst-nss-static.c: New.
39178 2012-04-06 Robert Millan <rmh@gnu.org>
39181 * manual/llio.texi (File Position Primitive): lseek
39182 refers to WHENCE when it really means OFFSET.
39184 2012-04-06 Andreas Jaeger <aj@suse.de>
39186 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39187 strncmp declarations.
39189 * abilist/libc.abilist: Add __poll and __ppoll.
39191 2012-04-05 David S. Miller <davem@davemloft.net>
39193 * scripts/check-local-headers.sh: Accept a host triplet in the
39194 path matched by the exclude regexp.
39196 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39198 * sysdeps/powerpc/powerpc32/dl-machine.h
39199 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39200 * sysdeps/s390/s390-32/dl-machine.h
39201 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39202 * sysdeps/sparc/sparc32/dl-machine.h
39203 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39204 * sysdeps/sparc/sparc64/dl-machine.h
39205 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39207 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39209 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39210 undefined symbol errors.
39212 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39215 2012-04-05 Michael Matz <matz@suse.de>
39218 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39220 2012-04-05 Andreas Jaeger <aj@suse.de>
39223 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39226 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39228 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39229 which ROUND is no valid rounding mode.
39231 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39233 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39235 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39237 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39239 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39240 an exception using FPU order intentionally.
39242 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39244 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39245 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39246 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39247 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39249 2012-04-05 Simon Josefsson <simon@josefsson.org>
39252 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39253 EINVAL when BUFLEN is too smal.
39255 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39258 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39259 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39261 2012-04-03 Andreas Jaeger <aj@suse.de>
39264 * manual/setjmp.texi (System V contexts): Fix sentence.
39267 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39268 New macro for this case.
39269 [!__GNUC__] (__bswap_64): New inline function for this case.
39270 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39271 * bits/byteswap.h: Likewise.
39272 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39273 ull, guard with __GLIBC_HAVE_LONG_LONG.
39275 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39276 __GLIBC_HAVE_LONG_LONG.
39278 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39279 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39281 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39284 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39285 inptr and inend, rather than using last_ch.
39287 2012-04-02 David S. Miller <davem@davemloft.net>
39289 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39290 * stdio-common/printf-parse.h (read_int): Change return type to
39291 'int', return -1 on INT_MAX overflow.
39292 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39293 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39294 overflows INT_MAX. Check for overflow of in-format-string precision
39295 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39296 SIZE_MAX not INT_MAX for integer overflow test.
39297 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39298 skip the construct in the format string but do not record anything.
39299 * stdio-common/bug22.c: Adjust to test both width/prevision
39300 INT_MAX overflow as well as total length INT_MAX overflow. Check
39301 explicitly for proper errno values.
39303 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39305 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39307 * string/test-strcmp.c [! WIDE]: Likewise.
39308 * time/tst-mktime2.c: Likewise for INT_MAX.
39309 * string/test-string.h: #include <sys/param.h> for MIN.
39311 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39312 * sysdeps/i386/init-first.c (init): Likewise.
39313 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39314 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39315 * sysdeps/sh/init-first.c (init): Likewise.
39317 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39319 * po/ru.po: Update from translation team.
39320 * po/vi.po: Likewise.
39322 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39324 * resolv/nss_dns/dns-host.c: Merge copyright years.
39326 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39329 Optimize memcpy with prefetch if
39330 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39331 src, dst pointers have unequal 16 byte alignments.
39333 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39336 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39337 from a CNAME entry and return the minimum ttl for the query.
39338 (gaih_getanswer_slice): Likewise.
39340 2012-03-30 Jeff Law <law@redhat.com>
39342 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39344 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39345 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39347 * resolv/nss_dns/dns-host.c: Update copyright year.
39349 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39351 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39352 requests to save a system call. Fix check that all bytes are sent.
39354 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39355 comments for sendmmsg.
39357 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39360 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39361 with only 1 character between 0x0041 and 0x01b0.
39362 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39363 * wcsmbs/tst-mbsnrtowcs.c: New file.
39365 2012-03-29 David S. Miller <davem@davemloft.net>
39367 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39368 small copies by hand.
39370 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39373 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39374 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39377 2012-03-28 David S. Miller <davem@davemloft.net>
39379 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39380 that branches into memcpy.
39381 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39383 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39384 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39387 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39388 implementation too.
39389 * sysdeps/sparc/mempcpy.S: New file.
39391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39392 the IFUNC routine in the libc case.
39393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39395 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39396 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39397 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39398 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39399 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39400 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39401 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39402 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39404 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39405 loop to 256 bytes instead of 64 bytes and fix test signedness.
39407 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39408 * sysdeps/sparc/sparc32/Makefile: rather than here...
39409 * sysdeps/sparc/sparc64/Makefile: and here.
39411 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39413 * malloc/mallocbug.c: Avoid warnings about unused variables.
39415 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39418 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39419 in the right place. Discard and retry query if response is
39420 larger than input buffer size.
39422 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39427 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39428 x for large integer exponent.
39429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39430 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39431 sign of result as needed afterwards.
39432 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39433 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39434 result for underflowing pow the same as for overflow.
39435 (__kernel_standard_l): Handle powl overflow and underflow here
39436 rather than calling __kernel_standard.
39437 * math/libm-test.inc (pow_test): Add more tests.
39452 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39453 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39454 (__kernel_standard_l): New function.
39455 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39457 * math/w_acosl.c (__acosl): Likewise.
39458 * math/w_asinl.c (__asinl): Likewise.
39459 * math/w_atan2l.c (__atan2l): Likewise.
39460 * math/w_atanhl.c (__atanhl): Likewise.
39461 * math/w_coshl.c (__coshl): Likewise.
39462 * math/w_exp10l.c (__exp10l): Likewise.
39463 * math/w_exp2l.c (__exp2l): Likewise.
39464 * math/w_fmodl.c (__fmodl): Likewise.
39465 * math/w_hypotl.c (__hypotl): Likewise.
39466 * math/w_j0l.c (__j0l, __y0l): Likewise.
39467 * math/w_j1l.c (__j1l, __y1l): Likewise.
39468 * math/w_jnl.c (__jnl, __ynl): Likewise.
39469 * math/w_lgammal.c (__lgammal): Likewise.
39470 * math/w_log10l.c (__log10l): Likewise.
39471 * math/w_log2l.c (__log2l): Likewise.
39472 * math/w_logl.c (__logl): Likewise.
39473 * math/w_powl.c (__powl): Likewise.
39474 * math/w_remainderl.c (__remainderl): Likewise.
39475 * math/w_scalbl.c (sysv_scalbl): Likewise.
39476 * math/w_sinhl.c (__sinhl): Likewise.
39477 * math/w_sqrtl.c (__sqrtl): Likewise.
39478 * math/w_tgammal.c (__tgammal): Likewise.
39479 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39480 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39481 * math/libm-test.inc (acos_test): Add more tests.
39482 (acosh_test): Likewise.
39483 (asin_test): Likewise.
39484 (atanh_test): Likewise.
39485 (exp_test): Likewise.
39486 (exp10_test): Likewise.
39487 (exp2_test): Likewise.
39488 (expm1_test): Likewise.
39489 (lgamma_test): Likewise.
39490 (log_test): Likewise.
39491 (log10_test): Likewise.
39492 (log1p_test): Likewise.
39493 (log2_test): Likewise.
39494 (pow_test): Do not allow some spurious overflow exceptions.
39495 (sqrt_test): Add more tests.
39496 (tgamma_test): Likewise.
39497 (y0_test): Likewise.
39498 (y1_test): Likewise.
39499 (yn_test): Likewise.
39501 2012-03-27 Anton Blanchard <anton@samba.org>
39503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39505 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39506 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39509 2012-03-27 David S. Miller <davem@davemloft.net>
39511 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39513 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39514 have-as-vis3 check.
39516 2012-03-27 Andreas Jaeger <aj@suse.de>
39518 * sysdeps/x86_64/elf/configure.in: Moved to ...
39519 * sysdeps/x86_64/configure.in: ... here.
39520 * sysdeps/x86_64/elf/start.S: Moved to ...
39521 * sysdeps/x86_64/start.S: ... here.
39522 * sysdeps/x86_64/elf/configure: Delete.
39524 * sysdeps/x86_64/configure.in: Merge contents from
39525 sysdeps/i386/configure.in (without i686 check).
39527 * sysdeps/i386/elf/Versions: Merge into ...
39528 * sysdeps/i386/Versions: ... this.
39529 * sysdeps/i386/elf/Versions: Delete file.
39530 * sysdeps/i386/elf/start.S: Moved to ...
39531 * sysdeps/i386/start.S: ...here.
39532 * sysdeps/i386/elf/configure.in: Merge into...
39533 * sysdeps/i386/configure.in: ...here.
39534 * sysdeps/i386/elf/configure.in: Delete file.
39535 * sysdeps/i386/elf/configure: Delete file.
39537 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39538 * debug/backtracesyms.c: ... here.
39539 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39540 * debug/backtracesymsfd.c: ... here.
39541 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39542 * sysdeps/generic/ifunc-sel.h: ... here.
39544 * sysdeps/unix/i386/start.c: Delete file.
39545 * sysdeps/unix/sparc/start.c: Delete file.
39546 * sysdeps/unix/start.c: Delete file.
39548 * sysdeps/sh/elf/configure.in: Moved to ...
39549 * sysdeps/sh/configure.in: ... here.
39550 * sysdeps/sh/elf/start.S: Moved to ...
39551 * sysdeps/sh/start.S: ... here.
39552 * sysdeps/sh/elf/configure: Delete file.
39554 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39555 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39556 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39557 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39558 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39559 * sysdeps/powerpc/powerpc64/start.S: here.
39560 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39561 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39562 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39563 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39564 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39566 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39567 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39568 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39569 * sysdeps/powerpc/powerpc32/start.S: ... here.
39570 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39571 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39572 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39574 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39575 * sysdeps/powerpc/ifunc-sel.h: ... here.
39576 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39577 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39579 * sysdeps/sparc/elf/configure.in: Moved to ...
39580 * sysdeps/sparc/configure.in: ... here.
39581 * sysdeps/sparc/elf/configure: Delete file.
39582 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39583 * sysdeps/sparc/sparc32/start.S: ... here.
39584 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39585 * sysdeps/sparc/sparc64/start.S: ... here.
39586 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39587 * sysdeps/sparc/sparc32/Makefile: ... this.
39588 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39589 * sysdeps/sparc/sparc64/Makefile: ... this.
39591 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39592 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39593 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39594 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39595 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39596 * sysdeps/s390/s390-32/setjmp.S: ... here.
39597 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39598 * sysdeps/s390/s390-32/configure.in: ... here.
39599 * sysdeps/s390/s390-32/elf/configure: Delete file.
39600 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39601 * sysdeps/s390/s390-32/start.S: ... here.
39603 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39604 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39605 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39606 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39607 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39608 * sysdeps/s390/s390-64/setjmp.S: ... here.
39609 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39610 * sysdeps/s390/s390-64/configure.in: ... here
39611 * sysdeps/s390/s390-64/elf/configure: Delete file.
39612 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39613 * sysdeps/s390/s390-64/start.S: ... here.
39614 * sysdeps/s390/s390-64/elf/configure: Delete.
39616 * configure.in: Remove support for elf directories in sysdeps.
39618 * configure: Regenerated.
39619 * sysdeps/i386/configure: Regenerated.
39620 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39621 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39622 * sysdeps/s390/s390-32/configure: Regenerated.
39623 * sysdeps/s390/s390-64/configure: Regenerated.
39624 * sysdeps/sh/configure: Regenerated.
39625 * sysdeps/sparc/configure: Regenerated.
39626 * sysdeps/x86_64/configure: Regenerated.
39628 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39633 denormal result into account.
39635 2012-03-25 Roland McGrath <roland@hack.frob.com>
39637 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39638 Reported by Allan McRae <allan@archlinux.org>.
39640 2012-03-23 Jeff Law <law@redhat.com>
39642 * nss/getnssent.c (__nss_getent): Fix typo.
39644 2012-03-23 David S. Miller <davem@davemloft.net>
39646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39648 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39650 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39651 to pad to uint64_t for each field.
39652 (dl_tls_index): Replace unsigned long with uint64_t.
39654 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39655 Paul Pluzhnikov <ppluzhnikov@google.com>
39658 * grp/Makefile (otherlibs): Don't set it.
39659 * inet/Makefile (otherlibs): Likewise.
39660 * login/Makefile (otherlibs): Likewise.
39661 * nscd/Makefile (otherlibs): Likewise.
39662 * posix/Makefile (otherlibs): Likewise.
39663 * pwd/Makefile (otherlibs): Likewise.
39664 * rt/Makefile (otherlibs): Likewise.
39665 * sunrpc/Makefile (otherlibs): Likewise.
39666 * nss/Makefile (otherlibs): Likewise.
39667 Add libnss_files to routines and static-only-routines.
39668 ($(objpfx)getent): Remove rule.
39669 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39670 static-only-routines.
39672 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39675 * math/s_cexp.c: Include <float.h>.
39676 (__cexp): Handle exp result overflowing not necessarily
39677 overflowing both real and imaginary parts of result.
39678 * math/s_cexpf.c: Likewise.
39679 * math/s_cexpl.c: Likewise.
39680 * math/libm-test.inc (cexp_test): Add more tests.
39681 * sysdeps/i386/fpu/libm-test-ulps: Update.
39682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39686 * include/link.h (ELFW): New macro.
39687 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39688 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39690 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39692 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39695 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39697 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39699 (struct La_x32_retval): Likewise.
39701 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39703 * sysdeps/x86_64/preconfigure.in: New file.
39704 * sysdeps/x86_64/preconfigure: New generated file.
39706 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39709 * math/e_exp2l.c: Include <float.h>.
39710 (__ieee754_exp2l): Handle overflow and underflow cases
39711 separately. Only pass fractional part of argument to
39713 * math/libm-test.inc (exp2_test): Add more tests.
39715 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39716 negating x to take absolute value.
39717 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39719 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39720 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39722 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39723 computing low part if x was negated.
39724 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39726 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39728 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39729 la_x32_gnu_pltexit.
39730 (pltexit): Cast int_retval to ptrdiff_t.
39731 * elf/tst-auditmod3b.c: Likewise.
39732 * elf/tst-auditmod4b.c: Likewise.
39733 * elf/tst-auditmod5b.c: Likewise.
39734 * elf/tst-auditmod6b.c: Likewise.
39735 * elf/tst-auditmod6c.c: Likewise.
39736 * elf/tst-auditmod7b.c: Likewise.
39738 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39739 and x32_gnu_pltexit.
39741 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39742 __ELF_NATIVE_CLASS.
39743 (La_x32_regs): New macro.
39744 (La_x32_retval): Likewise.
39745 (la_x32_gnu_pltenter): New function prototype.
39746 (la_x32_gnu_pltexit): Likewise.
39748 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39755 * configure.in (libc_cv_cc_nofma): Check for option to disable
39756 generation of FMA instructions.
39757 * configure: Regenerate.
39758 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39759 * sysdeps/ieee754/dbl-64/Makefile: New file.
39760 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39761 Remove brandred-fma4.
39762 (CFLAGS-brandred-fma4.c): Remove.
39763 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39769 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39771 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39772 LLONG_MAX != LONG_MAX.
39773 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39774 (_fitoa_word): Likewise.
39775 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39776 LLONG_MAX != LONG_MAX.
39777 * stdio-common/_itowa.h: Include <_itoa.h>.
39778 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39779 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39780 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39781 only if not defined.
39782 (_ITOA_WORD_TYPE): Likewise.
39783 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39784 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39786 2012-03-21 David S. Miller <davem@davemloft.net>
39788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39790 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39792 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39793 of x86_64 when setting libc_cv_slibdir, libdir and
39795 * sysdeps/unix/sysv/linux/configure: Regenerated.
39797 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39799 * manual/lang.texi (Old Varargs): Remove section.
39800 (How Variadic): Update menu.
39801 (va_start): Do not mention varargs.h.
39803 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39804 Joseph Myers <joseph@codesourcery.com>
39806 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39808 * configure: Regenerated.
39810 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39812 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39813 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39816 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39819 * Makefile (files-for-dist): Remove NOTES.
39820 (NOTES): Remove rule.
39821 * README: Don't refer to NOTES.
39822 * manual/creature.texi: Don't include macros.texi.
39823 * manual/intro.texi (creature.texi): Remove comment referring to
39826 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39827 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39828 * configure: Regenerated.
39829 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39830 LIBC_TRY_CC_OPTION.
39831 (libc_cv_as_i686): Likewise.
39832 (libc_cv_cc_avx): Likewise.
39833 (libc_cv_cc_sse2avx): Likewise.
39834 (libc_cv_cc_fma4): Likewise.
39835 (libc_cv_cc_novzeroupper): Likewise.
39836 * sysdeps/i386/configure: Regenerated.
39839 * sysdeps/i386/fpu/s_cexp.S: Remove.
39840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39841 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39842 * math/libm-test.inc (cexp_test): Add more tests.
39843 * sysdeps/i386/fpu/libm-test-ulps: Update.
39844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846 2012-03-21 Allan McRae <allan@archlinux.org>
39848 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39850 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39853 * math/w_exp2.c: Do not include <float.h>.
39854 (o_threshold, u_threshold): Remove.
39855 (__exp2): Calculate result before checking finiteness and calling
39857 * math/w_exp2f.c: Likewise.
39858 * math/w_exp2l.c: Likewise.
39859 * math/libm-test.inc (exp2_test): Require overflow exception for
39863 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39864 range of signed 64-bit integers before using fistpll. Remove
39865 checks for whether integers fit in mantissa bits.
39866 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39867 the range of signed 32-bit integers before using fistpl. Remove
39868 checks for whether integers fit in mantissa bits.
39869 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39870 (__ieee754_powl): Test for y outside the range of signed 64-bit
39871 integers before using fistpll. Reduce 64-bit values to 63-bit
39873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39874 divide-by-zero is raised for zero to large negative powers.
39875 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39876 (__ieee754_powl): Test for y outside the range of signed 64-bit
39877 integers before using fistpll. Reduce 64-bit values to 63-bit
39879 * math/libm-test.inc (pow_test): Add more tests.
39881 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39883 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39884 <stdio-common/_itoa.h>.
39885 * debug/segfault.c: Likewise.
39886 * elf/dl-cache.c: Likewise.
39887 * elf/dl-minimal.c: Likewise.
39888 * elf/dl-misc.c: Likewise.
39889 * elf/dl-sysdep.c: Likewise.
39890 * elf/dl-version.c: Likewise.
39891 * elf/rtld.c: Likewise.
39892 * hurd/hurdsock.c: Likewise.
39893 * hurd/lookup-retry.c: Likewise.
39894 * malloc/malloc.c: Likewise.
39895 * malloc/mtrace.c: Likewise.
39896 * nscd/nscd_getgr_r.c: Likewise.
39897 * nscd/nscd_getpw_r.c: Likewise.
39898 * nscd/nscd_getserv_r.c: Likewise.
39899 * posix/getopt_init.c: Likewise.
39900 * posix/wordexp.c: Likewise.
39901 * stdio-common/_itoa.c: Likewise.
39902 * stdio-common/printf_fphex.c: Likewise.
39903 * stdio-common/vfprintf.c: Likewise.
39904 * string/_strerror.c: Likewise.
39905 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39906 * sysdeps/i386/i686/hp-timing.h: Likewise.
39907 * sysdeps/mach/_strerror.c: Likewise.
39908 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39909 * sysdeps/mach/hurd/sethostid.c: Likewise.
39910 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39911 * sysdeps/mach/xpg-strerror.c: Likewise.
39912 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39913 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39914 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39915 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39917 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39918 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39919 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39920 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39921 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39922 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39923 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39924 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39925 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39926 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39927 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39928 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39929 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39930 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39931 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39932 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39934 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39936 * stdio-common/_itoa.h: Moved to ...
39937 * sysdeps/generic/_itoa.h: Here.
39939 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39941 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39942 instead of "_itoa.h" and "_itowa.h".
39943 * stdio-common/vfprintf.: Likewise.
39945 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39947 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39949 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39950 (__signbit): Likwise.
39951 (llrintf): Likwise.
39954 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39956 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39959 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39961 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39962 OVERFLOW_EXCEPTION_OK.
39963 * math/libm-test.inc ("Philosophy"): Update comment about
39965 (OVERFLOW_EXCEPTION): Define.
39966 (OVERFLOW_EXCEPTION_OK): Likewise.
39967 (INVALID_EXCEPTION_OK): Renumber.
39968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39969 (IGNORE_ZERO_INF_SIGN): Likewise.
39970 (test_exceptions): Handle FE_OVERFLOW.
39971 (exp10_test): Expect overflow exceptions.
39972 (exp2_test): Likewise.
39973 (expm1_test): Likewise.
39974 (nextafter_test): Likewise.
39975 (pow_test): Likewise.
39976 (scalbn_test): Likewise.
39977 (scalbln_test): Likewise.
39979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39981 * sysdeps/x86_64/bits/atomic.h
39982 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39984 (atomic_exchange_acq): Likewise.
39985 (__arch_exchange_and_add_body): Likewise.
39986 (__arch_add_body): Likewise.
39987 (atomic_add_negative): Likewise.
39988 (atomic_add_zero): Likewise.
39990 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39992 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39993 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39995 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39997 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39998 Check __x86_64__ instead of __WORDSIZE.
40000 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40002 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40004 2012-03-19 David S. Miller <davem@davemloft.net>
40006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40008 * sysdeps/sparc/fpu/fenv_private.h: New file.
40009 * sysdeps/sparc/fpu/math_private.h: Use it.
40010 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40012 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40013 (libc_feholdexcept_setroundl): Remove.
40014 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40016 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40017 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40021 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40022 int64_t instead of long int.
40023 (INSERT_WORDS64): Likwise.
40025 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40027 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40028 _Unwind_GetCFA return to _Unwind_Ptr first.
40030 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40033 * math/s_clog.c: Include <float.h>.
40034 (__clog): Scale large or subnormal inputs.
40035 * math/s_clogf.c: Likewise.
40036 * math/s_clogl.c: Likewise.
40037 * math/s_clog10.c: Include <float.h>.
40038 (M_LOG10_2): Define.
40039 (__clog10): Scale large or subnormal inputs.
40040 * math/s_clog10f.c: Likewise.
40041 * math/s_clog10l.c: Likewise.
40042 * math/libm-test.inc (clog_test): Add more tests.
40043 (clog10_test): Likewise.
40044 * sysdeps/i386/fpu/libm-test-ulps: Update.
40045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40048 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40050 * math/libm-test.inc (atan2_test): Add another test.
40052 * Makerules (common-objdir-compile): Remove.
40053 * sysdeps/unix/Makefile (config-generated): Do not add
40054 $(unix-generated) to variable.
40055 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40056 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40058 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40060 [generic bits/local_lim.h] (before-compile): Do not append to
40062 [generic bits/local_lim.h] (common-generated): Likewise.
40063 [generic sys/param.h] (before-compile): Do not append to variable.
40064 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40065 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40066 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40067 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40069 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40070 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40071 [generic sys/param.h] ($(addprefix
40072 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40073 [generic sys/param.h] (common-generated): Do not append to
40075 [generic sys/param.h] (sysdep_headers): Likewise.
40076 [generic bits/errno.h] (before-compile): Do not append to
40078 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40080 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40081 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40082 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40083 [generic bits/errno.h] (common-generated): Do not append to
40085 [generic bits/ioctls.h] (before-compile): Do not append to
40087 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40089 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40090 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40091 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40093 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40094 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40095 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40096 [generic bits/ioctls.h] (common-generated): Do not append to
40098 [generic sys/syscall.h] (syscall.h): Remove variable.
40099 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40101 [generic sys/syscall.h] (before-compile): Do not append to
40103 [generic sys/syscall.h] (common-generated): Likewise.
40104 * sysdeps/unix/errnos-tmpl.c: Remove file.
40105 * sysdeps/unix/errnos.awk: Likewise.
40106 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40107 * sysdeps/unix/ioctls.awk: Likewise.
40108 * sysdeps/unix/mk-local_lim.c: Likewise.
40109 * sysdeps/unix/snarf-ioctls: Likewise.
40111 2012-03-19 Richard Henderson <rth@twiddle.net>
40113 * sysdeps/i386/fpu/fenv_private.h: New file.
40114 * sysdeps/i386/fpu/math_private.h: Use it.
40115 (math_opt_barrier, math_force_eval): Remove.
40116 (libc_feholdexcept_setround_53bit): Remove.
40117 (libc_feupdateenv_53bit): Remove.
40118 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40119 (math_opt_barrier, math_force_eval): Remove.
40120 (libc_feholdexcept): Remove.
40121 (libc_feholdexcept_setround): Remove.
40122 (libc_fetestexcept, libc_fesetenv): Remove.
40123 (libc_feupdateenv_test): Remove.
40124 (libc_feupdateenv, libc_feholdsetround): Remove.
40125 (libc_feresetround): Remove.
40127 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40128 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40130 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40131 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40132 (libc_feupdateenv_testl): New.
40133 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40134 (libc_feupdateenv_testf): New.
40135 (libc_feupdateenv): Use libc_feupdateenv_test.
40136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40137 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40139 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40140 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40141 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40142 (libc_feresetround_noex): New.
40143 (libc_feresetround_noexf): New.
40144 (libc_feresetround_noexl): New.
40145 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40146 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40147 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40148 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40153 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40154 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40155 SET_RESTORE_ROUND_NOEX.
40156 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40157 SET_RESTORE_ROUND_NOEXF.
40158 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40159 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40160 (libc_feholdsetroundf): New.
40161 (libc_feresetround, libc_feresetroundf): New.
40163 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40164 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40165 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40167 * sysdeps/generic/math_private.h: Include <fenv.h>.
40168 (default_libc_feholdexcept): New.
40169 (default_libc_feholdexcept_setround): New.
40170 (default_libc_fesetenv, default_libc_feupdateenv): New.
40171 (libc_feholdexcept): Only define if undefined.
40172 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40174 (libc_feholdexcept_setroundl): Likewise.
40175 (libc_feholdexcept_setround_53bit): Likewise.
40176 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40179 (libc_feupdateenv_53bit): Likewise.
40180 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40181 (libc_feholdexcept): Convert from macro to inline function.
40182 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40183 (libc_fesetenv, libc_feupdateenv): Likewise.
40185 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40186 not previously defined.
40187 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40188 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40189 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40190 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40191 * sysdeps/ieee754/flt-32/math_private.h: New file.
40192 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40193 math_private.h below SET_FLOAT_WORD.
40194 (__isnan, __isinf_ns, __finite): Remove.
40195 (__isnanf, __isinf_nsf, __finitef): Remove.
40197 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40201 2012-03-17 David S. Miller <davem@davemloft.net>
40204 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40207 2012-03-16 David S. Miller <davem@davemloft.net>
40209 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40215 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40216 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40217 sysdep_routines when subdir is sysvipc.
40218 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40219 __getshmlba helper.
40221 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40225 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40228 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40230 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40231 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40232 (__lround): Renamed to ...
40233 (__llround): This. Replace long int with long long int.
40234 Define lround functions as aliases of llround functions.
40235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40237 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40239 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40240 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40241 adresses to uintptr_t. Replace "long int" and "unsigned long
40242 int" with "greg_t" on va_arg.
40244 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40246 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40247 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40249 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40250 Move e_machine check before EI_CLASS check. Handle x32
40251 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40252 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40253 SKIP_EM_IA_64 and include
40254 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40256 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40257 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40258 (add_system_dir): New macro.
40260 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40261 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40263 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40274 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40276 * math/w_j0f.c (j0f): Likewise.
40278 * math/w_j0l.c (__j0l): Likewise.
40280 * math/w_j1.c (j1): Likewise.
40282 * math/w_j1f.c (j1f): Likewise.
40284 * math/w_j1l.c (__j1l): Likewise.
40286 * math/w_jn.c (jn): Likewise.
40288 * math/w_jnf.c (jnf): Likewise.
40290 * math/w_jnl.c (__jnl): Likewise.
40292 * math/libm-test.inc (j0_test): Add more tests.
40293 (j1_test): Likewise.
40294 (jn_test): Likewise. Add trailing semicolon to existing test.
40295 (y0_test): Likewise.
40296 (y1_test): Likewise.
40297 * sysdeps/i386/fpu/libm-test-ulps: Update.
40298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40303 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40304 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40305 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40306 (__tanl): Set errno for infinite argument.
40307 * sysdeps/i386/fpu/mptan.c: Remove.
40308 * sysdeps/i386/fpu/s_tan.S: Likewise.
40309 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40310 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40311 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40312 * math/libm-test.inc (tan_test): Add more tests and enable more
40313 tests for double and long double.
40314 * sysdeps/i386/fpu/libm-test-ulps: Update.
40315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40317 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40319 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40320 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40322 2012-03-16 Roland McGrath <roland@hack.frob.com>
40324 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40325 * configure.in: Use it for both main tree and add-ons.
40326 * configure: Regenerated.
40328 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40330 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40332 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40334 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40338 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40339 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40344 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40346 != 0 for prec == 2.
40347 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40348 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40349 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40350 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40351 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40352 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40353 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40354 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40355 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40356 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40357 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40358 * math/libm-test.inc (cos_test): Add more tests and enable more
40359 tests for long double.
40360 (sin_test): Likewise.
40361 (sincos_test): Likewise.
40362 * sysdeps/i386/fpu/libm-test-ulps: Update.
40363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40365 2012-03-16 David S. Miller <davem@davemloft.net>
40367 * sysdeps/sparc/fpu/math_private.h: New file.
40369 2012-03-15 David S. Miller <davem@davemloft.net>
40371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40385 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40386 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40388 * sysdeps/sparc/sparc-ifunc.h: New file.
40389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40427 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40434 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40436 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40440 2012-03-15 Andreas Jaeger <aj@suse.de>
40443 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40444 ieee754/flt-32 implementation for sin, cos and sincos.
40445 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40446 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40447 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40448 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40449 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40450 ieee754/flt-32 implementation for tan.
40452 * math/libm-test.inc (cos_test): Enable some large input tests for
40454 (sin_test): Likewise.
40455 (sincos_test): Likewise.
40456 (tan_test): Add tests for large input.
40458 * sysdeps/i386/fpu/libm-test-ulps: Update.
40460 2012-03-15 Andreas Jaeger <aj@suse.de>
40463 * math/libm-test.inc (cos_test): Add more test cases.
40464 (sin_test): Likewise.
40465 (sincos_test): Likewise.
40467 2012-03-15 Andreas Jaeger <aj@suse.de>
40470 * math/libm-test.inc (cos_test): Add a test case for large input
40472 (sin_test): Likewise.
40473 (sincos_test): Likewise.
40475 2012-03-15 Andreas Jaeger <aj@suse.de>
40476 Joseph Myers <joseph@codesourcery.com>
40479 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40480 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40481 * sysdeps/i386/fpu/branred.c: Likewise.
40482 * sysdeps/i386/fpu/dosincos.c: Likewise.
40483 * sysdeps/i386/fpu/mpa.c: Likewise.
40484 * sysdeps/i386/fpu/s_cos.S: Likewise.
40485 * sysdeps/i386/fpu/s_sin.S: Likewise.
40486 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40487 * sysdeps/i386/fpu/sincos32.c: Likewise.
40489 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40491 (libc_feupdateenv_53bit): Define.
40492 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40494 (libc_feupdateenv_53bit): Define.
40496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40497 53 bit (without extend i386 double precision).
40499 * math/libm-test.inc (sincos_test): Add tests for large input.
40503 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40505 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40509 2012-03-15 David S. Miller <davem@davemloft.net>
40511 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40512 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40513 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40514 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40539 fmin/fmax sysdep routines.
40540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40542 2012-03-14 David S. Miller <davem@davemloft.net>
40544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40616 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40621 * sysdeps/sparc/configure.in: New file.
40622 * sysdeps/sparc/configure: Generate.
40623 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40624 * configure: Regenerate.
40625 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40626 * config.make.in (have-as-vis3): New.
40627 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40628 available use -Av9d instead of -Av9a.
40629 * sysdeps/sparc/sparc64/Makefile: Likewise.
40630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40645 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40646 fzeros/fnegs to load 0x80000000 into a float register instead of
40648 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40650 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40654 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40655 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40656 ($(inst_includedir)/bits/syscall.h): Remove rule.
40657 ($(objpfx)bits/syscall.d): Include instead of
40658 $(objpfx)syscall-list.d.
40659 (generated): Change syscall-list.h and syscall-list.d to
40660 bits/syscall.h and bits/syscall.d.
40662 2012-03-14 Roland McGrath <roland@hack.frob.com>
40665 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40667 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40670 * math/s_csqrt.c: Include <float.h>.
40671 (__csqrt): Scale large or subnormal inputs.
40672 * math/s_csqrtf.c: Likewise.
40673 * math/s_csqrtl.c: Likewise.
40674 * math/libm-test.inc (csqrt_test): Add more tests.
40675 * sysdeps/i386/fpu/libm-test-ulps: Update.
40676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40679 * math/libm-test.inc (hypot_test): Add more tests.
40681 2012-03-13 David S. Miller <davem@davemloft.net>
40684 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40685 double-precision for the calculation instead of scaling.
40687 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40689 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40690 manipulate bits before adding and subtracting TWO52[sx].
40691 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40692 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40694 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40696 2012-03-13 David S. Miller <davem@davemloft.net>
40698 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40699 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40701 rtld-global-offsets.h
40702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40704 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40707 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40709 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40710 'err' in the ifdef scope in which it is actually used.
40712 * nss/nss_db/db-init.c: Include string.h
40714 2012-03-12 David S. Miller <davem@davemloft.net>
40716 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40717 masking out of the most significant byte of random value used.
40718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40719 Fix coding style in previous change.
40721 * sysdeps/unix/sysv/linux/kernel-features.h
40722 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40723 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40725 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40728 2012-03-11 David S. Miller <davem@davemloft.net>
40730 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40731 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40733 for 'resultvar' otherwise things get truncated on 64-bit.
40735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40736 Fix masking out of the most significant byte of random value used.
40738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40740 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40744 2012-03-09 David S. Miller <davem@davemloft.net>
40746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40747 variables with appropriate CPP guards.
40748 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40749 from the frame pointer, not the stack pointer. Correct layout
40750 comments. Fix test on resulting framesize and the management of
40751 the outregs buffer for pltexit. Preserve floating point return
40752 values across _dl_call_pltexit call.
40753 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40754 framesize and the management of the outregs buffer for pltexit.
40755 Preserve floating point return values across _dl_call_pltexit
40757 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40758 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40759 (la_sparc64_gnu_pltexit): New functions.
40760 (print_exit): Fix format string for return register value.
40762 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40764 * sunrpc/Makefile (others): Add rpcgen.
40765 ($(objpfx)rpcgen): Remove special build rule and dependency on
40767 * sunrpc/rpcgen.c: New file.
40769 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40772 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40773 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40774 * sysdeps/i386/crti.S: Likewise.
40775 * sysdeps/i386/crtn.S: Likewise.
40776 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40777 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40778 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40779 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40780 * sysdeps/sh/crti.S: Likewise.
40781 * sysdeps/sh/crtn.S: Likewise.
40782 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40785 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40787 * locale/programs/locfile-kw.gperf: Likewise.
40788 * locale/programs/charmap-kw.h: Regenerated.
40789 * locale/programs/locfile-kw.h: Likewise.
40792 * intl/plural.y: Replace FSF snail mail address with URL.
40793 * intl/plural.c: Regenerated.
40795 2012-03-09 Richard Henderson <rth@twiddle.net>
40797 * include/math_private.h: Remove file.
40798 * math/math_private.h: Move file ...
40799 * sysdeps/generic/math_private.h: ... here.
40801 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40802 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40803 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40805 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40806 and <math_private.h>.
40807 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40808 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40809 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40810 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40811 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40841 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40852 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40868 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40870 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40895 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40896 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40897 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40900 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40901 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40902 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40903 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40904 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40905 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40906 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40907 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40908 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40909 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40912 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40914 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40919 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40922 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40923 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40924 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40927 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40928 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40929 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40930 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40931 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40932 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40936 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40937 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40938 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40939 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40940 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40941 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40942 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40943 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40944 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40945 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40946 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40947 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40948 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40949 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40950 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40951 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40952 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40953 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40954 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40955 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40956 * sysdeps/ieee754/k_standard.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41077 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41079 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41084 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41105 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41106 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41107 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41114 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41117 * sysdeps/ieee754/s_lib_version.c: Likewise.
41118 * sysdeps/ieee754/s_matherr.c: Likewise.
41119 * sysdeps/ieee754/s_signgam.c: Likewise.
41120 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41121 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41122 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41123 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41124 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41125 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41126 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41127 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41128 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41129 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41130 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41131 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41132 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41133 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41134 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41135 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41136 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41137 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41138 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41140 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41142 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41144 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41145 * sunrpc/rpc_main.c: Likewise.
41146 * sunrpc/rpc_svcout.c: Likewise.
41148 2012-03-09 David S. Miller <davem@davemloft.net>
41150 * include/math_private.h: New file.
41152 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41154 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41155 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41156 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41157 from <bits/socket_type.h>.
41158 (enum __socket_type): Don't define here.
41159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41161 bits/socket_type.h.
41164 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41165 checking __USE_GNU.
41167 * Makerules ($(inst_includedir)/%.h): New rule.
41168 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41169 (install-others): Remove variable setting.
41170 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41172 2012-03-08 Richard Henderson <rth@twiddle.net>
41174 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41175 from macro to inline function; merge with the
41176 !__LIBC_INTERNAL_MATH_INLINES version.
41177 (__ieee754_sqrtf): Likewise.
41179 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41180 to inline function.
41181 (__rintf, __floor, __floorf): Likewise.
41183 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41184 macro to inline function.
41185 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41188 not <math/math_private.h>.
41190 2012-03-08 David S. Miller <davem@davemloft.net>
41192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41194 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41196 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41198 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41200 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41201 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41203 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41205 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41206 be defined individually, they must be defined as a block. Define
41207 S for printing a string instead of hidint the different by using a
41208 macro for adding the 'l'.
41209 * stdio-common/tst-fphex-wide.c: Adjust.
41211 2012-03-07 Marek Polacek <polacek@redhat.com>
41213 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41215 2012-03-08 Marek Polacek <polacek@redhat.com>
41218 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41219 * stdio-common/tst-fphex.c: Define a few macros to make the
41220 test reusable. Use them.
41221 * stdio-common/tst-fphex-wide.c: New file.
41223 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41226 * manual/macros.texi (gnusystems): New macro.
41227 (nongnusystems): Likewise.
41228 (gnulinuxhurdsystems): Likewise.
41229 (gnuhurdsystems): Likewise..
41230 (gnulinuxsystems): Likewise.
41231 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41232 variants of the GNU system, not "GNU system".
41233 * manual/conf.texi: Likewise.
41234 * manual/errno.texi: Likewise. Update example of errno macro
41236 * manual/filesys.texi: Likewise.
41237 (getumask): Document as specific to GNU/Hurd.
41238 * manual/install.texi: Likewise. Reword some references to
41240 * manual/intro.texi: Likewise.
41241 * manual/io.texi: Likewise.
41242 (File Name Portability): Detail which constraints are inapplicable
41243 to all GNU systems and which are only inapplicable to GNU/Hurd.
41244 * manual/job.texi: Likewise.
41245 * manual/llio.texi: Likewise.
41246 (O_NOCTTY): Document as present on GNU/Linux.
41247 * manual/maint.texi: Likewise.
41248 * manual/memory.texi: Likewise.
41249 * manual/pattern.texi: Likewise.
41250 * manual/pipe.texi: Likewise.
41251 * manual/process.texi: Likewise.
41252 * manual/resource.texi: Likewise.
41253 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41255 * manual/setjmp.texi: Likewise.
41256 * manual/signal.texi: Likewise.
41257 * manual/startup.texi: Likewise.
41258 * manual/stdio.texi: Likewise.
41259 * manual/terminal.texi: Likewise.
41260 (ONLCR): Document as POSIX.
41261 (OXTABS): Document availability on GNU/Linux as XTABS.
41262 (ONOEOT): Document availability separately from other bits.
41263 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41264 * manual/time.texi: Likewise.
41265 * manual/users.texi: Likewise.
41266 * INSTALL: Regenerated.
41267 * sysdeps/gnu/errlist.c: Regenerated.
41269 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41270 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41271 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41273 * configure: Regenerated.
41275 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41277 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41278 default includes instead of AC_HEADER_CHECK.
41279 * sysdeps/i386/configure: Regenerated.
41282 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41283 * math/s_cacoshf.c (__cacoshf): Likewise.
41284 * math/s_cacoshl.c (__cacoshl): Likewise.
41285 * math/s_casinh.c (__casinh): Set signs of result from argument.
41286 * math/s_casinhf.c (__casinhf): Likewise.
41287 * math/s_casinhl.c (__casinhl): Likewise.
41288 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41289 (casinh_test): Add more tests.
41290 * sysdeps/i386/fpu/libm-test-ulps: Update.
41291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41293 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41295 * po/zh_TW.po: Update from translation team.
41297 * login/Makefile (distribute): Remove variable.
41298 * catgets/Makefile: Likewise.
41299 * mach/Makefile: Likewise.
41300 * malloc/Makefile: Likewise.
41301 * misc/Makefile: Likewise.
41302 * iconv/Makefile: Likewise.
41303 * nscd/Makefile: Likewise.
41304 * hurd/Makefile: Likewise.
41305 * manual/Makefile: Likewise.
41306 * locale/Makefile: Likewise.
41307 * intl/Makefile: Likewise.
41308 * conform/Makefile: Likewise.
41309 * nss/Makefile: Likewise.
41310 * time/Makefile: Likewise.
41311 * soft-fp/Makefile: Likewise.
41312 * dirent/Makefile: Likewise.
41313 * gmon/Makefile: Likewise.
41314 * po/Makefile: Likewise.
41315 * rt/Makefile: Likewise.
41316 * socket/Makefile: Likewise.
41317 * math/Makefile: Likewise.
41318 * signal/Makefile: Likewise.
41319 * debug/Makefile: Likewise.
41320 * elf/Makefile: Likewise.
41321 * timezone/Makefile: Likewise.
41322 * stdlib/Makefile: Likewise.
41323 * iconvdata/Makefile: Likewise.
41324 * sunrpc/Makefile: Likewise.
41325 * io/Makefile: Likewise.
41326 * argp/Makefile: Likewise.
41327 * inet/Makefile: Likewise.
41328 * hesiod/Makefile: Likewise.
41329 * grp/Makefile: Likewise.
41330 * csu/Makefile: Likewise.
41331 * wctype/Makefile: Likewise.
41332 * crypt/Makefile: Likewise.
41333 * libio/Makefile: Likewise.
41334 * string/Makefile: Likewise.
41335 * nis/Makefile: Likewise.
41336 * resolv/Makefile: Likewise.
41337 * stdio-common/Makefile: Likewise.
41338 * wcsmbs/Makefile: Likewise.
41339 * dlfcn/Makefile: Likewise.
41340 * posix/Makefile: Likewise.
41343 * timezone/Makefile: Don't install timezone files, just the programs
41346 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41348 * nss/databases.def: Add missing gshadow entry.
41350 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41352 2012-03-06 Marek Polacek <polacek@redhat.com>
41355 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41356 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41357 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41358 * stdio-common/tst-long-dbl-fphex.c: New file.
41360 2012-03-06 David S. Miller <davem@davemloft.net>
41362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41363 (set_obp_int): New function.
41364 (get_obp_int): New function.
41365 (__get_clockfreq_via_dev_openprom): Likewise.
41366 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41367 Avoid unused variable warnings on 'val' and use builtin_expect.
41368 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41370 (INLINE_CLONE_SYSCALL): Likewise.
41372 2012-03-05 David S. Miller <davem@davemloft.net>
41374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41376 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41381 only for |x| >= 40.
41382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41384 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41387 Replace gettimeofday with __vdso_gettimeofday.
41389 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41390 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41391 __vdso_clock_gettime and __vdso_getcpu.
41393 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41394 time with __vdso_time.
41396 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41398 * manual/lang.texi (size_t): Note types to which size_t may be
41399 equivalent with the GNU C Library, but do not describe when
41400 differences between them are significant.
41402 2012-03-05 Andreas Jaeger <aj@suse.de>
41404 * sysdeps/i386/fpu/libm-test-ulps: Update.
41406 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41409 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41410 (__ieee754_pow): Save and restore rounding mode and use
41411 round-to-nearest for main computations.
41412 * math/libm-test.inc (pow_test_tonearest): New function.
41413 (pow_test_towardzero): Likewise.
41414 (pow_test_downward): Likewise.
41415 (pow_test_upward): Likewise.
41416 (main): Call the new functions.
41417 * sysdeps/i386/fpu/libm-test-ulps: Update.
41418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41421 * math/libm-test.inc (cosh_test_tonearest): New function.
41422 (cosh_test_towardzero): Likewise.
41423 (cosh_test_downward): Likewise.
41424 (cosh_test_upward): Likewise.
41425 (sinh_test_tonearest): Likewise.
41426 (sinh_test_towardzero): Likewise.
41427 (sinh_test_downward): Likewise.
41428 (sinh_test_upward): Likewise.
41429 (main): Call the new functions.
41430 * sysdeps/i386/fpu/libm-test-ulps: Update.
41431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41433 2012-03-05 Tom de Vries <tom@codesourcery.com>
41435 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41436 default stack guard is set in last bytes.
41437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41439 2012-03-05 Kees Cook <keescook@chromium.org>
41441 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41444 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41445 possibly allocate from heap instead of stack.
41446 * stdio-common/bug-vfprintf-nargs.c: New file.
41447 * stdio-common/Makefile (tests): Add nargs overflow test.
41449 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41453 2012-03-03 Marek Polacek <polacek@redhat.com>
41455 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41456 * math/math_private.h: Likewise.
41457 * stdlib/tst-strtod.c: Likewise.
41458 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41459 * sysdeps/x86_64/bits/atomic.h: Likewise.
41461 2012-03-02 David S. Miller <davem@davemloft.net>
41463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41467 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41468 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41469 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41470 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41472 2012-03-02 Roland McGrath <roland@hack.frob.com>
41475 * manual/examples/README: New file, says the example source files
41476 can be used under GPL>=2.
41477 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41478 line containing just "*/".
41479 * manual/examples/add.c: Add copyright header (GPL>=2).
41480 * manual/examples/argp-ex1.c: Likewise.
41481 * manual/examples/argp-ex2.c: Likewise.
41482 * manual/examples/argp-ex3.c: Likewise.
41483 * manual/examples/argp-ex4.c: Likewise.
41484 * manual/examples/atexit.c: Likewise.
41485 * manual/examples/db.c: Likewise.
41486 * manual/examples/dir.c: Likewise.
41487 * manual/examples/dir2.c: Likewise.
41488 * manual/examples/execinfo.c: Likewise.
41489 * manual/examples/filecli.c: Likewise.
41490 * manual/examples/filesrv.c: Likewise.
41491 * manual/examples/fmtmsgexpl.c: Likewise.
41492 * manual/examples/genpass.c: Likewise.
41493 * manual/examples/inetcli.c: Likewise.
41494 * manual/examples/inetsrv.c: Likewise.
41495 * manual/examples/isockad.c: Likewise.
41496 * manual/examples/longopt.c: Likewise.
41497 * manual/examples/memopen.c: Likewise.
41498 * manual/examples/memstrm.c: Likewise.
41499 * manual/examples/mkfsock.c: Likewise.
41500 * manual/examples/mkisock.c: Likewise.
41501 * manual/examples/mygetpass.c: Likewise.
41502 * manual/examples/pipe.c: Likewise.
41503 * manual/examples/popen.c: Likewise.
41504 * manual/examples/rprintf.c: Likewise.
41505 * manual/examples/search.c: Likewise.
41506 * manual/examples/select.c: Likewise.
41507 * manual/examples/setjmp.c: Likewise.
41508 * manual/examples/sigh1.c: Likewise.
41509 * manual/examples/sigusr.c: Likewise.
41510 * manual/examples/stpcpy.c: Likewise.
41511 * manual/examples/strdupa.c: Likewise.
41512 * manual/examples/strftim.c: Likewise.
41513 * manual/examples/strncat.c: Likewise.
41514 * manual/examples/subopt.c: Likewise.
41515 * manual/examples/swapcontext.c: Likewise.
41516 * manual/examples/termios.c: Likewise.
41517 * manual/examples/testopt.c: Likewise.
41518 * manual/examples/testpass.c: Likewise.
41519 * manual/examples/timeval_subtract.c: Likewise.
41522 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41524 * manual/timeval_subtract.c.texi: ... here, new file.
41526 2012-03-02 David S. Miller <davem@davemloft.net>
41528 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41530 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41533 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41534 (__sin): Save and restore rounding mode and use round-to-nearest
41535 for all computations.
41536 (__cos): Save and restore rounding mode and use round-to-nearest
41537 for all computations.
41538 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41540 (tan): Save and restore rounding mode and use round-to-nearest for
41542 * math/libm-test.inc (cos_test_tonearest): New function.
41543 (cos_test_towardzero): Likewise.
41544 (cos_test_downward): Likewise.
41545 (cos_test_upward): Likewise.
41546 (sin_test_tonearest): Likewise.
41547 (sin_test_towardzero): Likewise.
41548 (sin_test_downward): Likewise.
41549 (sin_test_upward): Likewise.
41550 (tan_test_tonearest): Likewise.
41551 (tan_test_towardzero): Likewise.
41552 (tan_test_downward): Likewise.
41553 (tan_test_upward): Likewise.
41554 (main): Call the new functions.
41555 * sysdeps/i386/fpu/libm-test-ulps: Update.
41556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41559 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41560 small n, then large n, before computing and testing k+n.
41561 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41566 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41567 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41573 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41574 * math/libm-test.inc (scalbn_test): Add more tests.
41575 (scalbln_test): Likewise.
41577 * manual/filesys.texi (mode_t): Describe constraints on size and
41578 signedness, not exact equivalence to a particular type.
41580 (ino64_t): Likewise.
41582 (nlink_t): Likewise.
41583 (blkcnt_t): Likewise.
41584 (blkcnt64_t): Likewise.
41585 * manual/llio.texi (off_t): Likewise.
41588 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41589 (__ieee754_exp): Save and restore rounding mode and use
41590 round-to-nearest for all computations.
41591 * math/libm-test.inc (exp_test_tonearest): New function.
41592 (exp_test_towardzero): Likewise.
41593 (exp_test_downward): Likewise.
41594 (exp_test_upward): Likewise.
41595 (main): Call the new functions.
41596 * sysdeps/i386/fpu/libm-test-ulps: Update.
41597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41599 2012-03-01 Chris Demetriou <cgd@google.com>
41601 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41602 have predictable order.
41604 2012-03-01 David S. Miller <davem@davemloft.net>
41606 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41608 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41613 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41614 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41615 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41617 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41618 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41621 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41625 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41626 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41627 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41629 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41630 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41631 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41632 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41633 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41635 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41636 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41637 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41638 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41639 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41640 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41642 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41643 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41645 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41646 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41647 * sysdeps/sparc/elf/configure: Regenerated.
41649 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41651 * configure.in (AS, LD): Require binutils 2.20 or later.
41652 * configure: Regenerated.
41653 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41654 as required minimum version.
41655 * INSTALL: Regenerated.
41659 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41660 before squaring exponent.
41661 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41662 bottom long double and 27 bits of top long double before squaring
41664 * math/libm-test.inc (erfc_test): Add more tests.
41665 * sysdeps/i386/fpu/libm-test-ulps: Update.
41666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41669 2012-03-01 Kai Tietz <ktietz@redhat.com>
41671 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41672 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41673 containing bit-fields.
41674 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41675 * soft-fp/single.h (_FP_UNION_S): Likewise.
41676 * soft-fp/double.h (_FP_UNION_D): Likewise.
41678 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41681 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41682 not include ../strcmp.S.
41683 [USE_AS_STRNCASECMP_L]: Likewise.
41684 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41685 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41686 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41687 (__strncasecmp_l_ia32): Define as alias to
41688 __strncasecmp_l_nonascii.
41691 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41692 * sysdeps/i386/fpu/libm-test-ulps: Update.
41693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41695 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41698 2012-02-29 Jeff Law <law@redhat.com>
41700 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41701 out of bounds read.
41703 2012-02-29 Marek Polacek <polacek@redhat.com>
41706 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41707 * elf/Makefile: Add rules to run tst-unused-dep.out.
41709 2012-02-28 David S. Miller <davem@davemloft.net>
41711 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41712 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41714 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41715 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41716 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41718 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41720 * math/libm-test.inc (llround_test): Move one test from
41721 lround_test. Use TEST_f_L in moved test.
41722 (lround_test): Move misplaced test to llround_test. Add testcase
41725 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41727 * sysdeps/x86_64/fpu/e_expf.S: New file.
41728 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41730 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41733 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41734 of remain_len that may cause incomplete multi-byte character and
41736 * posix/bug-regex33.c: New file.
41737 * posix/Makefile (tests): Add bug-regex33.
41739 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41741 * manual/macros.texi: New file.
41742 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41743 * manual/libc.texinfo: Include macros.texi.
41744 * manual/creatute.texi: Likewise.
41745 * manual/install.texi: Likewise.
41746 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41747 @glibcadj{} in references to the GNU C Library.
41748 * manual/charset.texi: Likewise.
41749 * manual/conf.texi: Likewise.
41750 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41751 when not using those macros.
41752 * manual/creature.texi: Likewise.
41753 * manual/crypt.texi: Likewise.
41754 * manual/errno.texi: Likewise.
41755 * manual/filesys.texi: Likewise.
41756 * manual/header.texi: Likewise.
41757 * manual/install.texi: Likewise.
41758 * manual/intro.texi: Likewise.
41759 * manual/io.texi: Likewise.
41760 * manual/job.texi: Likewise.
41761 * manual/lang.texi: Likewise.
41762 * manual/libc.texiinfo: Likewise.
41763 * manual/llio.texi: Likewise.
41764 * manual/locale.texi: Likewise.
41765 * manual/maint.texi: Likewise.
41766 * manual/math.texi: Likewise.
41767 * manual/memory.texi: Likewise.
41768 * manual/message.texi: Likewise.
41769 * manual/nss.texi: Likewise.
41770 * manual/pattern.texi: Likewise.
41771 * manual/process.texi: Likewise.
41772 * manual/resource.texi: Likewise.
41773 * manual/search.texi: Likewise.
41774 * manual/setjmp.texi: Likewise.
41775 * manual/signal.texi: Likewise.
41776 * manual/socket.texi: Likewise.
41777 * manual/startup.texi: Likewise.
41778 * manual/stdio.texi: Likewise.
41779 * manual/string.texi: Likewise.
41780 * manual/sysinfo.texi: Likewise.
41781 * manual/syslog.texi: Likewise.
41782 * manual/terminal.texi: Likewise.
41783 * manual/time.texi: Likewise.
41784 * manual/users.texi: Likewise.
41785 * INSTALL: Regenerated.
41786 * NOTES: Regenerated.
41787 * sysdeps/gnu/errlist.c: Regenerated.
41789 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41791 * include/dirent.h: Include <dirstream.h> before
41794 2012-02-28 David S. Miller <davem@davemloft.net>
41796 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41797 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41798 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41799 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41801 2012-02-27 David S. Miller <davem@davemloft.net>
41803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41805 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41806 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41809 frame pointer instead of stack pointer relative arg slot.
41810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41811 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41812 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41814 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41817 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41819 2012-02-27 David S. Miller <davem@davemloft.net>
41821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41825 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41826 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41827 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41828 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41830 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41832 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41833 later. Allow versions 5-9.
41834 * configure: Regenerated.
41835 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41836 required minimum version and 4.6 as recommended version. Do not
41837 mention bugs in GCC 2.7 and 2.8.
41838 * INSTALL: Regenerated.
41840 2012-02-27 David S. Miller <davem@davemloft.net>
41842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41846 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41847 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41848 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41849 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41851 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41852 manipulate bits before adding and subtracting TWO112[sx].
41853 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41855 2012-02-27 Roland McGrath <roland@hack.frob.com>
41858 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41859 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41860 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41861 being in POSIX, because they are in 1003.1-2008.
41863 * rt/tst-aio.c: Include <fcntl.h>.
41864 * rt/tst-aio7.c: Likewise.
41865 * rt/tst-aio64.c: Likewise.
41867 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41869 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41871 * manual/install.texi (--with-headers): Describe headers as
41872 interface headers, not private headers.
41873 (Specific advice for GNU/Linux systems): Describe use of headers
41874 from "make headers_install", not private headers from older
41876 * INSTALL: Regenerated.
41877 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41879 * sysdeps/unix/sysv/linux/configure: Regenerated.
41881 * manual/llio.texi (fclean): Remove documentation.
41883 * manual/Makefile (libc-texi-generated): New variable. Include
41885 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41886 $(libc-texi-generated), not duplicated list of files.
41887 (version.texi, stamp-version): New rules.
41888 (realclean): Remove $(libc-texi-generated), not individual files
41889 from that list. Do not remove dir-add.texinfo.
41890 * manual/libc.texinfo: Comment out uses of edition numbers and
41891 references to printed manual. Remove last-updated dates.
41892 (EDITION): Comment out.
41894 (VERSION, UPDATED): Remove.
41895 (version.texi): Include.
41897 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41899 * sysdeps/posix/spawni.c: Include <signal.h>.
41900 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41901 * sysdeps/pthread/aio_fsync.c: Likewise.
41903 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41905 * conform/Makefile (tests): Run only when not cross-compiling and
41906 when fast-check is not defined.
41908 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41909 * conform/data/limits.h-data: Fixes for POSIX2008.
41910 * conform/run-conformtest.sh: Run all tests.
41911 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41913 * include/bits/dlfcn.h: Likewise.
41914 * include/langinfo.h: Likewise.
41915 * include/monetary.h: Likewise.
41916 * include/sys/poll.h: Likewise.
41918 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41920 * posix/spawn.h: Define __need_sigset_t.
41921 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41922 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41923 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41924 to get sigevent_t only.
41925 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41926 only for __USE_GNU.
41927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41928 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41929 process_vm_writev only for __USE_GNU.
41930 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41932 * conform/Makefile: For now ignore errors from run-conformtest.
41933 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41934 POSIX to avoid namespace pollution. Don't prepend headers.
41935 * conform/data/aio.h-data: Fixes for POSIX testing.
41936 * conform/data/fcntl.h-data: Likewise.
41937 * conform/data/glob.h-data: Likewise.
41938 * conform/data/grp.h-data: Likewise.
41939 * conform/data/pthread.h-data: Likewise.
41940 * conform/data/pwd.h-data: Likewise.
41941 * conform/data/signal.h-data: Likewise.
41942 * conform/data/spawn.h-data: Likewise.
41943 * conform/data/stdio.h-data: Likewise.
41944 * conform/data/stdlib.h-data: Likewise.
41945 * conform/data/stropts.h-data: Likewise.
41946 * conform/data/sys/mman.h-data: Likewise.
41947 * conform/data/sys/stat.h-data: Likewise.
41948 * conform/data/sys/types.h-data: Likewise.
41949 * conform/data/sys/wait.h-data: Likewise.
41950 * conform/data/time.h-data: Likewise.
41951 * conform/data/unistd.h-data: Likewise.
41952 * conform/data/utime.h-data: Likewise.
41954 * io/sys/stat.h: fchmod was always in POSIX.
41955 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41956 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41957 * rt/aio.h: Define __need_timespec before including <time.h>.
41958 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41959 struct. Add forward declaration of pthread_attr_t and use it in
41961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41963 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41964 always remove CLK_TCK definition.
41966 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41968 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41970 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41972 * conform/run-conformtest.sh: New file.
41973 * conform/Makefile: Run run-conformtest for tests.
41974 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41977 * conform/data/uchar.h-data: New file.
41978 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41979 * conform/data/arpa/inet.h-data: Likewise.
41980 * conform/data/assert.h-data: Likewise.
41981 * conform/data/complex.h-data: Likewise.
41982 * conform/data/cpio.h-data: Likewise.
41983 * conform/data/ctype.h-data: Likewise.
41984 * conform/data/dirent.h-data: Likewise.
41985 * conform/data/dlfcn.h-data: Likewise.
41986 * conform/data/errno.h-data: Likewise.
41987 * conform/data/fcntl.h-data: Likewise.
41988 * conform/data/float.h-data: Likewise.
41989 * conform/data/fmtmsg.h-data: Likewise.
41990 * conform/data/fnmatch.h-data: Likewise.
41991 * conform/data/ftw.h-data: Likewise.
41992 * conform/data/glob.h-data: Likewise.
41993 * conform/data/grp.h-data: Likewise.
41994 * conform/data/iconv.h-data: Likewise.
41995 * conform/data/inttypes.h-data: Likewise.
41996 * conform/data/langinfo.h-data: Likewise.
41997 * conform/data/libgen.h-data: Likewise.
41998 * conform/data/limits.h-data: Likewise.
41999 * conform/data/locale.h-data: Likewise.
42000 * conform/data/math.h-data: Likewise.
42001 * conform/data/monetary.h-data: Likewise.
42002 * conform/data/mqueue.h-data: Likewise.
42003 * conform/data/ndbm.h-data: Likewise.
42004 * conform/data/net/if.h-data: Likewise.
42005 * conform/data/netdb.h-data: Likewise.
42006 * conform/data/netinet/in.h-data: Likewise.
42007 * conform/data/nl_types.h-data: Likewise.
42008 * conform/data/poll.h-data: Likewise.
42009 * conform/data/pthread.h-data: Likewise.
42010 * conform/data/pwd.h-data: Likewise.
42011 * conform/data/regex.h-data: Likewise.
42012 * conform/data/sched.h-data: Likewise.
42013 * conform/data/search.h-data: Likewise.
42014 * conform/data/semaphore.h-data: Likewise.
42015 * conform/data/setjmp.h-data: Likewise.
42016 * conform/data/signal.h-data: Likewise.
42017 * conform/data/spawn.h-data: Likewise.
42018 * conform/data/stdarg.h-data: Likewise.
42019 * conform/data/stdio.h-data: Likewise.
42020 * conform/data/stdlib.h-data: Likewise.
42021 * conform/data/string.h-data: Likewise.
42022 * conform/data/strings.h-data: Likewise.
42023 * conform/data/stropts.h-data: Likewise.
42024 * conform/data/sys/ipc.h-data: Likewise.
42025 * conform/data/sys/mman.h-data: Likewise.
42026 * conform/data/sys/msg.h-data: Likewise.
42027 * conform/data/sys/resource.h-data: Likewise.
42028 * conform/data/sys/select.h-data: Likewise.
42029 * conform/data/sys/sem.h-data: Likewise.
42030 * conform/data/sys/shm.h-data: Likewise.
42031 * conform/data/sys/socket.h-data: Likewise.
42032 * conform/data/sys/stat.h-data: Likewise.
42033 * conform/data/sys/statvfs.h-data: Likewise.
42034 * conform/data/sys/time.h-data: Likewise.
42035 * conform/data/sys/timeb.h-data: Likewise.
42036 * conform/data/sys/times.h-data: Likewise.
42037 * conform/data/sys/types.h-data: Likewise.
42038 * conform/data/sys/uio.h-data: Likewise.
42039 * conform/data/sys/un.h-data: Likewise.
42040 * conform/data/sys/utsname.h-data: Likewise.
42041 * conform/data/sys/wait.h-data: Likewise.
42042 * conform/data/syslog.h-data: Likewise.
42043 * conform/data/tar.h-data: Likewise.
42044 * conform/data/termios.h-data: Likewise.
42045 * conform/data/utime.h-data: Likewise.
42046 * conform/data/utmpx.h-data: Likewise.
42047 * conform/data/varargs.h-data: Likewise.
42048 * conform/data/wchar.h-data: Likewise.
42049 * conform/data/wctype.h-data: Likewise.
42050 * conform/data/wordexp.h-data: Likewise.
42052 * include/stropts.h: New file.
42053 * include/uchar.h: New file.
42054 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42055 * include/assert.h: Likewise.
42056 * include/ctype.h: Likewise.
42057 * include/dirent.h: Likewise.
42058 * include/dlfcn.h: Likewise.
42059 * include/fcntl.h: Likewise.
42060 * include/fnmatch.h: Likewise.
42061 * include/glob.h: Likewise.
42062 * include/grp.h: Likewise.
42063 * include/libio.h: Likewise.
42064 * include/locale.h: Likewise.
42065 * include/math.h: Likewise.
42066 * include/net/if.h: Likewise.
42067 * include/netdb.h: Likewise.
42068 * include/netinet/in.h: Likewise.
42069 * include/pthread.h: Likewise.
42070 * include/pwd.h: Likewise.
42071 * include/regex.h: Likewise.
42072 * include/sched.h: Likewise.
42073 * include/search.h: Likewise.
42074 * include/setjmp.h: Likewise.
42075 * include/signal.h: Likewise.
42076 * include/stdio.h: Likewise.
42077 * include/stdlib.h: Likewise.
42078 * include/string.h: Likewise.
42079 * include/sys/cdefs.h: Likewise.
42080 * include/sys/mman.h: Likewise.
42081 * include/sys/msg.h: Likewise.
42082 * include/sys/resource.h: Likewise.
42083 * include/sys/select.h: Likewise.
42084 * include/sys/socket.h: Likewise.
42085 * include/sys/stat.h: Likewise.
42086 * include/sys/statvfs.h: Likewise.
42087 * include/sys/time.h: Likewise.
42088 * include/sys/times.h: Likewise.
42089 * include/sys/uio.h: Likewise.
42090 * include/sys/utsname.h: Likewise.
42091 * include/sys/wait.h: Likewise.
42092 * include/termios.h: Likewise.
42093 * include/time.h: Likewise.
42094 * include/ulimit.h: Likewise.
42095 * include/unistd.h: Likewise.
42096 * include/utime.h: Likewise.
42097 * include/wchar.h: Likewise.
42098 * include/wctype.h: Likewise.
42099 * include/wordexp.h: Likewise.
42101 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42103 * time/time.h: TIME_UTC must be a macro.
42104 Make timespec_get available for ISO C11 only as well.
42106 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42108 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42109 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42111 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42113 * configure.in: Use -o not -a in test for unsupported multi-arch.
42115 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42117 * manual/texinfo.tex: Update to version 2012-01-19.16.
42119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42121 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42123 2012-02-24 Roland McGrath <roland@hack.frob.com>
42126 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42127 * manual/fdl-1.3.texi: New file.
42128 * manual/fdl-1.1.texi: File removed.
42131 * manual/libc.texinfo (FDL_VERSION): New @set.
42132 Use it for mention of FDL in cover text.
42133 (Documentation License): Use it in @include file name.
42135 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42136 Roland McGrath <roland@hack.frob.com>
42139 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42140 (not LONG_LONG_MAX and LONG_LONG_MIN.
42141 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42142 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42144 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42150 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42151 manipulate bits before adding and subtracting TWO23[sx].
42152 * math/libm-test.inc (nearbyint_test): Add more tests.
42154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42157 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42158 bits before adding and subtracting TWO23[sx].
42159 * math/libm-test.inc (rint_test): Add more tests.
42160 (rint_test_tonearest): Likewise.
42161 (rint_test_towardzero): Likewise.
42162 (rint_test_downward): Likewise.
42163 (rint_test_upward: Likewise.
42165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42168 * include/stdc-predef.h: New file. Extracted from features.h.
42169 * include/features.h: Include stdc-predef.h.
42170 * Makefile (headers): Add stdc-predef.h.
42171 * CONFORMANCE (Compiler limitations): Update.
42173 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42175 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42177 2012-02-21 David S. Miller <davem@davemloft.net>
42179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42182 2012-02-20 David S. Miller <davem@davemloft.net>
42184 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42185 using a normal save/restore sequence, rather than allocating a
42186 dummy stack frame just to store a frame pointer and restore.
42187 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42189 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42191 * manual/install.texi: Fix stray word in line-wrapped comment.
42193 2012-02-20 David S. Miller <davem@davemloft.net>
42195 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42196 both binutils and gcc support GOTDATA.
42198 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42199 "rd %pc" in the PIC register setup sequences.
42201 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42202 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42203 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42204 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42205 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42208 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42210 (SYSCALL_ERROR_HANDLER): Likewise.
42211 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42212 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42214 (SYSCALL_ERROR_HANDLER): Likewise.
42216 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42217 (HAVE_GCC_GOTDATA): New.
42218 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42219 relocation support in both binutils and gcc.
42220 * sysdeps/sparc/elf/configure: Regenerate.
42222 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42223 * sysdeps/sparc/sparc32/elf/configure: Delete.
42224 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42225 * sysdeps/sparc/sparc64/elf/configure: Delete.
42226 * sysdeps/sparc/elf/configure.in: New file.
42227 * sysdeps/sparc/elf/configure: Generate.
42229 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42230 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42231 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42232 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42233 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42235 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42237 * manual/install.texi: Do not mention specific glibc version
42239 * manual/libc.texinfo (VERSION, UPDATED): Update.
42240 (@copying): Use @copyright{} and range of years.
42242 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42245 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42246 [crti.S not in sysdirs] (generated): Do not append.
42247 [crti.S not in sysdirs] (omit-deps): Likewise.
42248 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42249 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42250 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42251 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42252 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42254 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42255 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42256 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42257 * csu/defs.awk: Remove file.
42258 * sysdeps/generic/initfini.c: Likewise.
42259 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42261 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42264 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42266 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42267 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42270 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42271 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42273 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42274 (__EPOLL_PACKED): Define to empty if not defined by
42276 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42280 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42282 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42283 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42284 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42287 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42291 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42293 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42295 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42296 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42297 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42300 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42302 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42305 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42307 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42308 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42310 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42312 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42315 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42317 * math/w_acos.c: Use non-signaling floating-point comparisons.
42318 * math/w_acosf.c: Likewise.
42319 * math/w_acosh.c: Likewise.
42320 * math/w_acoshf.c: Likewise.
42321 * math/w_acoshl.c: Likewise.
42322 * math/w_acosl.c: Likewise.
42323 * math/w_asin.c: Likewise.
42324 * math/w_asinf.c: Likewise.
42325 * math/w_asinl.c: Likewise.
42326 * math/w_atanh.c: Likewise.
42327 * math/w_atanhf.c: Likewise.
42328 * math/w_atanhl.c: Likewise.
42329 * math/w_exp2.c: Likewise.
42330 * math/w_exp2f.c: Likewise.
42331 * math/w_exp2l.c: Likewise.
42332 * math/w_j0.c: Likewise.
42333 * math/w_j0f.c: Likewise.
42334 * math/w_j0l.c: Likewise.
42335 * math/w_j1.c: Likewise.
42336 * math/w_j1f.c: Likewise.
42337 * math/w_j1l.c: Likewise.
42338 * math/w_jn.c: Likewise.
42339 * math/w_jnf.c: Likewise.
42340 * math/w_log.c: Likewise.
42341 * math/w_log10.c: Likewise.
42342 * math/w_log10f.c: Likewise.
42343 * math/w_log10l.c: Likewise.
42344 * math/w_log2.c: Likewise.
42345 * math/w_log2f.c: Likewise.
42346 * math/w_log2l.c: Likewise.
42347 * math/w_logf.c: Likewise.
42348 * math/w_logl.c: Likewise.
42349 * math/w_sqrt.c: Likewise.
42350 * math/w_sqrtf.c: Likewise.
42351 * math/w_sqrtl.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42355 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42356 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42358 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42361 * manual/string.texi (strnlen): Use correct parameter name in
42362 equivalent expression.
42364 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42367 * manual/users.texi (seteuid): Consistently use neweuid for
42370 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42373 * manual/nss.texi (Services in the NSS configuration): Correct
42374 list of services in example configuration file.
42376 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42379 * manual/arith.texi: Remove statements about negative zero
42380 behaving identically to zero.
42382 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42385 * manual/install.texi: Do not document upgrading from libc5.
42387 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42390 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42392 2012-02-18 David S. Miller <davem@davemloft.net>
42394 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42395 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42396 %o7 across the call.
42397 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42400 SETUP_PIC_REG_LEAF.
42401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42402 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42403 * sysdeps/sparc/crtn.S: Likewise.
42405 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42407 * aout/Makefile: Remove.
42409 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42412 * manual/examples/argp-ex1.c (main): Format definition in GNU
42414 * manual/examples/argp-ex2.c (main): Likewise.
42415 * manual/examples/argp-ex3.c (main): Likewise.
42416 * manual/examples/argp-ex4.c (main): Likewise.
42417 * manual/examples/longopt.c (main): Use new-style prototype
42419 * manual/examples/strncat.c (main): Specify return type and use
42420 (void) for arguments.
42421 * manual/examples/subopt.c (main): Use char **argv argument.
42423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42426 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42429 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42432 * manual/string.texi (strchr): Change when strchrnul is
42435 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42438 * manual/locale.texi (setlocale): Document LOCPATH.
42440 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42443 * manual/process.texi (execle): Move @dots{} before last argument.
42445 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42448 * manual/charset.texi (Generic Charset Conversion): Fix typo
42449 (LC_TYPE -> LC_CTYPE).
42451 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42454 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42455 (scalbnf): Likewise.
42456 (scalbnl): Likewise.
42457 (scalbln): Likewise.
42458 (scalblnf): Likewise.
42459 (scalblnl): Likewise.
42460 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42461 (vwarnx): Likewise.
42464 * manual/filesys.texi (telldir): Use braces around return type.
42465 * manual/llio.texi (mmap): Add space after comma.
42466 (mmap64): Likewise.
42467 * manual/math.texi (jn): Use @var{} on parameter names.
42473 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42475 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42477 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42478 (sched_get_priority_max): Likewise.
42479 * manual/signal.texi (sigvec): Add space after comma.
42480 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42482 (if_indextoname): Likewise.
42483 (if_freenameindex): Likewise.
42484 (sendto): Use ',' instead of '.' in prototype.
42485 * manual/startup.texi (syscall): Use @dots{} instead of literal
42487 * manual/stdio.texi (__fpending): Separate initial words of
42488 paragraph from @deftypefun line.
42489 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42491 (vsyslog): Use @var{} on parameter names.
42492 * manual/terminal.texi (stty): Use @var{} on parameter names.
42493 * manual/users.texi (getutmp): Use @var{} on parameter names.
42494 (getutmpx): Likewise.
42496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42499 * manual/stdio.texi (fopen): Fix typos in description of
42502 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42505 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42506 get clock_id definition.
42508 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42511 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42512 (madvise): Cast every argument to void on its own.
42514 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42517 * manual/startup.texi (Exit Status): Fix typo.
42519 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42522 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42523 * manual/examples/argp-ex2.c: Likewise.
42524 * manual/examples/argp-ex3.c: Likewise.
42526 2012-02-16 Richard Henderson <rth@redhat.com>
42528 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42529 * sysdeps/s390/s390-32/initfini.c: Remove.
42530 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42531 * sysdeps/s390/s390-64/initfini.c: Remove.
42533 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42535 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42536 compiler output for sysdeps/generic/initfini.c.
42537 * sysdeps/sh/elf/initfini.c: Remove file.
42539 2012-02-16 David S. Miller <davem@davemloft.net>
42542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42544 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42545 * sysdeps/sparc/crti.S: New file.
42546 * sysdeps/sparc/crtn.S: New file.
42547 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42548 * sysdeps/sparc/sparc64/Makefile: Likewise.
42550 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42553 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42555 2012-02-15 Roland McGrath <roland@hack.frob.com>
42558 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42560 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42561 (write, read, close): Likewise.
42562 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42564 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42566 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42567 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42568 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42569 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42571 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42575 2012-02-14 Marek Polacek <polacek@redhat.com>
42577 * sysdeps/x86_64/crti.S: New file.
42578 * sysdeps/x86_64/crtn.S: New file.
42579 * sysdeps/x86_64/elf/initfini.c: Remove file.
42581 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42583 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42584 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42585 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42586 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42588 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42592 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42594 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42595 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42596 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42597 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42599 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42603 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42605 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42606 __feraiseexcept instead of feraiseexcept.
42608 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42609 nanosleep invocations.
42610 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42611 strings, and add error checking for a nanosleep invocations.
42613 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42615 Replace FSF snail mail address with URLs, as per GNU coding standards.
42616 Most of the snail mail addresses were wrong anyway, and omitting
42617 them makes the source code easier to maintain. Almost all of the
42618 changes are to license notices and to locale LC_IDENTIFICATION
42619 addresses, except for this one:
42620 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42621 not its snail mail address.
42623 2012-02-09 Richard Henderson <rth@twiddle.net>
42625 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42626 of kernel-features.h.
42628 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42630 2012-02-08 Marek Polacek <polacek@redhat.com>
42632 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42633 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42634 * sysdeps/gnu/_G_config.h: Likewise.
42635 * sysdeps/generic/_G_config.h: Likewise.
42637 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42639 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42643 * sysdeps/powerpc/powerpc32/crti.S: New file.
42644 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42645 * sysdeps/powerpc/powerpc64/crti.S: New file.
42646 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42648 * Makeconfig (have-initfini): Don't set.
42649 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42650 * configure.in (nopic_initfini): Don't substitute.
42651 * config.h.in (HAVE_INITFINI): Don't #undef.
42652 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42653 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42655 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42657 Support crti.S and crtn.S provided directly by architectures.
42658 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42659 [crti.S in sysdirs] (omit-deps): Likewise.
42660 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42661 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42662 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42663 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42664 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42665 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42666 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42667 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42668 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42669 compiler output for sysdeps/generic/initfini.c.
42670 * sysdeps/i386/elf/Makefile: Remove file.
42671 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42673 2012-02-07 Marek Polacek <polacek@redhat.com>
42675 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42676 * sysdeps/gnu/_G_config.h: Likewise.
42677 * sysdeps/mach/hurd/_G_config.h: Likewise.
42679 2012-02-07 Marek Polacek <polacek@redhat.com>
42681 * math/Makefile (tests): Add tst-CMPLX2.
42682 * math/tst-CMPLX2.c: New file.
42684 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42688 * math/libm-test.inc (jn_test): Add missing L suffix.
42690 2012-02-06 Marek Polacek <polacek@redhat.com>
42692 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42693 * sysdeps/i386/fpu/e_powf.S: Likewise.
42694 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42695 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42696 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42697 * sysdeps/i386/fpu/e_pow.S: Likewise.
42698 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42699 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42700 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42701 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42702 * sysdeps/i386/fpu/e_log2.S: Likewise.
42703 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42704 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42705 * sysdeps/i386/fpu/e_powl.S: Likewise.
42706 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42708 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42709 * sysdeps/i386/fpu/e_logl.S: Likewise.
42710 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42711 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42712 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42713 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42714 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42715 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42716 * sysdeps/i386/fpu/e_log.S: Likewise.
42717 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42718 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42719 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42720 * sysdeps/i386/fpu/e_logf.S: Likewise.
42721 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42722 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42723 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42724 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42725 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42726 * sysdeps/i386/fpu/e_log10.S: Likewise.
42727 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42728 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42729 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42730 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42731 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42732 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42733 * sysdeps/i386/asm-syntax.h: Likewise.
42734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42736 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42737 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42738 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42739 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42740 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42741 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42742 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42743 * sysdeps/powerpc/sysdep.h: Likewise.
42744 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42745 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42747 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42750 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42752 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42754 * sysdeps/i386/sysdep.h: Include <features.h>.
42755 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42758 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42760 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42762 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42765 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42767 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42768 (SETUP_PIC_REG): Use GET_PC_THUNK.
42769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42772 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42774 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42775 for non-PIC compilation.
42776 (SETUP_PIC_REG): Add .p2align directive.
42777 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42778 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42779 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42780 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42781 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42782 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42783 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42785 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42786 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42787 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42788 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42789 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42790 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42791 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42792 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42793 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42794 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42795 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42796 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42798 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42799 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42800 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42801 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42803 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42804 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42805 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42806 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42807 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42808 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42809 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42810 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42811 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42812 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42813 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42814 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42815 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42816 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42817 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42819 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42821 * math/tst-CMPLX.c: Include <stdio.h>.
42823 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42825 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42827 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42828 * sysdeps/sparc/bits/mathdef.h: Likewise.
42830 2012-01-31 Marek Polacek <polacek@redhat.com>
42832 * libio/libio.h: Don't define _PARAMS.
42833 * locale/programs/config.h: Don't define PARAMS.
42834 * stdlib/strtol_l.c: Likewise.
42835 (__strtol_l): Remove PARAMS from the prototype.
42837 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42839 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42840 names. Just use the correct names. Remove unnecessary wrapper
42842 * malloc/arena.c: Likewise.
42843 * malloc/hooks.c: Likewise.
42845 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42846 ARENA_TEST says not to. Simplify test for creation of a new arena.
42847 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42849 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42851 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42853 (update_get_addr): New function.
42854 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42855 GET_ADDR_MODULE parameter.
42857 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42859 * crypt/cert.c: Remove __STDC__ conditionals.
42860 * crypt/crypt-entry.c: Likewise.
42861 * crypt/crypt_util.c: Likewise.
42862 * libio/filedoalloc.c: Likewise.
42863 * libio/fileops.c: Likewise.
42864 * libio/genops.c: Likewise.
42865 * libio/iofclose.c: Likewise.
42866 * libio/iofdopen.c: Likewise.
42867 * libio/iofopen.c: Likewise.
42868 * libio/iofopen64.c: Likewise.
42869 * libio/iogetdelim.c: Likewise.
42870 * libio/iopopen.c: Likewise.
42871 * libio/obprintf.c: Likewise.
42872 * libio/oldfileops.c: Likewise.
42873 * libio/oldiofclose.c: Likewise.
42874 * libio/oldiofdopen.c: Likewise.
42875 * libio/oldiofopen.c: Likewise.
42876 * libio/oldiopopen.c: Likewise.
42877 * libio/wfiledoalloc.c: Likewise.
42878 * libio/wgenops.c: Likewise.
42879 * locale/programs/xmalloc.c: Likewise.
42880 * misc/syslog.c: Likewise.
42881 * stdio-common/xbug.c: Likewise.
42882 * string/memchr.c: Likewise.
42883 * string/memcmp.c: Likewise.
42884 * string/memrchr.c: Likewise.
42885 * string/rawmemchr.c: Likewise.
42886 * sysdeps/posix/getcwd.c: Likewise.
42887 * time/strftime_l.c: Likewise.
42889 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42891 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42892 * config.make.in (config-cflags-sse2avx): Define.
42893 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42896 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42898 * scripts/config.guess: Update from upstream config git repository.
42899 * scripts/config.sub: Likewise.
42901 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42903 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42905 (R_TILEPRO_*, R_TILEGX_*): New macros.
42907 * scripts/firstversions.awk: Fix bug in version range handling.
42909 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42911 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42913 * include/sys/epoll.h: New file.
42914 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42917 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42919 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42920 Avoid unnecessary __WORDSIZE == 64 test.
42921 (fmaxf): Use VEX format if possible.
42926 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42927 * math/math_private.h: Remove libc_fegetround* and
42929 * sysdeps/i386/configure.in: Check for -msse2avx.
42930 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42931 also if SSE2AVX is defined.
42932 Remove libc_fegetround* and libc_fesetround*.
42933 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42934 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42935 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42937 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42938 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42939 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42941 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42943 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42945 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42951 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42954 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42956 * Makeconfig (libm): Define.
42957 * elf/Makefile: Add rules to build and run tst-relsort1.
42958 * elf/tst-relsort1.c: New file.
42959 * elf/tst-relsort1mod1.c: New file.
42960 * elf/tst-relsort1mod2.c: New file.
42962 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42964 * math/s_ldexp.c: Remove __STDC__ conditionals.
42965 * math/s_ldexpf.c: Likewise.
42966 * math/s_ldexpl.c: Likewise.
42967 * math/s_nextafter.c: Likewise.
42968 * math/s_nexttowardf.c: Likewise.
42969 * math/s_significand.c: Likewise.
42970 * math/s_significandf.c: Likewise.
42971 * math/s_significandl.c: Likewise.
42972 * math/w_jnl.c: Likewise.
42973 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42974 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42975 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42976 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42977 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42992 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42995 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42997 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42998 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43005 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43008 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43009 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43013 * sysdeps/ieee754/k_standard.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43075 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43080 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43088 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43089 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43093 * sysdeps/ieee754/s_matherr.c: Likewise.
43094 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43095 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43097 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43099 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43101 * crypt/md5.h: Remove __STDC__ conditionals.
43102 * libio/libioP.h: Likewise.
43103 * locale/programs/config.h: Likewise.
43104 * sysdeps/generic/sysdep.h: Likewise.
43105 * sysdeps/i386/asm-syntax.h: Likewise.
43106 * sysdeps/s390/asm-syntax.h: Likewise.
43107 * sysdeps/unix/sysdep.h: Likewise.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43111 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43113 * libio/libio.h: Remove __STDC__ conditionals.
43114 * malloc/obstack.h: Likewise.
43115 * math/complex.h: Likewise.
43116 * math/math.h: Likewise.
43117 * sysdeps/generic/_G_config.h: Likewise.
43118 * sysdeps/gnu/_G_config.h: Likewise.
43119 * sysdeps/mach/hurd/_G_config.h: Likewise.
43120 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43121 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43122 * sysdeps/sparc/bits/mathdef.h: Likewise.
43124 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43127 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43128 Clean up HAS_* macros.
43129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43130 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43132 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43134 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43135 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43140 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43142 * elf/tst-unique3.cc (gets): Remove declaration.
43143 * elf/tst-unique3lib.cc (gets): Likewise.
43144 * elf/tst-unique3lib2.cc (gets): Likewise.
43145 * elf/tst-unique4.cc (gets): Likewise.
43147 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43149 * include/stdio.h: Add C++ protection. Add gets declarations and
43151 * debug/tst-chk1.c: Don't declare gets here.
43152 * stdio-common/tst-gets.c: Likewise.
43154 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43156 * posix/glob: Remove directory.
43158 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43160 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43162 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43164 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43165 of the non-standard EPFNOSUPPORT.
43167 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43169 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43170 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43171 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43173 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43175 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43177 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43179 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43181 * nscd/grpcache.c (cache_addgr): Likewise.
43182 * nscd/hstcache.c (cache_addhst): Likewise.
43183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43184 * nscd/pwdcache.c (cache_addpw): Likewise.
43185 * nscd/servicescache.c (cache_addserv): Likewise.
43187 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43189 * malloc/malloc.c: Various cleanups.
43190 * malloc/hooks.c: Likewise.
43192 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43193 * stdlib/bug-fmtmsg1.c: New file.
43195 * stdlib/fmtmsg.c (init): Add missing unlock.
43196 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43198 2012-01-12 Marek Polacek <polacek@redhat.com>
43200 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43203 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43205 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43206 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43207 macro to ensure uniqueness of label name.
43208 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43209 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43211 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43213 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43215 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43216 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43217 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43220 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43222 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43224 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43225 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43226 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43228 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43230 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43231 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43232 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43235 * math/bits/math-finite.h: Add ldexp support.
43237 2012-01-10 Marek Polacek <polacek@redhat.com>
43239 * locale/programs/localedef.h (show_archive_content): Add noreturn
43242 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43244 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43246 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43248 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43250 * io/Makefile (headers): Add bits/poll2.h.
43252 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43255 typo #include statement.
43257 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43259 * include/sys/cdefs.h: Define __attribute_alloc_size.
43260 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43261 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43262 * elf/pldd.c: Likewise.
43263 * iconv/iconv_charmap.c: Likewise.
43264 * iconv/iconvconfig.c: Likewise.
43265 * iconv/strtab.c: Likewise.
43266 * locale/programs/locale.c: Likewise.
43267 * locale/programs/localedef.h: Likewise.
43268 * locale/programs/simple-hash.c: Likewise.
43269 * nscd/nscd.h: Likewise.
43270 * nss/makedb.c: Likewise.
43271 * sysdeps/generic/ldconfig.h: Likewise.
43272 * locale/programs/localedef.c: Remove xmalloc prototype.
43273 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43275 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43277 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43280 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43282 * math/Makefile (tests): Add tst-CMPLX.
43283 * math/tst-CMPLX.c: New file.
43285 * math/complex.h (CMPLXL): Fix typo.
43287 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43288 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43290 * debug/tst-chk1.c: Add poll and ppoll tests.
43291 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43292 * include/sys/poll.h: Add hidden proto for ppoll.
43293 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43294 * sysdeps/mach/hurd/ppoll.c: Likewise.
43295 * io/ppoll.c: Likewise.
43296 * debug/poll_chk.c: New file.
43297 * debug/ppoll_chk.c: New file.
43298 * include/bits/poll2.h: New file.
43299 * io/bits/poll2.h: New file.
43302 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43304 * configure.in: static is always set to yes. Remove.
43305 * config.make.in: Don't set build-static.
43306 * Makeconfig: Remove use of build-static.
43307 * dlfcn/Makefile: Likewise.
43308 * elf/Makefile: Likewise.
43309 * math/Makefile: Likewise.
43310 * misc/Makefile: Likewise.
43311 * nptl/Makefile: Likewise.
43312 * sysdeps/mach/hurd/Makefile: Likewise.
43314 * configure.in: PWD_P is not used anymore.
43315 * config.make.in: Remove PWD_P entry.
43317 * configure.in: Remove last remnants of RANLIB.
43318 No need to check for signed size_t anymore.
43319 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43321 Remove __builtin_expect test because we require at least gcc 3.4.
43322 * aclocal.m4: Likewise.
43324 * wcsmbs/mbrtoc16.c: Implement using towc function.
43325 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43326 * wcsmbs/wcsmbsload.c: Likewise.
43327 * iconv/gconv_simple.c: Likewise.
43328 * iconv/gconv_int.h: Likewise.
43329 * iconv/gconv_builtin.h: Likewise.
43330 * iconv/iconv_prog.c: Remove CHAR16 handling.
43332 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43334 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43336 * configure.in: Remove --with-elf and --enable-bounded options.
43337 Dont set base_machine for ia64. More non-ELF conditions removed.
43338 Remove testing and setting of leading underscore information.
43339 * config.make.in (build-bounded): Set to no.
43340 * config.h.in: Remove NO_UNDERSCORES entry.
43341 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43343 * csu/start.c: Remove !NO_UNDERSCORE code.
43344 * locale/localeinfo.h: Likewise.
43345 * sysdeps/generic/machine-gmon.h: Likewise.
43346 * sysdeps/generic/sysdep.h: Likewise.
43347 * sysdeps/i386/sysdep.h: Likewise.
43348 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43349 * sysdeps/mach/sysdep.h: Likewise.
43350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43352 * sysdeps/sh/sysdep.h: Likewise.
43353 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43354 * sysdeps/unix/i386/sysdep.S: Likewise.
43355 * sysdeps/unix/sparc/start.c: Likewise.
43356 * sysdeps/unix/sparc/sysdep.S: Likewise.
43357 * sysdeps/unix/sparc/sysdep.h: Likewise.
43358 * sysdeps/unix/start.c: Likewise.
43359 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43360 * sysdeps/x86_64/sysdep.h: Likewise.
43362 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43365 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43367 * argp/argp-fmtstream.h: Use const instead __const.
43368 * argp/argp.h: Likewise.
43369 * assert/assert.h: Likewise.
43370 * bits/fenv.h: Likewise.
43371 * bits/sched.h: Likewise.
43372 * bits/sigset.h: Likewise.
43373 * bits/sigthread.h: Likewise.
43374 * catgets/nl_types.h: Likewise.
43375 * conform/data/pthread.h-data: Likewise.
43376 * crypt/crypt-private.h: Likewise.
43377 * crypt/crypt.h: Likewise.
43378 * crypt/crypt_util.c: Likewise.
43379 * ctype/ctype.h: Likewise.
43380 * debug/execinfo.h: Likewise.
43381 * debug/mbsnrtowcs_chk.c: Likewise.
43382 * debug/mbsrtowcs_chk.c: Likewise.
43383 * debug/wcsnrtombs_chk.c: Likewise.
43384 * debug/wcsrtombs_chk.c: Likewise.
43385 * debug/wcstombs_chk.c: Likewise.
43386 * dirent/dirent.h: Likewise.
43387 * dlfcn/dlfcn.h: Likewise.
43388 * elf/neededtest4.c: Likewise.
43389 * grp/grp.h: Likewise.
43390 * gshadow/gshadow.h: Likewise.
43391 * iconv/gconv.h: Likewise.
43392 * iconv/gconv_int.h: Likewise.
43393 * iconv/gconv_simple.c: Likewise.
43394 * iconv/iconv.h: Likewise.
43395 * iconv/loop.c: Likewise.
43396 * iconv/skeleton.c: Likewise.
43397 * include/aio.h: Likewise.
43398 * include/aliases.h: Likewise.
43399 * include/argz.h: Likewise.
43400 * include/arpa/inet.h: Likewise.
43401 * include/assert.h: Likewise.
43402 * include/dirent.h: Likewise.
43403 * include/dlfcn.h: Likewise.
43404 * include/execinfo.h: Likewise.
43405 * include/fcntl.h: Likewise.
43406 * include/fenv.h: Likewise.
43407 * include/glob.h: Likewise.
43408 * include/grp.h: Likewise.
43409 * include/libintl.h: Likewise.
43410 * include/mntent.h: Likewise.
43411 * include/netdb.h: Likewise.
43412 * include/pwd.h: Likewise.
43413 * include/rpc/netdb.h: Likewise.
43414 * include/sched.h: Likewise.
43415 * include/search.h: Likewise.
43416 * include/shadow.h: Likewise.
43417 * include/signal.h: Likewise.
43418 * include/stdio.h: Likewise.
43419 * include/stdlib.h: Likewise.
43420 * include/string.h: Likewise.
43421 * include/sys/socket.h: Likewise.
43422 * include/sys/stat.h: Likewise.
43423 * include/sys/statfs.h: Likewise.
43424 * include/sys/statvfs.h: Likewise.
43425 * include/sys/syslog.h: Likewise.
43426 * include/sys/time.h: Likewise.
43427 * include/sys/uio.h: Likewise.
43428 * include/time.h: Likewise.
43429 * include/unistd.h: Likewise.
43430 * include/utmp.h: Likewise.
43431 * include/wchar.h: Likewise.
43432 * include/wctype.h: Likewise.
43433 * inet/aliases.h: Likewise.
43434 * inet/arpa/inet.h: Likewise.
43435 * inet/netinet/ether.h: Likewise.
43436 * inet/netinet/in.h: Likewise.
43437 * intl/libintl.h: Likewise.
43438 * io/bits/fcntl2.h: Likewise.
43439 * io/fcntl.h: Likewise.
43440 * io/ftw.h: Likewise.
43441 * io/sys/poll.h: Likewise.
43442 * io/sys/stat.h: Likewise.
43443 * io/sys/statfs.h: Likewise.
43444 * io/sys/statvfs.h: Likewise.
43445 * io/utime.h: Likewise.
43446 * libio/bits/stdio.h: Likewise.
43447 * libio/bits/stdio2.h: Likewise.
43448 * libio/libio.h: Likewise.
43449 * libio/libioP.h: Likewise.
43450 * libio/stdio.h: Likewise.
43451 * locale/lc-ctype.c: Likewise.
43452 * locale/locale.h: Likewise.
43453 * login/utmp.h: Likewise.
43454 * malloc/arena.c: Likewise.
43455 * malloc/malloc.c: Likewise.
43456 * malloc/malloc.h: Likewise.
43457 * malloc/mcheck.c: Likewise.
43458 * malloc/mtrace.c: Likewise.
43459 * math/bits/mathcalls.h: Likewise.
43460 * math/fenv.h: Likewise.
43461 * math/math_private.h: Likewise.
43462 * misc/bits/error.h: Likewise.
43463 * misc/bits/syslog.h: Likewise.
43464 * misc/err.h: Likewise.
43465 * misc/error.h: Likewise.
43466 * misc/fstab.h: Likewise.
43467 * misc/mntent.h: Likewise.
43468 * misc/regexp.h: Likewise.
43469 * misc/search.h: Likewise.
43470 * misc/sgtty.h: Likewise.
43471 * misc/sys/mman.h: Likewise.
43472 * misc/sys/syslog.h: Likewise.
43473 * misc/sys/uio.h: Likewise.
43474 * misc/sys/xattr.h: Likewise.
43475 * misc/ttyent.h: Likewise.
43476 * nis/rpcsvc/ypclnt.h: Likewise.
43477 * nss/nss.h: Likewise.
43478 * posix/bits/unistd.h: Likewise.
43479 * posix/fnmatch.h: Likewise.
43480 * posix/glob.h: Likewise.
43481 * posix/sched.h: Likewise.
43482 * posix/spawn.h: Likewise.
43483 * posix/sys/wait.h: Likewise.
43484 * posix/unistd.h: Likewise.
43485 * posix/wordexp.h: Likewise.
43486 * pwd/pwd.h: Likewise.
43487 * resolv/netdb.h: Likewise.
43488 * resource/sys/resource.h: Likewise.
43489 * rt/aio.h: Likewise.
43490 * rt/bits/mqueue2.h: Likewise.
43491 * rt/mqueue.h: Likewise.
43492 * shadow/shadow.h: Likewise.
43493 * signal/signal.h: Likewise.
43494 * socket/send.c: Likewise.
43495 * socket/sendto.c: Likewise.
43496 * socket/sys/socket.h: Likewise.
43497 * stdio-common/printf.h: Likewise.
43498 * stdlib/bits/stdlib.h: Likewise.
43499 * stdlib/fmtmsg.h: Likewise.
43500 * stdlib/monetary.h: Likewise.
43501 * stdlib/stdlib.h: Likewise.
43502 * stdlib/ucontext.h: Likewise.
43503 * streams/stropts.h: Likewise.
43504 * string/argz.h: Likewise.
43505 * string/bits/string2.h: Likewise.
43506 * string/string.h: Likewise.
43507 * string/strings.h: Likewise.
43508 * sunrpc/rpc/auth.h: Likewise.
43509 * sunrpc/rpc/auth_des.h: Likewise.
43510 * sunrpc/rpc/clnt.h: Likewise.
43511 * sunrpc/rpc/netdb.h: Likewise.
43512 * sunrpc/rpc/pmap_clnt.h: Likewise.
43513 * sunrpc/rpc/xdr.h: Likewise.
43514 * sysdeps/generic/inttypes.h: Likewise.
43515 * sysdeps/generic/net/if.h: Likewise.
43516 * sysdeps/generic/sys/swap.h: Likewise.
43517 * sysdeps/gnu/net/if.h: Likewise.
43518 * sysdeps/gnu/utmpx.h: Likewise.
43519 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43520 * sysdeps/i386/i486/bits/string.h: Likewise.
43521 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43522 * sysdeps/s390/bits/string.h: Likewise.
43523 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43524 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43525 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43526 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43527 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43528 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43529 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43530 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43531 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43532 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43533 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43534 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43535 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43536 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43537 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43538 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43539 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43541 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43544 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43545 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43546 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43547 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43548 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43549 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43550 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43551 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43553 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43554 * sysvipc/sys/ipc.h: Likewise.
43555 * sysvipc/sys/msg.h: Likewise.
43556 * sysvipc/sys/sem.h: Likewise.
43557 * sysvipc/sys/shm.h: Likewise.
43558 * termios/termios.h: Likewise.
43559 * time/sys/time.h: Likewise.
43560 * time/time.h: Likewise.
43561 * wcsmbs/bits/wchar2.h: Likewise.
43562 * wcsmbs/uchar.h: Likewise.
43563 * wcsmbs/wchar.h: Likewise.
43564 * wctype/wctype.h: Likewise.
43567 * Makeconfig: Remove all but ELF support including AIX support.
43568 * Makerules: Likewise.
43569 * config.h.in: Likewise.
43570 * config.make.in: Likewise.
43571 * configure: Likewise.
43572 * configure.in: Likewise.
43573 * csu/Makefile: Likewise.
43574 * csu/version.c: Likewise.
43575 * debug/Makefile: Likewise.
43576 * dlfcn/Makefile: Likewise.
43577 * elf/Makefile: Likewise.
43578 * extra-lib.mk: Likewise.
43579 * iconv/Makefile: Likewise.
43580 * include/libc-symbols.h: Likewise.
43581 * include/shlib-compat.h: Likewise.
43582 * resolv/Makefile: Likewise.
43583 * resolv/res_libc.c: Likewise.
43584 * rt/Makefile: Likewise.
43585 * sysdeps/i386/asm-syntax.h: Likewise.
43586 * sysdeps/i386/sysdep.h: Likewise.
43587 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43588 * sysdeps/mach/sysdep.h: Likewise.
43589 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43590 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43591 * sysdeps/s390/asm-syntax.h: Likewise.
43592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43594 * sysdeps/sh/sysdep.h: Likewise.
43595 * sysdeps/unix/sparc/sysdep.h: Likewise.
43596 * sysdeps/wordsize-32/divdi3.c: Likewise.
43597 * sysdeps/x86_64/sysdep.h: Likewise.
43599 * argp/Versions: Remove _argp_unlock_xxx.
43602 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43603 * abilist/libBrokenLocale.abilist: Likewise.
43604 * abilist/libanl.abilist: Likewise.
43605 * abilist/libc.abilist: Likewise.
43606 * abilist/libcrypt.abilist: Likewise.
43607 * abilist/libdl.abilist: Likewise.
43608 * abilist/libm.abilist: Likewise.
43609 * abilist/libnsl.abilist: Likewise.
43610 * abilist/libpthread.abilist: Likewise.
43611 * abilist/libresolv.abilist: Likewise.
43612 * abilist/librt.abilist: Likewise.
43613 * abilist/libthread_db.abilist: Likewise.
43614 * abilist/libutil.abilist: Likewise.
43615 * abilist/libnss_db.abilist: New file.
43617 * scripts/abilist.awk: Add support for indirect functions.
43619 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43621 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43623 * shlib-versions: Remove entries for ports architectures.
43625 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43627 * elf/stackguard-macros.h: Remove support for IA-64.
43628 * elf/tst-auditmod1.c: Likewise.
43629 * sysdeps/generic/ldsodefs.h: Likewise.
43631 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43632 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43636 * configure.in: Remove --enable-omitfp support.
43638 * config.make.in: Likewise.
43639 * Makeconfig: Likewise.
43640 * manual/install.texi: Likewise.
43642 In case anyone cares, the IA-64 architecture could move to ports.
43643 * sysdeps/ia64/*: Removed.
43644 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43645 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43648 * configure.in: Remove entries for unsupported architectures.
43651 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43652 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43654 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43655 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43656 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43657 fall back to using wcrtomb.
43658 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43659 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43661 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43662 * wcsmbs/tst-c16c32-1.c: New file.
43664 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43667 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43669 * elf/tst-unique3.cc: Add explicit declaration of gets.
43670 * elf/tst-unique3lib.cc: Likewise.
43671 * elf/tst-unique3lib2.cc: Likewise.
43672 * elf/tst-unique4.cc: Likewise.
43674 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43676 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43679 * assert/assert.h (static_assert): Don't define for C++.
43680 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43681 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43683 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43685 * iconv/loop.c (single loop): Fix assertion in storing of
43688 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43690 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43692 * posix/getconf.c: Update copyright year.
43693 * nss/getent.c: Likewise.
43694 * nss/makedb.c: Likewise.
43695 * iconv/iconvconfig.c: Likewise.
43696 * iconv/iconv_prog.c: Likewise.
43697 * elf/ldconfig.c: Likewise.
43698 * elf/pldd.c: Likewise.
43699 * elf/sotruss.ksh: Likewise.
43700 * catgets/gencat.c: Likewise.
43701 * csu/version.c: Likewise.
43702 * elf/ldd.bash.in: Likewise.
43703 * elf/sprof.c (print_version): Likewise.
43704 * locale/programs/locale.c: Likewise.
43705 * locale/programs/localedef.c: Likewise.
43706 * login/programs/pt_chown.c: Likewise.
43707 * nscd/nscd.c (print_version): Likewise.
43708 * debug/xtrace.sh: Likewise.
43709 * malloc/memusage.sh: Likewise.
43710 * malloc/mtrace.pl: Likewise.
43711 * debug/catchsegv.sh: Likewise.
43713 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43715 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43718 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43721 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43722 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43724 * iconv/gconv_int.h: Likewise.
43725 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43726 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43727 from libc for GLIBC_2.16.
43728 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43729 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43730 * wcsmbs/uchar.h: Really define mbstate_t.
43731 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43732 * wcsmbs/c16rtomb.c: New file.
43733 * wcsmbs/mbrtoc16.c: New file.
43734 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43735 for C/POSIX locale.
43736 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43737 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43739 * wcsmbs/wchar.h: Add missing __restrict.
43741 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43744 * time/Makefile (routines): Add timespec_get.
43745 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43746 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43747 timespec for ISO C11.
43748 * time/timespec_get.c: New file.
43749 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43750 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43753 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43754 * stdlib/stdlib.h: Declare aligned_alloc.
43755 * Versions.def: Add GLIBC_2.16 for libc.
43756 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43759 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43762 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43766 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43769 * assert/assert.h (static_assert): Define.
43771 * version.h: Update for 2.16 development version.
43774 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43777 * version.h (RELEASE): Bump for 2.15 release.
43778 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43780 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43781 Patch by Marek Polacek <mpolacek@redhat.com>.
43783 * bits/byteswap.h: Protect long long constants with __extension__.
43784 * sysdeps/i386/bits/byteswap.h: Likewise.
43785 * sysdeps/ia64/bits/byteswap.h: Likewise.
43786 * sysdeps/s390/bits/byteswap.h: Likewise.
43787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43789 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43792 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43793 destination buffer.
43794 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43796 2011-12-23 Marek Polacek <polacek@redhat.com>
43798 * elf/dl-addr.c (determine_info): Add inline keyword.
43799 * elf/tst-auditmod4b.c (check_avx): Likewise.
43800 * elf/tst-auditmod6b.c (check_avx): Likewise.
43801 * elf/tst-auditmod6c.c (check_avx): Likewise.
43802 * elf/tst-auditmod7b.c (check_avx): Likewise.
43804 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43806 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43809 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43812 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43813 processing for last bytes.
43815 2011-08-06 Bruno Haible <bruno@clisp.org>
43818 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43819 U+0385, not to U+1FEE.
43822 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43823 entry for U+00A5 U+0301.
43825 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43828 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43829 buffer for the output is too small.
43831 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43835 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43836 SSE flags if possible.
43838 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43842 processing for last bytes.
43844 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43846 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43847 (syscall-list-default-options, syscall-list-default-condition)
43848 (syscall-list-includes): Define.
43849 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43850 list of ABIs and options and #if conditions for each ABI. Do not
43851 handle common syscalls between ABIs specially.
43852 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43854 (syscall-list-variants, syscall-list-32bit-options)
43855 (syscall-list-32bit-condition, syscall-list-64bit-options)
43856 (syscall-list-64bit-condition): Define.
43857 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43858 (syscall-list-variants, syscall-list-32bit-options)
43859 (syscall-list-32bit-condition, syscall-list-64bit-options)
43860 (syscall-list-64bit-condition): Define.
43861 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43863 (syscall-list-variants, syscall-list-32bit-options)
43864 (syscall-list-32bit-condition, syscall-list-64bit-options)
43865 (syscall-list-64bit-condition): Define.
43866 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43868 (syscall-list-variants, syscall-list-32bit-options)
43869 (syscall-list-32bit-condition, syscall-list-64bit-options)
43870 (syscall-list-64bit-condition): Define.
43872 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43874 * locale/iso-639.def: Add brx entry.
43877 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43878 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43880 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43881 __feraiseexcept_renamed.
43883 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43886 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43887 EPOLLET with unsigned values.
43888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43891 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43892 to large cancellation.
43893 * math/s_cacoshf.c: Likewise.
43894 * math/s_cacoshl.c: Likewise.
43896 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43900 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43901 * math/s_cacoshf.c: Likewise.
43902 * math/s_cacoshl.c: Likewise.
43904 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43907 * iconv/gconv.h: Define __GCONV_SWAP.
43908 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43909 * iconvdata/utf-16.c: Likewise.
43910 * iconvdata/utf-32.c: Likewise.
43912 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43916 numerator after shifting it by one limb.
43918 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43920 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43921 under [__USE_EXTERN_INLINES].
43923 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43926 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43928 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43930 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43931 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43933 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43934 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43935 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43936 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43937 for strncasecmp/strncasecmp_l compilation.
43938 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43939 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43941 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43944 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43947 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43950 * time/tzfile.c (__tzfile_read): Check values from file header.
43952 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43954 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43955 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43956 * powerpc/powerpc32/dl-start.S: Likewise.
43957 * powerpc/powerpc32/elf/start.S: Likewise.
43958 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43959 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43960 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43961 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43962 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43963 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43964 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43965 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43966 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43967 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43968 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43969 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43970 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43971 * powerpc/powerpc32/memset.S: Likewise.
43972 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43973 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43974 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43975 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43976 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43977 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43978 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43979 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43980 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43981 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43982 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43983 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43984 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43986 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43988 * math/libm-test.inc: Added more nearbyint tests.
43989 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43990 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43992 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43994 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43996 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43999 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44001 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44002 Add wcscpy-ssse3 wcscpy-c.
44003 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44004 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44005 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44006 * sysdeps/x86_64/wcschr.S: New file.
44007 * sysdeps/x86_64/wcsrchr.S: New file.
44008 * string/test-strcmp.c: Remove checking of wcscmp function for
44010 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44011 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44012 wcsrchr-sse2 wcsrchr-c.
44013 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44014 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44015 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44016 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44017 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44018 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44019 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44020 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44021 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44022 * wcsmbc/wcschr.c (WCSCHR): New macro.
44024 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44026 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44027 * wcsmbs/test-wcsrchr.c: New file.
44028 * string/test-strrchr.c: Add wcsrchr support.
44030 * wcsmbs/test-wcscpy.c: New file.
44031 * string/test-strcpy.c: Add wcscpy support.
44034 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44036 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44039 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44042 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44044 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44046 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44047 Minor optimizations.
44049 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44050 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44051 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44053 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44055 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44056 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44057 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44058 for gcc to avoid warnings.
44059 * inet/Makefile (tests): Add tst-checks.
44060 * inet/tst-checks.c: New file.
44062 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44065 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44068 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44069 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44071 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44073 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44075 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44078 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44080 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44082 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44083 conditional on GCC version.
44084 (__arch_compare_and_exchange_val_8_acq)
44085 (__arch_compare_and_exchange_val_16_acq)
44086 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44087 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44088 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44090 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44092 * sysdeps/sh/backtrace.c: New file.
44094 2011-12-02 Andreas Schwab <schwab@redhat.com>
44096 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44099 2011-12-01 Andreas Schwab <schwab@redhat.com>
44101 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44102 falling back to utime.
44104 2011-11-30 Andreas Schwab <schwab@redhat.com>
44106 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44107 expectations for float.
44109 2011-11-29 Andreas Schwab <schwab@redhat.com>
44111 * locale/weight.h (findidx): Add parameter len.
44112 * locale/weightwc.h (findidx): Likewise.
44113 * posix/fnmatch_loop.c (FCT): Adjust caller.
44114 * posix/regcomp.c (build_equiv_class): Likewise.
44115 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44116 * posix/regexec.c (check_node_accept_bytes): Likewise.
44117 * string/strcoll_l.c (STRCOLL): Likewise.
44118 * string/strxfrm_l.c (STRXFRM): Likewise.
44120 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44122 * Makefile.in: Remove CVSOPT handling.
44123 * configure.in: Remove use of AC_REVISION.
44124 * iconvdata/Makefile (distribute): No need to filter out CVS.
44125 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44128 2011-11-16 Andreas Schwab <schwab@redhat.com>
44130 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44131 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44132 [USE_AS_STRNCASECMP_L]: Likewise.
44133 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44134 NO_TLS_DIRECT_SEG_REFS.
44135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44136 Fix argument offsets for non-PIC.
44137 [USE_AS_STRNCASECMP_L]: Likewise.
44138 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44139 NO_TLS_DIRECT_SEG_REFS.
44141 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44143 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44145 * locale/loadlocale.c (_nl_load_locale): Likewise.
44147 2011-11-15 Andreas Schwab <schwab@redhat.com>
44149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44150 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44152 (SYSCALL_GETTIME): Set errno on error.
44154 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44155 count references to noai6ai_cached.
44157 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44159 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44161 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44162 FD_CLOEXEC for /proc/self/maps.
44164 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44165 FD_CLOEXEC for /proc/meminfo.
44167 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44170 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44171 FD_CLOEXEC for given file.
44173 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44175 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44176 FD_CLOEXEC for /etc/hosts.
44177 (_gethtent): Likewise.
44179 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44181 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44182 cancellation and set FD_CLOEXEC for /etc/netgroup.
44184 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44185 reading /etc/publickey.
44187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44188 allow cancellation when reading /etc/group.
44190 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44192 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44194 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44195 when using data file.
44197 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44199 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44200 (write_nis_obj): Use "c" and "e" in fopen.
44202 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44204 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44206 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44208 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44210 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44213 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44215 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44217 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44219 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44220 file parsing and set FD_CLOEXEC.
44222 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44224 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44226 2011-11-14 Andreas Schwab <schwab@redhat.com>
44228 * malloc/arena.c (arena_get2): Don't call reused_arena when
44229 _int_new_arena failed.
44231 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44233 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44234 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44235 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44236 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44237 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44239 to compile strcasecmp and strncasecmp.
44240 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44241 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44245 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44247 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44248 locale-defines.sym to gen-as-const-headers.
44249 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44250 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44252 to compile strcasecmp and strncasecmp.
44253 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44254 strcasecmp_l and strncasecmp_l.
44255 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44256 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44257 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44258 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44259 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44260 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44261 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44262 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44263 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44264 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44265 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44267 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44269 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44270 result of SYSDEP_GETTIME_CPU to retval.
44271 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44272 parameter list to macro. Remove trailing semicolon. Adjust users.
44274 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44277 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44279 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44281 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44282 from unused variable.
44284 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44286 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44289 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44292 * sunrpc/rpc_prot.c (rejected): Fix case value.
44294 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44295 unsigned long long int to avoid warnings in shift.
44297 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44299 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44302 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44303 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44306 * nis/nis_table.c (nis_list): Use variable of correct type for
44307 result of __follow_path call.
44309 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44311 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44312 of math functions ceil, trunc, floor, round, and sqrt, when
44313 avaliable on the platform.
44314 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44317 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44318 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44320 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44322 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44323 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44325 2011-11-11 Roland McGrath <roland@hack.frob.com>
44327 * include/unistd.h: Fix __readlink return type.
44328 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44330 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44332 * stdlib/ucontext.h: Undo last change for makecontext.
44334 2011-11-11 Andreas Schwab <schwab@redhat.com>
44336 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44338 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44339 * setjmp/setjmp.h: Mark functions as non-leaf.
44340 * setjmp/bits/setjmp2.h: Likewise.
44341 * stdlib/ucontext.h: Likewise.
44343 2011-11-10 Andreas Schwab <schwab@redhat.com>
44345 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44346 (reused_arena): Don't check arena limit.
44347 (arena_get2): Atomically check arena limit.
44349 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44351 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44352 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44357 2011-11-07 Andreas Schwab <schwab@redhat.com>
44359 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44360 handler when locking.
44362 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44363 Fix size of allocated buffer.
44365 2011-11-04 Andreas Schwab <schwab@redhat.com>
44368 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44369 declarations for long double functions.
44370 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44372 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44374 2011-11-03 Andreas Schwab <schwab@redhat.com>
44376 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44379 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44382 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44384 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44386 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44388 * include/alloca.h (stackinfo_alloca_round): Define.
44389 (extend_alloca): Use it.
44390 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44391 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44394 * scripts/check-local-headers.sh: Ignore libaudit.h.
44396 * nscd/Makefile (extra-objs): Make recursively expanded.
44398 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44400 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44403 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44404 * posix/tst-rfc3484-2.c: Likewise.
44405 * posix/tst-rfc3484-3.c: Likewise.
44407 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44409 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44411 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44412 process_vm_writev from libc using GLIBC_2.15 version.
44414 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44416 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44418 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44421 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44424 * nss/getent.c (initgroups_keys): Show error message in case no group
44427 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44428 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44429 __bump_nl_timestamp.
44430 * nscd/connections (nscd_init): When host database is served open
44431 netlink socket and request notification about configuration changes.
44432 (main_loop_poll): Track netlink file descriptor and bump timestamp
44433 in case data becomes available.
44434 (main_loop_epoll): Likewise.
44435 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44436 (database_pers_head): Add extra_data fileds.
44437 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44438 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44439 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44442 in6ai data, call __free_in6ai.
44443 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44444 Add -DHAVE_NETLINK.
44445 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44446 interface information. Reuse previous data if netlink timestamp
44448 (__bump_nl_timestamp): New function.
44449 (__free_in6ai): New function.
44451 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44453 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44454 close_not_cancel_no_status here.
44455 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44457 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44460 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44463 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44464 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44465 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44467 2011-07-03 Andreas Jaeger <aj@suse.de>
44470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44471 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44472 * math/libm-test.inc (sin_test): Add test case.
44474 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44477 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44480 * elf/chroot_canon.c (chroot_canon): Cleanups.
44482 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44485 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44486 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44488 * string/test-strchr.c: Make usable for strchrnul testing.
44489 * string/test-strchrnul.c: New file.
44490 * string/Makefile (strop-tests): Add strchrnul.
44492 * po/it.po: Update from translation team.
44493 * po/es.po: Likewise.
44495 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44497 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44498 the three constants needed as parameters. Drop the others.
44499 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44500 __m128i_strloadu_tolower.
44501 Create and initialize variable zero and use it in all the places
44502 where _mm_setzero_si128 was used.
44504 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44505 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44506 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44507 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44509 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44510 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44511 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44512 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44513 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44514 __mpranred, __mptan.
44515 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44516 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44517 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44518 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44519 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44520 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44521 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44522 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44523 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44525 2011-10-28 Andreas Schwab <schwab@redhat.com>
44527 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44528 redefine if SHARED.
44529 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44532 wide char related routines to wcsmbs subdir.
44534 2011-10-27 Andreas Schwab <schwab@redhat.com>
44537 * misc/sys/cdefs.h (__THROWNL): Define.
44538 * posix/unistd.h: Use __THREADNL instead of __THREAD
44539 for memory synchronization functions.
44541 2011-10-26 Roland McGrath <roland@hack.frob.com>
44544 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44546 * manual/stdio.texi (Obstack Streams): Node removed.
44548 2011-10-26 Andreas Schwab <schwab@redhat.com>
44550 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44551 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44552 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44554 * math/math_private.h (math_force_eval): Allow non-addressable
44556 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44558 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44560 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44561 file is not needed.
44563 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44566 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44567 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44568 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44569 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44570 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44572 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44573 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44574 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44575 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44576 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44577 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44578 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44579 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44580 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44581 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44582 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44583 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44584 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44585 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44586 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44587 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44588 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44589 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44590 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44592 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44593 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44595 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44596 place. Use VEX encoding when compiling for AVX.
44598 2011-10-25 Andreas Schwab <schwab@redhat.com>
44600 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44601 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44603 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44605 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44607 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44608 useless if() expression.
44609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44619 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44621 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44622 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44623 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44624 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44625 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44627 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44629 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44631 2011-10-25 Andreas Schwab <schwab@redhat.com>
44633 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44635 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44637 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44639 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44640 .text section. Avoid duplicate constants.
44641 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44649 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44650 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44651 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44653 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44654 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44657 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44658 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44660 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44661 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44664 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44665 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44666 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44667 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44668 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44669 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44670 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44671 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44672 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44673 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44674 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44675 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44676 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44677 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44678 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44679 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44680 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44681 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44682 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44683 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44684 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44685 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44687 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44689 * sysdeps/x86_64/dla.h: Move to ...
44690 * sysdeps/x86_64/fpu/dla.h: ...here.
44691 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44692 situations. Use __builtin_fma only for gcc 4.6 and up.
44694 * config.make.in: Add have-mfma4 entry.
44695 * configure.in: Substitute libc_cv_cc_fma4.
44696 * math/Makefile (dbl-only-routines): Add sincostab.
44697 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44698 Use __sincostab not sincos.
44699 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44706 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44707 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44708 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44709 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44712 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44714 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44715 define aliases when function name is a macro.
44716 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44717 sysdeps/ieee754/dbl-64/sincos.tbl.
44718 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44719 fma4-enabled routines.
44720 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44721 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44722 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44723 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44724 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44725 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44726 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44727 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44729 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44730 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44731 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44732 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44733 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44734 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44735 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44736 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44737 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44738 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44740 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44741 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44742 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44743 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44744 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44746 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44747 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44748 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44749 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44751 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44762 2011-10-24 Andreas Schwab <schwab@redhat.com>
44764 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44766 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44768 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44770 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44772 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44774 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44775 Remove unused variable magic_bits.
44776 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44778 * string/strnlen.c: Define and use STRNLEN macro.
44779 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44780 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44782 * wcsmbs/wcslen.c: Define and use WCSLEN.
44783 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44784 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44785 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44786 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44787 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44788 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44789 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44791 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44794 strnlen-sse2-no-bsf.
44795 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44797 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44798 Add strnlen support.
44799 (USE_AS_STRNLEN): New macro.
44800 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44801 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44802 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44803 * sysdeps/x86_64/wcslen.S: New file.
44805 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44807 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44808 XMM-moves are used for copying on small sizes.
44810 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44812 * wcsmbs/Makefile (strop-tests): Add wcschr.
44813 * wcsmbs/test-wcschr.c: New file.
44814 * string/test-strchr.c: Update.
44815 Add wcschr support.
44818 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44820 * wcsmbs/Makefile (strop-tests): Add wcslen.
44821 * wcsmbs/test-wcslen.c: New file.
44822 * string/test-strlen.c: Update.
44823 Add wcslen support.
44826 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44828 * po/it.po: Update from translation team.
44830 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44832 * sysdeps/x86_64/wcscmp.S: Update.
44833 Fix wrong comparison semantics.
44834 wcscmp shall use signed comparison not unsigned.
44835 Don't use substraction to avoid overflow bug.
44836 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44837 * wcsmbc/wcscmp.c: Likewise.
44838 * string/test-strcmp.c: Likewise.
44839 Add new tests to check cases with negative values.
44841 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44843 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44844 * sysdeps/x86_64/dla.h: ...here. New file.
44845 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44855 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44858 __ynl_finite aliases.
44860 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44864 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44866 [DLA_FMA] (EMULV): Use DLA_FMA.
44867 [DLA_FMA] (MUL12): Use EMULV.
44868 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44869 that are not needed.
44870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44876 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44878 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44880 * math/s_nan.c: Undef __nan.
44881 * math/s_nanf.c: Undef __nanf.
44882 * math/s_nanl.c: Undef __nanl.
44883 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44886 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44888 * math/s_catan.c: Add branch predictions.
44889 * math/s_catanf.c: Likewise.
44890 * math/s_catanh.c: Likewise.
44891 * math/s_catanhf.c: Likewise.
44892 * math/s_catanhl.c: Likewise.
44893 * math/s_catanl.c: Likewise.
44894 * math/s_cexp.c: Likewise.
44895 * math/s_cexpf.c: Likewise.
44896 * math/s_cexpl.c: Likewise.
44897 * math/s_clog.c: Likewise.
44898 * math/s_clog10.c: Likewise.
44899 * math/s_clog10f.c: Likewise.
44900 * math/s_clog10l.c: Likewise.
44901 * math/s_clogf.c: Likewise.
44902 * math/s_clogl.c: Likewise.
44903 * math/s_csqrt.c: Likewise.
44904 * math/s_csqrtf.c: Likewise.
44905 * math/s_csqrtl.c: Likewise.
44906 * math/s_ctanf.c: Likewise.
44907 * math/s_ctanh.c: Likewise.
44908 * math/s_ctanhf.c: Likewise.
44909 * math/s_ctanhl.c: Likewise.
44910 * math/s_ctanl.c: Likewise.
44912 * math/math_private.h: Define __nan, __nanf, __nanl.
44913 * math/s_cacosh.c: Include <math_private.h>.
44914 * math/s_cacoshl.c: Likewise.
44915 * math/s_casinh.c: Likewise.
44916 * math/s_casinhf.c: Likewise.
44917 * math/s_casinhl.c: Likewise.
44918 * math/s_ccos.c: Rely entire on ccosh.
44919 * math/s_ccosf.c: Rely entire on ccoshf.
44920 * math/s_ccosl.c: Rely entirely on ccoshl.
44921 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44922 Remove tests for FE_INVALID.
44923 * math/s_ccoshf.c: Likewise.
44924 * math/s_ccoshl.c: Likewise.
44925 * math/s_csin.c: Likewise.
44926 * math/s_csinf.c: Likewise.
44927 * math/s_csinh.c Likewise.
44928 * math/s_csinhf.c: Likewise.
44929 * math/s_csinhl.c: Likewise.
44930 * math/s_csinl.c: Likewise.
44931 * math/s_ctan.c: Likewise.
44932 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44933 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44934 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44936 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44939 compilation problems.
44941 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44944 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44946 * sysdeps/i386/configure.in: Test for -mfma4 option.
44947 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44948 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44949 COMMON_CPUID_INDEX_80000001.
44950 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44951 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44952 use it if FMA3 is not supported.
44953 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44955 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44956 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44958 2011-10-20 Andreas Schwab <schwab@redhat.com>
44961 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44962 it would create a cycle with a link time dependency.
44964 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44966 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44968 * string/Makefile (strop-tests): Add rawmemchr.
44969 * string/test-rawmemchr.c: New file.
44971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44973 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44974 when compiling str{,n}casecmp and when AVX is available. Hook up
44975 new optimized code in initializers.
44977 2011-10-19 Andreas Schwab <schwab@redhat.com>
44979 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44980 __feraiseexcept instead of feraiseexcept.
44982 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44984 * math/math_private.h: Define defaults for libc_fetestexcept and
44986 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44987 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44988 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44989 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44990 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44991 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44992 libc_fetestexcept and libc_feupdateenv.
44994 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44995 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44996 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44997 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44998 libc_feholdexcept_setround.
45000 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45001 Add s_nearbyint-c and s_nearbyintf-c.
45002 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45003 nearbyintf inlines.
45004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45005 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45007 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45009 * math/math_private.h: Define defaults for libc_fegetround,
45010 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45011 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45012 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45014 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45015 standard functions.
45016 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45017 Remove comments and hacks for old compiler versions.
45018 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45019 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45020 libc_feholdexceptl.
45022 2011-10-18 Andreas Schwab <schwab@redhat.com>
45024 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45025 (__feraiseexcept_renamed): Add __NTH.
45026 (feraiseexcept): Add __NTH. Rename local variables to fix
45027 namespace violations.
45029 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45031 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45033 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45035 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45036 recently added interfaces.
45037 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45039 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45040 about macro parameter expansion.
45042 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45043 __NO_MATH_INLINES is defined. Cleanups.
45045 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45046 and __floorf is target has SSE4.1.
45047 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45048 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45049 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45050 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45052 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45054 (floorf): Likewise.
45056 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45058 2011-10-17 Andreas Schwab <schwab@redhat.com>
45060 * misc/sys/cdefs.h: Fix last change.
45062 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45065 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45067 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45069 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45070 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45072 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45075 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45076 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45077 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45078 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45079 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45080 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45081 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45082 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45083 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45084 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45085 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45086 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45087 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45088 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45089 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45090 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45092 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45093 ceil, ceilf, floor, floorf.
45095 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45096 Perform IRELATIVE relocations last.
45098 * elf/do-rel.h: Add another parameter nrelative, replacing the
45099 local variable with the same name. Change name of the function
45100 to end in Rel or Rela (uppercase).
45101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45102 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45103 elf_dynamic_do_##reloc function.
45105 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45107 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45108 is sufficient, at least on modern CPUs.
45110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45112 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45113 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45115 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45117 * math/bits/math-finite.h: Add entries for exp.
45118 * math/e_expl.c: Add __*_finite alias.
45119 * sysdeps/i386/fpu/e_exp.S: Likewise.
45120 * sysdeps/i386/fpu/e_expf.S: Likewise.
45121 * sysdeps/i386/fpu/e_expl.c: Likewise.
45122 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45123 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45126 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45127 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45128 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45130 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45131 is sufficient, at least on modern CPUs.
45133 * ctype/ctype-info.c (__ctype_init): Define.
45134 * include/ctype.h (__ctype_init): Declare.
45135 (__ctype_b_loc): The variable is always initialized.
45136 (__ctype_toupper_loc): Likewise.
45137 (__ctype_tolower_loc): Likewise.
45138 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45139 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45141 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45143 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45145 * configure.in: Also look in $cxxmachine/include for C++ system
45148 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45150 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45151 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45152 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45153 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45154 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45155 (USE_AS_WMEMCMP): New macro.
45157 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45158 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45159 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45160 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45162 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45163 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45164 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45165 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45166 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45167 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45168 (USE_AS_WMEMCMP): New macro.
45169 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45170 * sysdeps/string/test-memcmp.c: Update.
45171 Fix simple_wmemcmp.
45173 * wcsmbs/wmemcmp.c: Update.
45174 (WMEMCMP): New macro.
45177 2011-10-12 Andreas Jaeger <aj@suse.de>
45180 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45182 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45184 * libio/iofwide.c (do_length): Avoid warning.
45186 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45188 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45190 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45192 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45193 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45194 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45195 * sysdeps/i386/i686/fpu/e_log.S: New file.
45196 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45197 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45199 * ctype/ctype.h: Add support for inlined isXXX functions when
45200 compiling C++ code.
45202 2011-10-14 Andreas Schwab <schwab@redhat.com>
45204 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45206 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45208 2011-10-13 Roland McGrath <roland@hack.frob.com>
45211 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45213 2011-10-13 Andreas Schwab <schwab@redhat.com>
45215 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45216 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45219 * sysdeps/x86_64/memrchr.S: Check for zero size.
45221 * string/stratcliff.c: Add memrchr tests.
45223 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45226 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45227 rawmemchr-sse2 rawmemchr-sse2-bsf.
45228 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45229 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45230 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45231 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45232 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45233 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45234 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45235 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45236 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45237 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45238 * string/memrchr.c (MEMRCHR): New macro.
45240 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45242 Add integration with gcc's -ffinite-math-only and optimize wrapper
45244 * Versions.def: Define GLIBC_2.15 version for libm.
45245 * math/Makefile (headers): Add bits/math-finite.h.
45246 * math/bits/math-finite.h: New file.
45247 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45248 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45249 * math/e_acoshl.c: Add __*_finite alias.
45250 * math/e_acosl.c: Likewise.
45251 * math/e_asinl.c: Likewise.
45252 * math/e_atan2l.c: Likewise.
45253 * math/e_atanhl.c: Likewise.
45254 * math/e_coshl.c: Likewise.
45255 * math/e_exp10.c: Likewise.
45256 * math/e_exp10f.c: Likewise.
45257 * math/e_exp10l.c: Likewise.
45258 * math/e_exp2l.c: Likewise.
45259 * math/e_fmodl.c: Likewise.
45260 * math/e_gammal_r.c: Likewise.
45261 * math/e_hypotl.c: Likewise.
45262 * math/e_j0l.c: Likewise.
45263 * math/e_j1l.c: Likewise.
45264 * math/e_jnl.c: Likewise.
45265 * math/e_lgammal_r.c: Likewise.
45266 * math/e_log10l.c: Likewise.
45267 * math/e_log2l.c: Likewise.
45268 * math/e_logl.c: Likewise.
45269 * math/e_powl.c: Likewise.
45270 * math/e_sinhl.c: Likewise.
45271 * math/e_sqrtl.c: Likewise.
45272 * math/e_scalb.c: Completely rewritten and optimized.
45273 * math/e_scalbf.c: Likewise.
45274 * math/e_scalbl.c: Likewise.
45275 * math/w_acos.c: Likewise.
45276 * math/w_acosf.c: Likewise.
45277 * math/w_acosl.c: Likewise.
45278 * math/w_acosh.c: Likewise.
45279 * math/w_acoshf.c: Likewise.
45280 * math/w_acoshl.c: Likewise.
45281 * math/w_asin.c: Likewise.
45282 * math/w_asinf.c: Likewise.
45283 * math/w_asinl.c: Likewise.
45284 * math/w_atan2.c: Likewise.
45285 * math/w_atan2f.c: Likewise.
45286 * math/w_atan2l.c: Likewise.
45287 * math/w_atanh.c: Likewise.
45288 * math/w_atanhf.c: Likewise.
45289 * math/w_atanhl.c: Likewise.
45290 * math/w_exp10.c: Likewise.
45291 * math/w_exp10f.c: Likewise.
45292 * math/w_exp10l.c: Likewise.
45293 * math/w_fmod.c: Likewise.
45294 * math/w_fmodf.c: Likewise.
45295 * math/w_fmodl.c: Likewise.
45296 * math/w_j0.c: Likewise.
45297 * math/w_j0f.c: Likewise.
45298 * math/w_j0l.c: Likewise.
45299 * math/w_j1.c: Likewise.
45300 * math/w_j1f.c: Likewise.
45301 * math/w_j1l.c: Likewise.
45302 * math/w_jn.c: Likewise.
45303 * math/w_jnf.c: Likewise.
45304 * math/w_log.c: Likewise.
45305 * math/w_logf.c: Likewise.
45306 * math/w_logl.c: Likewise.
45307 * math/w_log10.c: Likewise.
45308 * math/w_log10f.c: Likewise.
45309 * math/w_log10l.c: Likewise.
45310 * math/w_log2.c: Likewise.
45311 * math/w_log2f.c: Likewise.
45312 * math/w_log2l.c: Likewise.
45313 * math/w_pow.c: Likewise.
45314 * math/w_powf.c: Likewise.
45315 * math/w_powl.c: Likewise.
45316 * math/w_remainder.c: Likewise.
45317 * math/w_remainderf.c: Likewise.
45318 * math/w_remainderl.c: Likewise.
45319 * math/w_scalb.c: Likewise.
45320 * math/w_scalbf.c: Likewise.
45321 * math/w_scalbl.c: Likewise.
45322 * math/w_sqrt.c: Likewise.
45323 * math/w_sqrtf.c: Likewise.
45324 * math/w_sqrtl.c: Likewise.
45325 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45326 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45328 * math/math_private.h: Declare __kernel_standard_f.
45329 * math/w_cosh.c: Remove cruft and optimize a bit.
45330 * math/w_coshf.c: Likewise.
45331 * math/w_coshl.c: Likewise.
45332 * math/w_exp2.c: Likewise.
45333 * math/w_exp2f.c: Likewise.
45334 * math/w_exp2l.c: Likewise.
45335 * math/w_hypot.c: Likewise.
45336 * math/w_hypotf.c: Likewise.
45337 * math/w_hypotl.c: Likewise.
45338 * math/w_lgamma.c: Likewise.
45339 * math/w_lgamma_r.c: Likewise.
45340 * math/w_lgammaf.c: Likewise.
45341 * math/w_lgammaf_r.c: Likewise.
45342 * math/w_lgammal.c: Likewise.
45343 * math/w_lgammal_r.c: Likewise.
45344 * math/w_sinh.c: Likewise.
45345 * math/w_sinhf.c: Likewise.
45346 * math/w_sinhl.c: Likewise.
45347 * math/w_tgamma.c: Likewise.
45348 * math/w_tgammaf.c: Likewise.
45349 * math/w_tgammal.c: Likewise.
45350 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45351 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45352 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45353 Minor optimizations. Pretty printing. Remove cruft.
45354 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45355 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45356 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45358 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45359 * sysdeps/i386/fpu/e_asin.S: Likewise.
45360 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45361 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45362 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45363 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45364 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45365 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45366 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45367 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45368 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45369 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45370 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45371 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45372 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45373 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45374 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45375 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45376 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45377 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45378 * sysdeps/i386/fpu/e_log.S: Likewise.
45379 * sysdeps/i386/fpu/e_log10.S: Likewise.
45380 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45381 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45382 * sysdeps/i386/fpu/e_log2.S: Likewise.
45383 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45384 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45385 * sysdeps/i386/fpu/e_logf.S: Likewise.
45386 * sysdeps/i386/fpu/e_logl.S: Likewise.
45387 * sysdeps/i386/fpu/e_pow.S: Likewise.
45388 * sysdeps/i386/fpu/e_powf.S: Likewise.
45389 * sysdeps/i386/fpu/e_powl.S: Likewise.
45390 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45391 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45392 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45393 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45395 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45396 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45397 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45398 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45399 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45402 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45403 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45404 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45405 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45406 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45408 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45409 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45410 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45413 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45415 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45417 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45419 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45420 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45421 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45422 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45423 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45425 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45426 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45427 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45428 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45430 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45432 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45433 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45434 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45435 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45436 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45437 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45438 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45439 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45440 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45456 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45458 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45459 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45470 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45471 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45473 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45474 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45475 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45476 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45477 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45478 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45479 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45480 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45488 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45490 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45491 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45492 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45493 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45494 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45495 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45496 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45497 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45498 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45499 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45500 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45501 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45502 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45503 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45504 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45505 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45507 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45508 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45509 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45510 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45511 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45512 (__isnanf): Likewise.
45513 (__isinf_ns): Likewise.
45514 (__isinf_nsf): Likewise.
45515 (__finite): Likewise.
45516 (__finitef): Likewise.
45517 (__ieee754_sqrt): Define as macro.
45518 (__ieee754_sqrtf): Define as macro.
45519 (__ieee754_sqrtl): Define as macro.
45520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45522 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45523 __FINITE_MATH_ONLY__ consistent.
45524 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45526 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45528 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45531 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45533 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45535 * po/ja.po: Update from translation team.
45537 2011-10-08 Roland McGrath <roland@hack.frob.com>
45539 * locale/programs/locarchive.c (prepare_address_space): New function.
45540 (create_archive, enlarge_archive, open_archive): Use it.
45542 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45543 inside [SHARED], where it is used.
45545 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45547 * nss/getent.c (netgroup_keys): Remove unused variable.
45548 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45550 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45552 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45553 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45555 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45556 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45557 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45558 * math/Makefile (libm-calls): Add s_isinf_ns.
45559 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45560 * math/multc3.c: Likewise.
45561 * math/s_casin.c: Likewise.
45562 * math/s_casinf.c: Likewise.
45563 * math/s_casinl.c: Likewise.
45564 * math/s_ccos.c: Likewise.
45565 * math/s_ccosf.c: Likewise.
45566 * math/s_ccosl.c: Likewise.
45567 * math/s_ctan.c: Likewise.
45568 * math/s_ctanf.c: Likewise.
45569 * math/s_ctanh.c: Likewise.
45570 * math/s_ctanhf.c: Likewise.
45571 * math/s_ctanhl.c: Likewise.
45572 * math/s_ctanl.c: Likewise.
45573 * math/w_fmod.c: Likewise.
45574 * math/w_fmodf.c: Likewise.
45575 * math/w_fmodl.c: Likewise.
45576 * math/w_remainder.c: Likewise.
45577 * math/w_remainderf.c: Likewise.
45578 * math/w_remainderl.c: Likewise.
45579 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45580 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45581 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45583 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45584 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45585 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45586 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45588 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45590 * stdio-common/printf_fphex.c: Likewise.
45591 * stdio-common/printf_size.c: Likewise.
45593 * math/e_exp10.c: Include math_private.h using <...> not "...".
45594 * math/e_exp10f.c: Likewise.
45595 * math/e_exp10l.c: Likewise.
45596 * math/e_exp2l.c: Likewise.
45597 * math/e_j0l.c: Likewise.
45598 * math/e_j1l.c: Likewise.
45599 * math/e_jnl.c: Likewise.
45600 * math/e_lgammal_r.c: Likewise.
45601 * math/e_rem_pio2l.c: Likewise.
45602 * math/e_scalb.c: Likewise.
45603 * math/e_scalbf.c: Likewise.
45604 * math/e_scalbl.c: Likewise.
45605 * math/k_cosl.c: Likewise.
45606 * math/k_sinl.c: Likewise.
45607 * math/k_tanl.c: Likewise.
45608 * math/s_cacoshf.c: Likewise.
45609 * math/s_catan.c: Likewise.
45610 * math/s_catanf.c: Likewise.
45611 * math/s_catanh.c: Likewise.
45612 * math/s_catanhf.c: Likewise.
45613 * math/s_catanhl.c: Likewise.
45614 * math/s_catanl.c: Likewise.
45615 * math/s_ccosh.c: Likewise.
45616 * math/s_ccoshf.c: Likewise.
45617 * math/s_ccoshl.c: Likewise.
45618 * math/s_cexp.c: Likewise.
45619 * math/s_cexpf.c: Likewise.
45620 * math/s_cexpl.c: Likewise.
45621 * math/s_clog.c: Likewise.
45622 * math/s_clog10.c: Likewise.
45623 * math/s_clog10f.c: Likewise.
45624 * math/s_clog10l.c: Likewise.
45625 * math/s_clogf.c: Likewise.
45626 * math/s_clogl.c: Likewise.
45627 * math/s_csin.c: Likewise.
45628 * math/s_csinf.c: Likewise.
45629 * math/s_csinh.c: Likewise.
45630 * math/s_csinhf.c: Likewise.
45631 * math/s_csinhl.c: Likewise.
45632 * math/s_csinl.c: Likewise.
45633 * math/s_csqrt.c: Likewise.
45634 * math/s_csqrtf.c: Likewise.
45635 * math/s_csqrtl.c: Likewise.
45636 * math/s_ctan.c: Likewise.
45637 * math/s_ctanf.c: Likewise.
45638 * math/s_ctanh.c: Likewise.
45639 * math/s_ctanhf.c: Likewise.
45640 * math/s_ctanhl.c: Likewise.
45641 * math/s_ctanl.c: Likewise.
45642 * math/s_ldexp.c: Likewise.
45643 * math/s_ldexpf.c: Likewise.
45644 * math/s_ldexpl.c: Likewise.
45645 * math/s_significand.c: Likewise.
45646 * math/s_significandf.c: Likewise.
45647 * math/s_significandl.c: Likewise.
45648 * math/w_acos.c: Likewise.
45649 * math/w_acosf.c: Likewise.
45650 * math/w_acosh.c: Likewise.
45651 * math/w_acoshf.c: Likewise.
45652 * math/w_acoshl.c: Likewise.
45653 * math/w_acosl.c: Likewise.
45654 * math/w_asin.c: Likewise.
45655 * math/w_asinf.c: Likewise.
45656 * math/w_asinl.c: Likewise.
45657 * math/w_atan2.c: Likewise.
45658 * math/w_atan2f.c: Likewise.
45659 * math/w_atan2l.c: Likewise.
45660 * math/w_atanh.c: Likewise.
45661 * math/w_atanhf.c: Likewise.
45662 * math/w_atanhl.c: Likewise.
45663 * math/w_cosh.c: Likewise.
45664 * math/w_coshf.c: Likewise.
45665 * math/w_coshl.c: Likewise.
45666 * math/w_dremf.c: Likewise.
45667 * math/w_exp10.c: Likewise.
45668 * math/w_exp10f.c: Likewise.
45669 * math/w_exp10l.c: Likewise.
45670 * math/w_exp2.c: Likewise.
45671 * math/w_exp2f.c: Likewise.
45672 * math/w_fmod.c: Likewise.
45673 * math/w_fmodf.c: Likewise.
45674 * math/w_fmodl.c: Likewise.
45675 * math/w_hypot.c: Likewise.
45676 * math/w_hypotf.c: Likewise.
45677 * math/w_hypotl.c: Likewise.
45678 * math/w_j0.c: Likewise.
45679 * math/w_j0f.c: Likewise.
45680 * math/w_j0l.c: Likewise.
45681 * math/w_j1.c: Likewise.
45682 * math/w_j1f.c: Likewise.
45683 * math/w_j1l.c: Likewise.
45684 * math/w_jn.c: Likewise.
45685 * math/w_jnf.c: Likewise.
45686 * math/w_jnl.c: Likewise.
45687 * math/w_lgamma.c: Likewise.
45688 * math/w_lgamma_r.c: Likewise.
45689 * math/w_lgammaf.c: Likewise.
45690 * math/w_lgammaf_r.c: Likewise.
45691 * math/w_lgammal.c: Likewise.
45692 * math/w_lgammal_r.c: Likewise.
45693 * math/w_log.c: Likewise.
45694 * math/w_log10.c: Likewise.
45695 * math/w_log10f.c: Likewise.
45696 * math/w_log10l.c: Likewise.
45697 * math/w_log2.c: Likewise.
45698 * math/w_log2f.c: Likewise.
45699 * math/w_log2l.c: Likewise.
45700 * math/w_logf.c: Likewise.
45701 * math/w_logl.c: Likewise.
45702 * math/w_pow.c: Likewise.
45703 * math/w_powf.c: Likewise.
45704 * math/w_powl.c: Likewise.
45705 * math/w_remainder.c: Likewise.
45706 * math/w_remainderf.c: Likewise.
45707 * math/w_remainderl.c: Likewise.
45708 * math/w_scalb.c: Likewise.
45709 * math/w_scalbf.c: Likewise.
45710 * math/w_scalbl.c: Likewise.
45711 * math/w_sinh.c: Likewise.
45712 * math/w_sinhf.c: Likewise.
45713 * math/w_sinhl.c: Likewise.
45714 * math/w_sqrt.c: Likewise.
45715 * math/w_sqrtf.c: Likewise.
45716 * math/w_sqrtl.c: Likewise.
45717 * math/w_tgamma.c: Likewise.
45718 * math/w_tgammaf.c: Likewise.
45719 * math/w_tgammal.c: Likewise.
45721 * po/ja.po: Update from translation team.
45723 2011-09-29 Andreas Jaeger <aj@suse.de>
45726 * sunrpc/netname.c (netname2host): Fix logic.
45730 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45732 * math/w_remainder.c (__remainder): Likewise.
45733 * math/w_remainderf.c (__remainderf): Likewise.
45734 * math/libm-test.inc (remainder_test): Add test cases.
45736 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45738 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45741 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45743 * string/test-memcmp.c: Avoid unncessary #defines.
45744 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45746 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45748 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45749 Use new sse2 version for core i3 - i7 as it's faster
45750 than sse42 version.
45751 (bit_Prefer_PMINUB_for_stringop): New.
45752 * sysdeps/x86_64/rawmemchr.S: Update.
45753 Replace with faster SSE2 version.
45754 * sysdeps/x86_64/memrchr.S: New file.
45755 * sysdeps/x86_64/memchr.S: Update.
45756 Replace with faster SSE2 version.
45758 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45760 * elf/dl-load.c (lose): Add cast to avoid warning.
45762 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45764 * po/ca.po: Update from translation team.
45766 * inet/getnetgrent_r.c: Hook up nscd.
45767 * nscd/Makefile (routines): Add nscd_netgroup.
45768 (nscd-modules): Add netgroupcache.
45769 (CFLAGS-netgroupcache.c): Define.
45770 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45771 (cache_search): Add const to second parameter.
45772 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45774 (dbs): Add netgrdb entry.
45775 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45776 (verify_persistent_db): Handle netgrdb.
45777 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45778 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45780 (netgroup_response_header): Define.
45781 (innetgroup_response_header): Define.
45782 (datahead): Add netgroup_response_header and innetgroup_response_header
45784 * nscd/nscd.conf: Add entries for netgroup cache.
45785 * nscd/nscd.h (dbtype): Add netgrdb.
45786 (_PATH_NSCD_NETGROUP_DB): Define.
45787 (netgroup_iov_disabled): Declare.
45788 (xmalloc, xcalloc, xrealloc): Move declarations here.
45789 (cache_search): Adjust prototype.
45790 Add netgroup-related prototypes.
45791 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45792 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45793 (__nscd_innetgr): Declare.
45794 * nscd/selinux.c (perms): Use access_vector_t as element type and
45795 add netgroup-related initializers.
45796 * nscd/netgroupcache.c: New file.
45797 * nscd/nscd_netgroup.c: New file.
45798 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45799 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45800 For four parameters use innetgr.
45801 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45802 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45803 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45804 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45806 * nscd/connections.c (register_traced_file): Don't register file
45807 for disabled databases.
45809 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45811 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45813 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45814 from tree and freeing node.
45816 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45818 * nss/nsswitch.c (__nss_database_lookup): Handle
45819 nss_parse_service_list out of memory case.
45821 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45823 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45824 out of memory case.
45826 2011-10-04 Andreas Schwab <schwab@redhat.com>
45828 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45829 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45831 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45832 elf_machine_rela, elf_machine_lazy_rel.
45833 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45834 (ELF_DYNAMIC_DO_REL): Likewise.
45835 (ELF_DYNAMIC_DO_RELA): Likewise.
45836 (ELF_DYNAMIC_RELOCATE): Likewise.
45837 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45838 to ELF_DYNAMIC_DO_REL.
45839 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45840 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45841 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45843 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45844 skip_ifunc, don't call ifunc function if non-zero.
45845 (elf_machine_rela): Likewise.
45846 (elf_machine_lazy_rel): Likewise.
45847 (elf_machine_lazy_rela): Likewise.
45848 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45849 (elf_machine_lazy_rel): Likewise.
45850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45852 (elf_machine_lazy_rel): Likewise.
45853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45855 (elf_machine_lazy_rel): Likewise.
45856 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45857 (elf_machine_lazy_rel): Likewise.
45858 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45859 (elf_machine_lazy_rel): Likewise.
45860 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45861 (elf_machine_lazy_rel): Likewise.
45862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45863 (elf_machine_lazy_rel): Likewise.
45864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45865 (elf_machine_lazy_rel): Likewise.
45866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45867 (elf_machine_lazy_rel): Likewise.
45869 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45871 * nss/nss_files/files-init.c (_nss_files_init): Use static
45872 initialization for all the *_traced_file variables.
45874 2011-09-28 Andreas Schwab <schwab@redhat.com>
45876 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45878 2011-09-27 Roland McGrath <roland@hack.frob.com>
45881 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45883 2011-09-27 Andreas Schwab <schwab@redhat.com>
45885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45886 Reread the line before reparsing it.
45888 2011-09-26 Andreas Schwab <schwab@redhat.com>
45890 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45892 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45893 Maxim Kuvyrkov <maxim@codesourcery.com>
45894 Joseph Myers <joseph@codesourcery.com>
45896 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45897 if needed for __stack_chk_guard.
45899 2011-09-19 Roland McGrath <roland@hack.frob.com>
45901 * sysdeps/posix/spawni.c (script_execute): Always define it.
45902 It will be optimized away if unused.
45903 (maybe_script_execute): New function.
45904 (__spawni): Call it.
45906 * Makerules: Don't include tls.make.
45907 (config-tls): Always set to thread.
45908 * tls.make.c: File removed.
45910 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45912 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45913 * config.make.in (CPPFLAGS-config): New substituted variable.
45915 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45917 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45920 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45921 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45923 2011-09-15 Roland McGrath <roland@hack.frob.com>
45925 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45926 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45928 (CALL_FAIL): Likewise.
45929 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45930 (CALL_FAIL): Macro removed.
45931 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45933 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45936 for __FINITE_MATH_ONLY__ == 1.
45938 2011-09-15 Andreas Schwab <schwab@redhat.com>
45940 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45941 __ieee754_sqrt instead of sqrt.
45942 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45943 __ieee754_sqrtf instead of sqrtf.
45944 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45945 __floorf instead of floorf.
45946 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45947 __floorf, __truncf instead of floorf, truncf.
45949 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45951 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45953 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45954 __extern_always_inline.
45955 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45958 2011-09-14 Andreas Schwab <schwab@redhat.com>
45960 * elf/rtld.c (dl_main): Also relocate in dependency order when
45961 doing symbol dependency testing.
45963 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45966 Always define `refsym'.
45968 2011-09-13 Andreas Schwab <schwab@redhat.com>
45970 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45971 (__FD_ELT): Renamed from __FDELT.
45972 * misc/bits/select2.h (__FD_ELT): Likewise.
45973 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45974 __FD_MASK instead of __FDELT, __FDMASK.
45975 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45977 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45980 * elf/Makefile (gen-ldd): Fix pattern.
45982 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45983 (init_tls): Likewise.
45985 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45989 2011-09-12 Andreas Schwab <schwab@redhat.com>
45991 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45992 `struct cmsghdr *' instead of `void *'.
45993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45996 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45998 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46000 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46001 ldd_rewrite_script.
46003 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46005 * configure.in: Remove --with-tls option.
46006 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46007 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46008 out in case it is missing.
46009 * sysdeps/ia64/elf/configure.in: Likewise.
46010 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46011 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46012 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46013 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46014 * sysdeps/sh/elf/configure.in: Likewise.
46015 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46016 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46017 * sysdeps/x86_64/elf/configure.in: Likewise.
46018 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46019 * sysdeps/mach/hurd/tls.h: Likewise.
46022 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46025 * configure.in: Fix use of AC_INIT.
46027 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46029 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46031 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46033 * malloc/hooks.c: Likewise.
46036 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46037 variables statically.
46038 (narenas): Initialize.
46039 (list_lock): Initialize.
46040 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46041 initializtion of main_arena and list_lock. Small cleanups.
46042 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46043 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46044 Add initializers to main_arena and mp_.
46045 (malloc_state): Remove pagesize member. Change all users to use
46048 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46049 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46050 is always initialized.
46052 * malloc/malloc.c: Removed unused configurations and dead code.
46053 * malloc/arena.c: Likewise.
46054 * malloc/hooks.c: Likewise.
46055 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46057 * include/tls.h: Removed. USE___THREAD must always be defined.
46058 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46059 * elf/dl-libc.c: Likewise.
46060 * elf/dl-tsd.c: Likewise.
46061 * include/errno.h: Likewise.
46062 * include/netdb.h: Likewise.
46063 * include/resolv.h: Likewise.
46064 * inet/herrno-loc.c: Likewise.
46065 * inet/herrno.c: Likewise.
46066 * malloc/arena.c: Likewise.
46067 * malloc/hooks.c: Likewise.
46068 * malloc/malloc.c: Likewise.
46069 * resolv/res-state.c: Likewise.
46070 * resolv/res_libc.c: Likewise.
46071 * sysdeps/i386/dl-machine.h: Likewise.
46072 * sysdeps/ia64/dl-machine.h: Likewise.
46073 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46074 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46075 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46076 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46077 * sysdeps/sh/dl-machine.h: Likewise.
46078 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46079 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46080 * sysdeps/unix/i386/sysdep.S: Likewise.
46081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46082 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46086 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46087 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46091 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46092 * sysdeps/x86_64/dl-machine.h: Likewise.
46093 * tls.make.c: Likewise.
46095 * configure.in: Remove --with-__thread option. Make tests for
46096 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46097 tls_model attribute fail if no support is available. Remove
46099 * Makeconfig: Adjust for dropped configure option. All features are
46101 * Makerules: Likewise.
46102 * Versions.def: Likewise.
46103 * argp/argp-fmtstream.c: Likewise.
46104 * argp/argp-fmtstream.h: Likewise.
46105 * argp/argp-help.c: Likewise.
46106 * assert/assert.c: Likewise.
46107 * config.h.in: Likewise.
46108 * config.make.in: Likewise.
46109 * configure: Likewise.
46110 * configure.in: Likewise.
46111 * csu/Versions: Likewise.
46112 * csu/init.c: Likewise.
46113 * elf/tst-audit2.c: Likewise.
46114 * elf/tst-tls10.c: Likewise.
46115 * elf/tst-tls10.h: Likewise.
46116 * elf/tst-tls11.c: Likewise.
46117 * elf/tst-tls12.c: Likewise.
46118 * elf/tst-tls14.c: Likewise.
46119 * elf/tst-tlsmod11.c: Likewise.
46120 * elf/tst-tlsmod12.c: Likewise.
46121 * elf/tst-tlsmod13.c: Likewise.
46122 * elf/tst-tlsmod13a.c: Likewise.
46123 * elf/tst-tlsmod14a.c: Likewise.
46124 * elf/tst-tlsmod15b.c: Likewise.
46125 * elf/tst-tlsmod16a.c: Likewise.
46126 * elf/tst-tlsmod16b.c: Likewise.
46127 * elf/tst-tlsmod7.c: Likewise.
46128 * elf/tst-tlsmod8.c: Likewise.
46129 * elf/tst-tlsmod9.c: Likewise.
46130 * gmon/gmon.c: Likewise.
46131 * grp/fgetgrent_r.c: Likewise.
46132 * grp/putgrent.c: Likewise.
46133 * hurd/fopenport.c: Likewise.
46134 * include/libc-symbols.h: Likewise.
46135 * include/tls.h: Likewise.
46136 * intl/gettextP.h: Likewise.
46137 * intl/loadinfo.h: Likewise.
46138 * locale/global-locale.c: Likewise.
46139 * locale/localeinfo.h: Likewise.
46140 * mach/devstream.c: Likewise.
46141 * malloc/arena.c: Likewise.
46142 * malloc/set-freeres.c: Likewise.
46143 * misc/err.c: Likewise.
46144 * misc/getttyent.c: Likewise.
46145 * misc/mntent_r.c: Likewise.
46146 * posix/getopt.c: Likewise.
46147 * posix/wordexp.c: Likewise.
46148 * pwd/fgetpwent_r.c: Likewise.
46149 * resolv/Versions: Likewise.
46150 * resolv/res_hconf.c: Likewise.
46151 * shadow/fgetspent_r.c: Likewise.
46152 * shadow/putspent.c: Likewise.
46153 * stdio-common/printf_fphex.c: Likewise.
46154 * stdio-common/tmpfile.c: Likewise.
46155 * stdlib/abort.c: Likewise.
46156 * stdlib/fmtmsg.c: Likewise.
46157 * sunrpc/auth_unix.c: Likewise.
46158 * sunrpc/clnt_perr.c: Likewise.
46159 * sunrpc/clnt_tcp.c: Likewise.
46160 * sunrpc/clnt_udp.c: Likewise.
46161 * sunrpc/clnt_unix.c: Likewise.
46162 * sunrpc/openchild.c: Likewise.
46163 * sunrpc/svc_simple.c: Likewise.
46164 * sunrpc/svc_tcp.c: Likewise.
46165 * sunrpc/svc_udp.c: Likewise.
46166 * sunrpc/svc_unix.c: Likewise.
46167 * sunrpc/xdr.c: Likewise.
46168 * sunrpc/xdr_array.c: Likewise.
46169 * sunrpc/xdr_rec.c: Likewise.
46170 * sunrpc/xdr_ref.c: Likewise.
46171 * sunrpc/xdr_stdio.c: Likewise.
46173 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46175 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46177 2011-07-03 Andreas Jaeger <aj@suse.de>
46179 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46180 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46181 regenerate with gen-libm-tests.pl.
46183 2010-05-12 Petr Baudis <pasky@suse.cz>
46186 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46187 around j0() zero points by switching to j1().
46188 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46189 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46195 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46197 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46200 Patch in part by Pavel Roskin <proski@gnu.org>.
46203 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46205 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46206 Free memory block if necessary.
46209 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46210 be NULL. Don't lock in this case.
46212 2011-09-09 Roland McGrath <roland@hack.frob.com>
46214 * elf/elf.h (ELFOSABI_GNU): New macro.
46215 (ELFOSABI_LINUX): Define to that.
46217 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46219 * string/strncat.c (strncat): Undef the symbol in case it has been
46220 defined in bits/string.h.
46222 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46224 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46226 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46229 2011-08-17 Andreas Jaeger <aj@suse.de>
46231 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46233 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46234 Ian Lance Taylor <iant@google.com>
46236 * math/libm-test.inc (lround_test): New testcase.
46237 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46239 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46241 * Makefile: Remove support for automatic cvs check-ins.
46242 * Makerules: Likewise.
46243 * config.make.in: Likewise.
46244 * configure.in: Likewise.
46245 * intl/Makefile: Likewise.
46246 * locale/Makefile: Likewise.
46247 * po/Makefile: Likewise.
46248 * posix/Makefile: Likewise.
46249 * sysdeps/gnu/Makefile: Likewise.
46250 * sysdeps/mach/hurd/Makefile: Likewise.
46251 * sysdeps/sparc/sparc32/Makefile: Likewise.
46254 * posix/Makefile (bug-regex32-ENV): Define.
46255 Patch by John Stanley <jpsinthemix@verizon.net>.
46257 * misc/Makefile (headers): Add bits/select2.h.
46258 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46259 * misc/bits/select2.h: New file.
46260 * include/bits/select2.h: New file.
46261 * debug/Makefile (routines): Add fdelt_chk.
46262 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46263 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46265 * debug/fdelt_chk.c: New file.
46267 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46268 * wcsmbs/test-wmemcmp.c: Likewise.
46269 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46270 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46272 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46274 * string/Makefile (strop-tests): Add memcmp.
46275 * string/test-wmemcmp.c: New file.
46276 * string/test-memcmp.c: Add wmemcmp support.
46278 2011-09-08 Roland McGrath <roland@hack.frob.com>
46281 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46284 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46285 garbage value in a __mach_port_mod_refs call in the cases of the
46286 task-self and thread-self ports.
46288 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46290 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46292 2011-09-08 Andreas Schwab <schwab@redhat.com>
46294 * elf/dl-load.c (lose): Check for non-null L.
46296 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46298 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46300 * elf/dl-libc.c (dlerror_run): Pass back error code from
46304 * elf/dl-load.c (lose): Free l_origin if it is valid.
46306 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46308 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46313 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46315 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46317 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46318 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46319 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46320 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46321 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46322 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46323 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46324 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46325 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46326 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46328 2011-08-15 Alan Modra <amodra@gmail.com>
46331 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46332 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46333 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46334 ppc_mcount to static-only-routines.
46335 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46337 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46338 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46340 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46342 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46343 for finite and infinity parameters.
46345 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46348 and add nop instructions for throughput optimization.
46349 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46351 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46353 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46354 aligned copy for power7 with vector-scalar instructions.
46355 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46357 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46362 2011-09-07 Andreas Schwab <schwab@redhat.com>
46365 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46368 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46371 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46372 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46373 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46376 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46379 Forgot to demangle the pointer.
46381 * sysdeps/i386/sysdep.h: Define atom_text_section.
46382 * sysdeps/x86_64/sysdep.h: Likewise.
46383 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46384 section with atom_text_section.
46385 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46386 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46387 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46389 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46391 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46392 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46393 already be defined. Change to take two parameters and don't assign
46394 result to variable. Adjust all users.
46395 Define INTERNAL_GETTIME if not already defined.
46396 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46399 HAVE_CLOCK_GETTIME_VSYSCALL.
46400 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46402 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46403 gettimeofday vsyscall, just use time.
46405 2011-09-06 Andreas Schwab <schwab@redhat.com>
46407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46410 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46412 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46416 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46418 syscall if possible.
46420 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46422 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46423 e_ident. Don't pass to find_mapsXX.
46424 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46426 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46429 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46430 * sysdeps/x86_64/multiarch/strchr.S: Update.
46431 Check bit_slow_BSF bit.
46432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46433 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46436 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46439 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46441 (tryshell): Define.
46442 (__spawni): Change last parameter to be flag. Test
46443 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46444 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46445 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46446 * posix/spawni.c: Likewise.
46447 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46448 * posix/spawnp.c: Likewise. Change normal version to use
46449 SPAWN_XFLAGS_USE_PATH.
46450 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46451 SPAWN_XFLAGS_TRY_SHELL.
46454 * posix/glob.h: Remove gcc 1.x support.
46457 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46459 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46462 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46464 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46465 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46466 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46468 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46471 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46473 * sysdeps/x86_64/wcscmp.S: New file.
46475 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46476 wcscmp-c wcscmp-sse2
46477 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46478 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46479 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46480 * wcsmbs/wcscmp.c: Allow renaming.
46482 2011-09-05 David S. Miller <davem@davemloft.net>
46484 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46485 stack slot, rather than the struct return pointer slot.
46486 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46487 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46489 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46491 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46493 * po/ja.po: Update from translation team.
46496 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46497 kernel in 64-bit binaries.
46499 2011-09-01 David S. Miller <davem@davemloft.net>
46501 * elf/elf.h (HWCAP_SPARC_*): Move to..
46502 * sysdeps/sparc/sysdep.h: this new file and add new values.
46503 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46504 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46505 _DL_HWCAP_COUNT to 24.
46506 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46508 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46509 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46510 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46512 instead of magic constants.
46513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46515 2011-08-31 David S. Miller <davem@davemloft.net>
46517 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46519 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
46525 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46526 (PSEUDO): Reimplement to do errno handling inline.
46527 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46528 (SYSCALL_ERROR_HANDLER): New macro.
46529 (__SYSCALL_STRING): Do not do errno handling in asm.
46530 (__CLONE_SYSCALL_STRING): Delete.
46531 (__INTERNAL_SYSCALL_STRING): Delete.
46532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46533 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46535 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46536 (inline_syscall*): Add 'err' argument.
46537 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46538 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46539 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46540 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46542 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46543 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46545 2011-08-30 Andreas Schwab <schwab@redhat.com>
46547 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46549 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46551 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46554 2011-08-24 David S. Miller <davem@davemloft.net>
46556 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46558 2011-08-24 Andreas Schwab <schwab@redhat.com>
46560 * elf/Makefile: Add rules to build and run unload8 test.
46561 * elf/unload8.c: New file.
46562 * elf/unload8mod1.c: New file.
46563 * elf/unload8mod1x.c: New file.
46564 * elf/unload8mod2.c: New file.
46565 * elf/unload8mod3.c: New file.
46567 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46570 2011-08-23 David S. Miller <davem@davemloft.net>
46572 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46573 subtract stack bias.
46574 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46575 %sp not %fp in calculations.
46576 (_JMPBUF_UNWINDS_ADJ): Likewise.
46578 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46579 (aio_suspend): Call it to force an exception region around the
46580 AIO_MISC_WAIT() invocation.
46582 2011-08-23 Andreas Schwab <schwab@redhat.com>
46584 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46587 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46589 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46591 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46592 and <dl-machine.h>.
46593 (Elf64_FuncDesc): Remove.
46595 2011-08-22 David S. Miller <davem@davemloft.net>
46597 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46598 sigaltstack check, add missing cfi directives.
46599 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46600 missing cfi directives, and sigaltstack handling.
46602 2011-08-16 Andreas Schwab <schwab@redhat.com>
46605 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46606 object is seen twice.
46607 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46609 * elf/Makefile (distribute): Add tst-initorder2.c.
46610 (tests): Add tst-initorder2.
46611 (modules-names): Add tst-initorder2a tst-initorder2b
46612 tst-initorder2c tst-initorder2d. Add rules to build them.
46613 ($(objpfx)tst-initorder2.out): New rule.
46614 * elf/tst-initorder2.c: New file.
46615 * elf/tst-initorder2.exp: New file.
46617 2011-08-22 Andreas Schwab <schwab@redhat.com>
46619 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46621 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46622 dependencies back to end of function.
46624 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46625 $(elfobjdir)/ld.so.
46627 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46630 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46632 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46633 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46634 of __vdso_gettimeofday.
46635 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46636 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46638 (_libc_vdso_platform_setup): Remove initialization of
46639 __vdso_gettimeofday and __vdso_time.
46641 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46643 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46644 and fgetc_unlocked.
46645 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46648 * elf/dl-open.c (add_to_global): Report additions to the global scope
46649 for LD_DEBUG=scopes.
46650 (dl_open_worker): Also print scope of newly loaded dependencies.
46651 (_dl_show_scope): Indicate if there is no scope.
46654 * stdio-common/Makefile (tests): Add bug24.
46655 * stdio-common/bug24.c: New file.
46657 2011-08-19 Andreas Jaeger <aj@suse.de>
46660 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46661 non-existant file when using close-on-exec mode.
46663 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46666 the very first instruction.
46668 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46669 the CFI state in the end.
46670 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46671 inclusion of dl-trampoline.h.
46672 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46674 2011-08-19 Andreas Schwab <schwab@redhat.com>
46676 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46677 expectations for long double.
46679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46680 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46682 2011-08-14 David S. Miller <davem@davemloft.net>
46684 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46685 artificual limit depends upon the system page size.
46687 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46689 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46690 * resolv/Makefile: Define CFLAGS-libresolv.
46692 2011-08-17 Andreas Schwab <schwab@redhat.com>
46694 * nss/makedb.c (compute_tables): Make variables used in nested
46697 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46699 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46700 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46701 if buffer was too small.
46703 * elf/pldd.c (main): Attach to all threads in the process.
46704 Rewrite /proc handling to use *at functions.
46706 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46708 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46709 specifies first scope to show.
46710 (dl_open_worker): Update callers. Move printing scope of new
46711 object to before the relocation.
46712 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46713 * sysdeps/generic/ldsodefs.h: Update declaration.
46715 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46716 string for the scope number.
46718 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46720 * nscd/servicescache.c (cache_addserv): Make sure written is always
46723 2011-08-14 Roland McGrath <roland@hack.frob.com>
46725 * sysdeps/i386/i486/bits/atomic.h
46726 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46727 statement expression, so as to suppress "set but not used" warning.
46728 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46730 * string/strncat.c (STRNCAT): Use prototype definition.
46732 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46733 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46735 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46736 (localedef-modules): Add localedef.
46737 (locale-modules): Add locale.
46739 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46740 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46741 to avoid a warning.
46743 2011-08-14 David S. Miller <davem@davemloft.net>
46745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46746 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46748 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46750 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46751 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46752 * elf/rtld.c (dl_main): Set l_name of vDSO.
46753 Call _dl_show_scope when DL_DEBUG_SCOPES.
46754 (process_dl_debug): Recognize scopes flag and also set it for all.
46755 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46756 Declare _dl_show_scope.
46758 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46759 (do_dlopen): Pass caller_dlopen to dl_open.
46760 (__libc_dlopen_mode): Initialize caller_dlopen.
46762 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46763 of libc. Make tolower call locale-independent. Optimize a bit by
46764 using isdigit instead of isalnum.
46765 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46767 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46769 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46770 was a dependency or dynamically loaded.
46772 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46774 * intl/l10nflist.c: Allow architecture-specific pop function.
46775 * sysdeps/x86_64/l10nflist.c: New file.
46777 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46780 2011-08-10 Andreas Schwab <schwab@redhat.com>
46782 * include/dirent.h: Add libc_hidden_proto for scandirat and
46783 scandirat64. Don't declare __scandirat64.
46784 * dirent/scandirat.c: Add libc_hidden_def.
46785 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46786 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46788 2011-08-10 David S. Miller <davem@davemloft.net>
46790 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46792 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46793 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46796 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46798 * Versions.def [libc]: Add GLIBC_2.15.
46799 * dirent/Makefile (routines): Add scandirat and scandirat64.
46800 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46802 * dirent/dirent.h: Declare scandirat and scandirat64.
46803 * dirent/scandirat.c: New file.
46804 * dirent/scandirat64.c: New file.
46805 * sysdeps/wordsize-64/scandirat.c: New file.
46806 * sysdeps/wordsize-64/scandirat64.c: New file.
46807 * dirent/opendir.c: Define opendirat.
46808 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46810 * dirent/scandir64.c: Adjust for scandir.c change.
46811 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46812 __scandirat64, and __scandir_cancel_handler.
46813 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46814 additional parameter and use openat instead of open (outside of ld.so).
46815 Add new __opendir as wrapper around __opendirat.
46816 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46817 here without requiring old scandirat implementation.
46819 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46821 * dirent/scandir.c (cancel_handler): Renamed to
46822 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46823 defined. Adjust users.
46824 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46825 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46827 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46829 * string/test-string.h (IMPL): Use __STRING to expand name and then
46832 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46835 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46837 * string/Makefile: Update.
46838 (strop-tests): Append strncat.
46839 * string/test-wcscmp.c: New file.
46840 New comprehensive test for wcscmp.
46841 * string/test-strcmp.c: Update.
46842 (WIDE): New define.
46844 2011-07-22 Andreas Schwab <schwab@redhat.com>
46846 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46849 2011-07-26 Andreas Schwab <schwab@redhat.com>
46851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46852 encoding to ACE if AI_IDN.
46854 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46857 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46859 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46862 Fix overflow bug in strncat.
46863 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46865 * string/test-strncat.c: Update.
46866 Add new tests for checking overflow bugs.
46868 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46871 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46872 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46873 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46875 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46876 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46877 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46878 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46880 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46881 (USE_AS_STRCAT): Define.
46882 Add strcat and strncat support.
46883 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46885 2011-07-25 Andreas Schwab <schwab@redhat.com>
46887 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46888 __n bigger than INT_MAX+1.
46889 (__strncmp_g): Likewise.
46891 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46893 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46894 * libio/stido.h: Likewise.
46896 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46901 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46902 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46903 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46905 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46908 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46913 (_dl_x86_64_save_sse): Likewise.
46915 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46919 (_dl_x86_64_save_sse): Likewise.
46921 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46923 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46925 2011-07-21 Andreas Schwab <schwab@redhat.com>
46927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46929 (_dl_x86_64_save_sse): Use correct AVX check.
46931 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46934 bug in strncpy/strncat.
46935 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46937 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46939 * string/tester.c (test_strcat): Add tests for different alignments
46940 of source and destination.
46941 (test_strncat): Likewise.
46943 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46946 * posix/glob.c (glob): Check passed in values before using them in
46947 expressions to avoid some overflows.
46948 (glob_in_dir): Likewise.
46951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46952 check for AVX enablement so that we don't crash with old kernels and
46954 * elf/tst-audit4.c: Add same checks here.
46955 * elf/tst-audit6.c: Likewise.
46957 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46959 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46961 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46963 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46965 * po/cs.po: Update from translation team.
46966 * po/bg.po: Likewise.
46968 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46970 * misc/sys/cdefs.h: Add support for const attribute.
46971 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46972 to gnu_dev_{major,minor,makedev} functions.
46974 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46976 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46978 2011-07-20 Andreas Schwab <schwab@redhat.com>
46980 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46983 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46986 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46987 register in order to avoid conflicts with the soft frame pointer
46988 being held in r11 when necessary.
46989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46990 (INTERNAL_VSYSCALL_NCS): Likewise.
46992 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46994 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46995 * elf/dl-fini.c (_dl_fini): Adjust caller.
46996 * elf/dl-close.c (_dl_close_worker): Likewise.
46997 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46999 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47001 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47002 "aux_cache->nlibs < 0".
47004 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47005 in the reload-count case.
47007 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47010 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47011 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47012 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47013 * sysdeps/x86_64/multiarch/strcat.S: New file.
47014 * sysdeps/x86_64/multiarch/strncat.S: New file.
47015 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47016 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47017 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47018 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47020 (USE_AS_STRCAT): Define.
47021 Add strcat and strncat support.
47022 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47024 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47025 * string/strncat.c: Update.
47026 (USE_AS_STRNCAT): Define.
47027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47028 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47030 * sysdeps/x86_64/multiarch/init-arch.h
47031 (bit_Prefer_PMINUB_for_stringop): New.
47032 (index_Prefer_PMINUB_for_stringop): Likewise.
47033 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47034 bit_Prefer_PMINUB_for_stringop.
47036 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47038 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47040 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47041 of casting of buffer.
47042 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47043 buffer32 and buffer64.
47044 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47045 writes instead of casting of buffer.
47046 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47048 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47051 2011-07-19 Andreas Schwab <schwab@redhat.com>
47053 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47055 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47057 * nscd/nscd.c (termination_handler): Don't do anything for a database
47058 if it has not yet been initialized.
47060 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47062 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47064 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47066 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47068 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47070 * po/nl.po: Update from translation team.
47071 * po/sv.po: Likewise.
47073 2011-07-16 Roland McGrath <roland@hack.frob.com>
47075 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47076 now disallowed by GCC.
47078 * configure.in (use-default-link): Default to yes if a test -shared
47079 link meets our qualifications.
47080 * configure: Regenerated.
47082 * config.make.in (output-format): New variable.
47083 * configure.in: Check for ld --print-output-format support.
47084 * configure: Regenerated.
47085 * Makerules ($(common-objpfx)format.lds)
47086 [$(output-format) != unknown]: Just use $(output-format),
47087 instead of the linker-script munging.
47089 2011-07-14 Roland McGrath <roland@hack.frob.com>
47091 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47092 of $(common-objpfx)shlib.lds.
47093 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47095 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47096 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47098 * configure.in (-z relro check): Adjust test code to add a large
47099 writable data section after it.
47100 * configure: Regenerated.
47102 2011-07-11 Roland McGrath <roland@hack.frob.com>
47104 * configure.in (-z relro check): Fix test code to make the variable
47106 * configure: Regenerated.
47108 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47110 * nscd/nscd.h (struct traced_file): Define.
47111 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47112 elements. Add traced_files.
47113 (inotify_fd): Declare.
47114 (register_traced_file): Declare.
47115 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47116 (inotify_fd): Export.
47117 (resolv_conf_descr): Remove.
47118 (nscd_init): Move inotify descriptor creation to main.
47119 Don't register files for notification here.
47120 (register_traced_file): New function.
47121 (invalidate_cache): Don't use reset_res to determine whether to call
47122 res_init, go through the list of registered files.
47123 (main_loop_poll): The inotify descriptors are now stored in the
47124 structures for the traced files.
47125 (main_loop_epoll): Likewise
47126 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47127 to __nss_disable_nscd.
47128 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47129 for a database anymore. Check the records for all the registered
47131 * nss/Makefile (libnss_files-routines): Add files-init.
47132 (libnss_db-routines): Add db-init.
47133 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47134 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47135 * nss/nss_db/db-init.c: New file.
47136 * nss/nss_files/files-init.c: New file.
47137 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47138 __nss_lookup_function.
47139 (__nss_lookup_function): Call nss_load_library.
47140 (nss_load_all_libraries): New function.
47141 (__nss_disable_nscd): Take parameter with callback function for files
47142 to register. Set is_nscd. Load all the DSOs for the NSS modules
47143 used for the cached services.
47144 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47145 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47146 options for features to all the files in nscd.
47148 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47150 2011-07-10 Roland McGrath <roland@hack.frob.com>
47152 * csu/elf-init.c (__libc_csu_init): Comment typo.
47154 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47156 * po/pl.po: Update from translation team.
47157 * po/ja.po: Likewise.
47158 * po/ru.po: Likewise.
47159 * po/ko.po: Likewise.
47160 * po/fr.po: Likewise.
47162 2011-07-09 Roland McGrath <roland@hack.frob.com>
47164 * configure.in (.ctors/.dtors header and trailer check):
47165 Use an empirical test on a built program.
47166 * configure: Regenerated.
47168 * configure.in (-z relro check): Use an empirical test on a built DSO.
47169 Detect, but do not require, on ia64.
47170 * configure: Regenerated.
47172 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47173 Update tests that use readelf to use $READELF instead.
47174 * configure: Regenerated.
47176 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47178 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47179 if the result is not used.
47181 2011-07-05 Andreas Jaeger <aj@suse.de>
47184 * stdlib/tst-strtod.c: Add testcase.
47186 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47188 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47189 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47190 The latter has a higher limit. Take additional parameter to pass to
47192 (__pathconf): Pass file to __statfs_link_max.
47193 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47195 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47199 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47202 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47203 (__statfs_filesize_max): Likewise.
47204 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47206 2011-07-05 Andreas Jaeger <aj@suse.de>
47208 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47210 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47212 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47214 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47217 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47219 * Makefile (strop-tests): Add strncat.
47220 * string/test-strncat.c: New file.
47222 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47224 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47226 2011-06-21 Andreas Jaeger <aj@suse.de>
47228 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47229 Copy rule from iconvdata/Makefile.
47231 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47234 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47235 but no long options are defined, just return 'W'.
47237 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47240 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47242 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47244 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47246 (innetgr): Likewise.
47248 2011-07-05 Roland McGrath <roland@hack.frob.com>
47250 * config.make.in (install_root): Default to $(DESTDIR).
47252 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47254 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47256 2011-07-02 Roland McGrath <roland@hack.frob.com>
47258 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47260 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47261 containing directory rather than embedding absolute directory names.
47263 * scripts/check-local-headers.sh: Rewritten using awk.
47264 Match by word, not by line. Print error messages for matches.
47265 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47267 * Makerules [shlib-lds-flags empty]:
47268 ($(common-objpfx)libc_pic.opts): New target.
47269 ($(common-objpfx)libc_pic.os.clean): New target.
47270 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47272 * config.make.in (OBJCOPY): New variable.
47273 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47274 * configure: Regenerated.
47276 * config.make.in (use-default-link): New variable.
47277 * configure.in (use_default_link): Grok --with-default-link to set it.
47278 * configure: Regenerated.
47279 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47280 (shlib-lds, shlib-lds-flags): Define to empty.
47282 * Makerules (shlib-lds): New variable.
47283 (shlib-lds-flags): New variable.
47284 (build-shlib, build-moduile, build-module-asneeded): Use it.
47285 ($(common-objpfx)libc.so): Use $(shlib-lds).
47286 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47287 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47289 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47290 DT_FLAGS/DT_FLAGS_1 with zero flags.
47292 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47293 linker script munging.
47295 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47297 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47299 * crypt/sha512.c (sha512_process_block): Perform total addition using
47300 128-bit if possible.
47301 (__sha512_finish_ctx): Likewise.
47302 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47304 * crypt/sha256.c (SWAP64): Define.
47305 (sha256_process_block): Perform total addition using 64-bit if
47307 (__sha256_finish_ctx): Likewise.
47309 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47311 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47313 * nscd/hstcache.c (cache_addhst): Likewise.
47314 * nscd/grpcache.c (cache_addgr): Likewise.
47315 * nscd/aicache.c (addhstaiX): Likewise
47316 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47318 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47320 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47322 * nscd/hstcache.c (cache_addhst): Likewise.
47323 * nscd/grpcache.c (cache_addgr): Likewise.
47324 * nscd/aicache.c (addhstaiX): Likewise
47326 2011-07-01 Andreas Schwab <schwab@redhat.com>
47328 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47329 domain only when needed.
47331 2011-06-30 Andreas Schwab <schwab@redhat.com>
47333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47334 is always restored.
47336 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47338 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47339 are re-adding the entry.
47340 * nscd/servicescache.c (cache_addserv): Likewise.
47342 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47344 * sysdeps/generic/dl-irel.h: fix protection against multiple
47346 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47348 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47351 * malloc/memusage.sh: Fix quoting in message.
47352 * debug/xtrace.sh: Likewise.
47354 * configure.in: Remove support for --experimental-malloc option, make
47356 * config.make.in: Likewise.
47357 * malloc/Makefile: Likewise.
47359 2011-06-27 Andreas Schwab <schwab@redhat.com>
47361 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47362 two-byte characters.
47364 2011-06-27 Roland McGrath <roland@hack.frob.com>
47366 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47367 AC_CACHE_CHECK invocation.
47368 * configure: Regenerated.
47370 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47372 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47375 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47376 bit from old_res_options.
47378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47380 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47381 value type for setfct.
47383 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47386 __gettimeofday instead of gettimeofday.
47388 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47390 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47392 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47394 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47399 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47402 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47403 strcpy-sse2-unaligned strncpy-sse2-unaligned
47404 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47405 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47406 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47407 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47408 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47409 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47411 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47412 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47413 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47414 (STRCPY): Support SSE2 and SSSE3 versions.
47416 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47420 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47421 kernels which artificially limit size of requests.
47423 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47426 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47427 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47428 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47429 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47430 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47431 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47432 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47433 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47434 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47435 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47436 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47437 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47438 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47439 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47441 Enable unaligned load optimization for Intel Core i3, i5 and i7
47443 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47445 (index_Fast_Unaligned_Load): Define.
47446 (HAS_FAST_UNALIGNED_LOAD): Define.
47448 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47450 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47452 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47456 until it is clear that the information is realy needed.
47457 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47459 2011-06-22 Andreas Schwab <schwab@redhat.com>
47461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47463 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47466 /sys/devices/system/cpu/online if it is usable.
47468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47469 reading the information from the /proc filesystem to once a second.
47471 2011-06-21 Andreas Jaeger <aj@suse.de>
47473 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47474 NULL after inclusion of kernel headers.
47476 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47478 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47479 calls to internal_setent.
47482 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47483 addresses using gethostbyname4_r ignore IPv4 addresses.
47485 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47486 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47488 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47490 2011-06-20 David S. Miller <davem@davemloft.net>
47492 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47494 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47496 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47497 (elf_irel): Use it.
47498 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47499 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47500 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47501 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47502 * sysdeps/x86_64/dl-irel.h: Likewise.
47504 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47505 * elf/dl-sym.c: Likewise.
47507 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47509 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47510 need to dereference resplen2.
47512 2011-06-14 Andreas Schwab <schwab@redhat.com>
47514 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47516 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47518 * Makeconfig: Define vardbdir and inst_vardbdir.
47519 * nss/Makefile: Add rules to install db-Makefile.
47521 * nss/nss_db/db-XXX.c: Cleanup.
47523 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47524 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47526 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47527 * nss/makedb.c: Implement -g option to specify that value strings
47528 are generated and should not be added to table iterated over for
47530 * nss/nss_db/db-initgroups.c: New file.
47532 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47535 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47536 (internal_getgrouplist): Adjust to name change.
47537 Update use_initgroups_entry if this is not the first call.
47538 * nss/databases.def: Add initgroups entry.
47540 * nss/makedb.c (compute_tables): Check result of multiple hash table
47541 sizes to minimize maximum chain length.
47543 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47545 * Versions.def: Add entry for libnss_db.
47546 * shlib-versions: Likewise.
47547 * nss/Makefile: Add rules to build libnss_db.
47548 * nss/Versions: Add libnss_db information. Organize libnss_files
47550 * nss/db-Makefile: Add gshadow support. Change rules for the new
47551 makedb progra. Some minor improvements to generate smaller files.
47552 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47554 * nss/makedb.c: ...here.
47555 Improve database format to be smaller and require less memory at
47557 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47559 * nss/nss_db/db-netgrp.c: Likewise.
47560 * nss/nss_db/db-open.c: Likewise.
47561 * nss/nss_files/flies-XXX.x: Adjust comments.
47562 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47563 * nss/nss_files/files-grp.c: Likewise.
47564 * nss/nss_files/files-hosts.c: Likewise.
47565 * nss/nss_files/files-network.c: Likewise.
47566 * nss/nss_files/files-proto.c: Likewise.
47567 * nss/nss_files/files-pwd.c: Likewise.
47568 * nss/nss_files/files-rpc.c: Likewise.
47569 * nss/nss_files/files-service.c: Likewise.
47570 * nss/nss_files/files-sgrp.c: Likewise.
47571 * nss/nss_files/files-spwd.c: Likewise.
47572 * nss/nss_db/db-alias.c: Removed.
47573 * nss/nss_db/dummy-db.h: Removed.
47575 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47577 * nss/makedb.c: Rewritten to not use database library.
47578 * nss/Makefile: Update to build new makedb program.
47580 2011-06-14 Andreas Jaeger <aj@suse.de>
47582 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47583 memset declaration.
47585 2011-06-10 Andreas Schwab <schwab@redhat.com>
47587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47590 2011-06-10 Roland McGrath <roland@hack.frob.com>
47592 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47593 * elf/Makefile ($(objpfx)ld.so): Likewise.
47595 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47596 Don't list ld.so twice in dependencies.
47598 * posix/bug-regex31.c: Include <stdlib.h>.
47600 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47602 * nis/nss_compat/compat-spwd.c
47603 (getspent_next_nss_netgr): Remove unused variable.
47604 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47606 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47607 nonmembers" output to use the right array.
47609 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47611 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47613 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47614 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47615 * catgets/gencat.c (read_input_file): Likewise.
47616 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47618 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47619 variable definition inside #if's controlling its use.
47621 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47623 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47625 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47627 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47630 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47632 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47633 * configure: Regenerated.
47635 * Makerules: Revert last change.
47636 * elf/Makefile: Likewise.
47638 2011-06-09 Roland McGrath <roland@hack.frob.com>
47640 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47641 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47642 (reloc-link): Likewise.
47644 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47646 * elf/Makefile: Add rules to build pldd.
47647 * elf/pldd.c: New file.
47648 * elf/pldd-xx.c: New file.
47650 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47652 * version.h: Update for 2.15 development version.
47654 2011-06-07 David S. Miller <davem@davemloft.net>
47656 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47659 elf_machine_lazy_rel): Likewise.
47660 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47662 elf_machine_lazy_rel): Likewise.
47663 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47664 dl_hwcap via passed in argument.
47665 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47668 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47670 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47672 2011-06-06 Roland McGrath <roland@hack.frob.com>
47675 * manual/fdl-1.1.texi: New file, verbatim from:
47676 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47677 * manual/lgpl-2.1.texi: New file, verbatim from:
47678 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47679 * manual/Makefile (licenses): New variable, list those new file names.
47681 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47683 * manual/fdl.texi: File removed.
47684 * manual/lesser.texi: File removed.
47685 * manual/libc.texinfo (Copying, Documentation License):
47686 Use new @include file names, put @appendix directive before @include.
47688 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47691 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47692 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47693 (mq_open): Add __NTH.
47695 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47698 Assume Intel Core i3/i5/i7 processor if AVX is available.
47700 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47705 2011-05-31 Andreas Schwab <schwab@redhat.com>
47707 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47708 memory. Use alloca_account. Fix memory leak when retrying.
47710 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47712 * version.h (RELEASE): Bump for 2.14 release.
47713 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47715 * config.make.in (RANLIB): Remove entry.
47717 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47719 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47720 (libc.pot): Work around missing support for .ksh extension in xgettext.
47723 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47724 if both request failed.
47725 (send_dg): In case of server errors clear resplen or *resplen2.
47728 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47729 when there are multiple maps.
47730 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47731 (_dl_fini): Remove test here.
47733 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47735 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47738 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47739 bit from old_res_options.
47740 (gaih_inet): Likewise.
47743 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47746 * resolv/res_init.c (res_setoptions): Make the code more compact.
47749 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47753 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47755 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47758 * malloc/malloc.h: Declare malloc hook variables as volatile.
47760 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47764 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47765 raise in the comment.
47766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47767 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47768 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47770 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47773 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47774 grow the buffers more if it already has to be sufficient.
47775 (build_wcs_upper_buffer): Likewise.
47776 * posix/regexec.c (check_matching): Likewise.
47777 (clean_state_log_if_needed): Likewise.
47778 (extend_buffers): Don't enlarge buffers beyond size of the input
47780 Patches mostly by Emil Wojak <emil@wojak.eu>.
47781 * posix/bug-regex32.c: New file.
47782 * posix/Makefile (tests): Add bug-regex32.
47784 * locale/findlocale.c (_nl_find_locale): Return right away if
47785 _nl_explode_name failed.
47786 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47788 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47790 * debug/xtrace.sh: Unify messages.
47791 * malloc/memusage.sh: Likewise.
47794 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47795 time symbol from vDSO. Substitute with vsyscall if not available.
47796 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47799 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47800 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47801 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47802 Add sendmmsg and internal_sendmmsg.
47803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47804 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47805 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47807 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47808 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47811 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47815 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47817 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47821 * iconvdata/Makefile (tests): Add bug-iconv9.
47822 * iconvdata/bug-iconv9.c: New file.
47824 2011-05-27 Andreas Schwab <schwab@redhat.com>
47827 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47829 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47832 (struct user_regs_struct): Change intcs field back to cs.
47834 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47836 * po/ja.po: Update from translation team.
47838 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47841 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47842 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47844 2011-05-20 Andreas Schwab <schwab@redhat.com>
47846 * stdlib/longlong.h: Update from GCC.
47848 2011-05-23 Andreas Schwab <schwab@redhat.com>
47850 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47852 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47853 Add parameter name.
47854 (__sysconf): Pass it down.
47856 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47859 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47861 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47862 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47863 add in in __libc_use_alloca calls. Adjust callers.
47864 (glob): Use malloc in some situations.
47866 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47867 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47870 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47872 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47873 and CLOCK_BOOTTIME_ALARM.
47876 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47879 * string/_strerror.c (__strerror_r): Print negative errors as signed
47883 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47884 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47885 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47887 * configure.in: Fix typo in redirection and correct removal of test
47888 files in two cases.
47891 * locale/setlocale.c (new_composite_name): Fix test to check for
47892 identical name of all categories.
47895 * libio/filedoalloc.c (local_isatty): New function.
47896 (_IO_file_doallocate): Use local_isatty.
47897 * stdio-common/perror.c (perror): In case a new stream is used
47898 forward the stream error.
47899 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47902 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47907 * include/alloca.h (extend_alloca_account): Define.
47910 * posix/regex.h: Fix comments with documentation of user-accessible
47911 fields after compilation and describe correct free'ing of pattern
47912 after re_compile_pattern.
47913 Patch by Reuben Thomas <rrt@sc3d.org>.
47915 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47917 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47918 and -mno-altivec to prevent the compiler from using Altivec and/or
47919 VSX instructions when the corresponding registers are not available.
47921 2011-05-19 Andreas Schwab <schwab@redhat.com>
47923 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47925 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47927 * libio/freopen.c (freopen): Use __dup2, not dup2.
47928 * libio/freopen64.c (freopen64): Likewise.
47930 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47933 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47934 * math/Makefile (tests): Add test-powl.
47935 (CFLAGS-test-powl.c): Define.
47936 * math/test-powl.c: New file.
47938 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47940 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47942 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47945 * iconvdata/gb18030.c: Update to GB18020-2005.
47947 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47949 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47950 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47951 Patch by Aharon Robbins <arnold@skeeve.com>.
47954 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47958 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47959 through underflows.
47962 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47963 point to strings before performing equality test for error_one_per_line
47967 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47970 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47971 (struct user_fpregs_struct): Avoid __uint*_t types.
47974 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47975 symbol info. Use it instead of calling _dl_addr locally.
47976 (lock_and_info): New function.
47977 (tr_freehook): Call lock_and_info and pass symbol info as additional
47978 parameter to tr_where.
47979 (tr_mallochook): Likewise.
47980 (tr_reallochook): Likewise.
47981 (tr_memalignhook): Likewise.
47983 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47984 used and couldn't be at all thread-safe.
47986 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47988 * libio/freopen.c (freopen): Don't close old file descriptor
47989 before the new one is opened. Instead dup the new file descriptor
47990 to the old one after the new stream is created.
47991 * libio/freopen64.c (freopen64): Likewise.
47992 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47993 * libio/fileops.c (_IO_new_file_close_it): Handle new
47994 _IO_FLAGS2_NOCLOSE flag.
47995 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47996 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47997 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47998 _IO_FLAGS2_NOCLOSE flag.
47999 * include/unistd.h: Add hidden_proto for dup3.
48000 Define __have_dup3.
48001 * io/dup3.c: Define hidden symbol.
48002 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48005 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48006 when an incomplete long option is used.
48007 * posix/tst-getopt_long1.c: New file.
48008 * posix/Makefile (tests): Add tst-getopt_long1.
48011 * scripts/config.guess: Update from autoconf-2.68.
48012 * scripts/config.sub: Likewise.
48015 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48017 (has_cpuclock): ...this. New function.
48018 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48019 macro here based on has_cpuclock code.
48022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48023 First byte (not low byte) is now always NUL.
48024 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48027 Use non-cancelable interfaces.
48030 * locale/iso-639.def: Add entry for Sorani.
48033 * include/stdlib.h: Move include protection to the right place.
48034 Define abort_msg_s. Declare __abort_msg with it.
48035 * stdlib/abort.c (__abort_msg): Adjust type.
48036 * assert/assert.c (__assert_fail_base): New function. Majority
48037 of code from __assert_fail. Allocate memory for __abort_msg with
48039 (__assert_fail): Now call __assert_fail_base.
48040 * assert/assert-perr.c: Remove bulk of implementation. Use
48041 __assert_fail_base.
48042 * include/assert.hL Declare __assert_fail_base.
48043 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48045 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48047 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48051 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48052 until all modules are registered in the DTV.
48053 * elf/Makefile: Add rules to build and run tst-tls19.
48054 * elf/tst-tls19.c: New file.
48055 * elf/tst-tls19mod1.c: New file.
48056 * elf/tst-tls19mod2.c: New file.
48057 * elf/tst-tls19mod3.c: New file.
48058 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48061 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48065 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48066 two-byte sequence errors.
48067 * iconvdata/Makefile (tests): Add bug-iconv8.
48068 * iconvdata/bug-iconv8.c: New file.
48071 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48074 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48077 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48078 (dummy_getcfa): New function.
48079 (init): Get _Unwind_GetCFA address, use dummy if not found.
48080 (backtrace_helper): In recursion check, also check whether CFA changes.
48081 (__backtrace): Completely initialize arg.
48083 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48084 storing incomplete byte sequence in state object. Avoid testing for
48085 guaranteed too small input if we know there is enough data available.
48087 2011-05-11 Andreas Schwab <schwab@redhat.com>
48089 * Makeconfig (+link-pie): Indent.
48090 * Rules (binaries-pie): Define if $(have-fpie) and
48092 (binaries-shared): Also filter out $(binaries-pie).
48093 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48094 * nscd/Makefile (others-pie): Add nscd.
48095 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48096 ($(objpfx)nscd): Remove command override.
48097 * login/Makefile (others-pie): Add pt_chown.
48098 ($(objpfx)pt_chown): Remove command override.
48099 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48100 remove command overrides.
48102 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48104 * libio/tst_putwc.c: Fix error messages.
48107 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48108 currently writing and seek to current position when not.
48109 * libio/Makefile (tests): Add bug-fclose1.
48110 * libio/bug-fclose1.c: New file.
48112 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48115 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48116 don't set DF_1_NODELETE here.
48117 (do_lookup_x): When entering new entry test for copy relocation
48118 and if necessary set DF_1_NODELETE flag.
48119 * elf/tst-unique4.cc: New file.
48120 * elf/tst-unique4.h: New file.
48121 * elf/tst-unique4lib.cc: New file.
48122 * elf/Makefile: Add rules to build and run tst-unique4.
48123 Patch by Piotr Bury <pbury@goahead.com>.
48125 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48128 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48131 * misc/mntent_r.c (addmntent): Flush the stream after the output
48134 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48135 (is_trusted_path_normalize): Skip initial colon. Append slash
48136 to empty buffer. Duplicate is_trusted_path code but allow
48137 constructed patch to be prefix.
48138 (is_dst): Allow $ORIGIN followed by /.
48139 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48140 Correct testing of result of is_trusted_path_normalize
48141 (decompose_rpath): Fix warning.
48143 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48146 * grp/initgroups.c (internal_getgrouplist): When we found the service
48147 list through the initgroups entry in nsswitch.conf do not always
48148 continue on a successful lookup. Don't always use the
48149 __nss_group_database value if it is set.
48150 * nss/nsswitch.conf (initgroups): Change action for successful db
48151 lookup to continue for compatibility.
48153 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48156 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48158 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48160 * iconvdata/tst-tables.sh: Likewise.
48161 * iconvdata/cp770.c: New file.
48162 * iconvdata/cp771.c: New file.
48163 * iconvdata/cp772.c: New file.
48164 * iconvdata/cp773.c: New file.
48165 * iconvdata/cp774.c: New file.
48166 * iconvdata/testdata/CP770: New file.
48167 * iconvdata/testdata/CP770..UTF8: New file.
48168 * iconvdata/testdata/CP771: New file.
48169 * iconvdata/testdata/CP771..UTF8: New file.
48170 * iconvdata/testdata/CP772: New file.
48171 * iconvdata/testdata/CP772..UTF8: New file.
48172 * iconvdata/testdata/CP773: New file.
48173 * iconvdata/testdata/CP773..UTF8: New file.
48174 * iconvdata/testdata/CP774: New file.
48175 * iconvdata/testdata/CP774..UTF8: New file.
48177 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48179 * iconvdata/gen-8bit-gap.sh: Likewise.
48180 * iconvdata/gen-8bit.sh: Likewise.
48182 * locale/iso-639.def: Add ary entry.
48185 * locale/C-translit.h.in: Add U20A1 transliteration.
48188 * locale/iso-639.def: Add wae entry.
48189 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48192 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48196 * locale/C-translit.h.in: Add entry for U20B9.
48197 Patch by pravin.d.s@gmail.com.
48199 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48202 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48203 ENAMETOOLONG use generic getcwd.
48204 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48205 in rtld. Use *stat64.
48206 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48207 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48208 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48209 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48210 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48211 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48212 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48213 __fstatat64 macros.
48214 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48215 * dirent/rewinddir.c: Add libc_hidden_def.
48216 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48217 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48219 * include/dirent.h (__alloc_dir): Add flags parameter.
48220 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48221 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48223 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48224 from fdopendir if O_CLOEXEC is already set.
48226 2011-03-15 Alan Modra <amodra@gmail.com>
48228 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48229 l_tls_firstbyte_offset non-zero. Save padding offset in
48230 l_tls_firstbyte_offset for later use.
48231 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48232 freeing static tls block.
48234 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48236 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48237 where #ifdef was intended. The intent is to prevent ARG_MAX from
48238 being defined by the kernel headers.
48240 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48243 * resolv/resolv.h: Define RES_NOTLDQUERY.
48244 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48245 no-tld-query and set RES_NOTLDQUERY.
48246 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48247 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48248 modern BIND to search name as TLD unless forbidden.
48250 2011-05-07 Petr Baudis <pasky@suse.cz>
48251 Ulrich Drepper <drepper@gmail.com>
48254 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48255 (is_trusted_path): ...to here.
48256 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48257 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48258 using is_trusted_path_normalize() in setuid scripts.
48260 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48262 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48263 __BEGIN/__END_DECLS.
48265 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48267 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48268 NSS_STATUS_NOTFOUND if no record was found.
48270 2011-05-05 Andreas Schwab <schwab@redhat.com>
48272 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48273 (headers-not-in-tirpc): Remove rpc/netdb.h
48274 * resolv/netdb.h: Revert last change.
48276 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48278 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48279 circular dependency between libgcc.a and libc.a.
48281 2011-05-05 Andreas Schwab <schwab@redhat.com>
48283 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48284 * nis/Makefile: Don't install rpcsvc/*.
48285 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48286 instead of <rpc/types.h>.
48287 (MAXHOSTNAMELEN): Define.
48289 2011-05-03 Andreas Schwab <schwab@redhat.com>
48291 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48293 2011-04-28 Maciej Babinski <mbabinski@google.com>
48296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48297 gethostbyname4_r when IPv6 results are possible.
48299 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48302 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48303 _PC_PIPE_BUF handling.
48305 2011-04-30 Bruno Haible <bruno@clisp.org>
48308 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48309 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48311 * inet/getnameinfo.c (getnameinfo): Likewise.
48313 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48315 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48316 to groups setting in database lookup.
48317 * nss/nsswitch.conf: Add initgroups entry.
48319 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48322 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48324 Patch by Eric Blake <eblake@redhat.com>.
48326 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48328 * sunrpc/Makefile (need-export-routines): Add svc_run.
48329 (routines): Remove svc_run.
48330 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48331 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48332 * sunrpc/svc_run.c (svc_run): Likewise.
48333 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48335 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48338 problem in reallocation in last patch.
48340 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48342 * sunrpc/Makefile: Move inclusion of Rules.
48344 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48346 * nss/nss_files/files-initgroups.c: New file.
48347 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48348 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48349 _nss_files_initgroups_dyn.
48351 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48353 * elf/elf.h (R_ARM_IRELATIVE): Define.
48355 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48357 * po/ru.po: Update from translation team.
48359 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48361 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48364 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48367 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48368 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48369 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48371 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48373 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48375 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48377 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48381 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48384 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48386 * stdlib/bug-getcontext.c: New file.
48387 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48389 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48391 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48392 instructions into .machine "z9-109".
48393 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48394 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48396 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48398 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48399 between environment variables and auxiliary vector.
48401 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48403 * Makefile: Add rules to build linkobj/libc.so.
48404 * include/libc-symbols.h: Define libc_hidden_nolink.
48405 * include/rpc/auth.h: Mark functions which are to be hidden.
48406 * include/rpc/auth_des.h: Likewise.
48407 * include/rpc/auth_unix.h: Likewise.
48408 * include/rpc/clnt.h: Likewise.
48409 * include/rpc/des_crypt.h: Likewise.
48410 * include/rpc/key_prot.h: Likewise.
48411 * include/rpc/pmap_clnt.h: Likewise.
48412 * include/rpc/pmap_prot.h: Likewise.
48413 * include/rpc/pmap_rmt.h: Likewise.
48414 * include/rpc/rpc_msg.h: Likewise.
48415 * include/rpc/svc.h: Likewise.
48416 * include/rpc/svc_auth.h: Likewise.
48417 * include/rpc/xdr.h: Likewise.
48418 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48419 * nss/Makefile: Likewise.
48420 * sunrpc/Makefile: Don't install headers. Build library with normal
48421 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48422 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48423 for the compat linking library. Remove use of INTDEF/INTUSE.
48424 * sunrpc/auth_none.c: Likewise.
48425 * sunrpc/auth_unix.c: Likewise.
48426 * sunrpc/authdes_prot.c: Likewise.
48427 * sunrpc/authuxprot.c: Likewise.
48428 * sunrpc/clnt_gen.c: Likewise.
48429 * sunrpc/clnt_perr.c: Likewise.
48430 * sunrpc/clnt_raw.c: Likewise.
48431 * sunrpc/clnt_simp.c: Likewise.
48432 * sunrpc/clnt_tcp.c: Likewise.
48433 * sunrpc/clnt_udp.c: Likewise.
48434 * sunrpc/clnt_unix.c: Likewise.
48435 * sunrpc/des_crypt.c: Likewise.
48436 * sunrpc/des_soft.c: Likewise.
48437 * sunrpc/get_myaddr.c: Likewise.
48438 * sunrpc/key_call.c: Likewise.
48439 * sunrpc/key_prot.c: Likewise.
48440 * sunrpc/netname.c: Likewise.
48441 * sunrpc/pm_getmaps.c: Likewise.
48442 * sunrpc/pm_getport.c: Likewise.
48443 * sunrpc/pmap_clnt.c: Likewise.
48444 * sunrpc/pmap_prot.c: Likewise.
48445 * sunrpc/pmap_prot2.c: Likewise.
48446 * sunrpc/pmap_rmt.c: Likewise.
48447 * sunrpc/publickey.c: Likewise.
48448 * sunrpc/rpc_cmsg.c: Likewise.
48449 * sunrpc/rpc_common.c: Likewise.
48450 * sunrpc/rpc_dtable.c: Likewise.
48451 * sunrpc/rpc_prot.c: Likewise.
48452 * sunrpc/rpc_thread.c: Likewise.
48453 * sunrpc/rtime.c: Likewise.
48454 * sunrpc/svc.c: Likewise.
48455 * sunrpc/svc_auth.c: Likewise.
48456 * sunrpc/svc_authux.c: Likewise.
48457 * sunrpc/svc_raw.c: Likewise.
48458 * sunrpc/svc_run.c: Likewise.
48459 * sunrpc/svc_simple.c: Likewise.
48460 * sunrpc/svc_tcp.c: Likewise.
48461 * sunrpc/svc_udp.c: Likewise.
48462 * sunrpc/svc_unix.c: Likewise.
48463 * sunrpc/svcauth_des.c: Likewise.
48464 * sunrpc/xcrypt.c: Likewise.
48465 * sunrpc/xdr.c: Likewise.
48466 * sunrpc/xdr_array.c: Likewise.
48467 * sunrpc/xdr_float.c: Likewise.
48468 * sunrpc/xdr_intXX_t.c: Likewise.
48469 * sunrpc/xdr_mem.c: Likewise.
48470 * sunrpc/xdr_rec.c: Likewise.
48471 * sunrpc/xdr_ref.c: Likewise.
48472 * sunrpc/xdr_sizeof.c: Likewise.
48473 * sunrpc/xdr_stdio.c: Likewise.
48475 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48478 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48479 * sysdeps/ia64/dl-tls.h: Likewise.
48480 * sysdeps/powerpc/dl-tls.h: Likewise.
48481 * sysdeps/s390/dl-tls.h: Likewise.
48482 * sysdeps/sh/dl-tls.h: Likewise.
48483 * sysdeps/sparc/dl-tls.h: Likewise.
48484 * sysdeps/x86_64/dl-tls.h: Likewise.
48485 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48487 2011-03-14 Andreas Schwab <schwab@redhat.com>
48489 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48490 rpath element also skip the following colon.
48491 (expand_dynamic_string_token): Add is_path parameter and pass
48492 down to DL_DST_REQUIRED and _dl_dst_substitute.
48493 (decompose_rpath): Call expand_dynamic_string_token with
48494 non-zero is_path. Ignore empty rpaths.
48495 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48498 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48503 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48506 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48507 Patch by Filipe David Manana <fdmanana@apache.org>.
48509 2011-04-07 Andreas Schwab <schwab@redhat.com>
48511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48512 Maintain aligned stack.
48513 (CHECK_RSP): Remove unused macro.
48515 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48517 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48518 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48520 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48522 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48524 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48526 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48529 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48530 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48531 * sysdeps/x86_64/memmove.c: New file.
48532 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48533 (memcpy): Renamed to ...
48534 (__new_memcpy): This.
48535 (memcpy): Provide GLIBC_2_14 memcpy.
48536 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48537 (memcpy): Provide GLIBC_2_2_5 memcpy.
48539 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48542 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48544 2011-03-30 Andreas Schwab <schwab@redhat.com>
48546 * misc/syncfs.c: New file.
48547 * misc/Makefile (routines): Add syncfs.
48548 * posix/unistd.h: Declare syncfs.
48549 * sysdeps/unix/syscalls.list: Add syncfs.
48551 2011-04-01 Andreas Schwab <schwab@redhat.com>
48553 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48555 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48556 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48558 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48560 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48563 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48565 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48566 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48567 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48573 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48574 sync_file_range.c with -fexceptions.
48575 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48576 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48577 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48578 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48579 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48580 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48582 sync_file_range as cancellation point
48583 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48584 now a wrapper around __call_sync_file_range with cancellation handling.
48585 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48586 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48587 function name to __call_sync_file_range.
48588 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48589 Add call_sync_file_range.
48591 2011-04-01 Andreas Schwab <schwab@redhat.com>
48593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48596 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48598 * iconv/iconv.h: Fix typo in comment.
48599 * io/fcntl.h: Likewise.
48600 * libio/stdio.h: Likewise.
48601 * posix/spawn.h: Likewise.
48602 * posix/unistd.h: Likewise.
48603 * stdlib/stdlib.h: Likewise.
48604 * time/time.h: Likewise.
48605 * wcsmbs/wchar.h: Likewise.
48607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48608 open_by_handle): Add.
48609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48610 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48611 Augment a few comments.
48612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48617 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48620 * io/fcntl.h (AT_EMPTY_PATH): Define.
48622 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48624 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48625 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48626 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48628 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48629 * Versions.def: Add GLIBC_2.14.
48630 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48633 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48635 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48637 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48639 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48642 * string/test-strncmp.c (do_page_test): New function.
48643 (check2): Likewise.
48644 (test_main): Call check2.
48645 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48647 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48650 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48651 Handle cache information in CPU leaf 4.
48652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48654 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48657 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48658 character representation.
48659 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48661 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48663 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48664 END(__isnan) to END(__isnanf) to match function entry point/label
48665 EALIGN(__isnanf,...).
48667 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48669 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48671 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48674 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48675 copy from the symbol referenced in the relocation to initialize the
48677 Patch by Piotr Bury <pbury@goahead.com>.
48678 * elf/Makefile: Add rules to build and tst-unique3.
48679 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48680 * elf/tst-unique3.cc: New file.
48681 * elf/tst-unique3.h: New file.
48682 * elf/tst-unique3lib.cc: New file.
48683 * elf/tst-unique3lib2.cc: New file.
48685 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48687 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48689 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48690 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48693 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48695 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48696 to-be-loaded object along a path to loader is ld.so.
48698 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48699 Ulrich Drepper <drepper@gmail.com>
48701 * sysdeps/x86_64/memset.S: After aligning destination, code
48702 branches to different locations depending on the value of
48703 misalignment, when multiarch is enabled. Fix this.
48705 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48707 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48708 Set _x86_64_preferred_memory_instruction for AMD processsors.
48709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48710 Set bit_Prefer_SSE_for_memop for AMD processors.
48712 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48714 * libio/fmemopen.c (fmemopen): Optimize a bit.
48716 2011-03-03 Andreas Schwab <schwab@redhat.com>
48718 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48720 2011-03-03 Roland McGrath <roland@redhat.com>
48722 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48724 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48726 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48727 __bzero_ultra1 instead of __memset_ultra1.
48729 2011-02-23 Andreas Schwab <schwab@redhat.com>
48730 Ulrich Drepper <drepper@gmail.com>
48733 * include/link.h (struct link_map): Add l_orig_initfini.
48734 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48735 returning unsuccessfully.
48736 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48737 close of a file loaded at startup, restore the original l_initfini
48739 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48740 list, store the pointer.
48741 * elf/Makefile ($(objpfx)noload-mem): New rule.
48742 (noload-ENV): Define.
48743 (tests): Add $(objpfx)noload-mem.
48744 * elf/noload.c: Include <memcheck.h>.
48745 (main): Call mtrace. Close all opened handles.
48747 2011-02-17 Andreas Schwab <schwab@redhat.com>
48750 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48751 dependencies are missing.
48753 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48755 Fix __if_freereq crash: Unlike the generic version which uses free,
48757 * sysdeps/mach/hurd/ifreq.h: New file.
48759 2011-01-27 Petr Baudis <pasky@suse.cz>
48760 Ulrich Drepper <drepper@gmail.com>
48763 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48764 to extend_alloca().
48765 * stdio-common/bug23.c: New file.
48766 * stdio-common/Makefile (tests): Add bug23.
48768 2010-09-28 Andreas Schwab <schwab@redhat.com>
48769 Ulrich Drepper <drepper@gmail.com>
48772 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48773 before performing relro protection. At old place add assertion
48774 to make sure nothing changed.
48776 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48777 Glauber de Oliveira Costa <glommer@gmail.com>
48779 * elf/elf.h: Add new ARM TLS relocs.
48781 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48784 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48786 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48788 * sysdeps/wordsize-64/tst-writev.c: New file.
48790 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48792 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48793 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48794 insns in _dl_start to prevent a TOC reference before relocs are
48797 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48800 * Makeconfig: Remove RANLIB definition.
48801 * Makerules: Don't use RANLIB.
48802 * aclocal.m4: Remove ranlib test.
48803 * configure.in: No need to check for ranlib.
48804 * elf/rtld-Rules: Don't use RANLIB.
48806 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48808 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48810 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48811 inclusion protection macro.
48813 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48814 SIGRTMIN and SIGRTMAX and print information in that case only when
48815 SIGRTMIN is defined.
48817 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48819 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48820 arginfo fn returning -1.
48822 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48823 and thousands string is zero terminated.
48825 2011-02-03 Andreas Schwab <schwab@redhat.com>
48827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48828 sysdeps/unix/sysv/linux/bits/socket.h.
48830 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48832 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48833 (__CPU_COUNT): Remove old macros.
48834 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48835 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48836 (__CPU_ALLOC, __CPU_FREE): Add macros.
48837 (__sched_cpualloc, __sched_cpufree): Add declarations.
48839 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48841 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48842 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48843 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48844 (readdhstai): Return value of addhstaiX call.
48845 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48846 (addgrbyX): Return value returned by cache_addgr.
48847 (readdgrbyname): Return value returned by addgrbyX.
48848 (readdgrbygid): Likewise.
48849 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48850 (addpwbyX): Return value returned by cache_addpw.
48851 (readdpwbyname): Return value returned by addhstbyX.
48852 (readdpwbyuid): Likewise.
48853 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48854 (addservbyX): Return value returned by cache_addserv.
48855 (readdservbyname): Return value returned by addservbyX:
48856 (readdservbyport): Likewise.
48857 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48858 (addhstbyX): Return value returned by cache_addhst.
48859 (readdhstbyname): Return value returned by addhstbyX.
48860 (readdhstbyaddr): Likewise.
48861 (readdhstbynamev6): Likewise.
48862 (readdhstbyaddrv6): Likewise.
48863 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48864 (readdinitgroups): Return value returned by addinitgroupsX.
48865 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48866 (prune_cache): Keep track of timeout value of re-added entries.
48867 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48868 * nscd/nscd.h: Adjust prototypes of readd* functions.
48870 2011-02-04 Roland McGrath <roland@redhat.com>
48872 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48873 (nis_stats): Likewise.
48874 * nis/nis_modify.c (nis_modify): Likewise.
48875 * nis/nis_remove.c (nis_remove): Likewise.
48876 * nis/nis_add.c (nis_add): Likewise.
48878 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48880 * posix/fnmatch_loop.c: Add some consts.
48882 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48884 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48887 * config.make.in (config-cflags-novzeroupper): Define.
48888 * configure.in: Substitute libc_cv_cc_novzeroupper.
48889 * elf/Makefile (AVX-CFLAGS): Define.
48890 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48891 (CFLAGS-tst-auditmod4a.c): Likewise.
48892 (CFLAGS-tst-auditmod4b.c): Likewise.
48893 (CFLAGS-tst-auditmod6b.c): Likewise.
48894 (CFLAGS-tst-auditmod6c.c): Likewise.
48895 (CFLAGS-tst-auditmod7b.c): Likewise.
48896 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48898 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48900 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48901 function to the callback.
48902 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48904 2011-02-02 Andreas Schwab <schwab@redhat.com>
48906 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48909 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48912 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48914 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48916 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48919 * elf/Makefile: Add rules to build and run new test.
48920 * elf/tst-initorder.c: New file.
48921 * elf/tst-initorder.exp: New file.
48922 * elf/tst-initordera1.c: New file.
48923 * elf/tst-initordera2.c: New file.
48924 * elf/tst-initordera3.c: New file.
48925 * elf/tst-initordera4.c: New file.
48926 * elf/tst-initorderb1.c: New file.
48927 * elf/tst-initorderb2.c: New file.
48928 * elf/tst-order-a1.c: New file.
48929 * elf/tst-order-a2.c: New file.
48930 * elf/tst-order-a3.c: New file.
48931 * elf/tst-order-a4.c: New file.
48932 * elf/tst-order-b1.c: New file.
48933 * elf/tst-order-b2.c: New file.
48934 * elf/tst-order-main.c: New file.
48935 New test case by George Gensure <werkt0@gmail.com>.
48937 2010-10-01 Andreas Schwab <schwab@redhat.com>
48939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48940 decoding ACE if AI_CANONIDN.
48942 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48944 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48946 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48948 * version.h (RELEASE): Bump for 2.13 release.
48949 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48951 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48953 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48955 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48956 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48957 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48958 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48960 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48962 * posix/getconf.c: Update copyright year.
48963 * catgets/gencat.c: Likewise.
48964 * csu/version.c: Likewise.
48965 * debug/catchsegv.sh: Likewise.
48966 * debug/xtrace.sh: Likewise.
48967 * elf/ldconfig.c: Likewise.
48968 * elf/ldd.bash.in: Likewise.
48969 * elf/sprof.c (print_version): Likewise.
48970 * iconv/iconv_prog.c: Likewise.
48971 * iconv/iconvconfig.c: Likewise.
48972 * locale/programs/locale.c: Likewise.
48973 * locale/programs/localedef.c: Likewise.
48974 * malloc/memusage.sh: Likewise.
48975 * malloc/mtrace.pl: Likewise.
48976 * nscd/nscd.c (print_version): Likewise.
48977 * nss/getent.c: Likewise.
48979 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48980 PF_CAIF, and PF_ALG.
48981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48983 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48985 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48986 (modules-names): Use them.
48987 (ifunc-test-modules, ifunc-pie-tests): Define.
48988 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48989 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48990 (test-extras): Likewise.
48991 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48992 $(compile-command.c).
48993 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48994 (all-built-dso): Define.
48995 (check-textrel.out, check-execstack.out): Depend on it.
48997 * configure.in: Don't override --enable-multi-arch.
48999 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49002 * nscd/hstcache.c (tryagain): Define.
49003 (cache_addhst): Return tryagain not notfound for temporary errors.
49004 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49007 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49010 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49011 to make the syscall.
49012 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49015 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49016 and fall back to matching as normal character if the string ends before
49017 the matching ']' is found. This is what POSIX requires.
49018 * posix/testfnm.c: Adjust test result.
49019 * posix/globtest.sh: Adjust test result. Add new test.
49020 * posix/tst-fnmatch.input: Likewise.
49021 * posix/tst-fnmatch2.c: Add new test.
49023 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49025 * elf/Makefile (check-execstack): Revert last change. Depend on
49027 (check-execstack.h): New target.
49028 (generated): Add check-execstack.h.
49029 * elf/check-execstack.c: Include "check-execstack.h".
49030 (main): Revert last change.
49031 (handle_file): Return zero if GNU_STACK is absent and
49032 DEFAULT_STACK_PERMS doesn't include PF_X.
49034 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49036 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49037 in child fails because the descriptor is already closed.
49038 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49039 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49040 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49043 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49047 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49048 temporary buffer used to handle multi lookups locally.
49049 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49051 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49053 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49056 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49058 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49059 alignment for SSE2.
49061 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49064 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49065 characters. When rounding increased number of integer digits recompute
49067 * stdio-common/tst-grouping.c: New file.
49068 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49070 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49072 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49073 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49075 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49077 * bits/select.h: Likewise.
49079 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49081 * po/ja.po: Update from translation team.
49083 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49086 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49087 implementation just like for lxstat, fxstatat, et al.
49089 2010-12-27 Jim Meyering <meyering@redhat.com>
49092 * posix/regexec.c (build_trtable): Return failure indication upon
49093 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49095 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49098 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49099 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49100 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49104 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49107 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49108 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49110 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49112 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49113 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49114 script has SORT_BY_INIT_PRIORITY.
49115 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49116 NO_CTORS_DTORS_SECTIONS is defined.
49117 * elf/soinit.c: Likewise.
49118 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49119 NO_CTORS_DTORS_SECTIONS is defined.
49120 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49121 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49122 * sysdeps/sh/init-first.c: Likewise.
49123 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49125 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49127 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49128 always use the slow path.
49130 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49132 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49133 similar rule which adds the sysdep directories to the header search in
49134 order to pick up the correct platform stackinfo.h.
49135 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49136 perform test if it is, otherwise return successfully without testing.
49137 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49138 DEFAULT_STACK_PERMS define in stackinfo.h.
49139 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49140 defined in stackinfo.h.
49141 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49142 DEFAULT_STACK_PERMS defined in stackinfo.h.
49143 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49144 * sysdeps/ia64/stackinfo.h: Likewise.
49145 * sysdeps/s390/stackinfo.h: Likewise.
49146 * sysdeps/sh/stackinfo.h: Likewise.
49147 * sysdeps/sparc/stackinfo.h: Likewise.
49148 * sysdeps/x86_64/stackinfo.h: Likewise.
49149 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49150 PF_X for powerpc64. Retain PF_X for powerpc32.
49152 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49154 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49156 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49157 GETDENTS_64BIT_ALIGNED.
49159 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49161 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49163 2010-12-10 Andreas Schwab <schwab@redhat.com>
49165 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49168 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49169 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49171 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49172 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49174 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49177 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49180 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49182 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49184 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49186 * po/it.po: Update from translation team.
49188 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49193 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49195 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49197 2010-11-24 Andreas Schwab <schwab@redhat.com>
49199 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49201 (gaih_getanswer_slice): Likewise.
49203 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49207 2010-05-31 Petr Baudis <pasky@suse.cz>
49210 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49211 silently even in the chroot mode.
49213 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49215 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49216 last patch a bit. Pretty printing
49218 2010-05-31 Petr Baudis <pasky@suse.cz>
49221 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49222 initialization of skip_initgroups_dyn.
49224 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49229 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49231 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49233 2010-11-11 Andreas Schwab <schwab@redhat.com>
49235 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49236 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49237 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49238 ($(objpfx)tst-fnmatch-mem): New rule.
49239 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49240 * posix/tst-fnmatch.c (main): Call mtrace.
49242 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49245 Support Intel processor model 6 and model 0x2c.
49247 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49252 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49255 * string/test-strncasecmp.c (check_result): New function.
49256 (do_one_test): Use it.
49257 (check1): New function.
49258 (test_main): Use it.
49259 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49260 Support strcasecmp and strncasecmp.
49262 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49265 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49266 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49268 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49270 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49274 * sysdeps/x86_64/multiarch/bzero.S: New file.
49275 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49276 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49277 * sysdeps/x86_64/multiarch/memset.S: New file.
49278 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49280 Set bit_Prefer_SSE_for_memop for Intel processors.
49281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49283 (index_Prefer_SSE_for_memop): Define.
49284 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49286 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49288 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49289 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49291 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49294 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49295 (__x86_64_raw_data_cache_size_half): Likewise.
49296 (__x86_64_raw_shared_cache_size): Likewise.
49297 (__x86_64_raw_shared_cache_size_half): Likewise.
49299 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49300 (__x86_64_raw_data_cache_size_half): Likewise.
49301 (__x86_64_raw_shared_cache_size): Likewise.
49302 (__x86_64_raw_shared_cache_size_half): Likewise.
49303 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49304 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49305 and __x86_64_raw_shared_cache_size_half. Round
49306 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49307 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49308 to multiple of 256 bytes.
49310 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49314 of inacessible symlinks. Verify result of symlink before returning it.
49315 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49316 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49318 2010-10-28 Erich Ritz <erichritz@gmail.com>
49320 * math/math.h (isinf): Fix typo in comment.
49322 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49324 * po/da.po: Update from translation team.
49326 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49328 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49329 is added to the list.
49331 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49332 Ulrich Drepper <drepper@gmail.com>
49334 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49335 the global list here. Move code to...
49336 (_dl_add_to_namespace_list): ...here. New function.
49337 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49338 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49339 * elf/dl-load.c (lose): Don't remove the element from the list.
49340 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49341 (_dl_map_object): Likewise.
49343 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49346 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49347 into all bytes of SSE register.
49348 Patch by Richard Li <richardpku@gmail.com>.
49350 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49353 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49356 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49358 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49359 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49360 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49361 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49366 2010-10-22 Andreas Schwab <schwab@redhat.com>
49368 * include/dlfcn.h (__RTLD_SECURE): Define.
49369 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49370 mode & __RTLD_SECURE instead.
49371 (open_path): Rename preloaded parameter to secure.
49372 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49373 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49374 * elf/dl-deps.c (openaux): Likewise.
49375 * elf/rtld.c (struct map_args): Remove is_preloaded.
49376 (map_doit): Don't use it.
49377 (dl_main): Likewise.
49378 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49379 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49381 2010-09-09 Andreas Schwab <schwab@redhat.com>
49383 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49384 (sysd-rules-targets): Remove duplicates.
49385 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49386 rtld-%.$o dependency.
49388 2010-10-18 Andreas Schwab <schwab@redhat.com>
49390 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49391 _dl_map_object do it.
49393 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49395 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49396 fast fma builtins, define the macros in the C99 standard.
49397 (FP_FAST_FMAF): Likewise.
49398 (FP_FAST_FMAL): Likewise.
49399 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49401 * bits/mathdef.h: Update copyright year.
49402 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49404 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49406 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49407 builtins, define the macros in the C99 standard.
49408 (FP_FAST_FMAF): Likewise.
49409 (FP_FAST_FMAL): Likewise.
49410 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49412 (FP_FAST_FMAF): Likewise.
49414 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49417 * math/libm-test.inc (fma_test): Some new testcases.
49418 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49419 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49420 y and infinite z. Do multiplication by C already in long double.
49421 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49423 y and infinite z. Do bitwise or of inexact bit into u.d.
49424 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49425 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49426 * sysdeps/i386/fpu/s_fma.S: Removed.
49427 * sysdeps/i386/fpu/s_fmal.S: Removed.
49429 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49432 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49434 computation is not scheduled after fetestexcept. Fix value
49435 of minimum denormal long double.
49437 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49440 * math/libm-test.inc (fma_test): Add some more tests.
49441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49444 2010-10-15 Andreas Schwab <schwab@redhat.com>
49446 * scripts/data/localplt-s390-linux-gnu.data: New file.
49447 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49449 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49452 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49453 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49455 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49457 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49459 if one of x and y is very large and the other is subnormal.
49460 * sysdeps/s390/fpu/s_fmaf.c: New file.
49461 * sysdeps/s390/fpu/s_fma.c: New file.
49462 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49463 * sysdeps/powerpc/fpu/s_fma.S: New file.
49464 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49465 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49466 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49468 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49471 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49474 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49475 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49476 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49477 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49478 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49479 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49481 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49484 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49485 * posix/bug-regex31.input: Add test case.
49487 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49489 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49490 * posix/bug-regex31.input: New file.
49493 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49494 (parse_sub_exp): Fix last change, use postorder.
49496 * posix/bug-regex31.c: New file.
49497 * posix/Makefile: Add rules to build and run bug-regex31.
49499 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49502 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49505 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49506 to have entries in sys_siglist.
49509 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49512 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49515 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49516 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49517 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49518 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49519 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49520 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49521 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49522 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49523 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49524 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49525 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49526 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49527 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49528 * math/ftestexcept.c (fetestexcept): Likewise.
49529 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49530 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49531 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49532 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49533 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49534 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49535 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49537 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49540 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49543 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49545 * string/bug-strstr1.c: New file.
49546 * string/Makefile: Add rules to build and run bug-strstr1.
49548 2010-10-05 Eric Blake <eblake@redhat.com>
49551 * string/str-two-way.h (two_way_long_needle): Always clear memory
49552 when skipping input due to the shift table.
49554 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49557 * malloc/mcheck.c: Handle large requests.
49560 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49561 for strncmp and strncasecmp.
49562 * string/stratcliff.c: Add tests for strcmp and strncmp.
49563 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49565 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49567 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49570 2010-09-30 Andreas Jaeger <aj@suse.de>
49572 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49573 (CGROUP_SUPER_MAGIC): Define.
49574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49575 Handle btrfs and cgroup file systems.
49576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49579 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49581 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49582 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49584 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49587 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49588 trying to locate the ELF header.
49590 2010-09-27 Andreas Schwab <schwab@redhat.com>
49593 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49594 Mask out sign-bit copies when constructing f_fsid.
49596 2010-09-24 Petr Baudis <pasky@suse.cz>
49598 * debug/stack_chk_fail_local.c: Add missing licence exception.
49599 * debug/warning-nop.c: Likewise.
49601 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49603 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49604 implementing getdents64 using getdents syscall, set d_type if
49605 __ASSUME_GETDENTS32_D_TYPE.
49607 2010-09-16 Andreas Schwab <schwab@redhat.com>
49609 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49610 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49612 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49615 * posix/unistd.h: Undo change of feature selection for ftruncate from
49618 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49620 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49623 2010-09-20 Andreas Schwab <schwab@redhat.com>
49625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49627 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49629 2010-09-14 Andreas Schwab <schwab@redhat.com>
49631 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49632 variables after CHECK_SP call.
49633 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49635 2010-09-13 Andreas Schwab <schwab@redhat.com>
49636 Ulrich Drepper <drepper@redhat.com>
49638 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49639 re-relocationg ld.so.
49640 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49641 _dl_init_paths call.
49642 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49645 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49647 * resolv/res_init.c (__res_vinit): Count the default server we added.
49649 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49650 Ulrich Drepper <drepper@redhat.com>
49653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49654 (____longjmp_chk): Use %ebx for saving value across system call.
49657 2010-09-06 Andreas Schwab <schwab@redhat.com>
49659 * manual/Makefile: Don't mix pattern rules with normal rules.
49661 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49663 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49665 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49666 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49667 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49668 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49672 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49675 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49676 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49678 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49680 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49681 * sysdeps/x86_64/addmul_1.S: Likewise.
49682 * sysdeps/x86_64/lshift.S: Likewise.
49683 * sysdeps/x86_64/mul_1.S: Likewise.
49684 * sysdeps/x86_64/rshift.S: Likewise.
49685 * sysdeps/x86_64/sub_n.S: Likewise.
49686 * sysdeps/x86_64/submul_1.S: Likewise.
49688 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49690 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49691 Define __sched_param instead of SCHED_* and sched_param when
49692 <bits/sched.h> is included with __need_schedparam defined.
49693 * bits/sched.h [__need_schedparam]
49694 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49695 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49696 (__defined_schedparam): Define to 1.
49697 (__sched_param): New structure, identical to sched_param.
49698 (__need_schedparam): Undefine.
49700 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49703 (epoll_create1): Declare.
49705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49707 2010-08-31 Andreas Schwab <schwab@redhat.com>
49710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49711 shifting retval into place.
49713 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49715 * nis/rpcsvc/nis.h: Update copyright notice.
49716 * nis/rpcsvc/nis.x: Likewise.
49717 * nis/rpcsvc/nis_callback.h: Likewise.
49718 * nis/rpcsvc/nis_callback.x: Likewise.
49719 * nis/rpcsvc/nis_object.x: Likewise.
49720 * nis/rpcsvc/nis_tags.h: Likewise.
49721 * nis/rpcsvc/yp.h: Likewise.
49722 * nis/rpcsvc/yp.x: Likewise.
49723 * nis/rpcsvc/ypupd.h: Likewise.
49724 * nis/yp_xdr.c: Likewise.
49725 * nis/ypupdate_xdr.c: Likewise.
49727 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49728 mainly the body of pmap_getport. Add parameters to specify timeouts.
49729 (pmap_getport): Use __libc_rpc_getport.
49730 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49731 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49732 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49734 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49739 2010-08-27 Roland McGrath <roland@redhat.com>
49741 * sysdeps/i386/i686/multiarch/Makefile
49742 (CFLAGS-varshift.c): New variable.
49744 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49746 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49747 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49749 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49751 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49753 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49755 * sysdeps/x86_64/strlen.S: Unroll the loop.
49756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49757 strlen-sse2 strlen-sse2-bsf.
49758 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49759 __strlen_no_bsf if bit_Slow_BSF is set.
49760 (__strlen_sse42): Removed.
49761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49762 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49764 2010-08-25 Roland McGrath <roland@redhat.com>
49766 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49767 * sysdeps/x86_64/multiarch/varshift.c: New file.
49768 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49769 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49770 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49771 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49773 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49776 strlen-sse2 strlen-sse2-bsf.
49777 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49778 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49779 (__strlen_sse2): Removed.
49780 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49781 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49783 bit_Slow_BSF for Atom.
49784 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49785 (index_Slow_BSF): Define.
49786 (HAS_SLOW_BSF): Define.
49788 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49791 * resolv/res_init.c (__res_vinit): When no server address at all
49792 is given default to loopback.
49794 2010-08-24 Roland McGrath <roland@redhat.com>
49796 * configure.in: Remove config-name.h generation.
49797 * configure: Regenerated.
49798 * config-name.in: File removed.
49799 * scripts/config-uname.sh: New file.
49800 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49801 ($(objdir)config-name.h): New target.
49803 * sunrpc/rpc_parse.h: Avoid nested comment.
49805 2010-08-24 Richard Henderson <rth@redhat.com>
49806 Ulrich Drepper <drepper@redhat.com>
49807 H.J. Lu <hongjiu.lu@intel.com>
49809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49811 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49812 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49813 _mm_alignr_epi8 with _mm_loadu_si128.
49814 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49815 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49816 (__m128i_shift_right): Removed.
49817 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49818 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49819 * sysdeps/x86_64/multiarch/varshift.h: New file.
49820 * sysdeps/x86_64/multiarch/varshift.S: New file.
49822 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49824 * configure.in: Move assembler checks to before sysdep dir checking.
49826 2010-08-20 Petr Baudis <pasky@suse.cz>
49828 * LICENSES: Sync the sunrpc license.
49830 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49832 * sunrpc/auth_des.c: Update copyright notice once again.
49833 * sunrpc/auth_none.c: Likewise.
49834 * sunrpc/auth_unix.c: Likewise.
49835 * sunrpc/authdes_prot.c: Likewise.
49836 * sunrpc/authuxprot.c: Likewise.
49837 * sunrpc/bindrsvprt.c: Likewise.
49838 * sunrpc/clnt_gen.c: Likewise.
49839 * sunrpc/clnt_perr.c: Likewise.
49840 * sunrpc/clnt_raw.c: Likewise.
49841 * sunrpc/clnt_simp.c: Likewise.
49842 * sunrpc/clnt_tcp.c: Likewise.
49843 * sunrpc/clnt_udp.c: Likewise.
49844 * sunrpc/clnt_unix.c: Likewise.
49845 * sunrpc/des_crypt.c: Likewise.
49846 * sunrpc/des_soft.c: Likewise.
49847 * sunrpc/get_myaddr.c: Likewise.
49848 * sunrpc/getrpcport.c: Likewise.
49849 * sunrpc/key_call.c: Likewise.
49850 * sunrpc/key_prot.c: Likewise.
49851 * sunrpc/openchild.c: Likewise.
49852 * sunrpc/pm_getmaps.c: Likewise.
49853 * sunrpc/pm_getport.c: Likewise.
49854 * sunrpc/pmap_clnt.c: Likewise.
49855 * sunrpc/pmap_prot.c: Likewise.
49856 * sunrpc/pmap_prot2.c: Likewise.
49857 * sunrpc/pmap_rmt.c: Likewise.
49858 * sunrpc/rpc/auth.h: Likewise.
49859 * sunrpc/rpc/auth_unix.h: Likewise.
49860 * sunrpc/rpc/clnt.h: Likewise.
49861 * sunrpc/rpc/des_crypt.h: Likewise.
49862 * sunrpc/rpc/key_prot.h: Likewise.
49863 * sunrpc/rpc/netdb.h: Likewise.
49864 * sunrpc/rpc/pmap_clnt.h: Likewise.
49865 * sunrpc/rpc/pmap_prot.h: Likewise.
49866 * sunrpc/rpc/pmap_rmt.h: Likewise.
49867 * sunrpc/rpc/rpc.h: Likewise.
49868 * sunrpc/rpc/rpc_des.h: Likewise.
49869 * sunrpc/rpc/rpc_msg.h: Likewise.
49870 * sunrpc/rpc/svc.h: Likewise.
49871 * sunrpc/rpc/svc_auth.h: Likewise.
49872 * sunrpc/rpc/types.h: Likewise.
49873 * sunrpc/rpc/xdr.h: Likewise.
49874 * sunrpc/rpc_clntout.c: Likewise.
49875 * sunrpc/rpc_cmsg.c: Likewise.
49876 * sunrpc/rpc_common.c: Likewise.
49877 * sunrpc/rpc_cout.c: Likewise.
49878 * sunrpc/rpc_dtable.c: Likewise.
49879 * sunrpc/rpc_hout.c: Likewise.
49880 * sunrpc/rpc_main.c: Likewise.
49881 * sunrpc/rpc_parse.c: Likewise.
49882 * sunrpc/rpc_parse.h: Likewise.
49883 * sunrpc/rpc_prot.c: Likewise.
49884 * sunrpc/rpc_sample.c: Likewise.
49885 * sunrpc/rpc_scan.c: Likewise.
49886 * sunrpc/rpc_scan.h: Likewise.
49887 * sunrpc/rpc_svcout.c: Likewise.
49888 * sunrpc/rpc_tblout.c: Likewise.
49889 * sunrpc/rpc_util.c: Likewise.
49890 * sunrpc/rpc_util.h: Likewise.
49891 * sunrpc/rpcinfo.c: Likewise.
49892 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49893 * sunrpc/rpcsvc/key_prot.x: Likewise.
49894 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49895 * sunrpc/rpcsvc/mount.x: Likewise.
49896 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49897 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49898 * sunrpc/rpcsvc/rex.x: Likewise.
49899 * sunrpc/rpcsvc/rstat.x: Likewise.
49900 * sunrpc/rpcsvc/rusers.x: Likewise.
49901 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49902 * sunrpc/rpcsvc/spray.x: Likewise.
49903 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49904 * sunrpc/rtime.c: Likewise.
49905 * sunrpc/svc.c: Likewise.
49906 * sunrpc/svc_auth.c: Likewise.
49907 * sunrpc/svc_authux.c: Likewise.
49908 * sunrpc/svc_raw.c: Likewise.
49909 * sunrpc/svc_run.c: Likewise.
49910 * sunrpc/svc_simple.c: Likewise.
49911 * sunrpc/svc_tcp.c: Likewise.
49912 * sunrpc/svc_udp.c: Likewise.
49913 * sunrpc/svc_unix.c: Likewise.
49914 * sunrpc/svcauth_des.c: Likewise.
49915 * sunrpc/xcrypt.c: Likewise.
49916 * sunrpc/xdr.c: Likewise.
49917 * sunrpc/xdr_array.c: Likewise.
49918 * sunrpc/xdr_float.c: Likewise.
49919 * sunrpc/xdr_mem.c: Likewise.
49920 * sunrpc/xdr_rec.c: Likewise.
49921 * sunrpc/xdr_ref.c: Likewise.
49922 * sunrpc/xdr_sizeof.c: Likewise.
49923 * sunrpc/xdr_stdio.c: Likewise.
49925 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49928 2010-08-19 Andreas Schwab <schwab@redhat.com>
49930 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49932 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49934 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49935 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49936 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49937 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49938 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49939 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49940 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49941 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49942 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49943 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49944 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49945 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49946 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49947 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49949 2010-07-26 Anton Blanchard <anton@samba.org>
49951 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49952 * malloc/arena.c (heap_trim): Likewise.
49954 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49956 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49959 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49961 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49963 * sysdeps/i386/elf/Makefile: New file.
49965 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49967 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49968 from fanotify_init.
49969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49972 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49974 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49976 * sysdeps/multiarch/strcmp.S: Likewise.
49978 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49980 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49981 strncase_l-nonascii.
49982 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49983 Add strncase_l-ssse3.
49984 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49985 * sysdeps/x86_64/strcmp.S: Likewise.
49986 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49987 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49988 * sysdeps/x86_64/strncase.S: New file.
49989 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49990 * sysdeps/x86_64/strncase_l.S: New file.
49991 * string/Makefile (strop-tests): Add strncasecmp.
49992 * string/test-strncasecmp.c: New file.
49994 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49997 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49998 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50000 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50002 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50004 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50006 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50007 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50008 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50010 2010-05-01 Alan Modra <amodra@gmail.com>
50012 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50013 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50014 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50015 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50016 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50017 tidying. Don't tail-call __sigjmp_save for static lib.
50018 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50020 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50021 (CALL_MCOUNT): Add eh info, and nop after bl.
50022 (TAIL_CALL_SYSCALL_ERROR): New macro.
50023 (PSEUDO_RET): Use it.
50024 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50025 Correct save location of integer regs and cr.
50026 (_dl_profile_resolve): Correct cr save location. Delete nops
50027 after bl when SHARED. Reduce cfi size a little by better
50028 placement of cfi directives.
50029 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50030 make a stack frame. Instead use parm save area as a temp.
50031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50032 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50034 Don't make a stack frame for parent, use parm save area.
50035 Increase child stack frame to 112 bytes. Don't save unused reg,
50036 and adjust reg usage. Set up cfi on error recovery and
50037 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50039 (__makecontext): Add dummy nop after jump to exit.
50040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50041 Use correct parm save area and cr save, reduce stack frame.
50042 Correct cfi for possible PSEUDO_RET frame setup.
50043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50044 Branch to local label emitted by PSEUDO_RET rather than
50047 2010-08-12 Andreas Schwab <schwab@redhat.com>
50050 * locale/programs/locale.c (print_assignment): New function.
50051 (show_locale_vars): Use it.
50053 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50055 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50057 (struct statfs64): Likewise.
50058 (_STATFS_F_FLAGS): Define.
50059 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50060 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50061 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50062 (ST_VALID): Define locally.
50063 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50064 __statvfs_getflags, use the provided value.
50065 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50066 __ASSUME_STATFS_F_FLAGS.
50068 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50070 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50071 Add sys/fanotify.h.
50072 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50073 fanotify_mask for GLIBC_2.13.
50074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50075 fanotify_init and fanotify_mark.
50076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50077 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50079 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50081 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50082 prlimit64 for GLIBC_2.13.
50083 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50085 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50088 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50089 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50090 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50093 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50096 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50097 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50099 * nss/Makefile: Add rules to build and run tst-nss-test1.
50100 * shlib-versions: Add entry for libnss_test1.
50101 * nss/nss_test1.c: New file.
50102 * nss/tst-nss-test1.c: New file.
50104 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50105 (__nss_configure_lookup): Set appropriate entry in
50106 __nss_configure_lookup to true.
50107 * nss/nsswitch.h: Define enum with indeces of databases in
50108 databases and __nss_database_custom arrays. Declare
50109 __nss_database_custom.
50110 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50111 to avoid using nscd when custom rules are installed.
50112 * nss/getXXbyYY_r.c: Likewise.
50113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50115 * nss/nss_files/files-parse.c: Whitespace fixes.
50117 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50120 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50121 * posix/fnmatch_loop.c: Likewise.
50123 2010-07-17 Andi Kleen <ak@linux.intel.com>
50125 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50126 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50127 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50128 * Versions.def [GLIBC_2.13]: Add.
50130 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50132 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50133 Also fail if tpwd after pwuid call is NULL.
50135 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50137 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50138 when converting to ms.
50140 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50142 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50143 EOPNOTSUPP errors with ENOTTY.
50144 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50145 EOPNOTSUPP errors with ENOTTY.
50147 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50149 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50150 Add strcasecmp_l-ssse3.
50151 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50153 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50154 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50155 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50157 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50159 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50161 * string/Makefile (strop-tests): Add strcasecmp.
50162 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50163 strcasecmp_l-nonascii.
50164 (gen-as-const-headers): Add locale-defines.sym.
50165 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50166 * sysdeps/x86_64/strcasecmp.S: New file.
50167 * sysdeps/x86_64/strcasecmp_l.S: New file.
50168 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50169 * sysdeps/x86_64/locale-defines.sym: New file.
50170 * string/test-strcasecmp.c: New file.
50172 * string/test-strcasestr.c: Test both ends of the range of characters.
50173 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50175 2010-07-29 Roland McGrath <roland@redhat.com>
50178 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50180 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50182 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50185 2010-07-27 Andreas Schwab <schwab@redhat.com>
50187 * manual/memory.texi (Malloc Tunable Parameters): Document
50190 2010-07-26 Roland McGrath <roland@redhat.com>
50193 * configure.in (-fgnu89-inline check): Set and substitute
50194 gnu89_inline, not libc_cv_gnu89_inline.
50195 * configure: Regenerated.
50196 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50198 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50200 * string/test-strnlen.c: New file.
50201 * string/Makefile (strop-tests): Add strnlen.
50202 * string/tester.c (test_strnlen): Add a few more test cases.
50203 * string/tst-strlen.c: Better error reporting.
50205 * sysdeps/x86_64/strnlen.S: New file.
50207 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50209 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50210 lower-latency instructions.
50212 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50214 * string/test-strcasestr.c: New file.
50215 * string/test-strstr.c: New file.
50216 * string/Makefile (strop-tests): Add strstr and strcasestr.
50217 * string/str-two-way.h: Don't undefine MAX.
50218 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50220 2010-07-21 Andreas Schwab <schwab@redhat.com>
50222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50223 strcasestr-nonascii.
50224 (CFLAGS-strcasestr-nonascii.c): Define.
50225 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50227 Remove unused attribute.
50229 2010-07-20 Roland McGrath <roland@redhat.com>
50231 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50232 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50233 ld.so.cache was broken. With it, there is no way to disable dsocaps
50234 like LD_HWCAP_MASK can disable hwcaps.
50236 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50238 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50240 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50242 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50243 call in strcasestr.
50244 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50245 __strcasestr_sse42_nonascii.
50246 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50247 strcasestr-nonascii.c.
50248 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50250 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50253 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50255 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50257 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50262 2010-07-06 Andreas Schwab <schwab@redhat.com>
50265 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50268 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50270 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50271 _PC_PIPE_BUF using F_GETPIPE_SZ.
50273 2010-07-05 Roland McGrath <roland@redhat.com>
50275 * manual/arith.texi (Rounding Functions): Fix rint description
50276 implicit in round description.
50278 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50280 * elf/Makefile: Fix linking for a few tests to make recent linker
50283 2010-06-30 Andreas Schwab <schwab@redhat.com>
50285 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50286 $(common-objpfx)libc_nonshared.a.
50288 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50290 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50291 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50292 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50293 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50294 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50295 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50296 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50297 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50312 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50313 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50314 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50315 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50316 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50317 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50318 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50319 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50320 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50321 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50322 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50323 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50339 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50341 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50342 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50343 * string/memmove.c (memmove): Renamed to ...
50344 (MEMMOVE): ...this. Default to memmove.
50345 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50346 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50349 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50350 mempcpy-ssse3-back memmove-ssse3-back.
50351 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50353 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50354 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50355 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50356 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50357 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50358 * sysdeps/x86_64/multiarch/memmove.c: New file.
50359 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50360 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50361 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50362 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50363 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50366 (index_Fast_Copy_Backward): Define.
50367 (HAS_ARCH_FEATURE): Define.
50368 (HAS_FAST_REP_STRING): Define.
50369 (HAS_FAST_COPY_BACKWARD): Define.
50371 2010-06-21 Andreas Schwab <schwab@redhat.com>
50373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50374 Restore proper fallback handling.
50376 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50379 * posix/group_member.c (__group_member): Correct checking loop.
50381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50382 OOM in getpwuid_r correctly. Return error number when the caller
50383 should return, otherwise -1.
50384 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50385 call returning > 0 value.
50386 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50388 2010-06-07 Andreas Schwab <schwab@redhat.com>
50390 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50391 libc_nonshared.a from targets in modules-names.
50393 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50395 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50398 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50400 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50401 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50405 2010-06-02 Andreas Schwab <schwab@redhat.com>
50407 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50409 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50417 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50420 2010-06-14 Roland McGrath <roland@redhat.com>
50422 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50424 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50426 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50427 __REDIRECT followed by __THROW.
50428 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50429 * posix/getopt.h (getopt): Likewise.
50431 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50433 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50434 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50435 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50437 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50438 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50440 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50442 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50444 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50448 Properly check family and model.
50450 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50452 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50454 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50456 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50458 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50460 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50463 2010-05-19 Andreas Schwab <schwab@redhat.com>
50465 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50468 2010-05-21 Andreas Schwab <schwab@redhat.com>
50470 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50471 and internal_recvmmsg.
50472 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50473 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50474 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50475 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50477 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50478 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50479 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50481 2010-05-20 Andreas Schwab <schwab@redhat.com>
50483 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50485 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50487 POWER7 optimizations.
50488 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50489 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50491 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50493 * version.h: Update for 2.13 development version.
50495 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50497 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50498 exceptions. Return 0.
50500 2010-05-07 Roland McGrath <roland@redhat.com>
50502 * elf/ldconfig.c (main): Add a const.
50504 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50506 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50507 (args_options): Add no-idn option.
50508 (ahosts_keys_int): Add idn_flags to ai_flags.
50509 (parse_option): Handle 'i' option to clear idn_flags.
50511 * malloc/malloc.c (_int_free): Possible race in the most recently
50512 added check. Only act on the data if no current modification
50515 See ChangeLog.17 for earlier changes.