1 2014-10-02 Chris Metcalf <cmetcalf@tilera.com>
3 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7 Use INLINE_VSYSCALL macro.
8 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10 * sysdeps/unix/sysv/linux/tile/init-first.c
11 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16 to set up frame more cleanly.
18 * sysdeps/tile/memcmp.c: New file.
20 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23 * sysdeps/tile/tilegx/strcasestr.c: New file.
24 * sysdeps/tile/tilegx/strnlen.c: New file.
25 * sysdeps/tile/tilegx/strstr.c: New file.
27 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
31 * nptl/tst-setuid3.c: Write errors to stdout.
33 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36 (preload): New functions broken out of _dl_map_object_deps.
37 (_dl_map_object_deps): Remove a nested function. Update call sites.
39 2014-10-01 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/unix/sysv/linux/execve.c: Remove file.
43 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45 2014-10-01 Steve Ellcey <sellcey@mips.com>
47 * sysdeps/mips/strcmp.S: New.
49 2014-09-30 Joseph Myers <joseph@codesourcery.com>
52 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
55 (readlinkat): Likewise.
57 (symlinkat): Likewise.
59 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
60 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
61 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
62 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
63 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
64 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
65 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
67 2014-09-30 Will Newton <will.newton@linaro.org>
69 * math/math.h: Define long double math functions if
70 _LIBC_TEST is defined.
71 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
73 * localedata/Makefile: Move assignment to tests-special
74 into an ifdef testing run-built-tests.
75 * timezone/Makefile: Likewise.
77 2014-09-29 Joseph Myers <joseph@codesourcery.com>
79 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
80 with $(BASH) not $(SHELL).
82 2014-09-29 Carlos O'Donell <carlos@redhat.com>
83 Matthew LeGendre <legendre1@llnl.gov>
86 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
89 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
91 * stdio-common/printf_fp.c
92 (hack_digit): New function, broken out of ...
93 (__printf_fp): ... local function here. Update call sites.
94 hack_digit now takes an additional parameter that is a pointer
95 to a struct of the referenced locals. Those locals moved inside
96 the struct and references updated.
98 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
100 * aclocal.m4: Require autoconf 2.69.
101 * configure: Regenerated.
102 * sysdeps/aarch64/configure: Likewise.
103 * sysdeps/alpha/configure: Likewise.
104 * sysdeps/arm/armv7/configure: Likewise.
105 * sysdeps/arm/configure: Likewise.
106 * sysdeps/ia64/configure: Likewise.
107 * sysdeps/mach/configure: Likewise.
108 * sysdeps/mips/configure: Likewise.
109 * sysdeps/s390/configure: Likewise.
110 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
113 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
115 * sysdeps/ia64/configure.ac: Likewise.
117 2014-09-26 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
120 specify symbol version for ld.so. Do not include entry for
122 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
123 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
124 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
127 * Makeconfig [$(build-shared) = yes]
128 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
130 [$(build-shared) = yes && $(soversions.mk-done) = t]
131 ($(common-objpfx)gnu/lib-names.h): Remove rule.
132 [$(build-shared) = yes && $(soversions.mk-done) = t]
133 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
135 [$(build-shared) = yes && $(soversions.mk-done) = t]
136 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
138 [$(build-shared) = yes && $(soversions.mk-done) = t]
139 (common-generated): Don't append gnu/lib-names.h and
140 gnu/lib-names.stmp here.
141 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
142 (lib-names-h-abi): New variable.
143 [$(build-shared) = yes && $(soversions.mk-done) = t]
144 (lib-names-stmp-abi): Likewise.
145 [$(build-shared) = yes && $(soversions.mk-done) = t &&
146 abi-variants] (before-compile): Append
147 $(common-objpfx)$(lib-names-h-abi).
148 [$(build-shared) = yes && $(soversions.mk-done) = t &&
149 abi-variants] (common-generated): Append gnu/lib-names.h.
150 [$(build-shared) = yes && $(soversions.mk-done) = t &&
151 abi-variants] (install-others-nosubdir): Depend on
152 $(inst_includedir)/$(lib-names-h-abi).
153 [$(build-shared) = yes && $(soversions.mk-done) = t &&
154 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
155 [$(build-shared) = yes && $(soversions.mk-done) = t]
156 ($(common-objpfx)$(lib-names-h-abi)): New rule.
157 [$(build-shared) = yes && $(soversions.mk-done) = t]
158 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
159 [$(build-shared) = yes && $(soversions.mk-done) = t]
160 (common-generated): Append $(lib-names-h-abi) and
161 $(lib-names-stmp-abi).
162 * scripts/lib-names.awk: Do not handle multi being set.
163 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
165 (abi-lp64_be-ld-soname): Likewise.
166 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
168 (abi-hard-ld-soname): Likewise.
169 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
170 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
172 (abi-o32_hard-ld-soname): Likewise.
173 (abi-o32_soft_2008-ld-soname): Likewise.
174 (abi-o32_hard_2008-ld-soname): Likewise.
175 (abi-n32_soft-ld-soname): Likewise.
176 (abi-n32_hard-ld-soname): Likewise.
177 (abi-n32_soft_2008-ld-soname): Likewise.
178 (abi-n32_hard_2008-ld-soname): Likewise.
179 (abi-n64_soft-ld-soname): Likewise.
180 (abi-n64_hard-ld-soname): Likewise.
181 (abi-n64_soft_2008-ld-soname): Likewise.
182 (abi-n64_hard_2008-ld-soname): Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
185 (abi-64-v2-ld-soname): Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
188 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
190 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
192 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
194 (abi-64-ld-soname): Likewise.
195 (abi-x32-ld-soname): Likewise.
196 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
198 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
200 2014-09-23 Joseph Myers <joseph@codesourcery.com>
203 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
204 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
205 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
207 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
208 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
209 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
210 syscall entry for GLIBC_2.2 symbol version.
211 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
214 (setrlimit): Likewise.
215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
218 2014-09-23 Will Newton <will.newton@linaro.org>
220 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
221 _LINUX_ARM_SYSDEP_H include guard too.
222 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
225 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
227 * sysdeps/unix/sysv/linux/eventfd.c:
228 Make first argument unsigned.
229 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
230 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
232 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
234 * socket/recvmmsg.c (recvmmsg): Drop const argument.
235 * socket/sys/socket.h: Likewise
236 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
238 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
240 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
242 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
244 * time/tst-ftime.c: New test.
245 * time/Makefile (tests): Add tst-ftime.
247 2014-09-17 Joseph Myers <joseph@codesourcery.com>
249 * soft-fp/extended.h: Fix comment formatting.
250 * soft-fp/op-1.h: Likewise.
251 * soft-fp/op-2.h: Likewise.
252 * soft-fp/op-4.h: Likewise.
253 * soft-fp/op-8.h: Likewise.
254 * soft-fp/op-common.h: Likewise.
255 * soft-fp/soft-fp.h: Likewise.
257 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
259 2014-09-16 Joseph Myers <joseph@codesourcery.com>
262 * Makeconfig (soversions-default-setname): Remove variable.
263 ($(common-objpfx)soversions.i): Don't pass default_setname to
265 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
266 oldest_abi to abi-versions.awk.
267 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
268 * config.make.in (oldest-abi): Remove variable.
269 * configure.ac (--enable-oldest-abi): Remove configure option.
270 * configure: Regenerated.
271 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
273 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
274 * scripts/soversions.awk: Do not handle default_setname variable.
275 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
277 * sysdeps/mach/hurd/configure: Regenerated.
278 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
280 * sysdeps/unix/sysv/linux/configure: Regenerated.
282 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
284 * elf/Makefile (CFLAGS-interp.c): Remove.
285 ($(elf-objpfx)runtime-linker.h): Generate header with linker
287 * elf/interp.c: Include generated runtime-linker.h
289 * Makerules (lib%.so): Don't include $(+interp) in
291 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
292 * dlfcn/eval.c: Remove file.
294 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
298 * misc/sys/cdefs.h: Define __extern_always_inline for clang
302 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
304 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
305 Jakub Jelinek <jakub@redhat.com>
308 * libio/stdio.h: Check definition of __fortify_function
309 instead of __extern_always_inline to include bits/stdio2.h.
310 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
311 check if __extern_always_inline is defined.
312 [__USE_MISC || __USE_XOPEN]: Likewise.
313 [__USE_ISOC99] Likewise.
314 * misc/sys/cdefs.h (__fortify_function): Define only if
315 __extern_always_inline is defined.
316 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
317 __extern_always_inline and __extern_inline only for g++-4.3
318 and newer or a compatible gcc.
320 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
323 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
324 last change to handle zero prefix length.
326 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
328 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
331 * posix/getconf.c (vars): Add _POSIX_IPV6 and
334 2014-09-13 Allan McRae <allan@archlinux.org>
336 * po/ru.po: Update Russian translation from translation project.
338 2014-09-12 Roland McGrath <roland@hack.frob.com>
340 * locale/programs/locale.c (show_locale_vars): Inline local function
341 into its sole call site. Clean up some style nits.
342 (print_item): New function, broken out of ...
343 (show_info): ... local function here. Clean up style nits.
345 * locale/programs/ld-ctype.c (set_one_default): New function, broken
347 (set_class_defaults): ... local function set_default here.
348 Define set_default as a macro locally to pass constant parameters.
349 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
350 rather than a shared local.
352 * stdlib/rpmatch.c (try): New function, broken out of ...
353 (rpmatch): ... local function here. Also, prototypify definition.
355 2014-09-12 Joseph Myers <joseph@codesourcery.com>
357 * scripts/soversions.awk: Do not handle configuration names.
358 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
359 vendor and os variables to soversions.awk.
360 * configure.ac: Do not modify gnu-* host_os.
361 * configure: Regenerated
362 * shlib-versions: Remove first column with configuration names.
363 * nptl/shlib-versions: Likewise.
364 * nptl_db/shlib-versions: Likewise.
365 * sysdeps/hppa/shlib-versions: Likewise.
366 * sysdeps/m68k/shlib-versions: Likewise.
367 * sysdeps/mach/hurd/shlib-versions: Likewise.
368 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
369 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
370 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
371 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
372 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
373 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
374 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
375 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
378 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
379 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
380 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
381 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
382 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
383 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
388 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
391 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
393 Condition symbol version definitions on [HAVE_ELFV2_ABI].
395 * shlib-versions: Remove OS-specific entries. Moved to files in
397 * sysdeps/mach/hurd/shlib-versions: New file.
398 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
400 * nptl/shlib-versions: Remove architecture-specific entries.
401 Moved to files in sysdeps.
402 * shlib-versions: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
405 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
406 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
407 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
410 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
411 (UDP_NO_CHECK6_RX): Likewise.
413 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
415 * sysdeps/posix/sysconf.c (__sysconf): Spell
416 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
418 2014-08-12 Florian Weimer <fweimer@redhat.com>
420 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
422 * iconv/Versions (__gconv_transliterate): Export for use from
424 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
425 (struct __gconv_trans_data, __gconv_trans_fct,
426 __gconv_trans_context_fct, __gconv_trans_query_fct,
427 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
429 (struct __gconv_step_data): Remove __trans member.
430 (__gconv_transliterate): Declaration moved from gconv_int.h. No
431 longer hidden. Remove unused trans_data argument.
432 * iconv/gconv_int.h (struct trans_struct): Remove definition.
433 (__gconv_translit_find): Remove declaration.
434 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
436 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
437 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
438 trans_data argument. Add hidden definition.
439 (__gconv_translit_find): Remove.
440 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
441 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
442 * iconv/skeleton.c: Remove transliteration initialization.
443 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
444 __gconv_step_data initialization.
445 * libio/iofwide.c (__libio_translit_): Remove.
446 (_IO_fwide): Adjust struct __gconv_step_data initialization.
447 * wcsmbs/btowc.c (__btowc): Likewise.
448 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
449 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
450 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
451 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
452 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
453 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
454 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
455 * wcsmbs/wctob.c (wctob): Likewise.
457 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
460 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
461 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
463 * sysdeps/x86/Makefile: Adjust.
465 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
466 Roland McGrath <roland@hack.frob.com>
468 * locale/weight.h: Add include guard.
469 (findidx): Make static rather than auto; take new parameters
470 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
471 * locale/weightwc.h: Likewise.
472 * posix/fnmatch_loop.c
473 (FCT): Change type of EXTRA from int32_t to wint_t.
474 Don't include either header inside the function.
475 Call FINDIDX rather than findidx, and pass new arguments.
476 #undef FINDIDX at the end of the file.
477 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
478 FINDIDX before including fnmatch_loop.c for the non-wide version.
479 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
480 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
481 for the wide version.
482 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
483 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
484 Pass new arguments to findidx.
485 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
486 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
487 Don't #include it inside the function. Pass new arguments to findidx.
488 * posix/regex_internal.h
489 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
490 (re_string_elem_size_at): Don't #include it inside the function.
491 Pass new arguments to findidx.
492 * string/strcoll_l.c: #include WEIGHT_H at top level.
493 (get_next_seq): Don't #include it inside the function.
494 Pass new arguments to findidx.
495 (get_next_seq_nocache): Likewise.
496 * string/strxfrm_l.c: #include WEIGHT_H at top level.
497 (STRXFRM): Don't #include it inside the function.
498 Pass new arguments to findidx.
500 2014-09-11 Florian Weimer <fweimer@redhat.com>
503 * malloc/malloc.c (unlink): Turn asserts into a call to
506 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
509 * libio/wfileops (do_ftell_wide): Free OUT.
511 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
513 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
515 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
518 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
519 group if the current group is empty.
521 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523 * benchtests/bench-memset.c (test_main): Add more test from size
524 from 32 to 512 bytes.
525 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
526 Add POWER8 memset object.
527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
528 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
529 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
531 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
533 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
534 multiarch POWER8 memset optimization.
535 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
536 POWER8 memset optimization.
538 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
539 Remove bzero multiarch objects.
540 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
541 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
542 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
543 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
545 [__bzero]: Redefine to specific name.
546 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
547 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
548 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
550 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
551 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
553 2014-09-10 Florian Weimer <fweimer@redhat.com>
555 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
556 warnings into errors.
558 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
559 __cxa_thread_atexit_impl prototype.
561 2014-09-09 Steve Ellcey <sellcey@mips.com>
563 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
564 Fix capitalization of error message.
566 2014-09-09 Steve Ellcey <sellcey@mips.com>
568 * sysdeps/mips/preconfigure: Modify ABI tests.
570 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
572 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
574 2014-09-07 Roland McGrath <roland@hack.frob.com>
575 Carlos O'Donell <carlos@systemhalted.org>
577 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
578 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
579 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
580 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
581 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
582 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
583 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
584 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
585 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
586 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
587 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
588 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
589 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
590 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
591 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
592 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
593 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
594 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
595 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
596 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
597 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
598 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
599 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
600 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
601 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
602 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
603 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
604 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
605 Deconditionalize the code that was previously under [RESET_PID].
606 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
607 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
608 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
609 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
612 2014-09-08 Allan McRae <allan@archlinux.org>
614 * version.h (RELEASE): Set to "development".
615 (VERSION): Set to "2.20.90"
617 2014-09-07 Allan McRae <allan@archlinux.org
619 * version.h (RELEASE): Set to "stable".
620 (VERSION): Set to "2.20"
621 * include/features.h (__GLIBC_MINOR__): Set to 20.
623 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
626 * po/ko.po: Update Korean translation from translation project.
628 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
631 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
632 macro for handling signed relocations.
634 2014-09-03 Florian Weimer <fweimer@redhat.com>
637 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
638 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
640 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
641 * iconvdata/ibm935.c (BODY): Likewise.
642 * iconvdata/ibm937.c (BODY): Likewise.
643 * iconvdata/ibm939.c (BODY): Likewise.
644 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
646 * iconvdata/Makefile (iconv-test.out): Pass module list to test
648 * iconvdata/run-iconv-test.sh: New test loop for checking for
651 2014-09-02 Khem Raj <raj.khem@gmail.com>
653 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
656 2014-09-01 Allan McRae <allan@archlinux.org>
658 * po/eo.po: Update Esperanto translation from translation project.
660 * po/ca.po: Update Catalan translation from translation project.
662 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
664 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
667 2014-08-27 Mark Wielaard <mjw@redhat.com>
670 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
671 to call set_thread_area instead of hand written asm.
672 (__NR_set_thread_area): Removed define.
673 (TLS_FLAG_WRITABLE): Likewise.
674 (__ASSUME_SET_THREAD_AREA): Remove check.
675 (TLS_EBX_ARG): Remove define.
676 (TLS_LOAD_EBX): Likewise.
678 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
680 Simplify atomicity of socket creation in bind.
682 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
683 looking up the name after linking the file.
685 2014-08-27 Allan McRae <allan@archlinux.org>
687 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
689 2014-08-26 Florian Weimer <fweimer@redhat.com>
692 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
693 trans_compare, open_translit, __gconv_translit_find):
694 Remove module loading code.
696 2014-08-26 Allan McRae <allan@archlinux.org>
698 * po/vi.po: Update Vietnamese translation from translation project.
700 * po/uk.po: Update Ukrainian translation from translation project.
702 * po/fr.po: Update French translation from translation project.
704 * po/ru.po: Update Russian translation from translation project.
706 * po/pl.po: Update Polish translation from translation project.
708 * po/cs.po: Update Czech translation from translation project.
710 * po/de.po: Update German translation from translation project.
712 * po/bg.po: Update Bulgarian translation from translation project.
714 * po/sv.po: Update Sweedish translation from translation project.
716 * po/nl.po: Update Dutch translation from translation project.
718 * po/es.po: Update Spanish translation from translation project.
720 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
722 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
724 * catgets/Makefile (CPPFLAGS-gencat): Remove.
725 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
726 (CPPFLAGS-iconvconfig): Likewise.
727 * timezone/Makefile (CPPFLAGS-zic): Likewise.
729 * include/libc-symbols.h: Remove unnecessary check for
731 * nptl/pthreadP.h: Likewise.
732 * sysdeps/aarch64/setjmp.S: Likewise.
733 * sysdeps/alpha/setjmp.S: Likewise.
734 * sysdeps/arm/sysdep.h: Likewise.
735 * sysdeps/i386/setjmp.S: Likewise.
736 * sysdeps/m68k/setjmp.c: Likewise.
737 * sysdeps/posix/getcwd.c: Likewise.
738 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
739 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
740 * sysdeps/s390/s390-32/setjmp.S: Likewise.
741 * sysdeps/s390/s390-64/setjmp.S: Likewise.
742 * sysdeps/sh/sh3/setjmp.S: Likewise.
743 * sysdeps/sh/sh4/setjmp.S: Likewise.
744 * sysdeps/unix/alpha/sysdep.h: Likewise.
745 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
747 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
748 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
753 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
756 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
758 * sysdeps/x86_64/setjmp.S: Likewise.
760 2014-08-13 Joseph Myers <joseph@codesourcery.com>
763 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
765 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
766 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
768 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
770 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
773 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
774 and __x86_64__ when disabling x87 inline functions.
776 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
779 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
780 asm statement with __cpuid_count.
782 2014-08-12 Mike Frysinger <vapier@gentoo.org>
784 * configure.ac: Change __ehdr_start code to dereference the struct.
785 Run readelf on the output to look for relocations.
786 * configure: Regenerated.
788 2014-08-12 Joseph Myers <joseph@codesourcery.com>
791 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
793 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
795 2014-08-12 Roland McGrath <roland@hack.frob.com>
797 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
799 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
802 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
803 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
805 2014-08-12 Sean Anderson <seanga2@gmail.com>
807 * malloc/malloc.c: Fix typo in comment.
809 2014-08-09 Allan McRae <allan@archlinux.org>
811 * Regenerate libc.po.
813 2014-08-08 Mike Frysinger <vapier@gentoo.org>
815 * intl/tst-gettext2.sh: Check every lang file for creation.
817 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
819 * sysdeps/aarch64/fpu/math_private.h
820 (libc_feholdsetround_noex_aarch64_ctx): New function.
822 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
824 * sysdeps/arm/armv6/strcpy.S (strcpy):
825 Fix performance issue in misaligned cases.
827 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
830 Move definition from termios.h.
831 (struct termio): Likewise.
832 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
833 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
834 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
835 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
838 Move definition to ioctl-types.h
839 (struct termio): Likewise.
840 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
841 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
842 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
843 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
846 2014-08-05 Richard Henderson <rth@redhat.com>
848 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
850 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
852 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
854 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
855 Protect libm symbols with IS_IN_libm.
857 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
859 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
861 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
863 2014-08-04 Will Newton <will.newton@linaro.org>
865 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
868 2014-08-04 Mike Frysinger <vapier@gentoo.org>
870 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
871 variants for each function.
873 2014-08-04 Roland McGrath <roland@hack.frob.com>
875 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
877 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
878 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
880 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
881 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
882 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
883 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
884 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
885 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
886 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
887 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
888 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
889 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
890 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
891 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
892 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
893 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
894 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
895 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
897 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
899 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
901 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
902 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
903 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
904 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
905 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
907 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
908 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
909 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
910 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
911 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
912 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
913 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
915 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
916 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
917 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
918 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
919 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
920 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
921 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
922 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
923 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
924 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
926 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
927 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
928 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
929 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
930 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
931 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
932 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
934 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
935 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
937 2014-08-04 Roland McGrath <roland@hack.frob.com>
939 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
940 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
941 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
942 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
943 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
944 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
946 2014-08-04 Roland McGrath <roland@hack.frob.com>
948 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
949 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
950 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
951 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
953 2014-08-04 Roland McGrath <roland@hack.frob.com>
955 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
956 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
957 (__libc_vfork): Define function under this name.
958 (__vfork): Define as an alias.
959 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
960 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
962 2014-08-04 Roland McGrath <roland@hack.frob.com>
964 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
965 that was previously under [RESET_PID].
966 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
968 2014-08-04 Andreas Schwab <schwab@suse.de>
970 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
972 2014-08-03 Mike Frysinger <vapier@gentoo.org>
974 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
977 2014-08-01 Roland McGrath <roland@hack.frob.com>
979 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
981 2014-08-01 Richard Henderon <rth@redhat.com>
983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
984 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
985 typo in exact zero test.
986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
987 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
990 2014-08-01 Roland McGrath <roland@hack.frob.com>
992 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
993 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
994 * sysdeps/arm/sysdep.h: ... here.
995 [!__ASSEMBLER__]: Include <stdint.h>.
997 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
999 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1000 (HAVE_WCTYPE_H): Likewise.
1001 (HAVE_ISWCTYPE): Likewise.
1002 (ENABLE_NLS): Likewise.
1003 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1004 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1006 * posix/regex_internal.c: Check if DEBUG is defined and is
1009 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1010 (HAVE_MBSRTOWCS): Likewise.
1011 * posix/fnmatch.c: Include string.h unconditionally.
1013 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1015 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1018 2014-07-31 Roland McGrath <roland@hack.frob.com>
1020 * sysdeps/generic/safe-fatal.h: New file.
1021 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1022 * nptl/forward.c: Include it.
1023 (__pthread_unwind): Use __safe_fatal as default action, rather
1024 than a bogus use of INTERNAL_SYSCALL that could never work.
1026 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1027 * configure.ac (libc_cv_builtin_trap): New test.
1028 * configure: Regenerated.
1029 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1030 (ABORT_INSTRUCTION): Define using __builtin_trap.
1032 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1033 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1034 * sysdeps/nptl/nptl-signals.h: New file.
1035 * nptl/pthreadP.h: Include <nptl-signals.h>.
1037 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1039 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1040 (ONE_DIRECTION): Define.
1041 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1042 (ONE_DIRECTION): Define.
1043 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1044 (ONE_DIRECTION): Define.
1046 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1048 * sysdeps/s390/Makefile: Delete file.
1049 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1050 * sysdeps/s390/__longjmp.c: Delete file.
1051 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1052 Remove fields __flags and __reserved.
1053 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1055 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1056 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1057 * sysdeps/s390/rtld-setjmp.S: Likewise.
1058 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1059 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1060 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1061 * sysdeps/s390/s390-32/setjmp.S: ... here.
1063 (__sigsetjmp): Remove setting __flags field.
1064 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1065 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1066 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1067 * sysdeps/s390/s390-64/setjmp.S: ... here.
1069 (__sigsetjmp): Remove setting __flags field.
1070 * sysdeps/s390/setjmp.S: Delete file.
1071 * sysdeps/s390/sigjmp.c: Likewise.
1072 * sysdeps/s390/v1-longjmp.c: Likewise.
1073 * sysdeps/s390/v1-setjmp.h: Likewise.
1074 * sysdeps/s390/v1-sigjmp.c: Likewise.
1075 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1076 Remove v1-longjmp_chk.
1077 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1078 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1079 Include debug/longjmp_chk.c and add versioning.
1080 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1081 Include nptl/pt-longjmp.c and add versioning.
1082 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1084 Include __longjmp.c.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1087 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1088 (__getcontext): Remove setting __flags field.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1091 Don't restore upper high grps.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1094 (__swapcontext): Remove setting uc_flags field.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1097 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1098 Include __longjmp.c.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1101 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1102 (__getcontext): Remove setting __flags field.
1104 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1105 (__swapcontext): Remove setting uc_flags field.
1106 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1108 Remove fields uc_high_gprs and __reserved.
1109 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1110 New file with reverted content.
1111 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1112 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1117 2014-07-31 Andreas Schwab <schwab@suse.de>
1119 * config.h.in (HAVE_IFUNC): Define to 0.
1120 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1123 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1126 memmove-avx-unaligned, memcpy-avx-unaligned and
1127 mempcpy-avx-unaligned.
1128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1129 Add tests for AVX memcpy functions.
1130 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1131 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1133 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1134 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1136 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1137 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1139 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1140 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1141 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1143 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1149 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1152 * manual/llio.texi: Add section about open file description locks.
1153 * manual/examples/ofdlocks.c: Example of open file description
1155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1156 F_OFD_SETLK, and F_OFD_SETLKW.
1158 2014-07-23 Allan McRae <allan@archlinux.org>
1160 * po/es.po: Update Spanish translation from translation project.
1162 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1164 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1166 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1169 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1170 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1171 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1173 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1176 * math/fesetenv.c (__fesetenv)
1177 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1178 * math/feupdateenv.c (__feupdateenv)
1179 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1181 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1182 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1183 (__ASSUME_SOCKETCALL): Do not define.
1185 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1186 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1187 (__ASSUME_SOCKETCALL): Do not define.
1188 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1189 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1190 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1191 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1192 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1193 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1194 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1195 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1198 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1199 (__ASSUME_SOCKETCALL): Do not define.
1200 (__ASSUME_IPC64): Define unconditionally.
1201 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1202 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1203 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1204 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1205 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1206 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1207 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1210 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1211 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1212 (__ASSUME_SOCKETCALL): Do not define.
1213 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1214 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1215 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1216 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1217 (__ASSUME_REQUEUE_PI): Define unconditionally.
1218 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1219 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1220 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1221 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1223 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1225 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1226 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1227 (__ASSUME_SOCKETCALL): Do not define.
1228 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1229 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1230 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1231 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1232 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1233 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1235 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1236 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1237 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1238 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1239 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1240 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1241 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1242 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1243 (__ASSUME_GETCPU_SYSCALL): Likewise.
1245 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1246 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1247 cases for individual architectures.
1248 * sysdeps/gnu/configure: Regenerated.
1249 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1250 LIBC_SLIBDIR_RTLDDIR.
1251 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1252 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1253 LIBC_SLIBDIR_RTLDDIR.
1254 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1256 LIBC_SLIBDIR_RTLDDIR.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1259 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1260 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1262 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1263 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1265 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1266 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1267 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1268 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1270 * sysdeps/aarch64/shlib-versions: Move to ...
1271 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1272 * sysdeps/alpha/shlib-versions: Move to ...
1273 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1274 * sysdeps/arm/shlib-versions: Move to ...
1275 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1276 * sysdeps/hppa/shlib-versions: Move all contents except for
1277 libgcc_s entry to ...
1278 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1280 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1281 * sysdeps/ia64/shlib-versions: Move to ...
1282 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1284 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1285 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1286 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1287 * sysdeps/microblaze/shlib-versions: Move to ...
1288 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1289 * sysdeps/mips/shlib-versions: Move to ...
1290 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1292 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1293 * sysdeps/tile/shlib-versions: Move to ...
1294 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1295 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1297 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1300 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1302 2014-07-17 Will Newton <will.newton@linaro.org>
1304 * sysdeps/arm/bits/atomic.h
1305 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1306 (__arch_compare_and_exchange_bool_16_int): Likewise.
1307 (__arch_compare_and_exchange_bool_64_int): Likewise.
1309 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1310 into an #else block.
1312 2014-07-16 Roland McGrath <roland@hack.frob.com>
1314 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1315 just Linux configurations. Test empirically that the compiler sets
1316 __ARM_EABI__, rather than using the tuple to decide.
1317 * sysdeps/arm/preconfigure: Regenerated.
1318 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1319 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1320 contents appended ...
1321 * sysdeps/arm/configure.ac: ... here.
1322 * sysdeps/arm/configure: Regenerated.
1324 2014-07-15 Roland McGrath <roland@hack.frob.com>
1326 * nptl/pthread_kill.c: New file.
1327 * nptl/pthread_sigmask.c: New file.
1328 * nptl/pthread_sigqueue.c: New file.
1330 * sysdeps/nptl/lowlevellock.h: New file.
1331 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1332 * sysdeps/nptl/lowlevellock-futex.h: New file.
1334 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1335 Remove dead declarations.
1337 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1339 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1340 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1342 * sysdeps/x86_64/configure.ac: Likewise.
1343 * sysdeps/i386/configure: Regenerated.
1344 * sysdeps/x86_64/configure: Likewise.
1345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1346 memset-avx2 only if config-cflags-avx2 is yes.
1347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1348 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1350 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1351 only if HAVE_AVX2_SUPPORT is defined.
1352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1354 2014-07-14 Alan Modra <amodra@gmail.com>
1357 * elf/elf.h (DT_PPC64_NUM): Correct value.
1358 * NEWS: Add to fixed bug list.
1360 2014-07-13 Jim Meyering <meyering@fb.com>
1363 regex: don't deref NULL upon heap allocation failure
1364 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1365 failure in one more place.
1366 To trigger the segfault, configure grep -with-included-regex,
1367 build it, and run these commands:
1368 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1370 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1372 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1374 2014-07-11 Richard Henderson <rth@redhat.com>
1376 * sysdeps/aarch64/libm-test-ulps: Update.
1378 2014-07-10 Florian Weimer <fweimer@redhat.com>
1381 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1382 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1383 (__nptl_setxid): Initialize error member. Call
1384 __nptl_setxid_error.
1385 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1386 * nptl/descr.h (struct xid_command): Add error member.
1387 * nptl/tst-setuid3.c: New file.
1388 * nptl/Makefile (tests): Add it.
1390 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1394 (__lll_trylock): Use __lll_base_trylock.
1395 (__lll_cond_trylock): Likewise.
1397 2014-07-10 Roland McGrath <roland@hack.frob.com>
1399 * nptl/pthread_create.c (start_thread): Use atomic_or and
1400 lll_futex_wake directly rather than lll_robust_dead.
1401 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1402 (lll_robust_dead): Macro removed.
1403 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1404 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1405 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1406 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1407 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1408 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1409 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1410 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1411 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1413 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1414 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1416 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1419 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1420 Use atomic_compare_and_exchange_val_acq directly rather than
1422 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1423 (__lll_robust_trylock, lll_robust_trylock): Removed.
1424 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1425 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1426 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1428 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1429 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1430 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1431 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1433 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1436 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1437 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1439 2014-07-02 Florian Weimer <fweimer@redhat.com>
1441 * manual/locale.texi (Locale Names): New section documenting
1442 locale name syntax. Adjust menu and node chaining accordingly.
1443 (Choosing Locale): Reference Locale Names, Locale Categories.
1444 Mention setting LC_ALL=C. Reflect that name syntax is now
1446 (Locale Categories): New section title. Reference Locale Names.
1447 LC_ALL is an environment variable, but not a category.
1448 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1449 description, now in Locale Name. Reference that section. Locale
1450 name syntax is now documented.
1452 2014-07-02 Florian Weimer <fweimer@redhat.com>
1455 * locale/findlocale.c (name_present, valid_locale_name): New
1457 (_nl_find_locale): Use the loc_name variable to store name
1458 candidates. Call name_present and valid_locale_name to check and
1459 validate locale names. Return an error if the locale is invalid.
1461 2014-07-02 Florian Weimer <fweimer@redhat.com>
1463 * locale/setlocale.c (setlocale): Use strdup for allocating
1464 composite name copy.
1466 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1468 Sync up with gnulib.
1469 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1470 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1471 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1472 and _GL_ARG_NONNULL.
1473 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1474 [!_LIBC]: Include code for Windows and Cygwin.
1475 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1476 Include prototype for int strerror_r.
1477 [!_LIBC] (is_open): New function.
1478 (flush_stdout): New function.
1479 (print_errno_message): Use it.
1481 (error_at_line): Likewise.
1482 (error_tail) Add function attribute macros. Use
1485 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1487 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1489 * io/ftw.c: Include sys/param.h unconditionally.
1491 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1494 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1496 (freecache): New function to free CACHE on exit.
1498 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1501 2014-07-09 David S. Miller <davem@davemloft.net>
1503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1505 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1506 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1507 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1508 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1509 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1510 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1511 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1512 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1513 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1514 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1515 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1516 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1517 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1519 2014-07-09 Andreas Schwab <schwab@suse.de>
1521 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1523 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1524 (do_test): Likewise.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1528 2014-07-09 Will Newton <will.newton@linaro.org>
1530 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1531 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1532 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1533 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1534 * sysdeps/hppa/start.S (_start): Likewise.
1536 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1538 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1540 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1543 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1545 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1546 after checking that it is non-NULL.
1548 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1550 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * sysdeps/powerpc/memmove.c: Remove file.
1553 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1554 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1555 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1556 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1557 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1558 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1560 string memmove instead of removed powerpc one.
1562 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1563 [weak_alias]: Fix compiler warning due trailing data.
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1565 [weak_alias]: Likewise.
1566 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1567 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1570 (__libc_ifunc_impl_list): Add memmove functions.
1572 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1574 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1576 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1578 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1580 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1582 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1584 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1586 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1588 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1590 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1592 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1594 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1596 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1598 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1600 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1602 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1604 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1606 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1609 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1612 to avoid alignment traps in non-cacheable memory.
1613 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1617 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1618 file: multiarch power7 memmove.
1619 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1620 multiarch default memmove.
1621 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1622 multiarch memove for powerpc32/power4.
1624 * string/bcopy.c: Use full path to include memmove.c.
1625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1627 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1628 bcopy for powerpc64.
1629 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1630 bcopy for powerpc64.
1631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1632 and memmove implementations.
1633 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1634 optimized multiarch memmove for POWER7/powerpc64.
1635 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1636 default multiarch memmove for powerpc64.
1637 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1638 multiarch for powerpc64.
1639 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1640 for POWER7/powerpc64.
1641 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1642 memmove for POWER7/powerpc64.
1644 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1647 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1648 __ELF_NATIVE_CLASS equal to 64.
1650 2014-07-07 Roland McGrath <roland@hack.frob.com>
1652 * sysdeps/nptl/lowlevellock.h: File removed.
1654 * NEWS: NPTL is no longer an add-on!
1655 * nptl/internaltypes.h: Moved ...
1656 * sysdeps/nptl/internaltypes.h: ... here.
1657 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1658 * sysdeps/nptl/fork.c: Likewise.
1659 * sysdeps/nptl/gai_misc.h: Likewise.
1660 * sysdeps/nptl/librt-cancellation.c: Likewise.
1661 * sysdeps/nptl/jmp-unwind.c: Likewise.
1662 * sysdeps/nptl/setxid.h: Likewise.
1663 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1664 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1665 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1666 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1667 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1668 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1669 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1670 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1671 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1672 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1673 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1674 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1675 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1676 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1677 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1678 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1679 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1680 * nptl/Makeconfig: Moved ...
1681 * sysdeps/nptl/Makeconfig: ... here.
1682 * nptl/configure: File removed.
1683 * nptl/ANNOUNCE: File removed.
1684 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1685 * sysdeps/unix/sysv/linux/configure: Regenerated.
1687 * nptl/Makefile (routines): Add libc_pthread_init,
1688 libc_multiple_threads, register-atfork and unregister-atfork.
1689 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1690 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1691 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1692 pthread-pi-defines.sym, structsem.sym.
1693 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1694 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1695 [$(subdir) = nptl] (tests): Add tst-setgetname.
1696 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1697 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1698 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1699 [!LIBC_SIGACTION]: Remove aliases.
1700 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1701 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1702 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1703 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1704 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1706 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1709 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1710 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1711 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1712 __libc_allocate_rtsig_private.
1713 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1714 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1715 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1716 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1717 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1718 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1719 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1720 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1721 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1722 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1723 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1724 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1725 * nptl/internaltypes.h: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1727 * sysdeps/nptl/jmp-unwind.c: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1729 * nptl/libc-lowlevellock.c: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1731 * nptl/libc_multiple_threads.c: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1733 * nptl/libc_pthread_init.c: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1735 * nptl/lowlevelbarrier.sym: ... here.
1736 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1737 * nptl/lowlevelcond.sym: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1739 * nptl/lowlevellock.c: ... here.
1740 * nptl/lowlevellock.h: Moved ...
1741 * sysdeps/nptl/lowlevellock.h: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1743 * nptl/lowlevelrobustlock.c: ... here.
1744 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1745 * nptl/lowlevelrobustlock.sym: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1747 * nptl/lowlevelrwlock.sym: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1749 * nptl/pt-fork.c: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1751 * nptl/pthread-pi-defines.sym: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1753 * nptl/pthread_attr_getaffinity.c: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1755 * nptl/pthread_attr_setaffinity.c: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1757 * nptl/pthread_mutex_cond_lock.c: ... here.
1758 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1760 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1761 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1762 * nptl/pthread_once.c: ... here, replacing old file.
1763 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1764 * nptl/pthread_yield.c: ... here.
1765 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1766 * nptl/register-atfork.c: ... here.
1767 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1768 * nptl/sem_post.c: ... here.
1769 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1770 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1771 * nptl/sem_timedwait.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1773 * nptl/sem_trywait.c: ... here.
1774 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1775 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1776 * nptl/sem_wait.c: ... here.
1777 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1778 * nptl/structsem.sym: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1780 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1781 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1782 * nptl/unregister-atfork.c: ... here.
1783 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1784 * nptl/unwindbuf.sym: ... here.
1785 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1786 * sysdeps/nptl/fork.c: ... here.
1787 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1788 * sysdeps/nptl/fork.h: ... here.
1789 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1790 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1791 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1793 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1795 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1797 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1799 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1801 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1802 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1803 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1805 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1807 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1809 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1811 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1813 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1815 * sysdeps/unix/sysv/linux/raise.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1817 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1819 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1821 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1823 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1825 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1827 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1829 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1830 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1832 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1834 * sysdeps/generic/memcopy.h: Add comment for
1835 MEMCPY_OK_FOR_FWD_MEMMOVE.
1837 2014-07-04 Will Newton <will.newton@linaro.org>
1839 * string/memchr.c: Merge from gnulib.
1840 [_LIBC]: Remove conditionals.
1841 (__ptr_t): Remove define.
1842 (LONG_MAX_32_BITS): Likewise.
1843 (LONG_MAX): Likewise.
1844 (MEMCHR): Use ANSI prototype and optimize algorithm.
1846 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1848 2014-07-03 Roland McGrath <roland@hack.frob.com>
1850 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1851 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1853 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1854 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1855 in a bare environment with no <stdlib.h> installed.
1856 * sysdeps/nptl/configure: Regenerated.
1858 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1860 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1861 AC_EGREP_CPP for kernel header checks, so they only succeed if
1862 including <linux/version.h> actually works right.
1863 * sysdeps/unix/sysv/linux/configure: Regenerated.
1865 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1866 value so it's not diagnosed as unused.
1868 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1869 thing) with "ifeq ($(subdir),rt)".
1871 2014-07-03 Richard Henderson <rth@redhat.com>
1873 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1874 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1875 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1877 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1878 (math_force_eval): New.
1880 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1881 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1883 * sysdeps/alpha/fpu/s_round.c: Remove file.
1884 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1886 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1887 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1888 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1889 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1890 (_dl_start, print_statistics): Likewise.
1891 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1892 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1894 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1895 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1896 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1897 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1899 (HP_SMALL_TIMING_AVAIL): Define.
1900 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1902 (HP_SMALL_TIMING_AVAIL): Define.
1903 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1904 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1906 * sysdeps/aarch64/hp-timing.h: New file.
1908 * sysdeps/generic/hp-timing.h: Remove dead comment.
1909 * sysdeps/generic/hp-timing-common.h: New file.
1910 * sysdeps/alpha/hp-timing.h: Include it.
1911 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1912 * sysdeps/i386/i686/hp-timing.h: Likewise.
1913 * sysdeps/ia64/hp-timing.h: Likewise.
1914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1916 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1917 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1918 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1919 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1922 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1923 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1924 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1925 * elf/rtld.c (_dl_start_final): Likewise.
1926 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1927 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1928 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1929 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1930 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1932 (HP_TIMING_DIFF_INIT): Remove.
1933 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1935 (HP_TIMING_DIFF_INIT): Remove.
1936 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1937 * sysdeps/i386/i686/hp-timing.c: Remove file.
1938 * sysdeps/x86_64/hp-timing.c: Remove file.
1939 * sysdeps/ia64/hp-timing.c: Remove file.
1940 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1941 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1942 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1943 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1945 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1946 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1947 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1948 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1949 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1950 (HP_TIMING_ACCUM): Remove.
1951 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1953 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1955 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1956 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1957 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1958 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1959 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1960 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1961 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1962 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1964 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1966 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1968 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1970 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1972 Sync up with gettext.
1973 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1974 [_MSC_VER]: Include malloc.h
1975 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1976 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1977 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1978 TEMP_FAILURE_RETRY. Cast return of alloca.
1979 [!_LIBC] Call gl_rwlock_init.
1980 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1982 2014-07-02 Roland McGrath <roland@hack.frob.com>
1984 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1985 before checking its value.
1987 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1989 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1991 * debug/memcpy_chk.c: Don't include pagecopy.h.
1992 * debug/mempcpy_chk.c: Likewise.
1993 * string/memcpy.c: Likewise.
1994 * string/memmove.c: Likewise.
1995 * sysdeps/powerpc/memmove.c: Likewise.
1996 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1997 definition of PAGE_COPY_FWD_MAYBE here...
1998 * sysdeps/generic/pagecopy.h: ... from here.
1999 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2001 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2002 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2008 (__libc_ifunc_impl_list): Likewise.
2009 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2010 multiarch strcat for PPC64.
2011 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2012 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2014 2014-07-02 Roland McGrath <roland@hack.frob.com>
2016 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2018 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2020 * intl/loadmsgcat.c: Remove declaration of
2021 get_sysdep_segment_value.
2022 (get_sysdep_segment_value): Use ISO C style.
2023 (_nl_load_domain): Use ISO C style. Get rid of redundant
2024 semicolon. Fix typo and formatting in comment.
2025 (_nl_unload_domain): Use ISO C style.
2027 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2029 2014-07-02 Will Newton <will.newton@linaro.org>
2031 * malloc/obstack.c: Merge from gnulib master.
2032 [HAVE_CONFIG_H]: Remove conditional code.
2033 [!_LIBC]: Include config.h.
2034 [!ELIDE_CODE]: Don't include inttypes.h, include
2035 stdint.h unconditionally.
2036 (print_and_abort): Mark as _Noreturn.
2037 (_obstack_allocated_p): Mark as __attribute_pure__.
2038 (obstack_free): Rename to __obstack_free.
2039 [!__attribute__]: Remove conditional code.
2040 * malloc/obstack.h: Merge from gnulib master.
2041 [__cplusplus]: Move conditional down.
2042 [!__attribute_pure__]: Define __attribute_pure__ here
2043 if it is not already defined.
2044 (_obstack_memory_used): Mark as __attribute_pure__.
2045 [!__obstack_free]: Define as obstack_free.
2046 [__GNUC__]: Remove check for ancient NeXT gcc.
2048 2014-07-02 Will Newton <will.newton@linaro.org>
2049 Paul Eggert <eggert@cs.ucla.edu>
2051 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2053 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2055 * resolv/gethnamaddr.c: Add comment warning that the file is
2058 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2060 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2063 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2064 entry for aio_cancel and aio_cancel64.
2065 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2066 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2067 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2068 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2069 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2070 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2071 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2072 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2073 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2074 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2075 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2076 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2077 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2079 2014-07-01 Roland McGrath <roland@hack.frob.com>
2081 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2082 * nptl/pthread_mutex_lock.c: Likewise.
2083 * nptl/pthread_mutex_timedlock.c: Likewise.
2084 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2086 2014-07-01 Richard henderson <rth@redhat.com>
2088 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2089 (__isnan, __isnanl): Remove.
2090 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2092 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2094 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2096 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2098 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2100 * resolv/nss_dns/dns-host.c (getanswer_r)
2101 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2103 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2106 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2108 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2109 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2111 2014-07-01 Roland McGrath <roland@hack.frob.com>
2113 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2114 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2116 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2117 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2119 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2120 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2122 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2123 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2125 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2126 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2127 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2128 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2130 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2131 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2132 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2133 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2134 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2136 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2138 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2139 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2141 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2143 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2147 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2149 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2150 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2151 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2153 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2154 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2155 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2156 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2157 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2159 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2160 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2161 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2162 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2163 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2164 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2165 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2166 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2168 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2170 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2171 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2172 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2175 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2179 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2181 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2182 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2184 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2186 * sysdeps/arm/libm-test-ulps: Regenerated.
2188 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2189 Roland McGrath <roland@hack.frob.com>
2191 * test-skeleton.c (signal_handler): Kill the whole process group
2192 before killing the child individually.
2193 (main): Report any failure on `setpgid'.
2195 2014-06-30 Roland McGrath <roland@hack.frob.com>
2197 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2198 from _TLS_H to _ARM_NPTL_TLS_H.
2199 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2200 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2202 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2206 (__expm1l): Return argument unchanged when small but not
2209 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2211 (_FP_UNPACK_RAW_1_P): Likewise.
2212 (_FP_PACK_RAW_1): Likewise.
2213 (_FP_PACK_RAW_1_P): Likewise.
2214 (_FP_MUL_MEAT_1_wide): Likewise.
2215 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2216 (_FP_MUL_MEAT_1_hard): Likewise.
2217 (_FP_DIV_MEAT_1_imm): Likewise.
2218 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2219 (_FP_DIV_MEAT_1_udiv): Likewise.
2220 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2221 (_FP_UNPACK_RAW_2): Likewise.
2222 (_FP_UNPACK_RAW_2_P): Likewise.
2223 (_FP_PACK_RAW_2): Likewise.
2224 (_FP_PACK_RAW_2_P): Likewise.
2225 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2226 (_FP_MUL_MEAT_2_wide): Likewise.
2227 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2228 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2229 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2230 (_FP_MUL_MEAT_2_gmp): Likewise.
2231 (_FP_DIV_MEAT_2_udiv): Likewise.
2232 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2233 (_FP_FRAC_SRL_4): Likewise.
2234 (_FP_FRAC_SRST_4): Likewise.
2235 (_FP_FRAC_SRS_4): Likewise.
2236 (_FP_UNPACK_RAW_4): Likewise.
2237 (_FP_UNPACK_RAW_4_P): Likewise.
2238 (_FP_PACK_RAW_4): Likewise.
2239 (_FP_PACK_RAW_4_P): Likewise.
2240 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2241 (_FP_MUL_MEAT_4_wide): Likewise.
2242 (_FP_MUL_MEAT_4_gmp): Likewise.
2243 (umul_ppppmnnn): Likewise.
2244 (_FP_DIV_MEAT_4_udiv): Likewise.
2245 (__FP_FRAC_ADD_4): Likewise.
2246 (__FP_FRAC_SUB_3): Likewise.
2247 (__FP_FRAC_SUB_4): Likewise.
2248 (__FP_FRAC_DEC_3): Likewise.
2249 (__FP_FRAC_DEC_4): Likewise.
2250 (__FP_FRAC_ADDI_4): Likewise.
2251 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2252 (_FP_FRAC_SRL_8): Likewise.
2253 (_FP_FRAC_SRS_8): Likewise.
2255 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2257 (FP_UNPACK_RAW_EP): Likewise.
2258 (FP_PACK_RAW_E): Likewise.
2259 (FP_PACK_RAW_EP): Likewise.
2260 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2261 (_FP_ISSIGNAN): Likewise.
2262 (_FP_ADD_INTERNAL): Likewise.
2263 (_FP_FMA): Likewise.
2264 (_FP_CMP): Likewise.
2265 (_FP_SQRT): Likewise.
2266 (_FP_TO_INT): Likewise.
2267 (_FP_FROM_INT): Likewise.
2268 (FP_EXTEND): Likewise.
2269 (_FP_DIV_MEAT_N_loop): Likewise.
2271 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2273 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2276 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2280 result with correct sign in case of exponents that produce
2281 overflow except for X very close to 1.
2283 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2285 mktime: merge #if/#ifdef usage from glibc
2286 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2287 as that works with both Glibc's and Gnulib's style.
2288 See thread starting at Siddhesh Poyarekar's bug report at:
2289 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2291 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2293 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2294 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2295 * sysdeps/tile/tilegx/memmove.c: Remove file.
2297 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2299 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2300 abi-name definition.
2301 * scripts/soversions.awk: Do not handle or generate ABI lines.
2302 * shlib-versions: Remove ABI entries.
2303 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2304 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2306 2014-06-27 Roland McGrath <roland@hack.frob.com>
2308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2309 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2310 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2316 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2336 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2339 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2342 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2347 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2356 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2364 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2365 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2369 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2372 Identical file removed.
2373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2375 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2377 Identical file removed.
2378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2382 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2384 Identical file removed.
2385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2388 Identical file removed.
2389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2392 Identical file removed.
2393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2396 Identical file removed.
2397 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2399 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2401 Identical file removed.
2402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2404 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2408 Identical file removed.
2409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2411 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2414 Identical file removed.
2415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2417 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2419 Identical file removed.
2420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2422 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2431 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2433 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2434 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2435 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2436 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2437 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2439 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2442 * nscd/nscd.c (monitor_child): Return exit status of child
2443 instead of return value from wait syscall.
2445 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2447 * configure.ac (libc_commonpagesize): Remove variable.
2448 (libc_relro_required): Likewise.
2449 (libc_cv_z_relro): Remove configure test.
2450 * configure: Regenerated.
2451 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2453 (libc_relro_required): Likewise.
2454 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2455 (libc_relro_required): Likewise.
2456 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2457 (libc_relro_required): Likewise.
2458 * sysdeps/arm/preconfigure: Regenerated.
2459 * sysdeps/ia64/preconfigure: Remove file.
2460 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2462 (libc_relro_required): Likewise.
2466 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2467 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2468 recompute overflowing results in original rounding mode.
2469 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2470 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2471 recompute overflowing results in original rounding mode.
2472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2473 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2474 recompute overflowing results in original rounding mode.
2475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2476 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2477 recompute overflowing results in original rounding mode.
2478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2479 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2480 recompute overflowing results in original rounding mode.
2481 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2482 (libc_feholdsetround_ctx): New macro.
2483 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2484 * sysdeps/i386/fpu/libm-test-ulps: Update.
2485 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2487 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2489 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2490 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2491 corresponding .cpsetup call.
2493 2014-06-26 Roland McGrath <roland@hack.frob.com>
2495 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2496 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2497 * sysdeps/arm/Makefile [$(subdir) = csu]
2498 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2499 (static-only-routines): Add aeabi_read_tp here.
2500 (shared-only-routines): Add libc-aeabi_read_tp here.
2501 (CFLAGS-libc-start.c): Add -fexceptions here.
2502 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2503 (sysdep_routines, static-only-routines, shared-only-routines):
2504 Don't add to these here.
2505 (CFLAGS-libc-start.c): Likewise.
2507 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2508 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2509 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2510 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2511 * sysdeps/arm/Makefile [$(subdir) = rt]
2512 (librt-sysdep_routines, librt-shared-only-routines):
2513 Append rt-aeabi_unwind_cpp_pr1 here.
2514 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2515 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2516 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2517 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2518 Append nptl-aeabi_unwind_cpp_pr1 here.
2519 (tests): Filter out tst-cleanupx4 here.
2520 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2521 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2522 Don't do those here.
2524 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2526 * scripts/list-sources.sh: Do not handle ports specially.
2528 2014-06-26 Roland McGrath <roland@hack.frob.com>
2530 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2531 * sysdeps/arm/feupdateenv.c: Likewise.
2533 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2535 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2537 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2538 trailing whitespace removed.
2539 * scripts/config.guess: Update to version 2014-03-23.
2540 * scripts/config.sub: Update to version 2014-05-01
2541 * scripts/install-sh: Update to version 2013-12-25.23.
2542 * scripts/move-if-change: Update from gnulib.
2544 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2546 * debug/memmove_chk.c: Remove pagecopy.h include.
2548 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2550 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2551 identical to gnulib mktime.
2553 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2555 * configure.ac: Do not test for machine being rs6000. Do not test
2557 * configure: Regenerated.
2559 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2561 * configure: Regenerated.
2562 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2563 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2564 Remove configure test.
2565 * sysdeps/arm/configure: Regenerated.
2566 * sysdeps/nptl/configure.ac: Do not check
2567 libc_cv_asm_cfi_directives.
2568 * sysdeps/nptl/configure: Regenerated.
2569 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2570 * sysdeps/x86_64/nptl/configure: Remove generated file.
2571 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2573 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2575 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2577 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2578 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2579 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2582 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2583 instead of whether it is defined.
2584 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2585 * sysdeps/hppa/dl-machine.h: Likewise.
2586 * sysdeps/ia64/dl-machine.h: Likewise.
2587 * sysdeps/m68k/dl-machine.h: Likewise.
2588 * sysdeps/microblaze/dl-machine.h: Likewise.
2589 * sysdeps/mips/dl-machine.: Likewise.
2590 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2591 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2592 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2593 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2594 * sysdeps/sh/dl-machine.h: Likewise.
2595 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2596 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2597 * sysdeps/tile/dl-machine.h: Likewise.
2598 * sysdeps/x86_64/dl-machine.h: Likewise.
2600 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2602 (verify_persistent_db): Likewise.
2604 2014-06-26 Roland McGrath <roland@hack.frob.com>
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2607 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2609 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2612 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2617 Identical file removed.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2619 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2621 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2630 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2632 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2634 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2637 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2639 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2641 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2643 Identical file removed.
2644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2645 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2650 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2661 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2664 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2667 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2672 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2678 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2679 * sysdeps/unix/sysv/linux/s390/Versions
2680 (libpthread: GLIBC_2.19): New version set.
2681 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2682 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2683 (librt: GLIBC_2.3.3): New version set.
2684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2685 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2686 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2688 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2690 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2691 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2692 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2693 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2694 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2696 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2698 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2699 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2700 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2701 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2702 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2703 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2704 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2705 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2706 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2710 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2711 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2712 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2713 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2714 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2715 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2720 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2722 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2724 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2726 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2728 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2730 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2731 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2732 (__libc_vfork): Define the function under this name.
2733 [!NOT_IN_libc] (__vfork): Make this an alias.
2734 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2736 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2737 (__libc_vfork): Define the function under this name.
2738 [!NOT_IN_libc] (__vfork): Make this an alias.
2739 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2740 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2741 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2744 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2747 code that was previously under [RESET_PID].
2748 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2749 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2752 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2753 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2754 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2755 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2756 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2757 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2758 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2759 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2760 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2764 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2766 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2767 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2768 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2772 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2782 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2784 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2785 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2786 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2788 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2789 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2790 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2794 2014-06-25 Roland McGrath <roland@hack.frob.com>
2796 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2797 that was previously under [RESET_PID].
2798 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2800 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2802 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2803 not undefine and redefine.
2804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2805 [O_CLOEXEC]: Make code unconditional.
2806 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2808 <kernel-features.h>.
2809 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2810 conditional variable definition.
2811 (shm_open) [O_CLOEXEC]: Make code unconditional.
2812 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2815 * configure.ac (USE_REGPARMS): Don't define here.
2816 * configure: Regenerated.
2817 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2818 * sysdeps/i386/configure: Regenerated.
2820 * nptl/createthread.c: Don't include kernel-features.h.
2821 * nptl/pthread_cancel.c: Likewise.
2822 * nptl/pthread_condattr_setclock.c: Likewise.
2823 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2824 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2825 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2826 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2827 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2828 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2829 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2832 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2833 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2834 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2835 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2836 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2837 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2838 * nscd/gai.c: Likewise.
2839 * nss/nss_db/db-open.c: Likewise.
2840 * sysdeps/generic/ldsodefs.h: Likewise.
2841 * sysdeps/sh/nptl/tls.h: Likewise.
2842 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2843 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2844 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2845 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2846 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2847 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2848 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2849 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2850 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2851 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2852 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2853 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2854 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2855 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2856 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2857 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2858 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2859 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2860 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2861 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2864 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2865 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2867 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2868 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2869 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2870 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2871 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2872 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2874 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2875 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2877 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2878 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2879 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2880 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2881 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2882 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2883 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2884 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2885 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2886 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2887 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2888 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2889 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2890 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2891 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2892 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2893 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2894 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2895 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2896 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2897 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2922 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2923 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2924 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2925 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2926 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2928 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2929 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2930 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2931 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2932 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2933 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2934 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2935 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2936 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2937 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2938 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2940 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2941 * sysdeps/unix/sysv/linux/system.c: Likewise.
2942 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2943 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2944 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2945 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2946 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2947 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2948 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2950 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2951 * configure: Regenerated.
2952 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2954 * configure.ac (base_machine): Do not set specially for particular
2956 * configure: Regenerated.
2957 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2958 settings from configure.ac.
2959 * sysdeps/i386/preconfigure: New file.
2960 * sysdeps/s390/preconfigure: Likewise.
2961 * sysdeps/sh/preconfigure: Likewise.
2962 * sysdeps/sparc/preconfigure: Likewise.
2964 2014-06-25 Roland McGrath <roland@hack.frob.com>
2966 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2967 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2968 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2969 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2970 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2971 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2972 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2973 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2974 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2975 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2976 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2977 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2978 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2979 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2980 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2981 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2983 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2984 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2986 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2987 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2988 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2989 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2990 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2991 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2992 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2993 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2994 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2995 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2996 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2997 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2998 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2999 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3000 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3001 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3002 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3003 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3004 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3005 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3007 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3008 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3011 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3012 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3015 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3017 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3019 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3020 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3021 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3023 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3026 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3031 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3036 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3039 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3041 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3043 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3048 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3056 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3058 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3060 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3062 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3067 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3070 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3075 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3079 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3089 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3092 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3098 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3100 * timezone/checktab.awk: Update from tzcode 2014e.
3101 * timezone/private.h: Likewise.
3102 * timezone/tzfile.h: Likewise.
3103 * timezone/zdump.c: Likewise.
3104 * timezone/zic.c: Likewise.
3106 * sysdeps/unix/sysv/linux/kernel-features.h
3107 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3108 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3109 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3110 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3111 Remove conditional code.
3113 2014-06-25 Will Newton <will.newton@linaro.org>
3115 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3116 (_dl_arm_cap_flags): Add HWCAP2 values.
3117 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3118 (_DL_HWCAP_COUNT): Increase to 37.
3119 (_DL_HWCAP_LAST): New define.
3120 (_DL_HWCAP2_LAST): New define.
3121 (_dl_procinfo): Add support for printing
3123 (_dl_string_hwcap): Use _dl_hwcap_string.
3125 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3129 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3131 * README: Do not mention ports directory.
3133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3135 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3136 <kernel-features.h>.
3137 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3138 conditional variable definition.
3139 (__futimes): Update comment.
3140 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3141 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3144 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3145 arguments close to 0.
3146 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3148 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3150 * math/auto-libm-test-in: Add more tests of exp10.
3151 * math/auto-libm-test-out: Regenerated.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3154 * sysdeps/unix/sysv/linux/kernel-features.h
3155 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3156 * sysdeps/unix/sysv/linux/readv.c: Do not include
3157 <kernel-features.h>.
3158 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3159 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3160 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3162 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3164 * sysdeps/unix/sysv/linux/writev.c: Do not include
3165 <kernel-features.h>.
3166 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3167 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3168 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3170 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3173 2014-06-25 Will Newton <will.newton@linaro.org>
3175 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3176 comment changes throughout the file. Remove checks
3177 for HAVE_*_H definitions that are not required.
3178 (__gen_tempname): Call abort if an unknown kind value is
3181 2014-06-25 Andreas Schwab <schwab@suse.de>
3184 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3185 scalbln, scalblnf, scalblnl in libc.
3187 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3190 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3191 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3192 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3194 2014-06-24 Roland McGrath <roland@hack.frob.com>
3196 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3197 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3198 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3199 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3201 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3202 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3204 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3205 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3206 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3207 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3208 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3209 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3210 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3211 * sysdeps/x86/bits/semaphore.h: ... here.
3212 * sysdeps/x86/nptl/elide.h: Moved ...
3213 * sysdeps/x86/elide.h: ... here.
3214 * sysdeps/x86_64/nptl/Implies: File removed.
3215 * sysdeps/i386/nptl/Implies: File removed.
3217 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3221 return the argument for normal arguments with exponent below -64.
3222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3224 * math/auto-libm-test-in: Add another test of expm1.
3225 * math/auto-libm-test-out: Regenerated.
3228 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3229 calling __erfcl for arguments at least 16.
3230 * math/auto-libm-test-in: Add more tests of erf.
3231 * math/auto-libm-test-out: Regenerated.
3233 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3234 individual architectures.
3235 * sysdeps/unix/sysv/linux/configure: Regenerated.
3236 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3237 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3238 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3239 (ldd_rewrite_script): Define variable.
3240 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3245 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3246 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3247 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3248 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3249 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3250 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3251 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3252 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3254 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3257 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3258 Rename member __data.d to __data.__elision_data.
3260 2014-06-24 Wilco <wdijkstr@arm.com>
3262 * NEWS: Add 16918 to fixed bug list.
3264 2014-06-24 Wilco <wdijkstr@arm.com>
3266 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3268 2014-06-24 Wilco <wdijkstr@arm.com>
3270 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3271 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3272 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3273 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3274 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3275 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3276 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3279 2014-06-24 Wilco <wdijkstr@arm.com>
3281 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3283 2014-06-24 Wilco <wdijkstr@arm.com>
3285 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3286 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3287 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3288 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3290 2014-06-24 Wilco <wdijkstr@arm.com>
3293 * sysdeps/arm/feupdateenv.c (feupdateenv):
3294 Rewrite to reduce FPSCR accesses and fix return value.
3296 2014-06-24 Wilco <wdijkstr@arm.com>
3298 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3299 Optimize to avoid unnecessary FPSCR writes.
3300 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3301 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3302 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3303 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3305 2014-06-24 Wilco <wdijkstr@arm.com>
3307 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3308 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3309 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3310 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3311 Call libc_fetestexcept_vfp.
3312 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3313 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3314 __SOFTFP__ ifdef so that they can be built for softfp.
3316 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3318 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3319 argument type signed char.
3321 * Makerules (check-abi): Dump diff of symlist if the test
3324 2014-06-23 Roland McGrath <roland@hack.frob.com>
3326 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3329 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3330 Remove unused variable ST.
3332 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3336 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3337 small arguments before calling __expm1.
3338 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3339 small arguments before calling __expm1f.
3340 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3341 small arguments before calling __expm1l.
3342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3344 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3345 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3346 spurious underflow for some cosh tests.
3347 * math/auto-libm-test-out: Regenerated.
3348 * sysdeps/i386/fpu/libm-test-ulps: Update.
3351 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3352 (__ieee754_y1): Set errno if return value overflows.
3353 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3354 (__ieee754_y1f): Set errno if return value overflows.
3355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3356 (__ieee754_y1l): Set errno if return value overflows.
3357 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3358 (__ieee754_y1l): Set errno if return value overflows.
3359 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3360 * math/auto-libm-test-out: Regenerated.
3362 * math/gen-auto-libm-tests.c: Document use of
3363 ignore-zero-inf-sign.
3364 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3365 (input_flags): Add ignore-zero-inf-sign.
3366 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3367 * math/gen-libm-test.pl (generate_testfile): Handle
3368 ignore-zero-inf-sign.
3369 * math/auto-libm-test-in: Mark some cpow tests with
3370 ignore-zero-inf-sign and some with xfail-rounding.
3371 * math/auto-libm-test-out: Regenerated.
3372 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3378 overflowing or underflowing operations take place with sign of
3380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3382 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3383 (__ieee754_pow): Recompute overflowing and underflowing results in
3384 original rounding mode.
3385 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3386 (__powl_helper): Allow negative argument X and scale negated value
3387 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3388 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3389 overflowing or underflowing operations take place with sign of
3391 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3393 * math/auto-libm-test-in: Add more tests of pow.
3394 * math/auto-libm-test-out: Regenerated.
3395 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3396 (pow_tonearest_test_data): Remove.
3397 (pow_test_tonearest): Likewise.
3398 (pow_towardzero_test_data): Likewise.
3399 (pow_test_towardzero): Likewise.
3400 (pow_downward_test_data): Likewise.
3401 (pow_test_downward): Likewise.
3402 (pow_upward_test_data): Likewise.
3403 (pow_test_upward): Likewise.
3404 (main): Don't call removed functions.
3405 * sysdeps/i386/fpu/libm-test-ulps: Update.
3406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3408 2014-06-23 Roland McGrath <roland@hack.frob.com>
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3584 2014-06-23 Will Newton <will.newton@linaro.org>
3585 Wilco <wdijkstr@arm.com>
3587 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3588 implementation. Include get-rounding-mode.h.
3589 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3590 [!libc_feholdsetround_noex_ctx]: Define
3591 libc_feholdsetround_noex_ctx.
3592 [!libc_feholdsetround_noexf_ctx]: Define
3593 libc_feholdsetround_noexf_ctx.
3594 [!libc_feholdsetround_noexl_ctx]: Define
3595 libc_feholdsetround_noexl_ctx.
3596 (libc_feholdsetround_ctx): New function.
3597 (libc_feresetround_ctx): New function.
3598 (libc_feholdsetround_noex_ctx): New function.
3599 (libc_feresetround_noex_ctx): New function.
3601 2014-06-23 Roland McGrath <roland@hack.frob.com>
3603 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3604 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3605 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3606 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3607 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3608 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3610 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3611 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3612 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3613 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3614 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3615 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3617 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3622 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3630 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3639 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3642 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3647 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3649 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3651 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3652 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3653 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3655 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3658 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3674 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3681 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3687 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3688 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3689 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3696 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3708 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3710 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3712 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3713 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3714 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3716 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3719 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3720 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3721 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3722 (IPV6_PMTUDISC_INTERFACE): Likewise.
3723 (IPV6_PMTUDISC_OMIT): Likewise.
3725 2014-06-23 Andreas Schwab <schwab@suse.de>
3727 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3728 Remove unused errout label.
3730 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3733 macro: hardware supports Vector Crypto instructions.
3735 2014-06-23 Will Newton <will.newton@linaro.org>
3737 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3738 rather than __builtin_expect.
3740 * elf/dl-lookup.c (undefined_msg): Remove variable.
3741 (_dl_lookup_symbol_x): Replace undefined_msg with string
3744 * elf/dl-lookup.c (do_lookup_unique): New function.
3745 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3746 to a separate function.
3748 2014-06-23 Andreas Schwab <schwab@suse.de>
3751 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3752 before reading the next line.
3754 2014-06-23 Will Newton <will.newton@linaro.org>
3756 * test-skeleton.c (signal_handler): Use printf and %m
3757 rather than perror. Use printf rather than fprintf to
3758 stderr. Use puts rather than fputs to stderr.
3761 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3763 * nscd/nscd.c (thread_info_t): Remove typedef.
3764 (thread_info): Remove variable.
3766 2014-06-21 Allan McRae <allan@archlinux.org>
3768 * NEWS: Mention CVE-2014-4043.
3770 2014-06-20 Roland McGrath <roland@hack.frob.com>
3772 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3773 * nptl/smp.h: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3777 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3778 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3779 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3780 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3782 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3783 * nptl/stack-aliasing.h: New file.
3784 * sysdeps/i386/i686/stack-aliasing.h: New file.
3785 * sysdeps/i386/i686/nptl/Makefile: File removed.
3786 * sysdeps/x86_64/stack-aliasing.h: New file.
3787 * sysdeps/x86_64/nptl/Makefile
3788 (CFLAGS-pthread_create.c): Variable removed.
3790 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3791 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3793 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3794 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3797 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3799 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3800 (__ASSUME_SIGFRAME_V2): Remove macro.
3801 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3802 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3803 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3804 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3805 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3806 Declare as function. Remove conditional macro definitions.
3807 (__default_rt_sa_restorer): Likewise.
3808 (__default_sa_restorer_v1): Remove declaration.
3809 (__default_sa_restorer_v2): Likewise.
3810 (__default_rt_sa_restorer_v1): Likewise.
3811 (__default_rt_sa_restorer_v2): Likewise.
3812 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3813 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3814 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3816 2014-06-20 Roland McGrath <roland@hack.frob.com>
3818 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3819 (libpthread-routines): Add sysdep.
3820 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3821 * sysdeps/unix/sysv/linux/sparc/Versions
3822 (libpthread: GLIBC_2.3.3): New version set.
3823 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3824 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3825 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3827 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3828 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3830 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3832 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3834 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3836 * sysdeps/sparc/nptl/sem_init.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3838 * sysdeps/sparc/nptl/sem_post.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3840 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3842 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3845 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3846 (libpthread-routines): Add cpu_relax.
3847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3849 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3850 (librt: GLIBC_2.3.3): New version set.
3851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3852 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3853 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3854 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3857 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3860 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3862 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3864 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3866 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3868 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3871 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3875 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3883 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3894 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3900 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3902 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3905 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3907 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3909 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3911 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3913 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3914 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3915 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3916 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3917 * nscd/nscd.c: Likewise.
3918 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3919 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3920 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3921 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3924 <kernel-features.h>.
3925 (init_mq_netlink): Remove conditional have_sock_cloexec
3926 definitions. Remove code conditional on have_sock_cloexec < 0.
3927 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3928 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3929 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3930 <kernel-features.h>.
3931 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3932 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3934 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3937 Add tests for memset_chk and memset.
3939 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3942 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3945 * elf/tst-dl-iter-static.c: New file.
3946 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3948 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3951 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3953 * sysdeps/unix/sysv/linux/kernel-features.h
3954 (__ASSUME_F_GETOWN_EX): Remove macro.
3955 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3956 <kernel-features.h>.
3957 (miss_F_GETOWN_EX): Remove variable or macro.
3958 (do_fcntl): Do not check miss_F_GETOWN_EX.
3959 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3961 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3964 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3965 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3967 * sysdeps/unix/sysv/linux/kernel-features.h
3968 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3969 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3970 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3971 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3973 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3976 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3977 Fix calculation of the symbol's value.
3978 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3979 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3980 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3981 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3982 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3983 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3984 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3985 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3986 (modules-names): Add `tst-armtlsdescmod',
3987 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3988 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3989 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3990 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3991 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3992 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3993 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3994 ($(objpfx)tst-armtlsdescloc): New dependency.
3995 ($(objpfx)tst-armtlsdescextnow): Likewise.
3996 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3997 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3999 * sysdeps/arm/configure: Regenerate.
4001 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4003 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4004 (__atfct_seterrno_2): Likewise.
4005 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4006 <kernel-features.h>.
4007 (__ASSUME_ATFCTS): Do not undefine and redefine.
4008 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4009 (__have_atfcts): Remove conditional definition.
4010 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4011 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4012 unreachable if [__ASSUME_ATFCTS].
4013 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4014 not undefine and redefine.
4015 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4016 <kernel-features.h>.
4017 (faccessat) [__NR_faccessat]: Make code unconditional.
4018 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4019 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4020 <kernel-features.h>.
4021 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4022 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4023 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4024 <kernel-features.h>.
4025 (fchownat) [__NR_fchownat]: Make code unconditional.
4026 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4028 <kernel-features.h>.
4029 (futimesat) [__NR_futimesat]: Make code unconditional.
4030 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4031 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4032 <kernel-features.h>.
4033 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4034 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4035 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4036 <kernel-features.h>.
4037 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4038 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4040 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4041 <kernel-features.h>.
4042 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4043 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4044 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4045 <kernel-features.h>.
4046 (linkat) [__NR_linkat]: Make code unconditional.
4047 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4048 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4049 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4050 <kernel-features.h>.
4051 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4052 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4053 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4054 <kernel-features.h>.
4055 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4056 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4057 * sysdeps/unix/sysv/linux/openat.c: Do not include
4058 <kernel-features.h>.
4059 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4060 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4061 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4062 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4064 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4065 <kernel-features.h>.
4066 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4067 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4068 result of INLINE_SYSCALL directly, not via int variable.
4069 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4070 <kernel-features.h>.
4071 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4072 (renameat) [__NR_renameat]: Make code unconditional.
4073 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4074 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4075 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4078 (__ASSUME_ATFCTS): Do not undefine and redefine.
4079 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4080 <kernel-features.h>.
4081 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4082 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4083 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4084 <kernel-features.h>.
4085 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4086 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4087 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4088 (__ASSUME_ATFCTS): Do not undefine and redefine.
4089 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4090 <kernel-features.h>.
4091 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4092 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4093 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4094 <kernel-features.h>.
4095 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4096 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4098 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4100 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4102 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4105 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4106 constructed tree before returning error.
4107 * posix/bug-regexp36.c: Expand test case.
4109 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4112 * math/libm-test.inc (scalbln_test_date):
4113 Add errno expectations.
4114 * math/w_scalblnf.c: New File.
4115 Add wrapper which checks for setting errno to ERANGE.
4116 Add weak_alias for corresponding scalbln function.
4117 * math/w_scalbln.c: Likewise.
4118 * math/w_scalblnl.c: Likewise.
4119 * math/Makefile (libm-calls): Add w_scalbln.
4120 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4121 Remove weak_alias for corresponding scalbln function.
4122 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4126 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4127 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4128 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4129 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4130 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4131 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4132 Remove long_double_symbol for scalblnl function in libm, libc.
4133 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4134 Add wrapper which checks for setting errno to ERANGE.
4135 Add long_double_symbol for scalblnl function in libm, libc.
4136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4137 Remove long_double_symbol for scalblnl in libm.
4138 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4139 Add wrapper which checks for setting errno to ERANGE.
4140 Add long_double_symbol for scalblnl function in libm.
4141 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4142 Do not use wrapper because of own implementation.
4144 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4146 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4147 3 bytes for __pad1 for x32.
4148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4150 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4151 H.J. Lu <hongjiu.lu@intel.com>
4153 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4154 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4155 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4156 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4157 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4159 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4162 * posix/regcomp.c (parse_expression): Deallocate partially
4163 constructed tree before returning error.
4164 * posix/Makefile.c (tests): Add bug-regex36.
4165 (generated): Add bug-regex36.mtrace.
4166 (tests-special): Add $(objpfx)bug-regex36-mem.out
4167 (bug-regex36-ENV): New variable.
4168 ($(objpfx)bug-regex36-mem.out): New rule.
4169 * posix/bug-regex36.c: New file.
4171 2014-06-19 Will Newton <will.newton@linaro.org>
4173 * malloc/malloc.c (systrim): If extra is zero then return
4176 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4178 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4180 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4182 * sysdeps/aarch64/strchr.S: New file.
4184 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4187 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4188 from arguments -2 or below.
4189 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4190 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4192 2014-06-18 Andreas Schwab <schwab@suse.de>
4195 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4196 of a bracket expr not to run off the end of the string.
4197 * posix/Makefile (tests): Add tst-fnmatch3.
4198 * posix/tst-fnmatch3.c: New file.
4200 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4202 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4203 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4204 [$(cross-compiling) = no]: Likewise.
4205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4206 [$(cross-compiling) = no]: Likewise.
4208 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4211 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4212 double, adjusted for any remainder from the high double.
4213 * math/libm-test.inc (nearbyint): Add tests.
4216 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4218 * nptl/sysdeps/powerpc/Makefile: Moved ...
4219 * sysdeps/powerpc/nptl/Makefile: ... here.
4220 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4221 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4222 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4223 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4224 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4225 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4226 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4227 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4228 * nptl/sysdeps/powerpc/tls.h: Moved ...
4229 * sysdeps/powerpc/nptl/tls.h: ... here.
4231 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4234 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4235 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4236 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4237 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4238 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4239 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4240 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4241 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4242 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4244 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4246 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4248 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4250 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4253 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4256 2014-06-16 Florian Weimer <fweimer@redhat.com>
4259 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4260 non-executed part of the test.
4262 2014-06-16 Andreas Schwab <schwab@suse.de>
4264 * string/bits/string2.h (strdup, strndup): Update feature guard.
4266 2014-06-14 David S. Miller <davem@davemloft.net>
4268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4270 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4272 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4273 that was previously under [RESET_PID].
4274 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4276 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4277 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4278 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4280 (__libc_vfork): New strong alias.
4281 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4283 2014-06-14 Andi Kleen <ak@linux.intel.com>
4285 * sysdeps/generic/elide.h: New file.
4287 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4289 * Makefile (installed-headers): Adjust path of pthread.h header.
4291 2014-06-13 Roland McGrath <roland@hack.frob.com>
4293 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4294 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4296 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4298 * nptl/sysdeps/s390/Makefile: Moved ...
4299 * sysdeps/s390/nptl/Makefile: ... here.
4300 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4301 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4302 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4303 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4304 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4305 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4306 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4307 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4308 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4309 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4310 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4311 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4312 * nptl/sysdeps/s390/tls.h: Moved ...
4313 * sysdeps/s390/nptl/tls.h: ... here.
4315 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4316 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4318 2014-06-13 David S. Miller <davem@davemloft.net>
4320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4328 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4329 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4330 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4331 Remove RESET_PID cpp guards.
4332 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4333 Remove RESET_PID cpp guards.
4334 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4336 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4338 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4341 2014-06-13 Andi Kleen <ak@linux.intel.com>
4343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4344 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4345 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4346 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4347 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4349 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4350 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4352 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4361 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4362 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4364 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4365 (pthread_rwlock_rdlock): Add elision.
4366 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4367 (pthread_rwlock_wrlock): Add elision.
4368 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4369 (pthread_rwlock_trywrlock): Add elision.
4370 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4371 (pthread_rwlock_tryrdlock): Add elision.
4372 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4373 (pthread_rwlock_tryrdlock): Add elision unlock.
4374 * nptl/sysdeps/pthread/pthread.h:
4375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4376 (PTHREAD_RWLOCK_INITIALIZER,
4377 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4378 Handle new elision field.
4379 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4380 * sysdeps/arm/nptl/bits/pthreadtypes.h
4381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4382 * sysdeps/sh/nptl/bits/pthreadtypes.h
4383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4384 * sysdeps/tile/nptl/bits/pthreadtypes.h
4385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4386 * sysdeps/a/nptl/bits/pthreadtypes.h
4387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4390 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4392 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4394 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4398 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4400 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4402 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4404 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4405 (elision_init): Set try_xbegin to zero when no RTM.
4406 * sysdeps/x86/nptl/bits/pthreadtypes.h
4407 (pthread_rwlock_t): Change __pad1 to __rwelision.
4408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4410 2014-06-13 Andi Kleen <ak@linux.intel.com>
4412 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4413 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4414 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4415 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4417 2014-06-13 Meador Inge <meadori@codesourcery.com>
4420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4421 that the cached result has been set before returning it.
4423 2014-06-12 Roland McGrath <roland@hack.frob.com>
4425 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4426 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4427 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4428 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4429 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4430 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4432 * nptl/sysdeps/sparc/Makefile: Moved ...
4433 * sysdeps/sparc/nptl/Makefile: ... here.
4434 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4435 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4436 * nptl/sysdeps/sparc/tls.h: Moved ...
4437 * sysdeps/sparc/nptl/tls.h: ... here.
4438 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4439 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4440 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4441 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4442 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4443 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4444 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4445 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4446 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4447 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4448 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4449 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4450 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4451 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4452 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4453 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4454 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4457 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4458 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4460 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4463 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4464 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4467 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4469 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4470 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4472 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4473 (struct list_links): Type removed.
4474 (struct thread_node, struct timer_node): Replace struct list_links
4475 with struct list_head.
4476 (list_unlink_ip): Likewise.
4477 * sysdeps/pthread/timer_routines.c
4478 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4479 (list_append, list_insbefore): Likewise.
4480 (list_init): Function removed.
4481 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4482 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4483 * sysdeps/pthread/Makefile: ... here, new file.
4485 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4486 * sysdeps/nptl/Implies: ... here.
4487 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4488 * nptl/sysdeps/pthread/list.h: Moved ...
4489 * include/list.h: ... here.
4490 * nptl/sysdeps/pthread/createthread.c: Moved ...
4491 * nptl/createthread.c: ... here.
4492 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4493 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4494 * nptl/pt-longjmp.c: ... here.
4495 * nptl/sysdeps/pthread/Makefile: Moved ...
4496 * sysdeps/nptl/Makefile: ... here.
4497 * nptl/sysdeps/pthread/Subdirs: Moved ...
4498 * sysdeps/nptl/Subdirs: ... here.
4499 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4500 * sysdeps/nptl/aio_misc.h: ... here.
4501 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4502 * sysdeps/nptl/bits/libc-lock.h: ... here.
4503 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4504 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4505 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4506 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4507 * nptl/sysdeps/pthread/configure: Moved ...
4508 * sysdeps/nptl/configure: ... here.
4509 * nptl/sysdeps/pthread/configure.ac: Moved ...
4510 * sysdeps/nptl/configure.ac: ... here.
4511 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4512 * sysdeps/nptl/gai_misc.h: ... here.
4513 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4514 * sysdeps/nptl/librt-cancellation.c: ... here.
4515 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4516 * sysdeps/nptl/malloc-machine.h: ... here.
4517 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4518 * sysdeps/nptl/pthread-functions.h: ... here.
4519 * nptl/sysdeps/pthread/pthread.h: Moved ...
4520 * sysdeps/nptl/pthread.h: ... here.
4521 * nptl/sysdeps/pthread/setxid.h: Moved ...
4522 * sysdeps/nptl/setxid.h: ... here.
4523 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4524 * sysdeps/nptl/sigfillset.c: ... here.
4525 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4526 * sysdeps/nptl/tcb-offsets.h: ... here.
4527 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4528 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4529 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4530 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4531 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4532 * sysdeps/pthread/allocalim.h: ... here.
4533 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4534 * sysdeps/pthread/bits/sigthread.h: ... here.
4535 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4536 * sysdeps/pthread/flockfile.c: ... here.
4537 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4538 * sysdeps/pthread/ftrylockfile.c: ... here.
4539 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4540 * sysdeps/pthread/funlockfile.c: ... here.
4541 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4542 * sysdeps/pthread/posix-timer.h: ... here.
4543 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4544 * sysdeps/pthread/timer_create.c: ... here.
4545 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4546 * sysdeps/pthread/timer_delete.c: ... here.
4547 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4548 * sysdeps/pthread/timer_getoverr.c: ... here.
4549 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4550 * sysdeps/pthread/timer_gettime.c: ... here.
4551 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4552 * sysdeps/pthread/timer_routines.c: ... here.
4553 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4554 * sysdeps/pthread/timer_settime.c: ... here.
4555 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4556 * sysdeps/pthread/tst-timer.c: ... here.
4557 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4558 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4560 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4561 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4563 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4564 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4565 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4566 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4567 Update #include target.
4568 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4569 * sysdeps/i386/i686/nptl/Makefile: ... here.
4570 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4571 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4572 Update #include target.
4573 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4574 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4575 * nptl/sysdeps/i386/Makefile: Moved ...
4576 * sysdeps/i386/nptl/Makefile: ... here.
4577 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4578 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4579 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4580 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4581 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4582 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4583 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4584 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4585 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4586 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4587 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4588 * nptl/sysdeps/i386/tls.h: Moved ...
4589 * sysdeps/i386/nptl/tls.h: ... here.
4591 * sysdeps/sh/Makefile [$(subdir) = csu]
4592 (gen-as-const-headers): Add tcb-offsets.sym.
4593 * nptl/sysdeps/sh/Makefile: File removed.
4594 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4595 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4596 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4597 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4598 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4599 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4600 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4601 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4602 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4603 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4604 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4605 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4606 * nptl/sysdeps/sh/tls.h: Moved ...
4607 * sysdeps/sh/nptl/tls.h: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4609 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4610 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4611 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4613 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4614 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4615 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4616 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4617 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4619 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4621 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4623 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4625 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4627 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4629 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4631 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4634 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4639 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4641 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4643 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4645 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4647 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4649 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4651 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4652 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4653 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4654 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4655 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4657 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4659 * posix/spawn_faction_addopen.c: Include string.h.
4661 2014-06-11 Roland McGrath <roland@hack.frob.com>
4663 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4664 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4665 * nptl/sysdeps/x86_64/Makefile: Moved ...
4666 * sysdeps/x86_64/nptl/Makefile: ... here.
4667 * nptl/sysdeps/x86_64/configure: Moved ...
4668 * sysdeps/x86_64/nptl/configure: ... here.
4669 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4670 * sysdeps/x86_64/nptl/configure.ac: ... here.
4671 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4672 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4673 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4674 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4675 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4676 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4677 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4678 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4679 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4680 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4681 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4682 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4683 * nptl/sysdeps/x86_64/tls.h: Moved ...
4684 * sysdeps/x86_64/nptl/tls.h: ... here.
4685 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4686 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4687 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4688 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4690 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4692 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4696 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4698 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4700 [POSIX] (off_t): Likewise.
4701 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4702 [POSIX] (S_ISBLK): Require macro.
4703 [POSIX] (S_ISCHR): Likewise.
4704 [POSIX] (S_ISDIR): Likewise.
4705 [POSIX] (S_ISFIFO): Likewise.
4706 [POSIX] (S_ISREG): Likewise.
4707 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4709 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4711 [POSIX] (time_t): Likewise.
4712 [POSIX] (timer_t): Likewise.
4714 2014-06-11 Florian Weimer <fweimer@redhat.com>
4717 * posix/spawn_int.h (struct __spawn_action): Make the path string
4718 non-const to support deallocation.
4719 * posix/spawn_faction_addopen.c
4720 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4721 * posix/spawn_faction_destroy.c
4722 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4723 path in all spawn_do_open actions.
4724 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4725 posix_spawn_file_actions_addopen.
4727 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4729 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4730 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4731 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4732 conditional code always true.
4733 (__libc_vfork): New alias.
4735 2014-06-11 Roland McGrath <roland@hack.frob.com>
4737 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4738 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4740 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4742 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4743 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4745 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4746 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4748 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4749 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4751 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4753 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4754 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4755 multiarch strcmp for PPC64.
4756 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4757 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4759 multiarch optimizations.
4760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4761 (__libc_ifunc_impl_list): Likewise.
4763 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4765 * benchtests/scripts/validate_benchout.py: New script.
4766 * benchtests/Makefile (bench-func): Call it.
4767 * benchtests/scripts/benchout.schema.json: New file.
4769 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4771 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4772 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4773 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4774 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4775 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4776 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4777 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4778 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4779 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4780 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4781 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4782 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4783 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4784 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4785 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4786 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4891 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4893 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4896 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4899 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4901 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4903 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4905 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4907 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4909 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4912 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4915 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4917 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4920 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4924 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4925 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4926 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4928 2014-06-10 Wilco <wdijkstr@arm.com>
4930 * math/test-fenv-return.c: New file.
4931 * math/Makefile: Add new test test-fenv-return.
4933 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4936 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4938 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4939 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4940 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4941 0.0L for an argument of 1.0L.
4942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4944 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4945 value when x - 1 is zero.
4946 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4953 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4955 2014-06-09 Roland McGrath <roland@hack.frob.com>
4957 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4958 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4960 2014-06-09 Roland McGrath <roland@hack.frob.com>
4962 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4963 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4965 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4966 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4968 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4969 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4971 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4972 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4974 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4975 if not already defined.
4976 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4977 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4978 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4979 (TLS_INIT_TP): Use it.
4980 (TLS_DEFINE_INIT_TP): New macro.
4981 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4983 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4985 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4987 [POSIX] (IXANY): Likewise.
4988 [POSIX] (OLCUC): Likewise.
4989 [POSIX || POSIX2008] (CBAUD): Do not allow.
4990 [POSIX || POSIX2008] (DEFECHO): Likewise.
4991 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4992 [POSIX || POSIX2008] (ECHOKE): Likewise.
4993 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4994 [POSIX || POSIX2008] (EXTA): Likewise.
4995 [POSIX || POSIX2008] (EXTB): Likewise.
4996 [POSIX || POSIX2008] (FLUSHO): Likewise.
4997 [POSIX || POSIX2008] (LOBLK): Likewise.
4998 [POSIX || POSIX2008] (PENDIN): Likewise.
4999 [POSIX || POSIX2008] (SWTCH): Likewise.
5000 [POSIX || POSIX2008] (VDISCARD): Likewise.
5001 [POSIX || POSIX2008] (VDSUSP): Likewise.
5002 [POSIX || POSIX2008] (VLNEXT): Likewise.
5003 [POSIX || POSIX2008] (VREPRINT): Likewise.
5004 [POSIX || POSIX2008] (VSTATUS): Likewise.
5005 [POSIX || POSIX2008] (VWERASE): Likewise.
5006 (B*): Change to B[0123456789]*.
5007 * conform/data/time.h-data [POSIX || UNIX98]
5008 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5009 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5010 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5011 [POSIX] (tm_*): Do not allow.
5013 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5015 * Makefile (install): Don't set LANGUAGE.
5016 * Makefile.in (install): Likewise.
5017 * assert/Makefile (test-assert-ENV): Remove variable.
5018 (test-assert-perr-ENV): Likewise.
5019 * elf/Makefile (neededtest4-ENV): Likewise.
5020 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5021 [$(cross-compiling) = no]: Don't set LANGUAGE.
5022 * io/ftwtest-sh (LANG): Remove variable.
5023 * libio/Makefile (tst-widetext-ENV): Likewise.
5024 * manual/install.texi (Running make install): Don't refer to
5025 environment settings for make install.
5026 * INSTALL: Regenerated.
5027 * nptl/tst-tls6.sh: Don't set LANG.
5028 * posix/globtest.sh (LANG): Remove variable.
5029 * string/Makefile (tester-ENV): Likewise.
5030 (inl-tester-ENV): Likewise.
5031 (noinl-tester-ENV): Likewise.
5032 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5033 [$(cross-compiling) = no]: Don't set LANGUAGE.
5034 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5035 without explicit environment settings.
5037 2014-06-06 Roland McGrath <roland@hack.frob.com>
5039 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5040 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5041 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5042 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5044 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5046 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5047 other files in the crypt directory.
5048 * crypt/crypt.c: Remove duplicate includes.
5049 * crypt/crypt-entry.c: Likewise.
5050 * crypt/crypt_util.c: Likewise.
5052 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5054 * Makeconfig (run-program-env): New variable.
5055 (run-program-prefix-before-env): Likewise.
5056 (run-program-prefix-after-env): Likewise.
5057 (run-program-prefix): Define in terms of new variables.
5058 (built-program-cmd-before-env): New variable.
5059 (built-program-cmd-after-env): Likewise.
5060 (built-program-cmd): Define in terms of new variables.
5061 (test-program-prefix-before-env): New variable.
5062 (test-program-prefix-after-env): Likewise.
5063 (test-program-prefix): Define in terms of new variables.
5064 (test-program-cmd-before-env): New variable.
5065 (test-program-cmd-after-env): Likewise.
5066 (test-program-cmd): Define in terms of new variables.
5067 * Rules (make-test-out): Use $(run-program-env).
5068 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5069 (help): Do not mention environment variables. Mention
5070 --timeoutfactor option.
5071 (timeoutfactor): New variable.
5072 (blacklist_exports): Remove function.
5073 (exports): Remove variable.
5074 (command): Do not include ${exports}.
5075 * manual/install.texi (Configuring and compiling): Do not mention
5076 test wrappers preserving environment variables. Mention that last
5077 assignment to a variable must take precedence.
5078 * INSTALL: Regenerated.
5079 * benchtests/Makefile (run-bench): Use $(run-program-env).
5080 * catgets/Makefile ($(objpfx)test1.cat): Use
5081 $(built-program-cmd-before-env), $(run-program-env) and
5082 $(built-program-cmd-after-env).
5083 ($(objpfx)test2.cat): Do not specify environment variables
5085 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5086 $(run-program-env) and $(built-program-cmd-after-env).
5087 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5088 $(run-program-env) and $(test-program-cmd-after-env).
5089 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5091 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5092 run_program_env and test_program_cmd_after_env arguments.
5093 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5094 * elf/tst-pathopt.sh: Use run_program_env argument.
5095 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5096 $(test-wrapper-env) and $(run-program-env).
5097 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5098 run_program_env arguments.
5099 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5100 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5101 $(test-program-prefix-before-env), $(run-program-env) and
5102 $(test-program-prefix-after-env).
5103 ($(objpfx)tst-gettext2.out): Likewise.
5104 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5105 run_program_env and test_program_prefix_after_env arguments.
5106 * intl/tst-gettext2.sh: Likewise.
5107 * intl/tst-gettext4.sh: Do not set environment variables
5109 * intl/tst-gettext6.sh: Likewise.
5110 * intl/tst-translit.sh: Likewise.
5111 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5112 $(test-program-prefix-before-env), $(run-program-env) and
5113 $(test-program-prefix-after-env).
5114 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5115 run_program_env and test_program_prefix_after_env arguments.
5116 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5117 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5118 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5119 explicitly with each use of ${test_wrapper_env}.
5120 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5121 $(test-program-prefix-before-env), $(run-program-env) and
5122 $(test-program-prefix-after-env).
5123 * posix/tst-getconf.sh: Do not set environment variables
5125 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5126 run_program_env and test_program_prefix_after_env arguments.
5127 * stdio-common/tst-printf.sh: Do not set environment variables
5129 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5130 $(test-program-prefix-before-env), $(run-program-env) and
5131 $(test-program-prefix-after-env).
5132 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5133 run_program_env and test_program_prefix_after_env arguments.
5134 Split $test calls into $test_pre and $test.
5135 * timezone/Makefile (build-testdata): Use
5136 $(built-program-cmd-before-env), $(run-program-env) and
5137 $(built-program-cmd-after-env).
5139 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5141 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5142 strlen for non SHARED builds.
5144 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * nptl/allocatestack.c (check_list): Inlined function...
5147 (__reclaim_stacks): ... here.
5149 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5152 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5155 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5157 * Rules (make-test-out): Include
5158 LOCPATH=$(common-objpfx)localedata in default environment.
5159 * debug/Makefile (tst-chk1-ENV): Remove variable.
5160 (tst-chk2-ENV): Likewise.
5161 (tst-chk3-ENV): Likewise.
5162 (tst-chk4-ENV): Likewise.
5163 (tst-chk5-ENV): Likewise.
5164 (tst-chk6-ENV): Likewise.
5165 (tst-lfschk1-ENV): Likewise.
5166 (tst-lfschk2-ENV): Likewise.
5167 (tst-lfschk3-ENV): Likewise.
5168 (tst-lfschk4-ENV): Likewise.
5169 (tst-lfschk5-ENV): Likewise.
5170 (tst-lfschk6-ENV): Likewise.
5171 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5172 (tst-iconv7-ENV): Likewise.
5173 * intl/Makefile (LOCPATH-ENV): Likewise.
5174 (tst-codeset-ENV): Likewise.
5175 (tst-gettext3-ENV): Likewise.
5176 (tst-gettext5-ENV): Likewise.
5177 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5178 (tst-fopenloc-ENV): Likewise.
5179 (tst-fgetws-ENV): Remove variable.
5180 (tst-ungetwc1-ENV): Likewise.
5181 (tst-ungetwc2-ENV): Likewise.
5182 (bug-ungetwc2-ENV): Likewise.
5183 (tst-swscanf-ENV): Likewise.
5184 (bug-ftell-ENV): Likewise.
5185 (tst-fgetwc-ENV): Likewise.
5186 (tst-fseek-ENV): Likewise.
5187 (tst-ftell-partial-wide-ENV): Likewise.
5188 (tst-ftell-active-handler-ENV): Likewise.
5189 (tst-ftell-append-ENV): Likewise.
5190 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5191 (tst-regexloc-ENV): Likewise.
5192 (bug-regex1-ENV): Likewise.
5193 (tst-regex-ENV): Likewise.
5194 (tst-regex2-ENV): Likewise.
5195 (bug-regex5-ENV): Likewise.
5196 (bug-regex6-ENV): Likewise.
5197 (bug-regex17-ENV): Likewise.
5198 (bug-regex18-ENV): Likewise.
5199 (bug-regex19-ENV): Likewise.
5200 (bug-regex20-ENV): Likewise.
5201 (bug-regex22-ENV): Likewise.
5202 (bug-regex23-ENV): Likewise.
5203 (bug-regex25-ENV): Likewise.
5204 (bug-regex26-ENV): Likewise.
5205 (bug-regex30-ENV): Likewise.
5206 (bug-regex32-ENV): Likewise.
5207 (bug-regex33-ENV): Likewise.
5208 (bug-regex34-ENV): Likewise.
5209 (bug-regex35-ENV): Likewise.
5210 (tst-rxspencer-ENV): Likewise.
5211 (tst-rxspencer-no-utf8-ENV): Likewise.
5212 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5213 (tst-sscanf-ENV): Likewise.
5214 (tst-swprintf-ENV): Likewise.
5215 (tst-swscanf-ENV): Likewise.
5216 (test-vfprintf-ENV): Likewise.
5217 (scanf13-ENV): Likewise.
5218 (bug14-ENV): Likewise.
5219 (tst-grouping-ENV): Likewise.
5220 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5221 (tst-strtod3-ENV): Likewise.
5222 (tst-strtod4-ENV): Likewise.
5223 (tst-strtod5-ENV): Likewise.
5224 (testmb2-ENV): Likewise./
5225 * string/Makefile (tst-strxfrm-ENV): Likewise.
5226 (tst-strxfrm2-ENV): Likewise.
5227 (bug-strcoll1-ENV): Likewise.
5228 (test-strcasecmp-ENV): Likewise.
5229 (test-strncasecmp-ENV): Likewise.
5230 * time/Makefile (tst-strptime-ENV): Likewise.
5231 (tst-ftime_l-ENV): Likewise.
5232 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5233 (tst-mbrtowc-ENV): Likewise.
5234 (tst-wcrtomb-ENV): Likewise.
5235 (tst-mbrtowc2-ENV): Likewise.
5236 (tst-c16c32-1-ENV): Likewise.
5237 (tst-mbsnrtowcs-ENV): Likewise.
5239 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5241 * manual/resource.texi (How to get information about the memory
5242 subsystem?): Fix typo.
5243 Reported by Peon de la Parra Ivan <peon@keba.com>
5245 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5248 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5249 (pthread_spin_lock): Branch out of spin loop to proper location.
5250 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5251 (pthread_spin_lock): Likewise.
5253 * nptl/tst-spin4.c: New test.
5254 * nptl/Makefile (tests): Add tst-spin4.
5256 2014-06-03 Andreas Schwab <schwab@suse.de>
5259 * resolv/res_send.c (send_dg): Reload file descriptor after
5262 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5266 2014-06-03 Richard Henderson <rth@redhat.com>
5268 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5269 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5270 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5271 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5272 in the SAVE_PID block.
5273 (__libc_vfork): New alias.
5274 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5276 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5277 child in registers, not on the stack. Remove RESET_PID conditionals.
5278 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5280 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5282 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5284 2014-06-03 Wilco <wdijkstr@arm.com>
5286 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5287 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5288 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5289 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5290 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5293 2014-06-03 Wilco <wdijkstr@arm.com>
5295 * sysdeps/aarch64/fpu/math_private.h
5296 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5297 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5298 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5299 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5302 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5304 * crypt/crypt-private.h: Include ufc-crypt.h.
5305 (__b64_from_24bit): Declare extern.
5306 * crypt/crypt_util.c(__b64_from_24bit): New function.
5307 (b64t): New static const variable.
5308 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5309 (b64t): Remove variable.
5310 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5311 * crypt/sha256-crypt.c: Include crypt-private.h.
5312 (b64t): Remove variable.
5313 (__sha256_crypt_r): Remove b64_from_24bit and replace
5314 with __b64_from_24bit.
5315 * crypt/sha512-crypt.c: Likewise.
5317 2014-06-02 Roland McGrath <roland@hack.frob.com>
5319 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5320 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5321 Label the code __libc_vfork rather than __vfork.
5322 [!NOT_IN_libc] (vfork): Define as weak alias.
5323 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5324 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5325 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5327 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5329 * malloc/malloc.c (malloc_info): Fix format specifier for
5332 2014-06-02 Wilco <wdijkstr@arm.com>
5334 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5337 2014-06-02 Wilco <wdijkstr@arm.com>
5340 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5341 Rewrite to reduce FPCR/FPSR accesses.
5343 2014-06-01 David S. Miller <davem@davemloft.net>
5345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5347 2014-05-31 David S. Miller <davem@davemloft.net>
5349 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5350 to occur in round to nearest mode when |x| >= 2.0
5352 2014-05-30 Richard Henderson <rth@twiddle.net>
5354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5355 (PSEUDO_RET_NOERRNO): Remove.
5356 (ret): Don't redefine.
5357 (ret_NOERRNO): Define in terms of ret.
5358 (ret_ERRVAL): Likewise.
5360 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5361 use of PSEUDO_RET; perform the error check directly.
5363 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5365 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5368 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5370 * malloc/malloc (malloc_info): Fix formatting.
5372 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5373 Roland McGrath <roland@hack.frob.com>
5375 * malloc/malloc (malloc_info): Also print mmapped statistics.
5377 2014-05-30 Roland McGrath <roland@hack.frob.com>
5379 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5380 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5382 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5384 * malloc/malloc.c (malloc_info): Inline mi_arena.
5386 2014-05-29 Richard Henderson <rth@twiddle.net>
5388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5389 Remove comma before expanding ASM_ARGS_##nr.
5390 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5391 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5393 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5394 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5395 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5396 (ASM_ARGS_1): Add leading comma.
5398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5399 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5400 to __errno_location.
5401 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5402 Remove the expected plt for __errno_location.
5404 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5405 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5409 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5410 it and break it down.
5411 (DOCARGS_0, DOCARGS_1): Do nothing.
5412 (DOCARGS_2): Update to store into the new stack frame.
5413 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5414 (UNDOCARGS_1): Update to restore from the new stack frame.
5415 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5416 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5419 (SINGLE_THREAD_P): New parameter for result regno.
5420 (PSEUDO): Update to match; use cbz instead of beq.
5422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5423 Use ENTRY to define the _nocancel entry point. Share the syscall
5424 and syscall error check paths with the cancel path.
5427 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5428 whitespace; tabs before and after asm mnemonics.
5430 2014-05-29 Eric Wong <normalperson@yhbt.net>
5433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5434 Call fstat64 or stat64 internally, depending on arguments passed.
5435 Replace stat buffer argument with file descriptor argument.
5436 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5437 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5438 Pass fd to __internal_statvfs instead of calling fstat64.
5439 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5440 Pass fd to __internal_statvfs64 instead of calling fstat64.
5441 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5442 Pass -1 to __internal_statvfs instead of calling stat64.
5443 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5444 Pass -1 to __internal_statvfs64 instead of calling stat64.
5446 2014-05-28 Roland McGrath <roland@hack.frob.com>
5448 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5449 that was previously under [RESET_PID].
5450 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5452 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5453 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5455 2014-05-27 Roland McGrath <roland@hack.frob.com>
5457 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5459 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5460 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5462 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5464 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5466 2014-05-27 Andreas Schwab <schwab@suse.de>
5468 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5470 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5471 * elf/rtld.c (init_tls, dl_main): Likewise.
5472 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5473 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5474 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5475 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5476 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5477 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5478 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5479 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5480 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5481 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5482 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5483 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5484 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5485 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5486 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5487 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5488 * sysdeps/generic/tls.h: Update description.
5490 2014-05-27 Will Newton <will.newton@linaro.org>
5493 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5494 and restore r2 rather than just restoring.
5496 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5499 * libio/tst-ftell-append.c: New test case.
5500 * libio/Makefile (tests): Add test case.
5501 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5503 * libio/wfileops.c (do_ftell_wide): Likewise.
5505 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5509 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5513 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5514 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5516 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5518 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5526 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5528 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5531 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5534 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5538 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5540 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5543 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5545 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5568 conditional [RESET_PID].
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5577 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5578 (__libc_vfork): New strong alias.
5579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5586 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5587 (__libc_vfork): New strong alias.
5588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5593 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5595 * malloc/malloc.c (mi_arena): New function.
5596 (malloc_info): Remove nested function mi_arena. Call non-nosted
5599 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5603 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5604 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5605 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5606 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5607 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5608 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5611 2014-05-26 Andreas Schwab <schwab@suse.de>
5614 * locale/programs/repertoire.c (repertoire_read): Add slash
5615 between I18NPATH element and file name.
5616 * locale/programs/locfile.c (locfile_read): Likewise.
5618 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5620 * nptl/pthread_mutexattr_settype.c
5621 (__pthread_mutexattr_settype):
5622 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5624 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5626 * nptl/tst-mutex5 (do_test):
5627 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5629 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5631 * benchtests/README: Document 'init' directive.
5632 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5634 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5635 (parse_file): Recognize 'init' directive.
5637 2014-05-26 Kyle McMartin <kyle@redhat.com>
5640 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5641 alignment of struct pthread.
5643 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5646 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5647 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5648 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5649 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5651 2014-05-25 Richard Henderson <rth@twiddle.net>
5653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5654 (SINGLE_THREAD_P_PIC): Remove.
5655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5656 (SINGLE_THREAD_P_PIC): Remove.
5658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5659 branch to syscall error ...
5661 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5662 from __local_syscall_error to .Lsyscall_error.
5663 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5664 (SYSCALL_ERROR): Update label name.
5666 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5667 Do not use DOARGS/UNDOARGS.
5668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5669 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5670 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5671 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5672 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5677 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5678 define if !NOT_IN_libc.
5679 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5680 define with non-default symbol versions.
5682 2014-05-23 Richard Henderson <rth@twiddle.net>
5684 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5685 (vfork, __vfork): Define via compat_symbol.
5687 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5688 [!HAVE_IFUNC] (vfork_compat): Remove.
5689 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5691 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5694 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5695 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5698 2014-05-23 Richard Henderson <rth@twiddle.net>
5700 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5701 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5702 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5703 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5705 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5706 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5707 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5708 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5709 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5710 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5711 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5712 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5713 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5714 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5715 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5716 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5717 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5742 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5743 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5744 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5745 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5746 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5747 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5748 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5749 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5750 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5752 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5754 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5756 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5758 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5760 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5762 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5763 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5764 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5765 before exiting on error.
5766 (__libc_vfork): New strong alias.
5767 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5768 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5770 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5771 that was previously under [RESET_PID].
5772 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5774 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5776 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5779 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5780 value when x - 1 is zero.
5781 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5782 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5783 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5784 0.0L for an argument of 1.0L.
5785 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5787 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5788 value when x - 1 is zero.
5789 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5790 * sysdeps/i386/fpu/libm-test-ulps: Update.
5791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5795 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5796 alphasort and versionsort.
5798 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5802 [copysignf]: Likewise.
5804 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5806 * crypt/md5-crypt.c: Fix formatting.
5808 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5810 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5811 (b64_from_24bit): New function.
5813 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5816 libc_hidden_builtin_def to ifunc.
5817 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5818 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5820 2014-05-21 Roland McGrath <roland@hack.frob.com>
5822 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5823 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5825 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5827 * nscd/Depend (linuxthreads): Remove.
5829 * resolv/Depend (linuxthreads): Remove.
5830 * rt/Depend (linuxthreads): Remove.
5832 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5833 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5834 $(common-objpfx)elf/.
5835 (link-libc-before-gnulib): Likewise.
5836 (elfobjdir): Remove variable.
5837 * Makefile (install): Use $(elf-objpfx) instead of
5838 $(common-objpfx)elf/.
5839 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5841 (link-libc-deps): Likewise.
5842 ($(common-objpfx)libc.so): Likewise.
5843 ($(common-objpfx)linkobj/libc.so): Likewise.
5844 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5845 instead of $(common-objpfx)elf/.
5846 (symbolic-link-list): Likewise.
5847 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5848 [$(cross-compiling) = no]: Likewise.
5849 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5851 (static-gnulib-arch): Likewise.
5852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5853 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5854 $(common-objpfx)elf/.
5856 2014-05-21 Richard Henderson <rth@redhat.com>
5858 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5859 (SINGLE_THREAD_P): Use the correct width load. Fold
5860 into the ldr offset.
5862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5863 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5865 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5868 (libgcc_s_resume): Use __attribute_used__.
5869 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5872 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5874 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5875 optimization when used with float constants.
5877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5879 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5882 * locale/nl_langinfo_l.c: Make direct reference to every
5883 _nl_current_CATEGORY symbol.
5884 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5885 (tests-static): Add tst-langinfo-static.
5886 (tests-special): Add tst-langinfo-static.out.
5887 ($(objpfx)tst-langinfo.out): Redirect output.
5888 ($(objpfx)tst-langinfo-static.out): New.
5889 * localedata/tst-langinfo.sh: Send output to stdout.
5890 * localedata/tst-langinfo-static.c: New file.
5893 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5894 when the shift amount is modulo the limb size.
5896 2014-05-20 Richard Henderson <rth@redhat.com>
5899 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5900 Change type of sa_flags from unsigned int to int.
5903 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5905 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5907 2014-05-20 Will Newton <will.newton@linaro.org>
5909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5910 Test the return value of the system call in the nocancel case.
5912 2014-05-20 Will Newton <will.newton@linaro.org>
5913 Yvan Roux <yvan.roux@linaro.org>
5915 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5916 #include of asm/ptrace.h.
5917 (PTRACE_GET_THREAD_AREA): Remove #undef.
5918 (PTRACE_GETHBPREGS): Likewise.
5919 (PTRACE_SETHBPREGS): Likewise.
5920 (struct user_regs_struct): New structure.
5921 (struct user_fpsimd_struct): New structure.
5922 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5923 #include of asm/ptrace.h and second #include of sys/user.h.
5924 (PTRACE_GET_THREAD_AREA): Remove #undef.
5925 (PTRACE_GETHBPREGS): Likewise.
5926 (PTRACE_SETHBPREGS): Likewise.
5927 (ELF_NGREG): Use new struct user_regs_struct.
5928 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5930 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5935 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5939 membar to avoid block loads/stores to overlap previous stores.
5941 2014-05-17 Richard Henderson <rth@redhat.com>
5943 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5944 Create the __##syscall_name##_nocancel entry point.
5945 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5946 Remove; let the sysdep-cancel.h code create it.
5948 2014-05-17 David S. Miller <davem@davemloft.net>
5950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5951 Protect with __USE_GNU.
5952 (TIOCSET_TEMPT): Likewise.
5953 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5954 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5955 these are already provided in bits/ioctl-types.h
5957 2014-05-16 Roland McGrath <roland@hack.frob.com>
5959 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5960 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5962 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5963 Use wait4 regardless of [__NR_waitpid].
5965 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5968 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5969 (_FP_NANSIGN_Q): Set the quiet bit.
5971 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5973 * benchtests/Makefile
5974 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5975 not $(common-objpfx)math/libm.so.
5976 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5977 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5978 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5979 $(common-objpfx)dlfcn/libdl.so.
5980 ($(objpfx)tst-audit8): Depend on $(libm), not
5981 $(common-objpfx)math/libm.so.
5982 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5983 not $(common-objpfx)dlfcn/libdl.so.
5985 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5986 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5987 [$(build-shared) = yes].
5988 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5989 $(common-objpfx)nptl/libpthread.so.
5990 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5991 $(common-objpfx)math/libm.so$(libm.so-version) or
5992 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5993 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5994 $(common-objpfx)dlfcn/libdl.so.
5995 * setjmp/Makefile (link-libm): Remove variable.
5996 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5997 * stdio-common/Makefile (link-libm): Remove variable.
5998 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5999 * stdlib/Makefile (link-libm): Remove variable.
6000 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6001 ($(objpfx)tst-strtod-round): Likewise.
6002 ($(objpfx)tst-tininess): Likewise.
6003 ($(objpfx)tst-strtod-underflow): Likewise.
6004 ($(objpfx)tst-strtod6): Likewise.
6005 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6006 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6007 $(common-objpfx)dlfcn/libdl.so.
6009 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6012 BSD terminal modes definitions.
6014 2014-05-16 Roland McGrath <roland@hack.frob.com>
6016 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6017 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6019 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6020 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6021 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6022 Don't do #include_next.
6023 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6024 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6025 Don't do #include_next.
6026 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6027 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6028 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6029 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6031 2014-05-16 Allan McRae <allan@archlinux.org>
6033 * po/sv.po: Update Swedish translation from translation project.
6035 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6038 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6041 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6042 errno if the TIOCGPTN ioctl fails with an error different than
6044 * login/tst-ptsname.c: New file.
6045 * login/Makefile (tests): Add tst-ptsname.
6048 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6051 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6055 herrno to return EAI_AGAIN.
6057 2014-05-14 Roland McGrath <roland@hack.frob.com>
6059 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6060 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6061 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6062 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6063 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6064 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6066 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6068 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6069 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6070 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6071 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6072 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6074 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6075 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6076 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6077 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6078 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6079 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6080 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6081 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6082 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6083 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6084 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6085 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6086 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6088 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6090 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6092 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6095 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6097 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6099 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6101 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6103 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6105 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6107 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6109 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6111 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6113 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6115 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6117 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6119 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6121 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6124 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6128 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6130 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6138 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6140 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6142 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6145 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6147 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6149 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6150 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6151 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6152 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6153 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6155 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6157 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6158 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6159 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6160 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6161 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6163 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6164 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6165 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6167 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6168 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6169 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6171 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6172 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6173 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6175 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6177 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6178 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6179 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6181 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6182 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6184 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6185 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6186 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6188 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6189 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6194 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6197 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6201 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6202 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6207 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6209 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6211 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6214 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6215 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6217 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6219 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6220 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6221 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6222 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6231 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6232 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6233 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6236 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6239 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6242 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6243 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6246 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6247 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6255 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6256 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6259 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6260 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6262 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6264 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6265 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6267 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6276 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6277 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6278 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6281 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6282 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6285 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6291 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6294 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6296 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6297 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6298 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6301 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6303 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6304 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6305 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6307 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6310 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6315 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6316 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6317 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6318 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6326 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6327 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6329 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6331 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6332 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6333 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6334 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6335 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6337 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6338 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6340 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6341 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6343 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6344 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6345 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6347 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6351 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6352 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6353 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6354 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6355 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6356 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6357 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6359 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6362 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6363 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6364 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6367 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6369 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6371 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6379 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6381 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6383 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6385 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6387 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6389 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6391 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6392 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6393 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6394 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6395 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6398 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6399 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6400 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6401 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6403 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6404 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6405 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6406 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6407 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6408 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6409 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6410 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6411 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6412 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6417 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6418 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6419 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6420 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6421 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6422 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6423 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6424 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6425 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6426 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6427 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6428 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6429 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6430 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6454 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6458 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6460 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6462 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6463 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6464 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6468 that was previously under [RESET_PID].
6469 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6470 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6471 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6473 * sysdeps/i386/nptl/Implies: New file.
6474 * sysdeps/x86_64/nptl/Implies: New file.
6475 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6476 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6478 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6480 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6481 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6482 (__libc_vfork): New strong alias.
6483 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6484 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6486 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6487 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6488 (__libc_vfork): New strong alias.
6489 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6490 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6492 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6493 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6494 (__libc_vfork): New strong alias.
6495 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6496 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6497 * nptl/pt-vfork.c: New file.
6498 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6499 (libpthread: GLIBC_2.20): New version set (empty).
6501 2014-05-14 Will Newton <will.newton@linaro.org>
6503 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6506 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6509 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6510 arguments with exponent 65 or above.
6511 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6512 arguments 0x1p113L or above.
6513 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6514 to arguments 0x1p107L or above.
6515 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6516 positive arguments with exponent 65 or above.
6517 * math/auto-libm-test-in: Add more tests of log1p.
6518 * math/auto-libm-test-out: Regenerated.
6521 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6522 non-finite arguments is +0.
6523 * math/s_cacosf.c (__cacosf): Likewise.
6524 * math/s_cacosl.c (__cacosl): Likewise.
6525 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6526 * sysdeps/i386/fpu/libm-test-ulps: Update.
6527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6530 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6532 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6533 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6534 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6535 for explicit high bit of mantissa when testing for argument equal
6537 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6538 * sysdeps/i386/fpu/libm-test-ulps: Update.
6539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6542 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6543 (__erf): Scale by 16 instead of 8 in potentially underflowing
6544 case. Ensure exception if result actually underflows.
6545 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6546 (__erff): Scale by 16 instead of 8 in potentially underflowing
6547 case. Ensure exception if result actually underflows.
6548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6549 (efx8): Remove variable.
6550 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6551 case. Ensure exception if result actually underflows.
6552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6553 (efx8): Remove variable.
6554 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6555 case. Ensure exception if result actually underflows.
6556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6557 (efx8): Remove variable.
6558 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6559 case. Ensure exception if result actually underflows.
6560 * math/auto-libm-test-in: Add more tests of erf.
6561 * math/auto-libm-test-out: Regenerated.
6563 2014-05-14 Andreas Schwab <schwab@suse.de>
6565 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6566 Remove code conditionalized on USE___THREAD.
6568 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6569 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6572 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6575 Define unconditionally.
6576 (__ASSUME_O_CLOEXEC): Likewise.
6577 (__ASSUME_SOCK_CLOEXEC): Likewise.
6578 (__ASSUME_IN_NONBLOCK): Likewise.
6579 (__ASSUME_PIPE2): Likewise.
6580 (__ASSUME_EVENTFD2): Likewise.
6581 (__ASSUME_SIGNALFD4): Likewise.
6582 (__ASSUME_DUP3): Likewise.
6583 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6584 (__ASSUME_DUP3): Do not define.
6585 (__ASSUME_EVENTFD2): Likewise.
6586 (__ASSUME_IN_NONBLOCK): Likewise.
6587 (__ASSUME_O_CLOEXEC): Likewise.
6588 (__ASSUME_PIPE2): Likewise.
6589 (__ASSUME_SIGNALFD4): Likewise.
6590 (__ASSUME_SOCK_CLOEXEC): Likewise.
6591 (__ASSUME_UTIMES): Undefine.
6592 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6593 (__ASSUME_UTIMES): Do not define.
6594 (__ASSUME_O_CLOEXEC): Likewise.
6595 (__ASSUME_SOCK_CLOEXEC): Likewise.
6596 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6597 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6599 (__ASSUME_PIPE2): Likewise.
6600 (__ASSUME_EVENTFD2): Likewise.
6601 (__ASSUME_SIGNALFD4): Likewise.
6602 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6603 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6605 (__ASSUME_EVENTFD2): Likewise.
6606 (__ASSUME_SIGNALFD4): Likewise.
6607 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6608 (__ASSUME_32BITUIDS): Likewise.
6609 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6610 (__ASSUME_IPC64): Likewise.
6611 (__ASSUME_ST_INO_64_BIT): Likewise.
6612 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6613 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6614 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6615 (__ASSUME_UTIMES): Do not define.
6616 (__ASSUME_PSELECT): Likewise.
6617 (__ASSUME_PPOLL): Likewise.
6618 (__ASSUME_O_CLOEXEC): Likewise.
6619 (__ASSUME_SOCK_CLOEXEC): Likewise.
6620 (__ASSUME_IN_NONBLOCK): Likewise.
6621 (__ASSUME_PIPE2): Likewise.
6622 (__ASSUME_EVENTFD2): Likewise.
6623 (__ASSUME_SIGNALFD4): Likewise.
6624 (__ASSUME_DUP3): Likewise.
6625 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6626 (__ASSUME_UTIMES): Likewise.
6627 (__ASSUME_O_CLOEXEC): Likewise.
6628 (__ASSUME_SOCK_CLOEXEC): Likewise.
6629 (__ASSUME_IN_NONBLOCK): Likewise.
6630 (__ASSUME_PIPE2): Likewise.
6631 (__ASSUME_EVENTFD2): Likewise.
6632 (__ASSUME_SIGNALFD4): Likewise.
6633 (__ASSUME_DUP3): Likewise.
6634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6635 (__ASSUME_UTIMES): Likewise.
6636 (__ASSUME_O_CLOEXEC): Likewise.
6637 (__ASSUME_SOCK_CLOEXEC): Likewise.
6638 (__ASSUME_IN_NONBLOCK): Likewise.
6639 (__ASSUME_PIPE2): Likewise.
6640 (__ASSUME_EVENTFD2): Likewise.
6641 (__ASSUME_SIGNALFD4): Likewise.
6642 (__ASSUME_DUP3): Likewise.
6643 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6645 (__ASSUME_UTIMES): Likewise.
6646 (__ASSUME_EVENTFD2): Likewise.
6647 (__ASSUME_SIGNALFD4): Likewise.
6648 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6649 (__ASSUME_O_CLOEXEC): Likewise.
6650 (__ASSUME_SOCK_CLOEXEC): Likewise.
6651 (__ASSUME_IN_NONBLOCK): Likewise.
6652 (__ASSUME_PIPE2): Likewise.
6653 (__ASSUME_EVENTFD2): Likewise.
6654 (__ASSUME_SIGNALFD4): Likewise.
6655 (__ASSUME_DUP3): Likewise.
6656 (__ASSUME_UTIMES): Undefine.
6658 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6659 feclearexcept. Remove symbol versioning code.
6660 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6661 symbol versioning code.
6662 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6663 symbol versioning code.
6664 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6665 feupdateenv. Remove symbol versioning code.
6666 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6667 fegetexceptflag. Remove symbol versioning code.
6668 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6669 fesetexceptflag. Remove symbol versioning code.
6670 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6671 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6672 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6673 (__posix_fadvise64_l32): Remove prototype.
6674 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6677 2014-05-13 Roland McGrath <roland@hack.frob.com>
6679 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6680 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6681 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6682 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6684 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6686 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6687 current working directory
6689 2014-05-13 Roland McGrath <roland@hack.frob.com>
6691 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6692 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6693 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6694 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6695 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6696 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6697 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6698 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6702 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6704 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6705 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6706 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6707 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6720 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6721 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6722 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6723 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6724 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6725 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6726 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6727 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6728 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6729 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6730 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6731 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6732 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6734 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6735 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6737 * sysdeps/unix/sysv/linux/arm/Makefile
6738 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6739 Add rt-aeabi_unwind_cpp_pr1.
6740 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6741 Add nptl-aeabi_unwind_cpp_pr1.
6742 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6743 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6744 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6745 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6746 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6747 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6749 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6750 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6751 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6752 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6754 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6755 Deconditionalize the code that was previously under [RESET_PID].
6756 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6758 * sysdeps/generic/exit-thread.h: New file.
6759 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6760 * include/unistd.h (__exit_thread): Remove declaration.
6761 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6762 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6763 * csu/libc-start.c: Include <exit-thread.h>.
6764 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6765 * nptl/pthread_create.c: Include <exit-thread.h>.
6766 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6767 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6768 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6769 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6770 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6771 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6772 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6773 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6774 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6775 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6776 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6777 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6778 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6779 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6780 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6781 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6782 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6784 2014-05-13 Andreas Schwab <schwab@suse.de>
6786 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6788 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6790 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6791 (__ASSUME_UTIMES): Do not condition on kernel version.
6792 (__ASSUME_PSELECT): Define unconditionally.
6793 (__ASSUME_PPOLL): Likewise.
6794 (__ASSUME_ATFCTS): Likewise.
6795 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6796 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6797 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6798 (__ASSUME_UTIMENSAT): Define unconditionally.
6799 (__ASSUME_PRIVATE_FUTEX): Likewise.
6800 (__ASSUME_FALLOCATE): Likewise.
6801 (__ASSUME_O_CLOEXEC): Likewise.
6802 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6803 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6804 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6805 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6806 (__ASSUME_IN_NONBLOCK): Likewise.
6807 (__ASSUME_PIPE2): Likewise.
6808 (__ASSUME_EVENTFD2): Likewise.
6809 (__ASSUME_SIGNALFD4): Likewise.
6810 (__ASSUME_DUP3): Likewise.
6811 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6812 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6813 (__ASSUME_AT_RANDOM): Likewise.
6814 (__ASSUME_PREADV): Likewise.
6815 (__ASSUME_PWRITEV): Likewise.
6816 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6817 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6818 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6819 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6820 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6822 (__ASSUME_O_CLOEXEC): Define unconditionally.
6823 (__ASSUME_PSELECT): Do not undefine conditionally.
6824 (__ASSUME_PPOLL): Likewise.
6825 (__ASSUME_ATFCTS): Likewise.
6826 (__ASSUME_SET_ROBUST_LIST): Likewise.
6827 (__ASSUME_UTIMENSAT): Likewise.
6828 (__ASSUME_FDATASYNC): Define unconditionally.
6829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6830 (__ASSUME_SIGFRAME_V2): Likewise.
6831 )__ASSUME_EVENTFD2): Likewise.
6832 (__ASSUME_SIGNALFD4): Likewise.
6833 (__ASSUME_PSELECT): Do not undefine conditionally.
6834 (__ASSUME_PPOLL): Likewise.
6835 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6836 (__ASSUME_PSELECT): Define unconditionally.
6837 (__ASSUME_PPOLL): Likewise.
6838 (__ASSUME_O_CLOEXEC): Likewise.
6839 (__ASSUME_SOCK_CLOEXEC): Likewise.
6840 (__ASSUME_IN_NONBLOCK): Likewise.
6841 (__ASSUME_PIPE2): Likewise.
6842 (__ASSUME_EVENTFD2): Likewise.
6843 (__ASSUME_SIGNALFD4): Likewise.
6844 (__ASSUME_DUP3): Likewise.
6845 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6846 (__ASSUME_O_CLOEXEC): Likewise.
6847 (__ASSUME_SOCK_CLOEXEC): Likewise.
6848 (__ASSUME_IN_NONBLOCK): Likewise.
6849 (__ASSUME_PIPE2): Likewise.
6850 (__ASSUME_EVENTFD2): Likewise.
6851 (__ASSUME_SIGNALFD4): Likewise.
6852 (__ASSUME_DUP3): Likewise.
6853 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6854 (__ASSUME_EVENTFD2): Likewise.
6855 (__ASSUME_SIGNALFD4): Likewise.
6856 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6858 2014-05-12 Andreas Schwab <schwab@suse.de>
6861 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6862 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6863 than maximum RPC packet size.
6864 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6865 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6866 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6867 (_nss_nis_getservbyport_r): Likewise.
6869 2014-05-12 Will Newton <will.newton@linaro.org>
6871 * malloc/Makefile (tests): Add tst-mallopt.
6872 * malloc/tst-mallopt.c: New file.
6874 2014-05-09 Roland McGrath <roland@hack.frob.com>
6876 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6877 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6879 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6882 (tst-tlsmod6.so): Likewise.
6884 2014-05-09 Roland McGrath <roland@hack.frob.com>
6886 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6888 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6891 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6892 and <dl-procinfo.h>.
6893 (__fegetenv): Save SSE state in envp->__eip if supported.
6894 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6895 envp->__eip if supported.
6896 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6897 and <dl-procinfo.h>.
6898 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6899 __data_offset and __data_selector in environment to 0. Set SSE
6901 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6903 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6905 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6907 2014-05-09 Will Newton <will.newton@linaro.org>
6909 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6910 and libc_relro_required for ARM.
6911 * sysdeps/arm/preconfigure: Regenerate.
6913 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6914 Stefan Liebler <stli@linux.vnet.ibm.com>
6916 * config.make.in (enable-lock-elision): New Makefile variable.
6917 * configure.ac: Likewise.
6918 * configure: Regenerate.
6919 * sysdeps/s390/configure.ac:
6920 Add check for gcc transactions support.
6921 * sysdeps/s390/configure: Regenerate.
6922 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6923 Build elision files if enabled.
6924 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6925 Add lock elision support for s390.
6926 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6927 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6928 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6929 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6930 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6931 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6932 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6934 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6936 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6938 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6940 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6941 (__lll_timedlock_elision, __lll_lock_elision)
6942 (__lll_unlock_elision, __lll_trylock_elision)
6943 (lll_timedlock_elision, lll_lock_elision)
6944 (lll_unlock_elision, lll_trylock_elision): Add.
6945 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6946 (pthread_mutex_t): Add lock elision support for s390.
6948 2014-05-14 Wilco <wdijkstr@arm.com>
6950 * sysdeps/arm/fclrexcpt.c: Cleanup.
6951 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6952 * sysdeps/arm/feenablxcpt.c: Cleanup.
6953 * sysdeps/arm/fegetenv.c: Cleanup.
6954 * sysdeps/arm/fegetexcept.c: Cleanup.
6955 * sysdeps/arm/fegetround.c: Cleanup.
6956 * sysdeps/arm/feholdexcpt.c: Cleanup.
6957 * sysdeps/arm/fesetenv.c: Cleanup.
6958 * sysdeps/arm/fesetround.c: Cleanup.
6959 * sysdeps/arm/feupdateenv.c: Cleanup.
6960 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6961 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6962 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6963 * sysdeps/arm/ftestexcept.c: Cleanup.
6964 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6965 * sysdeps/arm/setfpucw.c: Cleanup.
6967 2014-05-09 Will Newton <will.newton@linaro.org>
6969 * sysdeps/arm/armv7/strcmp.S: New file.
6970 * NEWS: Mention addition of ARMv7 optimized strcmp.
6972 2014-05-08 Roland McGrath <roland@hack.frob.com>
6974 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6975 look for %.ac rather than %.in.
6977 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6978 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6979 * sysdeps/mach/hurd/configure: Regenerated.
6980 * sysdeps/unix/sysv/linux/configure: Regenerated.
6982 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6984 2014-05-07 Steve Ellcey <sellcey@mips.com>
6987 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6991 2014-05-07 Andreas Schwab <schwab@suse.de>
6993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6994 when skipping over non-matching result from nscd.
6996 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6999 * nptl/sockperf.c (client): Check socket return value.
7002 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7003 nscd security class.
7005 2014-05-06 Roland McGrath <roland@hack.frob.com>
7007 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7008 * sysdeps/arm/unwind.h: ... here.
7010 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7013 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7016 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7018 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7019 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7020 multiarch strncpy for PPC64.
7021 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7022 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7024 multiarch optimizations.
7025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7026 (__libc_ifunc_impl_list): Likewise.
7027 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7028 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7029 multiarch stpncpy for PPC64.
7030 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7031 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7033 2014-05-06 Andreas Schwab <schwab@suse.de>
7036 * gmon/mcount.c (_MCOUNT_DECL): Use
7037 atomic_compare_and_exchange_bool_acq instead of
7038 catomic_compare_and_exchange_bool_acq.
7040 2014-05-05 Roland McGrath <roland@hack.frob.com>
7042 * elf/Makefile (others, install-bin): Remove pldd.
7043 (pldd-modules): Variable removed.
7044 ($(objpfx)pldd): Target removed.
7045 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7046 (others, install-bin): Append pldd here.
7047 ($(objpfx)pldd): New target.
7049 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7050 to 0, so the first #if test emitted later doesn't see it undefined.
7051 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7052 * sysdeps/gnu/errlist.c: Regenerated.
7054 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7057 [libc_hidden_builtin_def]: Define to empty value.
7058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7059 [libc_hidden_builtin_def]: Likewise.
7060 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7061 [libc_hidden_builtin_def]: Likewise.
7062 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7063 [libc_hidden_builtin_def]: Likewise.
7064 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7065 __redirect_memcpy and define ifunc as default hidden symbol.
7066 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7067 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7069 2014-05-04 Adam Conrad <adconrad@0c3.net>
7071 * locale/iso-4217.def: Reintroduce XDR currency.
7073 2014-05-04 Allan McRae <allan@archlinux.org>
7075 * po/eo.po: Update Esperanto translation from translation project.
7077 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7079 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7080 and FEATURE_INDEX_MAX to 1.
7081 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7083 2014-05-01 Steve Ellcey <sellcey@mips.com>
7085 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7086 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7087 * iconvdata/big5.c (ONE_DIRECTION): Define.
7088 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7089 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7090 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7091 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7092 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7093 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7094 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7095 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7096 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7097 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7098 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7099 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7100 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7101 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7102 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7103 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7104 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7105 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7106 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7107 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7108 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7109 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7110 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7111 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7112 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7113 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7114 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7115 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7116 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7117 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7118 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7119 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7120 * iconvdata/johab.c (ONE_DIRECTION): Define.
7121 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7122 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7123 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7124 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7125 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7126 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7127 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7128 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7129 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7130 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7132 2014-05-01 Roland McGrath <roland@hack.frob.com>
7134 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7135 (_IO_JUMPS_OFFSET): Define to 0.
7137 * nptl/sysdeps/pthread/bits/libc-lock.h
7138 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7139 (__libc_lock_define_initialized_recursive): Always define using
7140 initializer. Modern compilers treat uninitialized (implicit zero) and
7141 explicit zero initializers the same (i.e. put the datum in bss).
7143 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7145 * nscd/nscd-client.h: Include <string.h>.
7147 2014-05-01 David S. Miller <davem@davemloft.net>
7150 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7151 multiple zero bytes exist at the end of a string.
7152 Reported by Aurelien Jarno <aurelien@aurel32.net>
7154 * string/test-strcmp.c (check): Add explicit test for situations where
7155 there are multiple zero bytes after the first.
7157 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7160 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7161 when compiling wprintf.
7162 * stdio-common/tstdiomisc.c (t3): New function.
7165 2014-05-01 Steve Ellcey <sellcey@mips.com>
7167 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7168 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7169 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7170 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7172 2014-05-01 Steve Ellcey <sellcey@mips.com>
7174 * stdlib/longlong.h: Updated from GCC.
7176 2014-05-01 Will Newton <will.newton@linaro.org>
7177 Bernard Ogden <bernie.ogden@linaro.org>
7179 * NEWS: Update fixed bug list.
7182 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7184 2014-04-30 David S. Miller <davem@davemloft.net>
7186 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7187 (libc_feholdexcept_setround_sparc_ctx): New function.
7188 (libc_fesetenv_sparc_ctx): Likewise.
7189 (libc_feupdateenv_sparc_ctx): Likewise.
7190 (libc_feholdsetround_sparc_ctx): Likewise.
7191 (libc_feholdexcept_setround_ctx): Define.
7192 (libc_feholdexcept_setroundf_ctx): Likewise.
7193 (libc_feholdexcept_setroundl_ctx): Likewise.
7194 (libc_fesetenv_ctx): Likewise.
7195 (libc_fesetenvf_ctx): Likewise.
7196 (libc_fesetenvl_ctx): Likewise.
7197 (libc_feupdateenv_ctx): Likewise.
7198 (libc_feupdateenvf_ctx): Likewise.
7199 (libc_feupdateenvl_ctx): Likewise.
7200 (libc_feresetround_ctx): Likewise.
7201 (libc_feresetroundf_ctx): Likewise.
7202 (libc_feresetroundl_ctx): Likewise.
7203 (libc_feholdsetround_ctx): Likewise.
7204 (libc_feholdsetroundf_ctx): Likewise.
7205 (libc_feholdsetroundl_ctx): Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7208 with __USE_GNU instead of XOPEN cpp guards.
7210 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7214 with XOPEN cpp guards.
7216 2014-04-30 Julian Brown <julian@codesourcery.com>
7219 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7222 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7225 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7227 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7228 * sysdeps/unix/sysv/linux/configure: Regenerated.
7229 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7230 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7231 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7232 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7233 * README: Update reference to required Linux kernel version.
7234 * manual/install.texi (Linux): Update reference to required Linux
7235 kernel headers version.
7236 * INSTALL: Regenerated.
7238 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7240 [POSIX] (limits.h): Likewise.
7241 [POSIX] (math.h): Likewise.
7242 [POSIX] (sys/wait.h): Likewise.
7243 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7245 [POSIX] (stddef.h): Do not allow header inclusion.
7247 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7249 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7251 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7253 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7254 Return immediately after lll_futex_wake.
7256 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7259 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7261 (datahead_init_pos): Call datahead_init_common early.
7262 (datahead_init_neg): Likewise.
7264 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7265 datahead_init_neg): New functions.
7266 * nscd/aicache.c (addhstaiX): Use them.
7267 * nscd/grpcache.c (cache_addgr): Likewise.
7268 * nscd/hstcache.c (cache_addhst): Likewise.
7269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7270 * nscd/netgroupcache.c (do_notfound): Likewise.
7271 (addgetnetgrentX): Likewise.
7272 (addinnetgrX): Likewise.
7273 * nscd/pwdcache.c (cache_addpw): Likewise.
7274 * nscd/servicescache.c (cache_addserv): Likewise.
7276 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7277 Atsushi Onoe <atsushi@onoe.org>
7282 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7283 one response is valid.
7284 * resolv/res_send.c (send_dg): Check for validity of other
7285 response if the current response is a referral.
7287 2014-04-29 Steve Ellcey <sellcey@mips.com>
7289 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7291 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7294 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7295 Always divide by positive zero when computing -Inf result.
7296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7297 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7299 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7302 FPSCR if value do not change.
7303 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7304 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7305 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7306 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7307 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7308 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7311 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7313 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7314 * sysdeps/unix/sysv/linux/hppa: Move directory from
7315 ports/systeps/unix/sysv/linux/hppa.
7316 * README: Update listing for hppa-*-linux-gnu.
7318 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7321 * manual/stdio.texi (Hook functions): Fix types of stream hook
7324 * socket/sys/socket.h: Fix typo in comment.
7326 2014-04-28 Wilco <wdijkstr@arm.com>
7328 * sysdeps/arm/fenv_private.h: New file.
7329 * sysdeps/arm/math_private.h: New file.
7330 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7332 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7334 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7336 (La_x86_64_retval): Likewise.
7338 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7340 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7341 fpsr if value didn't change.
7342 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7343 to fpcr if value didn't change.
7344 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7345 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7346 fpsr or fpcr if value didn't change.
7347 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7348 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7349 fpcr if value didn't change.
7350 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7351 to fpsr if value didn't change.
7353 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7355 * nptl/tst-sem3.c: Use test-skeleton.c
7356 (main): Rename to do_test. Use return instead of
7358 * nptl/tst-sem4.c: Use test-skeleton.c
7359 (main): Rename to do_test.
7361 2014-04-22 David S. Miller <davem@davemloft.net>
7363 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7364 (struct sigaction): New struct member __glibc_reserved0, change
7365 type of sa_flags to int.
7367 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7369 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7370 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7372 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7374 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7375 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7377 2014-04-22 Will Newton <will.newton@linaro.org>
7378 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7380 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7381 (__longjmp): Add longjmp and longjmp_target SystemTap
7383 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7384 (__sigsetjmp): Add setjmp SystemTap probe.
7386 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7388 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7391 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7395 * sysdeps/powerpc/fpu/fenv_private.h
7396 (libc_feholdexcept_setroundl_ctx): Define to
7397 libc_feholdexcept_setround_ppc_ctx.
7398 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7399 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7400 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7401 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7403 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7405 * sysdeps/aarch64/math-tests.h: New file.
7407 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7409 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7412 Check and set bit_AVX2_Usable.
7413 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7415 (bit_AVX2): Likewise.
7416 (index_AVX2_Usable): Likewise.
7417 (CPUID_AVX2): Likewise.
7418 (HAS_AVX2): Likewise.
7420 2014-04-17 Will Newton <will.newton@linaro.org>
7422 * manual/setjmp.texi (System V contexts): Add note that
7423 calling setcontext on a context created by a call to a
7424 signal handler is undefined. Update text to note that
7425 setcontext from a signal handler is possible but not
7429 * stdlib/tst-setcontext.c: Include signal.h.
7430 (main): Check that the signal stack before and
7431 after swapcontext is the same.
7433 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7434 Re-implement to restore registers in user code and avoid
7435 rt_sigreturn system call.
7437 2014-04-17 Wilco <wdijkstr@arm.com>
7439 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7440 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7441 * math/test-fenv.c: Skip exception trap tests on targets which only
7442 support non-stop mode.
7444 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7445 Wilco Dijkstra <wilco.dijkstra@arm.com>
7447 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7448 (libc_feholdsetround_aarch64_ctx)
7449 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7450 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7451 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7452 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7453 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7454 (libc_feresetround_noexl_ctx): Define.
7456 2014-04-16 Richard Henderson <rth@redhat.com>
7458 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7460 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7463 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7464 const from the non-libc, non-ldso copy.
7466 * sysdeps/alpha/libm-test-ulps: Regenerate.
7468 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7469 Wilco Dijkstra <wilco.dijkstra@arm.com>
7471 * sysdeps/aarch64/fpu/math_private.h: New file.
7473 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7475 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7477 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7480 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7481 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7483 Intel MPX bound registers before _dl_profile_fixup.
7484 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7485 registers after _dl_profile_fixup. Save and restore bound
7486 registers bnd0/bnd1 when calling _dl_call_pltexit.
7487 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7488 (LR_BND_OFFSET): Likewise.
7489 (LRV_BND0_OFFSET): Likewise.
7490 (LRV_BND1_OFFSET): Likewise.
7492 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7494 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7496 * sysdeps/mach/hurd/i386/tls.h: ... here.
7497 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7498 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7501 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7503 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7505 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7509 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7512 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7513 * sysdeps/s390/configure: Regenerate.
7516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7517 Set round-to-nearest internally to reduce error accumulation.
7519 2014-04-16 Alan Modra <amodra@gmail.com>
7523 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7524 * math/libm-test.inc (frexp_test_data): Add tests.
7525 * NEWS: Update fixed bug list.
7527 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7529 * benchtests/Makefile: Depend on libraries in build directory.
7530 (bench-math): Separate out math tests.
7531 (bench-pthread): Separate out pthread tests.
7532 (bench): Include math and pthread tests.
7534 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7537 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7538 _dl_debug_initialize.
7540 * configure.ac: Remove SELinux header check.
7541 * configure: Regenerate.
7542 * nscd/selinux.c (perms): Array of const char* to permission names.
7543 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7544 default policy. Call string_to_security_class and string_to_av_perm to
7545 translate strings. Enforce default policy and call avs_has_perm with
7546 results of translated strings.
7548 2014-04-13 David S. Miller <davem@davemloft.net>
7550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7552 2014-04-12 Allan McRae <allan@archlinux.org>
7555 * manual/string.texi (Collation Functions): Fix qsort argument
7557 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7559 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7561 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7562 Make the test a no-op if there are no exceptions defined.
7564 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7566 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7567 enable-hardcoded-path-in-tests
7569 2014-04-11 Will Newton <will.newton@linaro.org>
7571 * benchtests/Makefile (extra-objs): Add json-lib.o.
7572 (bench-func): Tidy up JSON output.
7573 * benchtests/bench-skeleton.c: Include json-lib.h.
7574 (main): Use JSON library functions to do output of
7576 * benchtests/bench-timing-type.c (main): Output the
7577 timing type simply, leaving formatting to the user.
7578 * benchtests/json-lib.c: New file.
7579 * benchtests/json-lib.h: Likewise.
7581 2014-04-11 Torvald Riegel <triegel@redhat.com>
7584 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7585 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7586 memory barriers. Add comments.
7587 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7588 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7589 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7590 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7591 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7592 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7594 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7596 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7597 * sysdeps/s390/s390-64/configure.ac: ... this ...
7598 * sysdeps/s390/configure.ac: ... to here.
7599 * sysdeps/s390/s390-32/configure: Delete file.
7600 * sysdeps/s390/s390-64/configure: Delete file.
7601 * sysdeps/s390/configure: Regenerate.
7603 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7605 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7607 2014-04-11 Will Newton <will.newton@linaro.org>
7609 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7610 to zero if it is not defined elsewhere. (mtrim): Test
7611 the value of MALLOC_DEBUG with #if rather than #ifdef.
7613 2014-04-10 Torvald Riegel <triegel@redhat.com>
7615 * benchtests/pthread_once-inputs: New file.
7616 * benchtests/pthread_once-source.c: New file.
7617 * benchtests/README: Update documentation.
7619 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7620 H.J. Lu <hongjiu.lu@intel.com>
7623 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7624 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7625 * sysdeps/x86_64/configure: Regenerated.
7626 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7628 (REGISTER_SAVE_RAX): Likewise.
7629 (REGISTER_SAVE_RCX): Likewise.
7630 (REGISTER_SAVE_RDX): Likewise.
7631 (REGISTER_SAVE_RSI): Likewise.
7632 (REGISTER_SAVE_RDI): Likewise.
7633 (REGISTER_SAVE_R8): Likewise.
7634 (REGISTER_SAVE_R9): Likewise.
7635 (REGISTER_SAVE_BND0): Likewise.
7636 (REGISTER_SAVE_BND1): Likewise.
7637 (REGISTER_SAVE_BND2): Likewise.
7638 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7639 bound registers when calling _dl_fixup.
7641 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7644 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7646 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7647 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7648 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7649 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7650 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7651 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7652 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7654 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7657 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7658 pathconf(_PC_NAME_MAX).
7660 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7664 (__PTHREAD_SPINS): Move definition to ...
7665 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7666 (__PTHREAD_SPINS): ... here.
7667 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7668 (__PTHREAD_SPIN): Likewise.
7669 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7670 (__PTHREAD_SPIN): Likewise.
7671 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7672 (__PTHREAD_SPIN): Likewise.
7673 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7674 (__PTHREAD_SPIN): Likewise.
7675 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7676 (__PTHREAD_SPIN): Likewise.
7677 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7678 (__PTHREAD_SPIN): Likewise.
7679 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7680 (__PTHREAD_SPIN): Likewise.
7681 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7682 (__PTHREAD_SPIN): Likewise.
7683 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7684 (__PTHREAD_SPIN): Likewise.
7685 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7686 (__PTHREAD_SPIN): Likewise.
7687 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7688 (__PTHREAD_SPIN): Likewise.
7689 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7690 (__PTHREAD_SPIN): Likewise.
7692 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7693 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7694 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7695 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7697 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7698 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7699 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7700 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7702 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7703 strlen symbol for non multi-arch builds.
7704 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7705 missing hidden_def and weak_alias.
7707 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7709 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7711 2014-04-07 Will Newton <will.newton@linaro.org>
7713 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7714 and contents. [!_LIBC] Remove #ifndef and contents.
7715 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7716 * string/memccpy.c (__memccpy): Use ANSI prototype.
7717 * string/memfrob.c (memfrob): Likewise.
7718 * string/strcoll.c (STRCOLL): Likewise.
7719 * string/strlen.c (strlen): Likewise.
7720 * string/strtok.c (STRTOK): Likewise.
7721 * string/strcat.c: Remove unused #include of memcopy.h.
7722 (strcat): Use ANSI prototype.
7723 * string/strchr.c: Remove unused #include of memcopy.h.
7724 (strchr): Use ANSI prototype.
7725 * string/strcmp.c: Remove unused #include of memcopy.h.
7726 (strcmp): Use ANSI prototype.
7727 * string/strcpy.c: Remove unused #include of memcopy.h.
7728 (strcpy): Use ANSI prototype.
7730 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7733 * config.make.in (config-extra-cppflags): Set it from
7734 libc_extra_cppflags.
7735 * configure.ac (libc_extra_cflags): Make it accumulate over
7736 configure fragments.
7737 (libc_extra_cppflags): New flag.
7738 * configure. Regenerate.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7740 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7741 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7746 result for FE_DOWNWARD rounding mode.
7747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7751 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7753 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7754 in function argument name.
7756 2014-04-03 David Svoboda <svoboda@cert.org>
7759 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7762 2014-04-03 Roland McGrath <roland@hack.frob.com>
7764 * elf/dl-unmap-segments.h: New file.
7765 * sysdeps/generic/ldsodefs.h
7766 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7767 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7768 * elf/dl-fptr.c: Likewise.
7769 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7770 * sysdeps/aarch64/tlsdesc.c: Likewise.
7771 * sysdeps/arm/tlsdesc.c: Likewise.
7772 * sysdeps/i386/tlsdesc.c: Likewise.
7773 * sysdeps/tile/dl-runtime.c: Likewise.
7774 * sysdeps/x86_64/tlsdesc.c: Likewise.
7775 * elf/dl-load.h: New file.
7776 * elf/dl-load.c: Include it.
7777 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7778 Macros moved to dl-load.h.
7779 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7780 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7781 Use _dl_unmap_segments in place of __munmap.
7782 Break out segment-mapping loop into ...
7783 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7785 2014-04-03 Will Newton <will.newton@linaro.org>
7787 * elf/dl-lookup.c (do_lookup_x): Remove comment
7788 referring to nested function and move variable
7789 declarations down to before first use.
7791 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7795 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7797 * math/s_catanf.c (__catanf): Likewise.
7798 * math/s_catanh.c (__catanh): Likewise.
7799 * math/s_catanhf.c (__catanhf): Likewise.
7800 * math/s_catanhl.c (__catanhl): Likewise.
7801 * math/s_catanl.c (__catanl): Likewise.
7802 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7803 by positive zero when computing -Inf result.
7804 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7805 (catanh_test): Likewise.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7810 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7811 instead of using underflowing value in computing result.
7812 * math/s_clog10.c (__clog10): Likewise.
7813 * math/s_clog10f.c (__clog10f): Likewise.
7814 * math/s_clog10l.c (__clog10l): Likewise.
7815 * math/s_clogf.c (__clogf): Likewise.
7816 * math/s_clogl.c (__clogl): Likewise.
7817 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7818 (clog10_test): Likewise.
7819 * sysdeps/i386/fpu/libm-test-ulps: Update.
7820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7822 2014-04-02 Alan Modra <amodra@gmail.com>
7825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7826 output when value is near a power of two. Use int64_t for lx and
7827 remove casts. Use decimal rather than hex exponent constants.
7828 Don't use long double multiplication when double will suffice.
7829 * math/libm-test.inc (nextafter_test_data): Add tests.
7830 * NEWS: Add 16739 and 16786 to bug list.
7832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7834 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7836 2014-04-01 Will Newton <will.newton@linaro.org>
7838 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7839 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7841 2014-04-01 Florian Weimer <fweimer@redhat.com>
7844 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7845 * nptl/tst-setuid2.c: New file.
7846 * nptl/Makefile (xtests): Add tst-setuid2.
7848 2014-04-01 Alan Modra <amodra@gmail.com>
7851 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7853 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7857 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7858 set errno as appropriate.
7859 * math/w_scalbf.c (__scalbf): Likewise.
7860 * math/w_scalbl.c (__scalbl): Likewise.
7861 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7862 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7863 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7867 * math/w_atan2.c: Include <errno.h>.
7868 (__atan2): Set errno for result underflowing to zero.
7869 * math/w_atan2f.c: Include <errno.h>.
7870 (__atan2f): Set errno for result underflowing to zero.
7871 * math/w_atan2l.c: Include <errno.h>.
7872 (__atan2l): Set errno for result underflowing to zero.
7873 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7875 * math/auto-libm-test-out: Regenerated.
7877 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7880 Encode instruction correctly in little endian.
7881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7885 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7890 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7893 * sysdeps/unix/sysv/linux/kernel-features.h
7894 [__sparc__ && !__arch64__ && !__sparc_v9__]
7895 (__ASSUME_SET_ROBUST_LIST): Do not define.
7896 [__sparc__ && !__arch64__ && !__sparc_v9__]
7897 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7898 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7901 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7902 (__ASSUME_REQUEUE_PI): Likewise.
7903 (__ASSUME_SET_ROBUST_LIST): Likewise.
7904 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7905 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7908 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7910 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7912 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7915 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7917 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7918 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7924 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7926 2014-03-31 Will Newton <will.newton@linaro.org>
7928 * benchtests/Makefile (bench): Add ffs and ffsll to list
7930 * benchtests/ffs-inputs: New file.
7931 * benchtests/ffsll-inputs: Likewise.
7933 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7936 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7937 too large before casting to int.
7938 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7939 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7940 * math/libm-test.inc (scalb_test_data): Add more tests.
7942 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 * benchtests/Makefile (DETAILED_OPT): New make option.
7945 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7947 * benchtests/bench-skeleton.c: Include stdbool.h.
7948 (main): Store and print timings per input.
7949 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7950 member to each argument value.
7951 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7952 (_print_arg_data): Initialize per-input timing to 0.
7954 * benchtests/Makefile (timing-type): New binary.
7955 (bench-clean): Also remove bench-timing-type.
7956 (bench): New target for timing-type.
7957 (bench-func): Print output in JSON format.
7958 * benchtests/bench-skeleton.c (main): Print output in JSON
7960 * benchtests/bench-timing-type.c: New file.
7961 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7962 (TIMING_PRINT_STATS): Remove.
7963 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7966 * benchtests/bench-modf.c: Remove.
7967 * benchtests/modf-inputs: New inputs file.
7969 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7972 * math/s_clog10.c (M_PI_LOG10E): New macro.
7973 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7974 imaginary parts are 0.
7975 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7976 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7977 imaginary parts are 0.
7978 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7979 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7980 imaginary parts are 0.
7981 * math/libm-test.inc (clog10_test_data): Update expected results
7982 for when real and imaginary parts are 0.
7984 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7986 * elf/dl-load.c: Finish conversion of __builtin_expect into
7989 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7992 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7993 1+x for argument with exponent below -67.
7994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7996 * math/auto-libm-test-in: Add more tests of exp.
7997 * math/auto-libm-test-out: Regenerated.
7999 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8002 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8003 (nscd_getnetgrent): Use it.
8006 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8009 2014-03-27 Andi Kleen <ak@linux.intel.com>
8011 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8012 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8013 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8014 (lll_robust_unlock): Remove out of line section. Use cfi
8016 (LLL_STUB_UNWIND_INFO*): Remove.
8017 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8018 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8019 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8020 (lll_robust_unlock): Remove out of line section. Use cfi
8022 (LLL_STUB_UNWIND_INFO*): Remove.
8024 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8027 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8030 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8032 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8034 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8039 * math/test-fenv-preserve.c: New file.
8040 * math/Makefile (tests): Add test-fenv-preserve.
8042 2014-03-26 Will Newton <will.newton@linaro.org>
8044 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8046 2014-03-25 Roland McGrath <roland@hack.frob.com>
8048 * scripts/versionlist.awk: Partition the version sets and emit all
8049 GLIBC_* (sorted) before all others (sorted).
8051 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8053 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8054 GLIBC_2.2.5 version.
8056 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8061 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8066 2014-03-25 Andreas Schwab <schwab@suse.de>
8068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8069 label to be used after in6ailist is initialized.
8071 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8074 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8076 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8080 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8082 (fp_formats): Update initializers.
8083 (init_fp_formats): Initialize new field.
8084 (output_for_one_input_case): Allow underflow for results up to
8086 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8087 * math/auto-libm-test-in: Don't mark some underflows from asin and
8089 * math/auto-libm-test-out: Regenerated.
8090 * sysdeps/i386/fpu/libm-test-ulps: Update.
8091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8093 2014-03-25 Andreas Schwab <schwab@suse.de>
8095 * libio/Makefile (tst-ftell-partial-wide-ENV)
8096 (tst-ftell-active-handler-ENV): Define.
8098 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8100 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8102 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8104 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8106 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8108 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8109 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8110 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8112 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8115 * elf/dl-load.c (open_verify): Add mode parameter.
8116 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8117 (open_path): Change from boolean 'secure' to complete flag 'mode'
8118 (_dl_map_object): Adjust.
8119 * elf/Makefile (tests): Add tst-dlopen-aout.
8120 * elf/tst-dlopen-aout.c: New test.
8122 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8125 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8126 (struct stat): Rename member pad0 to __glibc_reserved0.
8129 * sysdeps/s390/s390-32/bits/wordsize.h
8130 (__WORDSIZE32_SIZE_ULONG): New define.
8131 * sysdeps/s390/s390-64/bits/wordsize.h
8132 (__WORDSIZE32_SIZE_ULONG): Likewise.
8133 * sysdeps/generic/stdint.h (SIZE_MAX):
8134 Define as UL if __WORDSIZE32_SIZE_ULONG.
8137 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8138 (__glibc_reserved0): New variable.
8139 (sa_flags): Change type to int.
8141 * posix/Makefile (before-compile): Use += before-compile instead
8144 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8145 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8147 2014-03-20 Andreas Schwab <schwab@suse.de>
8150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8151 non-matching result from nscd.
8153 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8155 * scripts/bench.py: Moved to ...
8156 * benchtests/scripts/bench.py: ... here.
8157 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8159 2014-03-24 Andreas Schwab <schwab@suse.de>
8162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8163 alloca_account and account alloca use for struct in6ailist.
8165 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8169 rounding mode to recompute results that overflow to infinity or
8171 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8173 * math/auto-libm-test-out: Regenerated.
8174 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8175 (ccosh_test): Likewise.
8176 (csin_test_data): Use plus_oflow.
8177 (csin_test): Use ALL_RM_TEST.
8178 (csinh_test_data): Use plus_oflow.
8179 (csinh_test): Use ALL_RM_TEST.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8185 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8186 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8187 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8190 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8192 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8193 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8194 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8197 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8198 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8200 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8204 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8206 * scripts/bench.pl: Remove file.
8207 * scripts/bench.py: New benchmark script.
8208 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8209 * benchtests/README: Mention python dependency.
8210 * scripts/pylintrc: New file.
8211 * scripts/pylint: New file.
8213 * bits/mathdef.h: Use #ifdef instead of #if.
8214 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8215 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8216 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8217 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8218 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8219 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8221 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8224 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8226 and strpbrk-ppc64 objects.
8227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8228 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8229 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8230 multiarch strpbrk for POWER7.
8231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8232 multiarch strpbrk for PPC64.
8233 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8235 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8238 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8240 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8241 (atan_test): Likewise.
8242 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8243 (atanh_test): Use ALL_RM_TEST.
8244 (atan2_test_data): Likewise.
8245 (cabs_test): Likewise.
8246 (cacosh_test): Likewise.
8247 (carg_test): Likewise.
8248 (casin_test): Likewise.
8249 (casinh_test): Likewise.
8250 (cbrt_test): Likewise.
8251 (csqrt_test): Likewise.
8252 (erf_test): Likewise.
8253 (erfc_test): Likewise.
8254 (pow10_test): Likewise.
8255 (exp2_test): Likewise.
8256 (hypot_test): Likewise.
8257 (j0_test): Likewise.
8258 (j1_test): Likewise.
8259 (lgamma_test): Likewise.
8260 (gamma_test): Likewise.
8261 (sincos_test): Likewise.
8262 (tanh_test): Likewise.
8263 (y0_test): Likewise.
8264 (y1_test): Likewise.
8265 * sysdeps/i386/fpu/libm-test-ulps: Update.
8266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8268 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8270 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8272 and strcspn-ppc64 objects.
8273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8274 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8275 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8276 multiarch strcspn for POWER7.
8277 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8278 multiarch strcspn for PPC64.
8279 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8281 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8284 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8286 * math/gen-libm-test.pl (generate_testfile): Expect only function
8287 name as argument to AUTO_TESTS_* and pass results for all rounding
8288 modes to parse_args.
8289 (parse_auto_input): Separate inputs of automatic tests from
8290 outputs before storing in %auto_tests.
8291 * math/libm-test.inc (acos_test_data): Update call to
8293 (acos_test): Use ALL_RM_TEST.
8294 (acos_tonearest_test_data): Remove.
8295 (acos_test_tonearest): Likewise.
8296 (acos_towardzero_test_data): Likewise.
8297 (acos_test_towardzero): Likewise.
8298 (acos_downward_test_data): Likewise.
8299 (acos_test_downward): Likewise.
8300 (acos_upward_test_data): Likewise.
8301 (acos_test_upward): Likewise.
8302 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8303 (asin_test_data): Likewise.
8304 (asin_test): Use ALL_RM_TEST.
8305 (asin_tonearest_test_data): Remove.
8306 (asin_test_tonearest): Likewise.
8307 (asin_towardzero_test_data): Likewise.
8308 (asin_test_towardzero): Likewise.
8309 (asin_downward_test_data): Likewise.
8310 (asin_test_downward): Likewise.
8311 (asin_upward_test_data): Likewise.
8312 (asin_test_upward): Likewise.
8313 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8314 (atan_test_data): Likewise.
8315 (atanh_test_data): Likewise.
8316 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8317 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8318 (carg_test_data): Likewise.
8319 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8320 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8321 (ccosh_test_data): Likewise.
8322 (cexp_test_data): Likewise.
8323 (clog_test_data): Likewise.
8324 (clog10_test_data): Likewise.
8325 (cos_test_data): Update call to AUTO_TESTS_f_f.
8326 (cos_test): Use ALL_RM_TEST.
8327 (cos_tonearest_test_data): Remove.
8328 (cos_test_tonearest): Likewise.
8329 (cos_towardzero_test_data): Likewise.
8330 (cos_test_towardzero): Likewise.
8331 (cos_downward_test_data): Likewise.
8332 (cos_test_downward): Likewise.
8333 (cos_upward_test_data): Likewise.
8334 (cos_test_upward): Likewise.
8335 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8336 (cosh_test): Use ALL_RM_TEST.
8337 (cosh_tonearest_test_data): Remove.
8338 (cosh_test_tonearest): Likewise.
8339 (cosh_towardzero_test_data): Likewise.
8340 (cosh_test_towardzero): Likewise.
8341 (cosh_downward_test_data): Likewise.
8342 (cosh_test_downward): Likewise.
8343 (cosh_upward_test_data): Likewise.
8344 (cosh_test_upward): Likewise.
8345 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8346 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8347 (ctan_test_data): Likewise.
8348 (ctan_test): Use ALL_RM_TEST.
8349 (ctan_tonearest_test_data): Remove.
8350 (ctan_test_tonearest): Likewise.
8351 (ctan_towardzero_test_data): Likewise.
8352 (ctan_test_towardzero): Likewise.
8353 (ctan_downward_test_data): Likewise.
8354 (ctan_test_downward): Likewise.
8355 (ctan_upward_test_data): Likewise.
8356 (ctan_test_upward): Likewise.
8357 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8358 (ctanh_test): Use ALL_RM_TEST.
8359 (ctanh_tonearest_test_data): Remove.
8360 (ctanh_test_tonearest): Likewise.
8361 (ctanh_towardzero_test_data): Likewise.
8362 (ctanh_test_towardzero): Likewise.
8363 (ctanh_downward_test_data): Likewise.
8364 (ctanh_test_downward): Likewise.
8365 (ctanh_upward_test_data): Likewise.
8366 (ctanh_test_upward): Likewise.
8367 (erf_test_data): Update call to AUTO_TESTS_f_f.
8368 (erfc_test_data): Likewise.
8369 (exp_test_data): Likewise.
8370 (exp_test): Use ALL_RM_TEST.
8371 (exp_tonearest_test_data): Remove.
8372 (exp_test_tonearest): Likewise.
8373 (exp_towardzero_test_data): Likewise.
8374 (exp_test_towardzero): Likewise.
8375 (exp_downward_test_data): Likewise.
8376 (exp_test_downward): Likewise.
8377 (exp_upward_test_data): Likewise.
8378 (exp_test_upward): Likewise.
8379 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8380 (exp10_test): Use ALL_RM_TEST.
8381 (exp10_tonearest_test_data): Remove.
8382 (exp10_test_tonearest): Likewise.
8383 (exp10_towardzero_test_data): Likewise.
8384 (exp10_test_towardzero): Likewise.
8385 (exp10_downward_test_data): Likewise.
8386 (exp10_test_downward): Likewise.
8387 (exp10_upward_test_data): Likewise.
8388 (exp10_test_upward): Likewise.
8389 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8390 (expm1_test_data): Likewise.
8391 (expm1_test): Use ALL_RM_TEST.
8392 (expm1_tonearest_test_data): Remove.
8393 (expm1_test_tonearest): Likewise.
8394 (expm1_towardzero_test_data): Likewise.
8395 (expm1_test_towardzero): Likewise.
8396 (expm1_downward_test_data): Likewise.
8397 (expm1_test_downward): Likewise.
8398 (expm1_upward_test_data): Likewise.
8399 (expm1_test_upward): Likewise.
8400 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8401 (fma_test): Use ALL_RM_TEST.
8402 (fma_towardzero_test_data): Remove.
8403 (fma_test_towardzero): Likewise.
8404 (fma_downward_test_data): Likewise.
8405 (fma_test_downward): Likewise.
8406 (fma_upward_test_data): Likewise.
8407 (fma_test_upward): Likewise.
8408 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8409 (j0_test_data): Update call to AUTO_TESTS_f_f.
8410 (j1_test_data): Likewise.
8411 (jn_test_data): Update call to AUTO_TESTS_if_f.
8412 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8413 (log_test_data): Update call to AUTO_TESTS_f_f.
8414 (log10_test_data): Likewise.
8415 (log1p_test_data): Likewise.
8416 (log2_test_data): Likewise.
8417 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8418 (pow_tonearest_test_data): Likewise.
8419 (sin_test_data): Update call to AUTO_TESTS_f_f.
8420 (sin_test): Use ALL_RM_TEST.
8421 (sin_tonearest_test_data): Remove.
8422 (sin_test_tonearest): Likewise.
8423 (sin_towardzero_test_data): Likewise.
8424 (sin_test_towardzero): Likewise.
8425 (sin_downward_test_data): Likewise.
8426 (sin_test_downward): Likewise.
8427 (sin_upward_test_data): Likewise.
8428 (sin_test_upward): Likewise.
8429 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8430 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8431 (sinh_test): Use ALL_RM_TEST.
8432 (sinh_tonearest_test_data): Remove.
8433 (sinh_test_tonearest): Likewise.
8434 (sinh_towardzero_test_data): Likewise.
8435 (sinh_test_towardzero): Likewise.
8436 (sinh_downward_test_data): Likewise.
8437 (sinh_test_downward): Likewise.
8438 (sinh_upward_test_data): Likewise.
8439 (sinh_test_upward): Likewise.
8440 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8441 (sqrt_test): Use ALL_RM_TEST.
8442 (sqrt_tonearest_test_data): Remove.
8443 (sqrt_test_tonearest): Likewise.
8444 (sqrt_towardzero_test_data): Likewise.
8445 (sqrt_test_towardzero): Likewise.
8446 (sqrt_downward_test_data): Likewise.
8447 (sqrt_test_downward): Likewise.
8448 (sqrt_upward_test_data): Likewise.
8449 (sqrt_test_upward): Likewise.
8450 (tan_test_data): Update call to AUTO_TESTS_f_f.
8451 (tan_test): Use ALL_RM_TEST.
8452 (tan_tonearest_test_data): Remove.
8453 (tan_test_tonearest): Likewise.
8454 (tan_towardzero_test_data): Likewise.
8455 (tan_test_towardzero): Likewise.
8456 (tan_downward_test_data): Likewise.
8457 (tan_test_downward): Likewise.
8458 (tan_upward_test_data): Likewise.
8459 (tan_test_upward): Likewise.
8460 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8461 (tgamma_test_data): Likewise.
8462 (y0_test_data): Likewise.
8463 (y1_test_data): Likewise.
8464 (yn_test_data): Update call to AUTO_TESTS_if_f.
8465 (main): Do not call removed functions.
8467 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8469 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8470 (ldexp_test_data): Remove.
8471 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8473 (scalb_test): Use ALL_RM_TEST.
8475 2014-03-19 Andreas Schwab <schwab@suse.de>
8477 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8479 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8482 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8484 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8486 (__ASSUME_PREADV): Undefine.
8487 (__ASSUME_PWRITEV): Likewise.
8489 2014-03-18 Roland McGrath <roland@hack.frob.com>
8491 * bits/mman-linux.h: Add comment about non-Linux use.
8492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8493 bits/mman-linux.h resting place.
8495 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8496 * bits/mman-linux.h: ... here.
8498 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500 * conform/conformtest.pl: Add standard definition when calling C
8501 preprocessor on data files.
8502 (checknamespace): Remove unused variable.
8504 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8506 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8507 minus_oflow, plus_uflow and minus_uflow in expected results.
8508 * math/libm-test.inc (scalbn_test_data): Add more tests of
8509 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8511 (scalbn_test): Use ALL_RM_TEST.
8512 (scalbln_test_data): Add more tests of negative arguments. Use
8513 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8514 (scalbln_test): Use ALL_RM_TEST.
8516 2014-03-18 Roland McGrath <roland@hack.frob.com>
8518 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8520 2014-03-18 Will Newton <will.newton@linaro.org>
8522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8525 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8527 * Makerules [!subdir] (check-abi): Exit with error status if a
8530 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8532 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8533 for rint. Include results for all rounding modes.
8534 (nearbyint_test): Use ALL_RM_TEST.
8535 (rint_test_data): Include all tests used for nearbyint.
8537 2014-03-17 Will Newton <will.newton@linaro.org>
8539 * nptl/sysdeps/pthread/pthread.h: Revert previous
8542 * sysdeps/generic/ldsodefs.h: Revert previous
8545 * libio/genops.c: Revert previous change.
8546 * libio/libioP.h: Likewise.
8547 * stdio-common/vfprintf.c: Likewise.
8549 * sysdeps/generic/math_private.h: Revert previous
8552 * sysdeps/generic/math_private.h: Check whether
8553 HAVE_RM_CTX is defined with #ifdef rather
8556 * argp/argp-fmtstream.h: Check whether
8557 __STRICT_ANSI__ is defined with #ifdef rather
8559 * argp/argp.h: Likewise.
8561 * libio/genops.c: Check whether
8562 _IO_JUMPS_OFFSET is defined with #ifdef rather
8564 * libio/libioP.h: Likewise.
8565 * stdio-common/vfprintf.c: Likewise.
8567 * sysdeps/generic/ldsodefs.h: Check whether
8568 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8571 * nptl/sysdeps/pthread/pthread.h: Check
8572 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8575 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8577 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8579 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8583 * libio/fileops.c (_IO_file_open): Seek to end of file but
8584 don't cache the offset.
8585 (get_file_offset): Remove function.
8586 (do_ftell): Use cached offset when available.
8587 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8588 don't cache the offset.
8589 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8591 (do_one_test): Call it.
8592 (do_ftell_test): Fix up expected old offset for a+ mode.
8593 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8596 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8597 up test status with function return status.
8598 (do_write_test): Likewise.
8599 (do_append_test): Likewise.
8601 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8602 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8605 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8607 * math/gen-libm-test.pl (parse_args): Handle results specified for
8608 each rounding mode separately.
8609 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8610 tests and results from lrint_tonearest_test_data,
8611 lrint_towardzero_test_data, lrint_downward_test_data and
8612 lrint_upward_test_data.
8613 (lrint_test): Use ALL_RM_TEST.
8614 (lrint_tonearest_test_data): Remove.
8615 (lrint_test_tonearest): Likewise.
8616 (lrint_towardzero_test_data): Likewise.
8617 (lrint_test_towardzero): Likewise.
8618 (lrint_downward_test_data): Likewise.
8619 (lrint_test_downward): Likewise.
8620 (lrint_upward_test_data): Likewise.
8621 (lrint_test_upward): Likewise.
8622 (llrint_test_data): Merge in per-rounding-mode tests and results
8623 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8624 llrint_downward_test_data and llrint_upward_test_data.
8625 (llrint_test): Use ALL_RM_TEST.
8626 (llrint_tonearest_test_data): Remove.
8627 (llrint_test_tonearest): Likewise.
8628 (llrint_towardzero_test_data): Likewise.
8629 (llrint_test_towardzero): Likewise.
8630 (llrint_downward_test_data): Likewise.
8631 (llrint_test_downward): Likewise.
8632 (llrint_upward_test_data): Likewise.
8633 (llrint_test_upward): Likewise.
8634 (rint_test_data): Merge in per-rounding-mode tests and results
8635 from rint_tonearest_test_data, rint_towardzero_test_data,
8636 rint_downward_test_data and rint_upward_test_data. Add
8637 per-rounding-mode results for tests not in those arrays.
8638 (rint_test): Use ALL_RM_TEST.
8639 (rint_tonearest_test_data): Remove.
8640 (rint_test_tonearest): Likewise.
8641 (rint_towardzero_test_data): Likewise.
8642 (rint_test_towardzero): Likewise.
8643 (rint_downward_test_data): Likewise.
8644 (rint_test_downward): Likewise.
8645 (rint_upward_test_data): Likewise.
8646 (rint_test_upward): Likewise.
8647 (main): Don't call removed functions.
8649 2014-03-14 Roland McGrath <roland@hack.frob.com>
8651 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8652 "Compiled on ..." crapola. It is anti-useful.
8654 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8656 * scripts/evaluate-test.sh: Handle fourth argument to determine
8657 whether test run should stop on failure.
8658 * Makeconfig (stop-on-test-failure): New variable.
8659 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8660 $(stop-on-test-failure).
8661 * Makefile (tests): Give a summary of results from testing and
8662 exit with failure status if they include an ERROR or FAIL.
8664 * manual/install.texi (Configuring and compiling): Mention
8665 stop-on-test-failure=y.
8666 * INSTALL: Regenerated.
8668 2014-03-14 Roland McGrath <roland@hack.frob.com>
8670 * scripts/versionlist.awk: New file.
8671 * Makerules [$(build-shared) = yes]
8672 (postclean-generated): Add Versions.def, not Versions.def.v and
8674 ($(common-objpfx)Versions.def.v.i): Target removed.
8675 ($(common-objpfx)Versions.def): New target.
8676 ($(common-objpfx)Versions.all): Depend on that rather that
8677 $(common-objpfx)Versions.def.v.
8678 * Versions.def: File removed.
8680 * Makeconfig (+gccwarn): Add -Wundef.
8681 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8682 a dl-sysdep.h breaking its contract.
8683 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8684 * include/stackinfo.h: New file.
8685 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8686 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8687 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8688 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8689 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8690 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8691 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8692 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8693 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8694 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8695 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8696 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8697 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8698 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8699 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8701 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8704 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8706 * math/libm-test.inc (round_test_data): Add more tests.
8709 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8711 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8714 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8716 * math/libm-test.inc (ceil_test_data): Add more tests.
8718 * math/libm-test.inc (trunc_test_data): Add more tests related to
8721 2014-03-14 Roland McGrath <roland@hack.frob.com>
8723 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8724 with #if rather than #ifdef.
8725 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8727 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8729 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8730 first. Disable AVX-512 GCC support if assembler doesn't support
8732 * sysdeps/x86_64/configure: Regenerated.
8734 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8736 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8737 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8738 (__old_pthread_attr_setstack): Likewise.
8739 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8740 [!_STACK_GROWS_DOWN]: Likewise.
8742 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8744 * config.make.in (have-bash2): Delete.
8745 * configure.ac (libc_cv_have_bash2): Delete.
8746 * configure: Regenerate.
8747 * elf/Makefile (common-ldd-rewrite): Rename to ...
8748 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8749 (sh-ldd-rewrite): Delete.
8750 (bash-ldd-rewrite): Delete.
8751 (have-bash2): Delete checks.
8752 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8755 * config.make.in (have-ksh): Delete.
8757 * configure.ac (libc_cv_have_ksh): Delete.
8758 * configure: Regenerate.
8760 * elf/Makefile: Delete $(have-ksh) check.
8761 ($(objpfx)sotruss): Change KSH to BASH.
8762 * elf/sotruss.ksh: Rename to ...
8763 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8764 function style to match POSIX. Drop ksh vim mode setting.
8766 * manual/time.texi (Specifying the Time Zone with TZ): Change
8767 Tuesday to Thursday.
8769 * debug/tst-longjmp_chk2.c: Update header comment.
8770 (stackoverflow_handler): Add comment. Call assert on pass value.
8772 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8775 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8776 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8777 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8778 (La_x86_64_vector): Add zmm.
8779 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8780 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8781 ($(objpfx)tst-audit10): New target.
8782 ($(objpfx)tst-audit10.out): Likewise.
8783 (tst-audit10-ENV): New.
8784 (AVX512-CFLAGS): Likewise.
8785 (CFLAGS-tst-audit10.c): Likewise.
8786 (CFLAGS-tst-auditmod10a.c): Likewise.
8787 (CFLAGS-tst-auditmod10b.c): Likewise.
8788 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8789 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8790 * sysdeps/x86_64/configure: Regenerated.
8791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8792 AVX-512 zmm register support.
8793 (_dl_x86_64_save_sse): Likewise.
8794 (_dl_x86_64_restore_sse): Likewise.
8795 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8796 size vector registers.
8797 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8798 (ZMM_SIZE): Likewise.
8799 * sysdeps/x86_64/tst-audit10.c: New file.
8800 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8801 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8803 2014-03-13 Roland McGrath <roland@hack.frob.com>
8805 * configure.ac (HAVE_EHDR_START): New check.
8806 * configure: Regenerated.
8807 * config.h.in (HAVE_EHDR_START): New #undef.
8808 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8809 assuming the lowest-addressed segment maps the start of the file.
8811 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8813 * INSTALL: Regenerated.
8815 2014-03-13 Will Newton <will.newton@linaro.org>
8817 * manual/setjmp.texi (System V contexts): Improve
8818 clarity and grammar of documentation.
8820 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8823 * elf/Makefile (tests): Add tst-pie2.
8824 (tests-pie): Add tst-pie2.
8825 * elf/tst-pie2.c: New file.
8826 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8828 * elf/rtld.c (map_doit): Load executable as lt_executable.
8829 (dl_main): Likewise.
8831 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8835 (__ASSUME_PSELECT): Undefine.
8837 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8841 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8844 selector for static builds.
8846 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8849 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8852 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8854 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8855 IFUNC selector for static builds.
8857 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/mips/math_private.h [__mips_hard_float]
8860 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8861 libc_feresetround_mips_ctx.
8862 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8863 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8864 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8867 * math/s_nextafter.c (__nextafter): Do not return value from
8868 overflowing computation.
8869 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8870 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8873 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8875 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8876 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8878 2014-03-11 Roland McGrath <roland@hack.frob.com>
8880 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8881 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8882 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8883 the new mov targetting sp.
8885 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8889 Define it for static builds as well.
8890 (NO_BZERO_IMPL): Likewise.
8892 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8894 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8895 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8896 multiarch strspn for PPC64.
8897 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8898 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8900 (__libc_ifunc_impl_list): Likewise.
8901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8902 multiarch optimizations
8903 * string/strspn.c (strspn): Using macro to redefine symbol name.
8905 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8906 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8908 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8909 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8910 multiarch strncat for PPC64.
8911 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8912 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8914 (__libc_ifunc_impl_list): Likewise.
8915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8916 multiarch optimizations
8918 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8921 * nscd/nscd.service: Make service type forking.
8923 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8926 sign in non default rounding modes.
8927 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8929 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8931 * math/libm-test.inc (ALL_RM_TEST): New macro.
8932 (ceil_test): Use ALL_RM_TEST.
8933 (cimag_test): Likewise.
8934 (conj_test): Likewise.
8935 (copysign_test): Likewise.
8936 (cproj_test): Likewise.
8937 (creal_test): Likewise.
8938 (fabs_test): Likewise.
8939 (floor_test): Likewise.
8940 (fmax_test): Likewise.
8941 (fmin_test): Likewise.
8942 (fmod_test): Likewise.
8943 (fpclassify_test): Likewise.
8944 (frexp_test): Likewise.
8945 (ilogb_test): Likewise.
8946 (isfinite_test): Likewise.
8947 (finite_test): Likewise.
8948 (isgreater_test): Likewise.
8949 (isgreaterequal_test): Likewise.
8950 (isinf_test): Likewise.
8951 (isless_test): Likewise.
8952 (islessequal_test): Likewise.
8953 (islessgreater_test): Likewise.
8954 (isnan_test): Likewise.
8955 (isnormal_test): Likewise.
8956 (issignaling_test): Likewise.
8957 (isunordered_test): Likewise.
8958 (logb_test): Likewise.
8959 (logb_downward_test_data): Remove.
8960 (logb_test_downward): Likewise.
8961 (lround_test): Use ALL_RM_TEST.
8962 (llround_test): Likewise.
8963 (modf_test): Likewise.
8964 (nexttoward_test): Likewise.
8965 (remainder_test): Likewise.
8966 (drem_test): Likewise.
8967 (remainder_tonearest_test_data): Likewise.
8968 (remainder_test_tonearest): Likewise.
8969 (drem_test_tonearest): Likewise.
8970 (remainder_towardzero_test_data): Likewise.
8971 (remainder_test_towardzero): Likewise.
8972 (drem_test_towardzero): Likewise.
8973 (remainder_downward_test_data): Likewise.
8974 (remainder_test_downward): Likewise.
8975 (drem_test_downward): Likewise.
8976 (remainder_upward_test_data): Likewise.
8977 (remainder_test_upward): Likewise.
8978 (drem_test_upward): Likewise.
8979 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8980 (round_test): Use ALL_RM_TEST.
8981 (signbit_test): Likewise.
8982 (trunc_test): Likewise.
8983 (significand_test): Likewise.
8984 (main): Don't call removed functions.
8986 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8989 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8991 (ILL_ILLOPN): Likewise.
8992 (ILL_ILLADR): Likewise.
8993 (ILL_ILLTRP): Likewise.
8994 (ILL_PRVOPC): Likewise.
8995 (ILL_PRVREG): Likewise.
8996 (ILL_COPROC): Likewise.
8997 (ILL_BADSTK): Likewise.
8998 (FPE_INTDIV): Likewise.
8999 (FPE_INTOVF): Likewise.
9000 (FPE_FLTDIV): Likewise.
9001 (FPE_FLTOVF): Likewise.
9002 (FPE_FLTUND): Likewise.
9003 (FPE_FLTRES): Likewise.
9004 (FPE_FLTINV): Likewise.
9005 (FPE_FLTSUB): Likewise.
9006 (SEGV_MAPERR): Likewise.
9007 (SEGV_ACCERR): Likewise.
9008 (BUS_ADRALN): Likewise.
9009 (BUS_ADRERR): Likewise.
9010 (BUS_OBJERR): Likewise.
9011 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9012 (TRAP_TRACE): Likewise.
9013 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9015 (CLD_KILLED): Likewise.
9016 (CLD_DUMPED): Likewise.
9017 (CLD_TRAPPED): Likewise.
9018 (CLD_STOPPED): Likewise.
9019 (CLD_CONTINUED): Likewise.
9020 (POLL_IN): Likewise.
9021 (POLL_OUT): Likewise.
9022 (POLL_MSG): Likewise.
9023 (POLL_ERR): Likewise.
9024 (POLL_PRI): Likewise.
9025 (POLL_HUP): Likewise.
9026 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9028 (ILL_ILLOPN): Likewise.
9029 (ILL_ILLADR): Likewise.
9030 (ILL_ILLTRP): Likewise.
9031 (ILL_PRVOPC): Likewise.
9032 (ILL_PRVREG): Likewise.
9033 (ILL_COPROC): Likewise.
9034 (ILL_BADSTK): Likewise.
9035 (FPE_INTDIV): Likewise.
9036 (FPE_INTOVF): Likewise.
9037 (FPE_FLTDIV): Likewise.
9038 (FPE_FLTOVF): Likewise.
9039 (FPE_FLTUND): Likewise.
9040 (FPE_FLTRES): Likewise.
9041 (FPE_FLTINV): Likewise.
9042 (FPE_FLTSUB): Likewise.
9043 (SEGV_MAPERR): Likewise.
9044 (SEGV_ACCERR): Likewise.
9045 (BUS_ADRALN): Likewise.
9046 (BUS_ADRERR): Likewise.
9047 (BUS_OBJERR): Likewise.
9048 (BUS_MCEERR_AR): Likewise.
9049 (BUS_MCEERR_AO): Likewise.
9050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9051 (TRAP_TRACE): Likewise.
9052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9054 (CLD_KILLED): Likewise.
9055 (CLD_DUMPED): Likewise.
9056 (CLD_TRAPPED): Likewise.
9057 (CLD_STOPPED): Likewise.
9058 (CLD_CONTINUED): Likewise.
9059 (POLL_IN): Likewise.
9060 (POLL_OUT): Likewise.
9061 (POLL_MSG): Likewise.
9062 (POLL_ERR): Likewise.
9063 (POLL_PRI): Likewise.
9064 (POLL_HUP): Likewise.
9065 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9066 (ILL_ILLOPN): Likewise.
9067 (ILL_ILLADR): Likewise.
9068 (ILL_ILLTRP): Likewise.
9069 (ILL_PRVOPC): Likewise.
9070 (ILL_PRVREG): Likewise.
9071 (ILL_COPROC): Likewise.
9072 (ILL_BADSTK): Likewise.
9073 (FPE_INTDIV): Likewise.
9074 (FPE_INTOVF): Likewise.
9075 (FPE_FLTDIV): Likewise.
9076 (FPE_FLTOVF): Likewise.
9077 (FPE_FLTUND): Likewise.
9078 (FPE_FLTRES): Likewise.
9079 (FPE_FLTINV): Likewise.
9080 (FPE_FLTSUB): Likewise.
9081 (SEGV_MAPERR): Likewise.
9082 (SEGV_ACCERR): Likewise.
9083 (BUS_ADRALN): Likewise.
9084 (BUS_ADRERR): Likewise.
9085 (BUS_OBJERR): Likewise.
9086 (BUS_MCEERR_AR): Likewise.
9087 (BUS_MCEERR_AO): Likewise.
9088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9089 (TRAP_TRACE): Likewise.
9090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9092 (CLD_KILLED): Likewise.
9093 (CLD_DUMPED): Likewise.
9094 (CLD_TRAPPED): Likewise.
9095 (CLD_STOPPED): Likewise.
9096 (CLD_CONTINUED): Likewise.
9097 (POLL_IN): Likewise.
9098 (POLL_OUT): Likewise.
9099 (POLL_MSG): Likewise.
9100 (POLL_ERR): Likewise.
9101 (POLL_PRI): Likewise.
9102 (POLL_HUP): Likewise.
9103 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9105 (ILL_ILLOPN): Likewise.
9106 (ILL_ILLADR): Likewise.
9107 (ILL_ILLTRP): Likewise.
9108 (ILL_PRVOPC): Likewise.
9109 (ILL_PRVREG): Likewise.
9110 (ILL_COPROC): Likewise.
9111 (ILL_BADSTK): Likewise.
9112 (ILL_BADIADDR): Likewise.
9113 (ILL_BREAK): Likewise.
9114 (FPE_INTDIV): Likewise.
9115 (FPE_INTOVF): Likewise.
9116 (FPE_FLTDIV): Likewise.
9117 (FPE_FLTOVF): Likewise.
9118 (FPE_FLTUND): Likewise.
9119 (FPE_FLTRES): Likewise.
9120 (FPE_FLTINV): Likewise.
9121 (FPE_FLTSUB): Likewise.
9122 (FPE_DECOVF): Likewise.
9123 (FPE_DECDIV): Likewise.
9124 (FPE_DECERR): Likewise.
9125 (FPE_INVASC): Likewise.
9126 (FPE_INVDEC): Likewise.
9127 (SEGV_MAPERR): Likewise.
9128 (SEGV_ACCERR): Likewise.
9129 (SEGV_PSTKOVF): Likewise.
9130 (BUS_ADRALN): Likewise.
9131 (BUS_ADRERR): Likewise.
9132 (BUS_OBJERR): Likewise.
9133 (BUS_MCEERR_AR): Likewise.
9134 (BUS_MCEERR_AO): Likewise.
9135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9136 (TRAP_TRACE): Likewise.
9137 (TRAP_BRANCH): Likewise.
9138 (TRAP_HWBKPT): Likewise.
9139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9141 (CLD_KILLED): Likewise.
9142 (CLD_DUMPED): Likewise.
9143 (CLD_TRAPPED): Likewise.
9144 (CLD_STOPPED): Likewise.
9145 (CLD_CONTINUED): Likewise.
9146 (POLL_IN): Likewise.
9147 (POLL_OUT): Likewise.
9148 (POLL_MSG): Likewise.
9149 (POLL_ERR): Likewise.
9150 (POLL_PRI): Likewise.
9151 (POLL_HUP): Likewise.
9152 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9153 (ILL_ILLOPN): Likewise.
9154 (ILL_ILLADR): Likewise.
9155 (ILL_ILLTRP): Likewise.
9156 (ILL_PRVOPC): Likewise.
9157 (ILL_PRVREG): Likewise.
9158 (ILL_COPROC): Likewise.
9159 (ILL_BADSTK): Likewise.
9160 (FPE_INTDIV): Likewise.
9161 (FPE_INTOVF): Likewise.
9162 (FPE_FLTDIV): Likewise.
9163 (FPE_FLTOVF): Likewise.
9164 (FPE_FLTUND): Likewise.
9165 (FPE_FLTRES): Likewise.
9166 (FPE_FLTINV): Likewise.
9167 (FPE_FLTSUB): Likewise.
9168 (SEGV_MAPERR): Likewise.
9169 (SEGV_ACCERR): Likewise.
9170 (BUS_ADRALN): Likewise.
9171 (BUS_ADRERR): Likewise.
9172 (BUS_OBJERR): Likewise.
9173 (BUS_MCEERR_AR): Likewise.
9174 (BUS_MCEERR_AO): Likewise.
9175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9176 (TRAP_TRACE): Likewise.
9177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9179 (CLD_KILLED): Likewise.
9180 (CLD_DUMPED): Likewise.
9181 (CLD_TRAPPED): Likewise.
9182 (CLD_STOPPED): Likewise.
9183 (CLD_CONTINUED): Likewise.
9184 (POLL_IN): Likewise.
9185 (POLL_OUT): Likewise.
9186 (POLL_MSG): Likewise.
9187 (POLL_ERR): Likewise.
9188 (POLL_PRI): Likewise.
9189 (POLL_HUP): Likewise.
9190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9191 (ILL_ILLOPN): Likewise.
9192 (ILL_ILLADR): Likewise.
9193 (ILL_ILLTRP): Likewise.
9194 (ILL_PRVOPC): Likewise.
9195 (ILL_PRVREG): Likewise.
9196 (ILL_COPROC): Likewise.
9197 (ILL_BADSTK): Likewise.
9198 (FPE_INTDIV): Likewise.
9199 (FPE_INTOVF): Likewise.
9200 (FPE_FLTDIV): Likewise.
9201 (FPE_FLTOVF): Likewise.
9202 (FPE_FLTUND): Likewise.
9203 (FPE_FLTRES): Likewise.
9204 (FPE_FLTINV): Likewise.
9205 (FPE_FLTSUB): Likewise.
9206 (SEGV_MAPERR): Likewise.
9207 (SEGV_ACCERR): Likewise.
9208 (BUS_ADRALN): Likewise.
9209 (BUS_ADRERR): Likewise.
9210 (BUS_OBJERR): Likewise.
9211 (BUS_MCEERR_AR): Likewise.
9212 (BUS_MCEERR_AO): Likewise.
9213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9214 (TRAP_TRACE): Likewise.
9215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9217 (CLD_KILLED): Likewise.
9218 (CLD_DUMPED): Likewise.
9219 (CLD_TRAPPED): Likewise.
9220 (CLD_STOPPED): Likewise.
9221 (CLD_CONTINUED): Likewise.
9222 (POLL_IN): Likewise.
9223 (POLL_OUT): Likewise.
9224 (POLL_MSG): Likewise.
9225 (POLL_ERR): Likewise.
9226 (POLL_PRI): Likewise.
9227 (POLL_HUP): Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9229 (ILL_ILLOPN): Likewise.
9230 (ILL_ILLADR): Likewise.
9231 (ILL_ILLTRP): Likewise.
9232 (ILL_PRVOPC): Likewise.
9233 (ILL_PRVREG): Likewise.
9234 (ILL_COPROC): Likewise.
9235 (ILL_BADSTK): Likewise.
9236 (FPE_INTDIV): Likewise.
9237 (FPE_INTOVF): Likewise.
9238 (FPE_FLTDIV): Likewise.
9239 (FPE_FLTOVF): Likewise.
9240 (FPE_FLTUND): Likewise.
9241 (FPE_FLTRES): Likewise.
9242 (FPE_FLTINV): Likewise.
9243 (FPE_FLTSUB): Likewise.
9244 (SEGV_MAPERR): Likewise.
9245 (SEGV_ACCERR): Likewise.
9246 (BUS_ADRALN): Likewise.
9247 (BUS_ADRERR): Likewise.
9248 (BUS_OBJERR): Likewise.
9249 (BUS_MCEERR_AR): Likewise.
9250 (BUS_MCEERR_AO): Likewise.
9251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9252 (TRAP_TRACE): Likewise.
9253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9255 (CLD_KILLED): Likewise.
9256 (CLD_DUMPED): Likewise.
9257 (CLD_TRAPPED): Likewise.
9258 (CLD_STOPPED): Likewise.
9259 (CLD_CONTINUED): Likewise.
9260 (POLL_IN): Likewise.
9261 (POLL_OUT): Likewise.
9262 (POLL_MSG): Likewise.
9263 (POLL_ERR): Likewise.
9264 (POLL_PRI): Likewise.
9265 (POLL_HUP): Likewise.
9266 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9267 (ILL_ILLOPN): Likewise.
9268 (ILL_ILLADR): Likewise.
9269 (ILL_ILLTRP): Likewise.
9270 (ILL_PRVOPC): Likewise.
9271 (ILL_PRVREG): Likewise.
9272 (ILL_COPROC): Likewise.
9273 (ILL_BADSTK): Likewise.
9274 (ILL_DBLFLT): Likewise.
9275 (ILL_HARDWALL): Likewise.
9276 (FPE_INTDIV): Likewise.
9277 (FPE_INTOVF): Likewise.
9278 (FPE_FLTDIV): Likewise.
9279 (FPE_FLTOVF): Likewise.
9280 (FPE_FLTUND): Likewise.
9281 (FPE_FLTRES): Likewise.
9282 (FPE_FLTINV): Likewise.
9283 (FPE_FLTSUB): Likewise.
9284 (SEGV_MAPERR): Likewise.
9285 (SEGV_ACCERR): Likewise.
9286 (BUS_ADRALN): Likewise.
9287 (BUS_ADRERR): Likewise.
9288 (BUS_OBJERR): Likewise.
9289 (BUS_MCEERR_AR): Likewise.
9290 (BUS_MCEERR_AO): Likewise.
9291 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9292 (TRAP_TRACE): Likewise.
9293 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9295 (CLD_KILLED): Likewise.
9296 (CLD_DUMPED): Likewise.
9297 (CLD_TRAPPED): Likewise.
9298 (CLD_STOPPED): Likewise.
9299 (CLD_CONTINUED): Likewise.
9300 (POLL_IN): Likewise.
9301 (POLL_OUT): Likewise.
9302 (POLL_MSG): Likewise.
9303 (POLL_ERR): Likewise.
9304 (POLL_PRI): Likewise.
9305 (POLL_HUP): Likewise.
9306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9307 (ILL_ILLOPN): Likewise.
9308 (ILL_ILLADR): Likewise.
9309 (ILL_ILLTRP): Likewise.
9310 (ILL_PRVOPC): Likewise.
9311 (ILL_PRVREG): Likewise.
9312 (ILL_COPROC): Likewise.
9313 (ILL_BADSTK): Likewise.
9314 (FPE_INTDIV): Likewise.
9315 (FPE_INTOVF): Likewise.
9316 (FPE_FLTDIV): Likewise.
9317 (FPE_FLTOVF): Likewise.
9318 (FPE_FLTUND): Likewise.
9319 (FPE_FLTRES): Likewise.
9320 (FPE_FLTINV): Likewise.
9321 (FPE_FLTSUB): Likewise.
9322 (SEGV_MAPERR): Likewise.
9323 (SEGV_ACCERR): Likewise.
9324 (BUS_ADRALN): Likewise.
9325 (BUS_ADRERR): Likewise.
9326 (BUS_OBJERR): Likewise.
9327 (BUS_MCEERR_AR): Likewise.
9328 (BUS_MCEERR_AO): Likewise.
9329 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9330 (TRAP_TRACE): Likewise.
9331 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9333 (CLD_KILLED): Likewise.
9334 (CLD_DUMPED): Likewise.
9335 (CLD_TRAPPED): Likewise.
9336 (CLD_STOPPED): Likewise.
9337 (CLD_CONTINUED): Likewise.
9338 (POLL_IN): Likewise.
9339 (POLL_OUT): Likewise.
9340 (POLL_MSG): Likewise.
9341 (POLL_ERR): Likewise.
9342 (POLL_PRI): Likewise.
9343 (POLL_HUP): Likewise.
9344 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9345 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9348 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9349 before #include of <time.h>.
9350 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9351 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9352 (test-xfail-UNIX98/sched.h/conform): Likewise.
9354 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9356 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9357 error absence of trapping exception support.
9358 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9360 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9362 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9363 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9364 * timezone/Makefile (testdata): Move definition above include of
9366 (test-zones): New variable.
9367 (tests-special): Add zone files.
9368 (build-testdata): Use $(evaluate-test).
9370 * elf/Makefile (tests-special): Rename tests to end with .out.
9371 ($(objpfx)noload-mem): Likewise.
9372 ($(objpfx)tst-leaks1-mem): Likewise.
9373 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9374 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9375 $(objpfx)test-iconvconfig.out.
9376 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9377 set -e inside subshell and redirect output to file.
9378 * iconvdata/Makefile (generated): Rename tests to end with .out.
9380 (tests-special): Rename tests to end with .out.
9381 ($(objpfx)mtrace-tst-loading): Likewise.
9382 * intl/Makefile (generated): Likewise.
9383 (tests-special): Likewise.
9384 ($(objpfx)mtrace-tst-gettext): Likewise.
9385 * misc/Makefile (generated): Likewise.
9386 (tests-special): Likewise.
9387 ($(objpfx)tst-error1-mem): Likewise.
9388 * nptl/Makefile (tests-special): Likewise.
9389 ($(objpfx)tst-stack3-mem): Likewise.
9390 (generated): Likewise.
9391 * posix/Makefile (generated): Likewise.
9392 (tests-special): Likewise.
9393 (xtests-special): Likewise.
9394 ($(objpfx)tst-fnmatch-mem): Likewise.
9395 ($(objpfx)bug-regex2-mem): Likewise.
9396 ($(objpfx)bug-regex14-mem): Likewise.
9397 ($(objpfx)bug-regex21-mem): Likewise.
9398 ($(objpfx)bug-regex31-mem): Likewise.
9399 ($(objpfx)tst-vfork3-mem): Likewise.
9400 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9401 ($(objpfx)tst-pcre-mem): Likewise.
9402 ($(objpfx)tst-boost-mem): Likewise.
9403 ($(objpfx)bug-ga2-mem): Likewise.
9404 ($(objpfx)bug-glob2-mem): Likewise.
9405 * resolv/Makefile (generate): Likewise.
9406 (tests-special): Likewise.
9407 (xtests-special): Likewise.
9408 (generated): Likewise.
9409 ($(objpfx)mtrace-tst-leaks): Likewise.
9410 ($(objpfx)mtrace-tst-leaks2): Likewise.
9412 * scripts/merge-test-results.sh: New file.
9413 * Makefile (tests-special-notdir): New variable.
9414 (tests): Run merge-test-results.sh.
9416 * Rules (tests-special-notdir): New variable.
9417 (xtests-special-notdir): Likewise.
9418 (tests): Run merge-test-results.sh
9421 * Makeconfig (test-xfail-name): New variable.
9422 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9423 compute variable name for expected failures.
9424 * conform/Makefile (conformtest-headers-data): New variable.
9425 (conformtest-standards): Likewise.
9426 (conformtest-headers-ISO): Likewise.
9427 (conformtest-headers-ISO99): Likewise.
9428 (conformtest-headers-ISO11): Likewise.
9429 (conformtest-headers-POSIX): Likewise.
9430 (conformtest-headers-XPG3): Likewise.
9431 (conformtest-headers-XPG4): Likewise.
9432 (conformtest-headers-UNIX98): Likewise.
9433 (conformtest-headers-XOPEN2K): Likewise.
9434 (conformtest-headers-POSIX2008): Likewise.
9435 (conformtest-headers-XOPEN2K8): Likewise.
9436 (conformtest-header-list-base): Likewise.
9437 (conformtest-header-list-tests): Likewise.
9438 (conformtest-header-base): Likewise.
9439 (conformtest-header-tests): Likewise.
9440 (tests-special): Add $(conformtest-header-list-tests). If
9441 [$(fast-check) && !$(cross-compiling)], add
9442 $(conformtest-header-tests) instead of
9443 $(objpfx)run-conformtest.out.
9444 (generated): Add $(conformtest-header-list-base). If
9445 [$(fast-check) && !$(cross-compiling)], add
9446 $(conformtest-header-base). Remove previous setting.
9447 ($(conformtest-header-list-tests)): New target.
9448 (test-xfail-run-conformtest): Remove variable.
9449 ($(objpfx)run-conformtest.out): Remove target.
9450 (test-xfail-ISO11/complex.h/conform): New variable.
9451 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9452 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9453 (test-xfail-XPG3/varargs.h/conform): Likewise.
9454 (test-xfail-XPG4/varargs.h/conform): Likewise.
9455 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9456 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9457 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9458 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9459 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9460 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9461 (test-xfail-XPG3/ftw.h/conform): Likewise.
9462 (test-xfail-XPG3/grp.h/conform): Likewise.
9463 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9464 (test-xfail-XPG3/limits.h/conform): Likewise.
9465 (test-xfail-XPG3/pwd.h/conform): Likewise.
9466 (test-xfail-XPG3/search.h/conform): Likewise.
9467 (test-xfail-XPG3/signal.h/conform): Likewise.
9468 (test-xfail-XPG3/stdio.h/conform): Likewise.
9469 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9470 (test-xfail-XPG3/string.h/conform): Likewise.
9471 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9472 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9473 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9474 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9475 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9476 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9477 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9478 (test-xfail-XPG3/termios.h/conform): Likewise.
9479 (test-xfail-XPG3/time.h/conform): Likewise.
9480 (test-xfail-XPG3/unistd.h/conform): Likewise.
9481 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9482 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9483 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9484 (test-xfail-XPG4/netdb.h/conform): Likewise.
9485 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9486 (test-xfail-XPG4/signal.h/conform): Likewise.
9487 (test-xfail-XPG4/stdio.h/conform): Likewise.
9488 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9489 (test-xfail-XPG4/stropts.h/conform): Likewise.
9490 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9491 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9492 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9493 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9494 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9495 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9496 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9497 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9498 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9499 (test-xfail-XPG4/termios.h/conform): Likewise.
9500 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9501 (test-xfail-XPG4/unistd.h/conform): Likewise.
9502 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9503 (test-xfail-POSIX/sched.h/conform): Likewise.
9504 (test-xfail-POSIX/signal.h/conform): Likewise.
9505 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9506 (test-xfail-POSIX/tar.h/conform): Likewise.
9507 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9508 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9509 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9510 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9511 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9512 (test-xfail-UNIX98/sched.h/conform): Likewise.
9513 (test-xfail-UNIX98/signal.h/conform): Likewise.
9514 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9515 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9516 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9517 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9518 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9519 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9520 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9521 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9522 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9523 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9524 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9525 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9526 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9527 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9528 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9529 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9530 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9531 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9532 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9533 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9534 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9535 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9536 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9537 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9538 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9539 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9540 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9541 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9542 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9543 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9544 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9545 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9546 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9547 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9548 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9549 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9550 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9551 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9552 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9553 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9554 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9555 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9556 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9557 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9558 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9559 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9560 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9561 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9562 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9563 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9564 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9565 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9566 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9567 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9568 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9569 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9570 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9571 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9572 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9573 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9574 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9575 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9576 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9577 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9578 (conformtest-cc-flags): Likewise.
9579 ($(conformtest-header-tests): New target.
9580 * conform/check-header-lists.sh: New file.
9581 * conform/run-conformtest.sh: Remove.
9583 * conform/conformtest.pl: Allow ' and \ in values given for
9585 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9587 [POSIX] (sys/types.h): Likewise.
9588 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9590 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9592 * conform/data/signal.h-data (SIGIO): Remove expectation.
9593 [XPG3] (SIGBUS): Do not expect.
9594 [POSIX || XPG3] (SIGPOLL): Likewise.
9595 [POSIX || XPG3] (SIGPROF): Likewise.
9596 [POSIX || XPG3] (SIGSYS): Likewise.
9597 [XPG3] (SIGTRAP): Likewise.
9598 [POSIX || XPG3] (SIGURG): Likewise.
9599 [POSIX || XPG3] (SIGVTALRM): Likewise.
9600 [POSIX || XPG3] (SIGXCPU): Likewise.
9601 [POSIX || XPG3] (SIGXFSZ): Likewise.
9602 [POSIX] (SA_SIGINFO): Expect.
9603 [XPG3] (siginfo_t): Do not expect type or contents.
9604 [POSIX] (si_pid): Do not expect element.
9605 [POSIX] (si_uid): Likewise.
9606 [POSIX] (si_addr): Likewise.
9607 [POSIX] (si_status): Likewise.
9608 [POSIX] (si_band): Likewise.
9609 [XPG4] (si_value): Likewise.
9610 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9611 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9612 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9613 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9614 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9615 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9616 [POSIX || XPG3] (ILL_COPROC): Likewise.
9617 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9618 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9619 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9620 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9621 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9622 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9623 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9624 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9625 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9626 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9627 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9628 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9629 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9630 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9631 [POSIX || XPG3] (CLD_EXITED): Likewise.
9632 [POSIX || XPG3] (CLD_KILLED): Likewise.
9633 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9634 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9635 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9636 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9637 [POSIX || XPG3] (POLL_IN): Likewise.
9638 [POSIX || XPG3] (POLL_OUT): Likewise.
9639 [POSIX || XPG3] (POLL_MSG): Likewise.
9640 [POSIX || XPG3] (POLL_ERR): Likewise.
9641 [POSIX || XPG3] (POLL_PRI): Likewise.
9642 [POSIX || XPG3] (POLL_HUP): Likewise.
9643 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9644 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9645 (SIG*): Do not allow.
9646 [XPG3] (si_*): Likewise.
9647 [XPG3] (SI_*): Likewise.
9648 [XPG3 || XPG4] (sigev_*): Likewise.
9649 [XPG3 || XPG4] (SIGEV_*): Likewise.
9650 [XPG3 || XPG4] (sival_*): Likewise.
9651 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9652 [POSIX || XPG3] (BUS_*): Likewise.
9653 [POSIX || XPG3] (CLD_*): Likewise.
9654 [POSIX || XPG3] (FPE_*): Likewise.
9655 [POSIX || XPG3] (ILL_*): Likewise.
9656 [POSIX || XPG3] (POLL_*): Likewise.
9657 [POSIX || XPG3] (SEGV_*): Likewise.
9658 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9659 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9660 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9661 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9662 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9663 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9664 Specify type and value.
9665 (TVERSLEN): Likewise.
9666 (REGTYPE): Likewise.
9667 (AREGTYPE): Likewise.
9668 (LNKTYPE): Likewise.
9669 (SYMTYPE): Likewise.
9670 (CHRTYPE): Likewise.
9671 (BLKTYPE): Likewise.
9672 (DIRTYPE): Likewise.
9673 (FIFOTYPE): Likewise.
9674 (CONTTYPE): Likewise.
9679 (TUWRITE): Likewise.
9682 (TGWRITE): Likewise.
9685 (TOWRITE): Likewise.
9687 [POSIX] (TSVTX): Expect constant.
9689 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9691 * Makefile (tests): Change dependencies to ....
9692 (tests-special): ... additions to this variable.
9693 (tests): Depend on $(tests-special).
9694 * Makerules (check-abi-list): New variable.
9695 (check-abi): Depend on $(check-abi-list).
9696 [$(subdir) = elf] (tests-special): Add
9697 $(objpfx)check-abi-libc.out.
9698 [$(build-shared) = yes && subdir] (tests-special): Add
9700 [$(build-shared) = yes && subdir] (tests): Do not depend on
9702 * Rules (tests): Depend on $(tests-special).
9703 (xtests): Depend on $(xtests-special).
9704 * catgets/Makefile (tests): Change dependencies to ....
9705 (tests-special): ... additions to this variable.
9706 * conform/Makefile (tests): Change dependencies to ....
9707 (tests-special): ... additions to this variable.
9708 * elf/Makefile (tests): Change dependencies to ....
9709 (tests-special): ... additions to this variable.
9710 * grp/Makefile (tests): Change dependencies to ....
9711 (tests-special): ... additions to this variable.
9712 * iconv/Makefile (xtests): Change dependencies to ....
9713 (xtests-special): ... additions to this variable.
9714 * iconvdata/Makefile (tests): Change dependencies to ....
9715 (tests-special): ... additions to this variable.
9716 * intl/Makefile (tests): Change dependencies to ....
9717 (tests-special): ... additions to this variable. Also add
9718 $(objpfx)tst-gettext.out.
9719 * io/Makefile (tests): Change dependencies to ....
9720 (tests-special): ... additions to this variable.
9721 * libio/Makefile (tests): Change dependencies to ....
9722 (tests-special): ... additions to this variable.
9723 * malloc/Makefile (tests): Change dependencies to ....
9724 (tests-special): ... additions to this variable.
9725 * misc/Makefile (tests): Change dependencies to ....
9726 (tests-special): ... additions to this variable.
9727 * nptl/Makefile (tests): Change dependencies to ....
9728 (tests-special): ... additions to this variable.
9729 * nptl_db/Makefile (tests): Change dependencies to ....
9730 (tests-special): ... additions to this variable.
9731 * posix/Makefile (tests): Change dependencies to ....
9732 (tests-special): ... additions to this variable.
9733 (xtests): Change dependencies to ....
9734 (xtests-special): ... additions to this variable.
9735 * resolv/Makefile (tests): Change dependencies to ....
9736 (tests-special): ... additions to this variable.
9737 (xtests): Change dependencies to ....
9738 (xtests-special): ... additions to this variable.
9739 * stdio-common/Makefile (tests): Change dependencies to ....
9740 (tests-special): ... additions to this variable.
9741 (do-tst-unbputc): Remove target.
9742 (do-tst-printf): Likewise.
9743 * stdlib/Makefile (tests): Change dependencies to ....
9744 (tests-special): ... additions to this variable.
9745 * string/Makefile (tests): Change dependencies to ....
9746 (tests-special): ... additions to this variable.
9747 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9748 (tests-special): ... additions to this variable.
9750 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9752 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9754 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9755 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9757 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9758 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9759 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9760 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9761 * conform/data/libgen.h-data [XPG3]: Likewise.
9762 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9763 * conform/data/ndbm.h-data [XPG3]: Likewise.
9764 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9765 * conform/data/netdb.h-data [XPG3]: Likewise.
9766 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9767 * conform/data/poll.h-data [XPG3]: Likewise.
9768 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9769 * conform/data/strings.h-data [XPG3]: Likewise.
9770 * conform/data/stropts.h-data [XPG3]: Likewise.
9771 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9772 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9773 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9775 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9776 * conform/data/sys/time.h-data [XPG3]: Likewise.
9777 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9778 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9779 * conform/data/sys/un.h-data [XPG3]: Likewise.
9780 * conform/data/syslog.h-data [XPG3]: Likewise.
9781 * conform/data/ucontext.h-data [XPG3]: Likewise.
9782 * conform/data/utmpx.h-data [XPG3]: Likewise.
9783 * conform/data/varargs.h-data [UNIX98]: Enable file.
9785 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9787 * math/libm-test.inc (struct test_f_f_data): Move expected results
9788 into structure for each rounding mode.
9789 (struct test_ff_f_data): Likewise.
9790 (struct test_ff_f_data_nexttoward): Likewise.
9791 (struct test_fi_f_data): Likewise.
9792 (struct test_fl_f_data): Likewise.
9793 (struct test_if_f_data): Likewise.
9794 (struct test_fff_f_data): Likewise.
9795 (struct test_c_f_data): Likewise.
9796 (struct test_f_f1_data): Likewise.
9797 (struct test_fF_f1_data): Likewise.
9798 (struct test_ffI_f1_data): Likewise.
9799 (struct test_c_c_data): Likewise.
9800 (struct test_cc_c_data): Likewise.
9801 (struct test_f_i_data): Likewise.
9802 (struct test_ff_i_data): Likewise.
9803 (struct test_f_l_data): Likewise.
9804 (struct test_f_L_data): Likewise.
9805 (struct test_fFF_11_data): Likewise.
9807 (RM_FE_DOWNWARD): Likewise.
9808 (RM_FE_TONEAREST): Likewise.
9809 (RM_FE_TOWARDZERO): Likewise.
9810 (RM_FE_UPWARD): Likewise.
9811 (RUN_TEST_LOOP_f_f): Update references to expected results.
9812 (RUN_TEST_LOOP_2_f): Likewise.
9813 (RUN_TEST_LOOP_fff_f): Likewise.
9814 (RUN_TEST_LOOP_c_f): Likewise.
9815 (RUN_TEST_LOOP_f_f1): Likewise.
9816 (RUN_TEST_LOOP_fF_f1): Likewise.
9817 (RUN_TEST_LOOP_fI_f1): Likewise.
9818 (RUN_TEST_LOOP_ffI_f1): Likewise.
9819 (RUN_TEST_LOOP_c_c): Likewise.
9820 (RUN_TEST_LOOP_cc_c): Likewise.
9821 (RUN_TEST_LOOP_f_i): Likewise.
9822 (RUN_TEST_LOOP_f_i_tg): Likewise.
9823 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9824 (RUN_TEST_LOOP_f_b): Likewise.
9825 (RUN_TEST_LOOP_f_b_tg): Likewise.
9826 (RUN_TEST_LOOP_f_l): Likewise.
9827 (RUN_TEST_LOOP_f_L): Likewise.
9828 (RUN_TEST_LOOP_fFF_11): Likewise.
9829 * math/gen-libm-test.pl (parse_args): Output four copies of
9830 expected results for each test.
9832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9833 (__ASSUME_UTIMES): Remove.
9834 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9835 (__ASSUME_UTIMES): Likewise.
9837 * math/gen-auto-libm-tests.c: Update comment on output format.
9838 (output_for_one_input_case): Generate before-rounding and
9839 after-rounding information as conditions on output flags not
9840 floating-point format.
9841 * math/auto-libm-test-out: Regenerated.
9842 * math/gen-libm-test.pl (cond_value): New function.
9843 (or_cond_value): Use cond_value.
9844 (generate_testfile): Handle conditional exceptions.
9846 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9848 * math/libm-test.inc (max_valid_error): New variable.
9849 (init_max_error): Take new argument specifying whether function
9850 results are exactly determined. Set max_valid_error and bound
9851 other variables for errors based on this argument.
9852 (set_max_error): Do not record results above max_valid_error.
9853 (check_float_internal): Only accept errors of up to 0.5ulps if
9854 also at most max_valid_error.
9855 (START): Take new argument EXACT and pass it to init_max_error.
9856 (acos_test): Update call to START.
9857 (acos_test_tonearest): Likewise.
9858 (acos_test_towardzero): Likewise.
9859 (acos_test_downward): Likewise.
9860 (acos_test_upward): Likewise.
9861 (acosh_test): Likewise.
9862 (asin_test): Likewise.
9863 (asin_test_tonearest): Likewise.
9864 (asin_test_towardzero): Likewise.
9865 (asin_test_downward): Likewise.
9866 (asin_test_upward): Likewise.
9867 (asinh_test): Likewise.
9868 (atan_test): Likewise.
9869 (atanh_test): Likewise.
9870 (atan2_test): Likewise.
9871 (cabs_test): Likewise.
9872 (cacos_test): Likewise.
9873 (cacosh_test): Likewise.
9874 (carg_test): Likewise.
9875 (casin_test): Likewise.
9876 (casinh_test): Likewise.
9877 (catan_test): Likewise.
9878 (catanh_test): Likewise.
9879 (cbrt_test): Likewise.
9880 (ccos_test): Likewise.
9881 (ccosh_test): Likewise.
9882 (ceil_test): Likewise.
9883 (cexp_test): Likewise.
9884 (cimag_test): Likewise.
9885 (clog_test): Likewise.
9886 (clog10_test): Likewise.
9887 (conj_test): Likewise.
9888 (copysign_test): Likewise.
9889 (cos_test): Likewise.
9890 (cos_test_tonearest): Likewise.
9891 (cos_test_towardzero): Likewise.
9892 (cos_test_downward): Likewise.
9893 (cos_test_upward): Likewise.
9894 (cosh_test): Likewise.
9895 (cosh_test_tonearest): Likewise.
9896 (cosh_test_towardzero): Likewise.
9897 (cosh_test_downward): Likewise.
9898 (cosh_test_upward): Likewise.
9899 (cpow_test): Likewise.
9900 (cproj_test): Likewise.
9901 (creal_test): Likewise.
9902 (csin_test): Likewise.
9903 (csinh_test): Likewise.
9904 (csqrt_test): Likewise.
9905 (ctan_test): Likewise.
9906 (ctan_test_tonearest): Likewise.
9907 (ctan_test_towardzero): Likewise.
9908 (ctan_test_downward): Likewise.
9909 (ctan_test_upward): Likewise.
9910 (ctanh_test): Likewise.
9911 (ctanh_test_tonearest): Likewise.
9912 (ctanh_test_towardzero): Likewise.
9913 (ctanh_test_downward): Likewise.
9914 (ctanh_test_upward): Likewise.
9915 (erf_test): Likewise.
9916 (erfc_test): Likewise.
9917 (exp_test): Likewise.
9918 (exp_test_tonearest): Likewise.
9919 (exp_test_towardzero): Likewise.
9920 (exp_test_downward): Likewise.
9921 (exp_test_upward): Likewise.
9922 (exp10_test): Likewise.
9923 (exp10_test_tonearest): Likewise.
9924 (exp10_test_towardzero): Likewise.
9925 (exp10_test_downward): Likewise.
9926 (exp10_test_upward): Likewise.
9927 (pow10_test): Likewise.
9928 (exp2_test): Likewise.
9929 (expm1_test): Likewise.
9930 (expm1_test_tonearest): Likewise.
9931 (expm1_test_towardzero): Likewise.
9932 (expm1_test_downward): Likewise.
9933 (expm1_test_upward): Likewise.
9934 (fabs_test): Likewise.
9935 (fdim_test): Likewise.
9936 (floor_test): Likewise.
9937 (fma_test): Likewise.
9938 (fma_test_towardzero): Likewise.
9939 (fma_test_downward): Likewise.
9940 (fma_test_upward): Likewise.
9941 (fmax_test): Likewise.
9942 (fmin_test): Likewise.
9943 (fmod_test): Likewise.
9944 (fpclassify_test): Likewise.
9945 (frexp_test): Likewise.
9946 (hypot_test): Likewise.
9947 (ilogb_test): Likewise.
9948 (isfinite_test): Likewise.
9949 (finite_test): Likewise.
9950 (isgreater_test): Likewise.
9951 (isgreaterequal_test): Likewise.
9952 (isinf_test): Likewise.
9953 (isless_test): Likewise.
9954 (islessequal_test): Likewise.
9955 (islessgreater_test): Likewise.
9956 (isnan_test): Likewise.
9957 (isnormal_test): Likewise.
9958 (issignaling_test): Likewise.
9959 (isunordered_test): Likewise.
9960 (j0_test): Likewise.
9961 (j1_test): Likewise.
9962 (jn_test): Likewise.
9963 (ldexp_test): Likewise.
9964 (lgamma_test): Likewise.
9965 (gamma_test): Likewise.
9966 (lrint_test): Likewise.
9967 (lrint_test_tonearest): Likewise.
9968 (lrint_test_towardzero): Likewise.
9969 (lrint_test_downward): Likewise.
9970 (lrint_test_upward): Likewise.
9971 (llrint_test): Likewise.
9972 (llrint_test_tonearest): Likewise.
9973 (llrint_test_towardzero): Likewise.
9974 (llrint_test_downward): Likewise.
9975 (llrint_test_upward): Likewise.
9976 (log_test): Likewise.
9977 (log10_test): Likewise.
9978 (log1p_test): Likewise.
9979 (log2_test): Likewise.
9980 (logb_test): Likewise.
9981 (logb_test_downward): Likewise.
9982 (lround_test): Likewise.
9983 (llround_test): Likewise.
9984 (modf_test): Likewise.
9985 (nearbyint_test): Likewise.
9986 (nextafter_test): Likewise.
9987 (nexttoward_test): Likewise.
9988 (pow_test): Likewise.
9989 (pow_test_tonearest): Likewise.
9990 (pow_test_towardzero): Likewise.
9991 (pow_test_downward): Likewise.
9992 (pow_test_upward): Likewise.
9993 (remainder_test): Likewise.
9994 (drem_test): Likewise.
9995 (remainder_test_tonearest): Likewise.
9996 (drem_test_tonearest): Likewise.
9997 (remainder_test_towardzero): Likewise.
9998 (drem_test_towardzero): Likewise.
9999 (remainder_test_downward): Likewise.
10000 (drem_test_downward): Likewise.
10001 (remainder_test_upward): Likewise.
10002 (drem_test_upward): Likewise.
10003 (remquo_test): Likewise.
10004 (rint_test): Likewise.
10005 (rint_test_tonearest): Likewise.
10006 (rint_test_towardzero): Likewise.
10007 (rint_test_downward): Likewise.
10008 (rint_test_upward): Likewise.
10009 (round_test): Likewise.
10010 (scalb_test): Likewise.
10011 (scalbn_test): Likewise.
10012 (scalbln_test): Likewise.
10013 (signbit_test): Likewise.
10014 (sin_test): Likewise.
10015 (sin_test_tonearest): Likewise.
10016 (sin_test_towardzero): Likewise.
10017 (sin_test_downward): Likewise.
10018 (sin_test_upward): Likewise.
10019 (sincos_test): Likewise.
10020 (sinh_test): Likewise.
10021 (sinh_test_tonearest): Likewise.
10022 (sinh_test_towardzero): Likewise.
10023 (sinh_test_downward): Likewise.
10024 (sinh_test_upward): Likewise.
10025 (sqrt_test): Likewise.
10026 (sqrt_test_tonearest): Likewise.
10027 (sqrt_test_towardzero): Likewise.
10028 (sqrt_test_downward): Likewise.
10029 (sqrt_test_upward): Likewise.
10030 (tan_test): Likewise.
10031 (tan_test_tonearest): Likewise.
10032 (tan_test_towardzero): Likewise.
10033 (tan_test_downward): Likewise.
10034 (tan_test_upward): Likewise.
10035 (tanh_test): Likewise.
10036 (tgamma_test): Likewise.
10037 (trunc_test): Likewise.
10038 (y0_test): Likewise.
10039 (y1_test): Likewise.
10040 (yn_test): Likewise.
10041 (significand_test): Likewise.
10043 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10044 individual tests in comment.
10045 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10046 (prev_max_error): New variable.
10047 (prev_real_max_error): Likewise.
10048 (prev_imag_max_error): Likewise.
10049 (compare_ulp_data): Don't refer to test names in comment.
10050 (find_test_ulps): Remove function.
10051 (find_function_ulps): Likewise.
10052 (find_complex_function_ulps): Likewise.
10053 (init_max_error): Take function name as argument. Look up ulps
10055 (print_ulps): Remove function.
10056 (print_max_error): Use prev_max_error instead of calling
10057 find_function_ulps.
10058 (print_complex_max_error): Use prev_real_max_error and
10059 prev_imag_max_error instead of calling find_complex_function_ulps.
10060 (check_float_internal): Take max_ulp parameter instead of calling
10061 find_test_ulps. Don't call print_ulps.
10062 (check_float): Update call to check_float_internal.
10063 (check_complex): Update calls to check_float_internal.
10064 (START): Pass argument to init_max_error.
10065 * math/gen-libm-test.pl (%results): Don't include "kind"
10067 (parse_ulps): Don't handle ulps of individual tests.
10068 (print_ulps_file): Likewise.
10069 (output_ulps): Likewise.
10070 * math/README.libm-test: Update.
10071 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10073 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10074 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10075 * sysdeps/arm/libm-test-ulps: Likewise.
10076 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10077 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10078 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10079 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10080 * sysdeps/microblaze/libm-test-ulps: Likewise.
10081 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10082 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10084 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10085 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10086 * sysdeps/sh/libm-test-ulps: Likewise.
10087 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10088 * sysdeps/tile/libm-test-ulps: Likewise.
10089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10091 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10093 * math/libm-test.inc (print_complex_max_error): Check separately
10094 whether real and imaginary errors are within allowed range and
10095 pass 0 to print_complex_function_ulps instead of value within
10098 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10100 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10102 (get_handles_fopen): Likewise.
10103 (do_write_test): Likewise.
10105 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10107 * libio/fileops.c (do_ftell): Use cached offset when
10109 * libio/iofwide.c (do_ftell_wide): Likewise.
10110 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10112 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10115 * libio/libioP.h (get_file_offset): New function.
10116 * libio/fileops.c (get_file_offset): Likewise.
10117 (do_ftell): Likewise.
10118 (_IO_new_file_seekoff): Split out ftell logic.
10119 * libio/wfileops.c (do_ftell_wide): Likewise.
10120 (_IO_wfile_seekoff): Split out ftell logic.
10121 * libio/tst-ftell-active-handler.c: New test case.
10122 * libio/Makefile (tests): Add it.
10124 2014-03-03 Roland McGrath <roland@hack.frob.com>
10126 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10127 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10129 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10132 * nscd/connections.c (nscd_init): Call do_exit.
10133 (start_threads): Call do_exit and notify_parent.
10134 (begin_drop_privileges): Call do_exit.
10135 (finish_drop_privileges): Likewise.
10136 * nscd/selinux.c (preserve_capabilities): Likewise.
10137 (install_real_capabilities): Likewise.
10138 (nscd_selinux_enabled): Likewise.
10139 (avc_create_thread): Likewise.
10140 (avc_alloc_lock): Likewise.
10141 (nscd_avc_init): Likewise.
10142 * nscd/nscd.c (parent_fd): New static variable.
10143 (main): Create a pipe between parent and child processes.
10144 Skip closing parent_fd.
10145 (monitor_child): New function.
10146 (do_exit): Likewise.
10147 (notify_parent): Likewise.
10148 * nscd/nscd.h (notify_parent): Likewise.
10149 (do_exit): Likewise.
10151 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10153 * malloc/malloc.c (__libc_calloc): Revert last change.
10155 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10159 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10161 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10165 (__libc_ifunc_impl_list): Likewise.
10166 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10167 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10168 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10169 * string/strrchr.c: Define STRRCHR.
10171 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10173 * benchtest/bench-strtok.c (simple_strtok): Delete.
10174 (strtok_string): Use as benchmark.
10175 * string/strtok (STRTOK): New macro.
10177 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10179 * manual/threads.texi: Add header and standard comments to all
10182 * elf/dl-lookup.c (check_match): New function.
10183 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10184 (do_lookup_x): Remove nested function check_match. Use non-nested
10185 function check_match.
10187 2014-02-28 Roland McGrath <roland@hack.frob.com>
10189 * csu/Makefile (generated, before-compile): Use += rather than =.
10190 * catgets/Makefile (generated, generated-dirs): Likewise.
10191 * debug/Makefile (generated): Likewise.
10192 * dlfcn/Makefile (generated): Likewise.
10193 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10194 * iconvdata/Makefile (before-compile, generated): Likewise.
10195 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10196 * libio/Makefile (generated): Likewise.
10197 * malloc/Makefile (generated): Likewise.
10198 * manual/Makefile (generated, generated-dirs): Likewise.
10199 * misc/Makefile (generated): Likewise.
10200 * posix/Makefile (generated): Likewise.
10201 * resolv/Makefile (generated): Likewise.
10202 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10203 * timezone/Makefile (generated, generated-dirs): Likewise.
10205 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10207 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10210 power8 implementation.
10211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10212 file: POWER8 llround ifunc implementation.
10213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10214 (__lllround): Add POWER8 implementation.
10215 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10216 POWER8 llround implementation.
10218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10219 power8 implementation.
10220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10221 file: POWER8 llrint ifunc implementation.
10222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10223 Add POWER8 implementation.
10224 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10225 POWER8 llrint implementation.
10227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10228 power8 implementation.
10229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10230 file: POWER8 finite ifunc implementation.
10231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10232 Add POWER8 implementation.
10233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10235 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10236 POWER8 finite implementation.
10237 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10240 power8 implementation.
10241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10242 file: POWER8 isinf ifunc implementation.
10243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10244 POWER8 implementation.
10245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10248 isinf implementation.
10249 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10251 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10252 (INIT_ARCH): Add hwcap2 initialization.
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10254 power8 implementation.
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10256 file: POWER8 isnan ifunc implementation.
10257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10258 POWER8 implementation.
10259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10261 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10262 isnan implementation.
10263 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10265 2014-02-27 Joey Ye <joey.ye@arm.com>
10267 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10268 (_FP_NANFRAC_Q): Set to zero.
10270 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10273 * math/auto-libm-test-in: New test inputs.
10274 * math/auto-libm-test-out: Regenerate.
10275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10280 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10282 * scripts/evaluate-test.sh: Take new argument indicating whether
10283 failure is expected.
10284 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10285 indicating whether failure is expected.
10286 * conform/Makefile (test-xfail-run-conformtest): New variable.
10287 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10289 * posix/Makefile (test-xfail-annexc): New variable.
10290 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10292 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10294 * argp/Makefile: Include Makeconfig immediately after defining
10296 * assert/Makefile: Likewise.
10297 * benchtests/Makefile: Likewise.
10298 * catgets/Makefile: Likewise.
10299 * conform/Makefile: Likewise.
10300 * crypt/Makefile: Likewise.
10301 * csu/Makefile: Likewise.
10302 (all): Remove target.
10303 * ctype/Makefile: Include Makeconfig immediately after defining
10305 * debug/Makefile: Likewise.
10306 * dirent/Makefile: Likewise.
10307 * dlfcn/Makefile: Likewise.
10308 * gmon/Makefile: Likewise.
10309 * gnulib/Makefile: Likewise.
10310 * grp/Makefile: Likewise.
10311 * gshadow/Makefile: Likewise.
10312 * hesiod/Makefile: Likewise.
10313 * hurd/Makefile: Likewise.
10314 (all): Remove target.
10315 * iconvdata/Makefile: Include Makeconfig immediately after
10317 * inet/Makefile: Likewise.
10318 * intl/Makefile: Likewise.
10319 * io/Makefile: Likewise.
10320 * libio/Makefile: Likewise.
10321 (all): Remove target.
10322 * locale/Makefile: Include Makeconfig immediately after defining
10324 * login/Makefile: Likewise.
10325 * mach/Makefile: Likewise.
10326 (all): Remove target.
10327 * malloc/Makefile: Include Makeconfig immediately after defining
10329 (all): Remove target.
10330 * manual/Makefile: Include Makeconfig immediately after defining
10332 * math/Makefile: Likewise.
10333 * misc/Makefile: Likewise.
10334 * nis/Makefile: Likewise.
10335 * nss/Makefile: Likewise.
10336 * po/Makefile: Likewise.
10337 (all): Remove target.
10338 * posix/Makefile: Include Makeconfig immediately after defining
10340 * pwd/Makefile: Likewise.
10341 * resolv/Makefile: Likewise.
10342 * resource/Makefile: Likewise.
10343 * rt/Makefile: Likewise.
10344 * setjmp/Makefile: Likewise.
10345 * shadow/Makefile: Likewise.
10346 * signal/Makefile: Likewise.
10347 * socket/Makefile: Likewise.
10348 * soft-fp/Makefile: Likewise.
10349 * stdio-common/Makefile: Likewise.
10350 * stdlib/Makefile: Likewise.
10351 * streams/Makefile: Likewise.
10352 * string/Makefile: Likewise.
10353 * sunrpc/Makefile: Likewise.
10354 (all): Remove target.
10355 * sysvipc/Makefile: Include Makeconfig immediately after defining
10357 * termios/Makefile: Likewise.
10358 * time/Makefile: Likewise.
10359 * timezone/Makefile: Likewise.
10360 (all): Remove target.
10361 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10363 * wctype/Makefile: Likewise.
10365 2014-02-26 Steve Ellcey <sellcey@mips.com>
10367 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10368 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10369 (libc_feholdexcept_setround_mips): Ditto.
10370 (libc_feholdsetround): New.
10371 (libc_feholdsetroundf): New.
10372 (libc_feholdsetroundl): New.
10373 (libc_feupdateenv_test_mips): New.
10374 (libc_feupdateenv_test): New.
10375 (libc_feupdateenv_testf): New.
10376 (libc_feupdateenv_testl): New.
10377 (libc_feresetround): New.
10378 (libc_feresetroundf): New.
10379 (libc_feresetroundl): New.
10380 (libc_fetestexcept_mips): New.
10381 (libc_fetestexcept): New.
10382 (libc_fetestexceptf): New.
10383 (libc_fetestexceptl): New.
10384 (HAVE_RM_CTX): New.
10385 (libc_feholdexcept_setround_mips_ctx): New.
10386 (libc_feholdexcept_setround_ctx): New.
10387 (libc_feholdexcept_setroundf_ctx): New.
10388 (libc_feholdexcept_setroundl_ctx): New.
10389 (libc_fesetenv_mips_ctx): New.
10390 (libc_fesetenv_ctx): New.
10391 (libc_fesetenv_ctxf): New.
10392 (libc_fesetenv_ctxl): New.
10393 (libc_feupdateenv_mips_ctx): New.
10394 (libc_feupdateenv_ctx): New.
10395 (libc_feupdateenvf_ctx): New.
10396 (libc_feupdateenvl_ctx): New.
10397 (libc_feholdsetround_mips_ctx): New.
10398 (libc_feholdsetround_ctx): New.
10399 (libc_feholdsetroundf_ctx): New.
10400 (libc_feholdsetroundl_ctx): New.
10401 (libc_feresetround_mips_ctx): New.
10402 (libc_feresetround_ctx): New.
10403 (libc_feresetroundf_ctx): New.
10404 (libc_feresetroundl_ctx): New.
10406 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10408 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10410 * manual/ipc.texi: New file.
10411 * manual/Makefile (chapters): Add ipc.
10412 * manual/job.texi: Add "Inter-Process Communication" to next.
10413 * manual/process.texi: Add "Inter-Process Communication" to prev.
10415 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10419 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10421 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10423 * manual/arith.texi: Fix spaces after sentences.
10424 * manual/charset.texi: Likewise.
10425 * manual/errno.texi: Likewise.
10426 * manual/install.texi: Likewise.
10427 * manual/llio.texi: Likewise.
10428 * manual/locale.texi: Likewise.
10429 * manual/maint.texi: Likewise.
10430 * manual/math.texi: Likewise.
10431 * manual/memory.texi: Likewise.
10432 * manual/message.texi: Likewise.
10433 * manual/probes.texi: Likewise.
10434 * manual/resource.texi: Likewise.
10435 * manual/signal.texi: Likewise.
10436 * manual/socket.texi: Likewise.
10437 * manual/stdio.texi: Likewise.
10438 * manual/string.texi: Likewise.
10439 * manual/time.texi: Likewise.
10440 * manual/users.texi: Likewise.
10442 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10445 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10446 _DEFAULT_SOURCE is defined.
10448 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10449 Carlos O'Donell <carlos@redhat.com>
10452 * elf/dl-tls.c (_dl_count_modids): New function.
10453 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10454 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10455 audit library and increment generation counter.
10456 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10457 * elf/tst-audit9.c: New file.
10458 * elf/tst-auditmod9a.c: New file.
10459 * elf/tst-auditmod9b.c: New file.
10460 * elf/Makefile: Add rules to build and run tst-audit9.
10462 2014-02-25 Florian Weimer <fweimer@redhat.com>
10465 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10467 2014-02-25 Will Newton <will.newton@linaro.org>
10469 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10470 (__longjmp): Restore sp and lr before restoring callee
10471 saved registers. Add longjmp and longjmp_target
10472 SystemTap probe point.
10473 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10474 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10475 Define to zero to match jmpbuf layout.
10476 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10477 (__sigsetjmp): Save sp and lr before saving callee
10478 saved registers. Add setjmp SystemTap probe point.
10480 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10482 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10484 2014-02-24 Andreas Schwab <schwab@suse.de>
10487 * elf/pldd.c (wait_for_ptrace_stop): New function.
10488 (main): Call it after attaching.
10490 2014-02-22 Roland McGrath <roland@hack.frob.com>
10492 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10493 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10494 Versions files is now verboten.
10495 * hurd/Versions (libc: GLIBC_2.0):
10496 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10497 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10498 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10499 * mach/Versions: Likewise.
10501 * csu/Versions: Remove unused %include.
10502 * resolv/Versions: Likewise.
10504 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10506 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10507 ($(objpfx)check-local-headers.out): Likewise.
10508 ($(objpfx)begin-end-check.out): Likewise.
10509 * Makerules (check-abi-%.out): Likewise.
10510 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10511 ($(objpfx)test2.cat): Likewise.
10512 ($(objpfx)de/libc.cat): Likewise.
10513 ($(objpfx)test-gencat.out): Likewise.
10514 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10515 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10516 ($(objpfx)noload-mem): Likewise.
10517 ($(objpfx)tst-pathopt.out): Likewise.
10518 ($(objpfx)tst-rtld-load-self.out): Likewise.
10519 ($(objpfx)tst-array1-cmp.out): Likewise.
10520 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10521 ($(objpfx)tst-array2-cmp.out): Likewise.
10522 ($(objpfx)tst-array3-cmp.out): Likewise.
10523 ($(objpfx)tst-array4-cmp.out): Likewise.
10524 ($(objpfx)tst-array5-cmp.out): Likewise.
10525 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10526 ($(objpfx)check-textrel.out): Likewise.
10527 ($(objpfx)check-execstack.out): Likewise.
10528 ($(objpfx)check-localplt.out): Likewise.
10529 ($(objpfx)order2-cmp.out): Likewise.
10530 ($(objpfx)tst-leaks1-mem): Likewise.
10531 ($(objpfx)tst-leaks1-static-mem): Likewise.
10532 ($(objpfx)tst-initorder-cmp.out): Likewise.
10533 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10534 ($(objpfx)tst-unused-dep.out): Likewise.
10535 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10536 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10537 * iconv/Makefile (test-iconvconfig): Likewise.
10538 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10539 ($(objpfx)iconv-test.out): Likewise.
10540 ($(objpfx)tst-tables.out): Likewise.
10541 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10542 ($(objpfx)tst-gettext.out): Likewise.
10543 ($(objpfx)tst-translit.out): Likewise.
10544 ($(objpfx)tst-gettext2.out): Likewise.
10545 ($(objpfx)tst-gettext4.out): Likewise.
10546 ($(objpfx)tst-gettext6.out): Likewise.
10547 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10548 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10549 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10550 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10551 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10552 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10553 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10554 ($(objpfx)wordexp-tst.out): Likewise.
10555 ($(objpfx)annexc.out): Likewise.
10556 ($(objpfx)tst-fnmatch-mem): Likewise.
10557 ($(objpfx)bug-regex2-mem): Likewise.
10558 ($(objpfx)bug-regex14-mem): Likewise.
10559 ($(objpfx)bug-regex21-mem): Likewise.
10560 ($(objpfx)bug-regex31-mem): Likewise.
10561 ($(objpfx)tst-vfork3-mem): Likewise.
10562 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10563 ($(objpfx)tst-pcre-mem): Likewise.
10564 ($(objpfx)tst-boost-mem): Likewise.
10565 ($(objpfx)tst-getconf.out): Likewise.
10566 ($(objpfx)bug-ga2-mem): Likewise.
10567 ($(objpfx)bug-glob2-mem): Likewise.
10568 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10569 ($(objpfx)mtrace-tst-leaks2): Likewise.
10570 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10571 ($(objpfx)tst-printf.out): Likewise.
10572 ($(objpfx)tst-setvbuf1.out): Likewise.
10573 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10574 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10575 ($(objpfx)tst-fmtmsg.out): Likewise.
10576 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10577 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10579 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10580 * bits/sigaction.h [__USE_MISC]: Likewise.
10581 * bits/waitstatus.h: Update #endif comments.
10582 * ctype/ctype.h: Likewise.
10583 * dirent/dirent.h: Likewise.
10584 [__USE_MISC]: Remove redundant conditionals.
10585 * grp/grp.h: Update #endif comments.
10586 [__USE_GNU]: Remove redundant conditionals.
10587 [__USE_MISC]: Likewise.
10588 * inet/netinet/in.h [__USE_GNU]: Likewise.
10589 * io/sys/stat.h [__USE_MISC]: Likewise.
10590 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10591 * libio/bits/stdio.h: Update #endif comments.
10592 [__USE_MISC]: Remove redundant conditionals.
10593 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10594 * libio/stdio.h: Update #endif comments.
10595 [__USE_MISC]: Remove redundant conditionals.
10596 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10597 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10598 * math/math.h: Update #else and #endif comments.
10599 [__USE_MISC]: Remove redundant conditionals.
10600 * misc/sys/uio.h: Update #endif comments.
10601 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10602 * posix/glob.h [__USE_MISC]: Likewise.
10603 * posix/sys/types.h: Update #endif comments.
10604 [__USE_MISC]: Remove redundant conditionals.
10605 * posix/sys/wait.h: Update #endif comments.
10606 [__USE_MISC]: Remove redundant conditionals.
10607 * posix/unistd.h: Update #endif comments.
10608 [__USE_MISC]: Remove redundant conditionals.
10609 * pwd/pwd.h [__USE_GNU]: Likewise.
10610 [__USE_MISC]: Likewise.
10611 * resolv/netdb.h [__USE_GNU]: Likewise.
10612 * signal/signal.h: Update #endif comments.
10613 [__USE_MISC]: Remove redundant conditionals.
10614 * stdlib/stdlib.h: Update #else and #endif comments.
10615 [__USE_MISC]: Remove redundant conditionals.
10616 [__USE_GNU]: Likewise.
10617 * string/bits/string2.h [__USE_MISC]: Likewise.
10618 * string/string.h: Update #endif comments.
10619 [__USE_MISC]: Remove redundant conditionals.
10620 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10622 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10623 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10624 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10626 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10630 [__USE_MISC]: Remove redundant conditionals.
10631 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10632 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10633 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10634 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10635 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10637 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10638 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10640 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10641 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10643 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10645 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10646 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10648 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10650 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10651 * sysdeps/x86/bits/string.h: Update #endif comments.
10652 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10654 * time/sys/time.h: Update #endif comments.
10655 * time/time.h: Likewise.
10656 [__USE_MISC]: Remove redundant conditionals.
10658 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10661 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10663 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10665 * Versions.def (librt): Add GLIBC_2.17.
10667 2014-02-21 Adam Conrad <adconrad@0c3.net>
10669 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10670 synonym for _SYS_AUXV_H to allow direct inclusion.
10671 * sysdeps/sparc/bits/hwcap.h: Likewise.
10672 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10673 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10674 * sysdeps/sparc/sysdep.h: Likewise.
10676 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10678 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10680 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10682 * benchtests/bench-strrchr.c: Print length instead of position.
10684 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10687 * sysdeps/unix/sysv/linux/kernel-features.h
10688 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10689 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10690 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10691 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10693 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10694 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10695 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10696 (__ASSUME_SENDMMSG): Define instead of using previous
10697 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10698 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10699 (__ASSUME_SENDMMSG_SYSCALL): Define.
10700 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10701 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10703 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10704 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10706 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10707 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10709 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10710 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10711 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10712 [__ASSUME_SENDMMSG]: Change conditionals to
10713 [__ASSUME_SENDMMSG_SOCKETCALL].
10714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10715 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10717 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10718 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10720 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10721 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10722 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10723 [!__ASSUME_SENDMMSG]: Change conditional to
10724 [!__ASSUME_SENDMMSG_SOCKETCALL].
10725 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10726 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10730 * sysdeps/unix/sysv/linux/kernel-features.h
10731 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10732 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10733 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10734 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10735 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10736 [__i386__ || __sparc__]
10737 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10738 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10739 (__ASSUME_RECVMMSG): Define instead of using previous
10740 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10741 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10742 (__ASSUME_RECVMMSG_SYSCALL): Define.
10743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10744 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10747 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10749 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10750 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10752 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10753 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10754 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10755 [__ASSUME_RECVMMSG]: Change condition to
10756 [__ASSUME_RECVMMSG_SOCKETCALL].
10757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10760 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10761 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10762 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10764 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10765 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10766 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10767 [!__ASSUME_RECVMMSG]: Change condition to
10768 [!__ASSUME_RECVMMSG_SOCKETCALL].
10769 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10770 (__ASSUME_RECVMMSG_SYSCALL): Define.
10773 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10774 __powerpc__ || __s390__ || __sh__ || __sparc__]
10775 (__ASSUME_SOCKETCALL): Define.
10776 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10777 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10778 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10779 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10780 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10781 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10782 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10783 (__ASSUME_ACCEPT4): Define instead of using previous
10784 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10785 __powerpc__ || __sparc__ || __s390__)] condition.
10786 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10787 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10788 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10789 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10790 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10791 [!__ASSUME_ACCEPT4]: Change condition to
10792 [!__ASSUME_ACCEPT4_SOCKETCALL].
10793 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10794 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10795 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10796 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10797 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10798 __ASSUME_ACCEPT4_SYSCALL.
10799 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10800 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10802 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10803 __ASSUME_ACCEPT4_SYSCALL.
10804 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10805 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10806 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10807 [__ASSUME_ACCEPT4]: Change condition to
10808 [__ASSUME_ACCEPT4_SOCKETCALL].
10809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10810 (__ASSUME_SOCKETCALL): Define.
10811 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10813 (__ASSUME_SOCKETCALL): Define.
10814 (__ASSUME_ACCEPT4): Remove.
10815 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10818 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10821 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10823 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10825 (HWCAP_ARM_LPAE): Likewise.
10826 (HWCAP_ARM_EVTSTRM): Likewise.
10827 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10828 Add vpfd32, lpae and evtstrm.
10829 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10832 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10834 * math/auto-libm-test-in: Add tests of clog10.
10835 * math/auto-libm-test-out: Regenerated.
10836 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10837 * sysdeps/i386/fpu/libm-test-ulps: Update.
10838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840 2014-02-18 Andreas Schwab <schwab@suse.de>
10843 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10844 Store non-zero if the second buffer was newly allocated.
10845 (send_dg): Likewise.
10846 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10847 to send_vc and send_dg.
10848 (res_nsend): Pass NULL for ansp2_malloced.
10849 * resolv/res_query.c (__libc_res_nquery): Add parameter
10850 answerp2_malloced and pass it down to __libc_res_nsend.
10851 (res_nquery): Pass additional NULL to __libc_res_nquery.
10852 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10853 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10854 second answer buffer if answerp2_malloced was set.
10855 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10856 (__libc_res_nquerydomain): Add parameter
10857 answerp2_malloced and pass it down to __libc_res_nquery.
10858 (res_nquerydomain): Pass additional NULL to
10859 __libc_res_nquerydomain.
10860 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10861 additional NULL to __libc_res_nsend and __libc_res_nquery.
10862 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10863 additional NULL to __libc_res_nsearch.
10864 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10865 parameter of __libc_res_nsearch to check for separately allocated
10867 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10869 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10870 additional NULL to __libc_res_nquery.
10871 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10872 __libc_res_nsearch.
10873 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10874 * include/resolv.h: Update prototypes of __libc_res_nquery,
10875 __libc_res_nsearch, __libc_res_nsend.
10877 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10879 * math/auto-libm-test-in: Add tests of fma.
10880 * math/auto-libm-test-out: Regenerated.
10881 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10882 (fma_towardzero_test_data): Likewise.
10883 (fma_downward_test_data): Likewise.
10884 (fma_upward_test_data): Likewise.
10885 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10887 (rounding_modes): Add values for new field.
10888 (func_calc_method): Add value mpfr_fff_f.
10889 (func_calc_desc): Add mpfr_fff_f union field.
10890 (test_function): Add field exact_args.
10891 (FUNC): Add macro argument EXACT_ARGS.
10892 (FUNC_mpfr_f_f): Update call to FUNC.
10893 (FUNC_mpfr_f_f): Likewise.
10894 (FUNC_mpfr_ff_f): Likewise.
10895 (FUNC_mpfr_if_f): Likewise.
10896 (FUNC_mpc_c_f): Likewise.
10897 (FUNC_mpc_c_c): Likewise.
10898 (test_functions): Add fma. Update calls to FUNC.
10899 (handle_input_arg): Add argument exact_args.
10900 (add_test): Update call to handle_input_arg.
10901 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10902 (output_for_one_input_case): Update call to calc_generic_results.
10903 Recalculate exact zero results in each rounding mode.
10905 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10906 non-negative before setting low bit.
10907 * math/auto-libm-test-in: Mark one asin test possibly having
10908 spurious underflow.
10909 * math/auto-libm-test-out: Regenerated.
10910 * sysdeps/i386/fpu/libm-test-ulps: Update.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10915 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10916 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10917 ports/sysdeps/unix/sysv/linux/microblaze.
10918 * README: Add missing listing for microblaze*-*-linux-gnu.
10920 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10922 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10925 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10927 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10928 * sysdeps/unix/sysv/linux/ia64: Move directory from
10929 ports/sysdeps/unix/sysv/linux/ia64.
10930 * README: Update listing for ia64-*-linux-gnu.
10932 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10933 Joseph Myers <joseph@codesourcery.com>
10935 * Makeconfig (test-name): New variable.
10936 (evaluate-test): Likewise.
10937 * Makerules (do-test-clean): Remove .test-result files.
10938 (common-mostlyclean): Likewise.
10939 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10940 * scripts/evaluate-test.sh: New file.
10942 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10944 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10945 separate $(objpfx)tst-fopenloc-cmp.out and
10946 $(objpfx)tst-fopenloc-mem.out targets.
10947 (tests): Update dependencies.
10948 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10949 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10950 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10951 (tst-rxspencer-no-utf8-ARGS): New variable.
10952 (tst-rxspencer-no-utf8-ENV): Likewise.
10953 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10954 instead of $(objpfx)tst-rxspencer-mem.
10955 ($(objpfx)tst-rxspencer-mem): Change target to
10956 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10957 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10958 * posix/tst-rxspencer-no-utf8.c: New file.
10960 * elf/Makefile ($(objpfx)order.out): Remove rule.
10961 [$(run-built-tests) = yes] (tests): Depend on
10962 $(objpfx)order-cmp.out.
10963 ($(objpfx)order-cmp.out): New rule.
10964 [$(run-built-tests) = yes] (tests): Depend on
10965 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10966 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10967 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10968 $(objpfx)tst-array5-static-cmp.out.
10969 ($(objpfx)tst-array1.out): Remove rule.
10970 ($(objpfx)tst-array1-cmp.out): New rule.
10971 ($(objpfx)tst-array1-static.out): Remove rule.
10972 ($(objpfx)tst-array1-static-cmp.out): New rule.
10973 ($(objpfx)tst-array2.out): Remove rule.
10974 ($(objpfx)tst-array2-cmp.out): New rule.
10975 ($(objpfx)tst-array3.out): Remove rule.
10976 ($(objpfx)tst-array3-cmp.out): New rule.
10977 ($(objpfx)tst-array4.out): Remove rule.
10978 ($(objpfx)tst-array4-cmp.out): New rule.
10979 ($(objpfx)tst-array5.out): Remove rule.
10980 ($(objpfx)tst-array5-cmp.out): New rule.
10981 ($(objpfx)tst-array5-static.out): Remove rule.
10982 ($(objpfx)tst-array5-static-cmp.out): New rule.
10983 [$(run-built-tests) = yes] (tests): Depend on
10984 $(objpfx)order2-cmp.out.
10985 ($(objpfx)order2.out): Remove rule.
10986 ($(objpfx)order2-cmp.out): New rule.
10987 ($(objpfx)tst-initorder.out): Remove rule.
10988 [$(run-built-tests) = yes] (tests): Depend on
10989 $(objpfx)tst-initorder-cmp.out.
10990 ($(objpfx)tst-initorder-cmp.out): New rule.
10991 ($(objpfx)tst-initorder2.out): Remove rule.
10992 [$(run-built-tests) = yes] (tests): Depend on
10993 $(objpfx)tst-initorder2-cmp.out.
10994 ($(objpfx)tst-initorder2-cmp.out): New rule.
10995 [$(run-built-tests) = yes] (tests): Depend on
10996 $(objpfx)tst-unused-dep-cmp.out.
10997 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10998 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10999 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11000 on $(objpfx)tst-setvbuf1-cmp.out.
11001 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11002 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11003 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11004 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11005 ($(objpfx)tst-svc.out): Remove rule.
11006 ($(objpfx)tst-svc-cmp.out): New rule.
11008 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11010 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11011 * ctype/ctype.h [__USE_MISC]: Likewise.
11012 * dirent/dirent.h [__USE_MISC]: Likewise.
11013 * grp/grp.h [__USE_MISC]: Likewise.
11014 * io/fcntl.h [__USE_MISC]: Likewise.
11015 * io/sys/stat.h [__USE_MISC]: Likewise.
11016 * libio/stdio.h [__USE_MISC]: Likewise.
11017 * posix/unistd.h [__USE_MISC]: Likewise.
11018 * pwd/pwd.h [__USE_MISC]: Likewise.
11019 * stdlib.h [__USE_MISC]: Likewise.
11020 * string/bits/string2.h [__USE_MISC]: Likewise.
11021 * string/string.h [__USE_MISC]: Likewise.
11022 * time/time.h [__USE_MISC]: Likewise.
11024 2014-02-13 Andreas Schwab <schwab@suse.de>
11027 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11028 second answer buffer if it was separately allocated.
11030 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/mips/math-tests.h: Include <features.h>.
11033 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11034 (ROUNDING_TESTS_long_double): Do not define.
11035 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11036 (EXCEPTION_TESTS_long_double): Likewise.
11037 * sysdeps/mips/mips64/libm-test-ulps: Update.
11039 * include/features.h (__USE_BSD): Remove macro definitions.
11040 (__USE_SVID): Likewise.
11041 (_BSD_SOURCE): Likewise.
11042 (_SVID_SOURCE): Likewise.
11043 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11044 from definition of _DEFAULT_SOURCE.
11045 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11047 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11048 * bits/mman.h [__USE_BSD]: Likewise.
11049 * bits/termios.h [__USE_BSD]: Likewise.
11050 * bits/waitstatus.h [__USE_BSD]: Likewise.
11051 * ctype/ctype.h [__USE_SVID]: Likewise.
11052 * dirent/dirent.h [__USE_BSD]: Likewise.
11053 * grp/grp.h [__USE_SVID]: Likewise.
11054 [__USE_BSD]: Likewise.
11055 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11056 * io/fcntl.h [__USE_BSD]: Likewise.
11057 * io/ftw.h [__USE_BSD]: Likewise.
11058 * io/sys/stat.h [__USE_BSD]: Likewise.
11059 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11060 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11061 * libio/stdio.h [__USE_SVID]: Likewise.
11062 [__USE_BSD]: Likewise.
11063 * math/math.h [__USE_SVID]: Likewise.
11064 [__USE_BSD]: Likewise.
11065 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11066 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11067 * misc/search.h [__USE_SVID]: Likewise.
11068 * misc/sys/mman.h [__USE_BSD]: Likewise.
11069 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11070 * misc/sys/uio.h [__USE_BSD]: Likewise.
11071 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11072 * posix/glob.h [__USE_BSD]: Likewise.
11073 * posix/regex.h [__USE_BSD]: Likewise.
11074 * posix/sys/types.h [__USE_BSD]: Likewise.
11075 [__USE_SVID]: Likewise.
11076 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11077 * posix/sys/wait.h [__USE_BSD]: Likewise.
11078 [__USE_SVID]: Likewise.
11079 * posix/unistd.h [__USE_BSD]: Likewise.
11080 [__USE_SVID]: Likewise.
11081 * pwd/pwd.h [__USE_SVID]: Likewise.
11082 * resolv/netdb.h [__USE_BSD]: Likewise.
11083 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11084 * signal/signal.h [__USE_BSD]: Likewise.
11085 [__USE_SVID]: Likewise.
11086 * socket/sys/socket.h [__USE_BSD]: Likewise.
11087 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11088 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11089 [__USE_SVID]: Likewise.
11090 * string/bits/string2.h [__USE_BSD]: Likewise.
11091 [__USE_SVID]: Likewise.
11092 * string/bits/string3.h [__USE_BSD]: Likewise.
11093 * string/endian.h [__USE_BSD]: Likewise.
11094 * string/string.h [__USE_SVID]: Likewise.
11095 [__USE_BSD]: Likewise.
11096 * string/strings.h [__USE_BSD]: Likewise.
11097 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11098 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11099 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11100 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11101 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11102 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11106 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11107 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11109 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11110 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11112 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11114 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11115 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11120 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11121 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11122 * termios/termios.h [__USE_BSD]: Likewise.
11123 * time/sys/time.h [__USE_BSD]: Likewise.
11124 * time/time.h [__USE_BSD]: Likewise.
11125 [__USE_SVID]: Likewise.
11127 * Makefile (subdir_targets): Remove subdir_lint.out.
11129 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11130 (do-tst-printf): Likewise.
11131 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11132 $(objpfx)tst-printf.out.
11134 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11136 * Makerules (check-abi-%): Change target to
11137 $(objpfx)check-abi-%.out.
11138 (check-abi target): Update dependencies.
11139 (check-abi-pattern variable): Redirect output of diff to $@.
11140 (check-abi variable): Likewise.
11141 * elf/Makefile (check-abi): Update dependencies.
11143 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11145 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11146 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11148 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11149 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11150 value has largest subnormal exponent.
11151 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11152 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11153 * sysdeps/aarch64/soft-fp/sfp-machine.h
11154 (_FP_TININESS_AFTER_ROUNDING): New macro.
11155 * sysdeps/alpha/soft-fp/sfp-machine.h
11156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11157 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11159 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11161 * sysdeps/mips/soft-fp/sfp-machine.h
11162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11163 * sysdeps/powerpc/soft-fp/sfp-machine.h
11164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11165 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11167 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11168 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11169 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11170 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11171 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11174 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11177 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11180 2014-02-12 Richard Henderson <rth@redhat.com>
11182 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11183 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11184 * sysdeps/unix/sysv/linux/alpha: Move directory from
11185 ports/sysdeps/unix/sysv/linux/alpha.
11186 * README: Update listing for alpha-*-linux-gnu.
11188 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11190 * include/features.h: Update comment documenting feature test
11192 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11194 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11195 (_SVID_SOURCE): Likewise.
11196 (_DEFAULT_SOURCE): Update description of default features.
11197 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11199 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11200 (S_ISVTX): Likewise.
11201 * manual/math.texi (Mathematical Constants): Likewise.
11202 * manual/signal.texi (Interrupted Primitives): Likewise.
11203 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11204 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11205 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11206 Don't refer to _SVID_SOURCE in warning text.
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11210 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11212 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11213 * sysdeps/mips/dl-lookup.c: Remove.
11214 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11216 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11219 * math/auto-libm-test-in: Add testcase for expl.
11220 * math/auto-libm-test-out: Regenerate.
11221 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11222 calculation of unsafe.
11223 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11225 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11227 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11228 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11229 ports/sysdeps/unix/sysv/linux/aarch64.
11230 * README: Update listing for aarch64*-*-linux-gnu.
11232 2014-02-11 Will Newton <will.newton@linaro.org>
11234 * manual/probes.texi (Mathematical Function Probes): Use
11235 "triggered" instead of "hit".
11237 * manual/probes.texi (Internal Probes): Add documentation
11238 of setjmp, longjmp and longjmp_target probes.
11240 * include/stap-probe.h: Add comment about probe argument
11243 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11244 definition. (tr_where, tr_freehook, tr_mallochook,
11245 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11247 2014-02-11 David S. Miller <davem@davemloft.net>
11249 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11250 processing int_tests.
11252 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11254 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11255 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11256 * sysdeps/unix/sysv/linux/mips: Move directory from
11257 ports/sysdeps/unix/sysv/linux/mips.
11258 * README: Update listing for mips-*-linux-gnu and
11259 mips64-*-linux-gnu.
11261 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11263 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11264 * sysdeps/unix/sysv/linux/m68k: Move directory from
11265 ports/sysdeps/unix/sysv/linux/m68k.
11266 * README: Update listing for m68k-*-linux-gnu.
11268 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11270 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11271 * sysdeps/unix/sysv/linux/generic: Move directory from
11272 ports/sysdeps/unix/sysv/linux/generic.
11273 * sysdeps/unix/sysv/linux/tile: Move directory from
11274 ports/sysdeps/unix/sysv/linux/tile.
11275 * README: Update listing for tile*-*-linux-gnu.
11277 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11279 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11281 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11282 * catgets/open_catalog.c (__open_catalog): Likewise.
11283 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11284 * debug/confstr_chk.c: Likewise.
11285 * debug/fread_chk.c (__fread_chk): Likewise.
11286 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11287 * debug/getgroups_chk.c: Likewise.
11288 * debug/mbsnrtowcs_chk.c: Likewise.
11289 * debug/mbsrtowcs_chk.c: Likewise.
11290 * debug/mbstowcs_chk.c: Likewise.
11291 * debug/memcpy_chk.c: Likewise.
11292 * debug/memmove_chk.c: Likewise.
11293 * debug/mempcpy_chk.c: Likewise.
11294 * debug/memset_chk.c: Likewise.
11295 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11296 * debug/strcat_chk.c (__strcat_chk): Likewise.
11297 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11298 * debug/strncat_chk.c (__strncat_chk): Likewise.
11299 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11300 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11301 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11302 * debug/wcpncpy_chk.c: Likewise.
11303 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11304 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11305 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11306 * debug/wcsncpy_chk.c: Likewise.
11307 * debug/wcsnrtombs_chk.c: Likewise.
11308 * debug/wcsrtombs_chk.c: Likewise.
11309 * debug/wcstombs_chk.c: Likewise.
11310 * debug/wmemcpy_chk.c: Likewise.
11311 * debug/wmemmove_chk.c: Likewise.
11312 * debug/wmempcpy_chk.c: Likewise.
11313 * debug/wmemset_chk.c: Likewise.
11314 * dirent/scandirat.c (SCANDIRAT): Likewise.
11315 * dlfcn/dladdr1.c (dladdr1): Likewise.
11316 * dlfcn/dladdr.c (dladdr): Likewise.
11317 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11318 * dlfcn/dlerror.c (__dlerror): Likewise.
11319 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11320 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11321 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11322 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11323 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11324 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11325 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11326 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11328 * elf/dl-conflict.c: Likewise.
11329 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11330 * elf/dl-dst.h: Likewise.
11331 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11332 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11333 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11334 * elf/dl-init.c (call_init, _dl_init): Likewise.
11335 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11336 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11337 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11339 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11341 * elf/dl-minimal.c (__libc_memalign): Likewise.
11342 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11343 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11344 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11345 * elf/dl-sym.c (do_sym): Likewise.
11346 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11347 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11348 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11349 * elf/dl-writev.h (_dl_writev): Likewise.
11350 * elf/ldconfig.c (search_dir): Likewise.
11351 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11352 (dl_main): Likewise.
11353 * elf/setup-vdso.h (setup_vdso): Likewise.
11354 * grp/compat-initgroups.c (compat_call): Likewise.
11355 * grp/fgetgrent.c (fgetgrent): Likewise.
11356 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11357 * grp/putgrent.c (putgrent): Likewise.
11358 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11360 * hurd/hurdinit.c: Likewise.
11361 * iconvdata/8bit-gap.c (struct): Likewise.
11362 * iconvdata/ansi_x3.110.c : Likewise.
11363 * iconvdata/big5.c : Likewise.
11364 * iconvdata/big5hkscs.c : Likewise.
11365 * iconvdata/cp1255.c: Likewise.
11366 * iconvdata/cp1258.c : Likewise.
11367 * iconvdata/cp932.c : Likewise.
11368 * iconvdata/euc-cn.c: Likewise.
11369 * iconvdata/euc-jisx0213.c : Likewise.
11370 * iconvdata/euc-jp.c: Likewise.
11371 * iconvdata/euc-jp-ms.c : Likewise.
11372 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11373 * iconvdata/gb18030.c : Likewise.
11374 * iconvdata/gbbig5.c (const): Likewise.
11375 * iconvdata/gbgbk.c: Likewise.
11376 * iconvdata/gbk.c : Likewise.
11377 * iconvdata/ibm1364.c : Likewise.
11378 * iconvdata/ibm930.c : Likewise.
11379 * iconvdata/ibm932.c: Likewise.
11380 * iconvdata/ibm933.c : Likewise.
11381 * iconvdata/ibm935.c : Likewise.
11382 * iconvdata/ibm937.c : Likewise.
11383 * iconvdata/ibm939.c : Likewise.
11384 * iconvdata/ibm943.c: Likewise.
11385 * iconvdata/iso_11548-1.c: Likewise.
11386 * iconvdata/iso-2022-cn.c : Likewise.
11387 * iconvdata/iso-2022-cn-ext.c : Likewise.
11388 * iconvdata/iso-2022-jp-3.c: Likewise.
11389 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11390 * iconvdata/iso-2022-kr.c : Likewise.
11391 * iconvdata/iso646.c (gconv_end): Likewise.
11392 * iconvdata/iso_6937-2.c : Likewise.
11393 * iconvdata/iso_6937.c : Likewise.
11394 * iconvdata/iso8859-1.c: Likewise.
11395 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11396 * iconvdata/shift_jisx0213.c : Likewise.
11397 * iconvdata/sjis.c : Likewise.
11398 * iconvdata/t.61.c : Likewise.
11399 * iconvdata/tcvn5712-1.c : Likewise.
11400 * iconvdata/tscii.c: Likewise.
11401 * iconvdata/uhc.c : Likewise.
11402 * iconvdata/unicode.c (gconv_end): Likewise.
11403 * iconvdata/utf-16.c (gconv_end): Likewise.
11404 * iconvdata/utf-32.c (gconv_end): Likewise.
11405 * iconvdata/utf-7.c (base64): Likewise.
11406 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11407 * iconv/gconv_close.c (__gconv_close): Likewise.
11408 * iconv/gconv_open.c (__gconv_open): Likewise.
11409 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11410 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11411 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11412 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11413 (ucs4le_internal_loop_single): Likewise.
11414 * iconv/iconv.c (iconv): Likewise.
11415 * iconv/iconv_close.c: Likewise.
11416 * iconv/loop.c (SINGLE): Likewise.
11417 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11418 * include/atomic.h: Likewise.
11419 * inet/inet6_option.c (option_alloc): Likewise.
11420 * intl/bindtextdom.c (set_binding_values): Likewise.
11421 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11422 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11423 * intl/localealias.c (read_alias_file): Likewise.
11424 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11425 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11426 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11427 * libio/fmemopen.c (fmemopen): Likewise.
11428 * libio/iofgets.c (_IO_fgets): Likewise.
11429 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11430 * libio/iofgetws.c (fgetws): Likewise.
11431 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11432 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11433 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11434 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11435 * locale/findlocale.c (_nl_find_locale): Likewise.
11436 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11437 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11439 * locale/setlocale.c (setlocale): Likewise.
11440 * login/programs/pt_chown.c (main): Likewise.
11441 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11442 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11443 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11444 (mmap, mmap64, mremap, munmap): Likewise.
11445 * math/e_exp2l.c: Likewise.
11446 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11447 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11448 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11449 * math/s_catan.c (__catan): Likewise.
11450 * math/s_catanf.c (__catanf): Likewise.
11451 * math/s_catanh.c (__catanh): Likewise.
11452 * math/s_catanhf.c (__catanhf): Likewise.
11453 * math/s_catanhl.c (__catanhl): Likewise.
11454 * math/s_catanl.c (__catanl): Likewise.
11455 * math/s_ccosh.c (__ccosh): Likewise.
11456 * math/s_ccoshf.c (__ccoshf): Likewise.
11457 * math/s_ccoshl.c (__ccoshl): Likewise.
11458 * math/s_cexp.c (__cexp): Likewise.
11459 * math/s_cexpf.c (__cexpf): Likewise.
11460 * math/s_cexpl.c (__cexpl): Likewise.
11461 * math/s_clog10.c (__clog10): Likewise.
11462 * math/s_clog10f.c (__clog10f): Likewise.
11463 * math/s_clog10l.c (__clog10l): Likewise.
11464 * math/s_clog.c (__clog): Likewise.
11465 * math/s_clogf.c (__clogf): Likewise.
11466 * math/s_clogl.c (__clogl): Likewise.
11467 * math/s_csin.c (__csin): Likewise.
11468 * math/s_csinf.c (__csinf): Likewise.
11469 * math/s_csinh.c (__csinh): Likewise.
11470 * math/s_csinhf.c (__csinhf): Likewise.
11471 * math/s_csinhl.c (__csinhl): Likewise.
11472 * math/s_csinl.c (__csinl): Likewise.
11473 * math/s_csqrt.c (__csqrt): Likewise.
11474 * math/s_csqrtf.c (__csqrtf): Likewise.
11475 * math/s_csqrtl.c (__csqrtl): Likewise.
11476 * math/s_ctan.c (__ctan): Likewise.
11477 * math/s_ctanf.c (__ctanf): Likewise.
11478 * math/s_ctanh.c (__ctanh): Likewise.
11479 * math/s_ctanhf.c (__ctanhf): Likewise.
11480 * math/s_ctanhl.c (__ctanhl): Likewise.
11481 * math/s_ctanl.c (__ctanl): Likewise.
11482 * math/w_pow.c: Likewise.
11483 * math/w_powf.c: Likewise.
11484 * math/w_powl.c: Likewise.
11485 * math/w_scalb.c (sysv_scalb): Likewise.
11486 * math/w_scalbf.c (sysv_scalbf): Likewise.
11487 * math/w_scalbl.c (sysv_scalbl): Likewise.
11488 * misc/error.c (error_tail): Likewise.
11489 * misc/pselect.c (__pselect): Likewise.
11490 * nis/nis_callback.c (__nis_create_callback): Likewise.
11491 * nis/nis_call.c (__nisfind_server): Likewise.
11492 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11493 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11494 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11495 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11496 * nis/nis_lookup.c (nis_lookup): Likewise.
11497 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11498 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11499 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11500 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11501 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11502 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11503 * nis/nss_compat/compat-initgroups.c (add_group)
11504 (internal_getgrent_r): Likewise.
11505 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11506 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11507 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11508 (internal_getspnam_r): Likewise.
11509 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11510 (_nss_nis_getaliasbyname_r): Likewise.
11511 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11512 (_nss_nis_getntohost_r): Likewise.
11513 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11514 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11515 (_nss_nis_getgrgid_r): Likewise.
11516 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11517 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11518 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11519 (_nss_nis_gethostbyname4_r): Likewise.
11520 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11521 (initgroups_netid): Likewise.
11522 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11523 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11524 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11525 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11526 (_nss_nis_getprotobynumber_r): Likewise.
11527 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11528 (_nss_nis_getsecretkey): Likewise.
11529 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11530 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11531 (_nss_nis_getpwuid_r): Likewise.
11532 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11533 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11534 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11535 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11536 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11537 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11538 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11540 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11541 (_nss_nisplus_getntohost_r): Likewise.
11542 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11543 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11544 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11545 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11547 * nis/nss_nisplus/nisplus-initgroups.c
11548 (_nss_nisplus_initgroups_dyn): Likewise.
11549 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11550 (_nss_nisplus_getnetbyaddr_r): Likewise.
11551 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11552 (_nss_nisplus_getprotobynumber_r): Likewise.
11553 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11554 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11555 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11557 * nis/nss_nisplus/nisplus-service.c
11558 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11559 (_nss_nisplus_getservbyport_r): Likewise.
11560 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11561 (_nss_nisplus_getspnam_r): Likewise.
11562 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11564 * nscd/aicache.c (addhstaiX): Likewise.
11565 * nscd/cache.c (cache_search, prune_cache): Likewise.
11566 * nscd/connections.c (register_traced_file, send_ro_fd)
11567 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11568 (main_loop_epoll): Likewise.
11569 * nscd/grpcache.c (addgrbyX): Likewise.
11570 * nscd/hstcache.c (addhstbyX): Likewise.
11571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11572 * nscd/mem.c (gc, mempool_alloc): Likewise.
11573 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11574 (addinnetgrX): Likewise.
11575 * nscd/nscd-client.h (__nscd_acquire_maplock)
11576 (__nscd_drop_map_ref): Likewise.
11577 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11578 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11581 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11582 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11583 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11584 (__nscd_get_map_ref): Likewise.
11585 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11586 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11588 * nscd/pwdcache.c (addpwbyX): Likewise.
11589 * nscd/selinux.c (preserve_capabilities): Likewise.
11590 * nscd/servicescache.c (addservbyX): Likewise.
11591 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11592 * posix/fnmatch.c (fnmatch): Likewise.
11593 * posix/getopt.c (_getopt_internal_r): Likewise.
11594 * posix/glob.c (glob, glob_in_dir): Likewise.
11595 * posix/wordexp.c (exec_comm_child): Likewise.
11596 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11597 (getanswer_r, gaih_getanswer_slice): Likewise.
11598 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11599 * resolv/res_init.c: Likewise.
11600 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11601 * resolv/res_query.c (__libc_res_nquery): Likewise.
11602 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11604 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11605 * stdio-common/perror.c (perror): Likewise.
11606 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11607 * stdio-common/tmpnam.c (tmpnam): Likewise.
11608 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11609 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11610 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11612 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11613 * stdlib/putenv.c (putenv): Likewise.
11614 * stdlib/setenv.c (__add_to_environ): Likewise.
11615 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11616 * stdlib/strtol_l.c (INTERNAL): Likewise.
11617 * string/memmem.c (memmem): Likewise.
11618 * string/strerror.c (strerror): Likewise.
11619 * string/strnlen.c (__strnlen): Likewise.
11620 * string/test-memmem.c (simple_memmem): Likewise.
11621 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11622 * sunrpc/pm_getport.c (__get_socket): Likewise.
11623 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11624 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11625 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11626 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11628 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11629 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11630 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11631 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11632 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11633 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11637 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11638 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11639 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11640 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11641 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11643 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11644 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11645 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11646 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11647 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11650 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11652 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11656 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11658 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11659 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11660 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11669 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11671 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11673 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11677 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11679 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11681 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11682 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11683 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11684 * sysdeps/posix/sleep.c: Likewise.
11685 * sysdeps/posix/tempname.c: Likewise.
11686 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11687 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11689 * sysdeps/powerpc/powerpc32/dl-machine.h
11690 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11691 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11693 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11694 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11696 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11698 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11700 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11701 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11702 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11703 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11705 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11707 (elf_machine_lazy_rel): Likewise.
11708 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11710 (elf_machine_lazy_rel): Likewise.
11711 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11712 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11713 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11714 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11715 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11716 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11720 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11721 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11722 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11723 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11724 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11725 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11726 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11727 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11728 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11729 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11730 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11732 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11733 (__posix_fallocate64_l64): Likewise.
11734 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11735 (posix_fallocate): Likewise.
11736 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11739 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11740 (getifaddrs_internal): Likewise.
11741 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11742 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11743 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11744 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11745 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11746 (__posix_fallocate64_l64): Likewise.
11747 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11749 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11750 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11751 (__get_clockfreq): Likewise.
11752 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11753 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11754 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11757 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11758 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11759 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11761 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11762 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11763 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11764 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11766 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11767 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11769 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11770 (posix_fallocate): Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11772 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11773 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11774 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11775 (elf_machine_rela, elf_machine_rela_relative)
11776 (elf_machine_lazy_rel): Likewise.
11777 * time/asctime.c (asctime_internal): Likewise.
11778 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11779 * time/tzset.c (__tzset_parse_tz): Likewise.
11780 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11781 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11782 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11783 * wcsmbs/wcsmbsload.h: Likewise.
11786 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11788 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11789 (arena_get2): Remove THREAD_STATS conditionals.
11790 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11791 (__malloc_stats, int): Likewise.
11793 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11795 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11796 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11798 * manual/setjmp.texi: Fix typos/grammar errors.
11800 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11801 Only return early when n is <= 0. Delete unused return statement.
11803 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11804 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11805 * debug/tst-longjmp_chk3.c: New file.
11807 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11808 (test_main): Replace code with set_fortify_handler call.
11809 * debug/test-strcpy_chk.c: Likewise.
11810 * debug/tst-chk1.c: Likewise.
11811 * debug/tst-longjmp_chk.c: Likewise.
11812 * test-skeleton.c: Include fcntl.h & paths.h
11813 (set_fortify_handler): Define.
11815 * debug/tst-longjmp_chk.c: Add header comment and include
11816 ../test-skeleton.c.
11817 (do_test): Mark static.
11818 (TEST_FUNCTION): Define.
11820 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11821 (IP_PMTUDISC_INTERFACE): Likewise.
11822 (IP_MULTICAST_IF): Likewise.
11823 (IP_MULTICAST_TTL): Likewise.
11824 (IP_MULTICAST_LOOP): Likewise.
11825 (IP_ADD_MEMBERSHIP): Likewise.
11826 (IP_DROP_MEMBERSHIP): Likewise.
11827 (IP_UNBLOCK_SOURCE): Likewise.
11828 (IP_BLOCK_SOURCE): Likewise.
11829 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11830 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11831 (IP_MSFILTER): Likewise.
11832 (MCAST_JOIN_GROUP): Likewise.
11833 (MCAST_BLOCK_SOURCE): Likewise.
11834 (MCAST_UNBLOCK_SOURCE): Likewise.
11835 (MCAST_LEAVE_GROUP): Likewise.
11836 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11837 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11838 (MCAST_MSFILTER): Likewise.
11839 (IP_MULTICAST_ALL): Likewise.
11840 (IP_UNICAST_IF): Likewise.
11842 * timezone/Makefile: Delete $(have-ksh) check.
11843 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11844 * timezone/tzselect.ksh: Add +x mode bits.
11846 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11847 (ANON_INODE_FS_MAGIC): Likewise.
11848 (BDEVFS_MAGIC): Likewise.
11849 (BINFMTFS_MAGIC): Likewise.
11850 (BTRFS_TEST_MAGIC): Likewise.
11851 (CRAMFS_MAGIC_WEND): Likewise.
11852 (DEBUGFS_MAGIC): Likewise.
11853 (ECRYPTFS_SUPER_MAGIC): Likewise.
11854 (EXT3_SUPER_MAGIC): Likewise.
11855 (EXT4_SUPER_MAGIC): Likewise.
11856 (FUTEXFS_SUPER_MAGIC): Likewise.
11857 (HOSTFS_SUPER_MAGIC): Likewise.
11858 (HUGETLBFS_MAGIC): Likewise.
11859 (MINIX3_SUPER_MAGIC): Likewise.
11860 (MTD_INODE_FS_MAGIC): Likewise.
11861 (NILFS_SUPER_MAGIC): Likewise.
11862 (OPENPROM_SUPER_MAGIC): Likewise.
11863 (PIPEFS_MAGIC): Likewise.
11864 (PSTOREFS_MAGIC): Likewise.
11865 (QNX6_SUPER_MAGIC): Likewise.
11866 (RAMFS_MAGIC): Likewise.
11867 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11868 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11869 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11870 (SECURITYFS_MAGIC): Likewise.
11871 (SELINUX_MAGIC): Likewise.
11872 (SMACK_MAGIC): Likewise.
11873 (SOCKFS_MAGIC): Likewise.
11874 (SQUASHFS_MAGIC): Likewise.
11875 (STACK_END_MAGIC): Likewise.
11876 (TMPFS_MAGIC): Likewise.
11877 (USBDEVICE_SUPER_MAGIC): Likewise.
11878 (V9FS_MAGIC): Likewise.
11879 (XENFS_SUPER_MAGIC): Likewise.
11880 (CRAMFS_MAGIC): Fix typo in comment.
11881 (EXT2_SUPER_MAGIC): Update comment.
11882 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11884 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11886 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11887 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11888 * sysdeps/unix/sysv/linux/arm: Move directory from
11889 ports/sysdeps/unix/sysv/linux/arm.
11890 * README: Update listing for arm-*-linux-gnueabi.
11892 * README: Remove mention of am33.
11894 2014-02-07 Roland McGrath <roland@hack.frob.com>
11896 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11897 than the comma operator, to avoid "rhs of comma has no effect"
11899 (__sigfillset, __sigandset, __sigorset): Likewise.
11900 * include/signal.h (__sigemptyset): Likewise.
11901 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11903 2014-02-07 Allan McRae <allan@archlinux.org>
11905 * version.h (RELEASE): Set to "development".
11906 (VERSION): Set to "2.19.90"
11907 * NEWS: Add 2.20 section.
11909 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11912 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11914 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11916 * manual/contrib.texi: Update entry for Carlos O'Donell,
11917 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11919 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11921 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11923 * sysdeps/unix/sysv/linux/kernel-features.h
11924 [__LINUX_KERNEL_VERSION >= 0x020621]
11925 (__ASSUME_PROC_PID_TASK_COMM): Define.
11927 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11930 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11931 conversion when destination buffer does not have enough space.
11932 * libio/tst-ftell-partial-wide.c: New test case.
11933 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11935 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11936 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11937 Leonard and Allan McRae.
11939 2014-02-04 David S. Miller <davem@davemloft.net>
11941 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11944 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11973 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11975 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11976 * shlib-versions: Likewise.
11978 2014-02-04 Roland McGrath <roland@hack.frob.com>
11979 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11981 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11982 (abilist-pattern): New variable, set to %-le.abilist.
11984 * Makerules (abilist-pattern): New variable.
11985 (vpath): Use $(abilist-pattern) in place of %.abilist.
11986 (check-abi-% pattern rule): Likewise.
11987 (check-abi, update-abi): Likewise.
11989 2014-02-04 Eric Wong <normalperson@yhbt.net>
11991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11993 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11995 * manual/startup.texi: Add next, previous, and top entries for
11996 the `Program Arguments' and `Environment Variables' nodes.
11998 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12000 * manual/macros.texi: Add comments before MTASC-safety macros.
12002 * manual/users.texi: Document MTASC-safety properties.
12004 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12005 (pthread_getspecific, pthread_setspecific): Format with
12006 @deftypefun, and add @safety note.
12007 * manual/signal.texi: Move comments that analyze the above
12008 functions to their home place.
12010 2014-02-03 Allan McRae <allan@archlinux.org>
12012 * po/sl.po: Update Slovenian translation from translation project.
12014 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12016 * manual/time.texi (timegm): Add missing blank after @c.
12017 Reported by Joseph Myers <joseph@codesourcery.com>.
12019 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12021 * manual/check-safety.sh: New.
12022 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12024 * manual/terminal.texi: Document MTASC-safety properties.
12026 * manual/filesys.texi: Document MTASC-safety properties.
12028 * manual/errno.texi: Document MTASC-safety properties.
12030 * manual/intro.texi: Document safety identifiers and
12033 * manual/string.texi (wcstok): Fix prototype.
12034 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12036 * manual/time.texi: Document MTASC-safety properties.
12038 * manual/string.texi: Document MTASC-safety properties.
12040 * manual/threads.texi: Document MTASC-safety properties.
12042 * manual/stdio.texi: Document MTASC-safety properties.
12044 * manual/syslog.texi: Document MTASC-safety properties.
12046 * manual/sysinfo.texi: Document MTASC-safety properties.
12048 * manual/startup.texi: Document MTASC-safety properties.
12050 * manual/socket.texi: Document MTASC-safety properties.
12052 * manual/signal.texi: Document MTASC-safety properties.
12054 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12056 * manual/setjmp.texi: Document MTASC-safety properties.
12058 * manual/search.texi: Document MTASC-safety properties.
12060 * manual/resource.texi: Document MTASC-safety properties.
12062 * manual/process.texi: Document MTASC-safety properties.
12064 * manual/platform.texi: Document MTASC-safety properties.
12066 * manual/pipe.texi: Document MTASC-safety properties.
12068 * manual/pattern.texi: Document MTASC-safety properties.
12070 * manual/message.texi: Document MTASC-safety properties.
12073 * manual/memory.texi: Document MTASC-safety properties.
12075 * manual/math.texi: Document MTASC-safety properties.
12077 * manual/locale.texi: Document MTASC-safety properties.
12079 * manual/llio.texi: Document MTASC-safety properties.
12081 * manual/libdl.texi: New.
12083 * manual/lang.texi: Document MTASC-safety properties.
12085 * manual/job.texi: Document MTASC-safety properties.
12087 * manual/getopt.texi: Document MTASC-safety properties.
12089 * manual/ctype.texi: Document MTASC-safety properties.
12091 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12094 * csu/libc-tls.c (static_map): Remove variable.
12095 (__libc_setup_tls): Use main executable's link map for TLS data.
12096 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12097 casing for LM_ID_BASE and GL(dl_nns).
12098 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12099 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12100 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12101 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12102 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12104 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12107 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12109 * manual/debug.texi: Document MTASC-safety properties.
12111 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12114 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12115 of __x86_64__ when disabling x87 inline functions.
12117 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12119 * manual/charset.texi: Document MTASC-safety properties.
12121 * manual/crypt.texi: Document MTASC-safety properties.
12123 * manual/conf.texi: Document MTASC-safety properties.
12125 * manual/arith.texi: Document MTASC-safety properties.
12127 * manual/argp.texi: Document MTASC-safety properties.
12129 * manual/macros.texi: Introduce macros to document multi
12130 thread, asynchronous signal and asynchronous cancellation
12132 * manual/intro.texi: Introduce the properties themselves.
12134 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12136 * sysdeps/sh/sh4/Makefile: New file.
12138 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12140 * math/gen-libm-test.pl ($srcdir): New variable.
12141 ($auto_input): Use it.
12143 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12146 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12147 access beyond array bounds when parsing netgroups file.
12149 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12150 the old buffer before realloc.
12152 2014-01-27 Allan McRae <allan@archlinux.org>
12154 * po/fr.po: Update French translation from translation project.
12156 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12158 * sysdeps/sh/libm-test-ulps: Regenerate.
12160 2014-01-24 David S. Miller <davem@davemloft.net>
12162 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12164 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12167 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12169 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12172 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12173 string pointers after reallocation.
12175 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12177 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12178 __SH4A__ instead of __SH_FPU_ANY__.
12180 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12182 * sysdeps/sh/fpu_control.h: New file.
12183 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12184 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12185 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12186 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12187 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12188 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12189 * sysdeps/sh/sys/ucontext.h: Remove.
12190 * sysdeps/sh/sys: Remove directory.
12192 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12194 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12195 s390/sys/ucontext.h.
12196 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12199 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12202 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12204 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12208 Adjust the vDSO correctly for internal calls.
12209 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12211 2014-01-20 Allan McRae <allan@archlinux.org>
12213 * po/ca.po: Update Catalan translation from translation project.
12215 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12217 * sysdeps/s390/sotruss-lib.c: New file.
12219 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12223 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12224 local calls issues by not having a PLT stub required for IFUNC calls.
12225 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12227 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12229 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12230 * math/test-fpucw-static.c: Likewise.
12232 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12235 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12237 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12239 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12240 implementation for powerpc.
12242 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12245 * sysdeps/posix/system.c (__libc_system): Do not enable
12246 asynchronous cancellation.
12248 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12251 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12252 handling only for numbers special also in the IEEE case.
12254 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12256 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12258 2014-01-11 Allan McRae <allan@archlinux.org>
12260 * po/bg.po: Update Bulgarian translation from translation project.
12262 * po/de.po: Update German translation from translation project.
12264 2014-01-10 Roland McGrath <roland@hack.frob.com>
12266 * sysdeps/generic/gcc-compat.h: New file.
12268 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12270 * benchtests/asin-inputs: Correct slow inputs.
12271 * benchtests/acos-inputs: Likewise.
12273 2014-01-10 Allan McRae <allan@archlinux.org>
12275 * po:sv.po: Update Swedish translation from translation project.
12277 * po/vi.po: Update Vietnamese translation from translation project.
12279 * po/eo.po: Update Esperanto translation from translation project.
12281 * po/cs.po: Update Czech translation from translation project.
12283 * po/nl.po: Update Dutch translation from translation project.
12285 * po/pl.po: Update Polish translation from translation project.
12287 * po/ru.po: Update Russian translation from translation project.
12289 * po/uk.po: Update Ukrainian translation from translation project.
12291 2014-01-08 Brooks Moses <bmoses@google.com>
12293 * elf/dl-load.c: Fix comment typo.
12295 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12297 * po/header.pot: Rename to...
12298 * po/pot.header: ... this.
12299 * po/Makefile: Use pot.header.
12301 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12302 Maxim Kuvyrkov <maxim@kugelworks.com>
12305 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12306 SRC and DEST against LEN.
12308 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12311 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12313 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12315 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12319 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12323 for large positive arguments.
12325 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12327 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12329 * math/auto-libm-test-in: Mark various tests with
12330 xfail-rounding:ldbl-128ibm.
12331 * math/auto-libm-test-out: Regenerated.
12334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12335 Increase overflow threshold.
12337 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12340 * stdio-common/vfprintf.c: Check for integer overflow.
12342 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12344 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12345 the first argument and return value of __tls_get_addr_internal.
12347 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12349 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12350 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12352 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12354 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12355 * sysdeps/s390/rtld-global-offsets.sym: New file.
12356 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12358 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12359 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12360 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12362 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12363 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12369 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12370 halfs of GPRs for high_gprs contexts.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12372 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12374 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12378 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12379 for high GPRs (uc_high_gprs) and for future extensions
12381 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12382 for future extensions (__reserved).
12383 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12385 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12386 SC_HIGHGPRS offset definition.
12387 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12388 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12390 * Versions.def: Add GLIBC_2.19 for libpthread.
12391 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12392 siglongjmp for libpthread with GLIBC_2.19 symver.
12393 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12394 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12395 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12396 * sysdeps/s390/__longjmp.c: New file.
12397 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12398 * sysdeps/s390/longjmp.c: New file.
12399 * sysdeps/s390/setjmp.S: New file.
12400 * sysdeps/s390/sigjmp.S: New file.
12401 * sysdeps/s390/v1-longjmp.c: New file.
12402 * sysdeps/s390/v1-setjmp.h: New file.
12403 * sysdeps/s390/v1-sigjmp.c: New file.
12404 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12405 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12406 GLIBC_2.19 version.
12407 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12408 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12409 versioned symbols for ____longjmp_chk.
12410 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12420 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12421 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12422 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12423 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12424 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12425 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12426 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12427 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12428 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12429 * sysdeps/s390/rtld-__longjmp.c: New file.
12430 * sysdeps/s390/rtld-setjmp.S: New file.
12432 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12436 Return -__logl (x) for small positive arguments without evaluating
12439 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12441 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12443 (__ptrace_peeksiginfo_args): ... this.
12444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12445 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12448 2014-01-06 Allan McRae <allan@archlinux.org>
12450 * inet/netinet/in.h: Fix typo in comment.
12452 2014-01-05 Andreas Jaeger <aj@suse.de>
12454 * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 2014-01-05 Allan McRae <allan@archlinux.org>
12458 * po/libc.pot: Regenerated.
12460 * malloc/memusagestat.c: Fix gettext call formatting.
12462 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12464 * nscd/nscd.c: Improve usage() output.
12466 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12468 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12469 * sysdeps/unix/sysv/linux/configure: Regenerated.
12470 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12471 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12473 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12476 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12477 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12479 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12482 extra tokens at end of #undef directive.
12483 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12484 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12487 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12489 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12491 * math/auto-libm-test-in: Mark various tests with
12492 xfail-rounding:ldbl-128ibm.
12493 * math/auto-libm-test-out: Regenerated.
12495 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12499 numbers with subnormal high part when calculating exponent.
12502 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12506 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12508 (__ieee754_acoshl): Use __log1pl not __log1p.
12510 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12512 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12513 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12514 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12515 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12516 (reused_arena, arena_get2): Convert to GNU style.
12517 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12518 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12519 (memalign_check, __malloc_set_state): Likewise.
12520 * malloc/mallocbug.c (main): Likewise.
12521 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12522 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12523 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12524 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12525 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12526 (__posix_memalign, malloc_info): Likewise.
12527 * malloc/malloc.h: Likewise.
12528 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12529 (mallochook, memalignhook, reallochook, mabort): Likewise.
12530 * malloc/mcheck.h: Likewise.
12531 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12532 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12533 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12534 * malloc/morecore.c (__default_morecore): Likewise.
12535 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12536 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12537 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12538 (print_and_abort): Likewise.
12539 * malloc/obstack.h: Likewise.
12540 * malloc/set-freeres.c (__libc_freeres): Likewise.
12541 * malloc/tst-mallocstate.c (main): Likewise.
12542 * malloc/tst-mtrace.c (main): Likewise.
12543 * malloc/tst-realloc.c (do_test): Likewise.
12545 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12548 * nscd/netgroupcache.c (do_notfound): New function.
12549 (addgetnetgrentX): Use it.
12552 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12553 NSS_STATUS_NOTFOUND.
12555 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12557 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12560 2014-01-01 Allan McRae <allan@archlinux.org>
12562 * scripts/update-copyrights: Update configure input file suffix.
12564 * NEWS: Update copyright year.
12565 * catgets/gencat.c: Likewise.
12566 * csu/version.c: Likewise.
12567 * debug/catchsegv.sh: Likewise.
12568 * debug/pcprofiledump.c: Likewise.
12569 * debug/xtrace.sh: Likewise.
12570 * elf/ldconfig.c: Likewise.
12571 * elf/ldd.bash.in: Likewise.
12572 * elf/pldd.c: Likewise.
12573 * elf/sotruss.ksh: Likewise.
12574 * elf/sprof.c: Likewise.
12575 * iconv/iconv_prog.c: Likewise.
12576 * iconv/iconvconfig.c: Likewise.
12577 * locale/programs/locale.c: Likewise.
12578 * locale/programs/localedef.c: Likewise.
12579 * login/programs/pt_chown.c: Likewise.
12580 * malloc/memusage.sh: Likewise.
12581 * malloc/memusagestat.c: Likewise.
12582 * malloc/mtrace.pl: Likewise.
12583 * manual/libc.texinfo: Likewise.
12584 * nscd/nscd.c: Likewise.
12585 * nss/getent.c: Likewise.
12586 * nss/makedb.c: Likewise.
12587 * posix/getconf.c: Likewise.
12588 * scripts/test-installation.pl: Likewise.
12590 * All files with FSF copyright notices: Update copyright dates
12591 using scripts/update-copyrights.
12592 * intl/plural.c: Regenerated.
12593 * locale/programs/charmap-kw.h: Likewise.
12594 * locale/programs/locfile-kw.h: Likewise.
12596 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12598 * sysdeps/unix/sysv/linux/configure: Regenerated.
12599 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12600 the linux/fanotify.h header.
12601 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12602 HAVE_LINUX_FANOTIFY_H is defined.
12604 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 * benchtests/cos-inputs: New inputs.
12607 * benchtests/sin-inputs: Likewise.
12609 * benchtests/atan-inputs: New inputs. Fix name of multiple
12610 precision fallback inputs.
12612 * benchtests/atanh-inputs: New inputs.
12613 * benchtests/tanh-inputs: Likewise.
12615 * benchtests/acosh-inputs: New inputs.
12616 * benchtests/asinh-inputs: Likewise.
12618 * benchtests/cosh-inputs: New inputs.
12619 * benchtests/sinh-inputs: Likewise.
12621 * benchtests/acos-inputs: Add more inputs.
12622 * benchtests/asin-inputs: Likewise.
12624 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12627 * manual/arith.texi: Fix spelling.
12628 * manual/charset.texi: Likewise.
12629 * manual/errno.texi: Likewise.
12630 * manual/filesys.texi: Likewise.
12631 * manual/lang.texi: Likewise.
12632 * manual/llio.texi: Likewise.
12633 * manual/locale.texi: Likewise.
12634 * manual/message.texi: Likewise.
12635 * manual/resource.texi: Likewise.
12636 * manual/search.texi: Likewise.
12637 * manual/setjmp.texi: Likewise.
12638 * manual/stdio.texi: Likewise.
12639 * manual/string.texi: Likewise.
12640 * manual/sysinfo.texi: Likewise.
12641 * manual/time.texi: Likewise.
12643 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12645 * po/sl.po: New file.
12647 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12649 * .gitignore: Add core/.gdbinit/.gdb_history.
12651 2013-12-27 Allan McRae <allan@archlinux.org>
12654 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12655 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12657 2013-12-24 Brooks Moses <bmoses@google.com>
12659 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12660 all compilers that claim C++98 compliance, not just GCC.
12661 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12664 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12666 * NEWS: Restore accidentally deleted bug-fix entries.
12668 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12669 Ondřej Bílka <neleai@seznam.cz>
12672 * malloc/malloc.c (_int_free): Perform sanity check only if we
12675 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12678 * manual/stdio.texi (String Input Conversions): Clarify that character
12679 classes are not supported.
12681 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12685 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12688 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12689 Calculate results for small negative arguments directly rather
12690 than using reflection formula with special underflow handling.
12692 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12693 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12694 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12695 (fchflags): Likewise.
12696 (revoke): Likewise.
12697 (setlogin): Likewise.
12698 (sigaltstack): Likewise.
12700 (sigblock): Remove.
12701 (sigsetmask): Likewise.
12703 (waitpid): Likewise.
12704 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12705 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12707 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12708 * sysdeps/unix/bsd/Makefile: ... here.
12709 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12710 * sysdeps/unix/bsd/Versions: ... here.
12711 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12712 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12713 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12714 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12715 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12716 * sysdeps/unix/bsd/sigblock.c: ... here.
12717 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12718 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12719 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12720 * sysdeps/unix/bsd/sigvec.c: ... here.
12721 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12722 * sysdeps/unix/bsd/tcdrain.c: ... here.
12723 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12724 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12725 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12726 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12727 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12728 * sysdeps/unix/bsd/wait.c: ... here.
12729 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12730 * sysdeps/unix/bsd/wait3.c: ... here.
12731 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12732 * sysdeps/unix/bsd/waitpid.c: ... here.
12734 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12737 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12738 round-to-nearest for [!USE_AS_EXPM1L].
12739 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12740 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12741 more tests of exp and exp10. Expect some exp10 tests to miss
12742 exceptions or fail in directed rounding modes.
12743 * math/auto-libm-test-out: Regenerated.
12744 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12745 (exp10_test_tonearest): New function.
12746 (exp10_towardzero_test_data): New array.
12747 (exp10_test_towardzero): New function.
12748 (exp10_downward_test_data): New array.
12749 (exp10_test_downward): New function.
12750 (exp10_upward_test_data): New array.
12751 (exp10_test_upward): New function.
12752 (main): Call the new functions.
12753 * sysdeps/i386/fpu/libm-test-ulps: Update.
12754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12758 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12759 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12760 * math/auto-libm-test-out: Regenerated.
12761 * math/libm-test.inc (acosh_test_data): Add more tests.
12762 (atanh_test_data): Likewise.
12763 (ceil_test_data): Likewise.
12764 (copysign_test_data): Likewise.
12765 * sysdeps/i386/fpu/libm-test-ulps: Update.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768 * timezone/checktab.awk: Update from tzcode 2013i.
12769 * timezone/private.h: Likewise.
12770 * timezone/scheck.c: Likewise.
12771 * timezone/tzfile.h: Likewise.
12772 * timezone/tzselect.ksh: Likewise.
12773 * timezone/zdump.c: Likewise.
12774 * timezone/zic.c: Likewise.
12776 * math/auto-libm-test-in: Add tests of cpow.
12777 * math/auto-libm-test-out: Regenerated.
12778 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12779 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12781 (func_calc_desc): Add mpc_cc_c union field.
12782 (test_functions): Add cpow.
12783 (special_fill_2pi): New function.
12784 (special_real_inputs): Add 2pi.
12785 (calc_generic_results): Handle mpc_cc_c.
12786 * sysdeps/i386/fpu/libm-test-ulps: Update.
12787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12789 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12790 csqrt, ctan and ctanh.
12791 * math/auto-libm-test-out: Regenerated.
12792 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12793 (TEST_COND_x86): Likewise.
12794 (ccos_test_data): Use AUTO_TESTS_c_c.
12795 (ccosh_test_data): Likewise.
12796 (cexp_test_data): Likewise.
12797 (clog_test_data): Likewise.
12798 (csqrt_test_data): Likewise.
12799 (ctan_test_data): Likewise.
12800 (ctan_tonearest_test_data): Likewise.
12801 (ctan_towardzero_test_data): Likewise.
12802 (ctan_downward_test_data): Likewise.
12803 (ctan_upward_test_data): Likewise.
12804 (ctanh_test_data): Likewise.
12805 (ctanh_tonearest_test_data): Likewise.
12806 (ctanh_towardzero_test_data): Likewise.
12807 (ctanh_downward_test_data): Likewise.
12808 (ctanh_upward_test_data): Likewise.
12809 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12811 (func_calc_desc): Add mpc_c_c union field.
12812 (FUNC_mpc_c_c): New macro.
12813 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12814 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12816 (special_fill_min_subnorm_p120): New function.
12817 (special_real_inputs): Add min_subnorm_p120.
12818 (calc_generic_results): Handle mpc_c_c.
12819 * sysdeps/i386/fpu/libm-test-ulps: Update.
12820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12824 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12825 (do_sin_slow): New functions.
12826 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12827 (cslow2, csloww1, csloww2): Use the new functions.
12829 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12830 Use M to change sign of result instead of X. Assume X is
12832 (csloww1): Likewise.
12836 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12837 arguments A and DA.
12841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12843 (sloww1): Don't adjust sign of DX.
12844 (csloww1): Likewise.
12845 (sloww2): Use X directly and don't adjust sign of DX.
12846 (csloww2): Likewise.
12848 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12850 * math/auto-libm-test-in: Add tests of cabs and carg.
12851 * math/auto-libm-test-out: Regenerated.
12852 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12853 (carg_test_data): Likewise.
12854 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12856 (func_calc_desc): Add mpc_c_f union field.
12857 (test_functions): Add cabs and carg.
12858 (calc_generic_results): Handle mpc_c_f.
12860 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12861 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12862 as a macro and a compat symbol.
12863 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12864 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12865 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12866 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12867 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12874 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12876 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12878 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12880 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12881 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12884 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12888 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12890 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12891 trailing whitespace removed.
12892 * scripts/config.guess: Update to version 2013-11-29.
12893 * scripts/config.sub: Update to version 2013-10-01.
12895 * math/auto-libm-test-in: Add tests of sincos.
12896 * math/auto-libm-test-out: Regenerated.
12897 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12900 (func_calc_desc): Add mpfr_f_11 union field.
12901 (test_functions): Add sincos.
12902 (calc_generic_results): Handle mpfr_f_11.
12903 * sysdeps/i386/fpu/libm-test-ulps: Update.
12904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906 2013-12-19 Andreas Schwab <schwab@suse.de>
12908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12912 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12914 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12916 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12917 * sysdeps/i386/fpu/libm-test-ulps: Update.
12918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12921 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12922 round-to-nearest mode when using frndint.
12923 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12924 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12927 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12929 * math/auto-libm-test-out: Regenerated.
12930 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12931 (TEST_COND_x86): Likewise.
12932 (expm1_tonearest_test_data): New array.
12933 (expm1_test_tonearest): New function.
12934 (expm1_towardzero_test_data): New array.
12935 (expm1_test_towardzero): New function.
12936 (expm1_downward_test_data): New array.
12937 (expm1_test_downward): New function.
12938 (expm1_upward_test_data): New array.
12939 (expm1_test_upward): New function.
12940 (main): Run the new test functions.
12941 * sysdeps/i386/fpu/libm-test-ulps: Update.
12942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12944 * include/features.h: Update comment documenting feature test
12945 macros. Mention _DEFAULT_SOURCE in comment.
12946 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12947 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12948 _BSD_SOURCE and _SVID_SOURCE.
12949 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12950 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12951 !_SVID_SOURCE]: Likewise.
12952 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12953 (__USE_POSIX_IMPLICITLY): Define.
12954 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12955 (_POSIX_SOURCE): Undefine and redefine.
12956 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12957 (_POSIX_C_SOURCE): Likewise.
12958 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12959 (Feature Test Macros): Update documentation of default features.
12961 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12963 * benchtests/Makefile: Add bench-strtok.
12964 * benchtests/bench-strtok.c: New file: strtok benchtest.
12966 2013-12-19 Allan McRae <allan@archlinux.org>
12968 * manual/install.texi: Suppress menu for plain text output.
12969 * INSTALL: Regenerated.
12971 2013-12-18 Brooks Moses <bmoses@google.com>
12974 * misc/getauxval.c: Include errno.h.
12975 (__getauxval): Set errno to ENOENT if the requested type is not
12977 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12978 don't declare with __attribute_const__.
12979 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12980 * manual/startup.texi: Document that getauxval sets errno.
12982 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12984 * math/auto-libm-test-in: Add tests of jn and yn.
12985 * math/auto-libm-test-out: Regenerated.
12986 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12987 (yn_test_data): Likewise.
12988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12990 (func_calc_desc): Add mpfr_if_f union field.
12991 (FUNC_mpfr_if_f): New macro.
12992 (test_functions): Add jn and yn.
12993 (calc_generic_results): Assert type of second input for
12994 mpfr_ff_f. Handle mpfr_if_f.
12995 (output_for_one_input_case): Disable all checking for arguments
12996 fitting floating-point types in case of an integer argument.
12997 * sysdeps/i386/fpu/libm-test-ulps: Update.
12998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13001 Don't expect fegetround reference in libm.so.
13003 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13005 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13006 $(config-cflags-nofma).
13008 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13010 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13011 * math/auto-libm-test-out: Regenerated.
13014 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13015 to determine exponent and adjust argument to have exponent of -1.
13016 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13018 * math/auto-libm-test-out: Regenerated.
13019 * sysdeps/i386/fpu/libm-test-ulps: Update.
13020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13022 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13024 * manual/probes.texi: Remove cases when per-thread arenas are
13027 2013-12-18 Andreas Schwab <schwab@suse.de>
13029 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13030 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13031 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13032 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13033 * sysdeps/i386/i686/multiarch/Makefile: Update.
13034 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13036 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13038 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13039 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13041 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13044 Support TZ transition times < 00:00:00.
13045 This is needed for version-3 tz-format files; it supports time
13046 stamps past 2037 for America/Godthab (the only entry in the tz
13047 database for which this change is relevant).
13048 * manual/time.texi (TZ Variable): Document transition times
13049 from -167:59:59 through -00:00:01.
13050 * time/tzset.c (tz_rule): Time of day is now signed.
13051 (__tzset_parse_tz): Parse negative time of day.
13053 Document TZ transition times >= 25:00:00.
13054 * manual/time.texi (TZ Variable): Document transition times from
13055 25:00:00 through 167:59:59. These are already supported, and this
13056 support will help with version-3 tz-format files.
13058 * manual/time.texi (TZ Variable): Modernize North America example
13059 to reflect current (i.e., 2007-and-later) daylight saving rules.
13061 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13063 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13065 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13066 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13069 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13070 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13071 * sysdeps/unix/bsd/clock.c: Likewise.
13072 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13073 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13074 * sysdeps/unix/bsd/init-posix.c: Likewise.
13075 * sysdeps/unix/bsd/poll.c: Likewise.
13076 * sysdeps/unix/bsd/ptsname.c: Likewise.
13077 * sysdeps/unix/bsd/seekdir.c: Likewise.
13078 * sysdeps/unix/bsd/setegid.c: Likewise.
13079 * sysdeps/unix/bsd/seteuid.c: Likewise.
13080 * sysdeps/unix/bsd/setgid.c: Likewise.
13081 * sysdeps/unix/bsd/setrgid.c: Likewise.
13082 * sysdeps/unix/bsd/setruid.c: Likewise.
13083 * sysdeps/unix/bsd/setsid.c: Likewise.
13084 * sysdeps/unix/bsd/setuid.c: Likewise.
13085 * sysdeps/unix/bsd/sigaction.c: Likewise.
13086 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13087 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13088 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13089 * sysdeps/unix/bsd/telldir.c: Likewise.
13090 * sysdeps/unix/bsd/times.c: Likewise.
13091 * sysdeps/unix/bsd/usleep.c: Likewise.
13093 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13094 ($(objpfx)libbsd-compat.a): Remove rule.
13096 * include/features.h (__FAVOR_BSD): Do not define.
13097 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13098 features conflicting with POSIX.
13099 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13100 (_BSD_SOURCE): Remove description of not being a subset of other
13101 feature test macros.
13102 * manual/job.texi (getpgrp): Do not document BSD version.
13103 (getpgid): Do not document by reference to BSD getpgrp.
13104 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13105 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13106 * signal/signal.h [__FAVOR_BSD]: Likewise.
13107 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13108 instead of making contents conditional on [__FAVOR_BSD].
13109 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13111 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13115 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13118 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13119 values below 2**-450, not 2**-500.
13120 * math/auto-libm-test-in: Don't allow spurious underflow from
13122 * math/auto-libm-test-out: Regenerated.
13126 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13127 values of ha and hb and sort them after adjusting subnormal
13129 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13131 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13132 values of ea and eb and sort them after adjusting subnormal
13134 * math/auto-libm-test-in: Do not expect some hypot tests of
13135 subnormals to fail. Add more hypot tests.
13136 * math/auto-libm-test-out: Regenerated.
13138 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13141 * sysdeps/sh/s_fma.c: New file.
13142 * sysdeps/sh/s_fmaf.c: New file.
13143 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13145 * sysdeps/sh/Implies: Add sh/soft-fp.
13147 2013-12-16 Roland McGrath <roland@hack.frob.com>
13149 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13150 level of indirection to members `objname', `errstring', `malloced'.
13151 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13152 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13153 it as the __longjmp argument (just pass 1 instead).
13154 (_dl_catch_error): Initialize C with argument pointers and address of
13155 volatile local ERRCODE rather than copying values out of C at return.
13157 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13159 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13160 * math/auto-libm-test-out: Regenerated.
13161 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13162 (hypot_test_data): Likewise.
13163 (pow_test_data): Likewise.
13164 (pow_tonearest_test_data): Likewise.
13165 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13167 (func_calc_desc): Add mpfr_ff_f union field.
13168 (FUNC_mpfr_ff_f): New macro.
13169 (test_functions): Add atan2, hypot and pow.
13170 (special_fill_min): New function.
13171 (special_fill_minus_min): Likewise.
13172 (special_fill_min_subnorm): Likewise.
13173 (special_fill_minus_min_subnorm): Likewise.
13174 (special_real_inputs): Add min, -min, min_subnorm and
13176 (calc_generic_results): Handle mpfr_ff_f.
13177 * sysdeps/i386/fpu/libm-test-ulps: Update.
13178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13180 2013-12-16 Will Newton <will.newton@linaro.org>
13182 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13183 (Aligned Memory Blocks): Add documentation for aligned_alloc
13184 and suggest it as an alternative to posix_memalign.
13185 (Hooks for Malloc): Document __memalign_hook is also called
13186 for aligned_alloc. (Summary of Malloc): Add summary for
13187 aligned alloc. Document __memalign_hook is also called
13190 2013-12-16 Will Newton <will.newton@linaro.org>
13192 * manual/memory.texi (Malloc Examples): Clarify default
13193 alignment documentation. Suggest posix_memalign rather
13194 than memalign or valloc.
13195 (Aligned Memory Blocks): Remove suggestion to use memalign
13196 or valloc. Remove obsolete comment about BSD.
13197 Document memalign errno values and mark the function obsolete.
13198 Document posix_memalign returned error codes. Mark valloc
13199 as obsolete. (Hooks for Malloc): __memalign_hook is also
13200 called for posix_memalign and valloc.
13201 (Summary of Malloc): Add posix_memalign to function summary.
13202 __memalign_hook is also called for posix_memalign and valloc.
13204 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13206 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13210 (sloww): Use mynumber union. Expand ternary operator into
13211 if-else statements.
13212 (cslow): use mynumber union.
13214 2013-12-16 Allan McRae <allan@archlinux.org>
13216 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13217 * configure: Regenerated.
13219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13222 * configure.ac: Added --enable-maintainer-mode. Check for
13223 autoconf when enabled.
13224 * configure: Regenerated.
13226 * nscd/nscd.service: New file.
13227 * nscd/nscd.tmpfiles: New file.
13229 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13232 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13233 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13234 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13235 (strstr): Add __strstr_sse2_unaligned ifunc.
13236 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13237 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13238 (strcasestr): Remove __strcasestr_sse42 ifunc.
13239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13243 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13245 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13246 * sysdeps/sh/bits/fenv.h: ... here.
13247 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13251 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13254 hypotf multiarch implementations.
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13258 multiarch hypot for PPC64.
13259 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13262 multiarch hypotf for PPC64.
13264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13265 modff multiarch implementations.
13266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13269 multiarch modf for PPC64.
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13273 multiarch modff for PPC64.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13276 and logl multiarch implementations.
13277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13280 multiarch logb for PPC64.
13281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13284 multiarch logb for PPC64.
13285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13288 multiarch logb for PPC64.
13290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13291 isinff multiarch implementation.
13292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13296 multiarch isinf for PPC64.
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13300 multiarch isinff for PPC64.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13303 finitef multiarch implementation.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13308 multiarch finite for PPC64.
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13312 multiarch finitef for PPC64.
13314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13315 lrint multiarch implementation.
13316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13320 multiarch llrint for PPC64.
13321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13322 multiarch lrint for PPC64.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13325 copysignf multiarch implementation.
13326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13331 multiarch copysign for PPC64.
13332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13333 multiarch copysignf for PPC64.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13336 multiarch implementation.
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13345 multiarch llround for PPC64.
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13347 multiarch trunc for PPC64.
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13349 multiarch truncf for PPC64.
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13352 multiarch implementation.
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13361 multiarch llround for PPC64.
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13363 multiarch round for PPC64.
13364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13365 multiarch roundf for PPC64.
13367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13368 multiarch implementation.
13369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13377 multiarch llround for PPC64.
13378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13379 multiarch floor for PPC64.
13380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13381 multiarch floorf for PPC64.
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13384 multiarch implementation.
13385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13393 multiarch llround for PPC64.
13394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13395 multiarch ceil for PPC64.
13396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13397 multiarch ceilf for PPC64.
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13400 multiarch implementation.
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13408 multiarch llround for PPC64.
13409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13410 multiarch lround for PPC64.
13412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13413 multiarch implementation.
13414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13421 multiarch isnan for PPC64.
13422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13423 multiarch isnanf for PPC64.
13425 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13426 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13427 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13428 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13429 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13432 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13433 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13438 multiarch implementations.
13439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13440 (__libc_ifunc_impl_list): Likewise.
13441 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13442 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13444 multiarch stpcpy for PPC64.
13446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13447 multiarch implementations.
13448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13449 (__libc_ifunc_impl_list): Likewise.
13450 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13451 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13452 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13453 multiarch strcpy for PPC64.
13455 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13456 redefine function name.
13457 (_wordcopy_fwd_dest_aligned): Likewise.
13458 (_wordcopy_bwd_aligned): Likewise.
13459 (_wordcopy_bwd_dest_aligned): Likewise.
13460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13461 multiarch implementations.
13462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13463 (__libc_ifunc_impl_list): Likewise.
13464 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13465 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13466 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13467 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13468 multiarch wcscpy for PPC64.
13470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13471 multiarch implementations.
13472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13473 (__libc_ifunc_impl_list): Likewise.
13474 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13475 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13476 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13477 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13478 multiarch wcscpy for PPC64.
13480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13481 multiarch implementations.
13482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13483 (__libc_ifunc_impl_list): Likewise.
13484 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13485 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13486 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13487 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13488 multiarch wcsrchr for PPC64.
13490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13491 multiarch implementations.
13492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13493 (__libc_ifunc_impl_list): Likewise.
13494 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13495 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13496 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13497 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13498 multiarch wcschr for PPC64.
13500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13501 multiarch implementations.
13502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13503 (__libc_ifunc_impl_list): Likewise.
13504 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13505 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13506 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13507 multiarch strchrnul for PPC64.
13509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13512 (__libc_ifunc_impl_list): Likewise.
13513 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13514 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13515 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13516 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13522 (__libc_ifunc_impl_list): Likewise.
13523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13525 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13526 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13530 multiarch implementations.
13531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13532 (__libc_ifunc_impl_list): Likewise.
13533 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13534 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13535 strncasecmp for PPC64.
13536 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13537 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13538 multiarch strncasecmp_l for PPC64.
13540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13541 multiarch implementations.
13542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13543 (__libc_ifunc_impl_list): Likewise.
13544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13546 multiarch strcasecmp for PPC64.
13547 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13549 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13550 multiarch strcasecmp_l for PPC64.
13552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13555 (__libc_ifunc_impl_list): Likewise.
13556 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13557 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13564 (__libc_ifunc_impl_list): Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13566 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13567 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13573 (__libc_ifunc_impl_list): Likewise.
13574 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13575 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13576 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13577 rawmemrchr for PPC64.
13579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13582 (__libc_ifunc_impl_list): Likewise.
13583 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13584 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13585 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13591 (__libc_ifunc_impl_list): Likewise.
13592 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13593 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13594 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13600 (__libc_ifunc_impl_list): Likewise.
13601 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13602 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13603 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13606 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13607 avoid cretion of __bzero symbol.
13608 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13610 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13612 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13615 multiarch implementations.
13616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13617 (__libc_ifunc_impl_list): Likewise.
13618 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13619 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13620 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13621 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13623 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13624 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13625 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13626 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13627 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13629 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13631 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13635 (__libc_ifunc_impl_list): Likewise.
13636 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13637 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13638 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13639 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13643 multiarch for POWER/PPC64.
13644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13645 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13648 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13649 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13650 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13651 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13652 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13655 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13656 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13657 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13658 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13659 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13660 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13661 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13662 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13663 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13664 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13665 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13666 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13667 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13668 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13669 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13678 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13682 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13684 * benchtests/Makefile (bench): Add exp2 and log2.
13685 (LDLIBS-bench-exp2): Add -lm.
13686 (LDLIBS-bench-log2): Likewise.
13687 * benchtests/exp2-inputs: New inputs file.
13688 * benchtests/log2-inputs: New inputs file.
13689 * benchtests/log-inputs: Add new inputs.
13690 * benchtests/tan-inputs: Likewise.
13692 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13694 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13696 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13697 (csloww2): ... from here.
13699 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13700 instead of structures.
13701 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13702 (POLYNOMIAL): Likewise.
13703 (TAYLOR_SLOW): Likewise.
13709 (sloww1); Likewise.
13710 (sloww2): Likewise.
13711 (bsloww1): Likewise.
13712 (bsloww2): Likewise.
13713 (cslow2): Likewise.
13714 (csloww): Likewise.
13715 (csloww1): Likewise.
13716 (csloww2): Likewise.
13718 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13720 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13721 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13722 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13723 * malloc/hooks.c (realloc_check): Likewise.
13725 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13726 * malloc/arena.c: Remove PER_THREAD conditional.
13727 [!PER_THREAD]: Remove code.
13728 (ptmalloc_unlock_all2): Likewise.
13729 (ptmalloc_init): Likewise.
13730 (_int_new_arena): Likewise.
13731 (arena_get2): Likewise.
13732 * malloc/hooks.c (__malloc_get_state): Likewise.
13733 (__malloc_set_state): Likewise.
13734 * malloc/malloc.c: Likewise.
13735 (struct malloc_state): Likewise.
13736 (struct malloc_par): Likewise.
13737 (__libc_realloc): Likewise.
13738 (__libc_mallopt): Likewise.
13740 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13742 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13744 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13746 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13747 macro to a function. Check for zero perturb_byte.
13748 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13750 * malloc/malloc.c: (force_reg): Remove.
13751 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13752 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13753 force_reg by atomic_forced_read.
13754 * malloc/arena.c (ptmalloc_init): Likewise.
13755 * malloc/hooks.c (top_check): Likewise.
13757 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13761 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13765 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13767 * math/auto-libm-test-in: Add tests of lgamma.
13768 * math/auto-libm-test-out: Regenerated.
13769 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13770 (M_LOG_2_SQRT_PIl): Likewise.
13771 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13774 (func_calc_desc): Add mpfr_f_f1 union field.
13775 (ARGS1): New macro.
13783 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13784 (test_functions): Add lgamma.
13785 (calc_generic_results): Handle mpfr_f_f1.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13789 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13791 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13792 __mpn_add_n for PowerPC64/POWER7.
13793 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13794 __mpn_sub_n for PowerPC64/POWER7.
13796 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13797 __mpn_addmul_1 for PowerPC64.
13798 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13799 __mpn_submul_1 for PowerPC64.
13800 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13802 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13805 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13808 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13810 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13812 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13814 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13815 add multiarch folders.
13816 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13817 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13818 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13819 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13820 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13821 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13822 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13823 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13824 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13825 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13826 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13835 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13841 multiarch __ieee754_hypot for PowerPC32.
13842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13847 multiarch __ieee754_hypotf for PowerPC32.
13849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13850 long_double_symbol only if __logbl is defined.
13851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13852 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13854 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13856 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13858 path for implementation.
13859 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13862 logb, and logbl multiarch implementations for PowerPC32.
13863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13868 multiarch logb for PowerPC32.
13869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13874 multiarch logbf for PowerPC32.
13875 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13879 multiarch logbl implementation for PowerPC32.
13881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13882 and modff multiarch implementations.
13883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13888 multiarch modf for PowerPC32.
13889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13894 multiarch modff for PowerPC32.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13897 and lrintf multiarch implementations.
13898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13903 multiarch lrint for PowerPC32.
13904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13905 file: multiarch lrintf for PowerPC32.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13908 and lroundf multiarch implementations.
13909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13916 multiarch lround for PowerPC32.
13917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13918 file: multiarch lroundf for PowerPC32.
13920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13921 copysign and copysignf multiarch implementations.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13927 file: multiarch copysign for PowerPC32.
13928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13929 file: multiarch copysignf for PowerPC32.
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13932 and truncf multiarch implementations.
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13938 multiarch trunc for PowerPC32.
13939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13944 multiarch truncf for PowerPC32.
13946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13947 and roundf multiarch implementations.
13948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13953 multiarch round for PowerPC32.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13959 multiarch roundf for PowerPC32.
13961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13962 and floorf multiarch implementations.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13968 multiarch floor for PowerPC32.
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13974 multiarch floorf for PowerPC32.
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13977 and ceilf multiarch implementations.
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13983 multiarch ceil for PowerPC32.
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13989 multiarch ceilf for PowerPC32.
13991 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13993 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13994 FINITEF is defined.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13996 and finitef multiarch implementations.
13997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14002 multiarch finite for PowerPC32.
14003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14006 file: multiarch finitef for PowerPC32.
14008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14009 and isinff multiarch implementations.
14010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14015 multiarch isinf for PowerPC32.
14016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14019 multiarch isinff for PowerPC32.
14021 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14022 alias when __isnan is defined.
14023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14024 and isnanf multiarch implementations.
14025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14034 multiarch isnan for PowerPC32.
14035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14040 multiarch isnanf for PowerPC32.
14042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14043 and sqrtf multiarch implementations.
14044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14049 multiarch sqrt for PowerPC32.
14050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14055 multiarch sqrtf for PowerPC32.
14057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14058 and llroundf multiarch implementations.
14059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14066 file: multiarch llround for PowerPC32.
14067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14068 file: multiarch llroundf for PowerPC32.
14070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14071 multiarch PowerPC32 fpu implementations.
14072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14077 multiarch llrint for PowerPC32.
14078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14089 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14091 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14093 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14094 multiarch wordcopy for PPC32.
14095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14098 (__libc_ifunc_impl_list): Likewise.
14099 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14100 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14101 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14102 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14103 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14104 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14106 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14114 multiarch wcscpy for PPC32.
14115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14118 (__libc_ifunc_impl_list): Likewise.
14119 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14120 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14121 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14122 sysdeps/powerpc/power6/wcscpy.c.
14124 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14132 multiarch wcsrchr for PPC32.
14133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14136 (__libc_ifunc_impl_list): Likewise.
14137 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14138 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14139 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14140 sysdeps/powerpc/power6/wcsrchr.c.
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14148 multiarch wcschr for PPc32.
14149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14152 (__libc_ifunc_impl_list): Likewise.
14153 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14154 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14155 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14156 sysdeps/powerpc/power6/wcschr.c.
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14159 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14161 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14162 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14163 file: multiarch strchr for PPC32.
14164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14167 (__libc_ifunc_impl_list): Likewise.
14169 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14171 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14176 multiarch strchrnul for PPC32.
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14180 (__libc_ifunc_impl_list): Likewise.
14182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14185 multiarch strncasecmp for PPC32.
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14189 multiarch strncasecmp_l for PPC32.
14190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14191 strncasecmp multiarch objects.
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14193 (__libc_ifunc_impl_list): Likewise.
14195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14198 multiarch strncasecmp for PPC32.
14199 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14202 multiarch strcasecmp_l for PPC32.
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14206 (__libc_ifunc_impl_list): Likewise.
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14213 multiarch strncmp for PPC32.
14214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14217 (__libc_ifunc_impl_list): Likewise.
14219 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14220 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14222 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14223 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14227 (__libc_ifunc_impl_list): Likewise.
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14231 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14237 (__libc_ifunc_impl_list): Likewise.
14239 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14244 multiarch rawmemchr for PPC32.
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14248 (__libc_ifunc_impl_list): Likewise.
14250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14252 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14254 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14255 file: memrchr multiarch for PPC32.
14256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14259 (__libc_ifunc_impl_list): Likewise.
14261 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14265 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14266 multiarch memchr for PPC32.
14267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14270 (__libc_ifunc_impl_list): Likewise.
14272 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14277 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14278 file: multiarch mempcpy for PPC32.
14279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14282 (__libc_ifunc_impl_list): Likewise.
14284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14285 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14286 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14287 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14288 multiarch bzero for PPC32.
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14291 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14293 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14294 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14295 file: multiarch memset for PPC32.
14296 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14298 memset multiarch objects.
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14300 (__libc_ifunc_impl_list): Likewise.
14302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14307 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14311 (__libc_ifunc_impl_list): Likewise.
14313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14314 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14319 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14322 multiarch memcpy for PPC32.
14323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14326 (__libc_ifunc_impl_list): Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14329 support multiarch for POWER/PPC32.
14330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14332 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14334 Implies file to make multiarch folder appers before the fpu and
14335 default folder for power4 configuration.
14337 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 * scripts/bench.pl: Append volatile keyword to type.
14341 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14343 * sysdeps/sh/sotruss-lib.c: New file.
14344 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14346 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14350 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14353 * math/w_tgamma.c: Include <errno.h>.
14354 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14355 * math/w_tgammaf.c: Include <errno.h>.
14356 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14357 * math/w_tgammal.c: Include <errno.h>.
14358 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14359 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14360 underflow. Add more tgamma tests.
14361 * math/auto-libm-test-out: Regenerated.
14362 * sysdeps/i386/fpu/libm-test-ulps: Update.
14363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14365 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14366 sin, sinh, tan, tanh, tgamma, y0 and y1.
14367 * math/auto-libm-test-out: Regenerated.
14368 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14369 (TEST_COND_x86): Likewise.
14370 (M_E2l): Remove macro.
14372 (M_2_SQRT_PIl): Likewise.
14373 (M_SQRT_PIl): Likewise.
14374 (M_1_DIV_El): Likewise.
14375 (log_test_data): Use AUTO_TESTS_f_f.
14376 (log10_test_data): Likewise.
14377 (log1p_test_data): Likewise.
14378 (log2_test_data): Likewise.
14379 (sin_test_data): Likewise.
14380 (sin_tonearest_test_data): Likewise.
14381 (sin_towardzero_test_data): Likewise.
14382 (sin_downward_test_data): Likewise.
14383 (sin_upward_test_data): Likewise.
14384 (sinh_test_data): Likewise.
14385 (sinh_tonearest_test_data): Likewise.
14386 (sinh_towardzero_test_data): Likewise.
14387 (sinh_downward_test_data): Likewise.
14388 (sinh_upward_test_data): Likewise.
14389 (tan_test_data): Likewise.
14390 (tan_tonearest_test_data): Likewise.
14391 (tan_towardzero_test_data): Likewise.
14392 (tan_downward_test_data): Likewise.
14393 (tan_upward_test_data): Likewise.
14394 (tanh_test_data): Likewise.
14395 (tgamma_test_data): Likewise.
14396 (y0_test_data): Likewise.
14397 (y1_test_data): Likewise.
14398 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14399 (special_real_inputs): Add pi/4.
14400 * sysdeps/i386/fpu/libm-test-ulps: Update.
14401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14405 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14406 "longjmp_target" static probes.
14407 (__longjmp): Rename to __longjmp_symbol.
14408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14409 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14410 on which longjmp to generate.
14411 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14414 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14415 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14416 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14417 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14418 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14419 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14421 __longjmp_symbol based on which __longjmp to generate.
14422 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14424 (setjmp): Rename to setjmp_symbol.
14425 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14426 (_setjmp): Rename to _setjmp_symbol.
14427 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14428 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14429 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14430 which setjmp to generate.
14431 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14432 "longjmp_target" static probes.
14434 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14436 * benchtests/README: Add note about output arguments.
14437 * benchtests/bench-sincos.c: Remove file.
14438 * benchtests/sincos-inputs: New file.
14439 * scripts/bench.pl: Identify output arguments and define
14440 static variables for them.
14442 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14445 * Makefile (INSTALL): Add install-plain.texi as the primary
14447 * manual/install-plain.texi: New file.
14448 * manual/install.texi: Include node directive only for
14449 non-plaintext output.
14451 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14453 * stdlib/longlong.h: Update from GCC.
14457 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14458 * math/w_j0f.c (y0f): Likewise.
14459 * math/w_j0l.c (__y0l): Likewise.
14460 * math/w_j1.c (y1): Likewise.
14461 * math/w_j1f.c (y1f): Likewise.
14462 * math/w_j1l.c (__y1l): Likewise
14463 * math/w_jn.c (yn): Likewise.
14464 * math/w_jnf.c (ynf): Likewise.
14465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14466 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14467 value for Bessel function domain errors outside _SVID_ mode.
14468 Adjust sign of return value for yn (negative integer, 0).
14469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14470 by zero in return for negative x and set sign appropriately for
14472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14474 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14475 expectations in error cases.
14476 (y1_test_data): Likewise.
14477 (yn_test_data): Likewise.
14478 * sysdeps/i386/fpu/libm-test-ulps: Update.
14479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14481 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14483 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14484 "64" to "64-v1". Add "64-v2".
14485 (abi-64-options): Rename to ...
14486 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14487 (abi-64-condition): Rename to ...
14488 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14489 (abi-64-ld-soname): Rename to ...
14490 (abi-64-v1-ld-soname): ... this.
14491 (abi-64-v2-options): Define.
14492 (abi-64-v2-condition): Likewise.
14493 (abi-64-v2-ld-soname): Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14495 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14500 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14501 Alan Modra <amodra@gmail.com>
14503 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14504 New versions for use with the ELFv2 ABI.
14505 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14506 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14508 (struct La_ppc64v2_retval): Likewise.
14509 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14510 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14511 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14512 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14513 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14514 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14515 Do not save or restore CR.
14516 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14517 (_dl_profile_resolve): Do no save or restore CR. Support extended
14518 return values for ELFv2 ABI. Fix location of FPR return registers.
14519 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14520 updated values for _CALL_ELF == 2.
14521 (La_regs, La_retval, int_retval): Likewise.
14523 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14525 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14526 (FRAME_MIN_SIZE_PARM): Likewise.
14527 (FRAME_BACKCHAIN): Likewise.
14528 (FRAME_CR_SAVE): Likewise.
14529 (FRAME_LR_SAVE): Likewise.
14530 (FRAME_TOC_SAVE): Likewise.
14531 (FRAME_PARM_SAVE): Likewise.
14532 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14533 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14534 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14535 (call_mcount_parm_offset): New macro.
14536 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14537 (PROF): Use symbolic stack frame offsets.
14538 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14540 Redefine in terms of FRAME_MIN_SIZE.
14541 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14542 (_dl_profile_resolve): Likewise. Update comment.
14543 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14544 symbols stack frame offsets.
14545 (__sigsetjmp): Likewise.
14546 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14547 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14548 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14549 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14552 (FRAME_BACKCHAIN): Remove.
14553 (FRAME_CR_SAVE): Likewise.
14554 (FRAME_LR_SAVE): Likewise.
14555 (FRAME_COMPILER_DW): Likewise.
14556 (FRAME_LINKER_DW): Likewise.
14557 (FRAME_TOC_SAVE): Likewise.
14558 (FRAME_PARM_SAVE): Likewise.
14559 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14560 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14561 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14563 (CHECK_SP): Use symbolic stack frame offsets.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14565 zone" instead of caller's parameter save area for temp storage.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14567 Likewise. Also, use symbolic stack frame offsets.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14569 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14570 our own stack frame instead of the caller's.
14571 (__socket): Use symbolic stack frame offsets.
14573 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14574 Alan Modra <amodra@gmail.com>
14576 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14578 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14579 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14580 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14582 (elf_machine_fixup_plt): Call it.
14583 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14585 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14587 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14588 r2 before calling target.
14590 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14591 Alan Modra <amodra@gmail.com>
14593 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14594 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14595 versions of macros to support ELFv2 ABI.
14596 (LOCALENTRY): New macro.
14597 (ENTRY, EALIGN): Use it.
14598 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14599 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14600 fall through into ENTRY entry point.
14601 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14602 Only define if _CALL_ELF != 2.
14604 (elf_machine_matches_host): Verify ABI version matches.
14605 (RTLD_START): Use LOCALENTRY.
14606 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14607 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14608 (PLT_ENTRY_WORDS): New macro.
14609 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14610 (elf_machine_runtime_setup): Support ELFv2 ABI.
14611 (elf_machine_fixup_plt): Likewise.
14612 (elf_machine_plt_conflict): Likewise.
14613 (resolve_ifunc): Likewise.
14614 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14615 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14618 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14620 (makecontext): Support ELFv2 ABI.
14621 * elf/elf.h (EF_PPC64_ABI): Define.
14623 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14625 * sysdeps/powerpc/powerpc64/sysdep.h
14626 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14627 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14628 (ENTRY) [ASSEMBLER]: ... but instead here ...
14629 (EALIGN) [ASSEMBLER]: ... and here.
14630 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14631 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14632 (ENTRY_2) [!ASSEMBLER]: Use it.
14633 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14634 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14635 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14636 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14637 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14639 Use PPC64_LOAD_FUNCPTR.
14641 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14643 2013-12-04 Alan Modra <amodra@gmail.com>
14645 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14646 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14647 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14648 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14651 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14652 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14653 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14654 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14655 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14657 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14660 (__makecontext): Fix incorrect CFI when backtracing out of
14661 context created via makecontext.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14663 (__setcontext): Fix incorrect CFI during switch to new context.
14664 (__novec_setcontext): Likewise.
14666 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14669 * time/strptime_l.c (__strptime_internal): Allow modifiers
14671 * time/tst-strptime.c (day_tests): Add testcase.
14673 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14675 * scripts/bench.pl: Skip over blank lines.
14677 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14680 * manual/time.texi (Calendar Time): Clarify what timezone functions
14683 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14687 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14689 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14691 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14692 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14693 * debug/memset_chk.c (__memset_chk): Likewise.
14694 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14695 * debug/strncpy_chk.c: Likewise.
14697 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14701 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14702 (__ieee754_exp): For possibly underflowing results, check size of
14703 result and force underflow exception if required.
14704 * math/auto-libm-test-in: Add more tests of exp.
14705 * math/auto-libm-test-out: Regenerated.
14706 * sysdeps/i386/fpu/libm-test-ulps: Update.
14707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14710 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14711 * math/w_exp2f.c (__exp2f): Likewise.
14712 * math/w_exp2l.c (__exp2l): Likewise.
14713 * math/auto-libm-test-in: Do not allow missing errno on exp2
14715 * math/auto-libm-test-out: Regenerated.
14717 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14720 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14721 handle filename validation.
14722 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14725 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14729 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14730 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14732 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14734 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14736 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14738 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14739 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14740 Add more erfc tests.
14741 * math/auto-libm-test-out: Regenerated.
14742 * sysdeps/i386/fpu/libm-test-ulps: Update.
14743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14745 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14746 exp2, expm1, j0 and j1.
14747 * math/auto-libm-test-out: Regenerated.
14748 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14749 (erfc_test_data): Likewise.
14750 (exp_test_data): Likewise.
14751 (exp_tonearest_test_data): Likewise.
14752 (exp_towardzero_test_data): Likewise.
14753 (exp_downward_test_data): Likewise.
14754 (exp_upward_test_data): Likewise.
14755 (exp10_test_data): Likewise.
14756 (exp2_test_data): Likewise.
14757 (expm1_test_data): Likewise.
14758 (j0_test_data): Likewise.
14759 (j1_test_data): Likewise.
14760 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14761 (input_flag_type): Add flag_xfail_rounding.
14762 (input_flags): Add xfail-rounding.
14763 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14764 (output_for_one_input_case): Handle flag_xfail_rounding.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14771 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14774 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14777 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14778 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14779 (STAP_PROBE0): New macro.
14780 (STAP_PROBE1): Likewise.
14781 (STAP_PROBE2): Likewise.
14782 (STAP_PROBE3): Likewise.
14783 (STAP_PROBE4): Likewise.
14785 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14787 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14789 2013-12-02 Steve Ellcey <sellcey@mips.com>
14791 * benchtests/Makefile (bench): Add sqrt.
14792 (LDLIBS-bench-sqrt): New.
14793 * benchtests/sqrt-input: New.
14795 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14797 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14798 (GAIH_EAI): Likewise.
14799 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14800 (gaih_inet): Likewise.
14801 (getaddrinfo): Don't use GAIH_EAI.
14803 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14804 (struct gaih): Remove definition.
14806 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14809 Use HERRNOP directly.
14811 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14815 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14817 * math/gen-auto-libm-tests.c (test_functions): Add more
14818 single-argument functions.
14819 (special_fill_pi_2): New function.
14820 (special_fill_minus_pi_2): Likewise.
14821 (special_fill_pi_6): Likewise.
14822 (special_fill_minus_pi_6): Likewise.
14823 (special_fill_pi_3): Likewise.
14824 (special_fill_2pi_3): Likewise.
14825 (special_fill_e): Likewise.
14826 (special_fill_1_e): Likewise.
14827 (special_fill_e_minus_1): Likewise.
14828 (special_real_inputs): Add more special inputs.
14829 (output_for_one_input_case): Do not require ERANGE on underflow to
14830 zero if round-to-nearest result does not underflow to zero, unless
14831 exact results required.
14832 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14833 atan, atanh, cbrt, cos and cosh.
14834 * math/auto-libm-test-out: Regenerated.
14835 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14836 (acos_tonearest_test_data): Likewise.
14837 (acos_towardzero_test_data): Likewise.
14838 (acos_downward_test_data): Likewise.
14839 (acos_upward_test_data): Likewise.
14840 (acosh_test_data): Likewise.
14841 (asin_test_data): Likewise.
14842 (asin_tonearest_test_data): Likewise.
14843 (asin_towardzero_test_data): Likewise.
14844 (asin_upward_test_data): Likewise.
14845 (asinh_test_data): Likewise.
14846 (atan_test_data): Likewise.
14847 (atanh_test_data): Likewise.
14848 (cbrt_test_data): Likewise.
14849 (cos_test_data): Likewise.
14850 (cos_tonearest_test_data): Likewise.
14851 (cos_towardzero_test_data): Likewise.
14852 (cos_downward_test_data): Likewise.
14853 (cos_upward_test_data): Likewise.
14854 (cosh_test_data): Likewise.
14855 (cosh_tonearest_test_data): Likewise.
14856 (cosh_towardzero_test_data): Likewise.
14857 (cosh_downward_test_data): Likewise.
14858 (cosh_upward_test_data): Likewise.
14859 * sysdeps/i386/fpu/libm-test-ulps: Update.
14860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14862 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14865 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14866 * math/w_exp10f.c (__exp10f): Likewise.
14867 * math/w_exp10l.c (__exp10l): Likewise.
14868 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14869 errno settings in existing tests.
14872 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14873 precision control set to double precision.
14874 * sysdeps/i386/fpu/w_sqrt.c: New file.
14875 * math/auto-libm-test-in: Add more tests.
14876 * math/auto-libm-test-out: Update.
14878 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14879 (sqrt_test_tonearest): New function.
14880 (sqrt_towardzero_test_data): New variable.
14881 (sqrt_test_towardzero): New function.
14882 (sqrt_downward_test_data): New variable.
14883 (sqrt_test_downward): New function.
14884 (sqrt_upward_test_data): New variable.
14885 (sqrt_test_upward): New function.
14886 (main): Call the new functions.
14888 * math/gen-auto-libm-tests.c: New file.
14889 * math/auto-libm-test-in: Likewise.
14890 * math/auto-libm-test-out: New generated file.
14891 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14893 (%beautify): Add generated representations of zero.
14894 (top level): Set $auto_input and call parse_auto_input.
14895 (beautify): Remove trailing "f" from hex float constants.
14896 (parse_args): Handle XFAIL_TEST.
14897 (convert_condition): New function.
14898 (or_value): Likewise.
14899 (or_cond_value): Likewise.
14900 (generate_testfile): Handle AUTO_TESTS_* lines.
14901 (parse_auto_input): New function.
14902 * math/libm-test.inc (XFAIL_TEST): New macro.
14903 (ERRNO_UNCHANGED): Update value.
14904 (ERRNO_EDOM): Likewise.
14905 (ERRNO_ERANGE): Likewise.
14906 (IGNORE_RESULT): Likewise.
14907 (TEST_COND_flt_32): New macro.
14908 (TEST_COND_dbl_64): Likewise.
14909 (TEST_COND_ldbl_96_intel): Likewise.
14910 (TEST_COND_ldbl_96_m68k): Likewise.
14911 (TEST_COND_ldbl_128): Likewise.
14912 (TEST_COND_ldbl_128ibm): Likewise.
14913 (TEST_COND_long32): Likewise.
14914 (TEST_COND_long64): Likewise.
14915 (TEST_COND_before_rounding): Likewise.
14916 (TEST_COND_after_rounding): Likewise.
14917 (enable_test): Handle XFAIL_TEST flag.
14918 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14919 with finite results.
14920 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14921 auto-libm-test-out.
14923 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14924 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14927 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14928 __tls_get_addr_internal instead of __tls_get_offset in order to
14929 avoid GOT pointer dependency. Make rtld export
14930 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14931 __tls_get_addr since we are a __tls_get_offset platform.
14932 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14933 GOT pointer being set up before.
14934 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14936 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14938 * manual/math.texi (Errors in Math Functions): Document accuracy
14942 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14943 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14946 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14947 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14948 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14959 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14960 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14961 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14962 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14963 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14965 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14967 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14969 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14970 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14971 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14972 atomic-feupdateenv and flt-rounds.
14973 * sysdeps/powerpc/nofpu/Versions (libc): Add
14974 __atomic_feholdexcept, __atomic_feclearexcept,
14975 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14976 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14977 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14978 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14979 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14984 * manual/arith.texi (FP Exceptions): Document that exceptions may
14985 not be raised when matherr is used.
14986 (Math Error Reporting): Document overflow in directed rounding
14987 modes. Document that errno may not be set when finite values are
14988 returned on overflow. Document intent to set errno on underflow
14989 only for underflow to zero.
14992 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14993 round-to-nearest then adjust result for other rounding modes.
14994 * include/fenv.h (fegetround): Use libm_hidden_proto.
14995 * math/fegetround.c (fegetround): Use libm_hidden_def.
14996 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14997 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14998 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14999 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15001 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15002 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15003 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15004 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15006 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15009 * nss/Versions (libnss_files): Add
15010 _nss_files_gethostbyname3_r.
15011 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15013 (HOST_DB_LOOKUP): Remove macro.
15014 (_nss_files_gethostbyname_r): Implement function without the
15015 HOST_DB_LOOKUP macro.
15016 (_nss_files_gethostbyname2_r): Likewise.
15018 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15020 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15022 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15024 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15025 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15028 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15030 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15031 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15032 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15033 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15034 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15035 __fe_nomask_env_priv and attribute_hidden.
15036 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15037 (libc_feupdateenv_test_ppc): Likewise.
15038 (libc_feresetround_ppc): Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15040 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15041 compat_symbol macro.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15043 (__fe_nomask_env): Likewise.
15044 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15046 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15048 * string/Makefile: Remove ifunc tests.
15049 * string/test-string.h: Define TEST_IFUNC.
15050 * string/test-bcopy-ifunc.c: Remove.
15051 * string/test-bzero-ifunc.c: Likewise.
15052 * string/test-memccpy-ifunc.c: Likewise.
15053 * string/test-memchr-ifunc.c: Likewise.
15054 * string/test-memcmp-ifunc.c: Likewise.
15055 * string/test-memcpy-ifunc.c: Likewise.
15056 * string/test-memmem-ifunc.c: Likewise.
15057 * string/test-memmove-ifunc.c: Likewise.
15058 * string/test-mempcpy-ifunc.c: Likewise.
15059 * string/test-memrchr-ifunc.c: Likewise.
15060 * string/test-memset-ifunc.c: Likewise.
15061 * string/test-rawmemchr-ifunc.c: Likewise.
15062 * string/test-stpcpy-ifunc.c: Likewise.
15063 * string/test-stpncpy-ifunc.c: Likewise.
15064 * string/test-strcasecmp-ifunc.c: Likewise.
15065 * string/test-strcasestr-ifunc.c: Likewise.
15066 * string/test-strcat-ifunc.c: Likewise.
15067 * string/test-strchr-ifunc.c: Likewise.
15068 * string/test-strchrnul-ifunc.c: Likewise.
15069 * string/test-strcmp-ifunc.c: Likewise.
15070 * string/test-strcpy-ifunc.c: Likewise.
15071 * string/test-strcspn-ifunc.c: Likewise.
15072 * string/test-strlen-ifunc.c: Likewise.
15073 * string/test-strncasecmp-ifunc.c: Likewise.
15074 * string/test-strncat-ifunc.c: Likewise.
15075 * string/test-strncmp-ifunc.c: Likewise.
15076 * string/test-strncpy-ifunc.c: Likewise.
15077 * string/test-strnlen-ifunc.c: Likewise.
15078 * string/test-strpbrk-ifunc.c: Likewise.
15079 * string/test-strrchr-ifunc.c: Likewise.
15080 * string/test-strspn-ifunc.c: Likewise.
15081 * string/test-strstr-ifunc.c: Likewise.
15083 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15085 * benchtests/Makefile: Remove ifunc tests.
15086 * benchtests/bench-string.h: Define TEST_IFUNC.
15087 * benchtests/bench-bcopy-ifunc.c: Remove.
15088 * benchtests/bench-bzero-ifunc.c: Likewise.
15089 * benchtests/bench-memccpy-ifunc.c: Likewise.
15090 * benchtests/bench-memchr-ifunc.c: Likewise.
15091 * benchtests/bench-memcmp-ifunc.c: Likewise.
15092 * benchtests/bench-memcpy-ifunc.c: Likewise.
15093 * benchtests/bench-memmem-ifunc.c: Likewise.
15094 * benchtests/bench-memmove-ifunc.c: Likewise.
15095 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15096 * benchtests/bench-memrchr-ifunc.c: Likewise.
15097 * benchtests/bench-memset-ifunc.c: Likewise.
15098 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15099 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15100 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15101 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15102 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15103 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15104 * benchtests/bench-strcat-ifunc.c: Likewise.
15105 * benchtests/bench-strchr-ifunc.c: Likewise.
15106 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15107 * benchtests/bench-strcmp-ifunc.c: Likewise.
15108 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15109 * benchtests/bench-strcpy-ifunc.c: Likewise.
15110 * benchtests/bench-strcspn-ifunc.c: Likewise.
15111 * benchtests/bench-strlen-ifunc.c: Likewise.
15112 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15113 * benchtests/bench-strncat-ifunc.c: Likewise.
15114 * benchtests/bench-strncmp-ifunc.c: Likewise.
15115 * benchtests/bench-strncpy-ifunc.c: Likewise.
15116 * benchtests/bench-strnlen-ifunc.c: Likewise.
15117 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15118 * benchtests/bench-strrchr-ifunc.c: Likewise.
15119 * benchtests/bench-strsep-ifunc.c: Likewise.
15120 * benchtests/bench-strspn-ifunc.c: Likewise.
15121 * benchtests/bench-strstr-ifunc.c: Likewise.
15123 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15125 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15127 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15129 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15130 * rt/aio.h: Likewise.
15131 * sysdeps/gnu/bits/utmp.h: Likewise.
15132 * sysdeps/gnu/bits/utmpx.h: Likewise.
15133 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15134 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15135 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15136 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15137 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15138 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15139 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15140 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15141 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15143 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15144 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15145 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15147 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15148 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15149 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15150 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15151 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15155 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15156 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15157 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15159 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15162 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15163 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15165 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15166 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15167 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15168 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15169 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15170 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15171 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15172 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15173 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15174 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15176 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15179 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15180 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15182 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15184 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15185 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15188 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15191 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15192 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15193 (__fesetround): Remove define.
15194 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15195 rounding and exceptions handling.
15196 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15197 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15198 (__fe_nomask_env): Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15200 __fegetround instead of fegetround.
15201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15204 2013-11-21 Roland McGrath <roland@hack.frob.com>
15206 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15209 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15211 2013-11-21 Meador Inge <meadori@codesourcery.com>
15214 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15215 (encrypt_r): Likewise.
15216 * malloc/obstack.h (obstack_free): Likewise.
15217 * posix/unistd.h (encrypt): Likewise.
15219 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15221 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15222 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15223 DL_CALL_DT_FINI() that call the functions directly.
15224 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15225 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15226 * elf/dl-fini.c: Likewise.
15228 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15230 * malloc/hooks.c (memalign_check): Add alignment rounding.
15231 * malloc/malloc.c (_mid_memalign): New function.
15232 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15233 Implement by calling _mid_memalign.
15234 * manual/probes.texi (Memory Allocation Probes): Remove
15235 memory_valloc_retry and memory_pvalloc_retry.
15237 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15239 * locale/programs/locarchive.c (open_archive): Add const
15240 qualifier to ARCHIVEFNAME and copy default fname to
15244 * libio/tst-widetext.input: Rename Oriya to Odia.
15245 * locale/iso-639.def: Likewise.
15247 * manual/probes.texi (Mathematical Function Probes): Add
15248 documentation for sin, cos, asin and acos probes.
15249 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15250 (__sin32): Add slowasin probe.
15251 (__cos32): Add slowacos probe.
15252 (__mpsin): Add slowsin probe.
15253 (__mpcos): Add slowcos probe.
15255 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15258 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15259 thread-local __sim_exceptions_thread and global
15260 __sim_exceptions_global.
15261 (__sim_disabled_exceptions): Change to thread-local
15262 __sim_disabled_exceptions_thread and global
15263 __sim_disabled_exceptions_global.
15264 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15265 and global __sim_round_mode_global.
15266 (__simulate_exceptions): Use thread-local floating-point state and
15267 set global state from it as needed.
15268 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15269 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15270 __sim_round_mode_thread.
15271 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15272 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15273 and global __sim_exceptions_global.
15274 (__sim_disabled_exceptions): Change to thread-local
15275 __sim_disabled_exceptions_thread and global
15276 __sim_disabled_exceptions_global.
15277 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15278 and global __sim_round_mode_global.
15279 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15280 (SIM_SET_GLOBAL): Likewise.
15281 * sysdeps/powerpc/soft-fp/sfp-machine.h
15282 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15283 __sim_round_mode_thread.
15284 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15285 __sim_disabled_exceptions_thread.
15286 (__sim_exceptions): Change to __sim_exceptions_thread.
15287 (__sim_disabled_exceptions): Change to
15288 __sim_disabled_exceptions_thread.
15289 (__sim_round_mode): Change to __sim_round_mode_thread.
15290 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15291 thread-local floating-point state and set global state from it as
15293 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15294 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15295 (__sim_disabled_exceptions): Remove extern declaration.
15296 (feenableexcept): Use thread-local floating-point state and set
15297 global state from it as needed.
15298 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15299 extern declaration.
15300 (__sim_disabled_exceptions): Likewise.
15301 (__sim_round_mode): Likewise.
15302 (__fegetenv): Use thread-local floating-point state.
15303 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15304 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15305 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15306 floating-point state and set global state from it as needed.
15307 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15308 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15309 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15311 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15312 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15314 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15315 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15316 Use __sim_round_mode_thread.
15317 * math/test-fenv-tls.c: New file.
15318 * math/Makefile (tests): Add test-fenv-tls.
15319 ($(objpfx)test-fenv-tls): Depend on
15320 $(common-objpfx)nptl/libpthread.so.
15322 2013-11-19 Andreas Schwab <schwab@suse.de>
15324 * locale/programs/locale.c (show_info): Decode wordarray elements.
15325 * locale/categories.def (LC_MONETARY): Add element for
15326 _NL_MONETARY_CRNCYSTR.
15327 * locale/C-monetary.c (conversion_rate): New variable.
15328 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15331 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15333 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15334 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15336 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15338 * elf/Makefile (tst-auxv): New test.
15339 * elf/tst-auxv.c: New
15340 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15342 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15344 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15345 (hidden_proto): Caller changed.
15346 (hidden_tls_proto): New macro.
15347 (libc_hidden_tls_proto): Likewise.
15348 (rtld_hidden_tls_proto): Likewise.
15349 (libm_hidden_tls_proto): Likewise.
15350 (libresolv_hidden_tls_proto): Likewise.
15351 (librt_hidden_tls_proto): Likewise.
15352 (libdl_hidden_tls_proto): Likewise.
15353 (libnss_files_hidden_tls_proto): Likewise.
15354 (libnsl_hidden_tls_proto): Likewise.
15355 (libnss_nisplus_hidden_tls_proto): Likewise.
15356 (libutil_hidden_tls_proto): Likewise.
15358 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15361 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15362 (decompose_rpath): Defer expansion to fillin_rpath.
15363 (_dl_init_paths): Pass linkmap to fillin_rpath.
15365 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15367 * benchtests/Makefile: Add strsep.
15368 * benchtests/bench-strsep.c: New file: strsep benchtest.
15369 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15371 2013-11-18 Andreas Schwab <schwab@suse.de>
15373 * locale/programs/locale.c (show_info) [case byte]: Check for
15374 '\377' instead of '\177'.
15375 * locale/C-monetary.c (not_available): Always use "\377".
15376 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15377 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15378 detect unavailable sign_posn locale elements.
15379 * locale/localeconv.c (__localeconv): For grouping and
15380 mon_grouping handle "\177" and "\377" like no grouping.
15381 (INT_ELEM): New macro. Use it to set all numeric members.
15382 * locale/programs/ld-monetary.c (monetary_read)
15383 <tok_mon_grouping>: Normalize single -1 to the empty string.
15384 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15387 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15390 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15391 when we match (nil).
15392 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15394 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15396 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15397 (NO_TEST_INLINE): Update value.
15398 (ERRNO_UNCHANGED): Likewise.
15399 (ERRNO_EDOM): Likewise.
15400 (ERRNO_ERANGE): Likewise.
15401 (IGNORE_RESULT): Likewise.
15402 (check_float_internal): Check signs of NaN results if
15403 TEST_NAN_SIGN used.
15404 (check_complex): Pass TEST_NAN_SIGN flag through to second
15405 check_float_internal call.
15406 (copysign_test_data): Add tests with quiet NaNs as second
15407 argument. Use TEST_NAN_SIGN.
15408 (fabs_test_data): Add test of negative quiet NaN argument. Use
15410 (signbit_test_data): Add tests of quiet NaN argument.
15411 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15413 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15415 (parse_args): Handle function results specified as IGNORE.
15416 * math/libm-test.inc (IGNORE_RESULT): New macro.
15417 (check_float_internal): Do not check numerical result if flag
15419 (check_complex): Pass through IGNORE_RESULT to second
15420 check_float_internal call.
15421 (check_int): Do not check numerical result if flag IGNORE_RESULT
15423 (check_long): Likewise.
15424 (check_bool): Likewise.
15425 (check_longlong): Likewise.
15426 (lrint_test_data): Add tests of infinite and NaN arguments.
15427 (lrint_tonearest_test_data): Likewise.
15428 (lrint_towardzero_test_data): Likewise.
15429 (lrint_downward_test_data): Likewise.
15430 (lrint_upward_test_data): Likewise.
15431 (llrint_test_data): Likewise.
15432 (llrint_tonearest_test_data): Likewise.
15433 (llrint_towardzero_test_data): Likewise.
15434 (llrint_downward_test_data): Likewise.
15435 (llrint_upward_test_data): Likewise.
15436 (lround_test_data): Likewise.
15437 (llround_test_data): Likewise.
15439 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15440 (ERRNO_UNCHANGED): Update value.
15441 (ERRNO_EDOM): Likewise.
15442 (ERRNO_ERANGE): Likewise.
15443 (NO_TEST_INLINE_FLOAT): New macro.
15444 (NO_TEST_INLINE_DOUBLE): Likewise.
15445 (enable_test): New function.
15446 (RUN_TEST_f_f): Check enable_test before running test.
15447 (RUN_TEST_2_f): Likewise.
15448 (RUN_TEST_fff_f): Likewise.
15449 (RUN_TEST_c_f): Likewise.
15450 (RUN_TEST_f_f1): Likewise.
15451 (RUN_TEST_fF_f1): Likewise.
15452 (RUN_TEST_fI_f1): Likewise.
15453 (RUN_TEST_ffI_f1): Likewise.
15454 (RUN_TEST_c_c): Likewise.
15455 (RUN_TEST_cc_c): Likewise.
15456 (RUN_TEST_f_i): Likewise.
15457 (RUN_TEST_f_i_tg): Likewise.
15458 (RUN_TEST_ff_i_tg): Likewise.
15459 (RUN_TEST_f_b): Likewise.
15460 (RUN_TEST_f_b_tg): Likewise.
15461 (RUN_TEST_f_l): Likewise.
15462 (RUN_TEST_f_L): Likewise.
15463 (RUN_TEST_fFF_11): Likewise.
15464 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15466 (cosh_test_data): Likewise.
15467 (exp_test_data): Likewise.
15468 (expm1_test_data): Likewise.
15469 (hypot_test_data): Likewise.
15470 (pow_test_data): Likewise.
15471 (sinh_test_data): Likewise.
15472 (tanh_test_data): Likewise.
15473 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15476 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15477 tests with quiet NaN input and output.
15478 (acosh_test_data): Likewise.
15479 (asin_test_data): Likewise.
15480 (asinh_test_data): Likewise.
15481 (atan_test_data): Likewise.
15482 (atanh_test_data): Likewise.
15483 (atan2_test_data): Likewise.
15484 (cbrt_test_data): Likewise.
15485 (cos_test_data): Likewise.
15486 (cosh_test_data): Likewise.
15487 (erf_test_data): Likewise.
15488 (erfc_test_data): Likewise.
15489 (exp_test_data): Likewise.
15490 (exp10_test_data): Likewise.
15491 (exp2_test_data): Likewise.
15492 (expm1_test_data): Likewise.
15493 (hypot_test_data): Likewise.
15494 (j0_test_data): Likewise.
15495 (j1_test_data): Likewise.
15496 (jn_test_data): Likewise.
15497 (lgamma_test_data): Likewise.
15498 (log_test_data): Likewise.
15499 (log10_test_data): Likewise.
15500 (log1p_test_data): Likewise.
15501 (log2_test_data): Likewise.
15502 (pow_test_data): Likewise.
15503 (scalb_test_data): Likewise.
15504 (sin_test_data): Likewise.
15505 (sincos_test_data): Likewise.
15506 (sinh_test_data): Likewise.
15507 (tan_test_data): Likewise.
15508 (tanh_test_data): Likewise.
15509 (tgamma_test_data): Likewise.
15510 (y0_test_data): Likewise.
15511 (y1_test_data): Likewise.
15512 (yn_test_data): Likewise.
15515 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15516 argument being NaN and avoid computations with second argument in
15518 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15519 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15520 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15522 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15524 * locale/iso-639.def: Add Chitwani Tharu (the).
15526 2013-11-14 Andreas Schwab <schwab@suse.de>
15528 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15529 word instead of empty string.
15531 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15534 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15536 (__fe_nomask_env): Likewise.
15538 2013-11-13 Steve Ellcey <sellcey@mips.com>
15540 * benchtests/bench-timing.h: Include time.h.
15542 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15545 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15547 * sysdeps/unix/sysv/linux/configure: Regenerated.
15549 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15552 * stdlib/strtod_l.c (round_and_return): Do not consider
15553 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15554 exponent one less than half the least subnormal exponent.
15555 * stdlib/test-strtod-round-data: Add more tests.
15556 * stdlib/tst-strtod-round.c (tests): Regenerated.
15558 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15562 (__fe_mask_env): Likewise.
15563 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15564 libm_hidden_proto and add function prototype.
15565 (__fe_mask_env): Add function prototype.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15567 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15569 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15571 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15573 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15575 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15576 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15578 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15580 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15581 of htab_find_slot().
15583 2013-11-11 David S. Miller <davem@davemloft.net>
15586 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15587 symbol in the non-vis3 case in static builds.
15588 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15589 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15590 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15591 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15593 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15596 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15599 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601 * benchtests/Makefile: Add bench-strtod.
15602 * benchtests/bench-strtod.c: New file: strtod benchtest
15604 2013-11-11 Andreas Schwab <schwab@suse.de>
15607 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15608 terminating NUL in key length.
15610 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15613 Add artificial ODP entry for vDSO symbol for PPC64.
15614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15615 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15617 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15620 * nss/getent.c (services_keys): Recognize services starting with digit.
15622 2013-11-06 David S. Miller <davem@davemloft.net>
15625 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15626 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15628 2013-11-06 Will Newton <will.newton@linaro.org>
15630 * manual/memory.texi (Malloc Examples): Remove register
15631 keyword from examples.
15633 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15635 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15637 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15640 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15641 depending on [__GCC_IEC_559 > 0].
15642 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15643 depending on [__GCC_IEC_559_COMPLEX > 0].
15645 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15647 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15650 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15652 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15654 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15657 * malloc/malloc (malloc_info): Do not handle first bin as
15660 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15662 * locale/iso-639.def: Add Central Nahuatl (nhn).
15664 2013-11-01 Bruno Haible <bruno@clisp.org>
15667 * manual/math.texi (BSD Random): Specify range upper bound as
15670 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15672 * locale/iso-639.def: Add Meadow Mari (mhr).
15674 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15676 [BZ #14752], [BZ #15763]
15677 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15679 * rt/tst_shm.c: Add test for escaping directory.
15681 2013-10-31 Andreas Schwab <schwab@suse.de>
15684 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15685 followed by 'x' as part of digit sequence.
15686 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15688 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15691 * configure.ac: allow GNU Make 4.0 and greater.
15692 * configure: Regenerated.
15694 2013-10-30 Will Newton <will.newton@linaro.org>
15697 * malloc/hooks.c (memalign_check): Limit alignment to the
15698 maximum representable power of two.
15699 * malloc/malloc.c (__libc_memalign): Likewise.
15700 * malloc/tst-memalign.c (do_test): Add test for very
15701 large alignment values.
15702 * malloc/tst-posix_memalign.c (do_test): Likewise.
15704 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15707 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15708 (munmap_chunk): Likewise.
15709 (mremap_chunk): Likewise.
15711 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15714 * stdlib/div.c (div): Remove obsolete code.
15715 * stdlib/ldiv.c (ldiv): Likewise.
15716 * stdlib/lldiv.c (lldiv): Likewise.
15718 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15721 * nss/nss_files/files-XXX.c (get_contents_ret): New
15723 (get_contents): New function.
15724 (internal_getent): Use it. Expand size of LINEBUFLEN.
15726 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15728 * configure.in: Moved to ...
15729 * configure.ac: ... here. Change reference to configure.in
15731 * sysdeps/arm/preconfigure.ac: ... here.
15732 configure.in to configure.ac.
15733 * sysdeps/gnu/configure.in: Moved to ...
15734 * sysdeps/gnu/configure.ac: ... here.
15735 * sysdeps/i386/configure.in: Moved to ...
15736 * sysdeps/i386/configure.ac: ... here.
15737 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15738 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15739 * sysdeps/mach/configure.in: Moved to ...
15740 * sysdeps/mach/configure.ac: ... here.
15741 * sysdeps/mach/hurd/configure.in: Moved to ...
15742 * sysdeps/mach/hurd/configure.ac: ... here.
15743 * sysdeps/powerpc/configure.in: Moved to ...
15744 * sysdeps/powerpc/configure.ac: ... here.
15745 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15746 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15747 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15748 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15749 * sysdeps/s390/s390-32/configure.in: Moved to ...
15750 * sysdeps/s390/s390-32/configure.ac: ... here.
15751 * sysdeps/s390/s390-64/configure.in: Moved to ...
15752 * sysdeps/s390/s390-64/configure.ac: ... here.
15753 * sysdeps/sh/configure.in: Moved to ...
15754 * sysdeps/sh/configure.ac: ... here.
15755 * sysdeps/sparc/configure.in: Moved to ...
15756 * sysdeps/sparc/configure.ac: ... here.
15757 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15758 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15759 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15760 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15761 * sysdeps/x86_64/configure.in: Moved to ...
15762 * sysdeps/x86_64/configure.ac: ... here.
15763 * sysdeps/x86_64/preconfigure.in: Moved to ...
15764 * sysdeps/x86_64/preconfigure.ac: ... here.
15765 * aclocal.m4: Change reference to configure.in to configure.ac.
15766 * config.h.in: Likewise.
15767 * manual/install.texi: Likewise.
15768 * manual/maint.texi: Likewise.
15769 * Makefile: Likewise.
15770 * malloc/Makefile: Likewise.
15771 * nscd/Makefile: Likewise.
15772 * Makeconfig: Change reference to configure.in and
15773 preconfigure.in to configure.ac and preconfigure.ac
15775 * INSTALL: Regenerated.
15776 * configure: Likewise.
15777 * sysdeps/gnu/configure: Likewise.
15778 * sysdeps/i386/configure: Likewise.
15779 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15780 * sysdeps/mach/configure: Likewise.
15781 * sysdeps/mach/hurd/configure: Likewise.
15782 * sysdeps/powerpc/configure: Likewise.
15783 * sysdeps/powerpc/powerpc32/configure: Likewise.
15784 * sysdeps/powerpc/powerpc64/configure: Likewise.
15785 * sysdeps/s390/s390-32/configure: Likewise.
15786 * sysdeps/s390/s390-64/configure: Likewise.
15787 * sysdeps/sh/configure: Likewise.
15788 * sysdeps/sparc/configure: Likewise.
15789 * sysdeps/unix/sysv/linux/configure: Likewise.
15790 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15791 * sysdeps/x86_64/configure: Likewise.
15792 * sysdeps/x86_64/preconfigure: Likewise.
15794 2013-10-29 Andreas Schwab <schwab@suse.de>
15796 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15798 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15800 * benchtests/pow-inputs: Add new inputs.
15802 * benchtests/exp-inputs: Add new inputs.
15804 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15805 conditional check for return value.
15806 (__cos32): Likewise.
15808 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15810 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15811 to provide a boost for large inputs with word alignment.
15812 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15813 implementation based on optimized PPC64 strcpy.
15814 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15815 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15816 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15817 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15819 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15822 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15824 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15827 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15828 * time/tst-strptime.c (day_tests): Add testcase.
15830 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15833 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15835 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15838 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15839 MAP_FAILED on error.
15841 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15844 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15845 heap for large requests.
15847 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15850 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15851 result if the result has no associated interface.
15852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15853 interface for all 127.X.Y.Z addresses.
15855 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15857 * locale/iso-639.def: Add Ligurian (lij)
15859 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15862 * sunrpc/rpc_main.c: Document rpcgen -5.
15864 2013-10-19 Michael Stahl <mstahl@redhat.com>
15866 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15868 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15871 * posix/glob.c: Match only directories when trailing slash is present.
15872 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15873 (main): Add testcase.
15875 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15878 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15880 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15882 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15883 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15884 AUTH_DES and cindex for FIPS 140-2.
15885 (DES Encryption): Add cindex FIPS 46-3.
15887 * locale/locarchive.h (struct locarhandle): Add fname.
15888 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15889 if an optional argument was specified to --list-archive,
15891 * locale/programs/locarchive.c (show_archive_content): Take new
15892 argument fname and pass it via ah.fname to open_archive.
15893 * locale/programs/localedef.h: Update decl.
15894 (open_archive): If AH->fname is non-null, open that file
15895 rather than the default file name, and don't ignore ENOENT.
15896 (create_archive): Set AH.fname to NULL.
15897 (delete_locales_from_archive): Likewise.
15898 (add_locales_to_archive): Likewise.
15899 * locale/programs/locfile.c (write_all_categories): Likewise.
15901 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15902 Aldy Hernandez <aldyh@redhat.com>
15904 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15905 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15906 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15907 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15908 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15909 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15910 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15911 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15912 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15914 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15915 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15916 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15917 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15920 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15922 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15924 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15926 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15927 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15929 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15930 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15931 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15932 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15934 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15935 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15936 * sysdeps/powerpc/preconfigure: Likewise.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15939 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15940 Replace contents of file by #include of <fenv_libc.h>.
15941 * sysdeps/powerpc/soft-fp/sfp-machine.h
15942 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15944 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15957 Allow copysignl PLT reference to be missing.
15959 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15960 Joseph Myers <joseph@codesourcery.com
15963 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15965 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15967 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15969 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15970 * elf/tst-tls1.c: Likewise.
15971 * elf/tst-tls10.h: Likewise.
15972 * elf/tst-tls14.c: Likewise.
15973 * elf/tst-tls2.c: Likewise.
15974 * elf/tst-tls3.c: Likewise.
15975 * elf/tst-tls4.c: Likewise.
15976 * elf/tst-tls5.c: Likewise.
15977 * elf/tst-tls6.c: Likewise.
15978 * elf/tst-tls7.c: Likewise.
15979 * elf/tst-tls8.c: Likewise.
15980 * elf/tst-tls9.c: Likewise.
15981 * elf/tst-tlsmod1.c: Likewise.
15982 * elf/tst-tlsmod13.c: Likewise.
15983 * elf/tst-tlsmod13a.c: Likewise.
15984 * elf/tst-tlsmod14a.c: Likewise.
15985 * elf/tst-tlsmod16a.c: Likewise.
15986 * elf/tst-tlsmod16b.c: Likewise.
15987 * elf/tst-tlsmod2.c: Likewise.
15988 * elf/tst-tlsmod3.c: Likewise.
15989 * elf/tst-tlsmod4.c: Likewise.
15990 * elf/tst-tlsmod5.c: Likewise.
15991 * elf/tst-tlsmod6.c: Likewise.
15993 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15996 * malloc/malloc.c: remove checks for statistics.
15998 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16001 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16002 * inet/tst-network.c: Add testcase.
16004 2013-10-17 Andreas Schwab <schwab@suse.de>
16007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16008 to determine canonical name.
16010 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16012 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16013 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16019 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16029 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16030 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16031 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16032 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16035 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16036 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16037 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16038 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16039 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16040 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16041 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16042 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16044 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16060 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16066 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16071 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16074 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16075 make result into a quiet NaN.
16077 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16079 * soft-fp/adddf3.c: Fix horizontal whitespace.
16080 * soft-fp/addsf3.c: Likewise.
16081 * soft-fp/addtf3.c: Likewise.
16082 * soft-fp/divdf3.c: Likewise.
16083 * soft-fp/divsf3.c: Likewise.
16084 * soft-fp/divtf3.c: Likewise.
16085 * soft-fp/double.h: Likewise.
16086 * soft-fp/eqdf2.c: Likewise.
16087 * soft-fp/eqsf2.c: Likewise.
16088 * soft-fp/eqtf2.c: Likewise.
16089 * soft-fp/extenddftf2.c: Likewise.
16090 * soft-fp/extended.h: Likewise.
16091 * soft-fp/extendsfdf2.c: Likewise.
16092 * soft-fp/extendsftf2.c: Likewise.
16093 * soft-fp/extendxftf2.c: Likewise.
16094 * soft-fp/fixdfdi.c: Likewise.
16095 * soft-fp/fixdfsi.c: Likewise.
16096 * soft-fp/fixdfti.c: Likewise.
16097 * soft-fp/fixsfdi.c: Likewise.
16098 * soft-fp/fixsfsi.c: Likewise.
16099 * soft-fp/fixsfti.c: Likewise.
16100 * soft-fp/fixtfdi.c: Likewise.
16101 * soft-fp/fixtfsi.c: Likewise.
16102 * soft-fp/fixtfti.c: Likewise.
16103 * soft-fp/fixunsdfdi.c: Likewise.
16104 * soft-fp/fixunsdfsi.c: Likewise.
16105 * soft-fp/fixunsdfti.c: Likewise.
16106 * soft-fp/fixunssfdi.c: Likewise.
16107 * soft-fp/fixunssfsi.c: Likewise.
16108 * soft-fp/fixunssfti.c: Likewise.
16109 * soft-fp/fixunstfdi.c: Likewise.
16110 * soft-fp/fixunstfsi.c: Likewise.
16111 * soft-fp/fixunstfti.c: Likewise.
16112 * soft-fp/floatdidf.c: Likewise.
16113 * soft-fp/floatdisf.c: Likewise.
16114 * soft-fp/floatditf.c: Likewise.
16115 * soft-fp/floatsidf.c: Likewise.
16116 * soft-fp/floatsisf.c: Likewise.
16117 * soft-fp/floatsitf.c: Likewise.
16118 * soft-fp/floattidf.c: Likewise.
16119 * soft-fp/floattisf.c: Likewise.
16120 * soft-fp/floattitf.c: Likewise.
16121 * soft-fp/floatundidf.c: Likewise.
16122 * soft-fp/floatundisf.c: Likewise.
16123 * soft-fp/floatunditf.c: Likewise.
16124 * soft-fp/floatunsidf.c: Likewise.
16125 * soft-fp/floatunsisf.c: Likewise.
16126 * soft-fp/floatunsitf.c: Likewise.
16127 * soft-fp/floatuntidf.c: Likewise.
16128 * soft-fp/floatuntisf.c: Likewise.
16129 * soft-fp/floatuntitf.c: Likewise.
16130 * soft-fp/fmadf4.c: Likewise.
16131 * soft-fp/fmasf4.c: Likewise.
16132 * soft-fp/fmatf4.c: Likewise.
16133 * soft-fp/gedf2.c: Likewise.
16134 * soft-fp/gesf2.c: Likewise.
16135 * soft-fp/getf2.c: Likewise.
16136 * soft-fp/ledf2.c: Likewise.
16137 * soft-fp/lesf2.c: Likewise.
16138 * soft-fp/letf2.c: Likewise.
16139 * soft-fp/muldf3.c: Likewise.
16140 * soft-fp/mulsf3.c: Likewise.
16141 * soft-fp/multf3.c: Likewise.
16142 * soft-fp/negdf2.c: Likewise.
16143 * soft-fp/negsf2.c: Likewise.
16144 * soft-fp/negtf2.c: Likewise.
16145 * soft-fp/op-1.h: Likewise.
16146 * soft-fp/op-2.h: Likewise.
16147 * soft-fp/op-4.h: Likewise.
16148 * soft-fp/op-8.h: Likewise.
16149 * soft-fp/op-common.h: Likewise.
16150 * soft-fp/quad.h: Likewise.
16151 * soft-fp/single.h: Likewise.
16152 * soft-fp/soft-fp.h: Likewise.
16153 * soft-fp/sqrtdf2.c: Likewise.
16154 * soft-fp/sqrtsf2.c: Likewise.
16155 * soft-fp/sqrttf2.c: Likewise.
16156 * soft-fp/subdf3.c: Likewise.
16157 * soft-fp/subsf3.c: Likewise.
16158 * soft-fp/subtf3.c: Likewise.
16159 * soft-fp/truncdfsf2.c: Likewise.
16160 * soft-fp/trunctfdf2.c: Likewise.
16161 * soft-fp/trunctfsf2.c: Likewise.
16162 * soft-fp/trunctfxf2.c: Likewise.
16163 * soft-fp/unorddf2.c: Likewise.
16164 * soft-fp/unordsf2.c: Likewise.
16165 * soft-fp/unordtf2.c: Likewise.
16167 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16169 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16170 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16172 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16174 * elf/dl-libc.c: Clear initfini list after freeing.
16176 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16178 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16179 * soft-fp/addsf3.c: Likewise.
16180 * soft-fp/addtf3.c: Likewise.
16181 * soft-fp/divdf3.c: Likewise.
16182 * soft-fp/divsf3.c: Likewise.
16183 * soft-fp/divtf3.c: Likewise.
16184 * soft-fp/double.h: Likewise.
16185 * soft-fp/eqdf2.c: Likewise.
16186 * soft-fp/eqsf2.c: Likewise.
16187 * soft-fp/eqtf2.c: Likewise.
16188 * soft-fp/extenddftf2.c: Likewise.
16189 * soft-fp/extended.h: Likewise.
16190 * soft-fp/extendsfdf2.c: Likewise.
16191 * soft-fp/extendsftf2.c: Likewise.
16192 * soft-fp/extendxftf2.c: Likewise.
16193 * soft-fp/fixdfdi.c: Likewise.
16194 * soft-fp/fixdfsi.c: Likewise.
16195 * soft-fp/fixdfti.c: Likewise.
16196 * soft-fp/fixsfdi.c: Likewise.
16197 * soft-fp/fixsfsi.c: Likewise.
16198 * soft-fp/fixsfti.c: Likewise.
16199 * soft-fp/fixtfdi.c: Likewise.
16200 * soft-fp/fixtfsi.c: Likewise.
16201 * soft-fp/fixtfti.c: Likewise.
16202 * soft-fp/fixunsdfdi.c: Likewise.
16203 * soft-fp/fixunsdfsi.c: Likewise.
16204 * soft-fp/fixunsdfti.c: Likewise.
16205 * soft-fp/fixunssfdi.c: Likewise.
16206 * soft-fp/fixunssfsi.c: Likewise.
16207 * soft-fp/fixunssfti.c: Likewise.
16208 * soft-fp/fixunstfdi.c: Likewise.
16209 * soft-fp/fixunstfsi.c: Likewise.
16210 * soft-fp/fixunstfti.c: Likewise.
16211 * soft-fp/floatdidf.c: Likewise.
16212 * soft-fp/floatdisf.c: Likewise.
16213 * soft-fp/floatditf.c: Likewise.
16214 * soft-fp/floatsidf.c: Likewise.
16215 * soft-fp/floatsisf.c: Likewise.
16216 * soft-fp/floatsitf.c: Likewise.
16217 * soft-fp/floattidf.c: Likewise.
16218 * soft-fp/floattisf.c: Likewise.
16219 * soft-fp/floattitf.c: Likewise.
16220 * soft-fp/floatundidf.c: Likewise.
16221 * soft-fp/floatundisf.c: Likewise.
16222 * soft-fp/floatunsidf.c: Likewise.
16223 * soft-fp/floatunsisf.c: Likewise.
16224 * soft-fp/floatuntidf.c: Likewise.
16225 * soft-fp/floatuntisf.c: Likewise.
16226 * soft-fp/floatuntitf.c: Likewise.
16227 * soft-fp/fmadf4.c: Likewise.
16228 * soft-fp/fmasf4.c: Likewise.
16229 * soft-fp/fmatf4.c: Likewise.
16230 * soft-fp/gedf2.c: Likewise.
16231 * soft-fp/gesf2.c: Likewise.
16232 * soft-fp/getf2.c: Likewise.
16233 * soft-fp/ledf2.c: Likewise.
16234 * soft-fp/lesf2.c: Likewise.
16235 * soft-fp/letf2.c: Likewise.
16236 * soft-fp/muldf3.c: Likewise.
16237 * soft-fp/mulsf3.c: Likewise.
16238 * soft-fp/multf3.c: Likewise.
16239 * soft-fp/negdf2.c: Likewise.
16240 * soft-fp/negsf2.c: Likewise.
16241 * soft-fp/negtf2.c: Likewise.
16242 * soft-fp/op-1.h: Likewise.
16243 * soft-fp/op-2.h: Likewise.
16244 * soft-fp/op-4.h: Likewise.
16245 * soft-fp/op-8.h: Likewise.
16246 * soft-fp/op-common.h: Likewise.
16247 * soft-fp/quad.h: Likewise.
16248 * soft-fp/single.h: Likewise.
16249 * soft-fp/soft-fp.h: Likewise.
16250 * soft-fp/sqrtdf2.c: Likewise.
16251 * soft-fp/sqrtsf2.c: Likewise.
16252 * soft-fp/sqrttf2.c: Likewise.
16253 * soft-fp/subdf3.c: Likewise.
16254 * soft-fp/subsf3.c: Likewise.
16255 * soft-fp/subtf3.c: Likewise.
16256 * soft-fp/truncdfsf2.c: Likewise.
16257 * soft-fp/trunctfdf2.c: Likewise.
16258 * soft-fp/trunctfsf2.c: Likewise.
16259 * soft-fp/trunctfxf2.c: Likewise.
16260 * soft-fp/unorddf2.c: Likewise.
16261 * soft-fp/unordsf2.c: Likewise.
16262 * soft-fp/unordtf2.c: Likewise.
16264 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16267 * misc/error.c (error_tail): Fix possible buffer overflow.
16269 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16272 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16275 2013-10-14 P. J. McDermott <pj@pehjota.net>
16278 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16279 testing pipefail option.
16281 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16283 * soft-fp/double.h: Indent preprocessor directives inside #if.
16284 * soft-fp/extended.h: Likewise.
16285 * soft-fp/op-2.h: Likewise.
16286 * soft-fp/op-4.h: Likewise.
16287 * soft-fp/op-common.h: Likewise.
16288 * soft-fp/quad.h: Likewise.
16289 * soft-fp/single.h: Likewise.
16290 * soft-fp/soft-fp.h: Likewise.
16292 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16294 * iconv/iconv_prog.c: Fix typos.
16295 * stdio-common/psiginfo-data.h: Likewise.
16297 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16300 * locale/setlocale.c: Fix typo.
16302 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16305 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16306 signaling NaN arguments.
16307 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16308 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16311 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16312 unordered operands.
16313 * soft-fp/gesf2.c (__gesf2): Likewise.
16314 * soft-fp/getf2.c (__getf2): Likewise.
16315 * soft-fp/ledf2.c (__ledf2): Likewise.
16316 * soft-fp/lesf2.c (__lesf2): Likewise.
16317 * soft-fp/letf2.c (__letf2): Likewise.
16319 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16320 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16321 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16322 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16323 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16324 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16325 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16326 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16327 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16328 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16329 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16330 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16331 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16332 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16333 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16334 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16335 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16336 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16337 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16338 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16339 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16340 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16341 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16342 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16343 * soft-fp/floattidf.c (__floattidf): Likewise.
16344 * soft-fp/floattisf.c (__floattisf): Likewise.
16345 * soft-fp/floattitf.c (__floattitf): Likewise.
16346 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16347 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16348 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16349 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16350 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16351 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16352 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16353 * soft-fp/gesf2.c (__gesf2): Likewise.
16354 * soft-fp/getf2.c (__getf2): Likewise.
16355 * soft-fp/ledf2.c (__ledf2): Likewise.
16356 * soft-fp/lesf2.c (__lesf2): Likewise.
16357 * soft-fp/letf2.c (__letf2): Likewise.
16359 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16360 Undefine and redefine.
16361 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16362 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16363 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16364 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16365 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16366 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16367 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16368 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16369 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16370 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16371 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16372 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16373 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16374 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16375 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16378 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16379 without decrementing exponent if mantissa >= that for the
16380 denominator, not >.
16381 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16382 denominator, not >. Decrement exponent in < case instead of
16383 incrementing in >= case.
16384 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16385 without decrementing exponent if mantissa >= that for the
16386 denominator, not >.
16388 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16389 computing saturated result for unsigned overflow.
16391 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 Jeff Law <law@redhat.com>
16394 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16395 (atan2Mp): Add systemtap probe marker.
16396 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16397 (__ieee754_log): Add systemtap probe marker.
16398 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16399 (atanMp): Add systemtap probe marker.
16400 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16401 (tanMp): Add systemtap probe marker.
16402 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16403 (__slowexp): Add systemtap probe marker.
16404 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16405 (__slowpow): Add systemtap probe marker.
16406 * manual/probes.texi: Document probes.
16408 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16411 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16413 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16415 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16416 written to buffer but not flushed.
16417 * libio/iofwrite_u.c: Likewise.
16418 * libio/iopadn.c: Return bytes returned even if EOF was
16420 * libio/iowpadn.c: Likewise.
16421 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16422 if _IO_padn does not write the whole buffer.
16423 [!COMPILE_WPRINTF] (PAD): Likewise.
16425 2013-10-10 David S. Miller <davem@davemloft.net>
16427 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16430 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16432 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16433 instead of FSF address.
16434 * soft-fp/fixdfti.c: Likewise.
16435 * soft-fp/fixsfti.c: Likewise.
16436 * soft-fp/fixtfti.c: Likewise.
16437 * soft-fp/fixunsdfti.c: Likewise.
16438 * soft-fp/fixunssfti.c: Likewise.
16439 * soft-fp/fixunstfti.c: Likewise.
16440 * soft-fp/floattidf.c: Likewise.
16441 * soft-fp/floattisf.c: Likewise.
16442 * soft-fp/floattitf.c: Likewise.
16443 * soft-fp/floatuntidf.c: Likewise.
16444 * soft-fp/floatuntisf.c: Likewise.
16445 * soft-fp/floatuntitf.c: Likewise.
16446 * soft-fp/trunctfxf2.c: Likewise.
16448 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16449 * soft-fp/fixdfti.c: Likewise.
16450 * soft-fp/fixsfti.c: Likewise.
16451 * soft-fp/fixtfti.c: Likewise.
16452 * soft-fp/fixunsdfti.c: Likewise.
16453 * soft-fp/fixunssfti.c: Likewise.
16454 * soft-fp/fixunstfti.c: Likewise.
16455 * soft-fp/floattidf.c: Likewise.
16456 * soft-fp/floattisf.c: Likewise.
16457 * soft-fp/floattitf.c: Likewise.
16458 * soft-fp/floatuntidf.c: Likewise.
16459 * soft-fp/floatuntisf.c: Likewise.
16460 * soft-fp/floatuntitf.c: Likewise.
16461 * soft-fp/trunctfxf2.c: Likewise.
16463 2013-10-10 David S. Miller <davem@davemloft.net>
16465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16467 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16469 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16470 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16471 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16472 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16473 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16474 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16475 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16478 for NaNs before doing comparisons on argument.
16479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16482 2013-10-10 Will Newton <will.newton@linaro.org>
16484 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16485 passed to _int_memalign does not overflow.
16487 2013-10-10 Torvald Riegel <triegel@redhat.com>
16489 * scripts/bench.pl: Add include-sources directive.
16490 * benchtests/README: Update documentation.
16492 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16494 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16495 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16496 instead of FP_INIT_ROUNDMODE.
16497 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16498 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16501 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16502 copy class of input value.
16503 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16504 not handle exceptions.
16505 * soft-fp/negsf2.c (__negsf2): Likewise.
16506 * soft-fp/negtf2.c (__negtf2): Likewise.
16507 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16509 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16511 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16512 semicolon. From Linux kernel.
16514 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16516 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16518 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16521 * manual/socket.texi: Added statement about buffer
16522 for gethostbyname2_r.
16524 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16526 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16527 Use .p2align directive instead, throughout.
16528 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16529 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16530 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16533 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16534 * sysdeps/x86_64/strchr.S: Likewise.
16535 * sysdeps/x86_64/strrchr.S: Likewise.
16537 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16541 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16543 * sysdeps/generic/math_private.h (__mpsin1): Remove
16545 (__mpcos1): Likewise.
16546 (__mpsin): New argument __range_reduce.
16547 (__mpcos): Likewise.
16548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16549 (slow): Use __mpsin and __mpcos.
16553 (sloww1): Likewise.
16554 (sloww2): Likewise.
16555 (bsloww): Likewise.
16556 (bsloww1): Likewise.
16557 (bsloww2): Likewise.
16558 (cslow2): Likewise.
16559 (csloww): Likewise.
16560 (csloww1): Likewise.
16561 (csloww2): Likewise.
16562 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16563 range_reduce. Merge in __mpsin1.
16564 (__mpcos): Likewise.
16565 (__mpsin1): Remove.
16566 (__mpcos1): Likewise.
16568 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16570 * locale/loadlocale.c (_nl_intern_locale_data): Use
16572 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16573 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16574 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16575 obstack data is appropriately aligned.
16576 (obstack_int32_grow_fast): Likewise.
16577 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16578 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16579 (add_locale_uint32_array): Likewise.
16581 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16583 * benchtests/Makefile: Remove ARGLIST and RET variables.
16584 ($(objpfx)bench-%.c): Pass only function name to the script.
16585 * benchtests/README: Update documentation.
16586 * benchtests/acos-inputs: Add new directives.
16587 * benchtests/acosh-inputs: Likewise.
16588 * benchtests/asin-inputs: Likewise.
16589 * benchtests/asinh-inputs: Likewise.
16590 * benchtests/atan-inputs: Likewise.
16591 * benchtests/atanh-inputs: Likewise.
16592 * benchtests/cos-inputs: Likewise.
16593 * benchtests/cosh-inputs: Likewise.
16594 * benchtests/exp-inputs: Likewise.
16595 * benchtests/log-inputs: Likewise.
16596 * benchtests/pow-inputs: Likewise.
16597 * benchtests/rint-inputs: Likewise.
16598 * benchtests/sin-inputs: Likewise.
16599 * benchtests/sinh-inputs: Likewise.
16600 * benchtests/tan-inputs: Likewise.
16601 * benchtests/tanh-inputs: Likewise.
16602 * scripts/bench.pl: Add support for new directives.
16604 2013-10-07 Alan Modra <amodra@gmail.com>
16606 * README: Fix careless merge.
16608 2013-10-05 Alan Modra <amodra@gmail.com>
16610 * NEWS: Mention powerpc64le support and bugs fixed.
16611 * README: Both big-endian and little-endian powerpc64 supported.
16613 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16615 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16616 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16617 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16618 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16620 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16622 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16625 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16627 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16628 Move -mhard-float appending from
16629 ports/sysdeps/powerpc/powerpc32/Makefile.
16630 [$(with-fp) = yes] (ASFLAGS): Likewise.
16631 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16632 * sysdeps/powerpc/nofpu: Move directory from
16633 ports/sysdeps/powerpc/nofpu.
16634 * sysdeps/powerpc/soft-fp: Move directory from
16635 ports/sysdeps/powerpc/soft-fp.
16636 * sysdeps/powerpc/powerpc32/405: Move directory from
16637 ports/sysdeps/powerpc/powerpc32/405.
16638 * sysdeps/powerpc/powerpc32/440: Move directory from
16639 ports/sysdeps/powerpc/powerpc32/440.
16640 * sysdeps/powerpc/powerpc32/464: Move directory from
16641 ports/sysdeps/powerpc/powerpc32/464.
16642 * sysdeps/powerpc/powerpc32/476: Move directory from
16643 ports/sysdeps/powerpc/powerpc32/476.
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16649 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16651 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16654 * README: Update for powerpc-*-linux-gnu software floating point
16657 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16658 case to powerpc/powerpc32*.
16659 * sysdeps/unix/sysv/linux/configure: Regenerated.
16661 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16662 (_FPU_MASK_OM): Define as 0x04.
16663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16674 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16677 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16678 and setcontext_e500.
16680 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16682 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16684 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16686 * manual/threads.texi (Default Thread Attributes): Fix typo.
16688 2013-10-04 Will Newton <will.newton@linaro.org>
16690 * malloc/Makefile: Add tst-memalign.
16691 * malloc/tst-memalign.c: New file.
16693 * malloc/tst-posix_memalign.c: Add comments.
16694 (do_test): Add comments and call free on all potentially
16695 allocated pointers. Add space after cast.
16697 * malloc/tst-pvalloc.c: Add comments.
16698 (do_test): Add comments and call free on all potentially
16699 allocated pointers. Remove duplicate check for NULL pointer.
16700 Add space after cast.
16702 * malloc/tst-valloc.c: Add comments.
16703 (do_test): Add comments and call free on all potentially
16704 allocated pointers. Remove duplicate check for NULL pointer.
16705 Add space after cast.
16707 2013-10-04 Alan Modra <amodra@gmail.com>
16709 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16710 Use stdint types in rather than __attribute__((mode())).
16711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16713 2013-10-04 Alan Modra <amodra@gmail.com>
16715 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16716 Correct handling of unaligned relocs for little-endian.
16717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16719 2013-10-04 Alan Modra <amodra@gmail.com>
16721 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16722 * configure: Regenerate.
16723 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16724 * shlib-versions: Likewise.
16726 2013-10-04 Alan Modra <amodra@gmail.com>
16728 * string/tester.c (test_memrchr): Increment reported test cycle.
16730 2013-10-04 Alan Modra <amodra@gmail.com>
16732 * string/test-memcpy.c (do_one_test): When reporting errors, print
16733 string address and don't overrun end of string.
16735 2013-10-04 Alan Modra <amodra@gmail.com>
16737 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16738 insrdi. Make better use of reg selection to speed exit slightly.
16739 Schedule entry path a little better. Remove useless "are we done"
16740 checks on entry to main loop. Handle wrapping around zero address.
16741 Correct main loop count. Handle single left-over word from main
16742 loop inline rather than by using loop_small. Remove extra word
16743 case in loop_small caused by wrong loop count. Add little-endian
16745 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16746 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16748 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16750 support. Avoid rlwimi.
16751 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16753 2013-10-04 Alan Modra <amodra@gmail.com>
16755 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16756 insrdi. Formatting.
16757 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16758 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16759 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16760 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16761 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16764 2013-10-04 Alan Modra <amodra@gmail.com>
16766 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16768 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16769 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16770 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16771 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16772 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16773 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16774 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16775 use of regs. Use power7 mtocrf. Tidy function tails.
16777 2013-10-04 Alan Modra <amodra@gmail.com>
16779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16780 Formatting. Consistently use rXXX register defines or rN defines.
16781 Use early exit labels that avoid restoring unused non-volatile regs.
16782 Make cr field use more consistent with rWORDn compares. Rename
16783 regs used as shift registers for unaligned loop, using rN defines
16784 for short lifetime/multiple use regs.
16785 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16787 addi 1,1,64 to pop stack frame. Simplify return value code.
16788 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16790 2013-10-04 Alan Modra <amodra@gmail.com>
16792 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16793 support. Correct typos, formatting. Optimize tail. Use insrdi
16794 rather than rlwimi.
16795 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16796 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16797 little-endian support. Correct typos.
16798 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16799 rather than rlwimi.
16800 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16801 in loop and entry code to keep "and." results.
16802 (strchr): Add little-endian support. Comment. Move cntlzd
16804 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16806 2013-10-04 Alan Modra <amodra@gmail.com>
16808 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16809 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16810 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16813 2013-10-04 Alan Modra <amodra@gmail.com>
16815 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16816 (rTMP): Define as r11.
16817 (strcmp): Add little-endian support. Optimise tail.
16818 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16819 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16820 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16822 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16823 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16824 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16826 2013-10-04 Alan Modra <amodra@gmail.com>
16828 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16829 little-endian support. Remove unnecessary "are we done" tests.
16830 Handle "s" wrapping around zero and extremely large "size".
16831 Correct main loop count. Handle single left-over word from main
16832 loop inline rather than by using small_loop. Correct comments.
16833 Delete "zero" tail, use "end_max" instead.
16834 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16836 2013-10-04 Alan Modra <amodra@gmail.com>
16838 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16839 support. Don't branch over align.
16840 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16842 support. Rearrange tmp reg use to suit. Comment.
16843 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16845 2013-10-04 Alan Modra <amodra@gmail.com>
16847 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16849 2013-10-04 Alan Modra <amodra@gmail.com>
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16852 conditional form of branch and link when obtaining pc.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16855 2013-10-04 Alan Modra <amodra@gmail.com>
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16862 2013-10-04 Alan Modra <amodra@gmail.com>
16864 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16865 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16866 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16867 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16868 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16869 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16870 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16871 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16872 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16873 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16875 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16876 Alistair Popple <alistair@ozlabs.au.ibm.com>
16877 Alan Modra <amodra@gmail.com>
16880 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16881 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16882 _dl_hwcap access for little-endian.
16883 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16884 destroy vmx regs when saving unaligned.
16885 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16886 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16887 destroy vmx regs when saving unaligned.
16889 2013-10-04 Alan Modra <amodra@gmail.com>
16891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16892 Don't use a union to pack hi/low value.
16894 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16896 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16898 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16900 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16901 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16902 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16907 constants to usual value for .cst8 section, and remove redundant
16909 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16910 constant for 0x1p52. Load little-endian words of double from
16911 correct stack offsets.
16913 2013-10-04 Alan Modra <amodra@gmail.com>
16915 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16916 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16917 words of double from correct stack offsets.
16918 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16919 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16920 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16921 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16922 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16924 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16925 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16926 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16927 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16928 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16929 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16930 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16931 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16932 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16933 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16934 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16936 2013-10-04 Alan Modra <amodra@gmail.com>
16938 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16939 64-bit int/double union.
16940 (_FPU_SETCW): Likewise.
16941 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16942 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16944 2013-10-04 Alan Modra <amodra@gmail.com>
16946 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16947 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16949 2013-10-04 Alan Modra <amodra@gmail.com>
16951 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16952 use vector int constants.
16953 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16955 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16957 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16958 array with long long.
16959 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16960 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16961 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16962 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16963 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16964 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16965 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16966 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16967 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16968 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16969 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16970 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16971 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16973 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16975 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16976 (__signbit): Likewise. Correct for little-endian.
16977 (__signbitl): Call __signbit.
16978 (lrint): Correct for little-endian.
16979 (lrintf): Call lrint.
16981 2013-10-04 Alan Modra <amodra@gmail.com>
16983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16984 union 32-bit int array member with 64-bit int array.
16985 (t515, tm256): Double rather than long double.
16986 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16988 2013-10-04 Alan Modra <amodra@gmail.com>
16990 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16992 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16994 version of math_ldbl.h.
16996 2013-10-04 Alan Modra <amodra@gmail.com>
16998 [BZ #15734], [BZ #15735]
16999 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17000 all uses of ieee875 long double macros and unions. Simplify test
17001 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17002 ldbl_extract_mantissa value for ix,iy exponents. Properly
17003 normalize after ldbl_extract_mantissa, and don't add hidden bit
17004 already handled. Don't treat low word of ieee854 mantissa like
17005 low word of IBM long double and mask off bit when testing for
17007 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17008 all uses of ieee875 long double macros and unions. Simplify tests
17009 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17010 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17011 two1022, instead use their values. Recognise that tests for large
17012 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17013 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17014 Rewrite all uses of ieee875 long double macros and unions. Simplify
17015 test for 0.0L and nan. Correct negation.
17016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17017 ieee875 long double macros and unions. Correct output for large
17018 magnitude x. Correct absolute value calculation.
17019 (__erfcl): Likewise.
17020 * math/libm-test.inc: Add tests for errors discovered in IBM long
17021 double versions of fmodl, remainderl, erfl and erfcl.
17023 2013-10-04 Alan Modra <amodra@gmail.com>
17025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17026 all uses of ieee854 long double macros and unions. Simplify tests
17027 for long doubles that are fully specified by the high double.
17028 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17030 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17031 Remove dead code too.
17032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17033 (__ieee754_ynl): Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17037 Remove dead code too.
17038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17048 Comment on variable precision.
17049 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17052 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17056 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17058 2013-10-04 Alan Modra <amodra@gmail.com>
17060 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17062 all uses of ieee854 long double macros and unions.
17063 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17076 Simplify sign and nan test too.
17077 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17092 2013-10-04 Alan Modra <amodra@gmail.com>
17094 * stdio-common/printf_size.c (__printf_size): Don't use
17095 union ieee854_long_double in fpnum union.
17096 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17097 signbit macro to retrieve sign from long double.
17098 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17099 retrieve sign from long double.
17100 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17101 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17103 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17104 * math/test-misc.c (main): Don't use union ieee854_long_double.
17106 2013-10-04 Alan Modra <amodra@gmail.com>
17109 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17111 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17112 calculation. Remove unnecessary test for denormal exponent.
17113 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17114 Correct handling of denormals. Avoid undefined shift behaviour.
17115 Correct normalisation of low mantissa when low double is denormal.
17116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17117 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17118 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17119 Correct normalisation of low mantissa. Test for overflow of high
17120 mantissa and normalise.
17121 (ldbl_nearbyint): Use more readable constant for two52.
17122 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17123 (__mpn_construct_long_double): Fix test for overflow of high
17124 mantissa and correct normalisation. Avoid undefined shift.
17126 2013-10-04 Alan Modra <amodra@gmail.com>
17128 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17129 (union ibm_extended_long_double): Define as an array of ieee754_double.
17130 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17131 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17132 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17133 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17140 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17142 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17144 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17145 page size instead of calling getpagesize.
17147 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17148 (LOCFILE_ALIGN_MASK): Likewise.
17149 (LOCFILE_ALIGN_UP): Likewise.
17150 (LOCFILE_ALIGNED_P): Likewise.
17151 * locale/programs/ld-collate.c (collate_output): Use the new
17152 macros instead of __alignof__ (int32_t).
17153 * locale/weight.h (findidx): Likewise.
17155 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17158 * manual/string.texi: Fix strncat and wcsncat.
17160 2013-10-03 Brooks Moses <bmoses@google.com>
17163 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17164 * Makerules: ...here, and adjust associated comments.
17166 2013-10-02 Will Newton <will.newton@linaro.org>
17168 * malloc/Makefile: Add tst-pvalloc.
17169 * malloc/tst-pvalloc.c: New file.
17171 2013-10-02 Will Newton <will.newton@linaro.org>
17173 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17174 improve test coverage.
17176 2013-10-02 Will Newton <will.newton@linaro.org>
17178 * malloc/Makefile: Add tst-posix_memalign.
17179 * malloc/tst-posix_memalign.c: New file.
17181 2013-10-01 Eric Blake <eblake@redhat.com>
17183 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17184 Use __THROWNL rather than __THROW on static functions.
17186 2013-09-30 Petr Machata <pmachata@redhat.com>
17188 * elf/elf.h (R_AARCH64_ABS16): New macro.
17189 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17190 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17191 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17192 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17193 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17194 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17195 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17196 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17197 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17198 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17199 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17200 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17201 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17202 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17203 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17204 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17205 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17206 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17207 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17208 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17209 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17210 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17211 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17212 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17213 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17214 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17215 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17216 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17217 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17218 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17219 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17220 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17221 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17222 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17223 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17224 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17225 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17226 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17227 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17228 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17229 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17230 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17231 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17232 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17233 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17234 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17235 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17236 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17237 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17238 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17239 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17240 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17241 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17242 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17243 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17244 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17245 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17246 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17247 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17248 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17249 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17250 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17251 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17252 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17253 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17254 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17255 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17256 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17257 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17258 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17259 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17260 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17261 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17262 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17263 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17264 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17265 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17266 (R_AARCH64_TLSDESC_LDR): Likewise.
17267 (R_AARCH64_TLSDESC_ADD): Likewise.
17268 (R_AARCH64_TLSDESC_CALL): Likewise.
17270 2013-09-30 Andreas Schwab <schwab@suse.de>
17273 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17274 the nss database lookup.
17275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17278 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17280 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17282 2013-09-28 P. J. McDermott <pj@pehjota.net>
17284 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17285 ${Bash-specific parameter/pattern/string} parameter expansion.
17286 * sysdeps/unix/make-syscalls.sh: Likewise.
17288 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17290 * sysdeps/sh/stackguard-macros.h: New file.
17292 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17296 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17297 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17298 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17299 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17301 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17303 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17304 Fix thread ID register.
17306 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17308 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17309 [POSIX || UNIX98]: Require rather than permitting all symbols from
17311 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17312 element of struct sched_param.
17313 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17314 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17315 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17316 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17319 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17321 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17322 argument calculation.
17324 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17326 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17328 [POSIX] (pthread_attr_t): Do not require type.
17329 [POSIX] (pthread_cond_t): Likewise.
17330 [POSIX] (pthread_condattr_t): Likewise.
17331 [POSIX] (pthread_key_t): Likewise.
17332 [POSIX] (pthread_mutex_t): Likewise.
17333 [POSIX] (pthread_mutexattr_t): Likewise.
17334 [POSIX] (pthread_once_t): Likewise.
17335 [POSIX] (pthread_t): Likewise.
17336 [POSIX-based standards] (pthread_atfork): Expect function.
17338 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17339 Richard Sandiford <richard@codesourcery.com>
17341 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17342 (swap_endianness_p): New extern variable.
17343 (set_big_endian): New inline function.
17344 (maybe_swap_uint32): Likewise.
17345 (maybe_swap_uint32_array): Likewise.
17346 (maybe_swap_uint32_obstack): Likewise.
17347 * locale/programs/locfile.c: Include <stdbool.h>.
17348 (swap_endianness_p): New variable.
17349 (add_locale_uint32): Call maybe_swap_uint32.
17350 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17351 (write_locale_data): Call maybe_swap_uint32_array.
17352 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17354 (obstack_int32_grow_fast): Likewise.
17355 (output_weightwc): Call maybe_swap_uint32_obstack.
17356 (collate_output): Likewise.
17357 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17358 (OPT_LITTLE_ENDIAN): Likewise.
17359 (options): Add --little-endian and --big-endian options.
17360 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17361 * locale/programs/locarchive.c: Include "locfile.h".
17365 (create_archive): Use the new macros to access fields of
17366 structures directly mapped from or written to locale archives.
17367 (oldlocrecentcmp): Likewise.
17368 (enlarge_archive): Likewise.
17369 (insert_name): Likewise.
17370 (add_alias): Likewise.
17371 (add_locale): Likewise.
17372 (delete_locales_from_archive): Likewise.
17373 (show_archive_content): Likewise.
17374 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17377 2013-09-24 Roland McGrath <roland@hack.frob.com>
17379 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17380 http://www.gnu.org/doc/freemanuals.texi.
17381 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17383 2013-09-24 Will Newton <will.newton@linaro.org>
17385 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17388 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17390 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17393 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17395 * manual/threads.texi (POSIX Threads): Fix a typo.
17397 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17400 * string/tst-strcoll-overflow.c: New test case.
17401 * string/Makefile (xtests): Add tst-strcoll-overflow.
17402 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17403 cache if string sizes may cause integer overflow.
17406 * string/strcoll_l.c (coll_seq): New members rule, idx,
17407 save_idx and back_us.
17408 (get_next_seq_nocache): New function.
17409 (do_compare_nocache): New function.
17410 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17413 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17416 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17417 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17418 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17421 * elf/Makefile (tests): Add tst-ptrguard1.
17422 (tests-static): Add tst-ptrguard1-static.
17423 (tst-ptrguard1-ARGS): Define.
17424 (tst-ptrguard1-static-ARGS): Define.
17425 * elf/tst-ptrguard1.c: New file.
17426 * elf/tst-ptrguard1-static.c: New file.
17427 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17428 * sysdeps/i386/stackguard-macros.h: Likewise.
17429 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17430 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17431 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17432 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17433 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17434 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17436 2013-09-23 Hector Marco <hecmargi@upv.es>
17437 Ismael Ripoll <iripoll@disca.upv.es>
17438 Carlos O'Donell <carlos@redhat.com>
17441 * sysdeps/generic/stackguard-macros.h: Define
17442 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17443 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17444 Define __pointer_chk_guard_local.
17445 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17446 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17448 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17451 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17453 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17455 * include/string.h (__ffs): Declare as hidden.
17456 * string/ffs.c (__ffs): Define as hidden.
17457 * sysdeps/i386/ffs.c (__ffs): Likewise.
17458 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17459 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17460 * sysdeps/s390/ffs.c (__ffs): Likewise.
17461 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17463 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17465 * NEWS: Mention malloc probes.
17467 * malloc/arena.c (new_heap): New memory_heap_new probe.
17468 (grow_heap): New memory_heap_more probe.
17469 (shrink_heap): New memory_heap_less probe.
17470 (heap_trim): New memory_heap_free probe.
17471 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17472 (systrim): New memory_sbrk_less probe.
17473 * manual/probes.texi: Document them.
17475 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17476 * manual/probes.texi: Document it.
17478 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17479 (__libc_realloc): Add memory_realloc_retry probe.
17480 (__libc_memalign): Add memory_memalign_retry probe.
17481 (__libc_valloc): Add memory_valloc_retry probe.
17482 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17483 (__libc_calloc): Add memory_calloc_retry probe.
17484 * manual/probes.texi: Document them.
17486 * malloc/arena.c (get_free_list): Add probe
17487 memory_arena_reuse_free_list.
17488 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17489 and memory_arena_reuse.
17490 (arena_get2) [!PER_THREAD]: Likewise.
17491 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17492 memory_arena_reuse_realloc.
17493 * manual/probes.texi: Document them.
17495 * malloc/malloc.c (__libc_free): Add
17496 memory_mallopt_free_dyn_thresholds probe.
17497 (__libc_mallopt): Add multiple memory_mallopt probes.
17498 * manual/probes.texi: Document them.
17500 * malloc/malloc.c: Include stap-probe.h.
17501 (__libc_mallopt): Add memory_mallopt probe.
17502 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17503 * manual/probes.texi: New.
17504 * manual/Makefile (chapters): Add probes.
17505 * manual/threads.texi: Set next node.
17507 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17509 [BZ #15963, #13985]
17510 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17511 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17512 Add `Chinese' to `nan' entry name.
17514 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17516 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17517 (POLYNOMIAL): Likewise.
17518 (TAYLOR_SINCOS): Likewise.
17519 (TAYLOR_SLOW): Likewise.
17520 (__sin): Use TAYLOR_SINCOS.
17522 (slow): Use TAYLOR_SLOW.
17524 (bsloww): Likewise.
17525 (csloww): Likewise.
17527 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17529 * stdlib/strtod_l.c: Fix buffer overrun.
17531 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17533 * benchtests/Makefile (bench): Add sincos.
17534 * benchtests/bench-sincos.c: New file.
17536 * math/libm-test.inc (cos_test_data): New test inputs.
17537 (sin_test_data): Likewise.
17539 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17545 (sloww1): Likewise.
17546 (sloww2): Likewise.
17547 (bsloww1): Likewise.
17548 (bsloww2): Likewise.
17549 (cslow2): Likewise.
17550 (csloww1): Likewise.
17551 (csloww2): Likewise.
17553 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17562 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17564 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17565 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17566 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17567 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17568 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17569 * elf/cache.c (print_entry): Handle the new cache flags.
17571 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17572 Aldy Hernandez <aldyh@redhat.com>
17574 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17575 Change condition to [_SOFT_FLOAT].
17576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17588 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17591 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17594 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17596 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17597 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17598 (__longjmp): Use LOAD_GP to load saved GPRs.
17599 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17600 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17601 (__sigsetjmp): Use SAVE_GP to save GPRs.
17603 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17604 Do not append -msoft-float.
17605 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17607 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17609 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17611 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17614 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17615 (_FPU_GETCW): Use initial "__" on variable and field names but not
17616 on macro parameter name.
17617 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17618 parentheses around reference to macro parameter.
17620 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17622 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17624 (ctype_startup): Use uint32_t in cast and sizeof for
17627 2013-09-11 Jia Liu <proljc@gmail.com>
17629 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17631 [__FreeBSD__]: Likewise.
17633 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17636 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17637 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17638 (strchr): Remove __strchr_sse42 ifunc selection.
17639 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17640 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17642 2013-09-11 Will Newton <will.newton@linaro.org>
17644 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17645 parameter to RES. Remove hardcoded 1000 value.
17646 * benchtests/bench-skeleton.c (main): Pass RES parameter
17647 to TIMING_INIT and multiply result by 1000.
17649 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17653 2013-09-11 Andreas Schwab <schwab@suse.de>
17655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17657 (O_TMPFILE) [__USE_GNU]: Define.
17658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17661 2013-09-11 Will Newton <will.newton@linaro.org>
17664 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17667 2013-09-11 Will Newton <will.newton@linaro.org>
17670 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17673 2013-09-11 Will Newton <will.newton@linaro.org>
17676 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17679 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17681 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17687 2013-09-10 Allan McRae <allan@archlinux.org>
17690 * manual/arith.texi (Parsing of Floats): Clarify
17694 * manual/install.texi (Running make install): Mention
17696 * INSTALL: Regenerated.
17698 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17700 * csu/init-first.c (_init): Remove the !SHARED condition around
17701 FPU control word initialization.
17702 * elf/dl-support.c (_dl_fpu_control): New variable.
17703 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17704 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17705 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17706 * math/test-fpucw-static.c: New file.
17707 * math/test-fpucw-ieee.c: New file.
17708 * math/test-fpucw-ieee-static.c: New file.
17709 * math/Makefile (tests): Add `test-fpucw-ieee' and
17711 (tests-static): New variable.
17712 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17714 [($(build-shared),yes)]
17715 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17717 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17720 2013-09-09 Allan McRae <allan@archlinux.org>
17723 * manual/string.texi (Collation Functions): Fix typo in
17725 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17728 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17731 * libio/memstream.c (open_memstream): Fix memory leak.
17732 * libio/wmemstream.c (open_wmemstream): Likewise.
17735 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17737 2013-09-09 Will Newton <will.newton@linaro.org>
17739 * malloc/Makefile: Add tst-realloc to tests.
17740 * malloc/tst-realloc.c: New file.
17742 2013-09-09 Allan McRae <allan@archlinux.org>
17745 * COPYING: Update from GNU website to fix FSF address.
17746 * COPYING.LIB: Likewise.
17748 2013-09-06 David S. Miller <davem@davemloft.net>
17750 * po/zh_TW.po: Update Chinese (traditional) translation from
17751 translation project.
17753 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17754 Joseph Myers <joseph@codesourcery.com>
17756 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17758 (obstack_chunk_alloc): New macro.
17759 (obstack_chunk_free): Likewise.
17760 (record_offset): New function.
17761 (init_locale_data): Likewise.
17762 (align_locale_data): Likewise.
17763 (add_locale_empty): Likewise.
17764 (add_locale_raw_data): Likewise.
17765 (add_locale_raw_obstack): Likewise.
17766 (add_locale_string): Likewise.
17767 (add_locale_wstring): Likewise.
17768 (add_locale_uint32): Likewise.
17769 (add_locale_uint32_array): Likewise.
17770 (add_locale_char): Likewise.
17771 (start_locale_structure): Likewise.
17772 (end_locale_structure): Likewise.
17773 (start_locale_prelude): Likewise.
17774 (end_locale_prelude): Likewise.
17775 (write_locale_data): Take locale_file structure rather than an
17777 * locale/programs/locfile.h: Include "obstack.h".
17778 (struct locale_file): Change to store locale file contents instead
17780 (init_locale_data): New prototype.
17781 (align_locale_data): Likewise.
17782 (add_locale_empty): Likewise.
17783 (add_locale_raw_data): Likewise.
17784 (add_locale_raw_obstack): Likewise.
17785 (add_locale_string): Likewise.
17786 (add_locale_wstring): Likewise.
17787 (add_locale_uint32): Likewise.
17788 (add_locale_uint32_array): Likewise.
17789 (add_locale_char): Likewise.
17790 (start_locale_structure): Likewise.
17791 (end_locale_structure): Likewise.
17792 (start_locale_prelude): Likewise.
17793 (end_locale_prelude): Likewise.
17794 (write_locale_data): Update prototype.
17795 * locale/programs/3level.h (struct TABLE): Remove result field.
17796 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17797 Use new locale_file interface.
17798 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17799 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17800 * locale/programs/ld-address.c (address_output): Use new
17801 locale_file interface.
17802 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17804 (collate_finish): Don't call collseq_table_finalize.
17805 (collate_output): Use new locale_file interface.
17806 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17808 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17809 (TABLE): Move defines earlier in file.
17810 (ELEMENT): Likewise.
17811 (DEFAULT): Likewise.
17812 (wctrans_table_add): Move macro and inline function earlier in
17814 (struct wctype_table): Move type earlier in file.
17815 (add_locale_wctype_table): New static prototype.
17816 (struct locale_ctype_t): Use logical types instead of struct iovec
17817 pointers for members.
17818 (ctype_output): Use new locale_file interface.
17819 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17820 new locale_file interface.
17821 (allocate_arrays): Update for use of new locale_file interface.
17822 * locale/programs/ld-identification.c (identification_output): Use
17823 new locale_file interface.
17824 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17825 * locale/programs/ld-messages.c (messages_output): Likewise.
17826 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17827 * locale/programs/ld-name.c (name_output): Likewise.
17828 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17829 * locale/programs/ld-paper.c (paper_output): Likewise.
17830 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17831 * locale/programs/ld-time.c (time_output): Likewise.
17833 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835 * benchtests/Makefile: Add memrchr benchmark.
17836 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17837 benchmark as memrchr.
17838 * benchtests/bench-memrchr-ifunc.c: New file.
17839 * benchtests/bench-memrchr.c: New file.
17841 2013-09-06 Will Newton <will.newton@linaro.org>
17843 * benchtests/Makefile (string-bench): Add memcpy.
17845 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17846 Cong Wang <amwang@redhat.com>
17849 * sysdeps/unix/sysv/linux/bits/in.h
17850 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17851 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17852 before __USE_KERNEL_IPV6_DEFS uses.
17853 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17855 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17856 sockaddr_in6, or ipv6_mreq.
17858 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17860 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17861 memory access for final bytes in some large inputs.
17862 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17864 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17866 * string/test-memrchr.c: New file.
17867 * string/test-memrchr-ifunc.c: New file.
17868 * string/Makefile: Add new memrchr testcase.
17870 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17872 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17873 fanotify_init returns EPERM.
17875 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17877 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17879 (top level): Treat second token from macro or constant entries for
17880 allowed headers as allowed.
17881 * include/complex.h: Condition internal declarations on
17883 * include/fenv.h: Condition include of <stdbool.h> and internal
17884 declarations on [!_ISOMAC].
17886 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17889 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17891 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17893 * configure.in (--enable-versioning): Remove configure option.
17894 (libc_cv_asm_symver_directive): Remove configure test.
17895 (libc_cv_ld_version_script_option): Likewise.
17896 (VERSIONING): Remove variable and AC_SUBST.
17897 (DO_VERSIONING): Remove AC_DEFINE.
17898 * configure: Regenerated.
17899 * config.h.in (DO_VERSIONING): Remove macro.
17900 * Makerules [$(versioning) = yes]: Change conditionals to
17901 [$(build-shared) = yes].
17902 * config.make.in (versioning): Remove variable.
17903 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17904 [$(build-shared) = yes].
17905 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17906 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17907 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17908 [$(build-shared) = yes].
17909 * extra-lib.mk [$(versioning) = yes]: Likewise.
17910 * hurd/Makefile [$(versioning) = yes]: Likewise.
17911 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17913 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17915 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17916 [SHARED && !NO_HIDDEN].
17917 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17919 [SHARED && DO_VERSIONING]: Likewise..
17920 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17921 [$(build-shared) = yes].
17922 * manual/install.texi (--disable-versioning): Remove
17924 * INSTALL: Regenerated.
17925 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17927 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17928 [$(build-shared) = yes].
17929 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17930 * sysdeps/i386/i686/multiarch/strstr-c.c
17931 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17932 [SHARED && !NO_HIDDEN].
17933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17934 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17935 * sysdeps/powerpc/powerpc32/dl-machine.c
17936 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17937 * sysdeps/powerpc/powerpc32/sysdep.h
17938 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17939 to [SHARED && PIC && !NO_HIDDEN].
17940 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17941 conditional to [SHARED].
17943 2013-09-04 Will Newton <will.newton@linaro.org>
17945 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17946 * benchtests/bench-string.h: Include bench-timing.h instead
17947 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17948 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17949 call to HP_TIMING_DIFF_INIT.
17950 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17951 instead of hp-timing.h macros.
17952 * benchtests/bench-memchr.c: Likewise.
17953 * benchtests/bench-memcmp.c: Likewise.
17954 * benchtests/bench-memcpy.c: Likewise.
17955 * benchtests/bench-memmem.c: Likewise.
17956 * benchtests/bench-memmove.c: Likewise.
17957 * benchtests/bench-memset.c: Likewise.
17958 * benchtests/bench-rawmemchr.c: Likewise.
17959 * benchtests/bench-strcasecmp.c: Likewise.
17960 * benchtests/bench-strcasestr.c: Likewise.
17961 * benchtests/bench-strcat.c: Likewise.
17962 * benchtests/bench-strchr.c: Likewise.
17963 * benchtests/bench-strcmp.c: Likewise.
17964 * benchtests/bench-strcpy.c: Likewise.
17965 * benchtests/bench-strcpy_chk.c: Likewise.
17966 * benchtests/bench-strlen.c: Likewise.
17967 * benchtests/bench-strncasecmp.c: Likewise.
17968 * benchtests/bench-strncat.c: Likewise.
17969 * benchtests/bench-strncmp.c: Likewise.
17970 * benchtests/bench-strncpy.c: Likewise.
17971 * benchtests/bench-strnlen.c: Likewise.
17972 * benchtests/bench-strpbrk.c: Likewise.
17973 * benchtests/bench-strrchr.c: Likewise.
17974 * benchtests/bench-strspn.c: Likewise.
17975 * benchtests/bench-strstr.c: Likewise.
17977 2013-09-04 Will Newton <will.newton@linaro.org>
17979 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17981 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17985 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17986 * math/libm-test.inc (lgamma_test_data): Add more tests.
17987 * sysdeps/i386/fpu/libm-test-ulps: Update.
17988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17990 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17992 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17996 Add strcmp-sse2-unaligned
17997 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17999 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18001 * Versions.def (libc): Add GLIBC_2.19.
18003 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18005 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18006 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18008 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18012 intermediate calculations in recurrence.
18013 (__ieee754_ynf): Likewise.
18014 * math/libm-test.inc (jn_test_data): Do not allow spurious
18015 underflow exception. Add more tests.
18016 (yn_test_data): Add more tests.
18017 * sysdeps/i386/fpu/libm-test-ulps: Update.
18018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18020 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18022 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18024 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18026 * csu/init-first.c: Fix then/than typos.
18027 * locale/programs/ld-collate.c: Likewise.
18028 * locale/programs/linereader.h: Likewise.
18029 * manual/charset.texi: Likewise.
18030 * manual/filesys.texi: Likewise.
18031 * manual/stdio.texi: Likewise.
18032 * manual/string.texi: Likewise.
18033 * stdlib/fmtmsg.c: Likewise.
18034 * sysdeps/i386/stpncpy.S: Likewise.
18035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18036 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18037 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18038 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18040 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18042 * elf/dl-open.c: Fix typos.
18043 * iconvdata/gbbig5.c: Likewise.
18044 * iconvdata/iso-2022-jp.c: Likewise.
18045 * iconv/gconv_int.h: Likewise.
18046 * iconv/loop.c: Likewise.
18047 * nis/rpcsvc/nis.h: Likewise.
18048 * resolv/ns_name.c: Likewise.
18049 * stdio-common/vfscanf.c: Likewise.
18050 * streams/stropts.h: Likewise.
18051 * sunrpc/rpc_thread.c: Likewise.
18052 * sysdeps/i386/strpbrk.S: Likewise.
18053 * sysdeps/ieee754/k_standard.c: Likewise.
18054 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18056 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18057 * sysdeps/mach/hurd/profil.c: Likewise.
18058 * sysdeps/s390/dl-procinfo.h: Likewise.
18059 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18060 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18061 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18062 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18065 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18067 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18070 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18073 aix specific files.
18074 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18075 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18077 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18079 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18080 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18083 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18084 Roland McGrath <roland@hack.frob.com>
18086 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18087 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18089 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18091 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18092 __executable_start symbol instead of _start.
18094 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18096 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18097 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18099 * sysdeps/gnu/ldsodefs.h: ... this new file.
18101 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18102 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18103 instead of ELFOSABI_LINUX.
18105 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18106 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18107 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18108 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18110 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18111 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18114 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18115 (ibm_extended_long_double): Add ieee_nan member.
18116 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18117 (do_test): New function.
18119 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18121 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18122 functions, renamed from truncdfsf_test, trunctfsf_test,
18124 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18126 (do_test): Run all these.
18128 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18130 * argp/argp-help.c: Fix typos.
18131 * argp/argp-parse.c: Likewise.
18132 * debug/backtracesyms.c: Likewise.
18133 * elf/elf.h: Likewise.
18134 * malloc/malloc.c: Likewise.
18135 * nis/nis_print.c: Likewise.
18136 * resolv/res_comp.c: Likewise.
18137 * stdlib/stdlib.h: Likewise.
18138 * sunrpc/clnt_tcp.c: Likewise.
18139 * sunrpc/clnt_udp.c: Likewise.
18140 * sunrpc/clnt_unix.c: Likewise.
18141 * sysdeps/unix/bsd/ptsname.c: Likewise.
18142 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18150 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18152 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18157 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18160 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18161 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18162 ($(objpfx)bug-dl-leaf): New rule.
18163 ($(objpfx)bug-dl-leaf.so): Likewise.
18164 ($(objpfx)bug-dl-leaf.out): Likewise.
18165 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18166 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18167 * dlfcn/bug-dl-leaf.c: New test.
18168 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18169 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18170 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18171 (dlclose): Likewise.
18172 (dlmopen): Likewise.
18174 2013-08-27 Roland McGrath <roland@hack.frob.com>
18176 * include/netdb.h [!_ISOMAC]:
18177 Don't include <tls.h>.
18178 (h_errno, __libc_h_errno): Move declaration and macros out of
18181 * include/resolv.h [_RESOLV_H_]:
18182 Don't include <tls.h>.
18183 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18184 * resolv/res_libc.c: Don't include <tls.h>.
18185 (_res): Use __attribute__ ((nocommon)) in place of
18186 __attribute__ ((section (".bss"))).
18188 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18189 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18191 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18193 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18194 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18196 * resolv/res_mkquery.c: Include <sys/time.h>.
18198 * inet/ifreq.c: Moved to ...
18199 * sysdeps/unix/ifreq.c: ... here.
18200 * inet/ifreq.c: New file, true stub version.
18202 * socket/sa_len.c: New file.
18203 * socket/Makefile (aux): Add it.
18204 * sysdeps/unix/sysv/linux/Makefile
18205 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18206 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18207 and #include <socket/sa_len.c>.
18208 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18209 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18211 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18212 * bits/socket.h: ... here.
18214 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18215 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18216 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18218 2013-08-27 Andreas Schwab <schwab@suse.de>
18221 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18222 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18223 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18224 * string/test-strcasecmp.c (test_main): Run tests in several
18226 * string/test-strncasecmp.c (test_main): Likewise.
18228 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18229 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18230 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18232 (__strncasecmp_ssse3) [PIC]: Likewise.
18234 2013-08-26 Roland McGrath <roland@hack.frob.com>
18236 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18238 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18239 instead of explicitly declaring xdecrypt.
18240 * nis/nss_nis/nis-publickey.c: Likewise.
18242 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18245 * nscd/aicache.c: Include res_hconf.h.
18246 (addhstaiX): Initialize res_hconf.
18248 2013-08-26 Andreas Schwab <schwab@suse.de>
18250 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18251 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18253 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18255 * nscd/aicache.c (addhstaiX): Fix indentation.
18257 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18259 * configure.ac: Quote $build_pt_chown test.
18260 * configure: Regenerated.
18262 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18265 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18266 * math/s_cexpf.c (__cexpf): Likewise.
18267 * math/s_cexpl.c (__cexpl): Likewise.
18268 * math/libm-test.inc (cexp_test_data): Correct expected return
18269 value for NaN + i0. Add another test.
18271 2013-08-22 David S. Miller <davem@davemloft.net>
18273 * po/ca.po: Update Catalan translation from translation project.
18274 * po/uk.po: Add Ukrainian translations from translation project.
18276 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18279 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18280 is infinite, not alongside NaN test.
18281 * math/s_fdimf.c (__fdimf): Likewise.
18282 * math/s_fdiml.c (__fdiml): Likewise.
18283 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18284 errno is unchanged.
18286 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18288 * argp/argp-help.c: Fix typos.
18289 * crypt/speeds.c: Likewise.
18290 * csu/check_fds.c: Likewise.
18291 * elf/dl-load.c: Likewise.
18292 * elf/dl-open.c: Likewise.
18293 * elf/reldep3.c: Likewise.
18294 * elf/reldep.c: Likewise.
18295 * elf/sprof.c: Likewise.
18296 * iconv/iconv_charmap.c: Likewise.
18297 * iconv/skeleton.c: Likewise.
18298 * iconv/strtab.c: Likewise.
18299 * io/lockf64.c: Likewise.
18300 * libio/libioP.h: Likewise.
18301 * resolv/gai_notify.c: Likewise.
18302 * resolv/ns_name.c: Likewise.
18303 * resolv/ns_samedomain.c: Likewise.
18304 * resolv/res_send.c: Likewise.
18305 * stdlib/random.c: Likewise.
18306 * sunrpc/rpc/xdr.h: Likewise.
18307 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18308 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18309 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18310 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18311 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18315 * sysdeps/mach/hurd/check_fds.c: Likewise.
18316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18317 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18319 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18320 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18321 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18322 * sysdeps/pthread/aio_notify.c: Likewise.
18323 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18324 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18327 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18329 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18331 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18332 version if bit_Slow_SSE4_2 is set.
18333 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18334 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18336 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18339 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18340 trampoline stack frame information.
18341 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18343 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18344 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18345 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18346 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18347 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18348 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18350 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18351 interrupting a syscall and set with option SA_SIGINFO.
18353 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18356 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18357 argument is infinite.
18358 * math/s_cprojf.c (__cprojf): Likewise.
18359 * math/s_cprojl.c (__cprojl): Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18361 * math/libm-test.inc (cproj_test_data): Add more tests.
18363 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18365 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18366 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18367 size. Use __ffs to determine corresponding shift.
18369 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18370 Roland McGrath <roland@hack.frob.com>
18372 * Makefile (INSTALL): Remove trailing blank lines from output of
18375 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18377 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18378 Align 32 bit compat elf_greg to 8 bytes.
18380 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18382 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18384 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18386 * string/strcoll_l.c (coll_seq): New structure.
18387 (get_next_seq_cached): New function.
18388 (get_next_seq): New function.
18389 (do_compare): New function.
18390 (STRCOLL): Use GNU style definition. Simplify implementation
18391 by using get_next_seq, get_next_seq_cached and do_compare.
18393 2013-08-16 Florian Weimer <fweimer@redhat.com>
18397 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18399 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18401 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18402 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18403 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18405 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18406 GETDENTS_64BIT_ALIGNED.
18407 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18408 * manual/filesys.texi (Reading/Closing Directory): Document
18409 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18411 * manual/conf.texi (Limits for Files): Add portability note to
18412 NAME_MAX, PATH_MAX.
18413 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18415 2013-08-13 Andreas Schwab <schwab@suse.de>
18418 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18420 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18421 LDBL_MAX_EXP >= 16384]: Add tests for it.
18423 2013-08-12 David S. Miller <davem@davemloft.net>
18425 * version.h (RELEASE): Set to "development".
18426 (VERSION): Set to "2.18.90".
18427 * NEWS: Add 2.19 section.
18429 2013-08-03 David S. Miller <davem@davemloft.net>
18431 * po/ko.po: Update Korean translation from translation project.
18433 2013-08-01 David S. Miller <davem@davemloft.net>
18435 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18436 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18439 2013-07-30 David S. Miller <davem@davemloft.net>
18441 * po/fr.po: Update French translation from translation project.
18443 2013-07-28 David S. Miller <davem@davemloft.net>
18445 * po/cs.po: Update Czech translation from translation project.
18447 * po/sv.po: Update Swedish translation from translation project.
18449 2013-07-27 David S. Miller <davem@davemloft.net>
18451 * po/eo.po: Update Esperanto translation from translation project.
18453 * po/vi.po: Update Vietnamese translation from translation project.
18455 * po/de.po: Update German translation from translation project.
18457 2013-07-26 David S. Miller <davem@davemloft.net>
18459 * po/bg.po: Update Bulgarian translation from translation project.
18461 * po/nl.po: Update Dutch translation from translation project.
18462 * po/pl.po: Update Polish translation from translation project.
18463 * po/ru.po: Update Russian translation from translation project.
18465 2013-07-24 David S. Miller <davem@davemloft.net>
18467 * po/libc.pot: Update.
18469 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18472 variable page size.
18473 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18474 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18475 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18477 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18479 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18481 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18482 Andreas Schwab <schwab@suse.de>
18483 Roland McGrath <roland@hack.frob.com>
18484 Joseph Myers <joseph@codesourcery.com>
18485 Carlos O'Donell <carlos@redhat.com>
18488 * config.h.in: Define HAVE_PT_CHOWN.
18489 * config.make.in (build-pt-chown): New variable.
18490 * configure.in (--enable-pt_chown): New configure option.
18491 * configure: Regenerate.
18492 * login/Makefile: Include Makeconfig. Build pt_chown only if
18493 build-pt-chown is enabled.
18494 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18495 pt_chown to fix pty ownership.
18496 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18498 * manual/install.texi (Configuring and compiling): Mention
18499 --enable-pt_chown. Add @findex for grantpt.
18500 * INSTALL: Regenerate.
18502 2013-07-20 David S. Miller <davem@davemloft.net>
18504 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18505 difference between 32-bit and 64-bit.
18507 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18510 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18511 Avoid system header dependency with -ffreestanding.
18512 ($(objpfx)bits/syscall%d): Likewise.
18514 2013-07-13 David S. Miller <davem@davemloft.net>
18516 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18517 underflows from atanl/atan2l due to bug 15319.
18518 (casinh_test_data): Likewise.
18520 2013-07-07 David S. Miller <davem@davemloft.net>
18522 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18524 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18526 * sysdeps/i386/fpu/libm-test-ulps: Update.
18527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18529 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18531 * configure.in (--enable-lock-elision): Fix message text.
18532 * INSTALL: Regenerate.
18533 * configure: Regenerate.
18535 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18539 2013-07-03 Andreas Jaeger <aj@suse.de>
18541 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18543 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18544 (ptrace_peeksiginfo_args): Add.
18545 (__ptrace_peeksiginfo_flags): Add.
18546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18547 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18550 2013-07-03 Allan McRae <allan@archlinux.org>
18552 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554 2013-07-02 David S. Miller <davem@davemloft.net>
18556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18558 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18562 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18564 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18567 2013-07-02 Andi Kleen <ak@linux.intel.com>
18569 * config.h.in (ENABLE_LOCK_ELISION): Add.
18570 * configure.in (--enable-lock-elision): Add option.
18571 * manual/install.texi: Document --enable lock elision.
18572 * configure: Regenerate
18573 * INSTALL: Regenerate.
18575 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18577 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18578 SSE4.2 strcasecmp for libc.a.
18579 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18581 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18584 * soft-fp/op-common.h (_FP_FMA): New macro.
18585 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18586 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18587 (_FP_MUL_MEAT_1_imm): ... here.
18588 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18589 (_FP_MUL_MEAT_1_wide): ... here.
18590 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18591 (_FP_MUL_MEAT_1_hard): ... here.
18592 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18593 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18594 (_FP_MUL_MEAT_2_wide): ... here.
18595 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18596 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18597 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18598 (_FP_MUL_MEAT_2_gmp): ... here.
18599 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18600 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18601 (_FP_MUL_MEAT_4_wide): ... here.
18602 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18603 (_FP_MUL_MEAT_4_gmp): ... here.
18604 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18605 (_FP_WFRACBITS_DW_S): Likewise.
18606 (_FP_WFRACXBITS_DW_S): Likewise.
18607 (_FP_HIGHBIT_DW_S): Likewise.
18608 (FP_FMA_S): Likewise.
18609 (_FP_FRAC_HIGH_DW_S): Likewise.
18610 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18611 (_FP_WFRACBITS_DW_D): Likewise.
18612 (_FP_WFRACXBITS_DW_D): Likewise.
18613 (_FP_HIGHBIT_DW_D): Likewise.
18614 (FP_FMA_D): Likewise.
18615 (_FP_FRAC_HIGH_DW_D): Likewise.
18616 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18617 (_FP_WFRACBITS_DW_E): Likewise.
18618 (_FP_WFRACXBITS_DW_E): Likewise.
18619 (_FP_HIGHBIT_DW_E): Likewise.
18620 (FP_FMA_E): Likewise.
18621 (_FP_FRAC_HIGH_DW_E): Likewise.
18622 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18623 (_FP_WFRACBITS_DW_Q): Likewise.
18624 (_FP_WFRACXBITS_DW_Q): Likewise.
18625 (_FP_HIGHBIT_DW_Q): Likewise.
18626 (FP_FMA_Q): Likewise.
18627 (_FP_FRAC_HIGH_DW_Q): Likewise.
18628 * soft-fp/fmasf4.c: New file.
18629 * soft-fp/fmadf4.c: Likewise.
18630 * soft-fp/fmatf4.c: Likewise.
18632 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18635 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18639 (index_Slow_SSE4_2): Likewise.
18640 (index_Prefer_PMINUB_for_stringop): Likewise.
18641 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18642 bit_Slow_SSE4_2 is set.
18643 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18646 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18648 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18649 rtld_global._dl_hwcap2.
18650 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18653 POWER8 feature descriptions defined in _dl_hwcap2.
18654 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18655 string handling for POWER8 feature bits.
18656 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18657 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18658 _dl_powerpc_cap_flags.
18659 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18660 * sysdeps/powerpc/rtld-global-offsets.sym
18661 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18662 _dl_hwcap2 in the rtld_global_ro structure.
18664 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18666 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18667 hardware capabilities in support of AT_HWCAP2.
18668 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18669 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18671 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18672 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18673 explicitly the unknown a_type display mechanism is used.
18674 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18675 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18677 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18678 to macro prototype for AT_HWCAP2 support.
18679 * sysdeps/i386/dl-procinfo.h: Likewise.
18680 * sysdeps/s390/dl-procinfo.h: Likewise.
18681 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18682 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18683 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18684 return -1 for unknown a_type display fallback.
18685 * sysdeps/sparc/dl-procinfo.h: Likewise.
18686 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18687 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18689 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18691 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18692 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18694 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18697 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18698 mprotect making __stack_prot writable.
18700 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18701 Joseph Myers <joseph@codesourcery.com>
18703 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18704 as being properly aligned.
18706 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18708 * dlfcn/modstatic5.c: New file.
18709 * dlfcn/tststatic5.c: New file.
18710 * dlfcn/Makefile (tests): Add tststatic5.
18711 (tests-static): Likewise.
18712 (modules-names): Add modstatic5.
18713 (tststatic5-ENV): New variable.
18714 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18717 * elf/dl-support.c (_dl_main_map): New variable.
18718 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18719 (_dl_nns, _dl_load_adds): Set to 1.
18720 (_dl_initial_searchlist): Refer to _dl_main_map.
18721 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18722 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18723 call to _dl_get_origin.
18724 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18726 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18727 * dlfcn/modstatic3.c: New file.
18728 * dlfcn/tststatic3.c: New file.
18729 * dlfcn/tststatic4.c: New file.
18730 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18731 (tests-static): Likewise.
18732 (modules-names): Add modstatic3.
18733 (tststatic3-ENV, tststatic4-ENV): New variables.
18734 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18735 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18737 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18739 * configure.in (CC): Require GCC version 4.4 or later.
18740 * configure: Regenerated.
18741 * manual/install.texi (Tools for Compilation): Update GCC version
18743 * INSTALL: Regenerated.
18745 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18748 * string/test-memcmp.c (check2): New.
18749 (main): Call check2.
18751 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18753 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18756 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18758 (dl_open_worker) [!SHARED]: ... here.
18760 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18762 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18764 2013-06-25 Richard Henderson <rth@redhat.com>
18766 * locale/programs/locarchive.c: Include <libc-internal.h>
18768 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18770 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18771 trailing whitespace removed.
18773 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18776 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18777 * locale/programs/locarchive.c: Include libc-mmap.h.
18778 (prepare_address_space): Take two new outputs (the mmap base and len).
18779 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18781 (create_archive): Declare new mmap base and len values for
18782 prepare_address_space, and store the result in ah.
18783 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18784 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18785 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18786 Declare new mmap base and len values for
18787 prepare_address_space, and store the result in new_ah.
18788 (open_archive): Declare new mmap base and len values for
18789 prepare_address_space, and store the result in ah.
18790 (close_archive): If ah->mmap_base is not NULL, use that and
18791 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18792 * sysdeps/generic/libc-mmap.h: New file.
18794 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18796 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18797 (ALIGN_UP): Likewise.
18798 (PTR_ALIGN_DOWN): Likewise.
18799 (PTR_ALIGN_UP): Likewise.
18801 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18803 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18804 entry mapped to PPC_PLATFORM_POWER8.
18805 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18807 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18808 (_dl_string_platform): Add case for exporting platform position for
18810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18811 search path to sysdeps/powerpc/powerpc32/power8 directory.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18813 search path to sysdeps/powerpc/powerpc64/power8 directory.
18814 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18815 power7 directories.
18816 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18817 power7 directories.
18819 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18821 * INSTALL: Regenerate.
18823 * nscd/connections.c (nscd_init): Fix comment.
18825 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18827 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18830 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18831 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18833 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18835 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18837 (DL_DST_REQ_STATIC): Remove macro.
18839 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18842 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18843 with a shift of 0 bits.
18845 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18847 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18850 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18853 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18855 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18857 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18858 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18859 accepts -fno-tree-loop-distribute-patterns.
18860 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18861 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18863 * string/memset.c (memset): Likewise.
18864 * string/test-memmove.c (simple_memmove): Disable loop transformation
18866 * string/test-memset.c (simple_memset): Likewise.
18867 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18868 * benchtests/bench-memset.c (simple_memset): Likewise.
18869 * configure: Regenerated.
18871 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18873 * math/test-misc.c (main): Ignore fesetround failure when failures
18874 of subsequent rounding tests would be ignored.
18877 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18878 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18879 * math/fegetenv.c (__fegetenv): Return 0.
18880 * math/fegetexcept.c (fegetexcept): Return 0.
18881 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18883 * math/feholdexcpt.c (feholdexcept): Return 0.
18884 * math/fesetenv.c (__fesetenv): Return 0.
18885 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18886 argument FE_TONEAREST.
18887 * math/feupdateenv.c (__feupdateenv): Return 0.
18888 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18890 2013-06-18 Roland McGrath <roland@hack.frob.com>
18892 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18893 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18894 ($(objpfx)rtld-%.os rules): Use them.
18896 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18901 2013-06-17 Roland McGrath <roland@hack.frob.com>
18903 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18904 length of target pattern, then descending length of dependency pattern.
18905 * configure.in (AWK): Require gawk 3.1.2 or newer.
18906 * manual/install.texi (Tools for Compilation): Say that we do.
18907 * configure: Regenerated.
18909 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18910 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18911 * scripts/sysd-rules.awk: ... this new script.
18912 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18913 than a glob-style pattern.
18915 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18917 * math/test-misc.c (main): Do not treat incorrectly rounded
18918 conversions as failure unless ROUNDING_TESTS passes.
18920 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18923 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18924 restore exception state around main square root computation, then
18925 check for inexactness explicitly.
18927 * math/libm-test.inc (fma_test_data): Add another test.
18929 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18931 * manual/threads.texi (Non-POSIX Extensions): New document
18932 node. Document pthread_getattr_default_np and
18933 pthread_setattr_default_np.
18935 * Versions.def (libpthread): Add GLIBC_2.18.
18936 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18956 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18959 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18961 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18962 H.J. Lu <hjl.tools@gmail.com>
18965 * sysdeps/x86_64/rtld-memset.c: Remove file.
18966 * sysdeps/x86_64/rtld-memset.S: New file.
18968 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18970 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18971 (test_in_one_mode): Take arguments for whether the rounding mode
18972 is supported for each floating-point type.
18973 (do_test): Pass new arguments to test_in_one_mode using
18976 2013-06-13 Roland McGrath <roland@hack.frob.com>
18978 * posix/tst-waitid.c (do_test): Distinguish different instances of
18979 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18980 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18981 before entering the kernel for waitpid.
18983 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18985 * NEWS: Fix note on clock function precision. Text by Roland
18988 2013-06-13 Roland McGrath <roland@hack.frob.com>
18990 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18991 it into place only when and if the sanity check passes.
18993 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18995 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18996 output for whether conversion result is exact. Take argument
18997 indicating whether type is IBM long double.
18998 (round_for_all): Change need_exact field to ibm_ld.
18999 * stdlib/tst-strtod-round.c (struct exactness): New type.
19000 (struct test): Change bool ld_ok field to struct exactness exact.
19001 (TEST): Update all definitions for change to field.
19002 (tests): Regenerate array contents.
19003 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19004 field value. Check for IBM long double here.
19005 (do_test): Update calls to test_in_one_mode.
19007 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19010 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19011 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19013 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19016 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19017 generated by the compiler on loop optimizations.
19018 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19019 general definitions.
19021 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19023 * math/bug-nextafter.c: Include <math-tests.h>.
19024 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19026 * math/bug-nexttoward.c: Include <math-tests.h>.
19027 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19029 * math/test-misc.c: Include <math-tests.h>.
19030 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19033 2013-06-12 Andreas Jaeger <aj@suse.de>
19035 * po/ia.po: Update Interlingua translation from translation
19038 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19040 * include/fenv.h: Include stdbool.h.
19041 (struct rm_ctx): New structure.
19042 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19044 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19045 (SET_RESTORE_ROUNDF): Likewise.
19046 (SET_RESTORE_ROUNDL): Likewise.
19047 (SET_RESTORE_ROUND_NOEX): Likewise.
19048 (SET_RESTORE_ROUND_NOEXF): Likewise.
19049 (SET_RESTORE_ROUND_NOEXL): Likewise.
19050 (SET_RESTORE_ROUND_53BIT): Likewise.
19051 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19052 (libc_feresetround_noexf_ctx): Likewise.
19053 (libc_feresetround_noexl_ctx): Likewise.
19054 (libc_feholdsetround_53bit_ctx): Likewise.
19055 (libc_feresetround_53bit_ctx): Likewise.
19056 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19057 (libc_feholdexcept_setround_sse_ctx): New function.
19058 (libc_fesetenv_sse_ctx): Likewise.
19059 (libc_feupdateenv_sse_ctx): Likewise.
19060 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19061 (libc_feholdexcept_setround_387_ctx): Likewise.
19062 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19063 (libc_feholdsetround_387_prec_ctx): Likewise.
19064 (libc_feholdsetround_387_ctx): Likewise.
19065 (libc_feholdsetround_387_53bit_ctx): Likewise.
19066 (libc_feholdsetround_sse_ctx): Likewise.
19067 (libc_feresetround_sse_ctx): Likewise.
19068 (libc_feresetround_387_ctx): Likewise.
19069 (libc_feupdateenv_387_ctx): Likewise.
19070 (libc_feholdexcept_setroundf_ctx): Define macro.
19071 (libc_fesetenvf_ctx): Likewise.
19072 (libc_feupdateenvf_ctx): Likewise.
19073 (libc_feholdsetroundf_ctx): Likewise.
19074 (libc_feresetroundf_ctx): Likewise.
19075 (libc_feholdexcept_setround_ctx): Likewise.
19076 (libc_fesetenv_ctx): Likewise.
19077 (libc_feupdateenv_ctx): Likewise.
19078 (libc_feholdsetround_ctx): Likewise.
19079 (libc_feresetround_ctx): Likewise.
19080 (libc_feholdexcept_setroundl_ctx): Likewise.
19081 (libc_feupdateenvl_ctx): Likewise.
19082 (libc_feholdsetroundl_ctx): Likewise.
19083 (libc_feresetroundl_ctx): Likewise.
19084 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19085 (libc_feresetround_53bit_ctx): Likewise.
19087 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19089 * locale/iso-639.def: Convert to UTF-8.
19091 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19093 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19094 (EXCEPTION_TESTS_double): Likewise.
19095 (EXCEPTION_TESTS_long_double): Likewise.
19096 (EXCEPTION_TESTS): Likewise.
19097 * math/libm-test.inc (test_exceptions): Only test exceptions if
19098 EXCEPTION_TESTS (FLOAT).
19100 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19102 * benchtests/Makefile (string-bench): Add strcpy_chk and
19104 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19105 * benchtests/bench-stpcpy_chk.c: New file.
19106 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19107 * benchtests/bench-strcpy_chk.c: New file.
19108 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19110 (do_test): Likewise.
19112 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19114 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19115 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19116 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19117 with tabs where appropriate.
19118 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19120 [PPC_PLATFORM_PPC440]: Likewise.
19121 [PPC_PLATFORM_PPC464]: Likewise.
19122 [PPC_PLATFORM_PPC476]: Likewise.
19123 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19124 ppc464, and ppc476 platform strings merging from ports/
19127 2013-06-11 Andreas Schwab <schwab@suse.de>
19130 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19131 (from_ucs4_idx): Regenerate.
19132 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19133 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19134 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19135 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19136 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19137 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19138 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19139 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19140 from FROM_LOOP and TO_LOOP specific macros.
19141 (BODY): Handle combining characters.
19142 * iconvdata/BIG5HKSCS.irreversible: Update.
19143 * iconvdata/BIG5HKSCS.precomposed: New file.
19144 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19146 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19148 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19150 * include/sys/time.h: Fix indentation and add copyright header.
19152 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19153 (do_test): Likewise.
19154 * string/test-memchr.c (do_one_test): Likewise.
19155 (do_test): Likewise.
19156 * string/test-memcmp.c (do_one_test): Likewise.
19157 (do_test): Likewise.
19158 * string/test-memcpy.c (do_one_test): Likewise.
19159 (do_test): Likewise.
19160 * string/test-memmem.c (do_one_test): Likewise.
19161 (do_test): Likewise.
19162 (do_random_tests): Likewise.
19163 * string/test-memmove.c (do_one_test): Likewise.
19164 (do_test): Likewise.
19165 * string/test-memset.c (do_one_test): Likewise.
19166 (do_test): Likewise.
19167 * string/test-rawmemchr.c (do_one_test): Likewise.
19168 (do_test): Likewise.
19169 * string/test-strcasecmp.c (do_one_test): Likewise.
19170 (do_test): Likewise.
19171 * string/test-strcasestr.c (do_one_test): Likewise.
19172 (do_test): Likewise.
19173 * string/test-strcat.c (do_one_test): Likewise.
19174 (do_test): Likewise.
19175 * string/test-strchr.c (do_one_test): Likewise.
19176 (do_test): Likewise.
19177 * string/test-strcmp.c (do_one_test): Likewise.
19178 (do_test): Likewise.
19179 * string/test-strcpy.c (do_one_test): Likewise.
19180 (do_test): Likewise.
19181 * string/test-string.h: Likewise.
19182 (test_init): Likewise.
19183 * string/test-strlen.c (do_one_test): Likewise.
19184 (do_test): Likewise.
19185 * string/test-strncasecmp.c (do_one_test): Likewise.
19186 (do_test): Likewise.
19187 * string/test-strncat.c (do_one_test): Likewise.
19188 (do_test): Likewise.
19189 * string/test-strncmp.c (do_one_test): Likewise.
19190 (do_test_limit): Likewise.
19191 (do_test): Likewise.
19192 * string/test-strncpy.c (do_one_test): Likewise.
19193 (do_test): Likewise.
19194 * string/test-strnlen.c (do_one_test): Likewise.
19195 (do_test): Likewise.
19196 * string/test-strpbrk.c (do_one_test): Likewise.
19197 (do_test): Likewise.
19198 * string/test-strrchr.c (do_one_test): Likewise.
19199 (do_test): Likewise.
19200 * string/test-strspn.c (do_one_test): Likewise.
19201 (do_test): Likewise.
19202 * string/test-strstr.c (do_one_test): Likewise.
19203 (do_test): Likewise.
19205 * benchtests/Makefile (string-bench): Add string benchmarks.
19206 * benchtests/bench-bcopy-ifunc.c: New file.
19207 * benchtests/bench-bcopy.c: New file.
19208 * benchtests/bench-bzero-ifunc.c: New file.
19209 * benchtests/bench-bzero.c: New file.
19210 * benchtests/bench-memccpy-ifunc.c: New file.
19211 * benchtests/bench-memccpy.c: New file.
19212 * benchtests/bench-memchr-ifunc.c: New file.
19213 * benchtests/bench-memchr.c: New file.
19214 * benchtests/bench-memcmp-ifunc.c: New file.
19215 * benchtests/bench-memcmp.c: New file.
19216 * benchtests/bench-memmem-ifunc.c: New file.
19217 * benchtests/bench-memmem.c: New file.
19218 * benchtests/bench-memmove-ifunc.c: New file.
19219 * benchtests/bench-memmove.c: New file.
19220 * benchtests/bench-mempcpy-ifunc.c: New file.
19221 * benchtests/bench-mempcpy.c: New file.
19222 * benchtests/bench-memset-ifunc.c: New file.
19223 * benchtests/bench-memset.c: New file.
19224 * benchtests/bench-rawmemchr-ifunc.c: New file.
19225 * benchtests/bench-rawmemchr.c: New file.
19226 * benchtests/bench-stpcpy-ifunc.c: New file.
19227 * benchtests/bench-stpcpy.c: New file.
19228 * benchtests/bench-stpncpy-ifunc.c: New file.
19229 * benchtests/bench-stpncpy.c: New file.
19230 * benchtests/bench-strcasecmp-ifunc.c: New file.
19231 * benchtests/bench-strcasecmp.c: New file.
19232 * benchtests/bench-strcasestr-ifunc.c: New file.
19233 * benchtests/bench-strcasestr.c: New file.
19234 * benchtests/bench-strcat-ifunc.c: New file.
19235 * benchtests/bench-strcat.c: New file.
19236 * benchtests/bench-strchr-ifunc.c: New file.
19237 * benchtests/bench-strchr.c: New file.
19238 * benchtests/bench-strchrnul-ifunc.c: New file.
19239 * benchtests/bench-strchrnul.c: New file.
19240 * benchtests/bench-strcmp-ifunc.c: New file.
19241 * benchtests/bench-strcmp.c: New file.
19242 * benchtests/bench-strcpy-ifunc.c: New file.
19243 * benchtests/bench-strcpy.c: New file.
19244 * benchtests/bench-strcspn-ifunc.c: New file.
19245 * benchtests/bench-strcspn.c: New file.
19246 * benchtests/bench-strlen-ifunc.c: New file.
19247 * benchtests/bench-strlen.c: New file.
19248 * benchtests/bench-strncasecmp-ifunc.c: New file.
19249 * benchtests/bench-strncasecmp.c: New file.
19250 * benchtests/bench-strncat-ifunc.c: New file.
19251 * benchtests/bench-strncat.c: New file.
19252 * benchtests/bench-strncmp-ifunc.c: New file.
19253 * benchtests/bench-strncmp.c: New file.
19254 * benchtests/bench-strncpy-ifunc.c: New file.
19255 * benchtests/bench-strncpy.c: New file.
19256 * benchtests/bench-strnlen-ifunc.c: New file.
19257 * benchtests/bench-strnlen.c: New file.
19258 * benchtests/bench-strpbrk-ifunc.c: New file.
19259 * benchtests/bench-strpbrk.c: New file.
19260 * benchtests/bench-strrchr-ifunc.c: New file.
19261 * benchtests/bench-strrchr.c: New file.
19262 * benchtests/bench-strspn-ifunc.c: New file.
19263 * benchtests/bench-strspn.c: New file.
19264 * benchtests/bench-strstr-ifunc.c: New file.
19265 * benchtests/bench-strstr.c: New file.
19267 * benchtests/Makefile: Disable parallel execution of targets.
19268 (string-bench): Add memcpy.
19269 (benchset): New variable to store a list of benchmark sets.
19270 (bench-func): Renamed from bench.
19271 (bench-set): New target.
19272 (bench): Depend on bench-func and bench-set.
19273 * benchtests/README: Add section on benchmark sets.
19274 * benchtests/bench-memcpy-ifunc.c: New file.
19275 * benchtests/bench-memcpy.c: New file.
19276 * benchtests/bench-string.h: New file.
19278 2013-06-11 Andreas Schwab <schwab@suse.de>
19281 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19282 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19283 values in the triple.
19284 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19285 terminator in the group key.
19287 2013-06-11 Andreas Jaeger <aj@suse.de>
19289 * po/zh_TW.po: Update Chinese (traditional) translation from
19290 translation project.
19292 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19294 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19295 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19296 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19298 (clock_getcpuclockid): Likewise.
19299 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19300 Add weak_alias and libc_hidden_def.
19301 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19302 * rt/clock_gettime.c (clock_gettime): Rename to
19303 __clock_gettime. Add weak_alias and libc_hidden_def.
19304 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19305 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19306 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19307 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19308 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19310 * rt/clock_settime.c (clock_settime): Rename to
19311 __clock_settime. Add weak_alias and libc_hidden_def.
19312 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19314 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19316 * mach/err_boot.sub: Remove trailing whitespace.
19317 * mach/err_ipc.sub: Likewise.
19318 * mach/err_mach.sub: Likewise.
19320 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19321 (ROUNDING_TESTS_double): Likewise.
19322 (ROUNDING_TESTS_long_double): Likewise.
19323 (ROUNDING_TESTS): Likewise.
19324 * math/libm-test.inc: Include <math-tests.h>.
19325 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19326 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19327 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19328 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19330 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19335 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19338 otherwise empty TRANS lines.
19339 * sysdeps/gnu/errlist.c: Regenerated.
19341 * catgets/gencat.c (error_print): Use (void) in function
19343 * crypt/crypt_util.c (__init_des): Likewise.
19344 * crypt/speeds.c (Stop): Likewise.
19346 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19347 * inet/ruserpass.c (token): Likewise.
19348 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19349 * intl/localealias.c (extend_alias_table): Likewise.
19350 * intl/plural-exp.c (init_germanic_plural): Likewise.
19351 * libio/fcloseall.c (__fcloseall): Likewise.
19352 * libio/genops.c (_IO_flush_all): Likewise.
19353 (_IO_flush_all_linebuffered): Likewise.
19354 (_IO_cleanup): Likewise.
19355 (_IO_iter_begin): Likewise.
19356 (_IO_iter_end): Likewise.
19357 (_IO_list_lock): Likewise.
19358 (_IO_list_unlock): Likewise.
19359 (_IO_list_resetlock): Likewise.
19360 * libio/getchar.c (getchar): Likewise.
19361 * libio/getchar_u.c (getchar_unlocked): Likewise.
19362 * libio/getwchar.c (getwchar): Likewise.
19363 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19364 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19365 * login/getpt.c (__getpt): Likewise.
19366 * login/tst-utmp.c (main): Likewise.
19367 * malloc/hooks.c (__malloc_check_init): Likewise.
19368 * malloc/malloc.c (__malloc_stats): Likewise.
19369 * malloc/mtrace.c (tr_break): Likewise.
19370 (mtrace): Likewise.
19371 (muntrace): Likewise.
19372 * misc/fstab.c (endfsent): Likewise.
19373 * misc/getclktck.c (__getclktck): Likewise.
19374 * misc/getdtsz.c (__getdtablesize): Likewise.
19375 * misc/gethostid.c (gethostid): Likewise.
19376 * misc/getpagesize.c (__getpagesize): Likewise.
19377 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19378 (__get_nprocs): Likewise.
19379 (__get_phys_pages): Likewise.
19380 (__get_avphys_pages): Likewise.
19381 * misc/getttyent.c (getttyent): Likewise.
19382 (setttyent): Likewise.
19383 (endttyent): Likewise.
19384 * misc/getusershell.c (getusershell): Likewise.
19385 (endusershell): Likewise.
19386 (setusershell): Likewise.
19387 (initshells): Likewise.
19388 * misc/hsearch.c (__hdestroy): Likewise.
19389 * misc/sync.c (sync): Likewise.
19390 * misc/syslog.c (closelog_internal): Likewise.
19391 (closelog): Likewise.
19392 * misc/ttyslot.c (ttyslot): Likewise.
19393 * misc/vhangup.c (vhangup): Likewise.
19394 * posix/fork.c (__fork): Likewise.
19395 * posix/getegid.c (__getegid): Likewise.
19396 * posix/geteuid.c (__geteuid): Likewise.
19397 * posix/getgid.c (__getgid): Likewise.
19398 * posix/getpid.c (__getpid): Likewise.
19399 * posix/getppid.c (__getppid): Likewise.
19400 * posix/getuid.c (__getuid): Likewise.
19401 * posix/pause.c (pause): Likewise.
19402 * posix/setpgrp.c (setpgrp): Likewise.
19403 * posix/setsid.c (__setsid): Likewise.
19404 * posix/test-vfork.c (noop): Likewise.
19405 * resolv/gethnamaddr.c (_endhtent): Likewise.
19406 (_gethtent): Likewise.
19407 (ht_endhostent): Likewise.
19408 (gethostent): Likewise.
19409 (dns_service): Likewise.
19410 * stdlib/drand48.c (drand48): Likewise.
19411 * stdlib/lrand48.c (lrand48): Likewise.
19412 * stdlib/mrand48.c (mrand48): Likewise.
19413 * stdlib/rand.c (rand): Likewise.
19414 * stdlib/random.c (__random): Likewise.
19415 * stdlib/setenv.c (clearenv): Likewise.
19416 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19417 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19418 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19419 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19420 (__get_nprocs): Likewise.
19421 (__get_phys_pages): Likewise.
19422 (__get_avphys_pages): Likewise.
19423 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19424 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19425 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19426 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19427 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19428 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19429 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19430 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19431 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19432 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19433 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19434 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19435 * sysdeps/posix/clock.c (clock): Likewise.
19436 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19437 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19438 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19439 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19440 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19442 (__get_nprocs_conf): Likewise.
19443 (__get_phys_pages): Likewise.
19444 (__get_avphys_pages): Likewise.
19445 * time/clock.c (clock): Likewise.
19446 * time/tzset.c (__tzname_max): Likewise.
19448 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19450 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19451 (__bswap_32): Do not use "register".
19452 * crypt/crypt.c (_ufc_doit_r): Likewise.
19453 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19454 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19455 * gmon/gmon.c (__monstartup): Likewise.
19456 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19457 * hurd/hurdmalloc.c (more_memory): Likewise.
19458 (malloc): Likewise.
19460 (realloc): Likewise.
19461 (malloc_fork_prepare): Likewise.
19462 (malloc_fork_parent): Likewise.
19463 (malloc_fork_child): Likewise.
19464 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19465 (_svcauth_des): Likewise.
19466 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19467 * inet/inet_net.c (inet_network): Likewise.
19468 * inet/inet_netof.c (inet_netof): Likewise.
19469 * inet/rcmd.c (__validuser2_sa): Likewise.
19470 * io/fts.c (fts_open): Likewise.
19471 (fts_load): Likewise.
19472 (fts_close): Likewise.
19473 (fts_read): Likewise.
19474 (fts_children): Likewise.
19475 (fts_build): Likewise.
19476 (fts_stat): Likewise.
19477 (fts_sort): Likewise.
19478 (fts_alloc): Likewise.
19479 (fts_lfree): Likewise.
19480 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19481 (_IO_file_xsgetn): Likewise.
19482 (_IO_file_xsgetn_mmap): Likewise.
19483 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19484 (_IO_cookie_write): Likewise.
19485 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19486 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19487 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19488 * malloc/obstack.c (_obstack_begin): Likewise.
19489 (_obstack_begin_1): Likewise.
19490 (_obstack_newchunk): Likewise.
19491 (_obstack_allocated_p): Likewise.
19492 (obstack_free): Likewise.
19493 (_obstack_memory_used): Likewise.
19494 * misc/getttyent.c (getttynam): Likewise.
19495 (getttyent): Likewise.
19498 * misc/getusershell.c (initshells): Likewise.
19499 * misc/syslog.c (__vsyslog_chk): Likewise.
19500 * misc/ttyslot.c (ttyslot): Likewise.
19501 * nis/nis_hash.c (__nis_hash): Likewise.
19502 * posix/fnmatch_loop.c (FCT): Likewise.
19503 * posix/getconf.c (print_all): Likewise.
19505 * posix/getopt.c (exchange): Likewise.
19506 * posix/glob.c (globfree): Likewise.
19507 (prefix_array): Likewise.
19508 (__glob_pattern_type): Likewise.
19509 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19510 (NS_GET32): Likewise.
19511 (NS_PUT16): Likewise.
19512 (NS_PUT32): Likewise.
19513 * resolv/gethnamaddr.c (getanswer): Likewise.
19514 (gethostbyname2): Likewise.
19515 (gethostbyaddr): Likewise.
19516 (_gethtent): Likewise.
19517 (_gethtbyname2): Likewise.
19518 (_gethtbyaddr): Likewise.
19519 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19520 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19521 * resolv/res_init.c (__res_vinit): Likewise.
19522 (net_mask): Likewise.
19523 * resolv/res_mkquery.c (outchar): Likewise.
19525 * stdio-common/printf_fp.c (outchar): Likewise.
19527 * stdio-common/printf_fphex.c (outchar): Likewise.
19529 * stdio-common/printf_size.c (outchar): Likewise.
19531 * stdio-common/test_rdwr.c (main): Likewise.
19532 * stdio-common/tfformat.c (matches): Likewise.
19533 * stdio-common/vfprintf.c (outchar): Likewise.
19534 (printf_unknown): Likewise.
19535 (buffered_vfprintf): Likewise.
19536 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19537 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19538 (ReadFile): Likewise.
19539 * stdlib/qsort.c (SWAP): Likewise.
19540 (_quicksort): Likewise.
19541 * stdlib/setenv.c (__add_to_environ): Likewise.
19542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19543 * stdlib/strtol_l.c (__strtol_l): Likewise.
19544 * stdlib/tst-strtod.c (main): Likewise.
19545 * stdlib/tst-strtol.c (main): Likewise.
19546 * stdlib/tst-strtoll.c (main): Likewise.
19547 * string/bits/string2.h (__strcmp_cc): Likewise.
19548 (__strcmp_cg): Likewise.
19549 (__strcspn_c1): Likewise.
19550 (__strcspn_c2): Likewise.
19551 (__strcspn_c3): Likewise.
19552 (__strspn_c1): Likewise.
19553 (__strspn_c2): Likewise.
19554 (__strspn_c3): Likewise.
19555 (__strsep_1c): Likewise.
19556 (__strsep_2c): Likewise.
19557 (__strsep_3c): Likewise.
19558 * string/memccpy.c (__memccpy): Likewise.
19559 * string/stpcpy.c (__stpcpy): Likewise.
19560 * string/strcmp.c (strcmp): Likewise.
19561 * string/strrchr.c (strrchr): Likewise.
19562 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19564 * sysdeps/mach/hurd/getcwd.c
19565 (_hurd_canonicalize_directory_name_internal): Likewise.
19566 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19567 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19568 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19569 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19570 Likewise, in both definitions.
19571 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19573 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19574 64] (__bswap_64): Likewise.
19575 * time/test_time.c (main): Likewise.
19576 * time/tzfile.c (__tzfile_read): Likewise.
19577 (__tzfile_compute): Likewise.
19578 * time/tzset.c (__tzset_parse_tz): Likewise.
19579 (tzset_internal): Likewise.
19580 (compute_change): Likewise.
19581 * wcsmbs/wcscat.c (__wcscat): Likewise.
19582 * wcsmbs/wcschr.c (wcschr): Likewise.
19583 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19584 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19585 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19586 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19587 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19588 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19589 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19590 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19591 * wcsmbs/wmemset.c (wmemset): Likewise.
19593 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19595 * scripts/config.guess: Update to version 2013-05-16.
19596 * scripts/config.sub: Update to version 2013-04-24.
19597 * scripts/install-sh: Update to version 2011-11-20.07.
19598 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19599 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19601 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19603 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19604 * elf/sln.c: Likewise.
19605 * hurd/hurd/ioctl.h: Likewise.
19606 * hurd/hurdmalloc.c: Likewise.
19607 * hurd/xattr.c: Likewise.
19608 * include/shlib-compat.h: Likewise.
19609 * inet/ruserpass.c: Likewise.
19610 * libio/iofgets_u.c: Likewise.
19611 * libio/iofgetws_u.c: Likewise.
19612 * locale/programs/ld-identification.c: Likewise.
19613 * locale/programs/ld-time.c: Likewise.
19614 * mach/msg-destroy.c: Likewise.
19615 * nss/nss_files/files-netgrp.c: Likewise.
19616 * resolv/res_data.c: Likewise.
19617 * soft-fp/op-1.h: Likewise.
19618 * soft-fp/op-2.h: Likewise.
19619 * soft-fp/op-4.h: Likewise.
19620 * soft-fp/op-common.h: Likewise.
19621 * stdio-common/printf_fphex.c: Likewise.
19622 * stdlib/strtod_l.c: Likewise.
19623 * sunrpc/rpc/clnt.h: Likewise.
19624 * sysdeps/generic/framestate.c: Likewise.
19625 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19626 * sysdeps/i386/bsd-setjmp.S: Likewise.
19627 * sysdeps/i386/__longjmp.S: Likewise.
19628 * sysdeps/i386/setjmp.S: Likewise.
19629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19630 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19647 * sysdeps/ieee754/support.c: Likewise.
19648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19649 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19650 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19651 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19652 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19653 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19654 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19655 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19656 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19657 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19658 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19659 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19660 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19661 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19662 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19663 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19664 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19667 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19669 * posix/transbug.c: Remove executable mode.
19671 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19673 * crypt/speeds.c: Remove trailing whitespace.
19674 * dlfcn/default.c: Likewise.
19675 * elf/ifuncdep2.c: Likewise.
19676 * elf/ifuncmain1.c: Likewise.
19677 * elf/ifuncmain1vis.c: Likewise.
19678 * elf/testobj.h: Likewise.
19679 * elf/tst-stackguard1.c: Likewise.
19680 * gmon/sys/gmon.h: Likewise.
19681 * hurd/hurdmsg.c: Likewise.
19682 * hurd/new-fd.c: Likewise.
19683 * hurd/ports-get.c: Likewise.
19684 * iconvdata/ibm1008_420.c: Likewise.
19685 * inet/tst-getni1.c: Likewise.
19686 * inet/tst-getni2.c: Likewise.
19687 * libio/ioungetc.c: Likewise.
19688 * libio/wfiledoalloc.c: Likewise.
19689 * manual/libm-err-tab.pl: Likewise.
19690 * math/w_dremf.c: Likewise.
19691 * misc/ftruncate.c: Likewise.
19692 * posix/bug-glob2.c: Likewise.
19693 * posix/tst-pcre.c: Likewise.
19694 * posix/wait4.c: Likewise.
19695 * resolv/README: Likewise.
19696 * resolv/res_debug.h: Likewise.
19697 * resolv/tst-inet_ntop.c: Likewise.
19698 * setjmp/bug269-setjmp.c: Likewise.
19699 * soft-fp/extended.h: Likewise.
19700 * soft-fp/op-1.h: Likewise.
19701 * soft-fp/op-2.h: Likewise.
19702 * soft-fp/op-4.h: Likewise.
19703 * soft-fp/op-8.h: Likewise.
19704 * soft-fp/testit.c: Likewise.
19705 * stdio-common/bug16.c: Likewise.
19706 * stdlib/random.c: Likewise.
19707 * sunrpc/rpcsvc/rquota.x: Likewise.
19708 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19709 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19711 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19712 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19713 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19714 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19715 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19716 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19717 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19718 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19737 * sysdeps/ieee754/s_lib_version.c: Likewise.
19738 * sysdeps/mach/hurd/check_fds.c: Likewise.
19739 * sysdeps/mach/hurd/getsockname.c: Likewise.
19740 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19741 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19742 * sysdeps/powerpc/bits/link.h: Likewise.
19743 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19744 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19745 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19746 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19747 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19748 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19749 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19750 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19751 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19752 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19753 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19754 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19757 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19758 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19760 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19762 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19763 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19764 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19765 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19766 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19767 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19768 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19769 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19770 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19772 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19777 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19778 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19779 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19783 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19784 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19785 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19786 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19787 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19788 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19789 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19790 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19791 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19792 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19795 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19796 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19797 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19798 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19799 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19800 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19801 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19802 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19803 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19804 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19805 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19806 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19807 * sysdeps/powerpc/sysdep.h: Likewise.
19808 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19809 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19810 * sysdeps/sh/dl-trampoline.S: Likewise.
19811 * sysdeps/sh/memset.S: Likewise.
19812 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19813 * sysdeps/sh/strlen.S: Likewise.
19814 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19815 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19816 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19817 * sysdeps/sparc/sparc32/rem.S: Likewise.
19818 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19819 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19820 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19821 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19822 * sysdeps/sparc/sparc32/urem.S: Likewise.
19823 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19824 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19825 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19826 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19827 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19828 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19829 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19830 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19831 * sysdeps/unix/bsd/times.c: Likewise.
19832 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19833 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19838 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19839 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19840 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19841 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19842 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19843 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19844 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19845 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19846 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19847 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19849 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19850 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19851 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19852 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19853 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19854 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19855 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19856 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19857 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19858 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19859 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19860 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19861 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19862 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19863 * sysdeps/x86_64/strcspn.S: Likewise.
19865 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19867 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19868 generated file. Regenerate properly from gen-translit.pl.
19869 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19870 locale/C-translit.h.
19872 2013-06-05 Andreas Schwab <schwab@suse.de>
19875 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19876 week as 6 instead of -1.
19877 * time/tst-strptime.c (day_tests): Add test case.
19879 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19881 * sysdeps/generic/math_private.h
19882 (libc_feholdexcept_setround_53bit): Replace with
19883 libc_feholdsetround_53bit.
19884 (libc_feupdateenv_53bit): Replace with
19885 libc_feresetround_53bit.
19886 (SET_RESTORE_ROUND_53BIT): Adjust.
19888 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19890 * string/test-strchrnul.c: Add copyright header.
19892 * posix/tst-getaddrinfo4.c: Increase test timeout.
19894 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19897 * math/libm-test.inc (MAX_EXP): Remove
19899 (ulp): Use MIN_EXP - MANT_DIG.
19900 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19902 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19904 * po/be.po: Revert last change.
19905 * po/zh_CN.po: Likewise.
19906 * po/header.pot: Likewise.
19908 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19910 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19911 link-libc-deps to empty as target-specific variable.
19912 * Makerules (link-libc-args): New variable.
19913 (libc-for-link): Likewise.
19914 (link-libc-deps): Likewise.
19915 (lib%.so): Depend on $(link-libc-deps). Link with
19917 (build-module): Link with $(link-libc-args).
19918 (build-module-asneeded): Likewise.
19919 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19921 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19922 target-specific variable.
19923 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19924 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19925 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19927 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19929 ($(objpfx)libpcprofile.so): Likewise.
19930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19932 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19933 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19934 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19936 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19937 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19938 * login/Makefile ($(objpfx)libutil.so): Likewise.
19939 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19940 * math/Makefile ($(objpfx)libm.so): Likewise.
19941 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19942 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19943 variable instead of depending directly on libc.
19944 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19945 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19947 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19949 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19950 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19951 ($(objpfx)libanl.so): Likewise.
19952 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19954 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19956 * sysdeps/i386/fpu/Makefile: Remove file.
19957 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19958 ($(objpfx)libm.so): Remove dependency on ld.so.
19960 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19963 * nis/yp_xdr.c (XDRMAXNAME): Define.
19964 (XDRMAXRECORD): Define.
19965 (xdr_domainname): Use XDRMAXNAME.
19966 (xdr_mapname): Likewise.
19967 (xdr_peername): Likewise.
19968 (xdr_keydat): Use XDRMAXRECORD.
19969 (xdr_valdat): Likewise.
19971 2013-05-30 Jeff Law <law@redhat.com>
19974 * manual/errno.texi (ESTALE): Update to account for more than
19975 just NFS file systems.
19976 * sysdeps/gnu/errlist.c: Regenerated.
19978 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19981 * elf/Makefile (tests): Add tst-null-argv.
19982 (modules-names): Add tst-null-argv-lib.
19983 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19984 (tst-null-argv-ENV): Set environment for tst-null-argv.
19985 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19986 (RTLD_PROGNAME): New macro.
19987 * elf/tst-null-argv.c: New test case.
19988 * elf/tst-null-argv-lib.c: Library for test case.
19989 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19990 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19991 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19992 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19993 * elf/dl-init.c (call_init): Likewise.
19994 (_dl_init): Likewise.
19995 * elf/dl-load.c (print_search_path): Likewise.
19996 (_dl_map_object): Likewise.
19997 * elf/dl-lookup.c (do_lookup_x): Likewise.
19998 (add_dependency): Likewise.
19999 (_dl_lookup_symbol_x): Likewise.
20000 (_dl_debug_bindings): Likewise.
20001 * elf/dl-open.c (_dl_show_scope): Likewise.
20002 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20003 * elf/dl-version.c (match_symbol): Likewise.
20004 (_dl_check_map_versions): Likewise.
20005 * elf/rtld.c (dl_main): Likewise.
20006 (print_unresolved): Use RTLD_PROGNAME.
20007 (print_missing_version): Likewise.
20008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20009 (elf_machine_rela): Likewise.
20010 * sysdeps/powerpc/powerpc32/dl-machine.c
20011 (__process_machine_rela): Likewise.
20012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20014 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20018 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20021 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20025 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20027 * po/be.po: Add descriptive title.
20028 * po/zh_CN.po: Likewise.
20029 * po/header.pot: Likewise.
20031 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20033 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20035 (enlarge_archive): Likewise.
20037 2013-05-28 Ben North <ben@redfrontdoor.org>
20039 * manual/arith.texi (frexp): It is the magnitude of the return
20040 value which lies in [0.5, 1), not the return value itself.
20042 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20046 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20048 * stdio-common/bug26.c (main): Correct fscanf template.
20050 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20051 declare _dl_skip_args.
20053 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20056 * manual/platform.texi: Add missing @end deftypefun.
20058 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20061 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20062 bit of mantissa of 2^16382.
20063 * math/libm-test.inc (hypot_test_data): Add more tests.
20065 * math/libm-test.inc: Add drem and pow10 to list of tested
20067 (pow10_test): New function.
20068 (drem_test): Likewise.
20069 (drem_test_tonearest): Likewise.
20070 (drem_test_towardzero): Likewise.
20071 (drem_test_downward): Likewise.
20072 (drem_test_upward): Likewise.
20073 (main): Call the new functions.
20075 * math/libm-test.inc (finite_test_data): Remove.
20076 (finite_test): Run tests from isfinite_test_data.
20077 (gamma_test_data): Remove.
20078 (gamma_test): Run tests from lgamma_test_data.
20079 * sysdeps/i386/fpu/libm-test-ulps: Update.
20080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20082 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20084 * manual/platform.texi: Add PowerPC PPR function set documentation.
20085 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20088 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20090 * math/libm-test.inc (MAX_EXP): Define.
20092 (ulp): New function.
20093 (check_float_internal): Use ULPDIFF.
20094 (cpow_test): Disable failing test.
20095 (check_ulp): Test ulp() implemetnation.
20096 (main): Call check_ulp before starting tests.
20098 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20100 * math/gen-libm-test.pl (generate_testfile): Do not handle
20101 START_DATA and END_DATA.
20102 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20104 (acos_tonearest_test_data): Likewise.
20105 (acos_towardzero_test_data): Likewise.
20106 (acos_downward_test_data): Likewise.
20107 (acos_upward_test_data): Likewise.
20108 (acosh_test_data): Likewise.
20109 (asin_test_data): Likewise.
20110 (asin_tonearest_test_data): Likewise.
20111 (asin_towardzero_test_data): Likewise.
20112 (asin_downward_test_data): Likewise.
20113 (asin_upward_test_data): Likewise.
20114 (asinh_test_data): Likewise.
20115 (atan_test_data): Likewise.
20116 (atanh_test_data): Likewise.
20117 (atan2_test_data): Likewise.
20118 (cabs_test_data): Likewise.
20119 (cacos_test_data): Likewise.
20120 (cacosh_test_data): Likewise.
20121 (carg_test_data): Likewise.
20122 (casin_test_data): Likewise.
20123 (casinh_test_data): Likewise.
20124 (catan_test_data): Likewise.
20125 (catanh_test_data): Likewise.
20126 (cbrt_test_data): Likewise.
20127 (ccos_test_data): Likewise.
20128 (ccosh_test_data): Likewise.
20129 (ceil_test_data): Likewise.
20130 (cexp_test_data): Likewise.
20131 (cimag_test_data): Likewise.
20132 (clog_test_data): Likewise.
20133 (clog10_test_data): Likewise.
20134 (conj_test_data): Likewise.
20135 (copysign_test_data): Likewise.
20136 (cos_test_data): Likewise.
20137 (cos_tonearest_test_data): Likewise.
20138 (cos_towardzero_test_data): Likewise.
20139 (cos_downward_test_data): Likewise.
20140 (cos_upward_test_data): Likewise.
20141 (cosh_test_data): Likewise.
20142 (cosh_tonearest_test_data): Likewise.
20143 (cosh_towardzero_test_data): Likewise.
20144 (cosh_downward_test_data): Likewise.
20145 (cosh_upward_test_data): Likewise.
20146 (cpow_test_data): Likewise.
20147 (cproj_test_data): Likewise.
20148 (creal_test_data): Likewise.
20149 (csin_test_data): Likewise.
20150 (csinh_test_data): Likewise.
20151 (csqrt_test_data): Likewise.
20152 (ctan_test_data): Likewise.
20153 (ctan_tonearest_test_data): Likewise.
20154 (ctan_towardzero_test_data): Likewise.
20155 (ctan_downward_test_data): Likewise.
20156 (ctan_upward_test_data): Likewise.
20157 (ctanh_test_data): Likewise.
20158 (ctanh_tonearest_test_data): Likewise.
20159 (ctanh_towardzero_test_data): Likewise.
20160 (ctanh_downward_test_data): Likewise.
20161 (ctanh_upward_test_data): Likewise.
20162 (erf_test_data): Likewise.
20163 (erfc_test_data): Likewise.
20164 (exp_test_data): Likewise.
20165 (exp_tonearest_test_data): Likewise.
20166 (exp_towardzero_test_data): Likewise.
20167 (exp_downward_test_data): Likewise.
20168 (exp_upward_test_data): Likewise.
20169 (exp10_test_data): Likewise.
20170 (exp2_test_data): Likewise.
20171 (expm1_test_data): Likewise.
20172 (fabs_test_data): Likewise.
20173 (fdim_test_data): Likewise.
20174 (finite_test_data): Likewise.
20175 (floor_test_data): Likewise.
20176 (fma_test_data): Likewise.
20177 (fma_towardzero_test_data): Likewise.
20178 (fma_downward_test_data): Likewise.
20179 (fma_upward_test_data): Likewise.
20180 (fmax_test_data): Likewise.
20181 (fmin_test_data): Likewise.
20182 (fmod_test_data): Likewise.
20183 (fpclassify_test_data): Likewise.
20184 (frexp_test_data): Likewise.
20185 (gamma_test_data): Likewise.
20186 (hypot_test_data): Likewise.
20187 (ilogb_test_data): Likewise.
20188 (isfinite_test_data): Likewise.
20189 (isgreater_test_data): Likewise.
20190 (isgreaterequal_test_data): Likewise.
20191 (isinf_test_data): Likewise.
20192 (isless_test_data): Likewise.
20193 (islessequal_test_data): Likewise.
20194 (islessgreater_test_data): Likewise.
20195 (isnan_test_data): Likewise.
20196 (isnormal_test_data): Likewise.
20197 (issignaling_test_data): Likewise.
20198 (isunordered_test_data): Likewise.
20199 (j0_test_data): Likewise.
20200 (j1_test_data): Likewise.
20201 (jn_test_data): Likewise.
20202 (ldexp_test_data): Likewise.
20203 (lgamma_test_data): Likewise.
20204 (lrint_test_data): Likewise.
20205 (lrint_tonearest_test_data): Likewise.
20206 (lrint_towardzero_test_data): Likewise.
20207 (lrint_downward_test_data): Likewise.
20208 (lrint_upward_test_data): Likewise.
20209 (llrint_test_data): Likewise.
20210 (llrint_tonearest_test_data): Likewise.
20211 (llrint_towardzero_test_data): Likewise.
20212 (llrint_downward_test_data): Likewise.
20213 (llrint_upward_test_data): Likewise.
20214 (log_test_data): Likewise.
20215 (log10_test_data): Likewise.
20216 (log1p_test_data): Likewise.
20217 (log2_test_data): Likewise.
20218 (logb_test_data): Likewise.
20219 (logb_downward_test_data): Likewise.
20220 (lround_test_data): Likewise.
20221 (llround_test_data): Likewise.
20222 (modf_test_data): Likewise.
20223 (nearbyint_test_data): Likewise.
20224 (nextafter_test_data): Likewise.
20225 (nexttoward_test_data): Likewise.
20226 (pow_test_data): Likewise.
20227 (pow_tonearest_test_data): Likewise.
20228 (pow_towardzero_test_data): Likewise.
20229 (pow_downward_test_data): Likewise.
20230 (pow_upward_test_data): Likewise.
20231 (remainder_test_data): Likewise.
20232 (remainder_tonearest_test_data): Likewise.
20233 (remainder_towardzero_test_data): Likewise.
20234 (remainder_downward_test_data): Likewise.
20235 (remainder_upward_test_data): Likewise.
20236 (remquo_test_data): Likewise.
20237 (rint_test_data): Likewise.
20238 (rint_tonearest_test_data): Likewise.
20239 (rint_towardzero_test_data): Likewise.
20240 (rint_downward_test_data): Likewise.
20241 (rint_upward_test_data): Likewise.
20242 (round_test_data): Likewise.
20243 (scalb_test_data): Likewise.
20244 (scalbn_test_data): Likewise.
20245 (scalbln_test_data): Likewise.
20246 (signbit_test_data): Likewise.
20247 (sin_test_data): Likewise.
20248 (sin_tonearest_test_data): Likewise.
20249 (sin_towardzero_test_data): Likewise.
20250 (sin_downward_test_data): Likewise.
20251 (sin_upward_test_data): Likewise.
20252 (sincos_test_data): Likewise.
20253 (sinh_test_data): Likewise.
20254 (sinh_tonearest_test_data): Likewise.
20255 (sinh_towardzero_test_data): Likewise.
20256 (sinh_downward_test_data): Likewise.
20257 (sinh_upward_test_data): Likewise.
20258 (sqrt_test_data): Likewise.
20259 (tan_test_data): Likewise.
20260 (tan_tonearest_test_data): Likewise.
20261 (tan_towardzero_test_data): Likewise.
20262 (tan_downward_test_data): Likewise.
20263 (tan_upward_test_data): Likewise.
20264 (tanh_test_data): Likewise.
20265 (tgamma_test_data): Likewise.
20266 (trunc_test_data): Likewise.
20267 (y0_test_data): Likewise.
20268 (y1_test_data): Likewise.
20269 (yn_test_data): Likewise.
20270 (significand_test_data): Likewise.
20272 * math/gen-libm-test.pl (@functions): Remove variable.
20273 (generate_testfile): Don't handle START and END lines.
20274 * math/libm-test.inc (START): New macro.
20276 (END_COMPLEX): Likewise.
20277 (acos_test): Use END macro without arguments.
20278 (acos_test_tonearest): Likewise.
20279 (acos_test_towardzero): Likewise.
20280 (acos_test_downward): Likewise.
20281 (acos_test_upward): Likewise.
20282 (acosh_test): Likewise.
20283 (asin_test): Likewise.
20284 (asin_test_tonearest): Likewise.
20285 (asin_test_towardzero): Likewise.
20286 (asin_test_downward): Likewise.
20287 (asin_test_upward): Likewise.
20288 (asinh_test): Likewise.
20289 (atan_test): Likewise.
20290 (atanh_test): Likewise.
20291 (atan2_test): Likewise.
20292 (cabs_test): Likewise.
20293 (cacos_test): Use END_COMPLEX macro without arguments.
20294 (cacosh_test): Likewise.
20295 (carg_test): Use END macro without arguments.
20296 (casin_test): Use END_COMPLEX macro without arguments.
20297 (casinh_test): Likewise.
20298 (catan_test): Likewise.
20299 (catanh_test): Likewise.
20300 (cbrt_test): Use END macro without arguments.
20301 (ccos_test): Use END_COMPLEX macro without arguments.
20302 (ccosh_test): Likewise.
20303 (ceil_test): Use END macro without arguments.
20304 (cexp_test): Use END_COMPLEX macro without arguments.
20305 (cimag_test): Use END macro without arguments.
20306 (clog_test): Use END_COMPLEX macro without arguments.
20307 (clog10_test): Likewise.
20308 (conj_test): Likewise.
20309 (copysign_test): Use END macro without arguments.
20310 (cos_test): Likewise.
20311 (cos_test_tonearest): Likewise.
20312 (cos_test_towardzero): Likewise.
20313 (cos_test_downward): Likewise.
20314 (cos_test_upward): Likewise.
20315 (cosh_test): Likewise.
20316 (cosh_test_tonearest): Likewise.
20317 (cosh_test_towardzero): Likewise.
20318 (cosh_test_downward): Likewise.
20319 (cosh_test_upward): Likewise.
20320 (cpow_test): Use END_COMPLEX macro without arguments.
20321 (cproj_test): Likewise.
20322 (creal_test): Use END macro without arguments.
20323 (csin_test): Use END_COMPLEX macro without arguments.
20324 (csinh_test): Likewise.
20325 (csqrt_test): Likewise.
20326 (ctan_test): Likewise.
20327 (ctan_test_tonearest): Likewise.
20328 (ctan_test_towardzero): Likewise.
20329 (ctan_test_downward): Likewise.
20330 (ctan_test_upward): Likewise.
20331 (ctanh_test): Likewise.
20332 (ctanh_test_tonearest): Likewise.
20333 (ctanh_test_towardzero): Likewise.
20334 (ctanh_test_downward): Likewise.
20335 (ctanh_test_upward): Likewise.
20336 (erf_test): Use END macro without arguments.
20337 (erfc_test): Likewise.
20338 (exp_test): Likewise.
20339 (exp_test_tonearest): Likewise.
20340 (exp_test_towardzero): Likewise.
20341 (exp_test_downward): Likewise.
20342 (exp_test_upward): Likewise.
20343 (exp10_test): Likewise.
20344 (exp2_test): Likewise.
20345 (expm1_test): Likewise.
20346 (fabs_test): Likewise.
20347 (fdim_test): Likewise.
20348 (finite_test): Likewise.
20349 (floor_test): Likewise.
20350 (fma_test): Likewise.
20351 (fma_test_towardzero): Likewise.
20352 (fma_test_downward): Likewise.
20353 (fma_test_upward): Likewise.
20354 (fmax_test): Likewise.
20355 (fmin_test): Likewise.
20356 (fmod_test): Likewise.
20357 (fpclassify_test): Likewise.
20358 (frexp_test): Likewise.
20359 (gamma_test): Likewise.
20360 (hypot_test): Likewise.
20361 (ilogb_test): Likewise.
20362 (isfinite_test): Likewise.
20363 (isgreater_test): Likewise.
20364 (isgreaterequal_test): Likewise.
20365 (isinf_test): Likewise.
20366 (isless_test): Likewise.
20367 (islessequal_test): Likewise.
20368 (islessgreater_test): Likewise.
20369 (isnan_test): Likewise.
20370 (isnormal_test): Likewise.
20371 (issignaling_test): Likewise.
20372 (isunordered_test): Likewise.
20373 (j0_test): Likewise.
20374 (j1_test): Likewise.
20375 (jn_test): Likewise.
20376 (ldexp_test): Likewise.
20377 (lgamma_test): Likewise.
20378 (lrint_test): Likewise.
20379 (lrint_test_tonearest): Likewise.
20380 (lrint_test_towardzero): Likewise.
20381 (lrint_test_downward): Likewise.
20382 (lrint_test_upward): Likewise.
20383 (llrint_test): Likewise.
20384 (llrint_test_tonearest): Likewise.
20385 (llrint_test_towardzero): Likewise.
20386 (llrint_test_downward): Likewise.
20387 (llrint_test_upward): Likewise.
20388 (log_test): Likewise.
20389 (log10_test): Likewise.
20390 (log1p_test): Likewise.
20391 (log2_test): Likewise.
20392 (logb_test): Likewise.
20393 (logb_test_downward): Likewise.
20394 (lround_test): Likewise.
20395 (llround_test): Likewise.
20396 (modf_test): Likewise.
20397 (nearbyint_test): Likewise.
20398 (nextafter_test): Likewise.
20399 (nexttoward_test): Likewise.
20400 (pow_test): Likewise.
20401 (pow_test_tonearest): Likewise.
20402 (pow_test_towardzero): Likewise.
20403 (pow_test_downward): Likewise.
20404 (pow_test_upward): Likewise.
20405 (remainder_test): Likewise.
20406 (remainder_test_tonearest): Likewise.
20407 (remainder_test_towardzero): Likewise.
20408 (remainder_test_downward): Likewise.
20409 (remainder_test_upward): Likewise.
20410 (remquo_test): Likewise.
20411 (rint_test): Likewise.
20412 (rint_test_tonearest): Likewise.
20413 (rint_test_towardzero): Likewise.
20414 (rint_test_downward): Likewise.
20415 (rint_test_upward): Likewise.
20416 (round_test): Likewise.
20417 (scalb_test): Likewise.
20418 (scalbn_test): Likewise.
20419 (scalbln_test): Likewise.
20420 (signbit_test): Likewise.
20421 (sin_test): Likewise.
20422 (sin_test_tonearest): Likewise.
20423 (sin_test_towardzero): Likewise.
20424 (sin_test_downward): Likewise.
20425 (sin_test_upward): Likewise.
20426 (sincos_test): Likewise.
20427 (sinh_test): Likewise.
20428 (sinh_test_tonearest): Likewise.
20429 (sinh_test_towardzero): Likewise.
20430 (sinh_test_downward): Likewise.
20431 (sinh_test_upward): Likewise.
20432 (sqrt_test): Likewise.
20433 (tan_test): Likewise.
20434 (tan_test_tonearest): Likewise.
20435 (tan_test_towardzero): Likewise.
20436 (tan_test_downward): Likewise.
20437 (tan_test_upward): Likewise.
20438 (tanh_test): Likewise.
20439 (tgamma_test): Likewise.
20440 (trunc_test): Likewise.
20441 (y0_test): Likewise.
20442 (y1_test): Likewise.
20443 (yn_test): Likewise.
20444 (significand_test): Likewise.
20446 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20449 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20451 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20454 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20455 __ppc_mdoio and __ppc_mdoom.
20456 * manual/platform.texi: Document new functions __ppc_yield,
20457 __ppc_mdoio and __ppc_mdoom.
20459 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20461 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20462 (main): Mention "tls" pseudo-hwcap is legacy.
20463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20465 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20467 * math/gen-libm-test.pl (parse_args): Output only string of
20468 arguments as text for test name, not full call or descriptions of
20469 tests for extra outputs.
20470 (generate_testfile): Do not pass function name to parse_args.
20471 Generate this_func variable from START.
20472 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20474 (struct test_ff_f_data): Likewise.
20475 (test_ff_f_data_nexttoward): Likewise.
20476 (struct test_fi_f_data): Likewise.
20477 (struct test_fl_f_data): Likewise.
20478 (struct test_if_f_data): Likewise.
20479 (struct test_fff_f_data): Likewise.
20480 (struct test_c_f_data): Likewise.
20481 (struct test_f_f1_data): Likewise. Remove field extra_name.
20482 (struct test_fF_f1_data): Likewise.
20483 (struct test_ffI_f1_data): Likewise.
20484 (struct test_c_c_data): Rename test_name field to arg_str.
20485 (struct test_cc_c_data): Likewise.
20486 (struct test_f_i_data): Likewise.
20487 (struct test_ff_i_data): Likewise.
20488 (struct test_f_l_data): Likewise.
20489 (struct test_f_L_data): Likewise.
20490 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20492 (COMMON_TEST_SETUP): New macro.
20493 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20494 (COMMON_TEST_CLEANUP): Likewise.
20495 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20496 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20498 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20499 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20501 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20502 (RUN_TEST_fff_f): Take argument string. Call new setup and
20504 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20505 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20507 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20508 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20510 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20511 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20513 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20514 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20516 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20517 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20519 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20520 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20522 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20523 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20525 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20526 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20528 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20529 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20531 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20532 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20534 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20535 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20537 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20538 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20540 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20541 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20543 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20544 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20546 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20547 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20549 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20551 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20553 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20554 to _sifields.sigfault.
20555 (si_addr_lsb): Define new macro.
20556 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20557 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20558 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20560 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20563 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20565 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20567 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20568 loading the domain.
20570 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20572 * math/gen-libm-test.pl (parse_args): Do not include expected
20573 result in test name.
20574 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20576 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20577 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20578 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20581 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20583 * benchtests/Makefile: Sort function entries.
20585 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20586 tanh, asinh, acosh, atanh.
20587 * benchtests/acos-inputs: New file.
20588 * benchtests/acosh-inputs: New file.
20589 * benchtests/asin-inputs: New file.
20590 * benchtests/asinh-inputs: New file.
20591 * benchtests/atanh-inputs: New file.
20592 * benchtests/cosh-inputs: New file.
20593 * benchtests/log-inputs: New file.
20594 * benchtests/sinh-inputs: New file.
20595 * benchtests/tanh-inputs: New file.
20597 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20600 * posix/tst-getaddrinfo4.c: New test.
20601 * posix/Makefile (tests): Add it.
20603 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20606 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20607 when no services were used.
20608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20609 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20611 2013-05-21 Andreas Schwab <schwab@suse.de>
20614 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20615 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20617 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20618 redundant variable declarations and reallocation of buffer when
20619 parsing as IPv6 address. Always set NSS status when called from
20620 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20621 buffer too small. Correct computation of needed size.
20622 * nss/Makefile (tests): Add test-digits-dots.
20623 * nss/test-digits-dots.c: New test.
20625 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20627 * benchtests/Makefile: Remove instructions for adding
20629 * benchtests/README: New file to explain how to execute and
20630 enhance the benchmark tests.
20632 2013-05-21 Andreas Schwab <schwab@suse.de>
20635 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20636 * setjmp/tst-sigsetjmp.c: New test.
20638 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20640 * sysdeps/x86_64/memset.S (memset): New implementation.
20641 (__bzero): Likewise.
20642 (__memset_tail): New function.
20644 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20646 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20647 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20648 __memcpy_sse2_unaligned ifunc selection.
20649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20650 Add memcpy-sse2-unaligned.S.
20651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20652 Add: __memcpy_sse2_unaligned.
20654 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20657 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20658 math_force_eval before restoring floating-point envrionment.
20659 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20662 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20664 (__nearbyintl): Use math_force_eval before restoring
20665 floating-point environment.
20666 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20668 * math/gen-libm-test.pl (special_functions): Remove.
20669 (parse_args): Don't handle TEST_extra. Handle functions with no
20671 * math/libm-test.inc (struct test_sincos_data): Replace with
20672 struct test_fFF_11_data.
20673 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20674 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20675 (sincos_test_data): Change element type to struct
20676 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20677 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20678 RUN_TEST_LOOP_sincos.
20679 * math/README.libm-test: Don't mention special handling of
20680 individual functions.
20681 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20682 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20683 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20685 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20688 * math/gen-libm-test.pl (get_variable): Remove function.
20689 (parse_args): Don't show pointer parameters to call in test
20690 names. Use "extra output N" in test names for extra outputs
20691 rather than naming variables.
20693 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20696 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20697 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20698 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20700 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20702 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20705 * math/gen-libm-test.pl (@tests): Remove variable.
20706 ($count): Likewise.
20707 (new_test): Remove function.
20708 (show_exceptions): New function.
20709 (special_functions): Use show_exceptions instead of new_test.
20710 (parse_args): Likewise.
20711 (generate_testfile): Pass only function name in generated call to
20712 print_max_error or print_complex_max_error.
20713 (get_ulps): Do not handle complex tests specially.
20714 (output_test): Rename to ...
20715 (get_all_ulps_for_test): ... this. Return a string rather than
20716 printing to a file. Require ulps to be present.
20717 (output_ulps): Generate arrays rather than #defines.
20718 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20719 (struct ulp_data): New type.
20720 (BUILD_COMPLEX_ULP): Remove macro.
20721 (compare_ulp_data): New function.
20722 (find_ulps): Likewise.
20723 (find_test_ulps): Likewise.
20724 (find_function_ulps): Likewise.
20725 (find_complex_function_ulps): Likewise.
20726 (print_max_error): Determine allowed ulps using
20727 find_function_ulps.
20728 (print_complex_max_error): Determine allowed ulps using
20729 find_complex_function_ulps.
20730 (check_float_internal): Determine max ulps using find_test_ulps.
20731 (check_float): Do not take max_ulp parameter. Update call to
20732 check_float_internal.
20733 (check_complex): Likewise.
20734 (check_int): Do not take max_ulp parameter.
20735 (check_long): Likewise.
20736 (check_bool): Likewise.
20737 (check_longlong): Likewise.
20738 (struct test_f_f_data): Remove max_ulp field.
20739 (struct test_ff_f_data): Likewise.
20740 (struct test_ff_f_data_nexttoward): Likewise.
20741 (struct test_fi_f_data): Likewise.
20742 (struct test_fl_f_data): Likewise.
20743 (struct test_if_f_data): Likewise.
20744 (struct test_fff_f_data): Likewise.
20745 (struct test_c_f_data): Likewise.
20746 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20747 (struct test_fF_f1_data): Likewise.
20748 (struct test_ffI_f1_data): Likewise.
20749 (struct test_c_c_data): Remove max_ulp field.
20750 (struct test_cc_c_data): Likewise.
20751 (struct test_f_i_data): Likewise.
20752 (struct test_ff_i_data): Likewise.
20753 (struct test_f_l_data): Likewise.
20754 (struct test_f_L_data): Likewise.
20755 (struct test_sincos_data): Likewise.
20756 (RUN_TEST_f_f): Do not handle ulps.
20757 (RUN_TEST_LOOP_f_f): Likewise.
20758 (RUN_TEST_2_f): Likewise.
20759 (RUN_TEST_LOOP_2_f): Likewise.
20760 (RUN_TEST_fff_f): Likewise.
20761 (RUN_TEST_LOOP_fff_f): Likewise.
20762 (RUN_TEST_c_f): Likewise.
20763 (RUN_TEST_LOOP_c_f): Likewise.
20764 (RUN_TEST_f_f1): Likewise.
20765 (RUN_TEST_LOOP_f_f1): Likewise.
20766 (RUN_TEST_fF_f1): Likewise.
20767 (RUN_TEST_LOOP_fF_f1): Likewise.
20768 (RUN_TEST_fI_f1): Likewise.
20769 (RUN_TEST_LOOP_fI_f1): Likewise.
20770 (RUN_TEST_ffI_f1): Likewise.
20771 (RUN_TEST_LOOP_ffI_f1): Likewise.
20772 (RUN_TEST_c_c): Likewise.
20773 (RUN_TEST_LOOP_c_c): Likewise.
20774 (RUN_TEST_cc_c): Likewise.
20775 (RUN_TEST_LOOP_cc_c): Likewise.
20776 (RUN_TEST_f_i): Likewise.
20777 (RUN_TEST_LOOP_f_i): Likewise.
20778 (RUN_TEST_f_i_tg): Likewise.
20779 (RUN_TEST_LOOP_f_i_tg): Likewise.
20780 (RUN_TEST_ff_i_tg): Likewise.
20781 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20782 (RUN_TEST_f_b): Likewise.
20783 (RUN_TEST_LOOP_f_b): Likewise.
20784 (RUN_TEST_f_b_tg): Likewise.
20785 (RUN_TEST_LOOP_f_b_tg): Likewise.
20786 (RUN_TEST_f_l): Likewise.
20787 (RUN_TEST_LOOP_f_l): Likewise.
20788 (RUN_TEST_f_L): Likewise.
20789 (RUN_TEST_LOOP_f_L): Likewise.
20790 (RUN_TEST_sincos): Likewise.
20791 (RUN_TEST_LOOP_sincos): Likewise.
20793 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20797 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20798 main case of finite arguments, set rounding mode to FE_TONEAREST
20799 and discard exceptions.
20800 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20802 (remainder_tonearest_test_data): New variable.
20803 (remainder_test_tonearest): New function.
20804 (remainder_towardzero_test_data): New variable.
20805 (remainder_test_towardzero): New function.
20806 (remainder_downward_test_data): New variable.
20807 (remainder_test_downward): New function.
20808 (remainder_upward_test_data): New variable.
20809 (remainder_test_upward): New function.
20810 (main): Call the new test functions.
20812 * math/libm-test.inc (struct test_f_f1_data): Remove field
20814 (struct test_fF_f1_data): Likewise.
20815 (struct test_ffI_f1_data): Likewise.
20816 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20817 based on value of EXTRA_EXPECTED.
20818 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20819 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20820 EXTRA_VAR based on value of EXTRA_EXPECTED.
20821 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20822 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20823 EXTRA_VAR based on value of EXTRA_EXPECTED.
20824 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20825 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20826 EXTRA_VAR based on value of EXTRA_EXPECTED.
20827 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20828 * math/gen-libm-test.pl (parse_args): Don't output initializers
20829 for extra output values.
20831 * math/libm-test.inc (check_int): Expect result to be exactly
20832 equal to expected value and do not handle ulps.
20833 (check_long): Likewise.
20834 (check_longlong): Likewise.
20836 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20838 (cimag_test_data): Likewise.
20839 (conj_test_data): Likewise.
20840 (copysign_test_data): Likewise.
20841 (cproj_test_data): Likewise.
20842 (creal_test_data): Likewise.
20843 (fabs_test_data): Likewise.
20844 (fdim_test_data): Likewise.
20845 (finite_test_data): Likewise.
20846 (floor_test_data): Likewise.
20847 (fmax_test_data): Likewise.
20848 (fmin_test_data): Likewise.
20849 (fmod_test_data): Likewise.
20850 (fpclassify_test_data): Likewise.
20851 (frexp_test_data): Likewise.
20852 (ilogb_test_data): Likewise.
20853 (isfinite_test_data): Likewise.
20854 (isgreater_test_data): Likewise.
20855 (isgreaterequal_test_data): Likewise.
20856 (isinf_test_data): Likewise.
20857 (isless_test_data): Likewise.
20858 (islessequal_test_data): Likewise.
20859 (islessgreater_test_data): Likewise.
20860 (isnan_test_data): Likewise.
20861 (isnormal_test_data): Likewise.
20862 (issignaling_test_data): Likewise.
20863 (isunordered_test_data): Likewise.
20864 (ldexp_test_data): Likewise.
20865 (lrint_test_data): Likewise.
20866 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20867 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20868 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20869 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20870 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20871 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20873 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20874 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20875 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20876 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20878 (lrint_downward_test_data): Test for "inexact" exceptions.
20879 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20880 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20881 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20883 (lrint_upward_test_data): Test for "inexact" exceptions.
20884 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20886 (llrint_test_data): Test for "inexact" exceptions.
20887 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20888 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20889 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20890 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20891 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20892 (llrint_downward_test_data): Test for "inexact" exceptions.
20893 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20894 (llrint_upward_test_data): Test for "inexact" exceptions.
20895 (logb_test_data): Likewise.
20896 (logb_downward_test_data): Likewise.
20897 (nextafter_test_data): Likewise.
20898 (nexttoward_test_data): Likewise.
20899 (remainder_test_data): Likewise.
20900 (remquo_test_data): Likewise.
20901 (scalbn_test_data): Likewise.
20902 (scalbln_test_data): Likewise.
20903 (signbit_test_data): Likewise.
20904 (sqrt_test_data): Likewise.
20905 (significand_test_data): Likewise.
20907 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20910 * benchtests/bench-modf.c (struct args): Mark arg0 as
20912 * scripts/bench.pl: Mark members of struct args as volatile.
20914 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20917 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20918 negative infinity on POWER6 or lower.
20919 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20921 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20924 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20925 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20926 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20927 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20928 (_FP_SETQNAN): New macro.
20929 (_FP_SETQNAN_SEMIRAW): Likewise.
20930 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20931 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20932 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20933 (FP_EXTEND): Use _FP_FRAC_SNANP.
20934 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20935 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20942 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20944 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20945 with DIVIDE_BY_ZERO_EXCEPTION.
20946 (gamma_test_data): Likewise.
20947 (lgamma_test_data): Likewise.
20948 (log_test_data): Likewise.
20949 (log10_test_data): Likewise.
20950 (log2_test_data): Likewise.
20951 (tgamma_test_data): Likewise.
20953 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20954 (acos_test_tonearest): Likewise.
20955 (acos_test_towardzero): Likewise.
20956 (acos_test_downward): Likewise.
20957 (acos_test_upward): Likewise.
20958 (acosh_test): Likewise.
20959 (asin_test): Likewise.
20960 (asin_test_tonearest): Likewise.
20961 (asin_test_towardzero): Likewise.
20962 (asin_test_downward): Likewise.
20963 (asin_test_upward): Likewise.
20964 (asinh_test): Likewise.
20965 (atan_test): Likewise.
20966 (atanh_test): Likewise.
20967 (atan2_test): Likewise.
20968 (cabs_test): Likewise.
20969 (cacos_test): Likewise.
20970 (cacosh_test): Likewise.
20971 (casin_test): Likewise.
20972 (casinh_test): Likewise.
20973 (catan_test): Likewise.
20974 (catanh_test): Likewise.
20975 (cbrt_test): Likewise.
20976 (ccos_test): Likewise.
20977 (ccosh_test): Likewise.
20978 (cexp_test): Likewise.
20979 (clog_test): Likewise.
20980 (clog10_test): Likewise.
20981 (cos_test): Likewise.
20982 (cos_test_tonearest): Likewise.
20983 (cos_test_towardzero): Likewise.
20984 (cos_test_downward): Likewise.
20985 (cos_test_upward): Likewise.
20986 (cosh_test): Likewise.
20987 (cosh_test_tonearest): Likewise.
20988 (cosh_test_towardzero): Likewise.
20989 (cosh_test_downward): Likewise.
20990 (cosh_test_upward): Likewise.
20991 (cpow_test): Likewise.
20992 (csin_test): Likewise.
20993 (csinh_test): Likewise.
20994 (csqrt_test): Likewise.
20995 (ctan_test): Likewise.
20996 (ctan_test_tonearest): Likewise.
20997 (ctan_test_towardzero): Likewise.
20998 (ctan_test_downward): Likewise.
20999 (ctan_test_upward): Likewise.
21000 (ctanh_test): Likewise.
21001 (ctanh_test_tonearest): Likewise.
21002 (ctanh_test_towardzero): Likewise.
21003 (ctanh_test_downward): Likewise.
21004 (ctanh_test_upward): Likewise.
21005 (erf_test): Likewise.
21006 (erfc_test): Likewise.
21007 (exp_test): Likewise.
21008 (exp_test_tonearest): Likewise.
21009 (exp_test_towardzero): Likewise.
21010 (exp_test_downward): Likewise.
21011 (exp_test_upward): Likewise.
21012 (exp10_test): Likewise.
21013 (exp2_test): Likewise.
21014 (expm1_test): Likewise.
21015 (fmod_test): Likewise.
21016 (gamma_test): Likewise.
21017 (hypot_test): Likewise.
21018 (j0_test): Likewise.
21019 (j1_test): Likewise.
21020 (jn_test): Likewise.
21021 (lgamma_test): Likewise.
21022 (log_test): Likewise.
21023 (log10_test): Likewise.
21024 (log1p_test): Likewise.
21025 (log2_test): Likewise.
21026 (logb_test_downward): Likewise.
21027 (pow_test): Likewise.
21028 (pow_test_tonearest): Likewise.
21029 (pow_test_towardzero): Likewise.
21030 (pow_test_downward): Likewise.
21031 (pow_test_upward): Likewise.
21032 (remainder_test): Likewise.
21033 (remquo_test): Likewise.
21034 (sin_test): Likewise.
21035 (sin_test_tonearest): Likewise.
21036 (sin_test_towardzero): Likewise.
21037 (sin_test_downward): Likewise.
21038 (sin_test_upward): Likewise.
21039 (sincos_test): Likewise.
21040 (sinh_test): Likewise.
21041 (sinh_test_tonearest): Likewise.
21042 (sinh_test_towardzero): Likewise.
21043 (sinh_test_downward): Likewise.
21044 (sinh_test_upward): Likewise.
21045 (sqrt_test): Likewise.
21046 (tan_test): Likewise.
21047 (tan_test_tonearest): Likewise.
21048 (tan_test_towardzero): Likewise.
21049 (tan_test_downward): Likewise.
21050 (tan_test_upward): Likewise.
21051 (tanh_test): Likewise.
21052 (tgamma_test): Likewise.
21053 (y0_test): Likewise.
21054 (y1_test): Likewise.
21055 (yn_test): Likewise.
21057 * math/gen-libm-test.pl (adjust_arg): Remove function.
21058 (special_function): Remove argument $in_func. Only handle
21059 generating output for tables of tests, not inside functions.
21060 (parse_args): Likewise.
21061 (generate_testfile): Remove variable $in_func. Update call to
21063 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21064 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21065 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21066 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21067 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21068 (MAX_VALUE_INIT): Rename macro to max_value.
21069 (MIN_VALUE_INIT): Rename macro to min_value.
21070 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21071 (plus_zero): Remove variable.
21072 (minus_zero): Likewise.
21073 (plus_infty): Likewise.
21074 (minus_infty): Likewise.
21075 (qnan_value): Likewise.
21076 (max_value): Likewise.
21077 (min_value): Likewise.
21078 (min_subnorm_value): Likewise.
21080 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21082 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21083 uint64_t or uint32_t usage.
21084 * crypt/sha256-block.c: Likewise.
21085 * crypt/sha256-crypt.c: Likewise.
21086 * crypt/sha256.c: Likewise.
21087 * crypt/sha512-block.c: Likewise.
21088 * crypt/sha512-crypt.c: Likewise.
21089 * crypt/sha512.c: Likewise.
21090 * debug/backtrace-tst.c: Likewise.
21091 * debug/pcprofiledump.c: Likewise.
21092 * elf/cache.c: Likewise.
21093 * elf/dl-cache.c: Likewise.
21094 * elf/dl-misc.c: Likewise.
21095 * elf/dl-profile.c: Likewise.
21096 * elf/dl-support.c: Likewise.
21097 * elf/ldconfig.c: Likewise.
21098 * elf/sprof.c: Likewise.
21099 * iconv/dummy-repertoire.c: Likewise.
21100 * iconv/iconv_charmap.c: Likewise.
21101 * iconv/skeleton.c: Likewise.
21102 * iconvdata/8bit-generic.c: Likewise.
21103 * iconvdata/cp737.h: Likewise.
21104 * iconvdata/cp775.h: Likewise.
21105 * iconvdata/ibm1008.h: Likewise.
21106 * iconvdata/ibm1025.h: Likewise.
21107 * iconvdata/ibm1046.h: Likewise.
21108 * iconvdata/ibm1097.h: Likewise.
21109 * iconvdata/ibm1112.h: Likewise.
21110 * iconvdata/ibm1122.h: Likewise.
21111 * iconvdata/ibm1123.h: Likewise.
21112 * iconvdata/ibm1124.h: Likewise.
21113 * iconvdata/ibm1129.h: Likewise.
21114 * iconvdata/ibm1130.h: Likewise.
21115 * iconvdata/ibm1132.h: Likewise.
21116 * iconvdata/ibm1133.h: Likewise.
21117 * iconvdata/ibm1137.h: Likewise.
21118 * iconvdata/ibm1140.h: Likewise.
21119 * iconvdata/ibm1141.h: Likewise.
21120 * iconvdata/ibm1142.h: Likewise.
21121 * iconvdata/ibm1143.h: Likewise.
21122 * iconvdata/ibm1144.h: Likewise.
21123 * iconvdata/ibm1145.h: Likewise.
21124 * iconvdata/ibm1146.h: Likewise.
21125 * iconvdata/ibm1147.h: Likewise.
21126 * iconvdata/ibm1148.h: Likewise.
21127 * iconvdata/ibm1149.h: Likewise.
21128 * iconvdata/ibm1153.h: Likewise.
21129 * iconvdata/ibm1154.h: Likewise.
21130 * iconvdata/ibm1155.h: Likewise.
21131 * iconvdata/ibm1156.h: Likewise.
21132 * iconvdata/ibm1157.h: Likewise.
21133 * iconvdata/ibm1158.h: Likewise.
21134 * iconvdata/ibm1160.h: Likewise.
21135 * iconvdata/ibm1161.h: Likewise.
21136 * iconvdata/ibm1162.h: Likewise.
21137 * iconvdata/ibm1163.h: Likewise.
21138 * iconvdata/ibm1164.h: Likewise.
21139 * iconvdata/ibm1166.h: Likewise.
21140 * iconvdata/ibm1167.h: Likewise.
21141 * iconvdata/ibm12712.h: Likewise.
21142 * iconvdata/ibm1390.h: Likewise.
21143 * iconvdata/ibm1399.h: Likewise.
21144 * iconvdata/ibm16804.h: Likewise.
21145 * iconvdata/ibm4517.h: Likewise.
21146 * iconvdata/ibm4899.h: Likewise.
21147 * iconvdata/ibm4909.h: Likewise.
21148 * iconvdata/ibm4971.h: Likewise.
21149 * iconvdata/ibm5347.h: Likewise.
21150 * iconvdata/ibm803.h: Likewise.
21151 * iconvdata/ibm856.h: Likewise.
21152 * iconvdata/ibm901.h: Likewise.
21153 * iconvdata/ibm902.h: Likewise.
21154 * iconvdata/ibm9030.h: Likewise.
21155 * iconvdata/ibm9066.h: Likewise.
21156 * iconvdata/ibm921.h: Likewise.
21157 * iconvdata/ibm922.h: Likewise.
21158 * iconvdata/ibm9448.h: Likewise.
21159 * iconvdata/isiri-3342.h: Likewise.
21160 * iconvdata/jis0201.h: Likewise.
21161 * include/link.h: Likewise.
21162 * include/netdb.h: Likewise.
21163 * inet/check_native.c: Likewise.
21164 * inet/check_pf.c: Likewise.
21165 * inet/getipv4sourcefilter.c: Likewise.
21166 * inet/getnameinfo.c: Likewise.
21167 * inet/getsourcefilter.c: Likewise.
21168 * inet/htonl.c: Likewise.
21169 * inet/setipv4sourcefilter.c: Likewise.
21170 * inet/setsourcefilter.c: Likewise.
21171 * inet/test-inet6_opt.c: Likewise.
21172 * inet/tst-network.c: Likewise.
21173 * locale/C-collate.c: Likewise.
21174 * locale/C-ctype.c: Likewise.
21175 * locale/C-time.c: Likewise.
21176 * locale/C-translit.h: Likewise.
21177 * locale/loadarchive.c: Likewise.
21178 * locale/programs/3level.h: Likewise.
21179 * locale/programs/charmap.c: Likewise.
21180 * locale/programs/charmap.h: Likewise.
21181 * locale/programs/ld-address.c: Likewise.
21182 * locale/programs/ld-collate.c: Likewise.
21183 * locale/programs/ld-ctype.c: Likewise.
21184 * locale/programs/ld-identification.c: Likewise.
21185 * locale/programs/ld-measurement.c: Likewise.
21186 * locale/programs/ld-messages.c: Likewise.
21187 * locale/programs/ld-monetary.c: Likewise.
21188 * locale/programs/ld-name.c: Likewise.
21189 * locale/programs/ld-numeric.c: Likewise.
21190 * locale/programs/ld-paper.c: Likewise.
21191 * locale/programs/ld-telephone.c: Likewise.
21192 * locale/programs/ld-time.c: Likewise.
21193 * locale/programs/linereader.c: Likewise.
21194 * locale/programs/locale.c: Likewise.
21195 * locale/programs/locarchive.c: Likewise.
21196 * locale/programs/locfile.h: Likewise.
21197 * locale/programs/repertoire.c: Likewise.
21198 * locale/programs/simple-hash.c: Likewise.
21199 * locale/programs/simple-hash.h: Likewise.
21200 * malloc/memusage.c: Likewise.
21201 * malloc/memusagestat.c: Likewise.
21202 * nis/nis_defaults.c: Likewise.
21203 * nis/nis_hash.c: Likewise.
21204 * nis/nis_print.c: Likewise.
21205 * nis/nis_xdr.c: Likewise.
21206 * nscd/connections.c: Likewise.
21207 * nscd/hstcache.c: Likewise.
21208 * nscd/nscd_gethst_r.c: Likewise.
21209 * nscd/nscd_getserv_r.c: Likewise.
21210 * nscd/nscd_helper.c: Likewise.
21211 * nscd/servicescache.c: Likewise.
21212 * nss/makedb.c: Likewise.
21213 * nss/nss_db/db-XXX.c: Likewise.
21214 * nss/nss_db/db-initgroups.c: Likewise.
21215 * nss/nss_db/db-netgrp.c: Likewise.
21216 * nss/nss_files/files-network.c: Likewise.
21217 * nss/nss_files/files-parse.c: Likewise.
21218 * posix/bug-regex5.c: Likewise.
21219 * posix/fnmatch_loop.c: Likewise.
21220 * posix/regcomp.c: Likewise.
21221 * posix/regexec.c: Likewise.
21222 * posix/tst-rfc3484-2.c: Likewise.
21223 * posix/tst-rfc3484-3.c: Likewise.
21224 * posix/tst-rfc3484.c: Likewise.
21225 * resolv/nss_dns/dns-canon.c: Likewise.
21226 * resolv/nss_dns/dns-network.c: Likewise.
21227 * resolv/res_init.c: Likewise.
21228 * resolv/res_mkquery.c: Likewise.
21229 * resolv/tst-aton.c: Likewise.
21230 * stdlib/cxa_atexit.c: Likewise.
21231 * stdlib/cxa_finalize.c: Likewise.
21232 * stdlib/gen-fpioconst.c: Likewise.
21233 * stdlib/strtol_l.c: Likewise.
21234 * string/tst-endian.c: Likewise.
21235 * sunrpc/auth_des.c: Likewise.
21236 * sunrpc/clnt_udp.c: Likewise.
21237 * sunrpc/rtime.c: Likewise.
21238 * sunrpc/svcauth_des.c: Likewise.
21239 * sunrpc/xdr.c: Likewise.
21240 * sunrpc/xdr_intXX_t.c: Likewise.
21241 * sunrpc/xdr_rec.c: Likewise.
21242 * sysdeps/generic/ldconfig.h: Likewise.
21243 * sysdeps/generic/ldsodefs.h: Likewise.
21244 * sysdeps/generic/memusage.h: Likewise.
21245 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21247 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21248 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21251 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21253 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21255 * sysdeps/posix/getaddrinfo.c: Likewise.
21256 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21258 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21260 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21261 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21262 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21263 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21264 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21265 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21266 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21267 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21268 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21269 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21270 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21271 * sysdeps/x86_64/dl-tls.h: Likewise.
21272 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21273 * time/alt_digit.c: Likewise.
21274 * time/era.c: Likewise.
21275 * wcsmbs/tst-c16c32-1.c: Likewise.
21277 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21279 * math/libm-test.inc (struct test_sincos_data): New type.
21280 (RUN_TEST_LOOP_sincos): New macro.
21281 (sincos_test_data): New variable.
21282 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21284 2013-05-16 Richard Henderson <rth@redhat.com>
21286 * math/atest-exp2.c (LIMB64): New macro.
21287 (CONSTSZ): New macro.
21288 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21290 (print_mpn_fp): ... to function scope.
21291 (read_mpn_hex): Remove.
21292 (get_log2): Remove.
21293 (exp2_mpn): Use mp_log2.
21294 (main): Use mp_exp1.
21296 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21298 * math/libm-test.inc: Remove comment about not testing "inexact"
21300 (INEXACT_EXCEPTION): New macro.
21301 (NO_INEXACT_EXCEPTION): Likewise.
21302 (INVALID_EXCEPTION_OK): Update value.
21303 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21304 (OVERFLOW_EXCEPTION_OK): Likewise.
21305 (UNDERFLOW_EXCEPTION_OK): Likewise.
21306 (IGNORE_ZERO_INF_SIGN): Likewise.
21307 (ERRNO_UNCHANGED): Likewise.
21308 (ERRNO_EDOM): Likewise.
21309 (ERRNO_ERANGE): Likewise.
21310 (test_exceptions): Handle testing "inexact" exceptions.
21311 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21312 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21313 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21314 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21316 (rint_towardzero_test_data): Likewise.
21317 (rint_downward_test_data): Likewise.
21318 (rint_upward_test_data): Likewise.
21320 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21321 with OVERFLOW_EXCEPTION.
21322 (exp10_test_data): Likewise.
21323 (exp2_test_data): Likewise.
21324 (expm1_test_data): Likewise.
21325 (lgamma_test_data): Likewise.
21326 (pow_test_data): Likewise.
21327 (tgamma_test_data): Likewise.
21328 (yn_test_data): Remove duplicate test of overflow.
21330 * math/libm-test.inc (struct test_cc_c_data): New type.
21331 (RUN_TEST_LOOP_cc_c): New macro.
21332 (cpow_test_data): New variable.
21333 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21335 * math/libm-test.inc (struct test_f_L_data): New type.
21336 (RUN_TEST_LOOP_f_L): New macro.
21337 (llrint_test_data): New variable.
21338 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21339 (llrint_tonearest_test_data): New variable.
21340 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21341 (llrint_towardzero_test_data): New variable.
21342 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21343 (llrint_downward_test_data): New variable.
21344 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21345 (llrint_upward_test_data): New variable.
21346 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21347 (llround_test_data): New variable.
21348 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21350 2013-05-13 Peter Collingbourne <pcc@google.com>
21352 * math/atest-exp2.c (get_log2): Remove const attribute.
21354 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21356 * math/libm-test.inc (struct test_f_l_data): New type.
21357 (RUN_TEST_LOOP_f_l): New macro.
21358 (lrint_test_data): New variable.
21359 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21360 (lrint_tonearest_test_data): New variable.
21361 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21362 (lrint_towardzero_test_data): New variable.
21363 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21364 (lrint_downward_test_data): New variable.
21365 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21366 (lrint_upward_test_data): New variable.
21367 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21368 (lround_test_data): New variable.
21369 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21371 2013-05-15 Peter Collingbourne <pcc@google.com>
21373 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21374 (EXTRACT_WORDS64) Use where appropriate.
21375 (INSERT_WORDS64) Likewise.
21377 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21378 constraints with x constraints.
21379 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21381 * malloc/obstack.c (_obstack_compat): Add initializer.
21383 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21386 si_trapno and add si_addr_lsb to _sifields.sigfault.
21387 (si_trapno): Remove macro.
21388 (si_addr_lsb): Define new macro.
21389 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21391 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21393 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21394 instead of TEST_f_l.
21395 (llrint_test_tonearest): Likewise.
21396 (llrint_test_towardzero): Likewise.
21397 (llrint_test_downward): Likewise.
21398 (llrint_test_upward): Likewise.
21399 (llround_test): Likewise.
21401 * math/libm-test.inc (struct test_f_i_data): Add comment.
21402 (RUN_TEST_LOOP_f_b): New macro.
21403 (RUN_TEST_LOOP_f_b_tg): Likewise.
21404 (finite_test_data): New variable.
21405 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21406 (isfinite_test_data): New variable.
21407 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21408 (isinf_test_data): New variable.
21409 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21410 (isnan_test_data): New variable.
21411 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21412 (isnormal_test_data): New variable.
21413 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21414 (issignaling_test_data): New variable.
21415 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21416 (signbit_test_data): New variable.
21417 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21419 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21420 with INVALID_EXCEPTION.
21421 (acosh_test_data): Likewise.
21422 (asin_test_data): Likewise.
21423 (atanh_test_data): Likewise.
21424 (fmod_test_data): Likewise.
21425 (log_test_data): Likewise.
21426 (log10_test_data): Likewise.
21427 (log2_test_data): Likewise.
21428 (pow_test_data): Likewise.
21429 (sqrt_test_data): Likewise.
21430 (y0_test_data): Likewise.
21431 (y1_test_data): Likewise.
21432 (yn_test_data): Likewise.
21434 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21437 * math/libm-test.inc (struct test_ff_i_data): New type.
21438 (RUN_TEST_LOOP_ff_i_tg): New macro.
21439 (isgreater_test_data): New variable.
21440 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21441 (isgreaterequal_test_data): New variable.
21442 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21443 (isless_test_data): New variable.
21444 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21445 (islessequal_test_data): New variable.
21446 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21447 (islessgreater_test_data): New variable.
21448 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21449 (isunordered_test_data): New variable.
21450 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21452 2013-05-14 David S. Miller <davem@davemloft.net>
21454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21456 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21458 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21460 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21462 (struct test_f_i_data): Change type of max_ulp to int.
21464 * math/libm-test.inc (test_ffI_f1_data): New type.
21465 (RUN_TEST_LOOP_ffI_f1): New macro.
21466 (remquo_test_data): New variable.
21467 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21469 * setjmp/tst-setjmp-fp.c: New file.
21470 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21471 (link-libm): New variable.
21472 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21474 * math/libm-test.inc (struct test_f_i_data): New type.
21475 (RUN_TEST_LOOP_f_i): New macro.
21476 (RUN_TEST_LOOP_f_i_tg): Likewise.
21477 (fpclassify_test_data): New variable.
21478 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21479 (ilogb_test_data): New variable.
21480 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21482 * math/libm-test.inc (scalbln_test): Correct function name in END
21485 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21486 (RUN_TEST_LOOP_fI_f1): New macro.
21487 (frexp_test_data): New variable.
21488 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21490 * math/libm-test.inc (struct test_fF_f1_data): New type.
21491 (RUN_TEST_LOOP_fF_f1): New macro.
21492 (modf_test_data): New variable.
21493 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21495 * math/libm-test.inc (struct test_f_f1_data): New type.
21496 (RUN_TEST_LOOP_f_f1): New macro.
21497 (gamma_test_data): New variable.
21498 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21499 (lgamma_test_data): New variable.
21500 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21502 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21504 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21505 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21506 (main): Comment "tls" pseudo-hwcap.
21508 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21510 * math/libm-test.inc (struct test_fl_f_data): New type.
21511 (RUN_TEST_LOOP_fl_f): New variable.
21512 (scalbln_test_data): New variable.
21513 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21515 * math/libm-test.inc (struct test_fi_f_data): New type.
21516 (RUN_TEST_LOOP_fi_f): New macro.
21517 (ldexp_test_data): New variable.
21518 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21519 (scalbn_test_data): New variable.
21520 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21522 * math/libm-test.inc (struct test_c_f_data): New type.
21523 (RUN_TEST_LOOP_c_f): New macro.
21524 (cabs_test_data): New variable.
21525 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21526 (carg_test_data): New variable.
21527 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21528 (cimag_test_data): New variable.
21529 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21530 (creal_test_data): New variable.
21531 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21533 * math/libm-test.inc (struct test_if_f_data): New type.
21534 (RUN_TEST_LOOP_if_f): New macro.
21535 (jn_test_data): New variable.
21536 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21537 (yn_test_data): New variable.
21538 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21540 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21542 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21544 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21545 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21547 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21549 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21550 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21551 (bench-deps): Add bench-timing.h.
21552 * benchtests-bench-skeleton.c: Include bench-timing.h.
21553 (main): Use TIMING_* macros instead of clock_gettime.
21554 * benchtests/bench-timing.h: New file.
21557 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21558 Renamed from _LIB_VERSION.
21559 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21561 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21563 * math/libm-test.inc (struct test_fff_f_data): New type.
21564 (RUN_TEST_LOOP_fff_f): New macro.
21565 (fma_test_data): New variable.
21566 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21567 (fma_towardzero_test_data): New variable.
21568 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21569 (fma_downward_test_data): New variable.
21570 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21571 (fma_upward_test_data): New variable.
21572 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21574 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21575 (struct test_c_c_data): New type.
21576 (RUN_TEST_LOOP_c_c): New macro.
21577 (cacos_test_data): New variable.
21578 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21579 (cacosh_test_data): New variable.
21580 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21581 (casin_test_data): New variable.
21582 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21583 (casinh_test_data): New variable.
21584 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21585 (catan_test_data): New variable.
21586 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21587 (catanh_test_data): New variable.
21588 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21589 (ccos_test_data): New variable.
21590 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21591 (ccosh_test_data): New variable.
21592 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21593 (cexp_test_data): New variable.
21594 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21595 (clog_test_data): New variable.
21596 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21597 (clog10_test_data): New variable.
21598 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21599 (conj_test_data): New variable.
21600 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21601 (cproj_test_data): New variable.
21602 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21603 (csin_test_data): New variable.
21604 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21605 (csinh_test_data): New variable.
21606 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21607 (csqrt_test_data): New variable.
21608 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21609 (ctan_test_data): New variable.
21610 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21611 (ctan_tonearest_test_data): New variable.
21612 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21613 (ctan_towardzero_test_data): New variable.
21614 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21615 (ctan_downward_test_data): New variable.
21616 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21617 (ctan_upward_test_data): New variable.
21618 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21619 (ctanh_test_data): New variable.
21620 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21621 (ctanh_tonearest_test_data): New variable.
21622 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21623 (ctanh_towardzero_test_data): New variable.
21624 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21625 (ctanh_downward_test_data): New variable.
21626 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21627 (ctanh_upward_test_data): New variable.
21628 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21629 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21632 * math/libm-test.inc (struct test_ff_f_data): New type.
21633 (struct test_ff_f_data_nexttoward): Likewise.
21634 (RUN_TEST_LOOP_2_f): New macro.
21635 (RUN_TEST_LOOP_ff_f): Likewise.
21636 (atan2_test_data): New variable.
21637 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21638 (copysign_test_data): New variable.
21639 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21640 (fdim_test_data): New variable.
21641 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21642 (fmax_test_data): New variable.
21643 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21644 (fmin_test_data): New variable.
21645 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21646 (fmod_test_data): New variable.
21647 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21648 (hypot_test_data): New variable.
21649 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21650 (nextafter_test_data): New variable.
21651 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21652 (nexttoward_test_data): New variable.
21653 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21654 (pow_test_data): New variable.
21655 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21656 (pow_tonearest_test_data): New variable.
21657 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21658 (pow_towardzero_test_data): New variable.
21659 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21660 (pow_downward_test_data): New variable.
21661 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21662 (pow_upward_test_data): New variable.
21663 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21664 (remainder_test_data): New variable.
21665 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21666 (scalb_test_data): New variable.
21667 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21668 * sysdeps/i386/fpu/libm-test-ulps: Update.
21670 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21672 * math/libm-test.inc (fma_test): Use max_value instead of local
21674 (nextafter_test): Likewise.
21676 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21677 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21678 (acos_downward_test_data): New variable.
21679 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21680 (acos_upward_test_data): New variable.
21681 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21682 (acosh_test_data): New variable.
21683 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21684 (asin_test_data): New variable.
21685 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21686 (asin_tonearest_test_data): New variable.
21687 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21688 (asin_towardzero_test_data): New variable.
21689 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21690 (asin_downward_test_data): New variable.
21691 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21692 (asin_upward_test_data): New variable.
21693 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21694 (asinh_test_data): New variable.
21695 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21696 (atan_test_data): New variable.
21697 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21698 (atanh_test_data): New variable.
21699 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21700 (cbrt_test_data): New variable.
21701 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21702 (ceil_test_data): New variable.
21703 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21704 (cos_test_data): New variable.
21705 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21706 (cos_tonearest_test_data): New variable.
21707 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21708 (cos_towardzero_test_data): New variable.
21709 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21710 (cos_downward_test_data): New variable.
21711 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21712 (cos_upward_test_data): New variable.
21713 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21714 (cosh_test_data): New variable.
21715 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21716 (cosh_tonearest_test_data): New variable.
21717 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21718 (cosh_towardzero_test_data): New variable.
21719 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21720 (cosh_downward_test_data): New variable.
21721 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21722 (cosh_upward_test_data): New variable.
21723 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21724 (erf_test_data): New variable.
21725 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21726 (erfc_test_data): New variable.
21727 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21728 (exp_test_data): New variable.
21729 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21730 (exp_tonearest_test_data): New variable.
21731 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21732 (exp_towardzero_test_data): New variable.
21733 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21734 (exp_downward_test_data): New variable.
21735 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21736 (exp_upward_test_data): New variable.
21737 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21738 (exp10_test_data): New variable.
21739 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21740 (exp2_test_data): New variable.
21741 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21742 (expm1_test_data): New variable.
21743 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21744 (fabs_test_data): New variable.
21745 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21746 (floor_test_data): New variable.
21747 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21748 (j0_test_data): New variable.
21749 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21750 (j1_test_data): New variable.
21751 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21752 (log_test_data): New variable.
21753 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21754 (log10_test_data): New variable.
21755 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21756 (log1p_test_data): New variable.
21757 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21758 (log2_test_data): New variable.
21759 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21760 (logb_test_data): New variable.
21761 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21762 (logb_downward_test_data): New variable.
21763 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21764 (nearbyint_test_data): New variable.
21765 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21766 (rint_test_data): New variable.
21767 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21768 (rint_tonearest_test_data): New variable.
21769 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21770 (rint_towardzero_test_data): New variable.
21771 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21772 (rint_downward_test_data): New variable.
21773 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21774 (rint_upward_test_data): New variable.
21775 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21776 (round_test_data): New variable.
21777 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21778 (sin_test_data): New variable.
21779 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21780 (sin_tonearest_test_data): New variable.
21781 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21782 (sin_towardzero_test_data): New variable.
21783 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21784 (sin_downward_test_data): New variable.
21785 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21786 (sin_upward_test_data): New variable.
21787 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21788 (sinh_test_data): New variable.
21789 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21790 (sinh_tonearest_test_data): New variable.
21791 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21792 (sinh_towardzero_test_data): New variable.
21793 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21794 (sinh_downward_test_data): New variable.
21795 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21796 (sinh_upward_test_data): New variable.
21797 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21798 (sqrt_test_data): New variable.
21799 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21800 (tan_test_data): New variable.
21801 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21802 (tan_tonearest_test_data): New variable.
21803 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21804 (tan_towardzero_test_data): New variable.
21805 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21806 (tan_downward_test_data): New variable.
21807 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21808 (tan_upward_test_data): New variable.
21809 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21810 (tanh_test_data): New variable.
21811 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21812 (tgamma_test_data): New variable.
21813 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21814 (trunc_test_data): New variable.
21815 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21816 (y0_test_data): New variable.
21817 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21818 (y1_test_data): New variable.
21819 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21820 (significand_test_data): New variable.
21821 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21823 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21826 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21828 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21830 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21832 2013-05-10 Andreas Jaeger <aj@suse.de>
21835 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21836 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21838 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21840 * math/gen-libm-test.pl (adjust_arg): New function.
21841 (special_functions): Handle generating output in both functions
21843 (parse_args): Likewise.
21844 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21845 $in_func argument to parse_args.
21846 * math/libm-test.inc (struct test_f_f_data): New type.
21847 (IF_ROUND_INIT_): New macro.
21848 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21849 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21850 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21851 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21852 (ROUND_RESTORE_): Likewise.
21853 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21854 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21855 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21856 (ROUND_RESTORE_FE_UPWARD): Likewise.
21857 (RUN_TEST_LOOP_f_f): New macro.
21858 (acos_test_data): New variable.
21859 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21860 (acos_tonearest_test_data): New variable.
21861 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21863 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21865 * benchtests/bench-skeleton.c (startup): Fix coding style.
21867 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21870 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21871 negative infinity argument.
21872 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21873 negative infinity argument.
21874 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21875 negative infinity argument.
21876 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21879 2013-05-10 Florian Weimer <fweimer@redhat.com>
21881 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21882 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21883 * iconv/iconv_prog.c (main): Likewise.
21884 * locale/programs/charmap-dir.c (charmap_readdir)
21885 (fopen_uncompressed): Likewise.
21886 * locale/programs/locfile.c (siblings_uncached)
21887 (write_locale_data): Use lstat64 instead of lstat.
21888 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21891 2013-05-10 Andreas Jaeger <aj@suse.de>
21894 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21896 Include <locale.h>.
21898 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21900 * elf/dl-close.c (_dl_close_worker): Add comments.
21902 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21905 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21907 (__ieee754_rem_pio2l): Update comments.
21910 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21912 (__ieee754_rem_pio2l): Update comments.
21914 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21915 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21917 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21920 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21921 (M_PI_34_LOG10El): Likewise.
21922 (M_PI2_LOG10El): Likewise.
21923 (M_PI4_LOG10El): Likewise.
21924 (M_PI_LOG10El): Likewise.
21926 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21930 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21932 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21933 (MINUS_ZERO_INIT): Likewise.
21934 (PLUS_INFTY_INIT): Likewise.
21935 (MINUS_INFTY_INIT): Likewise.
21936 (QNAN_VALUE_INIT): Likewise.
21937 (MAX_VALUE_INIT): Likewise.
21938 (MIN_VALUE_INIT): Likewise.
21939 (MIN_SUBNORM_VALUE_INIT): Likewise.
21940 (plus_zero): Initialize with PLUS_ZERO_INIT.
21941 (minus_zero): Initialize with MINUS_ZERO_INIT.
21942 (plus_infty): Initialize with PLUS_INFTY_INIT.
21943 (minus_infty): Initialize with MINUS_INFTY_INIT.
21944 (qnan_value): Initialize with QNAN_VALUE_INIT.
21945 (max_value): Initialize with MAX_VALUE_INIT.
21946 (min_value): Initialize with MIN_VALUE_INIT.
21947 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21949 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21950 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21951 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21952 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21954 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21955 (RUN_TEST_2_f): Likewise.
21956 (RUN_TEST_ff_f): Likewise.
21957 (RUN_TEST_fi_f): Likewise.
21958 (RUN_TEST_fl_f): Likewise.
21959 (RUN_TEST_fff_f): Likewise.
21960 (RUN_TEST_c_f): Likewise.
21961 (RUN_TEST_f_f1): Likewise.
21962 (RUN_TEST_fF_f1): Likewise.
21963 (RUN_TEST_fI_f1): Likewise.
21964 (RUN_TEST_ffI_f1): Likewise.
21965 (RUN_TEST_c_c): Likewise.
21966 (RUN_TEST_cc_c): Likewise.
21967 (RUN_TEST_f_i): Likewise.
21968 (RUN_TEST_f_i_tg): Likewise.
21969 (RUN_TEST_ff_i_tg): Likewise.
21970 (RUN_TEST_f_b): Likewise.
21971 (RUN_TEST_f_b_tg): Likewise.
21972 (RUN_TEST_f_l): Likewise.
21973 (RUN_TEST_f_L): Likewise.
21974 (RUN_TEST_sincos): Likewise.
21975 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21976 whether to show exceptions. Do not include ");\n" in return
21978 (special_functions): Output call to RUN_TEST_sincos instead of
21979 check_float calls. Update calls to new_test.
21980 (parse_args): Output call to single RUN_TEST_* macro instead of
21981 check_* calls and other assignments. Update calls to new_test.
21987 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21988 input to result for tgamma overflow.
21989 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21990 (gamma_coeff): New variable.
21991 (NCOEFF): New macro.
21992 (gamma_positive): New function.
21993 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21994 underflow here. Use gamma_positive instead of exp (lgamma) for
21996 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21997 (gamma_coeff): New variable.
21998 (NCOEFF): New macro.
21999 (gammaf_positive): New function.
22000 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22001 underflow here. Use gamma_positive instead of exp (lgamma) for
22003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22004 (gamma_coeff): New variable.
22005 (NCOEFF): New macro.
22006 (gammal_positive): New function.
22007 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22008 underflow here. Use gamma_positive instead of exp (lgamma) for
22010 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22011 (gamma_coeff): New variable.
22012 (NCOEFF): New macro.
22013 (gammal_positive): New function.
22014 (__ieee754_gammal_r): Handle positive infinity, overflow and
22015 underflow here. Handle NaN the same as positive infinity. Remove
22016 check x < 0xffffffff for negative integers. Use gamma_positive
22017 instead of exp (lgamma) for other arguments.
22018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22019 (gamma_coeff): New variable.
22020 (NCOEFF): New macro.
22021 (gammal_positive): New function.
22022 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22023 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22024 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22025 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22026 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22027 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22028 * sysdeps/generic/math_private.h (__gamma_productf): New
22030 (__gamma_product): Likewise.
22031 (__gamma_productl): Likewise.
22032 * math/Makefile (libm-calls): Add gamma_product.
22033 * math/libm-test.inc (tgamma_test): Add more tests.
22034 * sysdeps/i386/fpu/libm-test-ulps: Update.
22035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22037 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22039 * benchtests/bench-skeleton.c (main): Preheat CPU.
22041 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22043 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22045 2013-05-07 Roland McGrath <roland@hack.frob.com>
22047 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22048 and _dl_skip_args_internal.
22050 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22052 * manual/message.texi (Message Translation): Talk about users.
22053 Message to key mapping impacts design.
22055 2013-05-06 Roland McGrath <roland@hack.frob.com>
22057 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22059 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22061 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22062 * sysdeps/wordsize-64/glob64.c: ... here.
22064 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22065 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22068 * debug/getlogin_r_chk.c: Moved to ...
22069 * login/getlogin_r_chk.c: ... here.
22070 * debug/Makefile (routines): Move getlogin_r_chk to ...
22071 * login/Makefile (routines): ... here.
22072 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22073 * login/Versions (libc: GLIBC_2.4): ... here.
22075 * io/poll.c (__poll): Renamed from poll.
22076 Add libc_hidden_def.
22077 (poll): Define as weak alias.
22079 * debug/ptsname_r_chk.c: Moved to ...
22080 * login/ptsname_r_chk.c: ... here.
22081 * debug/Makefile (routines): Move ptsname_r_chk to ...
22082 * login/Makefile (routines): ... here.
22083 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22084 * login/Versions (libc: GLIBC_2.4): ... here.
22086 * posix/getlogin.c: Moved to ...
22087 * login/getlogin.c: ... here.
22088 * posix/getlogin_r.c: Moved to ...
22089 * login/getlogin_r.c: ... here.
22090 * posix/getlogin_r.c: Moved to ...
22091 * login/getlogin_r.c: ... here.
22092 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22093 * login/Makefile (routines): ... here.
22094 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22095 * login/Versions (libc: GLIBC_2.0): ... here.
22097 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22098 (setrlimit): Define as weak alias.
22100 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22101 Call __ names for open, ftruncate, and close.
22102 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22103 (truncate): Define as weak alias.
22105 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22107 * math/gen-libm-test.pl (parse_args): Initialize x before each
22108 test of frexp, modf and remquo.
22110 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22111 test signgam value.
22113 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22117 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22119 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22121 2013-05-06 Roland McGrath <roland@hack.frob.com>
22123 * elf/dl-writev.h: New file.
22124 * elf/dl-misc.c: Include it.
22125 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22126 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22128 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22130 * math/libm-test.inc (noXFails): Remove variable.
22131 (noXPasses): Likewise.
22132 (BUILD_COMPLEX_INT): Remove macro.
22133 (print_screen): Remove xfail argument.
22134 (print_screen_max_error): Likewise.
22135 (update_stats): Likewise.
22136 (print_max_error): Likewise. Update calls to other affected
22138 (print_complex_max_error): Likewise.
22139 (test_single_exception): Update calls to print_screen.
22140 (test_single_errno): Likewise.
22141 (check_float_internal): Remove xfail argument. Update calls to
22142 other affected functions.
22143 (check_float): Likewise.
22144 (check_complex): Likewise.
22145 (check_int): Likewise.
22146 (check_long): Likewise.
22147 (check_bool): Likewise.
22148 (check_longlong): Likewise.
22149 (main): Don't print noXFails and noXPasses.
22150 * math/gen-libm-test.pl (top level): Don't mention expected
22151 failure handling in comment.
22152 (new_test): Don't handle expected failures.
22153 (parse_args): Don't mention expected failure handling in comment.
22154 (generate_testfile): Don't handle expected failures.
22155 (parse_ulps): Likewise.
22156 (print_ulps_file): Likewise.
22157 (get_failure): Remove function.
22158 (output_test): Don't handle expected failures.
22159 * make/README.libm-test: Don't mention expected failure handling.
22161 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22162 (minus_zero): Likewise.
22163 (plus_infty): Likewise.
22164 (minus_infty): Likewise.
22165 (qnan_value): Likewise.
22166 (max_value): Likewise.
22167 (min_value): Likewise.
22168 (min_subnorm_value): Likewise.
22169 (initialize): Do not initialize those variables dynamically.
22171 2013-05-03 Roland McGrath <roland@hack.frob.com>
22173 * io/open.c (__open_2): Moved to ...
22174 * io/open_2.c: ... this new file.
22175 * io/open64.c (__open64_2): Moved to ...
22176 * io/open64_2.c: ... this new file.
22177 * io/openat.c (__openat_2): Moved to ...
22178 * io/openat_2.c: ... this new file.
22179 * io/openat64.c (__openat64_2): Moved to ...
22180 * io/openat64_2.c: ... this new file.
22181 * io/Makefile (routines): Add them.
22182 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22183 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22184 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22185 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22186 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22187 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22188 (__openat64): Add hidden_ver.
22189 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22190 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22192 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22193 Separately conditionalize setting of GLRO(dl_sysinfo) so
22194 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22195 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22197 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22199 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22202 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22203 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22204 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22205 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22206 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22208 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22210 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22211 test signgam value.
22213 * math/libm-test.inc (hypot_test): Do not use
22214 IGNORE_ZERO_INF_SIGN.
22216 2013-05-03 Andreas Jaeger <aj@suse.de>
22218 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22220 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22221 (PF_MAX): Adjust for VSOCK change.
22223 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22227 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22230 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22231 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22232 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22234 2013-05-02 David S. Miller <davem@davemloft.net>
22236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22238 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22240 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22242 2013-05-01 Roland McGrath <roland@hack.frob.com>
22244 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22246 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22249 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22250 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22251 Use __attribute__ ((__gnu_inline__)).
22252 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22253 Don't use __attribute__ ((__gnu_inline__)).
22255 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22258 * math/s_catan.c (__catan): Handle small real or imaginary part of
22259 input specially to avoid spurious underflow.
22260 * math/s_catanf.c (__catanf): Likewise.
22261 * math/s_catanh.c (__catanh): Likewise.
22262 * math/s_catanhf.c (__catanhf): Likewise.
22263 * math/s_catanhl.c (__catanhl): Likewise.
22264 * math/s_catanl.c (__catanl): Likewise.
22265 * math/libm-test.inc (catan_test): Add more tests.
22266 (catanh_test): Likewise.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22274 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22277 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22278 accurately for denominator in atan2.
22279 * math/s_catanf.c (__catanf): Likewise.
22280 * math/s_catanh.c (__catanh): Likewise.
22281 * math/s_catanhf.c (__catanhf): Likewise.
22282 * math/s_catanhl.c (__catanhl): Likewise.
22283 * math/s_catanl.c (__catanl): Likewise.
22284 * math/libm-test.inc (catan_test): Add more tests.
22285 (catanh_test): Likewise.
22286 * sysdeps/i386/fpu/libm-test-ulps: Update.
22287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22289 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22291 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22293 * benchtests/Makefile (bench): Remove slow benchmarks.
22294 * benchtests/atan-inputs: Add slow benchmark inputs.
22295 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22296 (BENCH_FUNC): Accept variant offset.
22298 * benchtests/bench-skeleton.c (main): Run benchmark for each
22300 * benchtests/cos-inputs: Add slow benchmark inputs.
22301 * benchtests/exp-inputs: Likewise.
22302 * benchtests/pow-inputs: Likewise.
22303 * benchtests/sin-inputs: Likewise.
22304 * benchtests/slowatan-inputs: Remove.
22305 * benchtests/slowatan.c: Remove.
22306 * benchtests/slowcos-inputs: Remove.
22307 * benchtests/slowcos.c: Remove.
22308 * benchtests/slowexp-inputs: Remove.
22309 * benchtests/slowexp.c: Remove.
22310 * benchtests/slowpow-inputs: Remove.
22311 * benchtests/slowpow.c: Remove.
22312 * benchtests/slowsin-inputs: Remove.
22313 * benchtests/slowsin.c: Remove.
22314 * benchtests/slowtan-inputs: Remove.
22315 * benchtests/slowtan.c: Remove.
22316 * benchtests/tan-inputs: Add slow benchmark inputs.
22317 * scripts/bench.pl: Parse comments and directives.
22319 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22321 ($(objpfx)bench-%.c): Remove *-ITER.
22322 * benchtests/bench-modf.c: Remove definition of ITER.
22323 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22324 (main): Loop for DURATION seconds instead of fixed number of
22326 * scripts/bench.pl: Don't expect iterations in parameters.
22328 2013-04-29 Roland McGrath <roland@hack.frob.com>
22330 * io/fchdir.c (__fchdir): Renamed from fchdir.
22331 (fchdir): Define as weak alias.
22333 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22335 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22336 (ERRNO_EDOM): Likewise.
22337 (ERRNO_ERANGE): Likewise.
22338 (noErrnoTests): New variable.
22339 (init_max_error): Set errno to 0.
22340 (test_single_errno): New function.
22341 (test_errno): Likewise.
22342 (check_float_internal): Call test_errno. Set errno to 0.
22343 (check_complex): Refer to errno tests in comment.
22344 (check_int): Call test_errno. Set errno to 0.
22345 (check_long): Likewise.
22346 (check_bool): Likewise.
22347 (check_longlong): Likewise.
22348 (cos_test): Use ERRNO_* flags for errno tests instead of
22350 (expm1_test): Likewise.
22351 (fmod_test): Likewise.
22352 (ilogb_test): Likewise.
22353 (lgamma_test): Likewise.
22354 (pow_test): Likewise.
22355 (remainder_test): Likewise.
22356 (sin_test): Likewise.
22357 (tan_test): Likewise.
22358 (yn_test): Likewise.
22359 (initialize): Set errno to 0.
22360 (main): Print number of errno tests.
22361 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22363 2013-04-29 Andreas Jaeger <aj@suse.de>
22366 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22370 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22371 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22375 * stdlib/random.c (__initstate): Return NULL if
22379 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22380 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22383 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22387 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22389 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22390 of individual tests.
22391 (casin_test): Likewise.
22392 (casinh_test): Likewise.
22394 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22397 * math/s_catan.c (__catan): Handle arguments with large real or
22398 imaginary part separately without squaring.
22399 * math/s_catanf.c (__catanf): Likewise.
22400 * math/s_catanh.c (__catanh): Likewise.
22401 * math/s_catanhf.c (__catanhf): Likewise.
22402 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22404 (__catanhl): Handle arguments with large real or imaginary part
22405 separately without squaring.
22406 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22408 (__catanl): Handle arguments with large real or imaginary part
22409 separately without squaring.
22410 * math/libm-test.inc (catan_test): Add more tests.
22411 (catanh_test): Likewise.
22412 * sysdeps/i386/fpu/libm-test-ulps: Update.
22413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415 2013-04-27 Andreas Jaeger <aj@suse.de>
22418 * stdlib/stdlib.h: Update guards for qecvt.
22419 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22422 2013-04-27 Allan McRae <allan@archlinux.org>
22424 * sysdeps/i386/fpu/libm-test-ulps: Update.
22426 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22429 * math/s_catan.c: Include <float.h>.
22430 (__catan): Ensure underflow exception occurs for underflowed
22432 * math/s_catanf.c: Include <float.h>.
22433 (__catanf): Ensure underflow exception occurs for underflowed
22435 * math/s_catanh.c: Include <float.h>.
22436 (__catanh): Ensure underflow exception occurs for underflowed
22438 * math/s_catanhf.c: Include <float.h>.
22439 (__catanhf): Ensure underflow exception occurs for underflowed
22441 * math/s_catanhl.c: Include <float.h>.
22442 (__catanhl): Ensure underflow exception occurs for underflowed
22444 * math/s_catanl.c: Include <float.h>.
22445 (__catanl): Ensure underflow exception occurs for underflowed
22447 * math/libm-test.inc (catan_test): Add more tests.
22448 (catanh_test): Likewise.
22451 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22452 underflowed result.
22453 * math/s_ccoshf.c (__ccoshf): Likewise.
22454 * math/s_ccoshl.c (__ccoshl): Likewise.
22455 * math/s_csin.c (__csin): Likewise.
22456 * math/s_csinf.c (__csinf): Likewise.
22457 * math/s_csinh.c (__csinh): Likewise.
22458 * math/s_csinhf.c (__csinhf): Likewise.
22459 * math/s_csinhl.c (__csinhl): Likewise.
22460 * math/s_csinl.c (__csinl): Likewise.
22461 * math/libm-test.inc (ccos_test): Add more tests.
22462 (ccosh_test): Likewise.
22463 (csin_test): Likewise.
22464 (csinh_test): Likewise.
22466 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22468 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22469 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22470 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22471 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22472 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22473 powerpc/power5+/fpu folders.
22474 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22477 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22481 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22483 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22484 additions to variable.
22485 [$(config-machine) = x86_64] (modules-names): Likewise.
22486 ($(objpfx)tst-audit3): Remove dependency.
22487 ($(objpfx)tst-audit3.out): Likewise.
22488 ($(objpfx)tst-audit4): Likewise.
22489 ($(objpfx)tst-audit4.out): Likewise.
22490 ($(objpfx)tst-audit5): Likewise.
22491 ($(objpfx)tst-audit5.out): Likewise.
22492 ($(objpfx)tst-audit6): Likewise.
22493 ($(objpfx)tst-audit6.out): Likewise.
22494 ($(objpfx)tst-audit7): Likewise.
22495 ($(objpfx)tst-audit7.out): Likewise.
22496 (tst-audit3-ENV): Remove variable.
22497 (tst-audit4-ENV): Likewise.
22498 (tst-audit5-ENV): Likewise.
22499 (tst-audit6-ENV): Likewise.
22500 (tst-audit7-ENV): Likewise.
22501 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22502 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22503 addition to variable.
22504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22505 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22506 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22507 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22508 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22509 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22510 tst-audit3, tst-audit4 and tst-audit5.
22511 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22512 tst-audit6 and tst-audit7.
22513 [$(subdir) = elf] (modules-names): Add audit modules for those
22515 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22516 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22517 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22518 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22519 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22520 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22521 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22522 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22523 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22524 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22525 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22526 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22527 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22528 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22529 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22530 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22532 [$(subdir) = elf && $(config-cflags-avx) = yes]
22533 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22534 [$(subdir) = elf && $(config-cflags-avx) = yes]
22535 (CFLAGS-tst-auditmod4a.c): Likewise.
22536 [$(subdir) = elf && $(config-cflags-avx) = yes]
22537 (CFLAGS-tst-auditmod4b.c): Likewise.
22538 [$(subdir) = elf && $(config-cflags-avx) = yes]
22539 (CFLAGS-tst-auditmod6b.c): Likewise.
22540 [$(subdir) = elf && $(config-cflags-avx) = yes]
22541 (CFLAGS-tst-auditmod6c.c): Likewise.
22542 [$(subdir) = elf && $(config-cflags-avx) = yes]
22543 (CFLAGS-tst-auditmod7b.c): Likewise.
22544 * elf/tst-audit3.c: Move to ...
22545 * sysdeps/x86_64/tst-audit3.c: ... here.
22546 * elf/tst-audit4.c: Move to ...
22547 * sysdeps/x86_64/tst-audit4.c: ... here.
22548 * elf/tst-audit5.c: Move to ...
22549 * sysdeps/x86_64/tst-audit5.c: ... here.
22550 * elf/tst-audit6.c: Move to ...
22551 * sysdeps/x86_64/tst-audit6.c: ... here.
22552 * elf/tst-audit7.c: Move to ...
22553 * sysdeps/x86_64/tst-audit7.c: ... here.
22554 * elf/tst-auditmod3a.c: Move to ...
22555 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22556 * elf/tst-auditmod3b.c: Move to ...
22557 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22558 * elf/tst-auditmod4a.c: Move to ...
22559 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22560 * elf/tst-auditmod4b.c: Move to ...
22561 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22562 * elf/tst-auditmod5a.c: Move to ...
22563 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22564 * elf/tst-auditmod5b.c: Move to ...
22565 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22566 * elf/tst-auditmod6a.c: Move to ...
22567 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22568 * elf/tst-auditmod6b.c: Move to ...
22569 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22570 * elf/tst-auditmod6c.c: Move to ...
22571 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22572 * elf/tst-auditmod7a.c: Move to ...
22573 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22574 * elf/tst-auditmod7b.c: Move to ...
22575 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22577 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22580 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22581 define unconditionally.
22582 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22583 define unconditionally.
22584 (INT8_C, INT16_C, etc.): Likewise.
22586 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22588 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22589 __ehdr_start with hidden visibility.
22591 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22593 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22595 * math/libm-test.inc (cos_test): Use accurate hex constants.
22596 (sincost_test): Likewise.
22598 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22600 * math/libm-test.inc (catan_test): Add more tests.
22601 (catanh_test): Likewise.
22603 * math/s_catanf.c (__catanf): Use suffixed floating-point
22605 * math/s_catanhf.c (__catanhf): Likewise.
22606 * math/s_catanhl.c (__catanhl): Likewise.
22607 * math/s_catanl.c (__catanl): Likewise.
22610 * math/s_catan.c (__catan): Calculate imaginary part of result
22611 with log1p not log unless computing log of number close to 0.
22612 * math/s_catanf.c (__catanf): Likewise.
22613 * math/s_catanl.c (__catanl): Likewise.
22614 * math/s_catanh.c (__catanh): Calculate real part of result with
22615 log1p not log unless computing log of number close to 0.
22616 * math/s_catanhf.c (__catanhf): Likewise.
22617 * math/s_catanhl.c (__catanhl): Likewise.
22618 * math/libm-test.inc (catan_test): Add more tests.
22619 (catanh_test): Likewise.
22620 * sysdeps/i386/fpu/libm-test-ulps: Update.
22621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22623 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22625 * benchtests/Makefile: Mention files in which fast and slow
22626 paths of math functions are implemented.
22628 2013-04-23 Roland McGrath <roland@hack.frob.com>
22630 * sysdeps/posix/timespec_get.c: New file.
22632 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22634 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22636 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22638 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22639 powerpc/power5/fpu folders.
22640 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22641 * benchtests/Makefile: Add modf testcase.
22642 * benchtests/bench-modf.c: New file: Benchmark test for mo
22644 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22647 * time/Makefile (tests): Add tst-strptime-whitespace.
22648 * time/strptime_l.c (get_number): Use ISSPACE.
22649 (__strptime_internal): Likewise.
22650 * time/tst-strptime-whitespace.c: New test case.
22652 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22654 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22656 (_nss_files_init): Set it here.
22658 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22660 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22661 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22664 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22666 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22668 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22673 2013-04-21 David S. Miller <davem@davemloft.net>
22675 * po/ru.po: Update Russion translation from translation project.
22677 2013-04-17 Adam Conrad <adconrad@0c3.net>
22679 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22682 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22684 * configure.in: Remove i386 configure warning. Remove i386 case.
22685 * configure: Regenerate.
22686 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22687 Add example to error message.
22688 * sysdeps/i386/configure: Regenerate.
22690 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22692 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22694 * benchtests/cos-inputs: New file.
22695 * benchtests/slowcos-inputs: New file.
22696 * benchtests/slowcos.c: New file.
22697 * benchtests/slowtan-inputs: New file.
22698 * benchtests/slowtan.c: New file.
22699 * benchtests/tan-inputs: New file.
22701 2013-04-16 Roland McGrath <roland@hack.frob.com>
22703 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22706 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * benchtests/Makefile: Include cppflags-iterator.mk to add
22709 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22711 * Makefile.in (bench-clean): New target.
22712 * benchtests/Makefile (bench-clean): Likewise.
22714 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22716 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22718 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22720 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22722 2013-04-15 Andreas Schwab <schwab@suse.de>
22724 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22726 * nscd/pwdcache.c (cache_addpw): Likewise.
22727 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22730 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22732 * benchtests/Makefile (bench): Write all output to
22733 bench-out.tmp together.
22735 2013-04-15 Andreas Schwab <schwab@suse.de>
22737 * nscd/nscd.c (main): Don't fork again after closing files.
22739 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22741 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22743 * benchtests/Rules (bench-deps): Collect dependencies into a
22744 single variable. Add Makefile to dependencies.
22745 ($(objpfx)bench-%.c): Depend on bench-deps.
22747 2013-04-12 Roland McGrath <roland@hack.frob.com>
22748 Xavier Roche <roche+kml2@exalead.com>
22751 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22752 just that it's a file descriptor.
22753 * manual/llio.texi (Synchronizing AIO Operations): Update description
22754 for EBADF error from aio_fsync.
22756 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22758 * Rules (bench): Move target definition...
22759 * benchtests/Makefile: ... here.
22761 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22763 * math/libm-test.inc (cos_test): Fix PI/2 test.
22764 (sincos_test): Likewise.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22766 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22768 2013-04-11 Andreas Schwab <schwab@suse.de>
22771 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22772 accept exponent character only when digits were seen.
22773 * stdio-common/Makefile (tests): Add bug26.
22774 * stdio-common/bug26.c: New file.
22777 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22780 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22782 * Makeconfig (rtld-prefix): Define built linker prefix.
22783 * Rules (run-bench): Use it.
22784 * math/Makefile (run-regen-ulps): Likewise.
22786 * Rules (bench): Remove eval.
22788 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22789 Roland McGrath <roland@hack.frob.com>
22790 Ondrej Bilka <neleai@seznam.cz>
22793 * time/getdate.c: Include ctype.h and alloca.h.
22794 (__getdate_r): Trim leading and trailing spaces of input.
22795 * time/tst-getdate.c (tests): Add tests with leading and
22798 2013-04-08 Roland McGrath <roland@hack.frob.com>
22801 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22802 when computing value.
22804 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22806 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22807 Use testrun.sh to run libm tests.
22810 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22812 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22815 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22817 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22819 * Makefile.in (regen-ulps): New target.
22820 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22821 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22822 [ifneq (no,$(PERL)] (regen-ulps): New target.
22823 [ifeq (no,$(PERL)] (regen-ulps): New target.
22824 * math/libm-test.inc (ulps_file_name): Define.
22825 (output_dir): New variable.
22826 (options): Add "output-dir" option.
22827 (parse_opt): Handle 'o' case.
22828 (main): If output_dir is non-NULL use it as a prefix
22830 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22832 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22834 [BZ #10060, #10062]
22835 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22836 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22837 fail configure if __sync_val_compare_and_swap is not inlined.
22838 * sysdeps/i386/configure: Regenerate.
22839 * configure.in: Build for i686 when configured for i386.
22840 * configure: Regenerate.
22841 * README: Remove i386 reference.
22843 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22845 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22848 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22850 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22851 (lmsnanval): New variables.
22852 (F): Add conversion tests.
22853 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22854 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22856 * stdio-common/tstdiomisc.c (F): Properly collect individual
22859 [BZ #14686, #15336]
22860 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22861 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22862 Instead, use input NaN values or generate a qNaN by arithmetic
22863 operation. Also fix bugs to comply with the standard.
22864 * math/libm-test.inc (remainder_test): Add more tests.
22866 [BZ #15335, #15342]
22867 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22869 input NaN values or generate a qNaN by arithmetic operation.
22871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22874 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22877 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22880 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22881 underflowed result.
22882 * math/s_cexpf.c (__cexpf): Likewise.
22883 * math/s_cexpl.c (__cexpl): Likewise.
22884 * math/libm-test.inc (cexp_test): Add more tests.
22886 2013-04-03 Andreas Schwab <schwab@suse.de>
22889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22890 order arrays from heap if bigger than alloca cutoff.
22892 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22894 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22895 (SNAN_TESTS_double): Refer to GCC PR56831.
22896 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22899 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22901 * Rules (bench): Move bench.out after the run is complete.
22903 * Rules (bench): Echo currently running benchmark.
22905 * benchtests/Makefile (bench): Add atan and slowatan.
22906 * benchtests/atan-inputs: New file.
22907 * benchtests/slowatan-inputs: New file.
22908 * benchtests/slowatan.c: New file.
22910 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22915 * sysdeps/unix/sysv/linux/kernel-features.h
22916 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22917 __ASSUME_XFS_RESTRICTED_CHOWN.
22918 * sysdeps/unix/sysv/linux/pathconf.c
22919 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22920 Save and restore errno.
22922 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22925 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22926 arguments using __kernel_casinh.
22927 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22928 arguments using __kernel_casinhf.
22929 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22930 arguments using __kernel_casinhl.
22931 * math/libm-test.inc (cacosh_test): Add more tests.
22932 * sysdeps/i386/fpu/libm-test-ulps: Update.
22933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22937 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22940 * bench/Makefile (bench): Add sin and slowsin.
22941 * benchtests/sin-inputs: New file.
22942 * benchtests/slowsin-inputs: New file.
22943 * benchtests/slowsin.c: New file.
22945 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22946 (bench): Add slowexp and slowpow.
22947 (exp-ITER): Increase iterations.
22948 (pow-ITER): Likewise.
22949 * benchtests/exp-inputs: Change input.
22950 * benchtests/pow-inputs: Likewise.
22951 * benchtests/slowexp-inputs: New file.
22952 * benchtests/slowexp.c: New file.
22953 * benchtests/slowpow-inputs: New file.
22954 * benchtests/slowpow.c: New file.
22956 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22958 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22960 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22962 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22963 * benchtests/Makefile: Add rint benchtest.
22964 * benchtests/rint-inputs: Input for rint benchtest.
22966 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22968 * Versions.def (libm): Add GLIBC_2.18.
22969 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22970 hidden libm prototypes.
22971 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22972 * math/Makefile (libm-calls): Add s_issignaling.
22973 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22974 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22975 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22977 * math/math.h [__USE_GNU] (issignaling): New macro.
22978 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22979 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22981 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22984 * manual/arith.texi (issignaling): New section.
22985 * manual/libm-err-tab.pl (@all_functions): Update comment.
22986 * math/gen-libm-test.pl (parse_args): Apply special handling for
22988 * math/libm-test.inc (print_float, issignaling_test): New
22990 (check_float_internal): Add issignaling checks.
22991 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22992 default definition.
22993 * sysdeps/powerpc/math-tests.h: New file.
22994 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22996 * math/test-snan.c (TEST_FUNC): Likewise.
22998 2013-03-30 David S. Miller <davem@davemloft.net>
23000 * po/de.po: Update from translation team.
23002 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23005 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23006 imaginary part less than 1.0 and real part less than 0.5
23008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23010 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23011 (cacos_test): Add more tests.
23012 (casin_test): Likewise.
23013 (casinh_test): Likewise.
23014 * sysdeps/i386/fpu/libm-test-ulps: Update.
23015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23017 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23019 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23020 ONE with its value.
23022 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23023 (__pow_mp): Replace ONE and MONE with their values.
23024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23026 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23027 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23028 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23031 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23033 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23034 (__pow_mp): Replace ZERO and MZERO with their values.
23035 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23036 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23037 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23039 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23040 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23043 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23045 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23047 2013-03-28 Roland McGrath <roland@hack.frob.com>
23049 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23050 Declare with __attribute__ ((weak)).
23051 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23052 Call __call_tls_dtors only if it's not NULL.
23054 2013-03-28 Roland McGrath <roland@hack.frob.com>
23056 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23057 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23058 magic __ehdr_start linker symbol if it's defined.
23059 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23060 them up here if it was already done.
23062 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23063 (_dl_aux_init): Use const in cast when setting it.
23064 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23065 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23066 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23068 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23070 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23071 * csu/libc-tls.c: Nor here.
23072 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23074 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23075 (__libc_message): Never call vsyslog.
23077 2013-03-28 Alan Modra <amodra@gmail.com>
23079 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23081 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23084 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23087 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23091 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23094 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23095 Don't add gid passed as argument.
23097 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23099 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23102 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23103 imaginary part between 1.0 and 1.5 and real part less than 0.5
23105 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23106 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23107 * math/libm-test.inc (cacos_test): Add more tests.
23108 (casin_test): Likewise.
23109 (casinh_test): Likewise.
23110 * sysdeps/i386/fpu/libm-test-ulps: Update.
23111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23113 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23115 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23118 (denorm): Likewise.
23119 (__dbl_mp): Likewise.
23120 (add_magnitudes): Likewise.
23121 (sub_magnitudes): Likewise.
23129 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23131 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23132 (__dubcos): Likewise.
23133 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23134 (__ieee754_acos): Likewise.
23135 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23136 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23137 (__exp1): Likewise.
23138 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23141 (my_log2): Likewise.
23142 (checkint): Likewise.
23143 * sysdeps/ieee754/dbl-64/e_remainder.c
23144 (__ieee754_remainder): Likewise.
23145 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23147 (bsloww): Likewise.
23148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23150 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23152 MANTISSA_STORE_T to store computations on mantissa. Use
23153 macros for rounding and division.
23154 (denorm): Likewise.
23155 (__dbl_mp): Likewise.
23156 (add_magnitudes): Likewise.
23157 (sub_magnitudes): Likewise.
23160 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23161 powers of two in terms of TWOPOW macro.
23162 (mp_no): Make type of mantissa as MANTISSA_T.
23163 [!RADIXI]: Define RADIXI.
23164 [!TWO52]: Define TWO52.
23165 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23167 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23169 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23170 llroundl symbol when building for PPC32.
23172 2013-03-24 Mark H Weaver <mhw@netris.org>
23174 * manual/arith.texi (Normalization Functions): Fix prototypes for
23175 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23177 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23181 high value to check if expl overflow.
23182 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23183 to check for underflow and overflow.
23184 * math/libm-test.inc: Add exp test.
23186 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23189 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23192 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23194 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23197 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23199 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23200 wrap blocks consisting of several statements.
23202 * sysdeps/generic/math-tests.h: New file.
23203 * sysdeps/i386/fpu/math-tests.h: Likewise.
23204 * math/test-snan.c: Include it.
23205 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23207 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23211 (__ieee754_j0l): Do not improve calculations using cos of twice
23212 input for inputs above LDBL_MAX / 2.0L.
23213 (__ieee754_y0l): Likewise.
23214 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23215 (__ieee754_j1l): Do not improve calculations using cos of twice
23216 input for inputs above LDBL_MAX / 2.0L.
23217 (__ieee754_y1l): Likewise.
23218 * math/libm-test.inc (j0_test): Add another test.
23219 (j1_test): Likewise.
23220 (y0_test): Likewise.
23221 (y1_test): Likewise.
23222 * sysdeps/i386/fpu/libm-test-ulps: Update.
23224 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23226 * Rules ($(objpfx)bench-%.c): Include code from a C source
23229 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23232 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23233 imaginary part 1.0 and real part less than 0.5 specially.
23234 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23235 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23236 * math/libm-test.inc (cacos_test): Add more tests.
23237 (casin_test): Likewise.
23238 (casinh_test): Likewise.
23239 * sysdeps/i386/fpu/libm-test-ulps: Update.
23240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23242 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23245 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23247 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23249 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23250 * config.make.in (config-cflags-sse4): Remove variable.
23251 (config-cflags-avx): Likewise.
23252 (config-cflags-sse2avx): Likewise.
23253 (config-cflags-novzeroupper): Likewise.
23254 (config-asflags-i686): Likewise.
23255 (have-mfma4): Likewise.
23256 (have-as-vis3): Likewise.
23258 * configure.in (MIG): Do not AC_SUBST.
23259 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23260 (libc_cv_cc_sse4): Do not AC_SUBST.
23261 (libc_cv_cc_avx): Likewise.
23262 (libc_cv_cc_sse2avx): Likewise.
23263 (libc_cv_cc_novzeroupper): Likewise.
23264 (libc_cv_cc_fma4): Likewise.
23265 (libc_cv_as_i686): Likewise.
23266 (libc_cv_sparc_as_vis3): Likewise.
23267 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23269 (config-asflags-i686): Likewise.
23270 (config-cflags-avx): Likewise.
23271 (config-cflags-sse2avx): Likewise.
23272 (have-mfma4): Likewise.
23273 (config-cflags-novzeroupper): Likewise.
23274 * sysdeps/mach/configure.in (MIG): Likewise.
23275 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23276 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23278 (config-cflags-avx): Likewise.
23279 (config-cflags-sse2avx): Likewise.
23280 (have-mfma4): Likewise.
23281 (config-cflags-novzeroupper): Likewise.
23282 * configure: Regenerated.
23283 * sysdeps/i386/configure: Likewise.
23284 * sysdeps/mach/configure: Likewise.
23285 * sysdeps/sparc/configure: Likewise.
23286 * sysdeps/x86_64/configure: Likewise.
23288 2013-03-20 Roland McGrath <roland@hack.frob.com>
23291 * locale/programs/localedef.c (options): Put N_ translation marker
23292 on argument names, not just descriptions.
23294 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23296 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23298 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23301 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23303 2013-03-19 Roland McGrath <roland@hack.frob.com>
23305 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23306 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23307 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23308 [!BEFORE_ABORT] (before_abort): New function.
23309 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23310 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23311 (writev_for_fatal): New function.
23312 (WRITEV_FOR_FATAL): New macro; call that.
23313 (backtrace_and_maps): New function.
23314 (BEFORE_ABORT): New macro; call that.
23315 (struct str_list): Type removed.
23316 (__libc_message, __libc_fatal): Functions removed.
23317 Include <sysdeps/posix/libc_fatal.c> instead.
23319 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23321 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23323 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23326 2013-03-19 Andreas Schwab <schwab@suse.de>
23328 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23329 * sysdeps/gnu/configure: Regenerate.
23331 * configure.in: Substitute libc_cv_rtlddir.
23332 * configure: Regenerate.
23333 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23334 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23335 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23336 * elf/Makefile (install-others, CFLAGS-interp.c)
23337 (ldso_install, common-ldd-rewrite): Likewise.
23338 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23339 $(inst_slibdir)/$(rtld-installed-name).
23340 * scripts/rellns-sh: Add -p option.
23341 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23344 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23346 * manual/nptl.texi: Renamed to ...
23347 * manual/threads.texi: ... this.
23348 * manual/Makefile (chapters): Update.
23350 2013-03-18 Roland McGrath <roland@hack.frob.com>
23353 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23354 on argument names, not just descriptions.
23355 * malloc/memusagestat.c (options): Likewise.
23356 * nss/getent.c (options): Likewise.
23358 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23361 * iconv/iconv_prog.c (options): Put N_ translation marker
23362 on argument names, not just descriptions.
23363 * iconv/iconvconfig.c (options): Likewise.
23365 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23367 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23368 implementation which is faster on all x86_64 architectures.
23369 Tested on AMD, Intel Nehalem, SNB, IVB.
23370 * sysdeps/x86_64/strnlen.S: Likewise.
23372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23373 Remove all multiarch strlen and strnlen versions.
23374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23375 Remove strlen and strnlen related parts.
23377 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23378 Inline strlen part.
23379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23381 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23382 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23383 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23384 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23385 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23386 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23388 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23390 * manual/memory.texi (Malloc Tunable Parameters):
23391 Sort parameters alphabetically. Add comments for missing entries.
23393 2013-03-17 David S. Miller <davem@davemloft.net>
23395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23397 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23400 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23401 for arguments at most half maximum finite value.
23402 * math/libm-test.inc (j0_test): Add more tests.
23403 (j1_test): Likewise.
23404 (y0_test): Likewise.
23405 (y1_test): Likewise.
23406 * sysdeps/i386/fpu/libm-test-ulps: Update.
23407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23410 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23411 1 / x and functions P and Q for arguments above 0x1p256L.
23412 (__ieee754_y0l): Likewise.
23413 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23414 (__ieee754_y1l): Likewise.
23415 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23416 (j1_test): Likewise.
23417 (y0_test): Likewise.
23418 (y1_test): Likewise.
23420 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23422 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23425 2013-03-15 Roland McGrath <roland@hack.frob.com>
23427 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23428 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23429 zero since it's initialized to EXEC_PAGESIZE.
23431 * sysdeps/unix/sysv/linux/ldsodefs.h
23432 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23433 * sysdeps/generic/ldsodefs.h: ... here.
23435 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23437 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23439 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23441 * math/test-snan.c: Renamed from
23442 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23443 * math/Makefile (tests): Add test-snan.
23444 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23447 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23448 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23450 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23451 __builtin_nan family of functions.
23452 * math/libm-test.inc (initialize): Initialize qnan_value with
23453 __builtin_nan family of functions.
23454 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23456 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23458 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23459 storage class. Initialize qNaN_var and sNaN_var with
23460 __builtin_nan and __builtin_nans families of functions,
23463 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23464 (sqrt_test): Remove duplicate test with qNaN input.
23465 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23466 (round_test, signbit_test, significand_test): Note missing +/-Inf
23467 as well as qNaN tests.
23469 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23470 qNaN_var. Fix a few strings, too.
23471 * math/libm-test.inc (nan_value): Rename to qnan_value.
23472 * math/gen-libm-test.pl (%beautify): Adjust to that.
23473 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23474 * math/test-misc.c (main): Likewise.
23475 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23476 to __qnan_bytes, and __qnan_union, respectively.
23477 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23479 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23480 and lqnanval, respectively.
23481 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23482 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23483 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23484 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23486 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23487 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23490 * math/test-misc.c (main): Fix copy'n'pastos.
23491 * misc/tst-efgcvt.c (special): Likewise.
23493 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23494 Remove declarations.
23496 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23498 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23499 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23500 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23501 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23503 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23505 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23506 macro to return vdso values correctly in IFUNC implementations.
23507 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23508 Optimization by using IFUNC.
23510 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23511 Richard Henderson <rth@redhat.com>
23512 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23514 * Makefile.in (bench): New target.
23515 * NEWS: Mention the benchmark framework.
23516 * Rules (bench): Likewise.
23517 (binaries-bench): Generate binaries for functions to
23519 * benchtests/Makefile: New makefile for benchmark tests.
23520 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23522 * benchtests/exp-inputs: New input file for EXP function.
23523 * benchtests/pow-inputs: New input file for POW function.
23524 * scripts/bench.pl: New script to generate source files for
23525 benchmark programs.
23527 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23529 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23530 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23531 computations on mantissa. Use macros for rounding and
23533 (denorm): Likewise.
23534 (__dbl_mp): Likewise.
23535 (add_magnitudes): Likewise.
23536 (sub_magnitudes): Likewise.
23539 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23540 powers of two in terms of TWOPOW macro.
23541 (mp_no): Make type of mantissa as MANTISSA_T.
23542 [!RADIXI]: Define RADIXI.
23543 [!TWO52]: Define TWO52.
23544 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23546 * manual/nptl.texi (cindex): Modify threads to pthreads.
23548 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23550 * sysdeps/x86_64/preconfigure: Regenerated.
23552 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23555 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23557 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23558 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23560 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23561 * math/libm-test.inc (j0_test): Do not allow one spurious
23562 underflow exception.
23563 (y1_test): Likewise.
23565 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23567 * manual/Makefile (chapters): Add nptl.
23568 * manual/debug.texi (Debugging Support): Add link to Threads
23570 * manual/nptl.texi: New file.
23572 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23574 2013-03-14 Petr Baudis <pasky@ucw.cz>
23576 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23577 for non-NULL pointer before the memory validity test. Pointed
23578 out by Holger Brunck <holger.brunck@keymile.com>.
23580 2013-03-13 Andreas Schwab <schwab@suse.de>
23582 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23585 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23587 * timezone/zic.c: Update from tzcode 2013b.
23589 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23591 * manual/install.texi (Configuring and compiling):
23592 Mention i686 and i586.
23593 * INSTALL: Regenerate.
23595 2013-03-12 Roland McGrath <roland@hack.frob.com>
23597 * sysdeps/init_array/elf-init.c: New file.
23599 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23600 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23602 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23603 __gmon_start__ as global, but as static with a .preinit_array pointer.
23604 * sysdeps/init_array/gmon-start.c: New file. Use that.
23605 * sysdeps/init_array/crti.S: New file, empty except for comments.
23606 * sysdeps/init_array/crtn.S: Likewise.
23608 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23610 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23613 Remove Prefer_SSE_for_memop.
23614 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23615 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23616 HAS_PREFER_SSE_FOR_MEMOP.
23617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23620 Remove bzero, memset ifunc support.
23621 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23622 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23623 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23624 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23626 2013-03-11 Andreas Schwab <schwab@suse.de>
23629 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23632 (GLIBC_2.16): Remove pthread_atfork.
23634 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23636 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23637 (ptestcases.h): Likewise.
23639 2013-03-08 Roland McGrath <roland@hack.frob.com>
23641 * Makeconfig ($(common-objpfx)config.status): Depend on
23642 sysdeps/*/preconfigure{,.in} too.
23644 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23646 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23647 (__free_hook): Use void * instead of __malloc_ptr_t.
23648 (__malloc_hook): Likewise.
23649 (__realloc_hook): Likewise.
23650 (__memalign_hook): Likewise.
23651 (__after_morecore_hook): Likewise.
23652 * malloc/arena.c (save_malloc_hook): Likewise.
23653 (save_free_hook): Likewise.
23654 * malloc/hooks.c (malloc_hook_ini): Likewise.
23655 (realloc_hook_ini): Likewise.
23656 (memalign_hook_ini): Likewise.
23657 * malloc/malloc.c (malloc_hook_ini): Likewise.
23658 (realloc_hook_ini): Likewise.
23659 (memalign_hook_ini): Likewise.
23660 (__free_hook): Likewise.
23661 (__malloc_hook): Likewise.
23662 (__realloc_hook): Likewise.
23663 (__memalign_hook): Likewise.
23664 (__libc_malloc): Likewise.
23665 (__libc_free): Likewise.
23666 (__libc_realloc): Likewise.
23667 (__libc_memalign): Likewise.
23668 (__libc_valloc): Likewise.
23669 (__libc_pvalloc): Likewise.
23670 (__libc_calloc): Likewise.
23671 (__posix_memalign): Likewise.
23672 * malloc/morecore.c (__sbrk): Likewise.
23673 (__default_morecore): Likewise.
23675 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23677 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23678 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23679 __malloc_ptrdiff_t.
23681 * malloc/malloc.h (__malloc_size_t): Remove macro.
23682 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23684 (old_memalign_hook): Likewise.
23685 (old_realloc_hook): Likewise.
23686 (struct hdr): Likewise.
23688 (mallochook): Likewise.
23689 (memalignhook): Likewise.
23690 (reallochook): Likewise.
23691 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23692 (tr_old_realloc_hook): Likewise.
23693 (tr_old_memalign_hook): Likewise.
23694 (tr_mallochook): Likewise.
23695 (tr_reallochook): Likewise.
23696 (tr_memalignhook): Likewise.
23698 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23701 default_ldbl_pack and using as default implementation.
23702 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23704 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23705 redundant definition.
23706 (ldbl_insert_mantissa): Likewise.
23707 (ldbl_canonicalize): Likewise.
23708 (ldbl_nearbyint): Likewise.
23709 (ldbl_pack): Rename to ldbl_pack_ppc.
23710 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23711 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23712 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23714 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23717 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23718 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23719 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23721 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23722 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23723 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23725 2013-03-07 Andreas Jaeger <aj@suse.de>
23727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23730 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23732 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23733 Include mpa.h and declare __MPEXP.
23734 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23735 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23736 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23737 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23738 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23739 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23740 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23742 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23743 (__slowpow): Use long double EXPL and LOGL functions to
23745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23746 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23747 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23749 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23750 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23753 intermediate variable to calculate exponent.
23755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23759 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23760 [!NO__SQR]: Define __sqr.
23761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23762 and NO__SQR. Remove all code except __mul and __sqr. Include
23763 sysdeps/ieee754/dbl-64/mpa.c.
23764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23767 * posix/Makefile (tests): Add tst-pathconf.
23768 * posix/tst-pathconf.c: New test case.
23769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23771 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23773 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23775 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23777 2013-03-06 Andreas Jaeger <aj@suse.de>
23779 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23780 definition via __MAP_ANONYMOUS.
23782 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23783 it's not part of Linux headers.
23785 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23786 (MAP_HUGE_MASK): Define.
23788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23794 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23796 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23799 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23801 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23802 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23803 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23804 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23805 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23806 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23811 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23812 Handle f2fs and efivarfs.
23814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23817 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23818 (EFIVARFS_MAGIC): Add.
23819 (F2FS_LINK_MAX): Add.
23821 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23823 * stdio-common/vfprintf.c: Replace __builtin_expect with
23826 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23829 * sysdeps/generic/bp-sym.h: Remove file.
23830 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23831 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23832 <bp-sym.h> and <bp-asm.h>.
23833 (__longjmp): Don't use BP_SYM.
23834 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23836 (memcpy): Don't use BP_SYM.
23837 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23838 <bp-sym.h> and <bp-asm.h>.
23839 (memcpy): Don't use BP_SYM.
23840 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23842 (memcpy): Don't use BP_SYM.
23843 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23845 (memset): Don't use BP_SYM.
23846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23848 (__bzero): Don't use BP_SYM.
23849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23851 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23852 <bp-sym.h> and <bp-asm.h>.
23853 (memcmp): Don't use BP_SYM. Remove comment about bounded
23855 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23856 <bp-sym.h> and <bp-asm.h>.
23857 (memcpy): Don't use BP_SYM.
23858 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23859 <bp-sym.h> and <bp-asm.h>.
23860 (memset): Don't use BP_SYM.
23861 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23862 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23863 (__bzero): Don't use BP_SYM.
23864 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23865 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23867 <bp-sym.h> and <bp-asm.h>.
23868 (strncmp): Don't use BP_SYM. Remove comment about bounded
23870 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23871 <bp-sym.h> and <bp-asm.h>.
23872 (memcpy): Don't use BP_SYM.
23873 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23874 <bp-sym.h> and <bp-asm.h>.
23875 (memset): Don't use BP_SYM.
23876 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23877 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23878 (__bzero): Don't use BP_SYM.
23879 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23880 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (__memchr): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (memcmp): Don't use BP_SYM. Remove comment about bounded
23888 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23889 <bp-sym.h> and <bp-asm.h>.
23890 (memcpy): Don't use BP_SYM.
23891 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23892 <bp-sym.h> and <bp-asm.h>.
23893 (__mempcpy): Don't use BP_SYM.
23894 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23895 <bp-sym.h> and <bp-asm.h>.
23896 (__memrchr): Don't use BP_SYM.
23897 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23898 <bp-sym.h> and <bp-asm.h>.
23899 (memset): Don't use BP_SYM.
23900 (__bzero): Likewise.
23901 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23902 <bp-sym.h> and <bp-asm.h>.
23903 (__rawmemchr): Don't use BP_SYM.
23904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23905 <bp-sym.h> and <bp-asm.h>.
23906 (__STRCMP): Don't use BP_SYM.
23907 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23908 <bp-sym.h> and <bp-asm.h>.
23909 (strchr): Don't use BP_SYM.
23910 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23911 <bp-sym.h> and <bp-asm.h>.
23912 (__strchrnul): Don't use BP_SYM.
23913 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23914 <bp-sym.h> and <bp-asm.h>.
23915 (strlen): Don't use BP_SYM.
23916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23917 <bp-sym.h> and <bp-asm.h>.
23918 (strncmp): Don't use BP_SYM. Remove comment about bounded
23920 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23921 <bp-sym.h> and <bp-asm.h>.
23922 (__strnlen): Don't use BP_SYM.
23923 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23924 <bp-sym.h> and <bp-asm.h>.
23925 (__GI__setjmp): Don't use BP_SYM.
23926 (_setjmp): Likewise.
23927 (__sigsetjmp): Likewise.
23928 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23929 (L(start_addresses)): Don't use BP_SYM.
23930 (_start): Likewise.
23931 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23933 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23934 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23935 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23936 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23937 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23939 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23940 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23941 about bounded pointers.
23942 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23943 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23944 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23946 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23947 about bounded pointers. Remove GKM FIXME comments.
23948 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23949 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23951 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23952 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23953 Remove GKM FIXME comments.
23954 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23955 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23956 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23958 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23959 about bounded pointers. Remove GKM FIXME comment.
23960 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23962 (strncmp): Don't use BP_SYM. Remove comment about bounded
23964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23965 <bp-sym.h> and <bp-asm.h>.
23966 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23968 <bp-sym.h> and <bp-asm.h>.
23969 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23972 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23974 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23977 2013-03-05 David S. Miller <davem@davemloft.net>
23979 * po/es.po: Update from translation team.
23981 2013-03-05 Andreas Jaeger <aj@suse.de>
23983 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23984 <bits/mman-linux.h>.
23985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23987 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23988 <bits/mman-linux.h> to end of file.
23989 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23991 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23992 <bits/mman-linux.h> to end of file.
23993 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23995 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23996 <bits/mman-linux.h> to end of file.
23998 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23999 (MCL_CURRENT, MCL_FUTURE): Define here.
24001 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24004 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24006 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24008 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24010 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24011 fourth parameter needed for rt_sigprocmask syscall.
24012 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24013 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24014 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24015 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24017 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24019 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24022 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24023 comment about bounded pointers.
24024 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24025 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24027 2013-03-04 Andreas Jaeger <aj@suse.de>
24029 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24030 common definitions.
24032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24033 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24034 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24036 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24039 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24043 __ieee754_sqrl instead of __sqrl.
24045 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24048 * sysdeps/powerpc/fpu_control.h: ... here.
24049 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24050 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24051 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24052 * sysdeps/powerpc/bits/mathinline.h: ... here.
24054 2013-03-01 Roland McGrath <roland@hack.frob.com>
24056 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24057 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24058 to just [NEED_DL_SYSINFO_DSO].
24059 * elf/dl-support.c: Likewise.
24060 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24061 * elf/rtld.c (dl_main): Likewise.
24062 * elf/setup-vdso.h (setup_vdso): Likewise.
24063 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24064 * sysdeps/unix/sysv/linux/dl-sysdep.c
24065 (_dl_discover_osversion): Likewise.
24067 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24069 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24070 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24072 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24074 * NEWS: Mention libm performance improvements and non-x86 PI
24077 * csu/libc-start.c (__pthread_initialize_minimal): Change
24078 function arguments.
24079 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24081 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24084 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24085 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24086 <bp-sym.h> and <bp-asm.h>.
24087 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24088 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24090 (memcpy): Don't use BP_SYM.
24091 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24093 (__mpn_add_n): Don't use BP_SYM.
24094 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24095 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24097 (__mpn_addmul_1): Don't use BP_SYM.
24098 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24099 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24101 (_setjmp): Don't use BP_SYM.
24102 (__novmx_setjmp): Likewise.
24103 (__GI__setjmp): Likewise.
24104 (__vmx_setjmp): Likewise.
24105 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24107 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24108 (__bzero): Don't use BP_SYM.
24109 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24110 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24111 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24112 <bp-sym.h> and <bp-asm.h>.
24113 (memcpy): Don't use BP_SYM.
24114 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24115 <bp-sym.h> and <bp-asm.h>.
24116 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24117 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24118 <bp-sym.h> and <bp-asm.h>.
24119 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24120 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24122 (__mpn_lshift): Don't use BP_SYM.
24123 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24124 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24126 (memset): Don't use BP_SYM.
24127 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24128 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24129 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24131 (__mpn_mul_1): Don't use BP_SYM.
24132 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24133 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24134 <bp-sym.h> and <bp-asm.h>.
24135 (memcmp): Don't use BP_SYM.
24136 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24137 <bp-sym.h> and <bp-asm.h>.
24138 (memcpy): Don't use BP_SYM.
24139 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24140 <bp-sym.h> and <bp-asm.h>.
24141 (memset): Don't use BP_SYM.
24142 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24143 <bp-sym.h> and <bp-asm.h>.
24144 (strncmp): Don't use BP_SYM.
24145 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24146 <bp-sym.h> and <bp-asm.h>.
24147 (memcpy): Don't use BP_SYM.
24148 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24149 <bp-sym.h> and <bp-asm.h>.
24150 (memset): Don't use BP_SYM.
24151 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24152 <bp-sym.h> and <bp-asm.h>.
24153 (__memchr): Don't use BP_SYM.
24154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24155 <bp-sym.h> and <bp-asm.h>.
24156 (memcmp): Don't use BP_SYM.
24157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24158 <bp-sym.h> and <bp-asm.h>.
24159 (memcpy): Don't use BP_SYM.
24160 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24161 <bp-sym.h> and <bp-asm.h>.
24162 (__mempcpy): Don't use BP_SYM.
24163 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24164 <bp-sym.h> and <bp-asm.h>.
24165 (__memrchr): Don't use BP_SYM.
24166 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24167 <bp-sym.h> and <bp-asm.h>.
24168 (memset): Don't use BP_SYM.
24169 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24170 <bp-sym.h> and <bp-asm.h>.
24171 (__rawmemchr): Don't use BP_SYM.
24172 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24173 <bp-sym.h> and <bp-asm.h>.
24174 (__STRCMP): Don't use BP_SYM.
24175 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24176 <bp-sym.h> and <bp-asm.h>.
24177 (strchr): Don't use BP_SYM.
24178 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24179 <bp-sym.h> and <bp-asm.h>.
24180 (__strchrnul): Don't use BP_SYM.
24181 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24182 <bp-sym.h> and <bp-asm.h>.
24183 (strlen): Don't use BP_SYM.
24184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24185 <bp-sym.h> and <bp-asm.h>.
24186 (strncmp): Don't use BP_SYM.
24187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24188 <bp-sym.h> and <bp-asm.h>.
24189 (__strnlen): Don't use BP_SYM.
24190 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24192 (__mpn_rshift): Don't use BP_SYM.
24193 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24194 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24195 <bp-sym.h> and <bp-asm.h>.
24196 (__sigsetjmp): Don't use BP_SYM.
24197 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24198 (L(start_addresses)): Don't use BP_SYM.
24199 (_start): Likewise.
24200 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24202 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24203 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24204 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24205 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24207 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24208 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24209 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24210 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24212 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24214 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24215 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24217 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24219 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24220 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24221 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24223 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24225 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24227 (strncmp): Don't use BP_SYM,
24228 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24230 (__mpn_sub_n): Don't use BP_SYM.
24231 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24232 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24234 (__mpn_submul_1): Don't use BP_SYM.
24235 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24237 <bp-sym.h> and <bp-asm.h>.
24238 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24240 <bp-sym.h> and <bp-asm.h>.
24241 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24244 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24247 Use ZK to minimize writes to Z.
24248 (sub_magnitudes): Simplify code a bit.
24249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24250 Use ZK to minimize writes to Z.
24251 (sub_magnitudes): Simplify code a bit.
24253 2013-02-27 Roland McGrath <roland@hack.frob.com>
24255 * csu/gmon-start.c: Add special exception to license text.
24257 2013-02-27 Richard Henderson <rth@redhat.com>
24259 * scripts/config.guess: Update from config.git.
24260 * scripts/config.sub: Likewise.
24262 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24264 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24266 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24268 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24270 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24272 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24274 2013-02-26 Roland McGrath <roland@hack.frob.com>
24276 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24277 [$(build-shared = yes].
24279 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24281 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24282 (__mul): Reduce iterations for calculating mantissa.
24284 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24286 (__mpranred): Likewise.
24289 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24290 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24292 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24294 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24295 Define __attribute__.
24297 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24299 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24301 * posix/regex_internal.h (__attribute): Remove.
24302 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24303 (re_string_context_at): Likewise.
24304 (bitset_not): Use __attribute__ and mark function as possibly
24306 (bitset_merge): Likewise.
24307 (bitset_mask): Likewise.
24308 (re_string_char_size_at): Likewise.
24309 (re_string_wchar_at): Likewise.
24310 (re_string_elem_size_at): Likewise.
24312 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24314 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24318 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24322 (denorm): Likewise.
24323 (__dbl_mp): Likewise.
24324 (add_magnitudes): Likewise.
24325 (sub_magnitudes): Likewise.
24329 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24332 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24335 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24339 up changes with default code.
24340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24343 2013-02-24 Allan McRae <allan@archlinux.org>
24345 * manual/socket.texi (The Internet Namespace): Order menu items
24346 to match that in the file.
24348 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24349 node listing of the info page menu.
24351 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24354 * sysdeps/i386/bp-asm.h: Remove file.
24355 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24356 (PARMS): Do not use macros from bp-asm.h.
24360 (__mpn_add_n): Do not use BP_SYM
24361 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24363 (PARMS): Do not use macros from bp-asm.h.
24366 (__mpn_addmul_1): Do not use BP_SYM
24367 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24369 (PARMS): Do not use macros from bp-asm.h.
24370 (SIGMSK): Likewise.
24371 (_setjmp): Likewise. Do not use BP_SYM.
24372 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24374 (PARMS): Do not use macros from bp-asm.h.
24375 (SIGMSK): Likewise.
24376 (setjmp): Likewise. Do not use BP_SYM.
24377 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24379 (PARMS): Do not use macros from bp-asm.h.
24380 (__frexp): Do not use BP_SYM.
24382 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24384 (PARMS): Do not use macros from bp-asm.h.
24385 (__frexpf): Do not use BP_SYM.
24386 (frexpf): Likewise.
24387 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24389 (PARMS): Do not use macros from bp-asm.h.
24390 (__frexpl): Do not use BP_SYM.
24391 (frexpl): Likewise.
24392 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24394 (PARMS): Do not use macros from bp-asm.h.
24395 (__remquo): Do not use BP_SYM.
24396 (remquo): Likewise.
24397 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24399 (PARMS): Do not use macros from bp-asm.h.
24400 (__remquof): Do not use BP_SYM.
24401 (remquof): Likewise.
24402 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24404 (PARMS): Do not use macros from bp-asm.h.
24405 (__remquol): Do not use BP_SYM.
24406 (remquol): Likewise.
24407 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24409 (PARMS): Do not use macros from bp-asm.h.
24412 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24413 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24415 (PARMS): Do not use macros from bp-asm.h.
24416 (strlen): Do not use BP_SYM.
24417 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24419 (PARMS): Do not use macros from bp-asm.h.
24423 (__mpn_add_n): Do not use BP_SYM.
24424 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24426 (PARMS): Do not use macros from bp-asm.h.
24429 (__mpn_addmul_1): Do not use BP_SYM.
24430 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24433 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24435 (PARMS): Do not use macros from bp-asm.h.
24438 (__mpn_lshift): Do not use BP_SYM.
24439 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24441 (PARMS): Do not use macros from bp-asm.h.
24445 (memcpy): Likewise. Do not use BP_SYM.
24446 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24447 libc_hidden_def and weak_alias.
24448 (mempcpy): Do not use BP_SYM in weak_alias.
24449 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24451 (PARMS): Do not use macros from bp-asm.h.
24454 [!BZERO_P] (CHR): Likewise.
24455 (memset): Likewise. Do not use BP_SYM.
24456 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24458 (PARMS): Do not use macros from bp-asm.h.
24461 (__mpn_mul_1): Do not use BP_SYM.
24462 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24464 (PARMS): Do not use macros from bp-asm.h.
24467 (__mpn_rshift): Do not use BP_SYM.
24468 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24470 (PARMS): Do not use macros from bp-asm.h.
24473 (strchr): Likewise. Do not use BP_SYM.
24474 (index): Do not use BP_SYM in weak_alias.
24475 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24477 (PARMS): Do not use macros from bp-asm.h.
24480 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24481 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24483 (PARMS): Do not use macros from bp-asm.h.
24484 (strlen): Do not use BP_SYM.
24485 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24487 (PARMS): Do not use macros from bp-asm.h.
24491 (__mpn_sub_n): Do not use BP_SYM.
24492 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24494 (PARMS): Do not use macros from bp-asm.h.
24497 (__mpn_submul_1): Do not use BP_SYM.
24498 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24500 (PARMS): Do not use macros from bp-asm.h.
24504 (__mpn_add_n): Do not use BP_SYM.
24505 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24508 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24510 (PARMS): Do not use macros from bp-asm.h.
24513 (memcmp): Do not use BP_SYM.
24514 (bcmp): Do not use BP_SYM in weak_alias.
24515 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24517 (PARMS): Do not use macros from bp-asm.h.
24521 (memcpy): Likewise. Do not use BP_SYM.
24522 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24524 (PARMS): Do not use macros from bp-asm.h.
24528 (memmove): Likewise. Do not use BP_SYM.
24529 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24531 (PARMS): Do not use macros from bp-asm.h.
24535 (__mempcpy): Likewise. Do not use BP_SYM.
24536 (mempcpy): Do not use BP_SYM in weak_alias.
24537 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24539 (PARMS): Do not use macros from bp-asm.h.
24542 [!BZERO_P] (CHR): Likewise.
24543 (memset): Likewise. Do not use BP_SYM.
24544 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24546 (PARMS): Do not use macros from bp-asm.h.
24548 (strcmp): Do not use BP_SYM.
24549 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24551 (PARMS): Do not use macros from bp-asm.h.
24554 [USE_AS_STRTOK_R] (SAVE): Likewise.
24555 (FUNCTION): Likewise. Do not use BP_SYM.
24556 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24558 (strtok_r): Likewise.
24559 (__GI___strtok_r): Likewise.
24560 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24561 (PARMS): Do not use macros from bp-asm.h.
24564 (__mpn_lshift): Do not use BP_SYM.
24565 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24566 (PARMS): Do not use macros from bp-asm.h.
24569 (__memchr): Do not use BP_SYM.
24570 (memchr): Do not use BP_SYM in weak_alias.
24571 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24572 (PARMS): Do not use macros from bp-asm.h.
24575 (memcmp): Do not use BP_SYM.
24576 (bcmp): Do not use BP_SYM in weak_alias.
24577 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24578 (PARMS): Do not use macros from bp-asm.h.
24581 (__mpn_mul_1): Do not use BP_SYM.
24582 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24584 (PARMS): Do not use macros from bp-asm.h.
24587 (__rawmemchr): Do not use BP_SYM.
24588 (rawmemchr): Do not use BP_SYM in weak_alias.
24589 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24590 (PARMS): Do not use macros from bp-asm.h.
24593 (__mpn_rshift): Do not use BP_SYM.
24594 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24595 (PARMS): Do not use macros from bp-asm.h.
24596 (SIGMSK): Likewise.
24597 (__sigsetjmp): Likewise. Do not use BP_SYM.
24598 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24599 (_start): Do not use BP_SYM.
24600 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24601 (PARMS): Do not use macros from bp-asm.h.
24604 (__stpcpy): Likewise. Do not use BP_SYM.
24605 (stpcpy): Do not use BP_SYM in weak_alias.
24606 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24608 (PARMS): Do not use macros from bp-asm.h.
24612 (__stpncpy): Likewise. Do not use BP_SYM.
24613 (stpncpy): Do not use BP_SYM in weak_alias.
24614 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24615 (PARMS): Do not use macros from bp-asm.h.
24618 (strchr): Likewise. Do not use BP_SYM.
24619 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24621 (PARMS): Do not use macros from bp-asm.h.
24624 (__strchrnul): Likewise. Do not use BP_SYM.
24625 (strchrnul): Do not use BP_SYM in weak_alias.
24626 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24628 (PARMS): Do not use macros from bp-asm.h.
24630 (strcspn): Do not use BP_SYM.
24631 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24633 (PARMS): Do not use macros from bp-asm.h.
24636 (strpbrk): Likewise. Do not use BP_SYM.
24637 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24639 (PARMS): Do not use macros from bp-asm.h.
24642 (strrchr): Likewise. Do not use BP_SYM.
24643 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24644 (PARMS): Do not use macros from bp-asm.h.
24646 (strspn): Do not use BP_SYM.
24647 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24648 (PARMS): Do not use macros from bp-asm.h.
24652 (FUNCTION): Likewise. Do not use BP_SYM.
24653 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24655 (strtok_r): Likewise.
24656 (__GI___strtok_r): Likewise.
24657 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24658 (PARMS): Do not use macros from bp-asm.h.
24662 (__mpn_sub_n): Do not use BP_SYM.
24663 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24665 (PARMS): Do not use macros from bp-asm.h.
24668 (__mpn_submul_1): Do not use BP_SYM.
24669 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24671 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24673 (PARMS): Do not use macros from bp-asm.h.
24678 (__clone): Do not use BP_SYM.
24679 (clone): Do not use BP_SYM in weak_alias.
24680 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24682 (PARMS): Do not use macros from bp-asm.h.
24684 (__mmap64): Do not use BP_SYM.
24685 (mmap64): Do not use BP_SYM in weak_alias.
24686 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24687 <bp-sym.h> and <bp-asm.h>.
24688 (PARMS): Do not use macros from bp-asm.h.
24689 (__posix_fadvise64_l64): Do not use BP_SYM.
24690 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24691 (PARMS): Do not use macros from bp-asm.h.
24693 (semtimedop): Do not use BP_SYM.
24694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24697 2013-02-21 Allan McRae <allan@archlinux.org>
24699 * manual/message.texi (Charset conversion in gettext):
24700 Move @end statement to beginning of line.
24702 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24709 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24710 (denorm): Likewise.
24711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24714 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24716 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24717 tail-call to the resolved function if pltexit isn't needed.
24719 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24722 or Y being zero as being unlikely.
24723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24726 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24728 * manual/nss.texi (System Databases and Name Service Switch):
24729 Remove frobnicate @pxref.
24731 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24733 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24734 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24736 2013-02-20 Petr Machata <pmachata@redhat.com>
24738 * elf/elf.h (R_ARM_TARGET1): New macro.
24739 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24740 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24741 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24742 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24743 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24744 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24745 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24746 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24747 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24748 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24749 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24750 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24751 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24752 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24753 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24754 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24755 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24756 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24757 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24758 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24759 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24760 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24761 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24762 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24763 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24764 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24765 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24766 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24767 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24768 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24769 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24770 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24771 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24772 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24773 (R_ARM_THM_GOT_BREL12): Likewise.
24774 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24775 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24776 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24777 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24778 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24779 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24780 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24781 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24782 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24784 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24786 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24787 __attribute_used__ to __attribute__ ((unused)).
24789 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24791 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24794 comment formatting.
24795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24797 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24800 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24802 (ENTER): Remove both macro definitions.
24804 (CHECK_BOUNDS_LOW): Likewise.
24805 (CHECK_BOUNDS_HIGH): Likewise.
24806 (CHECK_BOUNDS_BOTH): Likewise.
24807 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24808 (RETURN_BOUNDED_POINTER): Likewise.
24809 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24810 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24811 (POP_ERRNO_LOCATION_RETURN): Likewise.
24812 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24813 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24814 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24816 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24817 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24818 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24819 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24820 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24821 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24822 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24823 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24824 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24825 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24826 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24827 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24828 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24829 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24831 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24832 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24834 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24835 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24836 * sysdeps/i386/i586/memset.S (memset): Likewise.
24837 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24838 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24839 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24841 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24842 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24843 Change uses of L(2) to L(out).
24844 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24845 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24846 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24847 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24848 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24850 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24851 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24853 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24854 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24855 (RETURN): Do not use macro LEAVE.
24856 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24857 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24858 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24859 * sysdeps/i386/i686/memset.S (memset): Likewise.
24860 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24861 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24862 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24863 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24865 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24866 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24867 L(1_2) and L(1_3) into L(1).
24868 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24869 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24870 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24871 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24872 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24873 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24874 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24875 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24876 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24878 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24879 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24880 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24881 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24882 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24883 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24884 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24885 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24886 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24887 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24888 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24889 * sysdeps/i386/strspn.S (strspn): Likewise.
24890 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24892 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24893 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24894 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24895 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24896 L(1_3) into L(1_1).
24897 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24898 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24899 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24901 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24903 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24905 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24908 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24910 * math/atest-exp.c (exp_mpn): Remove ROUND.
24911 * math/atest-exp2.c (exp_mpn): Likewise.
24912 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24914 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24915 * stdlib/tst-tls-atexit-lib.c: Likewise.
24916 * stdlib/tst-tls-atexit.c: Likewise.
24918 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24920 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24921 and __attribute_alloc_size__.
24923 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24925 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24926 __attribute_alloc_size__.
24927 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24928 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24930 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24932 * include/programs/xmalloc.h: New file.
24933 * catgets/gencat.c: Include it.
24934 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24935 * elf/pldd.c: Likewise.
24936 * iconv/iconv_charmap.c: Likewise.
24937 * iconv/iconvconfig.c: Likewise.
24938 * iconv/strtab.c: Likewise.
24939 * locale/programs/locale.c: Likewise.
24940 * locale/programs/localedef.h: Likewise.
24941 * locale/programs/simple-hash.c: Likewise.
24942 * nscd/nscd.h: Likewise.
24943 * nss/makedb.c: Likewise.
24944 * sysdeps/generic/ldconfig.h: Likewise.
24946 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24948 * Versions.def: Add GLIBC_2.18.
24949 * include/link.h (struct link_map): New member l_tls_dtor_count.
24950 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24951 (__call_tls_dtors): Likewise.
24952 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24953 __cxa_thread_atexit_impl.
24954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24970 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24971 (tests): Add test case tst-tls-atexit.
24972 (modules-names): Add shared library for tst-tls-atexit.
24973 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24974 (GLIBC_PRIVATE): Add __call_tls_dtors.
24975 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24977 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24978 * stdlib/tst-tls-atexit.c: New test case.
24979 * stdlib/tst-tls-atexit-lib.c: New test case.
24981 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24983 * elf/Versions (ld): Add _dl_find_dso_for_object.
24984 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24985 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24986 (dl_open_worker): Use _dl_find_dso_for_object.
24987 * elf/dl-sym.c (do_sym): Likewise.
24988 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24990 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24992 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24993 Syntactic changes only.
24994 (_dl_runtime_profile): Do a tail-call to the resolved function.
24996 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24999 * sysdeps/x86_64/bp-asm.h: Remove file.
25000 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25001 <bp-sym.h> and <bp-asm.h>.
25002 (__clone): Do not use BP_SYM.
25003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25004 <bp-sym.h> and <bp-asm.h>.
25005 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25006 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25008 (_setjmp): Do not use BP_SYM.
25009 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25011 (setjmp): Do not use BP_SYM.
25012 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25014 (mempcpy): Do not use BP_SYM in weak_alias.
25015 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25017 (strchr): Do not use BP_SYM.
25018 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25020 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25021 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25022 (_start): Do not use BP_SYM.
25023 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25025 (strcat): Do not use BP_SYM.
25026 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25028 (STRCMP): Do not use BP_SYM.
25029 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25031 (STRCPY): Do not use BP_SYM.
25032 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25034 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25036 (FUNCTION): Do not use BP_SYM.
25037 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25039 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25041 2013-02-17 Andreas Jaeger <aj@suse.de>
25043 * time/Versions: Sort entries.
25044 * string/Versions: Likewise.
25045 * resolv/Versions: Likewise.
25046 * posix/Versions: Likewise.
25047 * iconv/Versions: Likewise.
25048 * elf/Versions: Likewise.
25049 * wcsmbs/Versions: Likewise.
25051 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25053 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25054 loop termination condition.
25056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25057 variable to calculate EZ.
25060 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25061 the lower precision input.
25063 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25066 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25067 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25068 (run-via-rtld-prefix): Do not handle %-bp tests.
25069 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25070 (all-object-suffixes): Remove .ob.
25071 (bppfx): Remove variable.
25072 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25073 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25074 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25075 [$(build-bounded) = yes] (libtype.ob): Likewise.
25076 * Makerules (elide-routines.ob): Remove variable.
25077 (do-tests-clean): Do not handle *-bp.out.
25078 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25079 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25080 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25081 (tests): Do not include $(tests-bp.out).
25082 (xtests): Do not include $(xtests-bp.out).
25083 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25084 [$(build-bounded) = yes] ($(addprefix
25085 $(objpfx),$(binaries-bounded))): Remove rule.
25086 ($(objpfx)%-bp.out): Remove rule.
25087 * config.make.in (build-bounded): Remove variable.
25088 * crypt/Makefile [$(build-bounded) = yes]
25089 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25090 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25091 append to variable.
25092 [$(build-bounded) = yes] (install-lib): Likewise.
25093 [$(build-bounded) = yes] (generated): Likewise.
25094 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25096 * intl/Makefile [$(build-bounded) = yes]
25097 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25098 * math/Makefile [$(build-bounded) = yes]
25099 ($(tests:%=$(objpfx)%-bp): Likewise.
25100 * misc/Makefile [$(build-bounded) = yes]
25101 ($(objpfx)tst-tsearch-bp): Likewise.
25102 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25103 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25105 * string/Makefile (o-objects.ob): Remove variable.
25106 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25107 (CFLAGS-.ob): Remove variable.
25108 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25109 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25110 both definitions of variable.
25111 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25112 (ASFLAGS-.ob): Remove variable.
25114 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25117 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25118 Remove __BOUNDED_POINTERS__ from condition.
25119 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25120 * string/bits/string2.h [!__NO_STRING_INLINES &&
25121 !__BOUNDED_POINTERS__]: Likewise.
25122 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25124 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25125 Remove conditional code.
25126 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25127 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25128 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25132 * csu/libc-start.c: Do not include <bp-sym.h>.
25133 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25134 * elf/dl-open.c: Do not include <bp-sym.h>.
25135 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25136 * math/fegetenv.c: Do not include <bp-sym.h>.
25137 (fegetenv): Do not use BP_SYM in versioned symbols.
25138 * nptl/sysdeps/pthread/bits/libc-lockP.h
25139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25142 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25144 (__pthread_mutex_destroy): Likewise.
25145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25146 (__pthread_mutex_lock): Likewise.
25147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25148 (__pthread_mutex_trylock): Likewise.
25149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25150 (__pthread_mutex_unlock): Likewise.
25151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25152 (__pthread_mutexattr_init): Likewise.
25153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25154 (__pthread_mutexattr_destroy): Likewise.
25155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25156 (__pthread_mutexattr_settype): Likewise.
25157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25158 (__pthread_rwlock_init): Likewise.
25159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25160 (__pthread_rwlock_destroy): Likewise.
25161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25162 (__pthread_rwlock_rdlock): Likewise.
25163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25164 (__pthread_rwlock_tryrdlock): Likewise.
25165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25166 (__pthread_rwlock_wrlock): Likewise.
25167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25168 (__pthread_rwlock_trywrlock): Likewise.
25169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25170 (__pthread_rwlock_unlock): Likewise.
25171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25172 (__pthread_key_create): Likewise.
25173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25174 (__pthread_setspecific): Likewise.
25175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25176 (__pthread_getspecific): Likewise.
25177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25180 (_pthread_cleanup_push_defer): Likewise.
25181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25182 (_pthread_cleanup_pop_restore): Likewise.
25183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25184 (pthread_setcancelstate): Likewise.
25185 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25187 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25188 (memchr): Do not use BP_SYM in weak_alias.
25189 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25190 (fegetenv): Do not use BP_SYM in versioned symbols.
25191 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25192 (fesetenv): Do not use BP_SYM in versioned symbols.
25193 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25194 (feupdateenv): Do not use BP_SYM in versioned symbols.
25195 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25196 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25197 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25198 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25199 (open64): Do not use BP_SYM in weak_alias.
25200 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25201 (fegetenv): Do not use BP_SYM in versioned symbols.
25202 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25203 (fesetenv): Do not use BP_SYM in versioned symbols.
25204 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25205 (feupdateenv): Do not use BP_SYM in versioned symbols.
25206 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25207 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25208 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25209 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25210 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25211 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25214 (__libc_start_main): Do not use BP_SYM.
25216 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25219 redundant return line.
25221 (denorm): Likewise.
25222 (dbl_mp): Likewise.
25223 (sub_magnitudes): Likewise.
25229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25231 (denorm): Likewise.
25232 (dbl_mp): Likewise.
25233 (sub_magnitudes): Likewise.
25240 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25242 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25243 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25246 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25247 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25249 of __mul for squares.
25250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25254 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25257 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25260 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25262 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25263 prototype or function definition. Rename ubp_* variables and
25264 parameters. Remove argv definitions conditional on
25265 [__BOUNDED_POINTERS__].
25266 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25267 * elf/dl-runtime.c (_dl_fixup): Likewise.
25268 * include/set-hooks.h (RUN_HOOK): Likewise.
25269 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25271 * string/strcpy.c (strcpy): Do not use __unbounded.
25272 * sysdeps/generic/frame.h (struct layout): Likewise.
25273 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25274 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25275 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25276 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25277 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25278 (__backtrace): Likewise.
25279 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25281 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25282 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25283 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25285 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25286 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25287 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25288 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25289 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25290 Do not use __unbounded.
25291 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25292 Rename __unboundedrlimits parameter to rlimits in prototype.
25293 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25294 Do not use __unbounded.
25295 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25296 not use __ptrvalue.
25297 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25298 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25299 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25300 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25301 __ptrvalue or __unbounded.
25302 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25303 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25305 (__new_msgctl): Do not use __ptrvalue.
25306 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25308 (__libc_msgrcv): Do not use __ptrvalue.
25309 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25310 startup_info): Do not use __unbounded.
25311 (__libc_start_main): Likewise. Rename ubp_* variables and
25312 parameters. Remove argv definitions conditional on
25313 [__BOUNDED_POINTERS__].
25314 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25316 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25318 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25320 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25322 (__new_shmctl): Do not use __ptrvalue.
25323 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25324 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25326 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25327 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25328 (__libc_sigaction): Likewise.
25329 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25330 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25332 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25334 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25336 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25338 * string/mempcpy.c: Implement by calling memcpy.
25340 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25348 values in the mantissa.
25350 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25351 minimize writes to Z.
25352 (sub_magnitudes): Simplify code a bit.
25354 2013-02-12 Roland McGrath <roland@hack.frob.com>
25356 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25357 from the message. The linker prefixes all warnings with that already.
25359 2013-02-12 Andreas Schwab <schwab@suse.de>
25362 * posix/regexec.c (extend_buffers): Add parameter min_len.
25363 (check_matching): Pass minimum needed length.
25364 (clean_state_log_if_needed): Likewise.
25365 (get_subexp): Likewise.
25366 * posix/Makefile (tests): Add bug-regex34.
25367 (bug-regex34-ENV): Define.
25368 * posix/bug-regex34.c: New file.
25371 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25372 elements compare against the byte sequence of it, not its name.
25373 * posix/Makefile (tests): Add bug-regex35.
25374 (bug-regex35-ENV): Define.
25375 * posix/bug-regex35.c: New file.
25377 2013-02-11 Tom de Vries <tom@codesourcery.com>
25379 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25381 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25382 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25383 (CHECK_EOL): Add undef.
25385 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25387 * bits/stdlib-bsearch.h: New file.
25388 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25389 * stdlib/stdlib.h: Likewise.
25391 2013-02-11 Roland McGrath <roland@hack.frob.com>
25393 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25394 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25396 * manual/search.texi (Array Search Function): Add missing const in
25398 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25399 declaration to use rlim_t.
25400 (Basic Scheduling Functions): Remove erroneous const from
25401 sched_getparam prototype. Remove erroneous * from
25402 sched_get_priority_max and sched_get_priority_min prototypes.
25403 (Resource Usage): Fix summary @comment on vtimes to refer to
25404 sys/vtimes.h rather than vtimes.h.
25405 Add missing *s in vtimes prototype.
25406 (Limits on Resources): Fix ulimit prototype to return long int.
25407 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25408 prototypes to use long int rather than double.
25409 (BSD Random): Fix initstate and setstate to use char *, not void *.
25410 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25411 prototype to make second argument 'struct aiocb64 *const[]'.
25412 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25413 (Status of AIO Operations): Remove erroneous const in aio_return and
25414 aio_return64 prototypes.
25415 (Synchronizing I/O): Fix sync prototype to return void.
25416 * manual/startup.texi (Suboptions): Remove an erroneous const in
25417 getsubopt prototype.
25418 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25419 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25420 use size_t rather than int.
25421 (Scanning All Users): Likewise for getpwent_r.
25422 (Setting Groups): Add missing const to setgroups prototype.
25423 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25424 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25425 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25426 'const void *' rather than 'const char *'.
25427 (Host Address Functions): Likewise for inet_ntop.
25428 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25429 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25430 ssize_t for return value.
25431 (Sending Data): Likewise for send, sendto, sendmsg.
25432 (Socket Option Functions): Add a missing const in setsockopt prototype.
25433 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25434 use wchar_t for the argument.
25435 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25436 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25438 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25439 double/float/long double for second argument.
25440 Fix return types of significand, significandf, significandl.
25441 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25442 argument in fchmod prototype.
25443 (File Owner): Use uid_t and gid_t in fchown prototype.
25444 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25445 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25446 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25447 use 'const struct dirent **' as argument types to CMP function pointer
25449 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25450 (File Times): Fix summary magic @comment for struct utimbuf and utime
25451 to refer to utime.h, not time.h.
25452 * manual/string.texi (Argz Functions): Add missing const in
25453 argz_extract and argz_next prototypes.
25454 (Finding Tokens in a String): Likewise for basename.
25455 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25456 (Copying and Concatenation): Fix typo in wmemmove prototype.
25457 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25458 (Signal Stack): Remove erroneous const in sigstack prototype.
25459 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25461 (Simple Calendar Time): Likewise for stime.
25462 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25464 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25465 say sys/sysctl.h instead.
25466 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25467 and vsyslog prototypes.
25469 2013-02-11 Tom de Vries <tom@codesourcery.com>
25471 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25474 2013-02-11 Roland McGrath <roland@hack.frob.com>
25476 * misc/sys/mman.h: Fix typo in mremap comment.
25478 2013-02-08 Roland McGrath <roland@hack.frob.com>
25480 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25481 the '\0' terminator.
25483 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25486 * debug/segfault.c: Don't include <bp-checks.h>.
25487 * sysdeps/generic/bp-checks.h: Remove file.
25488 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25489 (__GETDENTS): Don't use CHECK_N.
25490 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25491 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25492 (__getgroups): Don't use CHECK_N.
25493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25494 (setgroups): Don't use CHECK_N.
25495 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25496 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25497 (__libc_msgrcv): Don't use CHECK_N.
25498 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25499 (__libc_msgsnd): Don't use CHECK_N.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25502 (__libc_pread): Don't use CHECK_N.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25504 include <bp-checks.h>.
25505 (__libc_pread64): Don't use CHECK_N.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25507 include <bp-checks.h>.
25508 (__libc_pwrite): Don't use CHECK_N.
25509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25510 include <bp-checks.h>.
25511 (__libc_pwrite64): Don't use CHECK_N.
25512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25514 (__libc_pread): Don't use CHECK_N.
25515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25516 include <bp-checks.h>.
25517 (__libc_pread64): Don't use CHECK_N.
25518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25519 include <bp-checks.h>.
25520 (__libc_pwrite): Don't use CHECK_N.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25522 include <bp-checks.h>.
25523 (__libc_pwrite64): Don't use CHECK_N.
25524 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25525 (do_pread): Don't use CHECK_N.
25526 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25527 (do_pread64): Don't use CHECK_N.
25528 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25529 (do_pwrite): Don't use CHECK_N.
25530 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25531 (do_pwrite64): Don't use CHECK_N.
25532 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25533 (__libc_readv): Don't use CHECK_N.
25534 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25535 (semop): Don't use CHECK_N.
25536 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25538 (semtimedop): Don't use CHECK_N.
25539 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25540 (__libc_pread): Don't use CHECK_N.
25541 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25543 (__libc_pread64): Don't use CHECK_N.
25544 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25546 (__libc_pwrite): Don't use CHECK_N.
25547 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25549 (__libc_pwrite64): Don't use CHECK_N.
25550 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25552 (__libc_msgrcv): Don't use CHECK_N.
25553 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25554 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25555 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25556 (__libc_writev): Don't use CHECK_N.
25558 2013-02-08 Roland McGrath <roland@hack.frob.com>
25560 * string/strcpy.c: Removed unused variable.
25562 * Makeconfig (+sysdep-includes): Define with := rather than =.
25563 Use an existing include/ subdir of each sysdeps dir before it.
25565 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25567 * nscd/connection.c (register_traced_file): Comment function.
25568 [HAVE_INOTIFY] (union __inev): Define.
25569 [HAVE_INOTIFY] (inotify_check_files): New function.
25570 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25571 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25573 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25575 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25577 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25578 loaded if not already and that a failure is permanent.
25580 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25583 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25584 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25586 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25589 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25590 (CHECK_1_NULL_OK): Likewise.
25591 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25592 (__fxstat): Do not use CHECK_1.
25593 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25595 (___fxstat64): Do not use CHECK_1.
25596 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25598 (__fxstatat): Do not use CHECK_1.
25599 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25601 (__fxstatat64): Do not use CHECK_1.
25602 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25604 (__fxstat): Do not use CHECK_1.
25605 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25607 (__fxstatat): Do not use CHECK_1.
25608 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25610 (__getresgid): Do not use CHECK_1.
25611 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25613 (__getresuid): Do not use CHECK_1.
25614 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25616 (__lxstat): Do not use CHECK_1.
25617 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25619 (__old_msgctl): Do not use CHECK_1.
25620 (__new_msgctl): Likewise.
25621 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25623 (__new_setrlimit): Do not use CHECK_1.
25624 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25626 (__old_shmctl): Do not use CHECK_1.
25627 (__new_shmctl): Likewise.
25628 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25630 (__xstat): Do not use CHECK_1.
25631 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25632 (__lxstat): Do not use CHECK_1.
25633 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25635 (___lxstat64): Do not use CHECK_1.
25636 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25637 (__old_msgctl): Do not use CHECK_1.
25638 (__new_msgctl): Likewise.
25639 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25641 (__gettimeofday): Do not use CHECK_1.
25642 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25643 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25644 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25646 (__gettimeofday): Do not use CHECK_1.
25647 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25648 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25649 (__new_shmctl): Do not use CHECK_1.
25650 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25652 (do_sigtimedwait): Do not use CHECK_1.
25653 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25655 (do_sigwaitinfo): Do not use CHECK_1.
25656 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25658 (msgctl): Do not use CHECK_1.
25659 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25661 (shmctl): Do not use CHECK_1.
25662 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25663 (ustat): Do not use CHECK_1.
25664 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25666 (__fxstat): Do not use CHECK_1.
25667 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25669 (__fxstatat): Do not use CHECK_1.
25670 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25672 (__lxstat): Do not use CHECK_1.
25673 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25675 (__xstat): Do not use CHECK_1.
25676 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25677 (__xstat): Do not use CHECK_1.
25678 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25679 (___xstat64): Do not use CHECK_1.
25682 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25684 (CHECK_BOUNDS_HIGH): Likewise.
25685 * string/strcpy.c: Do not include <bp-checks.h>.
25686 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25688 2013-02-07 Roland McGrath <roland@hack.frob.com>
25690 * nscd/nscd-client.h (__nscd_drop_map_ref):
25691 Add __attribute__ ((unused)).
25692 * nis/nss-nisplus.h (niserr2nss): Likewise.
25694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25695 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25697 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25698 Remove inline keyword.
25699 * include/rounding-mode.h (round_away): Likewise.
25700 * libio/wfileops.c (adjust_wide_data): Likewise.
25701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25702 (__m128i_strloadu_tolower): Likewise.
25703 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25704 (__m128i_strloadu_tolower): Likewise.
25705 * time/mktime.c (ydhms_diff): Likewise.
25706 * locale/elem-hash.h (elem_hash): Likewise.
25707 * locale/setlocale.c (setdata): Likewise.
25708 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25709 (re_string_wchar_at): Likewise.
25710 (bitset_not, bitset_merge, bitset_mask): Likewise.
25711 [!(__GNUC__ > 3)] (inline): Remove macro.
25712 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25713 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25714 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25715 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25716 * string/memcmp.c (memcmp_bytes): Likewise.
25717 * locale/programs/locarchive.c (compute_hashval): Likewise.
25718 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25719 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25720 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25721 * nss/getent.c (print_rpc, print_protocols): Likewise.
25722 (print_passwd, print_group, print_aliases): Likewise.
25723 * nis/nss-nisplus.h (niserr2nss): Likewise.
25724 * nscd/connections.c (restart_p): Likewise.
25725 Change return type to bool.
25727 2013-02-05 Roland McGrath <roland@hack.frob.com>
25729 * Makeconfig (all-Depend-files): Add existing
25730 $(sorted-subdirs:=/Depend) files.
25731 (all-subdirs): Remove nss.
25732 * sysdeps/unix/inet/Subdirs: Add it here instead.
25733 * hesiod/Depend: New file.
25735 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25736 instead of calling alloca.
25738 * io/lseek.c (__lseek): Rename to __libc_lseek.
25739 Define __lseek as an alias.
25741 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25743 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25745 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25746 else clause and remove check for non-standard endianness.
25748 2013-02-04 David S. Miller <davem@davemloft.net>
25750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25752 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25755 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25756 (__ubp_memchr): Remove prototype.
25757 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25758 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25759 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25760 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25761 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25763 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25764 (__ubp_memchr): Likewise.
25765 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25766 (__ubp_memchr): Likewise.
25767 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25768 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25769 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25770 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25772 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25773 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25774 (__getcwd): Do not use CHECK_STRING.
25775 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25777 (__real_chown): Do not use CHECK_STRING.
25778 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25780 (fchownat): Do not use CHECK_STRING.
25781 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25783 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25785 (__lchown): Do not use CHECK_STRING.
25786 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25787 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25788 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25789 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25791 include <bp-checks.h>.
25792 (truncate64): Do not use CHECK_STRING.
25793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25795 (__real_chown): Do not use CHECK_STRING.
25796 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25798 (__lchown): Do not use CHECK_STRING.
25799 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25801 (__chown): Do not use CHECK_STRING.
25802 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25804 (truncate64): Do not use CHECK_STRING.
25805 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25807 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25808 (__xmknod): Do not use CHECK_STRING.
25809 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25811 (__xmknodat): Do not use CHECK_STRING.
25812 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25813 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25815 2013-02-04 Andreas Schwab <schwab@suse.de>
25818 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25819 * include/netdb.h: Likewise for h_errno.
25820 * elf/tst-stackguard1.c: Include <tls.h>.
25822 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25824 * elf/link.h (struct link_map): Extend the l_addr comment.
25825 * include/link.h (struct link_map): Likewise.
25827 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25830 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25831 (BOUNDED_1): Remove macro.
25832 * debug/backtrace.c: Don't include <bp-checks.h>.
25833 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25834 (__backtrace): Likewise.
25835 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25837 (__backtrace): Don't use BOUNDED_1.
25838 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25840 (__backtrace): Don't use BOUNDED_1.
25841 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25842 (__backtrace): Don't use BOUNDED_1.
25843 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25844 (shmat): Don't use BOUNDED_N.
25846 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25849 * sysdeps/generic/bp-start.h: Remove file.
25850 * csu/libc-start.c: Don't include <bp-start.h>.
25851 (LIBC_START_MAIN): Set up __environ directly instead of using
25852 INIT_ARGV_and_ENVIRON.
25853 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25857 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25859 (CHECK_FCNTL): Likewise.
25860 (CHECK_N_PAGES): Likewise.
25863 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25865 (CHECK_SIGSET_NULL_OK): Likewise.
25866 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25868 (sigpending): Don't use CHECK_SIGSET.
25869 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25871 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25872 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25874 (do_sigsuspend): Don't use CHECK_SIGSET.
25875 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25877 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25878 (do_sigwait): Don't use CHECK_SIGSET.
25879 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25882 include <bp-checks.h>.
25883 (sigpending): Don't use CHECK_SIGSET.
25884 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25885 include <bp-checks.h>.
25886 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25887 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25889 (sigpending): Don't use CHECK_SIGSET.
25890 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25895 * sysdeps/generic/bp-semctl.h: Remove file.
25896 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25897 <bp-checks.h> and <bp-semctl.h>.
25898 (__old_semctl): Don't use CHECK_SEMCTL.
25899 (__new_semctl): Likewise.
25900 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25902 (__old_semctl): Don't use CHECK_SEMCTL.
25903 (__new_semctl): Likewise.
25904 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25905 <bp-checks.h> and <bp-semctl.h>.
25906 (__old_semctl): Don't use CHECK_SEMCTL.
25907 (__new_semctl): Likewise.
25908 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25909 <bp-checks.h> and <bp-semctl.h>.
25910 (semctl): Don't use CHECK_SEMCTL.
25913 * Makerules (elide-bp-thunks): Remove variable.
25914 (elide-routines.oS): Don't use $(elide-bp-thunks).
25915 (elide-routines.os): Likewise.
25916 (elide-routines.o): Likewise.
25917 (elide-routines.op): Likewise.
25918 (elide-routines.og): Likewise.
25919 (objects): Don't use $(bp-thunks).
25920 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25922 (common-generated): Do not add s-proto-bp.d.
25923 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25926 Do not generate makefile rules for bounded-pointer thunks.
25927 * sysdeps/generic/bp-thunks.h: Remove file.
25928 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25929 * sysdeps/unix/s-proto-bp.S: Likewise.
25932 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25933 parts of result separately when argument is not close to line from
25934 -i to i and one part of argument is small.
25935 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25936 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25937 * math/libm-test.inc (cacos_test): Add more tests.
25938 (casin_test): Likewise.
25939 (casinh_test): Likewise.
25940 * sysdeps/i386/fpu/libm-test-ulps: Update.
25941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25943 2013-01-31 David S. Miller <davem@davemloft.net>
25945 * po/de.po: Update from translation team.
25947 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25949 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25951 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25953 * configure.in (_AC_PROG_CC_C89): New definition.
25954 * configure: Regenerate.
25956 * configure.in (AC_PROG_CPP): New definition.
25957 * configure: Regenerate.
25959 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25961 * debug/tst-backtrace.h: New file.
25962 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25963 (ret): Remove variable.
25965 (FAIL): Remove macro.
25966 (NO_INLINE): Likewise.
25967 (fn1): Use match function instead of strstr.
25968 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25969 (ret): Remove variable.
25971 (FAIL): Remove macro.
25972 (NO_INLINE): Likewise.
25973 (fn): Use match function instead of strstr.
25974 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25975 (ret): Remove variable.
25977 (FAIL): Remove macro.
25978 (NO_INLINE): Likewise.
25979 (handle_signal): Use match function instead of strstr.
25980 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25981 (ret): Remove variable.
25983 (FAIL): Remove macro.
25984 (NO_INLINE): Likewise.
25985 (handle_signal): Use match function instead of strstr.
25987 2013-01-23 Roland McGrath <roland@hack.frob.com>
25989 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25991 2013-01-23 David S. Miller <davem@davemloft.net>
25993 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25994 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25995 argument of CAS if possible.
25996 * sysdeps/sparc/sparc64/bits/atomic.h
25997 (__arch_compare_and_exchange_val_32_acq): Likewise.
25998 (__arch_compare_and_exchange_val_64_acq): Likewise.
26000 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26002 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26003 * sysdeps/posix/ulimit.c: ... this.
26004 Include <limits.h>.
26005 * sysdeps/unix/bsd/ulimit.c: Remove file.
26007 2013-01-23 Adam Conrad <adconrad@0c3.net>
26009 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26010 (LDFLAGS-tst-array5): Likewise.
26012 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26015 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26016 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26017 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26018 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26020 2013-01-21 David S. Miller <davem@davemloft.net>
26022 * sysdeps/sparc/backtrace.c: New file.
26023 * sysdeps/sparc/sparc32/backtrace.h: New file.
26024 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26025 * sysdeps/sparc/sparc64/backtrace.h: New file.
26026 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26027 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26030 2013-01-21 Andreas Schwab <schwab@suse.de>
26033 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26036 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26042 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26043 Mark Mitchell <mark@codesourcery.com>
26044 Tom de Vries <tom@codesourcery.com>
26045 Paul Pluzhnikov <ppluzhnikov@google.com>
26047 * debug/tst-backtrace2.c: New file.
26048 * debug/tst-backtrace3.c: Likewise.
26049 * debug/tst-backtrace4.c: Likewise.
26050 * debug/tst-backtrace5.c: Likewise.
26051 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26052 (CFLAGS-tst-backtrace3.c): Likewise.
26053 (CFLAGS-tst-backtrace4.c): Likewise.
26054 (CFLAGS-tst-backtrace5.c): Likewise.
26055 (LDFLAGS-tst-backtrace2): Likewise.
26056 (LDFLAGS-tst-backtrace3): Likewise.
26057 (LDFLAGS-tst-backtrace4): Likewise.
26058 (LDFLAGS-tst-backtrace5): Likewise.
26059 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26060 tst-backtrace4 and tst-backtrace5.
26062 2013-01-18 Anton Blanchard <anton@samba.org>
26063 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26065 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26066 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26067 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26068 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26070 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26071 "+r" and remove output regs list as redundant. Add explicit inline
26072 asm to specify register of return val to work around compiler codegen
26073 bug. Remove (int) cast on return value. Add return type parameter to
26074 use in macro so that this macro does not truncate return value for
26076 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26077 pass to INTERNAL_VSYSCALL_NCS.
26078 (INLINE_VSYSCALL): Add 'long int' as return type to
26079 INTERNAL_VSYSCALL_NCS macro invocation.
26080 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26081 INTERNAL_VSYSCALL_NCS macro invocation.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26084 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26087 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26088 Fix application of SIMD FP exception mask.
26090 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26091 mp_no from a power of two.
26092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26093 __mpexp_twomm1. Use __pow_mp.
26095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26098 2013-01-17 David S. Miller <davem@davemloft.net>
26100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26102 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26105 * include/complex.h: Condition contents on [!_COMPLEX_H].
26106 (__kernel_casinhf): New prototype.
26107 (__kernel_casinh): Likewise.
26108 (__kernel_casinhl): Likewise.
26109 * math/Makefile (libm_calls): Add k_casinh.
26110 * math/k_casinh.c: New file.
26111 * math/k_casinhf.c: Likewise.
26112 * math/k_casinhl.c: Likewise.
26113 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26114 finite nonzero arguments.
26115 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26116 finite nonzero arguments.
26117 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26118 finite nonzero arguments.
26119 * math/s_casinh.c: Do not include <float.h>.
26120 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26121 * math/s_casinhf.c: Do not include <float.h>.
26122 (__casinhf): Move code for finite nonzero arguments to
26124 * math/s_casinhl.c: Do not include <float.h>.
26125 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26127 (__casinhl): Move code for finite nonzero arguments to
26129 * math/libm-test.inc (cacos_test): Add more tests.
26130 * sysdeps/i386/fpu/libm-test-ulps: Update.
26131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26133 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26135 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26136 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26137 [!HAVE_MREMAP]: Remove [defined linux] case.
26138 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26140 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26142 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26144 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26146 * elf/elf.h (R_386_SIZE32): New relocation.
26147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26149 (elf_machine_rela): Likewise.
26150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26151 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26153 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26155 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26156 (FP_FAST_FMA): Do not define.
26157 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26158 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26159 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26160 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26161 !_SOFT_FLOAT]: Likewise.
26162 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26163 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26165 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26166 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26168 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26169 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26170 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26173 2013-01-16 Andreas Schwab <schwab@suse.de>
26176 * include/stdlib.h (__mktemp): Add declaration.
26177 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26178 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26180 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26182 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26184 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26185 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26186 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26188 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26189 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26191 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26193 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26194 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26195 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26197 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26198 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26200 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26202 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26204 2013-01-15 David S. Miller <davem@davemloft.net>
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26207 trunc{,f} to libm-sysdep_routes.
26208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26219 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26220 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26221 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26222 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26223 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26226 nearbyint{,f} to libm-sysdep_routes.
26227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26241 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26243 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26247 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26248 libc_feholdexcept and libc_fesetenv.
26250 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26252 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26254 2013-01-14 David S. Miller <davem@davemloft.net>
26256 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26257 (SPARC_ASM_VIS2_IFUNC): Likewise.
26258 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26260 use of 'siam' instruction.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26294 routines to libm-sysdep_routines.
26295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26298 fdim/fdimf to libm-sysdep_routines.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26307 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26308 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26309 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26310 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26312 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26314 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26315 to optimize copies.
26317 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26322 local variable MPTWO.
26323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26326 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26328 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26331 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26333 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26335 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26337 * manual/pattern.texi (glob_t): Document gl_flags.
26338 (glob64_t): Likewise.
26340 2013-01-11 David S. Miller <davem@davemloft.net>
26342 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26343 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26344 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26345 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26346 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26347 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26348 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26349 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26350 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26351 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26352 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26353 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26354 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26356 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26357 sparc V9 rather than using V8 code.
26358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26363 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26366 2013-01-11 Roland McGrath <roland@hack.frob.com>
26368 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26369 not in the main loop.
26370 * configure: Regenerated.
26372 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26374 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26375 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26377 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26378 [!__GLIBC_HAVE_LONG_LONG] case.
26379 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26380 condition to just #else.
26381 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26382 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26383 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26384 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26386 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26387 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26388 #elif condition to just #else.
26389 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26390 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26391 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26392 #elif condition to just #else.
26394 2013-01-11 Steve Ellcey <sellcey@mips.com>
26396 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26397 (EF_MIPS_ARCH_64): Fix value.
26398 (EF_MIPS_ARCH_32R2): New.
26399 (EF_MIPS_ARCH_64R2): New.
26401 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26403 * Makeconfig (+link-pie-before-libc): New.
26404 (+link-pie-after-libc): Likewise.
26405 (+link-pie-tests): Likewise.
26406 (+link-pie): Rewritten.
26407 (link-before-libc): Remove $(config-LDFLAGS).
26408 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26409 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26410 (config-LDFLAGS): Renamed to ...
26411 (rtld-LDFLAGS): This.
26412 (rtld-tests-LDFLAGS): New macro.
26413 (link-libc-rpath-link): Likewise.
26414 (link-libc-tests-rpath-link): Likewise.
26415 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26416 (link-libc): Prepand $(link-libc-rpath-link).
26417 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26418 (test-program-prefix): New macro.
26419 (test-via-rtld-prefix): Likewise.
26420 (test-program-cmd): Likewise.
26421 (host-test-program-cmd): Likewise.
26422 * Makefile ($(common-objpfx)testrun.sh): Replace
26423 $(run-program-prefix) with $(test-program-prefix).
26424 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26426 ($(common-objpfx)shlib.lds): Likewise.
26427 (build-module-helper): Likewise.
26428 ($(common-objpfx)format.lds): Likewise.
26429 * Rules (binaries-pie-tests): New.
26430 (binaries-pie-notests): Likewise.
26431 (binaries-pie): Rewritten.
26432 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26433 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26434 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26435 (make-test-out): Replace $(host-built-program-cmd) with
26436 $(host-test-program-cmd).
26437 * config.make.in (build-hardcoded-path-in-tests): New variable.
26438 * configure.in (--enable-hardcoded-path-in-tests): New configure
26440 (hardcoded_path_in_tests): New AC_SUBST.
26441 * configure: Regenerated.
26442 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26443 $(built-program-cmd) with $(test-program-cmd).
26444 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26445 (test_program_cmd): This.
26446 * elf/Makefile ($(objpfx)order.out): Run test with
26447 $(test-program-prefix).
26448 ($(objpfx)order2.out): Likewise.
26449 ($(objpfx)tst-initorder.out): Likewise.
26450 ($(objpfx)tst-initorder2.out): Likewise.
26451 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26452 $(test-program-cmd).
26453 ($(objpfx)tst-array1-static.out): Likewise.
26454 ($(objpfx)tst-array2.out): Likewise.
26455 ($(objpfx)tst-array3.out): Likewise.
26456 ($(objpfx)tst-array4.out): Likewise.
26457 ($(objpfx)tst-array5.out): Likewise.
26458 ($(objpfx)tst-array5-static.out): Likewise.
26459 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26460 $(test-program-cmd).
26461 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26462 $(run-program-prefix) with $(test-program-prefix).
26463 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26464 (test_program_prefix): This.
26465 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26466 $(run-program-prefix) with $(test-program-prefix).
26467 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26468 (test_program_prefix): This.
26469 * iconvdata/tst-tables.sh: Likewise.
26470 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26471 $(run-program-prefix) with $(test-program-prefix).
26472 ($(objpfx)tst-translit.out): Likewise.
26473 ($(objpfx)tst-gettext2.out): Likewise.
26474 ($(objpfx)tst-gettext4.out): Likewise.
26475 ($(objpfx)tst-gettext6.out): Likewise.
26476 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26477 (test_program_prefix): This.
26478 * intl/tst-gettext2.sh: Likewise.
26479 * intl/tst-gettext4.sh Likewise.
26480 * intl/tst-gettext6.sh: Likewise.
26481 * intl/tst-translit.sh: Likewise.
26482 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26483 with $(test-program-cmd).
26484 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26485 $(run-program-prefix) with $(test-program-prefix).
26486 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26487 (test_program_prefix): This.
26488 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26489 $(run-program-prefix) with $(test-program-prefix).
26490 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26491 (test_program_prefix): This.
26492 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26493 * posix/Makefile ($(objpfx)globtest.out): Replace
26494 $(run-via-rtld-prefix) and $(test-wrapper) with
26495 $(test-program-prefix) and $(test-via-rtld-prefix).
26496 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26497 $(test-program-prefix).
26498 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26499 $(host-test-program-cmd).
26500 (tst-spawn-ARGS): Likewise.
26501 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26502 $(test-program-prefix).
26503 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26504 (test_via_rtld_prefix): This.
26505 (test_wrapper): Renamed to ...
26506 (test_program_prefix): This.
26507 (run_program_prefix): Replaced by test_program_prefix.
26508 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26509 (test_program_prefix): This.
26510 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26511 with $(host-test-program-cmd).
26512 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26513 $(run-program-prefix) with $(test-program-prefix).
26514 ($(objpfx)tst-printf.out): Likewise.
26515 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26516 $(test-program-cmd).
26517 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26518 (test_program_prefix): This.
26519 * stdio-common/tst-unbputc.sh: Likewise.
26520 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26521 $(run-program-prefix) with $(test-program-prefix).
26522 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26523 (test_program_prefix): This.
26524 * string/Makefile ($(objpfx)tst-svc.out): Replace
26525 $(built-program-cmd) with $(test-program-cmd).
26527 2013-01-11 Andreas Jaeger <aj@suse.de>
26530 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26531 value. Sync with Linux 3.7.
26533 2013-01-10 David S. Miller <davem@davemloft.net>
26535 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26536 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26537 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26539 2013-01-10 Roland McGrath <roland@hack.frob.com>
26541 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26543 * configure: Regenerated.
26545 2013-01-10 David S. Miller <davem@davemloft.net>
26547 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26548 sparc V9 rather than using V8 code.
26549 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26550 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26552 2013-01-10 Roland McGrath <roland@hack.frob.com>
26554 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26555 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26556 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26557 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26558 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26559 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26560 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26561 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26562 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26563 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26564 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26565 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26566 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26567 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26568 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26569 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26570 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26571 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26572 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26573 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26574 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26575 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26576 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26577 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26578 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26579 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26580 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26582 2013-01-10 David S. Miller <davem@davemloft.net>
26584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26586 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26588 * posix/Makefile (tests-static): New variable.
26589 (tests): Add $(tests-static).
26590 (tst-exec-static-ARGS): New variable.
26591 (tst-spawn-static-ARGS): Likewise.
26592 * posix/tst-exec-static.c: New file.
26593 * posix/tst-spawn-static.c: Likewise.
26594 * posix/tst-exec.c: Support run directly.
26595 * posix/tst-spawn.c: Likewise.
26597 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26599 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26601 * math/bits/mathcalls.h (llrint): Likewise.
26602 (llround): Likewise.
26603 * stdlib/stdlib.h (struct drand48_data): Likewise.
26604 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26605 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26606 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26608 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26610 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26611 (elf_greg_t): Likewise.
26612 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26613 (__jmp_buf): Likewise.
26614 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26616 (llrint): Likewise, for all definitions.
26617 (llrintl): Likewise.
26619 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26620 Remove [__GNUC__] condition.
26621 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26622 condition to just [__USE_ISOC99].
26623 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26625 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26628 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26629 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26631 (_POSIX_V6_ILP32_OFF32): Likewise.
26632 (_XBS5_ILP32_OFF32): Likewise.
26633 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26634 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26636 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26638 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26641 doubles __mpexp_twomm1. Adjust usage.
26642 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26645 2013-01-10 Andreas Schwab <schwab@suse.de>
26648 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26649 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26651 2013-01-09 David S. Miller <davem@davemloft.net>
26654 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26655 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26656 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26657 (TCP_FASTOPEN): Define.
26658 (tcp_repair_opt): New structure.
26659 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26661 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26662 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26663 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26664 (tcp_cookie_transactions): New structure.
26666 2013-01-09 Anton Blanchard <anton@samba.org>
26668 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26669 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26670 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26671 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26673 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26675 * include/features.h (__USE_ANSI): Remove.
26677 2013-01-09 Roland McGrath <roland@hack.frob.com>
26679 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26681 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26683 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26685 * sysdeps/s390/fpu/libm-test-ulps: Update.
26687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26689 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26693 (denorm): Likewise.
26694 (__mp_dbl): Likewise.
26695 (__dbl_mp): Likewise.
26696 (add_magnitudes): Likewise.
26697 (sub_magnitudes): Likewise.
26703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26707 (denorm): Likewise.
26708 (__mp_dbl): Likewise.
26709 (__dbl_mp): Likewise.
26710 (add_magnitudes): Likewise.
26711 (sub_magnitudes): Likewise.
26717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26721 (denorm): Likewise.
26722 (__mp_dbl): Likewise.
26723 (__dbl_mp): Likewise.
26724 (add_magnitudes): Likewise.
26725 (sub_magnitudes): Likewise.
26732 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26734 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26735 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26736 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26737 2 && __USE_EXTERN_INLINES]: Likewise.
26739 2013-01-08 Andreas Jaeger <aj@suse.de>
26742 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26744 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26745 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26747 2013-01-07 Anton Blanchard <anton@samba.org>
26749 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26750 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26751 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26752 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26753 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26754 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26755 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26756 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26758 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26760 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26761 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26762 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26767 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26768 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26770 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26772 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26774 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26776 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26778 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26779 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26781 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26782 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26783 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26784 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26785 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26786 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26788 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26789 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26791 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26793 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26795 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26796 (__MALLOC_PMT): Likewise.
26797 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26798 [__GNUC__], only on [_LIBC].
26799 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26800 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26801 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26802 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26803 forward declaration.
26804 (realloc_hook_ini): Likewise.
26805 (memalign_hook_ini): Likewise.
26806 (__libc_memalign): Do not use __MALLOC_PMT in variable
26808 (__libc_valloc): Likewise.
26809 (__libc_pvalloc): Likewise.
26810 (__libc_calloc): Likewise.
26811 (__posix_memalign): Likewise.
26814 * math/s_casinh.c: Include <float.h>.
26815 (__casinh): Do not do computation with squaring and square root
26816 for large arguments.
26817 * math/s_casinhf.c: Include <float.h>.
26818 (__casinhf): Do not do computation with squaring and square root
26819 for large arguments.
26820 * math/s_casinhl.c: Include <float.h>.
26821 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26822 (__casinhl): Do not do computation with squaring and square root
26823 for large arguments.
26824 * math/libm-test.inc (casin_test): Add more tests.
26825 (casinh_test): Likewise.
26826 * sysdeps/i386/fpu/libm-test-ulps: Update.
26827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26829 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26831 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26832 (__x86_64_raw_data_cache_size): Likewise.
26833 (__x86_64_data_cache_size_half): Likewise.
26834 (__x86_64_raw_data_cache_size_half): Likewise.
26835 (__x86_64_shared_cache_size): Likewise.
26836 (__x86_64_raw_shared_cache_size): Likewise.
26837 (__x86_64_shared_cache_size_half): Likewise.
26838 (__x86_64_raw_shared_cache_size_half): Likewise.
26839 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26841 (__x86_data_cache_size): This.
26842 (__x86_64_raw_data_cache_size): Renamed to ...
26843 (__x86_raw_data_cache_size): This.
26844 (__x86_64_data_cache_size_half): Renamed to ...
26845 (__x86_data_cache_size_half): This.
26846 (__x86_64_raw_data_cache_size_half): Renamed to ...
26847 (__x86_raw_data_cache_size_half): This.
26848 (__x86_64_shared_cache_size): Renamed to ...
26849 (__x86_shared_cache_size): This.
26850 (__x86_64_raw_shared_cache_size): Renamed to ...
26851 (__x86_raw_shared_cache_size): This.
26852 (__x86_64_shared_cache_size_half): Renamed to ...
26853 (__x86_shared_cache_size_half): This.
26854 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26855 (__x86_raw_shared_cache_size_half): This.
26856 * sysdeps/x86_64/memcpy.S: Updated.
26857 * sysdeps/x86_64/memset.S: Likewise.
26858 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26860 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26862 2013-01-04 David S. Miller <davem@davemloft.net>
26864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26866 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26868 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26869 1 to avoid redefinition warning.
26870 (__USE_GNU): Don't define.
26871 (init_signaling_nan): Protoize.
26873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26875 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26877 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26879 (__cpymn): Likewise.
26880 (norm): Remove commented code.
26881 (denorm): Likewise.
26882 (__mp_dbl): Likewise.
26884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26885 (__cpymn): Likewise.
26886 (norm): Remove commented code.
26887 (denorm): Likewise.
26888 (__mp_dbl): Likewise.
26891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26892 mp_no value for 1.0 and 2.0.
26893 (norm): Use RADIXI instead of radixi.d.
26894 (denorm): Likewise.
26895 (__mul): Use 0.0 instead of zero.d.
26896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26897 mp_no value for 1.0 and 2.0.
26898 (norm): Use RADIXI instead of radixi.d.
26899 (denorm): Likewise.
26900 (__mul): Use 0.0 instead of zero.d.
26902 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26905 * math/s_casinh.c (__casinh): Reduce finite argument to first
26906 quadrant then set signs of results at the end.
26907 * math/s_casinhf.c (__casinhf): Likewise.
26908 * math/s_casinhl.c (__casinhl): Likewise.
26909 * math/libm-test.inc (casin_test): Add more tests.
26910 (casinh_test): Likewise.
26911 * sysdeps/i386/fpu/libm-test-ulps: Update.
26912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26914 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26916 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26918 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26920 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26922 (denorm): Likewise.
26923 (__mp_dbl): Likewise.
26926 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26927 and adjust the header comment.
26929 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26930 variable name from declaration.
26932 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26935 Initialize COMMON_CPUID_INDEX_7 element.
26936 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26937 (CPUID_RTM): Likewise.
26938 (HAS_RTM): Likewise.
26939 (COMMON_CPUID_INDEX_7): New enum.
26941 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26944 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26945 size is zero, record memory as freed.
26947 2013-01-03 Andreas Jaeger <aj@suse.de>
26949 * po/ia.po: Add new Interlingua translation.
26951 2012-01-03 Allan McRae <allan@archlinux.org>
26953 * locale/programs/localedef.c: Fix description of '--posix' flag.
26955 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26957 * NEWS: Update dates in second copyright notice.
26958 * README: Update copyright dates in example.
26959 * manual/libc.texinfo: Update copyright dates.
26960 * scripts/test-installation.pl: Update copyright date in --version
26963 * hurd/ctty-input.c: Fix copyright notice formatting.
26964 * hurd/ctty-output.c: Likewise.
26965 * hurd/dtable.c: Likewise.
26966 * hurd/hurd-raise.c: Likewise.
26967 * hurd/hurdprio.c: Likewise.
26968 * hurd/msgportdemux.c: Likewise.
26969 * misc/sys/file.h: Likewise.
26970 * misc/sys/ioctl.h: Likewise.
26971 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26972 * sysdeps/mach/hurd/chdir.c: Likewise.
26973 * sysdeps/mach/hurd/fchdir.c: Likewise.
26974 * sysdeps/mach/hurd/rename.c: Likewise.
26975 * sysdeps/mach/hurd/rmdir.c: Likewise.
26976 * sysdeps/mach/hurd/seekdir.c: Likewise.
26977 * sysdeps/mach/hurd/setsid.c: Likewise.
26978 * sysdeps/posix/wait3.c: Likewise.
26980 * All files with FSF copyright notices: Update copyright dates
26981 using scripts/update-copyrights.
26982 * intl/plural.c: Regenerated.
26983 * locale/programs/charmap-kw.h: Likewise.
26984 * locale/programs/locfile-kw.h: Likewise.
26986 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26988 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26992 calculation loop and add branch prediction.
26994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26995 check access beyond bounds of m1np.
26997 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26999 (__inv): Remove local variable MPTWO to use the global
27001 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27005 MP3HALFS static const.
27007 2013-01-01 David S. Miller <davem@davemloft.net>
27009 * po/ca.po: Update from translation team.
27011 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27013 * scripts/update-copyrights: New file.
27014 * Makeconfig: Reformat copyright notice.
27015 * ctype/ctype.h: Likewise.
27016 * debug/swprintf_chk.c: Likewise.
27017 * elf/dl-cache.c: Likewise.
27018 * elf/dl-debug.c: Likewise.
27019 * elf/dl-object.c: Likewise.
27020 * grp/initgroups.c: Likewise.
27021 * hurd/Makefile: Likewise.
27022 * hurd/hurd/signal.h: Likewise.
27023 * hurd/hurdfault.c: Likewise.
27024 * hurd/hurdioctl.c: Likewise.
27025 * hurd/hurdlookup.c: Likewise.
27026 * hurd/intr-msg.c: Likewise.
27027 * iconv/gconv_open.c: Likewise.
27028 * libio/swprintf.c: Likewise.
27029 * locale/lc-ctype.c: Likewise.
27030 * locale/nl_langinfo.c: Likewise.
27031 * mach/Machrules: Likewise.
27032 * mach/Makefile: Likewise.
27033 * malloc/obstack.h: Likewise.
27034 * manual/Makefile: Likewise.
27035 * manual/tsort.awk: Likewise.
27036 * misc/bits/stab.def: Likewise.
27037 * nis/nis_print_group_entry.c: Likewise.
27038 * nis/nis_table.c: Likewise.
27039 * nis/nss_compat/compat-pwd.c: Likewise.
27040 * nis/nss_compat/compat-spwd.c: Likewise.
27041 * po/Makefile: Likewise.
27042 * posix/fnmatch.c: Likewise.
27043 * posix/regex.h: Likewise.
27044 * resolv/Makefile: Likewise.
27045 * resolv/nss_dns/dns-network.c: Likewise.
27046 * resolv/res_hconf.c: Likewise.
27047 * scripts/gen-sorted.awk: Likewise.
27048 * soft-fp/soft-fp.h: Likewise.
27049 * stdio-common/printf.h: Likewise.
27050 * stdlib/monetary.h: Likewise.
27051 * stdlib/random.c: Likewise.
27052 * stdlib/random_r.c: Likewise.
27053 * sysdeps/generic/Makefile: Likewise.
27054 * sysdeps/gnu/Makefile: Likewise.
27055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27065 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27066 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27067 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27068 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27069 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27070 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27071 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27073 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27075 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27076 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27077 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27083 * sysdeps/mach/hurd/errnos.awk: Likewise.
27084 * sysdeps/mach/hurd/fork.c: Likewise.
27085 * sysdeps/mach/hurd/getcwd.c: Likewise.
27086 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27087 * sysdeps/mach/hurd/mmap.c: Likewise.
27088 * sysdeps/mach/hurd/utimes.c: Likewise.
27089 * sysdeps/mach/hurd/xmknod.c: Likewise.
27090 * sysdeps/posix/profil.c: Likewise.
27091 * sysdeps/posix/readdir_r.c: Likewise.
27092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27093 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27094 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27095 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27097 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27098 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27101 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27103 * sysdeps/pthread/lio_listio.c: Likewise.
27104 * sysdeps/sparc/dl-procinfo.h: Likewise.
27105 * sysdeps/unix/i386/sysdep.S: Likewise.
27106 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27107 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27108 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27109 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27111 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27112 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27113 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27114 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27115 * sysdeps/wordsize-32/divdi3.c: Likewise.
27116 * time/sys/time.h: Likewise.
27117 * wcsmbs/Makefile: Likewise.
27119 2013-01-01 David S. Miller <davem@davemloft.net>
27121 * po/fr.po: Update from translation team.
27123 * catgets/gencat.c: Update copyright year.
27124 * csu/version.c: Likewise.
27125 * debug/catchsegv.sh: Likewise.
27126 * debug/pcprofiledump.c: Likewise.
27127 * debug/xtrace.sh: Likewise.
27128 * elf/ldconfig.c: Likewise.
27129 * elf/ldd.bash.in: Likewise.
27130 * elf/pldd.c: Likewise.
27131 * elf/sotruss.ksh: Likewise.
27132 * elf/sprof.c: Likewise.
27133 * iconv/iconv_prog.c: Likewise.
27134 * iconv/iconvconfig.c: Likewise.
27135 * locale/programs/locale.c: Likewise.
27136 * locale/programs/localedef.c: Likewise.
27137 * login/programs/pt_chown.c: Likewise.
27138 * malloc/memusage.sh: Likewise.
27139 * malloc/memusagestat.c: Likewise.
27140 * malloc/mtrace.pl: Likewise.
27141 * nscd/nscd.c: Likewise.
27142 * nss/getent.c: Likewise.
27143 * nss/makedb.c: Likewise.
27144 * posix/getconf.c: Likewise.
27146 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27148 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27151 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27153 * math/bits/mathcalls.h (modf): Use __nonnull.
27155 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27157 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27158 (split): Use macro CN instead of the bare value.
27159 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27162 instead of the bare value.
27163 (power1): Likewise.
27165 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27169 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27171 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27173 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27175 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27176 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27178 2012-12-28 Andreas Jaeger <aj@suse.de>
27180 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27181 values are from Linux 3.7.
27183 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27184 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27186 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27188 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27193 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27194 variables with preprocessor constants.
27195 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27196 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27197 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27199 2012-12-27 Bruno Haible <bruno@clisp.org>
27202 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27205 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27208 and use variable directly.
27209 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27211 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27213 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27218 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27219 include directive. Remove local variable MPONE.
27220 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27221 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27224 2012-12-25 David S. Miller <davem@davemloft.net>
27226 * version.h (RELEASE): Set to "development".
27227 (VERSION): Set to "2.17.90".
27228 * NEWS: Add 2.18 section.
27230 2012-12-21 David S. Miller <davem@davemloft.net>
27232 * po/hr.po: Update from translation team.
27234 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27236 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27238 2012-12-19 Steve Ellcey <sellcey@mips.com>
27240 * NEWS: Mention new memcpy for MIPS.
27242 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27244 * manual/contrib.texi (Contributors): Spelling correction.
27246 2012-12-15 David S. Miller <davem@davemloft.net>
27248 * po/ru.po: Update from translation team.
27250 2012-12-13 David S. Miller <davem@davemloft.net>
27252 * NEWS: Mention IFUNC testsuite enhancements.
27254 * po/pl.po: Update from translation team.
27255 * po/bg.po: Likewise.
27257 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27258 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27260 2012-12-11 David S. Miller <davem@davemloft.net>
27262 * po/sv.po: Update from translation team.
27264 * po/vi.po: Update from translation team.
27266 * po/cs.po: Update from translation team.
27268 * po/de.po: Update from translation team.
27269 * po/eo.po: Likewise.
27270 * po/nl.po: Likewise.
27272 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27275 * manual/argp.texi (Argp Helper Functions): Move node to follow
27276 Argp Parsing State.
27279 * manual/conf.texi (Limits on File System Capacity): Mention if
27280 terminating null is included in the max size.
27282 2012-12-10 Andreas Jaeger <aj@suse.de>
27284 * po/cs.po: Update from translation team.
27286 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27288 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27289 void pointer and cast to uintptr_t.
27290 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27292 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27293 * sysdeps/s390/s390-64/memset.S: Likewise.
27295 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27298 * menual/message.texi (Message Translation): Fix typos.
27299 (Helper programs for gettext): Likewise.
27301 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27304 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27307 2012-12-07 David S. Miller <davem@davemloft.net>
27309 * po/libc.pot: Update.
27311 2012-12-07 Richard Henderson <rth@redhat.com>
27314 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27315 normal/normal case to before the switch.
27316 (_FP_DIV): Likewise.
27318 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27319 Mike Frysinger <vapier@gentoo.org>
27321 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27322 check for __NR_fadvise64_64.
27324 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27326 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27327 0, not just to plain "0" as a statement.
27328 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27331 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27333 * NEWS: Use sourceware.org in Bugzilla URL.
27335 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27338 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27340 * stdio-common/tst-put-error.c (do_test): Add newline to the
27341 padded test to ensure flush.
27343 2012-12-05 Jeff Law <law@redhat.com>
27345 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27347 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27349 * README: Don't refer to ports add-on as distributed separately.
27350 Mention AArch64 in list of systems supported in the ports add-on.
27352 * LICENSES: Add more non-FSF copyright and license notices.
27354 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27357 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27359 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27360 10000 as width of padded output.
27362 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27366 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27367 variable LX with __attribute__ ((unused)).
27368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27370 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27373 with __attribute__ ((unused)).
27375 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27377 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27379 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27381 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27382 (CFLAGS-nldbl-acos.c): New variable.
27383 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27399 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27400 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27401 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27402 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27403 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27404 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27405 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27406 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27407 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27408 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27409 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27410 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27411 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27412 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27413 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27414 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27415 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27416 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27417 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27418 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27419 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27420 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27421 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27422 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27423 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27424 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27425 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27426 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27427 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27428 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27429 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27430 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27431 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27432 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27433 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27434 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27435 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27436 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27437 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27438 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27439 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27440 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27441 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27442 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27443 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27444 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27445 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27446 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27447 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27448 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27449 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27450 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27451 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27452 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27453 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27454 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27455 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27456 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27457 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27458 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27459 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27460 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27461 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27462 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27463 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27464 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27465 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27466 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27467 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27468 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27469 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27470 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27471 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27472 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27473 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27474 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27475 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27476 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27477 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27478 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27479 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27482 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27486 whole low double instead of just low 47 bits when splitting values
27489 2012-12-03 Allan McRae <allan@archlinux.org>
27491 * manual/stdio.texi (Predefined Printf Handlers): Remove
27492 @hsep and @vsep usage.
27494 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27496 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27497 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27499 2012-12-03 Jeff Law <law@redhat.com>
27501 * time/sys/time.h (settimeofday): Do not mark TV argument
27504 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27506 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27507 when currently writing and seek to current position when not.
27508 * libio/Makefile (tests): Remove bug-fclose1.
27509 * libio/bug-fclose1.c: Delete.
27511 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27513 * manual/arith.texi (feenableexcept): Fix typo.
27514 (fedisableexcept): Likewise.
27516 2012-11-30 Roland McGrath <roland@hack.frob.com>
27518 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27519 second, differently-typed declaration, rather than a cast.
27521 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27523 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27524 * include/rpc/svc.h: ... here.
27526 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27529 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27530 depending n and resplen2 to catch cases where answer
27533 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27535 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27536 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27538 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27542 2012-11-29 Roland McGrath <roland@hack.frob.com>
27544 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27546 2012-11-28 Jeff Law <law@redhat.com>
27549 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27550 dataset_temporary. Track alloca usage into alloca_used.
27551 If dataset is large allocate and release it via malloc/free.
27553 2012-06-04 Florian Weimer <fweimer@redhat.com>
27556 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27558 2012-11-28 David S. Miller <davem@davemloft.net>
27560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27562 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27565 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27566 of pi/2 rounded to nearest to 64 bits.
27567 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27568 nearest to 64 bits.
27569 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27572 2012-11-28 Jeff Law <law@redhat.com>
27573 Martin Osvald <mosvald@redhat.com>
27576 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27577 * sunrpc/svc.c: Include time.h.
27578 (__svc_accept_failed): New function.
27579 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27580 any reason other than EINTR, call __svc_accept_failed.
27581 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27582 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27584 2012-11-28 Andreas Schwab <schwab@suse.de>
27586 * scripts/abilist.awk: Also handle indirect functions in .opd
27589 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27592 * sysdeps/x86/fpu/powl_helper.c: New file.
27593 * sysdeps/x86/fpu/Makefile: Likewise.
27594 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27596 (__ieee754_powl): Use __powl_helper for finite arguments except
27597 integer exponents below 8.
27598 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27600 (__ieee754_powl): Use __powl_helper for finite arguments except
27601 integer exponents below 8.
27602 * math/libm-test.inc (pow_test): Add more tests and enable some
27603 previously disabled tests.
27604 * sysdeps/i386/fpu/libm-test-ulps: Update.
27605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27608 Carlos O'Donell <carlos_odonell@mentor.com>
27610 * nss/makedb.c (is_prime): Assert that input is odd and greater
27611 than 4. Note that fact in a comment too.
27612 (next_prime): Add 4 to input.
27614 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27617 * libio/Makefile (tests): Add test case tst-fwrite-error.
27618 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27619 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27620 * libio/tst-fwrite-error.c: New test case.
27622 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27624 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27625 before casting to void *.
27626 * include/libc-internal.h (__pointer_type): New macro.
27627 (__integer_if_pointer_type_sub): Likewise.
27628 (__integer_if_pointer_type): Likewise.
27629 (cast_to_integer): Likewise.
27630 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27631 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27632 before casting to atomic64_t.
27633 (atomic_exchange_acq): Likewise.
27634 (__arch_exchange_and_add_body): Likewise.
27635 (__arch_add_body): Likewise.
27636 (atomic_add_negative): Likewise.
27637 (atomic_add_zero): Likewise.
27639 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27641 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27642 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27643 (add_fdes): Likewise.
27644 (linear_search_fdes): Likewise.
27645 (binary_search_unencoded_fdes): Likewise.
27647 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27649 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27651 2012-11-24 Adam Conrad <adconrad@0c3.net>
27653 * configure.in: Autodetect C++ header directories.
27654 * configure: Regenerated.
27656 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27658 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27660 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27664 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27666 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27667 LDBL_MANT_DIG == 106]: Disable some tests.
27668 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27670 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27674 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27675 input for small inputs. Return +/- pi/2 for large inputs.
27676 * math/libm-test.inc (atan_test): Add more tests.
27678 * sysdeps/generic/unwind-dw2-fde-glibc.c
27679 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27680 __attribute__ ((unused)).
27683 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27684 x * y if x and y are nonzero and z is zero.
27687 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27688 nonzero exponents with absolute value below 0x1p-117 to +/-
27692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27693 up arguments below 2**-450, not just those below 2**-500.
27694 * math/libm-test.inc (hypot_test): Add another test.
27697 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27698 Return a+b for ratio over 2**120, not 2**60.
27699 * math/libm-test.inc (hypot_test): Add another test.
27701 * math/libm-test.inc (clog_test): Use
27702 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27703 (clog10_test): Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27708 2012-11-22 Andreas Schwab <schwab@suse.de>
27710 * sysdeps/i386/fpu/libm-test-ulps: Update.
27712 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27714 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27715 printf output with newline.
27717 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27720 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27721 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27722 -z nodlopen, -z initfirst and -z execstack support.
27723 * configure: Regenerated.
27725 * elf/elf.h (DF_1_NODIRECT): New macro.
27726 (DF_1_IGNMULDEF): Likewise.
27727 (DF_1_NOKSYMS): Likewise.
27728 (DF_1_NOHDR): Likewise.
27729 (DF_1_EDITED): Likewise.
27730 (DF_1_NORELOC): Likewise.
27731 (DF_1_SYMINTPOSE): Likewise.
27732 (DF_1_GLOBAUDIT): Likewise.
27733 (DF_1_SINGLETON): Likewise.
27734 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27735 DT_1_SUPPORTED_MASK bits.
27736 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27738 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27740 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27742 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27744 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27747 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27748 (sendmmsg): Move declarations...
27749 * socket/sys/socket.h: ... here.
27750 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27751 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27753 * socket/recvmmsg.c: ... this new file.
27754 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27755 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27756 definition of __sendmmsg hidden.
27757 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27758 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27759 Move ENOSYS stub into and include it from...
27760 * socket/sendmmsg.c: ... this new file.
27761 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27762 (sysdep_routines): Move recvmmsg and sendmmsg...
27763 * socket/Makefile (routines): ... here.
27764 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27765 (GLIBC_PRIVATE): Add __sendmmsg.
27766 * include/sys/socket.h (__sendmmsg): Add declarations.
27767 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27770 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27773 variable I1 with __attribute__ ((unused)).
27774 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27776 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27778 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27779 DUMMY variables with __attribute__ ((unused)).
27781 * bits/byteswap.h: Include <bits/types.h>.
27782 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27784 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27786 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27787 string_t. Do not manually set errno.
27788 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27789 length with __strnlen. Make sure to both set errno and return it on
27792 2012-11-19 David S. Miller <davem@davemloft.net>
27794 With help from Joseph Myers.
27795 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27796 very large arguments properly.
27797 * math/libm-test.inc (atan_test): New tests.
27798 (atan2_test): New tests.
27799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27802 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27805 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27808 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27809 [POSIX] (EADDRNOTAVAIL): Likewise.
27810 [POSIX] (EAFNOSUPPORT): Likewise.
27811 [POSIX] (EALREADY): Likewise.
27812 [POSIX] (ECONNABORTED): Likewise.
27813 [POSIX] (ECONNREFUSED): Likewise.
27814 [POSIX] (ECONNRESET): Likewise.
27815 [POSIX] (EDESTADDRREQ): Likewise.
27816 [POSIX] (EDQUOT): Likewise.
27817 [POSIX] (EHOSTUNREACH): Likewise.
27818 [POSIX] (EIDRM): Likewise.
27819 [POSIX] (EISCONN): Likewise.
27820 [POSIX] (ELOOP): Likewise.
27821 [POSIX] (EMULTIHOP): Likewise.
27822 [POSIX] (ENETDOWN): Likewise.
27823 [POSIX] (ENETUNREACH): Likewise.
27824 [POSIX] (ENOBUFS): Likewise.
27825 [POSIX] (ENODATA): Likewise.
27826 [POSIX] (ENOLINK): Likewise.
27827 [POSIX] (ENOMSG): Likewise.
27828 [POSIX] (ENOPROTOOPT): Likewise.
27829 [POSIX] (ENOSR): Likewise.
27830 [POSIX] (ENOSTR): Likewise.
27831 [POSIX] (ENOTCONN): Likewise.
27832 [POSIX] (ENOTSOCK): Likewise.
27833 [POSIX] (EOPNOTSUPP): Likewise.
27834 [POSIX] (EOVERFLOW): Likewise.
27835 [POSIX] (EPROTO): Likewise.
27836 [POSIX] (EPROTONOSUPPORT): Likewise.
27837 [POSIX] (EPROTOTYPE): Likewise.
27838 [POSIX] (ESTALE): Likewise.
27839 [POSIX] (ETIME): Likewise.
27840 [POSIX] (ETXTBSY): Likewise.
27841 [POSIX] (EWOULDBLOCK): Likewise.
27842 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27843 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27844 [POSIX] (SEEK_CUR): Likewise.
27845 [POSIX] (SEEK_END): Likewise.
27846 [POSIX || UNIX98] (mode_t): Do not require.
27847 [POSIX] (off_t): Likewise.
27848 [POSIX] (pid_t): Likewise.
27849 [POSIX] (sys/stat.h): Do not allow header.
27850 [POSIX] (unistd.h): Likewise.
27851 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27852 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27853 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27854 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27856 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27857 sigevent): Specify elements.
27858 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27860 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27861 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27863 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27864 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27865 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27866 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27867 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27868 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27869 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27870 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27872 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27873 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27874 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27875 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27880 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27882 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27884 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27885 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27887 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27888 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27889 Specify lower bound on value.
27890 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27891 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27894 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27895 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27896 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27897 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27899 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27901 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27902 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27903 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27904 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27905 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27906 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27907 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27908 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27909 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27910 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27911 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27912 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27913 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27914 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27915 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27916 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27918 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27920 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27921 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27922 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27923 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27924 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27925 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27928 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27929 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27930 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27931 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27932 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27937 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27938 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27939 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27940 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27941 specify as optional.
27942 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27943 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27944 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27945 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27946 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27947 [XPG3] (NL_LANGMAX): Likewise.
27948 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27949 [POSIX || XPG3] (NL_NMAX): Likewise.
27950 [POSIX || XPG3] (NL_SETMAX): Likewise.
27951 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27952 [XPG3] (NZERO): Likewise.
27953 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27954 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27955 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27956 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27957 (REG_ERANGE): Expect.
27958 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27960 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27961 Use (void) in prototype.
27962 [POSIX] (*_t): Allow.
27963 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27964 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27965 (WRDE_BADVAL): Expect.
27967 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27969 [XPG3 || XPG4] (O_RSYNC): Likewise.
27970 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27972 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27973 [XPG3 || XPG4] (sigqueue): Likewise.
27974 [XPG3 || XPG4] (sigtimedwait): Likewise.
27975 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27976 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27977 [XPG3 || XPG4] (vsnprintf): Likewise.
27978 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27980 [XPG3 || XPG4] (blksize_t): Likewise.
27981 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27983 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27984 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27985 [XPG3 || XPG4] (struct itimerspec): Likewise.
27986 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27987 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27988 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27989 [XPG3 || XPG4] (clockid_t): Likewise.
27990 [XPG3 || XPG4] (timer_t): Likewise.
27991 [XPG3 || XPG4] (clock_getres): Likewise.
27992 [XPG3 || XPG4] (clock_gettime): Likewise.
27993 [XPG3 || XPG4] (clock_settime): Likewise.
27994 [XPG3 || XPG4] (nanosleep): Likewise.
27995 [XPG3 || XPG4] (timer_create): Likewise.
27996 [XPG3 || XPG4] (timer_delete): Likewise.
27997 [XPG3 || XPG4] (timer_gettime): Likewise.
27998 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27999 [XPG3 || XPG4] (timer_settime): Likewise.
28000 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28001 [XPG3 || XPG4] (getlogin_r): Likewise.
28002 [XPG3 || XPG4] (pread): Likewise.
28003 [XPG3 || XPG4] (pthread_atfork): Likewise.
28004 [XPG3 || XPG4] (pwrite): Likewise.
28007 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28010 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28012 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28013 finalizing MALLSTREAM.
28015 * sysdeps/mach/hurd/syncfs.c: New file.
28017 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28020 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28021 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28022 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28023 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28024 (_nss_dns_gethostbyname4_r): Likewise.
28025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28026 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28028 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28031 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28033 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28035 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28036 * elf/cache.c (print_entry): Print ",AArch64" for
28039 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28040 * elf/cache.c (print_entry): Print ",hard-float" for
28043 2012-11-18 David S. Miller <davem@davemloft.net>
28045 With help from Joseph Myers.
28046 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28048 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28050 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28051 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28053 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28054 * math/libm-test.inc (y0_test): New tests.
28055 (y1_test): New tests.
28056 * sysdeps/i386/fpu/libm-test-ulps: Update.
28057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28060 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28062 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28064 * configure: Regenerated.
28066 2012-11-17 David S. Miller <davem@davemloft.net>
28069 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28070 nonzero exponents with absolute value below 0x1p-128 to +/-
28073 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28075 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28077 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28079 * posix/getconf-speclist.c: New file.
28080 * posix/posix-envs.def: Likewise.
28081 * posix/confstr.c (START_ENV_GROUP): New macro.
28082 (END_ENV_GROUP): Likewise.
28083 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28084 (KNOWN_PRESENT_ENV_STRING): Likewise.
28085 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28086 (UNKNOWN_ENVIRONMENT): Likewise.
28087 (confstr): Include posix-envs.def instead of handling
28088 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28089 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28090 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28091 (END_ENV_GROUP): Likewise.
28092 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28093 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28094 (UNKNOWN_ENVIRONMENT): Likewise.
28095 (__sysconf): Include posix-envs.def instead of handling associated
28096 cases directly here.
28097 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28098 preprocessing getconf-speclist.c rather than running getconf or
28099 generating empty file.
28101 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28103 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28105 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28108 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28110 2012-11-16 David S. Miller <davem@davemloft.net>
28112 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28113 smaller than LDBL_EPSILON/2.0L, just return xm1.
28115 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28117 * elf/tst-array1.c (init): Set constructor priority to 1000.
28118 (fini): Set destructor priority to 1000.
28119 * elf/tst-array2dep.c: Likewise.
28121 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28124 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28125 (_IO_new_file_xsputn): Also return EOF if none of the input
28126 data was written when overflow failed.
28127 * libio/iopadn.c (_IO_padn): Likewise.
28128 * libio/iowpadn.c (_IO_wpadn): Likewise.
28129 * stdio-common/tst-put-error.c: Add copyright notice.
28130 (do_test): Add case for printing padded string.
28131 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28132 _IO_padn returned error.
28133 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28134 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28137 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28139 * libio/libioP.h: Add comment note that the references to C++
28140 bits are now obsolete.
28142 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28144 * math/libm-test.inc (check_complex): Use asprintf.
28146 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28148 * debug/pcprofiledump.c (print_version): Update copyright year.
28149 * malloc/memusagestat.c (print_version): Likewise.
28151 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28154 * elf/Makefile (tests): Add tst-audit8.
28155 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28156 ($(objpfx)tst-audit8.out): New target.
28157 (tst-audit8-ENV): New variable.
28158 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28159 audit if l_reloc_result is NULL.
28160 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28161 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28162 * elf/tst-audit8.c: New file.
28164 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28166 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28167 * misc/Makefile (CFLAGS-select.c): Define.
28168 * posix/Makefile (CFLAGS-pause.c): Define.
28170 2012-11-13 David S. Miller <davem@davemloft.net>
28172 * crypt/Makefile: Move test targets after toplevel Rules
28173 inclusion. Grab any necessary sysdep routines when linking.
28174 * crypt/md5.c (md5_process_block): Remove define, we will always
28175 name it __md5_process_block.
28176 (md5_finish_ctx): Update md5_process_block call.
28177 (md5_stream): Likewise.
28178 (md5_process_bytes): Likewise.
28179 (md5_process_block): Rename to __md5_process_block and move to ...
28180 * crypt/md5-block.c: ... here.
28181 * crypt/sha256.c (sha256_process_block): Move to ...
28182 * crypt/sha256-block.c: ... here.
28183 * crypt/sha512.c (sha512_process_block): Move to ...
28184 * crypt/sha512-block.c: ... here.
28185 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28187 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28188 * sysdeps/sparc/sparc64/multiarch/Makefile
28189 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28191 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28194 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28195 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28196 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28197 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28198 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28199 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28200 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28201 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28202 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28205 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28207 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28209 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28211 * timezone/tzselect.ksh: Update from tzcode git revision
28212 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28213 * timezone/zdump.c: Likewise.
28214 * timezone/zic.c: Likewise.
28215 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28216 in TZVERSION setting, not $(PKGVERSION).
28217 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28218 REPORT_BUGS_TO settings.
28221 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28224 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28226 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28227 detection to immediately after _FP_ROUND().
28228 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28231 2012-11-11 David S. Miller <davem@davemloft.net>
28233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28235 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28236 __close rather than their public counterparts.
28238 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28240 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28242 [UNIX98] (sem_timedwait): Do not expect.
28243 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28244 [XPG4 || UNIX98] (sockatmark): Do not expect.
28245 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28246 (clock_getcpuclockid): Do not expect.
28247 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28248 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28250 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28251 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28252 [UNIX98] (vwscanf): Likewise.
28253 [UNIX98] (vswscanf): Likewise.
28255 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28257 * timezone/version.h: Remove file.
28258 * timezone/README: Do not refer to version.h.
28259 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28260 $(objpfx)version.h.
28261 ($(objpfx)zdump.o): Likewise.
28262 ($(objpfx)version.h): New target.
28264 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28266 * timezone/README: Don't mention modification to tzselect.ksh.
28267 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28268 work on unmodified tzselect.ksh. Substitute version numbers in
28271 * Makefile (format-me): Remove.
28272 (INSTALL): Adjust indentation. Use commands directly instead of
28273 using $(format-me).
28275 * aclocal.m4 (ACX_PKGVERSION): New macro.
28276 (ACX_BUGURL): Likewise.
28277 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28278 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28279 (REPORT_BUGS_TO): Likewise.
28280 * configure: Regenerated.
28281 * config.h.in (PKGVERSION): New macro.
28282 (REPORT_BUGS_TO): Likewise.
28283 * config.make.in (PKGVERSION): New variable.
28284 (PKGVERSION_TEXI): Likewise.
28285 (REPORT_BUGS_TO): Likewise.
28286 (REPORT_BUGS_TEXI): Likewise.
28287 * Makefile (format-me): Use -I$(common-objpfx)manual.
28288 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28289 ($(common-objpfx)manual/%): New target.
28290 (manual/%): Remove target.
28291 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28292 (print_version): Use PKGVERSION.
28293 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28294 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28295 and REPORT_BUGS_TO.
28296 ($(objpfx)xtrace): Likewise.
28297 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28298 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28299 (print_version): Use PKGVERSION.
28300 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28301 (do_version): Use PKGVERSION.
28302 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28304 (common-ldd-rewrite): Likewise.
28305 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28306 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28307 (print_version): Use PKGVERSION.
28308 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28309 * elf/pldd.c (argp_program_bug_address): Remove variable.
28310 (more_help): New function.
28311 (argp): Use more_help.
28312 (print_version): Use PKGVERSION.
28313 * elf/sln.c (main): Use PKGVERSION.
28314 (usage): Use REPORT_BUGS_TO.
28315 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28316 (top level): Use PKGVERSION.
28317 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28318 (print_version): Use PKGVERSION.
28319 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28320 (print_version): Use PKGVERSION.
28321 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28322 (print_version): Use PKGVERSION.
28323 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28324 (print_version): Use PKGVERSION.
28325 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28326 (print_version): Use PKGVERSION.
28327 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28328 (print_version): Use PKGVERSION.
28329 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28331 ($(objpfx)memusage): Likewise.
28332 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28333 (do_version): Use PKGVERSION.
28334 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28335 (print_version): Use PKGVERSION.
28336 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28337 ($PKGVERSION): New variable.
28338 ($REPORT_BUGS_TO): Likewise.
28339 (usage): Use $REPORT_BUGS_TO.
28340 (top level): Use $PKGVERSION.
28341 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28342 ($(objpfx)pkgvers.texi): New rule.
28343 ($(objpfx)stamp-pkgvers): Likewise.
28344 * manual/install.texi: Include pkgvers.texi.
28345 (--with-pkgversion): Document new configure option.
28346 (--with-bugurl): Likewise.
28347 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28348 than necessarily for this particular distribution. Use
28349 REPORT_BUGS_TO for where to report bugs.
28350 * INSTALL: Regenerated.
28351 * manual/libc.texinfo: Include pkgvers.texi.
28352 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28353 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28354 (print_version): Use PKGVERSION.
28355 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28356 (print_version): Use PKGVERSION.
28357 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28358 (print_version): Use PKGVERSION.
28359 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28360 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28362 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28363 (print_version): Use PKGVERSION.
28364 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28365 (print_version): Use PKGVERSION.
28366 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28369 * timezone/checktab.awk: Update from tzcode 2012i.
28370 * timezone/ialloc.c: Likewise.
28371 * timezone/private.h: Likewise.
28372 * timezone/scheck.c: Likewise.
28373 * timezone/tzfile.h: Likewise.
28374 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28375 (TZVERSION): Hardcode tzcode version number.
28376 * timezone/zdump.c: Update from tzcode 2012i.
28377 * timezone/zic.c: Likewise.
28378 * timezone/version.h: New file.
28379 * timezone/README: Describe version.h. Update upstream location.
28382 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28383 (mktemp): Enable declaration.
28384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28401 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28402 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28403 for copies of such integer values.
28404 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28405 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28407 2012-11-09 Andreas Jaeger <aj@suse.de>
28409 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28410 definitions and declarations that are provided by
28411 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28413 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28415 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28416 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28417 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28420 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28422 * elf/elf.h: Update comment before AArch64 relocations.
28424 2012-11-07 David S. Miller <davem@davemloft.net>
28426 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28427 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28428 (__start_context): Declare.
28429 (__makecontext_ret): Delete.
28430 (__makecontext): Hook up __start_context instead of
28432 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28433 (sysdep_routines): Add __start_context when in stdlib.
28435 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28438 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28439 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28441 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28442 (READELF): New variable. Use it instead of hardcoded "readelf".
28444 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28446 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28447 * sysdeps/x86/Makefile: Here.
28448 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28449 * sysdeps/x86/tst-xmmymm.sh: This.
28451 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28453 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28455 [UNIX98] (pthread_barrier_t): Do not expect.
28456 [UNIX98] (pthread_barrierattr_t): Likewise.
28457 [UNIX98] (pthread_spinlock_t): Likewise.
28458 [UNIX98] (pthread_barrier_destroy): Likewise.
28459 [UNIX98] (pthread_barrier_init): Likewise.
28460 [UNIX98] (pthread_barrier_wait): Likewise.
28461 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28462 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28463 [UNIX98] (pthread_barrierattr_init): Likewise.
28464 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28465 [UNIX98] (pthread_getcpuclockid): Likewise.
28466 [UNIX98] (pthread_mutex_timedlock): Likewise.
28467 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28468 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28469 [UNIX98] (pthread_sigmask): Likewise.
28470 [UNIX98] (pthread_spin_destroy): Likewise.
28471 [UNIX98] (pthread_spin_init): Likewise.
28472 [UNIX98] (pthread_spin_lock): Likewise.
28473 [UNIX98] (pthread_spin_trylock): Likewise.
28474 [UNIX98] (pthread_spin_unlock): Likewise.
28475 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28477 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28478 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28479 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28480 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28481 [XPG3 || XPG4] (pthread_key_t): Likewise.
28482 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28483 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28484 [XPG3 || XPG4] (pthread_once_t): Likewise.
28485 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28486 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28487 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28488 [XPG3 || XPG4] (pthread_t): Likewise.
28490 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28492 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28494 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28495 Change function return type to int.
28497 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28498 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28499 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28500 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28501 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28502 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28503 [!POSIX] (posix_madvise): Likewise.
28504 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28506 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28507 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28508 (mode_t): Likewise.
28509 (posix_mem_offset): Likewise.
28510 (posix_typed_mem_get_info): Likewise.
28511 (posix_typed_mem_open): Likewise.
28513 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28514 Change condition to [XOPEN2K8].
28516 * conform/conformtest.pl: Preprocess allow-header data with -x c
28517 instead of from stdin.
28518 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28519 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28520 [C99-based standards] (cerfc): Likewise.
28521 [C99-based standards] (cexp2): Likewise.
28522 [C99-based standards] (cexpm1): Likewise.
28523 [C99-based standards] (clog10): Likewise.
28524 [C99-based standards] (clog1p): Likewise.
28525 [C99-based standards] (clog2): Likewise.
28526 [C99-based standards] (clgamma): Likewise.
28527 [C99-based standards] (ctgamma): Likewise.
28528 [C99-based standards] (cerff): Likewise.
28529 [C99-based standards] (cerfcf): Likewise.
28530 [C99-based standards] (cexp2f): Likewise.
28531 [C99-based standards] (cexpm1f): Likewise.
28532 [C99-based standards] (clog10f): Likewise.
28533 [C99-based standards] (clog1pf): Likewise.
28534 [C99-based standards] (clog2f): Likewise.
28535 [C99-based standards] (clgammaf): Likewise.
28536 [C99-based standards] (ctgammaf): Likewise.
28537 [C99-based standards] (cerfl): Likewise.
28538 [C99-based standards] (cerfcl): Likewise.
28539 [C99-based standards] (cexp2l): Likewise.
28540 [C99-based standards] (cexpm1l): Likewise.
28541 [C99-based standards] (clog10l): Likewise.
28542 [C99-based standards] (clog1pl): Likewise.
28543 [C99-based standards] (clog2l): Likewise.
28544 [C99-based standards] (clgammal): Likewise.
28545 [C99-based standards] (ctgammal): Likewise.
28546 * conform/data/inttypes.h-data [C99-based standards]: Include
28547 stdint.h-data. Remove all expectations for stdint.h contents.
28548 [C99-based standards] (PRI*): Do not allow.
28549 [C99-based standards] (SCN*): Likewise.
28550 [C99-based standards] (*_t): Likewise.
28551 [C99-based-standards] (PRId8): Expect macro.
28552 [C99-based-standards] (PRIi8): Likewise.
28553 [C99-based-standards] (PRIo8): Likewise.
28554 [C99-based-standards] (PRIu8): Likewise.
28555 [C99-based-standards] (PRIx8): Likewise.
28556 [C99-based-standards] (PRIX8): Likewise.
28557 [C99-based-standards] (SCNd8): Likewise.
28558 [C99-based-standards] (SCNi8): Likewise.
28559 [C99-based-standards] (SCNo8): Likewise.
28560 [C99-based-standards] (SCNu8): Likewise.
28561 [C99-based-standards] (SCNx8): Likewise.
28562 [C99-based-standards] (PRIdLEAST8): Likewise.
28563 [C99-based-standards] (PRIiLEAST8): Likewise.
28564 [C99-based-standards] (PRIoLEAST8): Likewise.
28565 [C99-based-standards] (PRIuLEAST8): Likewise.
28566 [C99-based-standards] (PRIxLEAST8): Likewise.
28567 [C99-based-standards] (PRIXLEAST8): Likewise.
28568 [C99-based-standards] (SCNdLEAST8): Likewise.
28569 [C99-based-standards] (SCNiLEAST8): Likewise.
28570 [C99-based-standards] (SCNoLEAST8): Likewise.
28571 [C99-based-standards] (SCNuLEAST8): Likewise.
28572 [C99-based-standards] (SCNxLEAST8): Likewise.
28573 [C99-based-standards] (PRIdFAST8): Likewise.
28574 [C99-based-standards] (PRIiFAST8): Likewise.
28575 [C99-based-standards] (PRIoFAST8): Likewise.
28576 [C99-based-standards] (PRIuFAST8): Likewise.
28577 [C99-based-standards] (PRIxFAST8): Likewise.
28578 [C99-based-standards] (PRIXFAST8): Likewise.
28579 [C99-based-standards] (SCNdFAST8): Likewise.
28580 [C99-based-standards] (SCNiFAST8): Likewise.
28581 [C99-based-standards] (SCNoFAST8): Likewise.
28582 [C99-based-standards] (SCNuFAST8): Likewise.
28583 [C99-based-standards] (SCNxFAST8): Likewise.
28584 [C99-based-standards] (PRId16): Likewise.
28585 [C99-based-standards] (PRIi16): Likewise.
28586 [C99-based-standards] (PRIo16): Likewise.
28587 [C99-based-standards] (PRIu16): Likewise.
28588 [C99-based-standards] (PRIx16): Likewise.
28589 [C99-based-standards] (PRIX16): Likewise.
28590 [C99-based-standards] (SCNd16): Likewise.
28591 [C99-based-standards] (SCNi16): Likewise.
28592 [C99-based-standards] (SCNo16): Likewise.
28593 [C99-based-standards] (SCNu16): Likewise.
28594 [C99-based-standards] (SCNx16): Likewise.
28595 [C99-based-standards] (PRIdLEAST16): Likewise.
28596 [C99-based-standards] (PRIiLEAST16): Likewise.
28597 [C99-based-standards] (PRIoLEAST16): Likewise.
28598 [C99-based-standards] (PRIuLEAST16): Likewise.
28599 [C99-based-standards] (PRIxLEAST16): Likewise.
28600 [C99-based-standards] (PRIXLEAST16): Likewise.
28601 [C99-based-standards] (SCNdLEAST16): Likewise.
28602 [C99-based-standards] (SCNiLEAST16): Likewise.
28603 [C99-based-standards] (SCNoLEAST16): Likewise.
28604 [C99-based-standards] (SCNuLEAST16): Likewise.
28605 [C99-based-standards] (SCNxLEAST16): Likewise.
28606 [C99-based-standards] (PRIdFAST16): Likewise.
28607 [C99-based-standards] (PRIiFAST16): Likewise.
28608 [C99-based-standards] (PRIoFAST16): Likewise.
28609 [C99-based-standards] (PRIuFAST16): Likewise.
28610 [C99-based-standards] (PRIxFAST16): Likewise.
28611 [C99-based-standards] (PRIXFAST16): Likewise.
28612 [C99-based-standards] (SCNdFAST16): Likewise.
28613 [C99-based-standards] (SCNiFAST16): Likewise.
28614 [C99-based-standards] (SCNoFAST16): Likewise.
28615 [C99-based-standards] (SCNuFAST16): Likewise.
28616 [C99-based-standards] (SCNxFAST16): Likewise.
28617 [C99-based-standards] (PRId32): Likewise.
28618 [C99-based-standards] (PRIi32): Likewise.
28619 [C99-based-standards] (PRIo32): Likewise.
28620 [C99-based-standards] (PRIu32): Likewise.
28621 [C99-based-standards] (PRIx32): Likewise.
28622 [C99-based-standards] (PRIX32): Likewise.
28623 [C99-based-standards] (SCNd32): Likewise.
28624 [C99-based-standards] (SCNi32): Likewise.
28625 [C99-based-standards] (SCNo32): Likewise.
28626 [C99-based-standards] (SCNu32): Likewise.
28627 [C99-based-standards] (SCNx32): Likewise.
28628 [C99-based-standards] (PRIdLEAST32): Likewise.
28629 [C99-based-standards] (PRIiLEAST32): Likewise.
28630 [C99-based-standards] (PRIoLEAST32): Likewise.
28631 [C99-based-standards] (PRIuLEAST32): Likewise.
28632 [C99-based-standards] (PRIxLEAST32): Likewise.
28633 [C99-based-standards] (PRIXLEAST32): Likewise.
28634 [C99-based-standards] (SCNdLEAST32): Likewise.
28635 [C99-based-standards] (SCNiLEAST32): Likewise.
28636 [C99-based-standards] (SCNoLEAST32): Likewise.
28637 [C99-based-standards] (SCNuLEAST32): Likewise.
28638 [C99-based-standards] (SCNxLEAST32): Likewise.
28639 [C99-based-standards] (PRIdFAST32): Likewise.
28640 [C99-based-standards] (PRIiFAST32): Likewise.
28641 [C99-based-standards] (PRIoFAST32): Likewise.
28642 [C99-based-standards] (PRIuFAST32): Likewise.
28643 [C99-based-standards] (PRIxFAST32): Likewise.
28644 [C99-based-standards] (PRIXFAST32): Likewise.
28645 [C99-based-standards] (SCNdFAST32): Likewise.
28646 [C99-based-standards] (SCNiFAST32): Likewise.
28647 [C99-based-standards] (SCNoFAST32): Likewise.
28648 [C99-based-standards] (SCNuFAST32): Likewise.
28649 [C99-based-standards] (SCNxFAST32): Likewise.
28650 [C99-based-standards] (PRId64): Likewise.
28651 [C99-based-standards] (PRIi64): Likewise.
28652 [C99-based-standards] (PRIo64): Likewise.
28653 [C99-based-standards] (PRIu64): Likewise.
28654 [C99-based-standards] (PRIx64): Likewise.
28655 [C99-based-standards] (PRIX64): Likewise.
28656 [C99-based-standards] (SCNd64): Likewise.
28657 [C99-based-standards] (SCNi64): Likewise.
28658 [C99-based-standards] (SCNo64): Likewise.
28659 [C99-based-standards] (SCNu64): Likewise.
28660 [C99-based-standards] (SCNx64): Likewise.
28661 [C99-based-standards] (PRIdLEAST64): Likewise.
28662 [C99-based-standards] (PRIiLEAST64): Likewise.
28663 [C99-based-standards] (PRIoLEAST64): Likewise.
28664 [C99-based-standards] (PRIuLEAST64): Likewise.
28665 [C99-based-standards] (PRIxLEAST64): Likewise.
28666 [C99-based-standards] (PRIXLEAST64): Likewise.
28667 [C99-based-standards] (SCNdLEAST64): Likewise.
28668 [C99-based-standards] (SCNiLEAST64): Likewise.
28669 [C99-based-standards] (SCNoLEAST64): Likewise.
28670 [C99-based-standards] (SCNuLEAST64): Likewise.
28671 [C99-based-standards] (SCNxLEAST64): Likewise.
28672 [C99-based-standards] (PRIdFAST64): Likewise.
28673 [C99-based-standards] (PRIiFAST64): Likewise.
28674 [C99-based-standards] (PRIoFAST64): Likewise.
28675 [C99-based-standards] (PRIuFAST64): Likewise.
28676 [C99-based-standards] (PRIxFAST64): Likewise.
28677 [C99-based-standards] (PRIXFAST64): Likewise.
28678 [C99-based-standards] (SCNdFAST64): Likewise.
28679 [C99-based-standards] (SCNiFAST64): Likewise.
28680 [C99-based-standards] (SCNoFAST64): Likewise.
28681 [C99-based-standards] (SCNuFAST64): Likewise.
28682 [C99-based-standards] (SCNxFAST64): Likewise.
28683 [C99-based-standards] (PRIdMAX): Likewise.
28684 [C99-based-standards] (PRIiMAX): Likewise.
28685 [C99-based-standards] (PRIoMAX): Likewise.
28686 [C99-based-standards] (PRIuMAX): Likewise.
28687 [C99-based-standards] (PRIxMAX): Likewise.
28688 [C99-based-standards] (PRIXMAX): Likewise.
28689 [C99-based-standards] (SCNdMAX): Likewise.
28690 [C99-based-standards] (SCNiMAX): Likewise.
28691 [C99-based-standards] (SCNoMAX): Likewise.
28692 [C99-based-standards] (SCNuMAX): Likewise.
28693 [C99-based-standards] (SCNxMAX): Likewise.
28694 [C99-based-standards] (PRIdPTR): Likewise.
28695 [C99-based-standards] (PRIiPTR): Likewise.
28696 [C99-based-standards] (PRIoPTR): Likewise.
28697 [C99-based-standards] (PRIuPTR): Likewise.
28698 [C99-based-standards] (PRIxPTR): Likewise.
28699 [C99-based-standards] (PRIXPTR): Likewise.
28700 [C99-based-standards] (SCNdPTR): Likewise.
28701 [C99-based-standards] (SCNiPTR): Likewise.
28702 [C99-based-standards] (SCNoPTR): Likewise.
28703 [C99-based-standards] (SCNuPTR): Likewise.
28704 [C99-based-standards] (SCNxPTR): Likewise.
28705 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28707 * conform/data/stdint.h-data: Update comments to clarify
28709 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28711 [C99-based standards] (INT8_MAX): Likewise.
28712 [C99-based standards] (INT16_MIN): Likewise.
28713 [C99-based standards] (INT16_MAX): Likewise.
28714 [C99-based standards] (INT32_MIN): Likewise.
28715 [C99-based standards] (INT32_MAX): Likewise.
28716 [C99-based standards] (INT64_MIN): Likewise.
28717 [C99-based standards] (INT64_MAX): Likewise.
28718 [C99-based standards] (UINT8_MAX): Likewise.
28719 [C99-based standards] (UINT16_MAX): Likewise.
28720 [C99-based standards] (UINT32_MAX): Likewise.
28721 [C99-based standards] (UINT64_MAX): Likewise.
28722 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28723 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28724 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28725 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28726 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28727 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28728 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28729 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28730 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28731 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28732 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28733 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28734 [C99-based standards] (INT_FAST8_MIN): Likewise.
28735 [C99-based standards] (INT_FAST8_MAX): Likewise.
28736 [C99-based standards] (INT_FAST16_MIN): Likewise.
28737 [C99-based standards] (INT_FAST16_MAX): Likewise.
28738 [C99-based standards] (INT_FAST32_MIN): Likewise.
28739 [C99-based standards] (INT_FAST32_MAX): Likewise.
28740 [C99-based standards] (INT_FAST64_MIN): Likewise.
28741 [C99-based standards] (INT_FAST64_MAX): Likewise.
28742 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28743 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28744 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28745 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28746 [C99-based standards] (INTPTR_MIN): Likewise.
28747 [C99-based standards] (INTPTR_MAX): Likewise.
28748 [C99-based standards] (UINTPTR_MAX): Likewise.
28749 [C99-based standards] (INTMAX_MIN): Likewise.
28750 [C99-based standards] (INTMAX_MAX): Likewise.
28751 [C99-based standards] (UINTMAX_MAX): Likewise.
28752 [C99-based standards] (PTRDIFF_MIN): Likewise.
28753 [C99-based standards] (PTRDIFF_MAX): Likewise.
28754 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28755 [C99-based standards] (SIZE_MAX): Likewise.
28756 [C99-based standards] (WCHAR_MAX): Likewise.
28757 [C99-based standards] (WINT_MAX): Likewise.
28758 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28759 constraint on value.
28760 [C99-based standards] (WCHAR_MIN): Likewise.
28761 [C99-based standards] (WINT_MIN): Likewise.
28762 [C99-based standards] (*_t): Allow.
28763 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28764 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28765 Include math.h-data and complex.h-data. Remove all expectations
28766 of math.h and complex.h contents.
28767 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28769 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28770 (struct tm): Expect tag.
28771 [C99-based-standards] (wcstof): Expect function.
28772 [C99-based-standards] (wcstold): Likewise.
28773 [C99-based-standards] (wcstoll): Likewise.
28774 [C99-based-standards] (wcstoull): Likewise.
28775 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28776 macro-int-constant. Specify type.
28777 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28778 constraint on value.
28779 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28781 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28783 [ISO C standards]: Do not allow headers.
28784 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28785 wcs[abcdefghijklmnopqrstuvwxyz]*.
28786 [ISO C standards] (*_t): Do not allow.
28787 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28789 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28790 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28792 [ISO C standards]: Do not allow headers.
28793 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28794 is[abcdefghijklmnopqrstuvwxyz]*.
28795 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28796 to[abcdefghijklmnopqrstuvwxyz]*.
28797 [ISO C standards] (*_t): Do not allow.
28798 * conform/data/stdalign.h-data: New file.
28799 * conform/data/stdbool.h-data: Likewise.
28800 * conform/data/stdnoreturn.h-data: Likewise.
28802 2012-11-07 Roland McGrath <roland@hack.frob.com>
28805 * manual/filesys.texi (Directory Entries): Typo fix.
28806 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28808 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28810 * elf/elf.h (EM_AARCH64): New macro.
28811 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28812 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28813 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28814 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28815 (R_AARCH64_TLSDESC): Likewise.
28816 (NT_ARM_TLS): Likewise.
28817 (NT_ARM_HW_BREAK): Likewise.
28818 (NT_ARM_HW_WATCH): Likewise.
28820 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28823 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28824 (__ieee754_powl): Saturate nonzero exponents with absolute value
28825 below 0x1p-79 to +/- 0x1p-79.
28826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28827 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28828 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28829 nonzero exponents with absolute value below 0x1p-32 to +/-
28831 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28832 (__ieee754_powl): Saturate nonzero exponents with absolute value
28833 below 0x1p-79 to +/- 0x1p-79.
28834 * math/libm-test.inc (pow_test): Add more tests.
28836 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28838 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28839 _dl_s390_cap_flags with kernel. Increase string length.
28840 (_dl_s390_platforms): Add z196 and zEC12.
28842 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28844 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28845 Change XOPEN21K to XOPEN2K.
28847 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28849 * string/memmove.c: Use memcpy when possible.
28851 2012-11-06 Andreas Jaeger <aj@suse.de>
28853 * po/eo.po: Update from translation team.
28855 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28859 exponent and small x and y exponents, scale x or y up. Increase
28860 by 2 the exponent used in scaling up.
28861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28863 * math/libm-test.inc (fma_test): Add more tests.
28864 (fma_test_towardzero): Likewise.
28865 (fma_test_downward): Likewise.
28866 (fma_test_upward): Likewise.
28868 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28871 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28875 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28876 namespace for names of struct fields.
28877 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28879 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28880 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28882 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28885 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28887 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28889 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28893 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28896 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28900 definitely overflow as x * y not x * y + z.
28901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28903 * math/libm-test.inc (fma_test): Add more tests.
28904 (fma_test_towardzero): Likewise.
28905 (fma_test_downward): Likewise.
28906 (fma_test_upward): Likewise.
28908 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28912 * include/stub-tag.h: Remove file.
28913 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28915 * manual/maint.texi (Porting): Don't reference it.
28916 * Makerules ($(objpfx)stubs): Likewise.
28917 * dirent/closedir.c: Don't include <stub-tag.h>.
28918 * dirent/dirfd.c: Likewise.
28919 * dirent/fdopendir.c: Likewise.
28920 * dirent/getdents.c: Likewise.
28921 * dirent/getdents64.c: Likewise.
28922 * dirent/opendir.c: Likewise.
28923 * dirent/readdir.c: Likewise.
28924 * dirent/readdir64.c: Likewise.
28925 * dirent/readdir64_r.c: Likewise.
28926 * dirent/readdir_r.c: Likewise.
28927 * dirent/rewinddir.c: Likewise.
28928 * dirent/seekdir.c: Likewise.
28929 * dirent/telldir.c: Likewise.
28930 * gmon/profil.c: Likewise.
28931 * grp/setgroups.c: Likewise.
28932 * inet/if_index.c: Likewise.
28933 * io/access.c: Likewise.
28934 * io/chdir.c: Likewise.
28935 * io/chmod.c: Likewise.
28936 * io/chown.c: Likewise.
28937 * io/close.c: Likewise.
28938 * io/dup.c: Likewise.
28939 * io/dup2.c: Likewise.
28940 * io/dup3.c: Likewise.
28941 * io/euidaccess.c: Likewise.
28942 * io/faccessat.c: Likewise.
28943 * io/fchdir.c: Likewise.
28944 * io/fchmod.c: Likewise.
28945 * io/fchmodat.c: Likewise.
28946 * io/fchown.c: Likewise.
28947 * io/fchownat.c: Likewise.
28948 * io/fcntl.c: Likewise.
28949 * io/flock.c: Likewise.
28950 * io/fstatfs.c: Likewise.
28951 * io/fstatfs64.c: Likewise.
28952 * io/fstatvfs.c: Likewise.
28953 * io/fstatvfs64.c: Likewise.
28954 * io/futimens.c: Likewise.
28955 * io/fxstat.c: Likewise.
28956 * io/fxstat64.c: Likewise.
28957 * io/fxstatat.c: Likewise.
28958 * io/fxstatat64.c: Likewise.
28959 * io/getcwd.c: Likewise.
28960 * io/isatty.c: Likewise.
28961 * io/lchmod.c: Likewise.
28962 * io/lchown.c: Likewise.
28963 * io/link.c: Likewise.
28964 * io/linkat.c: Likewise.
28965 * io/lseek.c: Likewise.
28966 * io/lseek64.c: Likewise.
28967 * io/lxstat64.c: Likewise.
28968 * io/mkdir.c: Likewise.
28969 * io/mkdirat.c: Likewise.
28970 * io/mkfifo.c: Likewise.
28971 * io/mkfifoat.c: Likewise.
28972 * io/open.c: Likewise.
28973 * io/open64.c: Likewise.
28974 * io/openat.c: Likewise.
28975 * io/openat64.c: Likewise.
28976 * io/pipe.c: Likewise.
28977 * io/pipe2.c: Likewise.
28978 * io/poll.c: Likewise.
28979 * io/posix_fadvise.c: Likewise.
28980 * io/posix_fadvise64.c: Likewise.
28981 * io/posix_fallocate.c: Likewise.
28982 * io/posix_fallocate64.c: Likewise.
28983 * io/read.c: Likewise.
28984 * io/readlink.c: Likewise.
28985 * io/readlinkat.c: Likewise.
28986 * io/rmdir.c: Likewise.
28987 * io/sendfile.c: Likewise.
28988 * io/sendfile64.c: Likewise.
28989 * io/statfs.c: Likewise.
28990 * io/statfs64.c: Likewise.
28991 * io/statvfs.c: Likewise.
28992 * io/statvfs64.c: Likewise.
28993 * io/symlink.c: Likewise.
28994 * io/symlinkat.c: Likewise.
28995 * io/ttyname.c: Likewise.
28996 * io/ttyname_r.c: Likewise.
28997 * io/umask.c: Likewise.
28998 * io/unlink.c: Likewise.
28999 * io/unlinkat.c: Likewise.
29000 * io/utime.c: Likewise.
29001 * io/utimensat.c: Likewise.
29002 * io/write.c: Likewise.
29003 * io/xmknod.c: Likewise.
29004 * io/xmknodat.c: Likewise.
29005 * io/xstat.c: Likewise.
29006 * io/xstat64.c: Likewise.
29007 * login/getpt.c: Likewise.
29008 * login/grantpt.c: Likewise.
29009 * login/unlockpt.c: Likewise.
29010 * math/e_acoshl.c: Likewise.
29011 * math/e_acosl.c: Likewise.
29012 * math/e_asinl.c: Likewise.
29013 * math/e_atan2l.c: Likewise.
29014 * math/e_atanhl.c: Likewise.
29015 * math/e_coshl.c: Likewise.
29016 * math/e_expl.c: Likewise.
29017 * math/e_fmodl.c: Likewise.
29018 * math/e_gammal_r.c: Likewise.
29019 * math/e_hypotl.c: Likewise.
29020 * math/e_j0l.c: Likewise.
29021 * math/e_j1l.c: Likewise.
29022 * math/e_jnl.c: Likewise.
29023 * math/e_lgammal_r.c: Likewise.
29024 * math/e_log10l.c: Likewise.
29025 * math/e_log2l.c: Likewise.
29026 * math/e_logl.c: Likewise.
29027 * math/e_powl.c: Likewise.
29028 * math/e_rem_pio2l.c: Likewise.
29029 * math/e_sinhl.c: Likewise.
29030 * math/e_sqrtl.c: Likewise.
29031 * math/fclrexcpt.c: Likewise.
29032 * math/fedisblxcpt.c: Likewise.
29033 * math/feenablxcpt.c: Likewise.
29034 * math/fegetenv.c: Likewise.
29035 * math/fegetexcept.c: Likewise.
29036 * math/fegetround.c: Likewise.
29037 * math/feholdexcpt.c: Likewise.
29038 * math/fesetenv.c: Likewise.
29039 * math/fesetround.c: Likewise.
29040 * math/feupdateenv.c: Likewise.
29041 * math/fgetexcptflg.c: Likewise.
29042 * math/fraiseexcpt.c: Likewise.
29043 * math/fsetexcptflg.c: Likewise.
29044 * math/ftestexcept.c: Likewise.
29045 * math/k_cosl.c: Likewise.
29046 * math/k_rem_pio2l.c: Likewise.
29047 * math/k_sinl.c: Likewise.
29048 * math/k_tanl.c: Likewise.
29049 * math/s_asinhl.c: Likewise.
29050 * math/s_atanl.c: Likewise.
29051 * math/s_cbrtl.c: Likewise.
29052 * math/s_erfl.c: Likewise.
29053 * math/s_expm1l.c: Likewise.
29054 * math/s_log1pl.c: Likewise.
29055 * math/s_tanhl.c: Likewise.
29056 * misc/acct.c: Likewise.
29057 * misc/brk.c: Likewise.
29058 * misc/chflags.c: Likewise.
29059 * misc/chroot.c: Likewise.
29060 * misc/fchflags.c: Likewise.
29061 * misc/fgetxattr.c: Likewise.
29062 * misc/flistxattr.c: Likewise.
29063 * misc/fremovexattr.c: Likewise.
29064 * misc/fsetxattr.c: Likewise.
29065 * misc/fsync.c: Likewise.
29066 * misc/ftruncate.c: Likewise.
29067 * misc/futimes.c: Likewise.
29068 * misc/futimesat.c: Likewise.
29069 * misc/getdomain.c: Likewise.
29070 * misc/getdtsz.c: Likewise.
29071 * misc/gethostid.c: Likewise.
29072 * misc/gethostname.c: Likewise.
29073 * misc/getloadavg.c: Likewise.
29074 * misc/getpagesize.c: Likewise.
29075 * misc/getsysstats.c: Likewise.
29076 * misc/getxattr.c: Likewise.
29077 * misc/gtty.c: Likewise.
29078 * misc/ioctl.c: Likewise.
29079 * misc/lgetxattr.c: Likewise.
29080 * misc/listxattr.c: Likewise.
29081 * misc/llistxattr.c: Likewise.
29082 * misc/lremovexattr.c: Likewise.
29083 * misc/lsetxattr.c: Likewise.
29084 * misc/lutimes.c: Likewise.
29085 * misc/madvise.c: Likewise.
29086 * misc/mincore.c: Likewise.
29087 * misc/mlock.c: Likewise.
29088 * misc/mlockall.c: Likewise.
29089 * misc/mmap.c: Likewise.
29090 * misc/mprotect.c: Likewise.
29091 * misc/msync.c: Likewise.
29092 * misc/munlock.c: Likewise.
29093 * misc/munlockall.c: Likewise.
29094 * misc/munmap.c: Likewise.
29095 * misc/preadv.c: Likewise.
29096 * misc/preadv64.c: Likewise.
29097 * misc/ptrace.c: Likewise.
29098 * misc/pwritev.c: Likewise.
29099 * misc/pwritev64.c: Likewise.
29100 * misc/readv.c: Likewise.
29101 * misc/reboot.c: Likewise.
29102 * misc/remap_file_pages.c: Likewise.
29103 * misc/removexattr.c: Likewise.
29104 * misc/revoke.c: Likewise.
29105 * misc/select.c: Likewise.
29106 * misc/setdomain.c: Likewise.
29107 * misc/setegid.c: Likewise.
29108 * misc/seteuid.c: Likewise.
29109 * misc/sethostid.c: Likewise.
29110 * misc/sethostname.c: Likewise.
29111 * misc/setregid.c: Likewise.
29112 * misc/setreuid.c: Likewise.
29113 * misc/setxattr.c: Likewise.
29114 * misc/sstk.c: Likewise.
29115 * misc/stty.c: Likewise.
29116 * misc/swapoff.c: Likewise.
29117 * misc/swapon.c: Likewise.
29118 * misc/sync.c: Likewise.
29119 * misc/syncfs.c: Likewise.
29120 * misc/syscall.c: Likewise.
29121 * misc/truncate.c: Likewise.
29122 * misc/ualarm.c: Likewise.
29123 * misc/usleep.c: Likewise.
29124 * misc/ustat.c: Likewise.
29125 * misc/utimes.c: Likewise.
29126 * misc/vhangup.c: Likewise.
29127 * misc/writev.c: Likewise.
29128 * posix/_exit.c: Likewise.
29129 * posix/alarm.c: Likewise.
29130 * posix/execve.c: Likewise.
29131 * posix/fexecve.c: Likewise.
29132 * posix/fork.c: Likewise.
29133 * posix/fpathconf.c: Likewise.
29134 * posix/getaddrinfo.c: Likewise.
29135 * posix/getegid.c: Likewise.
29136 * posix/geteuid.c: Likewise.
29137 * posix/getgid.c: Likewise.
29138 * posix/getgroups.c: Likewise.
29139 * posix/getlogin.c: Likewise.
29140 * posix/getlogin_r.c: Likewise.
29141 * posix/getpgid.c: Likewise.
29142 * posix/getpid.c: Likewise.
29143 * posix/getppid.c: Likewise.
29144 * posix/getresgid.c: Likewise.
29145 * posix/getresuid.c: Likewise.
29146 * posix/getsid.c: Likewise.
29147 * posix/getuid.c: Likewise.
29148 * posix/glob64.c: Likewise.
29149 * posix/nanosleep.c: Likewise.
29150 * posix/pathconf.c: Likewise.
29151 * posix/pause.c: Likewise.
29152 * posix/posix_madvise.c: Likewise.
29153 * posix/pread.c: Likewise.
29154 * posix/pread64.c: Likewise.
29155 * posix/pwrite.c: Likewise.
29156 * posix/pwrite64.c: Likewise.
29157 * posix/sched_getaffinity.c: Likewise.
29158 * posix/sched_getp.c: Likewise.
29159 * posix/sched_gets.c: Likewise.
29160 * posix/sched_primax.c: Likewise.
29161 * posix/sched_primin.c: Likewise.
29162 * posix/sched_rr_gi.c: Likewise.
29163 * posix/sched_setaffinity.c: Likewise.
29164 * posix/sched_setp.c: Likewise.
29165 * posix/sched_sets.c: Likewise.
29166 * posix/sched_yield.c: Likewise.
29167 * posix/setgid.c: Likewise.
29168 * posix/setlogin.c: Likewise.
29169 * posix/setpgid.c: Likewise.
29170 * posix/setresgid.c: Likewise.
29171 * posix/setresuid.c: Likewise.
29172 * posix/setsid.c: Likewise.
29173 * posix/setuid.c: Likewise.
29174 * posix/sleep.c: Likewise.
29175 * posix/spawni.c: Likewise.
29176 * posix/sysconf.c: Likewise.
29177 * posix/times.c: Likewise.
29178 * posix/wait.c: Likewise.
29179 * posix/wait3.c: Likewise.
29180 * posix/wait4.c: Likewise.
29181 * posix/waitpid.c: Likewise.
29182 * resolv/gai_sigqueue.c: Likewise.
29183 * resource/getpriority.c: Likewise.
29184 * resource/getrlimit.c: Likewise.
29185 * resource/getrusage.c: Likewise.
29186 * resource/nice.c: Likewise.
29187 * resource/setpriority.c: Likewise.
29188 * resource/setrlimit.c: Likewise.
29189 * resource/ulimit.c: Likewise.
29190 * rt/aio_cancel.c: Likewise.
29191 * rt/aio_fsync.c: Likewise.
29192 * rt/aio_read.c: Likewise.
29193 * rt/aio_sigqueue.c: Likewise.
29194 * rt/aio_suspend.c: Likewise.
29195 * rt/aio_write.c: Likewise.
29196 * rt/clock_getres.c: Likewise.
29197 * rt/clock_gettime.c: Likewise.
29198 * rt/clock_nanosleep.c: Likewise.
29199 * rt/clock_settime.c: Likewise.
29200 * rt/lio_listio.c: Likewise.
29201 * rt/mq_close.c: Likewise.
29202 * rt/mq_getattr.c: Likewise.
29203 * rt/mq_notify.c: Likewise.
29204 * rt/mq_open.c: Likewise.
29205 * rt/mq_receive.c: Likewise.
29206 * rt/mq_send.c: Likewise.
29207 * rt/mq_setattr.c: Likewise.
29208 * rt/mq_timedreceive.c: Likewise.
29209 * rt/mq_timedsend.c: Likewise.
29210 * rt/mq_unlink.c: Likewise.
29211 * rt/shm_open.c: Likewise.
29212 * rt/shm_unlink.c: Likewise.
29213 * rt/timer_create.c: Likewise.
29214 * rt/timer_delete.c: Likewise.
29215 * rt/timer_getoverr.c: Likewise.
29216 * rt/timer_gettime.c: Likewise.
29217 * rt/timer_settime.c: Likewise.
29218 * setjmp/__longjmp.c: Likewise.
29219 * setjmp/setjmp.c: Likewise.
29220 * signal/kill.c: Likewise.
29221 * signal/killpg.c: Likewise.
29222 * signal/raise.c: Likewise.
29223 * signal/sigaction.c: Likewise.
29224 * signal/sigaltstack.c: Likewise.
29225 * signal/sigblock.c: Likewise.
29226 * signal/sigignore.c: Likewise.
29227 * signal/sigintr.c: Likewise.
29228 * signal/signal.c: Likewise.
29229 * signal/sigpause.c: Likewise.
29230 * signal/sigpending.c: Likewise.
29231 * signal/sigqueue.c: Likewise.
29232 * signal/sigreturn.c: Likewise.
29233 * signal/sigset.c: Likewise.
29234 * signal/sigsetmask.c: Likewise.
29235 * signal/sigstack.c: Likewise.
29236 * signal/sigsuspend.c: Likewise.
29237 * signal/sigtimedwait.c: Likewise.
29238 * signal/sigvec.c: Likewise.
29239 * signal/sigwait.c: Likewise.
29240 * signal/sigwaitinfo.c: Likewise.
29241 * signal/sysv_signal.c: Likewise.
29242 * socket/accept.c: Likewise.
29243 * socket/accept4.c: Likewise.
29244 * socket/bind.c: Likewise.
29245 * socket/connect.c: Likewise.
29246 * socket/getpeername.c: Likewise.
29247 * socket/getsockname.c: Likewise.
29248 * socket/getsockopt.c: Likewise.
29249 * socket/isfdtype.c: Likewise.
29250 * socket/listen.c: Likewise.
29251 * socket/recv.c: Likewise.
29252 * socket/recvfrom.c: Likewise.
29253 * socket/recvmsg.c: Likewise.
29254 * socket/send.c: Likewise.
29255 * socket/sendmsg.c: Likewise.
29256 * socket/sendto.c: Likewise.
29257 * socket/setsockopt.c: Likewise.
29258 * socket/shutdown.c: Likewise.
29259 * socket/sockatmark.c: Likewise.
29260 * socket/socket.c: Likewise.
29261 * socket/socketpair.c: Likewise.
29262 * stdio-common/ctermid.c: Likewise.
29263 * stdio-common/cuserid.c: Likewise.
29264 * stdio-common/remove.c: Likewise.
29265 * stdio-common/rename.c: Likewise.
29266 * stdio-common/renameat.c: Likewise.
29267 * stdio-common/tempname.c: Likewise.
29268 * stdlib/getcontext.c: Likewise.
29269 * stdlib/makecontext.c: Likewise.
29270 * stdlib/setcontext.c: Likewise.
29271 * stdlib/swapcontext.c: Likewise.
29272 * stdlib/system.c: Likewise.
29273 * streams/fattach.c: Likewise.
29274 * streams/fdetach.c: Likewise.
29275 * streams/getmsg.c: Likewise.
29276 * streams/getpmsg.c: Likewise.
29277 * streams/putmsg.c: Likewise.
29278 * streams/putpmsg.c: Likewise.
29279 * sysdeps/unix/bsd/getpt.c: Likewise.
29280 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29281 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29282 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29285 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29286 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29287 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29288 * sysvipc/msgctl.c: Likewise.
29289 * sysvipc/msgget.c: Likewise.
29290 * sysvipc/msgrcv.c: Likewise.
29291 * sysvipc/msgsnd.c: Likewise.
29292 * sysvipc/semctl.c: Likewise.
29293 * sysvipc/semget.c: Likewise.
29294 * sysvipc/semop.c: Likewise.
29295 * sysvipc/semtimedop.c: Likewise.
29296 * sysvipc/shmat.c: Likewise.
29297 * sysvipc/shmctl.c: Likewise.
29298 * sysvipc/shmdt.c: Likewise.
29299 * sysvipc/shmget.c: Likewise.
29300 * termios/tcdrain.c: Likewise.
29301 * termios/tcflow.c: Likewise.
29302 * termios/tcflush.c: Likewise.
29303 * termios/tcgetattr.c: Likewise.
29304 * termios/tcgetpgrp.c: Likewise.
29305 * termios/tcsendbrk.c: Likewise.
29306 * termios/tcsetattr.c: Likewise.
29307 * termios/tcsetpgrp.c: Likewise.
29308 * time/adjtime.c: Likewise.
29309 * time/clock.c: Likewise.
29310 * time/getitimer.c: Likewise.
29311 * time/gettimeofday.c: Likewise.
29312 * time/setitimer.c: Likewise.
29313 * time/settimeofday.c: Likewise.
29314 * time/stime.c: Likewise.
29315 * time/time.c: Likewise.
29317 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29319 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29322 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29324 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29326 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29330 FE_TONEAREST before applying Dekker multiplication and Knuth
29331 addition. Clear inexact exceptions and check for exact zero
29332 results afterwards.
29333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29334 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29336 * math/libm-test.inc (fma_test): Add more tests.
29337 (fma_test_towardzero): Likewise.
29338 (fma_test_downward): Likewise.
29339 (fma_test_upward): Likewise.
29340 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29342 (libc_fesetround): New macro.
29343 (libc_fesetroundf): Likewise.
29344 (libc_fesetroundl): Likewise.
29345 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29347 (libc_fesetround_387): Likewise.
29348 (libc_fesetroundf): New macro.
29349 (libc_fesetround): Likewise.
29350 (libc_fesetroundl): Likewise.
29351 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29353 (libc_fesetroundf): New macro.
29354 (libc_fesetround): Likewise.
29355 (libc_fesetroundl): Likewise.
29356 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29357 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29358 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29360 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29361 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29363 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29364 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29366 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29370 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29371 integer constant usable in #if and use that to give value to enum
29373 (FE_DIVBYZERO): Likewise.
29374 (FE_UNDERFLOW): Likewise.
29375 (FE_OVERFLOW): Likewise.
29376 (FE_INVALID): Likewise.
29377 (FE_INVALID_SNAN): Likewise.
29378 (FE_INVALID_ISI): Likewise.
29379 (FE_INVALID_IDI): Likewise.
29380 (FE_INVALID_ZDZ): Likewise.
29381 (FE_INVALID_IMZ): Likewise.
29382 (FE_INVALID_COMPARE): Likewise.
29383 (FE_INVALID_SOFTWARE): Likewise.
29384 (FE_INVALID_SQRT): Likewise.
29385 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29386 (FE_TONEAREST): Likewise.
29387 (FE_TOWARDZERO): Likewise.
29388 (FE_UPWARD): Likewise.
29389 (FE_DOWNWARD): Likewise.
29390 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29391 (FE_DIVBYZERO): Likewise.
29392 (FE_OVERFLOW): Likewise.
29393 (FE_UNDERFLOW): Likewise.
29394 (FE_INEXACT): Likewise.
29395 (FE_TONEAREST): Likewise.
29396 (FE_DOWNWARD): Likewise.
29397 (FE_UPWARD): Likewise.
29398 (FE_TOWARDZERO): Likewise.
29399 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29400 (FE_UNDERFLOW): Likewise.
29401 (FE_OVERFLOW): Likewise.
29402 (FE_DIVBYZERO): Likewise.
29403 (FE_INVALID): Likewise.
29404 (FE_TONEAREST): Likewise.
29405 (FE_TOWARDZERO): Likewise.
29406 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29407 (FE_OVERFLOW): Likewise.
29408 (FE_UNDERFLOW): Likewise.
29409 (FE_DIVBYZERO): Likewise.
29410 (FE_INEXACT): Likewise.
29411 (FE_TONEAREST): Likewise.
29412 (FE_TOWARDZERO): Likewise.
29413 (FE_UPWARD): Likewise.
29414 (FE_DOWNWARD): Likewise.
29415 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29416 (FE_DIVBYZERO): Likewise.
29417 (FE_OVERFLOW): Likewise.
29418 (FE_UNDERFLOW): Likewise.
29419 (FE_INEXACT): Likewise.
29420 (FE_TONEAREST): Likewise.
29421 (FE_DOWNWARD): Likewise.
29422 (FE_UPWARD): Likewise.
29423 (FE_TOWARDZERO): Likewise.
29425 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29427 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29429 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29431 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29432 commands. Quote $PWD.
29433 (blacklist_exports): Don't use remove_newlines. Replace "declare
29435 (remove_newlines): Remove.
29437 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29439 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29440 * stdlib/stdlib.h (atof): Moved to ...
29441 * include/bits/stdlib-float.h: Here. New file.
29442 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29443 * stdlib/bits/stdlib-float.h: New file.
29444 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29449 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29451 * conform/conformtest.pl (@headers): Add fenv.h.
29452 * conform/data/fenv.h-data: New file.
29453 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29454 include of <math/fenv.h>.
29456 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29457 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29458 && !UNIX98]. Enables tests for XOPEN2K8.
29459 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29460 POSIX2008]: Likewise.
29462 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29463 (struct rusage): Do not expect type or its members.
29466 * math/math.h (FP_NAN): Define macro to integer constant usable in
29467 #if and use that to give value to enum constant.
29468 (FP_INFINITE): Likewise.
29469 (FP_ZERO): Likewise.
29470 (FP_SUBNORMAL): Likewise.
29471 (FP_NORMAL): Likewise.
29473 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29475 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29476 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29479 2012-11-02 Roland McGrath <roland@hack.frob.com>
29481 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29482 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29483 autoconf-time if not.
29484 * configure.in: Remove AC_PREREQ.
29486 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29488 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29489 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29490 of the internal implementation.
29492 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29494 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29495 except include of <misc/sys/syslog.h>.
29497 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29500 function returns with a NULL context exit with zero.
29502 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29504 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29506 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29508 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29509 (run_program_cmd): This.
29510 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29511 (tst_langinfo): New variable. Use it.
29513 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29515 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29516 floating point opcodes.
29518 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29520 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29523 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29525 * sysdeps/mach/hurd/powerpc: Remove directory.
29526 * sysdeps/mach/powerpc: Likewise.
29528 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29530 * scripts/check-local-headers.sh: Ignore c++ headers.
29532 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29534 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29535 __libc_cleanup_region_start argument.
29537 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29542 x * y using scaling, not as x * y + z.
29543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29545 * math/libm-test.inc (fma_test): Add more tests.
29546 (fma_test_towardzero): Likewise.
29547 (fma_test_downward): Likewise.
29548 (fma_test_upward): Likewise.
29550 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29552 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29554 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29556 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29559 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29561 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29563 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29570 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29573 Fix the order of the list for glibc 2.17.
29574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29577 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29581 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29585 for low part of x being zero before using __atanl (y).
29586 * math/libm-test.inc (atan2_test): Add another test.
29588 * manual/install.texi (Configuring and compiling): Document
29589 general use of test-wrapper and test-wrapper-env.
29590 * INSTALL: Regenerated.
29592 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29593 (__fma): Do not extract and scale down low bits on after-rounding
29594 systems when result rounded to normal precision would have normal
29596 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29597 (__fmal): Do not extract and scale down low bits on after-rounding
29598 systems when result rounded to normal precision would have normal
29600 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29601 (__fmal): Do not extract and scale down low bits on after-rounding
29602 systems when result rounded to normal precision would have normal
29604 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29606 (fma_test): Add more tests.
29607 (fma_test_towardzero): Likewise.
29608 (fma_test_downward): Likewise.
29609 (fma_test_upward): Likewise.
29611 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29613 * sysdeps/i386/tininess.h: Renamed to ...
29614 * sysdeps/x86/tininess.h: This.
29615 * sysdeps/x86_64/tininess.h: Removed.
29617 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29619 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29620 input. Use $(build-program-cmd).
29621 ($(objpfx)tst-array1-static.out): Likewise.
29622 ($(objpfx)tst-array2.out): Likewise.
29623 ($(objpfx)tst-array3.out): Likewise.
29624 ($(objpfx)tst-array4.out): Likewise.
29625 ($(objpfx)tst-array5.out): Likewise.
29626 ($(objpfx)tst-array5-static.out): Likewise.
29628 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29630 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29633 * nss/nsswitch.h (nss_interface_function): Provide new
29634 macro for use with NSS functions.
29635 * grp/initgroups.c: Use new macro.
29636 * nss/getXXbyYY.c: Likewise.
29637 * nss/getXXbyYY_r.c: Likewise.
29638 * nss/getXXent.c: Likewise.
29639 * nss/getXXent_r.c: Likewise.
29640 * sysdeps/posix/getaddrinfo.c: Likewise.
29642 2012-10-30 Andreas Jaeger <aj@suse.de>
29644 * po/ru.po: Update Russion translation from translation project.
29646 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29651 result and shift together with sticky bit instead of replicating
29652 round-to-nearest rounding.
29653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29655 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29656 missing underflow exceptions.
29657 (fma_test_towardzero): Add more tests.
29658 (fma_test_downward): Likewise.
29659 (fma_test_upward): Likewise.
29662 * sysdeps/generic/tininess.h: New file.
29663 * sysdeps/i386/tininess.h: Likewise.
29664 * sysdeps/sh/tininess.h: Likewise.
29665 * sysdeps/x86_64/tininess.h: Likewise.
29666 * stdlib/tst-strtod-underflow.c: Likewise.
29667 * stdlib/tst-tininess.c: Likewise.
29668 * stdlib/strtod_l.c: Include <tininess.h>.
29669 (round_and_return): Do not set errno for exact underflow cases.
29670 Force an underflow exception when setting errno for underflow.
29671 Determine underflow based on rounding to normal precision if
29672 TININESS_AFTER_ROUNDING.
29673 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29674 ERANGE for exact underflow cases.
29675 * stdlib/Makefile (tests): Add tst-tininess and
29676 tst-strtod-underflow.
29677 ($(objpfx)tst-tininess): Use $(link-libm).
29678 ($(objpfx)tst-strtod-underflow): Likewise.
29680 2012-10-30 Andreas Jaeger <aj@suse.de>
29683 * elf/Makefile (tests): Remove conditional for have-initfini-array
29684 since this is now always required and the variable does not exist
29686 (tests-static): Likewise.
29687 (modules-names): Likewise.
29689 * po/eo.po: Add Esperanto translation from translation project.
29691 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29692 merged with constructor/destructor.
29693 (init_array): Likewise.
29694 * elf/tst-array2dep.c (fini_array): Likewise.
29695 (init_array): Likewise.
29697 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29699 * manual/message.texi: Delete @cartouche tags.
29701 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29703 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29705 * sysdeps/mach/hurd/fsync.c: Likewise.
29707 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29708 [_POSIX_REALTIME_SIGNALS]: Change condition to
29709 [_POSIX_REALTIME_SIGNALS > 0].
29711 2012-10-27 Andreas Jaeger <aj@suse.de>
29713 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29714 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29716 [__WORDSIZE != 64]: Likewise.
29718 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29720 * iconvdata/tst-table.sh: Remove ${SHELL}.
29721 * iconvdata/tst-tables.sh: Likewise.
29723 2012-10-25 David S. Miller <davem@davemloft.net>
29725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29726 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29732 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29733 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29736 2012-10-25 Roland McGrath <roland@hack.frob.com>
29738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29739 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29742 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29743 Jim Blandy <jimb@codesourcery.com>
29745 * scripts/cross-test-ssh.sh: New file.
29746 * manual/install.texi (Configuring and compiling): Document use of
29748 * INSTALL: Regenerated.
29750 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29752 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29755 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29757 * Makeconfig (run-program-prefix): Fix comment.
29759 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29760 Jim Blandy <jimb@codesourcery.com>
29762 * Makeconfig (test-wrapper): New variable,
29763 (test-wrapper-env): Likewise.
29764 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29765 (run-built-tests): Define to yes.
29766 (run-program-prefix): Use $(test-wrapper).
29767 (built-program-cmd): Likewise.
29768 * Rules (make-test-out): Use $(test-wrapper-env) and
29769 $(host-built-program-cmd).
29770 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29771 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29773 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29774 $(test-wrapper-env) to tst-rtld-load-self.sh.
29775 ($(objpfx)order2.out): Use $(test-wrapper).
29776 ($(objpfx)tst-initorder.out): Likewise.
29777 ($(objpfx)tst-initorder2.out): Likewise.
29778 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29779 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29780 (test_wrapper_env): New variable. Use it to run ld.so.
29781 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29782 Use it to run ld.so.
29783 (test_wrapper_env): Likewise.
29784 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29785 $(test-wrapper) to run-iconv-test.sh.
29786 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29787 (ICONV): Use $test_wrapper.
29788 * posix/Makefile ($(objpfx)globtest.out): Pass
29789 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29790 globtest.sh, not $(run-program-prefix).
29791 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29792 (test_wrapper): Likewise.
29793 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29794 set together with run_via_rtld_prefix.
29795 (run_program_prefix): Define in terms of test_wrapper and
29796 run_via_rtld_prefix.
29798 2012-10-24 Roland McGrath <roland@hack.frob.com>
29800 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29801 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29805 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29806 Declare __clock_getres, __clock_gettime, __clock_settime,
29807 __clock_nanosleep, and __clock_getcpuclockid.
29808 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29809 Remove librt_hidden_def (clock_gettime).
29810 * sysdeps/unix/clock_gettime.c: Likewise.
29811 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29812 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29813 * rt/clock_getres.c: Define __clock_getres as an alias.
29814 * sysdeps/posix/clock_getres.c: Likewise.
29815 * rt/clock_settime.c: Define __clock_settime as an alias.
29816 * sysdeps/unix/clock_settime.c: Likewise.
29817 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29818 * sysdeps/unix/clock_nanosleep.c: Likewise.
29819 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29820 * rt/clock-compat.c: New file.
29821 * rt/Makefile (librt-routines): Add clock-compat and move
29822 $(clock-routines) to ...
29823 (routines): ... here, new variable.
29824 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29825 Don't add get_clockfreq here.
29826 * rt/Versions (libc: GLIBC_2.17): New version set.
29827 Add clock_* symbols here.
29828 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29830 (GLIBC_2.17): Add clock_* symbols.
29831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29842 * NEWS: Mention the move.
29844 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29845 Use __open, __read, __close rather than their public counterparts.
29846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29847 (__get_clockfreq_via_cpuinfo): Likewise.
29848 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29849 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29851 * config.h.in (HAVE_IFUNC): New #undef.
29852 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29854 * configure: Regenerated.
29856 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29858 * configure.in: Move READELF check to start of file.
29859 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29860 libc_cv_asm_gnu_indirect_function in the process.
29861 * configure: Regenerated.
29863 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29865 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29866 send the output to /dev/null.
29867 (libc_cv_cc_with_libunwind): Likewise.
29868 (libc_cv_as_noexecstack): Likewise.
29869 * configure: Regenerate.
29871 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29873 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29875 * posix/globtest.sh (TMPDIR): Do not set.
29876 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29877 (testout): Likewise.
29879 2012-10-24 Andreas Jaeger <aj@suse.de>
29881 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29882 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29883 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29884 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29885 posix_fadvise64, posix_fallocate64.
29887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29888 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29889 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29891 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29893 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29896 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29897 <bits/fcntl-linux.h>.
29898 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29901 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29902 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29903 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29904 [__WORDSIZE != 64]: Likewise.
29906 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29908 * Makeconfig (run-built-tests): New variable.
29909 * Rules [$(cross-compiling) = yes]: Change condition to
29910 [$(run-built-tests) = no].
29911 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29912 to [$(run-built-tests) = yes].
29913 * elf/Makefile [$(cross-compiling) = no]: Likewise
29914 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29915 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29916 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29917 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29918 * io/Makefile [$(cross-compiling) = no]: Likewise.
29919 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29920 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29921 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29922 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29923 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29924 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29925 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29926 * string/Makefile [$(cross-compiling) = no]: Likewise.
29928 * posix/Makefile ($(objpfx)globtest.out): Pass
29929 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29930 $(rtld-installed-name).
29931 * posix/globtest.sh (elf_objpfx): Remove variable.
29932 (rtld_installed_name): Likewise.
29933 (library_path): Likewise.
29934 (run_program_prefix): New variable. Use for running globtest
29937 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29938 Joseph Myers <joseph@codesourcery.com>
29940 * Makeconfig (host-built-program-cmd): New variable.
29941 * elf/Makefile (tst-stackguard1-ARGS): Use
29942 $(host-built-program-cmd).
29943 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29944 (tst-spawn-ARGS): Likewise.
29945 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29947 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29948 Jim Blandy <jimb@codesourcery.com>
29950 * Makeconfig (run-via-rtld-prefix): New variable.
29951 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29952 (built-program-cmd): Likewise.
29954 2012-10-22 Andreas Jaeger <aj@suse.de>
29956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29957 __O_RSYNC if it exists, otherwise to O_SYNC.
29959 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29960 Joseph Myers <joseph@codesourcery.com>
29962 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29964 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29966 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29969 2012-10-22 Andreas Jaeger <aj@suse.de>
29971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29976 bits/fcntl-linux.h.
29978 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29979 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29986 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29987 Joseph Myers <joseph@codesourcery.com>
29989 * config.make.in (NM): New variable.
29991 2012-10-21 Andreas Jaeger <aj@suse.de>
29993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29994 definitions and declarations that are provided by
29995 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29997 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30000 * elf/Makefile (tests-static): Add tst-leaks1-static.
30001 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30002 ($(objpfx)tst-leaks1-static): New rule.
30003 ($(objpfx)tst-leaks1-static-mem): Likewise.
30004 (tst-leaks1-static-ENV): New macro.
30005 * elf/dl-open.c (dl_open_worker): Check the main application
30006 only if SHARED is defined.
30007 * elf/tst-leaks1-static.c: New file.
30009 2012-10-20 Andreas Jaeger <aj@suse.de>
30011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30012 generic values for Linux.
30013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30014 and declarations that are provided by <bits/fcntl-linux.h> and
30015 include <bits/fcntl-linux.h>.
30016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30017 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30019 2012-10-20 Roland McGrath <roland@hack.frob.com>
30021 * io/fcntl.h: Move include of <bits/types.h> to the top and
30022 include it unconditionally.
30024 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30026 * wcsmbs/Makefile (tests-ifunc): New variable.
30027 (tests): Add $(tests-ifunc).
30028 * wcsmbs/test-wcschr-ifunc.c: New file.
30029 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30030 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30031 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30032 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30033 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30035 * string/Makefile (tests-ifunc): New variable.
30036 (tests): Add $(tests-ifunc).
30037 * string/test-memccpy.c (TEST_NAME): New macro.
30038 * string/test-memchr.c (TEST_NAME): Likewise.
30039 * string/test-memcmp.c (TEST_NAME): Likewise.
30040 * string/test-memcpy.c (TEST_NAME): Likewise.
30041 * string/test-memmem.c (TEST_NAME): Likewise.
30042 * string/test-memmove.c (TEST_NAME): Likewise.
30043 * string/test-memset.c (TEST_NAME): Likewise.
30044 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30045 * string/test-stpcpy.c (TEST_NAME): Likewise.
30046 * string/test-stpncpy.c (TEST_NAME): Likewise.
30047 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30048 * string/test-strcasestr.c (TEST_NAME): Likewise.
30049 * string/test-strcat.c (TEST_NAME): Likewise.
30050 * string/test-strchr.c (TEST_NAME): Likewise.
30051 * string/test-strcmp.c(TEST_NAME): Likewise.
30052 * string/test-strcpy.c (TEST_NAME): Likewise.
30053 * string/test-strcspn.c (TEST_NAME): Likewise.
30054 * string/test-strlen.c (TEST_NAME): Likewise.
30055 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30056 * string/test-strncmp.c (TEST_NAME): Likewise.
30057 * string/test-strncpy.c (TEST_NAME): Likewise.
30058 * string/test-strnlen.c (TEST_NAME): Likewise.
30059 * string/test-strpbrk.c (TEST_NAME): Likewise.
30060 * string/test-strrchr.c (TEST_NAME): Likewise.
30061 * string/test-strspn.c (TEST_NAME): Likewise.
30062 * string/test-strstr.c (TEST_NAME): Likewise.
30063 * string/test-bcopy-ifunc.c: New file.
30064 * string/test-bzero-ifunc.c: Likewise.
30065 * string/test-memccpy-ifunc.c: Likewise.
30066 * string/test-memchr-ifunc.c: Likewise.
30067 * string/test-memcmp-ifunc.c: Likewise.
30068 * string/test-memcpy-ifunc.c: Likewise.
30069 * string/test-memmem-ifunc.c: Likewise.
30070 * string/test-memmove-ifunc.c: Likewise.
30071 * string/test-mempcpy-ifunc.c: Likewise.
30072 * string/test-memset-ifunc.c: Likewise.
30073 * string/test-rawmemchr-ifunc.c: Likewise.
30074 * string/test-stpcpy-ifunc.c: Likewise.
30075 * string/test-stpncpy-ifunc.c: Likewise.
30076 * string/test-strcasecmp-ifunc.c: Likewise.
30077 * string/test-strcasestr-ifunc.c: Likewise.
30078 * string/test-strcat-ifunc.c: Likewise.
30079 * string/test-strchr-ifunc.c: Likewise.
30080 * string/test-strchrnul-ifunc.c: Likewise.
30081 * string/test-strcmp-ifunc.c: Likewise.
30082 * string/test-strcpy-ifunc.c: Likewise.
30083 * string/test-strcspn-ifunc.c: Likewise.
30084 * string/test-strlen-ifunc.c: Likewise.
30085 * string/test-strncasecmp-ifunc.c: Likewise.
30086 * string/test-strncat-ifunc.c: Likewise.
30087 * string/test-strncmp-ifunc.c: Likewise.
30088 * string/test-strncpy-ifunc.c: Likewise.
30089 * string/test-strnlen-ifunc.c: Likewise.
30090 * string/test-strpbrk-ifunc.c: Likewise.
30091 * string/test-strrchr-ifunc.c: Likewise.
30092 * string/test-strspn-ifunc.c: Likewise.
30093 * string/test-strstr-ifunc.c: Likewise.
30095 * debug/Makefile (tests-ifunc): New variable.
30096 (tests): Add $(tests-ifunc).
30097 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30098 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30099 * debug/test-stpcpy_chk-ifunc.c: New file.
30100 * debug/test-strcpy_chk-ifunc.c: Likewise.
30102 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30105 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30106 header is not read in.
30108 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30110 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30111 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30112 directly. Pass built executable to script as
30113 $(built-program-cmd).
30114 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30115 $testprogram without using LD_LIBRARY_PATH and $ldso.
30117 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30118 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30119 $(rtld-installed-name).
30120 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30121 (rtld_installed_name): Likewise.
30122 (library_path): Likewise.
30123 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30124 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30125 $(run-program-prefix) to tst-tables.sh.
30126 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30127 it to run tst-table-from and tst-table-to.
30128 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30129 Pass it to tst-table.sh.
30130 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30131 $(run-program-prefix) to tst-gettext.sh.
30132 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30134 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30136 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30137 to run tst-gettext.
30138 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30139 to run tst-gettext2.
30140 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30141 to run tst-translit.
30142 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30143 $(run-program-prefix) to tst-mtrace.sh.
30144 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30146 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30147 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30148 $(rtld-installed-name).
30149 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30150 (rtld_installed_name): Likewise.
30151 (run_program_prefix): New variable. Use it to run wordexp-test.
30153 * Makeconfig (ARCH): Remove all definitions.
30154 (machine): Likewise.
30155 [ARCH]: Remove conditional code.
30156 [!objdir]: Give error.
30157 [!objdir] (objpfx): Remove.
30158 [!objdir] (common-objpfx): Likewise.
30159 [!objdir] (common-objdir): Likewise.
30160 * configure.in (config_makefile): Remove. Hardcode Makefile in
30161 AC_CONFIG_FILES call.
30162 * configure: Regenerated.
30165 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30167 (testout): Likewise.
30169 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30170 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30171 $(rtld-installed-name).
30172 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30173 (rtld_installed_name): Likwise.
30174 (runit): Remove function.
30175 (run_getconf): New variable, Use it for running getconf binary.
30177 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30180 * string/test-memmem.c (check_result): New function.
30181 (do_one_test): Use it.
30182 (check1): New function.
30183 (test_main): Use it.
30185 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30187 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30189 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30191 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30192 (_G_LSEEK64): Likewise.
30193 (_G_MMAP64): Likewise.
30194 (_G_FSTAT64): Likewise.
30195 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30196 (_G_LSEEK64): Likewise.
30197 (_G_MMAP64): Likewise.
30198 (_G_FSTAT64): Likewise.
30199 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30200 unconditional. Call __mmap64 directly.
30201 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30202 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30203 __lseek64 directly.
30204 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30205 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30207 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30208 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30209 __lseek64 directly.
30210 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30211 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30212 __lseek64 directly.
30213 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30214 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30215 __lseek64 directly.
30216 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30217 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30218 __fxstat64 directly.
30219 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30220 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30222 (freopen64) [!_G_OPEN64]: Remove conditional code.
30223 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30225 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30226 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30228 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30229 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30231 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30232 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30234 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30235 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30237 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30238 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30240 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30241 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30243 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30245 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30248 * manual/memory.texi (Malloc Tunable Parameters): Add note
30249 about free list pointers overwriting some perturb bytes.
30250 Wording suggested by Roland McGrath.
30252 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30254 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30255 (lgamma_test): Likewise.
30256 (tgamma_test): Likewise.
30258 2012-10-16 Florian Weimer <fweimer@redhat.com>
30261 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30262 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30264 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30266 * NEWS: Mention BZ #14716.
30267 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30268 when removing AVAILABLE1_USES_J macro.
30270 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30272 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30273 (__bswap_64): __uint64_t for unsigned 64-bit int.
30275 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30277 * include/string.h (memmem): Declare libc hidden alias.
30278 * string/memmem.c (memmem): Define libc hidden alias.
30279 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30280 __read, __close instead of open, read, close.
30282 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30285 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30287 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30288 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30289 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30291 (__rawmemchr_sse2): Likewise.
30292 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30293 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30294 (__strchr_sse2): Likewise.
30295 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30296 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30297 (__strcasecmp_sse2): Likewise.
30298 (__strncasecmp_sse2): Likewise.
30299 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30300 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30301 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30302 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30303 (__strrchr_sse2): Likewise.
30304 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30306 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30307 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30308 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30309 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30310 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30312 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30313 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30314 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30315 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30316 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30318 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30319 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30320 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30321 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30322 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30323 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30324 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30325 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30326 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30327 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30328 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30329 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30330 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30331 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30332 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30333 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30334 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30335 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30339 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30340 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30341 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30342 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30344 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30346 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30347 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30348 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30349 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30351 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30353 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30354 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30355 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30360 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30361 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30362 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30363 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30364 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30365 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30366 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30367 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30368 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30369 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30370 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30371 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30372 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30373 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30374 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30375 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30376 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30377 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30378 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30380 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30381 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30382 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30383 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30384 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30385 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30386 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30387 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30388 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30393 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30394 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30395 * include/ifunc-impl-list.h: New file.
30396 * misc/ifunc-impl-list.c: Likewise.
30397 * misc/Makefile (routines): Add ifunc-impl-list.
30398 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30399 * string/test-string.h: Include <ifunc-impl-list.h>.
30400 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30401 TEST_NAME]: New variables.
30402 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30404 (test_init): Call __libc_ifunc_impl_list to initialize
30405 func_list if TEST_IFUNC and TEST_NAME are defined.
30407 * string/Makefile (strop-tests): Add bcopy and bzero.
30408 * string/test-bcopy.c: New file.
30409 * string/test-bzero.c: Likewise.
30410 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30412 * string/test-memset.c: Support bzero test if TEST_BZERO is
30414 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30416 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30418 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30421 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30423 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30424 * configure: Regenerated.
30426 * Makeconfig (+link-static-before-libc): Don't include
30427 $(link-static-libc).
30429 * libio/libio.h (_IO_pos_t): Remove.
30431 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30433 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30436 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30438 * crypt/crypt-entry.c: Include fips-private.h.
30439 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30440 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30441 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30442 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30444 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30446 * crypt/crypt-private.h: Include stdbool.h.
30447 (_ufc_setup_salt_r): Return bool.
30448 * crypt/crypt-entry.c: Include errno.h.
30449 (__crypt_r): Return NULL with EINVAL for bad salt.
30450 * crypt/crypt_util.c (bad_for_salt): New.
30451 (_ufc_setup_salt_r): Check that salt is long enough and within
30452 the specified alphabet.
30453 * crypt/badsalttest.c: New file.
30454 * crypt/Makefile (tests): Add it.
30455 ($(objpfx)badsalttest): New.
30457 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30459 * NEWS: Add entry for BZ #14602.
30461 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30463 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30465 * math/libm-test.inc: Update comment listing what functions and
30467 (isgreater_test): New function.
30468 (isgreaterequal_test): Likewise.
30469 (isless_test): Likewise.
30470 (islessequal_test): Likewise.
30471 (islessgreater_test): Likewise.
30472 (isunordered_test): Likewise.
30473 (main): Call the new functions.
30475 2012-10-09 Roland McGrath <roland@hack.frob.com>
30477 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30478 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30479 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30480 * sysdeps/i386/configure: Regenerated.
30481 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30482 * sysdeps/mach/configure: Regenerated.
30483 * sysdeps/mach/hurd/configure: Regenerated.
30484 * sysdeps/powerpc/configure: Regenerated.
30485 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30486 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30487 * sysdeps/s390/s390-32/configure: Regenerated.
30488 * sysdeps/s390/s390-64/configure: Regenerated.
30489 * sysdeps/sh/configure: Regenerated.
30490 * sysdeps/sparc/configure: Regenerated.
30491 * sysdeps/unix/sysv/linux/configure: Regenerated.
30492 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30493 * sysdeps/x86_64/configure: Regenerated.
30495 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30496 defined. Don't check if MAP is NULL.
30498 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30500 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30501 (_G_stat64): Likewise.
30502 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30503 (_G_stat64): Likewise.
30504 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30505 instead of struct _G_stat64.
30506 * libio/fileops.c (mmap_remap_check): Likewise.
30507 (decide_maybe_mmap): Likewise.
30508 (_IO_new_file_seekoff): Likewise.
30509 (_IO_file_stat): Likewise.
30510 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30512 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30513 instead of struct _G_stat64.
30514 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30516 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30519 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30521 (CHECK_EOL): New macro.
30522 (two_way_short_needle): Check beginning of haystack for EOL. Use
30524 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30525 Replace with CHECK_EOL.
30526 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30527 Replace with CHECK_EOL.
30529 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30531 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30533 * math/libm-test.inc: Update comment listing what functions and
30535 (finite_test): New function.
30536 (isinf_test): Likewise.
30537 (isnan_test): Likewise.
30538 (fpclassify_test): Test subnormal input.
30539 (isfinite_test): Likewise.
30540 (isnormal_test): Likewise.
30541 (main): Call the new functions.
30543 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30546 * Makerules (%.dynsym): Force C locale when running
30547 $(OBJDUMP) --dynamic-syms.
30549 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30551 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30554 2012-10-06 David S. Miller <davem@davemloft.net>
30556 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30557 upper 32-bits of the length value in %o2 since we use branch-on-register
30558 tests which consider the entire 64-bit register.
30560 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30562 * string/test-strstr.c (check2): Add a test for page boundary.
30564 2012-10-05 David S. Miller <davem@davemloft.net>
30566 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30567 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30569 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30571 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30572 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30573 and bzero when HWCAP_SPARC_CRYPTO is present.
30575 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30578 * string/test-strstr.c (check2): New function.
30579 (test_main): Call check2.
30581 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30583 * string/bug-strcasestr1.c (do_test): Moved to ...
30584 * string/test-strcasestr.c (check1): Here. New function.
30585 (do_one_test): Break out result checking code into ...
30586 (check_result): This. New function.
30587 (do_one_test): Call check_result.
30588 (test_main): Call check1.
30589 * string/bug-strchr1.c (do_test): Moved to ...
30590 * string/test-strchr.c (check1): Here. New function.
30591 (do_one_test): Break out result checking code into ...
30592 (check_result): This. New function.
30593 (do_one_test): Call check_result.
30594 (test_main): Call check1.
30595 * string/bug-strstr1.c (main): Moved to ...
30596 * string/test-strstr.c (check1): Here. New function.
30597 (do_one_test): Break out result checking code into ...
30598 (check_result): This. New function.
30599 (do_one_test): Call check_result.
30600 (test_main): Call check1.
30601 * string/bug-strcasestr1.c: Removed.
30602 * string/bug-strchr1.c: Likewise.
30603 * string/bug-strstr1.c: Likewise.
30605 * elf/Makefile (dl-routines): Add hwcaps.
30606 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30607 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30608 (_dl_important_hwcaps): Moved to ...
30609 * elf/dl-hwcaps.c: Here. New file.
30610 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30613 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30614 if IS_IN_rtld isn't defined.
30616 * elf/dl-support.c (_dl_sysinfo_map): New.
30617 Include "get-dynamic-info.h" and "setup-vdso.h".
30618 (_dl_non_dynamic_init): Call setup_vdso.
30619 * elf/dynamic-link.h: Don't include <assert.h>.
30620 (elf_get_dynamic_info): Moved to ...
30621 * elf/get-dynamic-info.h: Here. New file.
30622 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30623 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30624 * elf/setup-vdso.h: Here. New file.
30625 * elf/rtld.c: Include "setup-vdso.h".
30626 (dl_main): Call setup_vdso.
30628 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30630 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30631 creal in comment listing functions tested. List finite, isinf,
30632 isnan, isless, islessequal, isgreater, isgreaterequal,
30633 islessgreater, isunordered, lgamma_r and pow10 as functions and
30634 macros not tested. Mention which functions not tested are aliases
30635 for other functions. Fix typo. Note that signs of NaNs are not
30638 * scripts/config.guess: Update from config.git.
30639 * scripts/config.sub: Likewise.
30641 2012-10-04 Roland McGrath <roland@hack.frob.com>
30643 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30644 * misc/madvise.c (madvise): Renamed to __madvise.
30645 Make madvise a weak alias.
30646 * include/sys/mman.h: Declare __madvise.
30647 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30648 * sysdeps/unix/syscalls.list
30649 (madvise): Make __madvise the strong name, and madvise a weak alias.
30650 * sysdeps/unix/sysv/linux/syscalls.list
30651 (madvise, mmap): Remove redundant entries.
30652 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30653 * malloc/malloc.c (mtrim): Likewise.
30654 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30656 2012-10-03 Roland McGrath <roland@hack.frob.com>
30658 * sysdeps/mach/hurd/dl-cache.c: File removed.
30659 * config.h.in (USE_LDCONFIG): New #undef.
30660 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30661 * configure: Regenerated.
30662 * elf/Makefile (dl-routines): Add dl-cache only under
30663 [$(use-ldconfig) = yes].
30664 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30665 cache on [USE_LDCONFIG].
30666 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30668 * elf/rtld.c (dl_main): Likewise.
30670 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30672 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30673 _SC_LEVEL4_CACHE_LINESIZE.
30675 2012-10-03 Roland McGrath <roland@hack.frob.com>
30677 * sysdeps/unix/bsd/confstr.h: File removed.
30679 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30681 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30684 2012-10-02 Roland McGrath <roland@hack.frob.com>
30686 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30687 Make 'mapoff' field ElfW(Off) rather than off_t.
30689 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30691 * nscd/Makefile: Remove nscd-cflags and all its users.
30692 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30693 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30696 * malloc.c (malloc_printerr): Clarify error message.
30698 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30702 Set bit_FMA_Usable if FMA is supported.
30703 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30705 (bit_FMA4_Usable): Updated.
30706 (index_FMA_Usable): New macro.
30707 (CPUID_FMA): Likewise
30708 (HAS_FMA): Defined with bit_FMA_Usable.
30710 2012-10-01 Roland McGrath <roland@hack.frob.com>
30712 * bits/types.h (__swblk_t): Type removed.
30713 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30714 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30716 (__SWBLK_T_TYPE): Likewise.
30717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30718 (__SWBLK_T_TYPE): Likewise.
30719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30720 (__SWBLK_T_TYPE): Likewise.
30721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30722 (__SWBLK_T_TYPE): Likewise.
30724 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30725 Honza Horak <hhorak@redhat.com>
30727 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30728 (xdr_mapname): Use YPMAXMAP as maxsize.
30729 (xdr_peername): Use YPMAXPEER as maxsize.
30730 (xdr_keydat): Use YPAXRECORD as maxsize.
30731 (xdr_valdat): Use YPMAXRECORD as maxsize.
30733 2012-10-01 Roland McGrath <roland@hack.frob.com>
30735 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30737 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30738 * csu/init-first.c: ... here.
30739 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30740 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30741 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30742 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30743 * sysdeps/i386/init-first.c: File removed.
30744 * sysdeps/sh/init-first.c: File removed.
30746 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30750 if x * y might underflow to zero and z is zero.
30751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30753 * math/libm-test.inc (min_subnorm_value): New variable.
30754 (fma_test): Add more tests.
30755 (fma_test_towardzero): Likewise.
30756 (fma_test_downward): Likewise
30757 (fma_test_upward): Likewise.
30758 (initialize): Set min_subnorm_value.
30760 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30766 mode for addition resulting in exact zero.
30767 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30770 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30771 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30772 * math/libm-test.inc (fma_test): Add more tests.
30773 (fma_test_towardzero): New function.
30774 (fma_test_downward): Likewise.
30775 (fma_test_upward): Likewise.
30776 (main): Call the new functions.
30778 2012-09-28 David S. Miller <davem@davemloft.net>
30780 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30782 2012-09-28 Roland McGrath <roland@hack.frob.com>
30784 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30785 instead of SIGALRM.
30787 * sysdeps/gnu/_G_config.h: Moved to ...
30788 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30789 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30790 * sysdeps/generic/_G_config.h: ... here.
30792 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30794 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30796 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30797 Conditionalize target on [libnss_test1.so-version].
30799 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30801 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30802 (elfobjdir): Move out of conditionals.
30804 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30805 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30806 (__nss_lookup_function): Conditionalize label remove_from_tree on
30807 [!DO_STATIC_NSS || SHARED], matching its only use.
30809 2012-09-28 David S. Miller <davem@davemloft.net>
30811 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30812 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30814 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30816 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30818 when HWCAP_SPARC_CRYPTO is present.
30820 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30822 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30824 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30827 * stdio-common/vfprintf.c (process_string_arg): Revert
30830 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30832 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30834 * stdio-common/tst-sprintf.c: Include <locale.h>
30835 (main): Test sprintf's handling of incomplete multibyte
30838 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30840 * elf/dl-runtime.c (VERSYMIDX): Removed.
30841 * elf/dl-version.c (VERSYMIDX): Likewise.
30842 * elf/do-rel.h (VERSYMIDX): Likewise.
30843 (VALIDX): Likewise.
30844 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30845 * elf/rtld.c (VALIDX): Likewise.
30846 (ADDRIDX): Likewise.
30847 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30848 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30849 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30850 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30851 (VALIDX): Likewise.
30852 (ADDRIDX): Likewise.
30854 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30856 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30858 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30861 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30863 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30864 addresses are in the same scope as 192.0.2/24.
30865 * posix/gai.conf: Document new scope table defaults.
30867 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30870 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30871 for ftell. Compute offsets from write pointers instead.
30872 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30874 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30877 * libio/Makefile (tests): New test case tst-fseek.
30878 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30879 combination works in wide mode.
30880 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30881 state when the external buffer state changes.
30883 2012-09-27 David S. Miller <davem@davemloft.net>
30886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30887 pass reloc->r_addend in as the 'high' argument to
30888 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30892 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30894 * rt/tst-aio2.c: Include <pthread.h>.
30895 * rt/tst-aio3.c: Likewise.
30897 2012-09-27 Steve Ellcey <sellcey@mips.com>
30899 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30901 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30903 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30904 contents on [SHARED].
30906 2012-09-26 Marek Polacek <polacek@redhat.com>
30910 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30911 for C++ and GCC <4.3 as well as for non GCC compilers.
30913 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30917 2012-09-25 Roland McGrath <roland@hack.frob.com>
30919 * Makefile.in (all, install): Declare with .PHONY.
30920 Reported by Michael Hope <michael.hope@linaro.org>.
30922 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30924 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30925 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30927 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30929 (sydep_routines): Add the new and the internal functions.
30930 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30931 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30933 (GLIBC_2.17): Add the new function.
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30935 (GLIBC_2.17): Likewise.
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30937 (GLIBC_2.17): Likewise.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30939 (GLIBC_2.17): Likewise.
30940 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30942 2012-09-25 Alan Modra <amodra@gmail.com>
30944 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30945 Add release barrier before setting once_control to say
30946 initialisation is done. Add hints on lwarx. Use macro in
30948 (clear_once_control): Add release barrier.
30950 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30953 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30955 * math/s_clog10.c (__clog10): Likewise.
30956 * math/s_clog10f.c (__clog10f): Likewise.
30957 * math/s_clog10l.c (__clog10l): Likewise.
30958 * math/s_clogf.c (__clogf): Likewise.
30959 * math/s_clogl.c (__clogl): Likewise.
30960 * math/Makefile (libm-calls): Add x2y2m1.
30961 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30962 (__x2y2m1): Likewise.
30963 (__x2y2m1l): Likewise.
30964 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30965 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30969 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30970 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30971 * sysdeps/i386/fpu/libm-test-ulps: Update.
30972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30975 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30976 int as type of variable DEPTH.
30977 (glob): Use size_t instead of int as type of variables NEWCOUNT
30980 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30982 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30983 Add s_sincosf-sse2.
30984 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30985 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30986 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30987 macros for using routine as __sincosf_ia32.
30988 Use macro for function declaration and weak_alias.
30989 * sysdeps/i386/fpu/libm-test-ulps: Update.
30991 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30994 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30995 subnormal argument.
30996 * math/s_cexpf.c (__cexpf): Likewise.
30997 * math/s_csinf.c (__csinf): Likewise.
30998 * math/s_csinhf.c (__csinhf): Likewise.
30999 * math/s_ctanf.c (__ctanf): Likewise.
31000 * math/s_ctanhf.c (__ctanhf): Likewise.
31001 * math/s_ccosh.c (__ccoshf): Likewise.
31002 * math/s_cexp.c (__cexpl): Likewise.
31003 * math/s_csin.c (__csin): Likewise.
31004 * math/s_csinh.c (__csinh): Likewise.
31005 * math/s_ctan.c (__ctan): Likewise.
31006 * math/s_ctanh.c (ctanh): Likewise.
31007 * math/s_ccoshl.c (__ccoshl): Likewise.
31008 * math/s_cexpl.c (__cexpl): Likewise.
31009 * math/s_csinl.c (__csinl): Likewise.
31010 * math/s_csinhl.c (__csinhl): Likewise.
31011 * math/s_ctanl.c (__ctanl): Likewise.
31012 * math/s_ctanhl.c (__ctanhl): Likewise.
31014 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31016 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31017 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31018 (_IO_off_t): Define to __off_t, not _G_off_t.
31019 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31020 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31021 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31022 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31023 type of __dummy and __dummy2 fields.
31024 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31025 (_G_ssize_t): Likewise.
31026 (_G_off_t): Likewise.
31027 (_G_pid_t): Likewise.
31028 (_G_uid_t): Likewise.
31029 (_G_wchar_t): Likewise.
31030 (_G_wint_t): Likewise.
31031 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31032 (_G_ssize_t): Likewise.
31033 (_G_off_t): Likewise.
31034 (_G_pid_t): Likewise.
31035 (_G_uid_t): Likewise.
31036 (_G_wchar_t): Likewise.
31037 (_G_wint_t): Likewise.
31038 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31039 (_G_ssize_t): Likewise.
31040 (_G_off_t): Likewise.
31041 (_G_pid_t): Likewise.
31042 (_G_uid_t): Likewise.
31043 (_G_wchar_t): Likewise.
31044 (_G_wint_t): Likewise.
31046 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31048 * malloc/arena.c: Include malloc-sysdep.h.
31049 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31050 is sufficient to shrink the heap or an unmap is needed.
31051 * sysdeps/generic/malloc-sysdep.h: New file. Define
31052 new function check_may_shrink_heap.
31053 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31054 new function check_may_shrink_heap.
31056 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31058 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31061 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31063 * catgets/test-gencat.sh: Add "set -e".
31064 * elf/tst-pathopt.sh: Likewise.
31065 * grp/tst_fgetgrent.sh: Likewise.
31066 * iconvdata/run-iconv-test.sh: Likewise.
31067 * intl/tst-gettext.sh: Likewise.
31068 * intl/tst-gettext2.sh: Likewise.
31069 * intl/tst-gettext4.sh: Likewise.
31070 * intl/tst-gettext6.sh: Likewise.
31071 * intl/tst-translit.sh: Likewise.
31072 * io/ftwtest-sh: Likewise.
31073 * libio/test-freopen.sh: Likewise.
31074 * malloc/tst-mtrace.sh: Likewise.
31075 * posix/globtest.sh: Likewise.
31076 * posix/tst-getconf.sh: Likewise.
31077 * posix/wordexp-tst.sh: Likewise.
31078 * stdio-common/tst-printf.sh: Likewise.
31079 * stdio-common/tst-unbputc.sh: Likewise.
31080 * stdlib/tst-fmtmsg.sh: Likewise.
31081 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31082 * catgets/Makefile: Do not specify -e option when running
31083 testsuite shell scripts.
31084 * elf/Makefile: Likewise.
31085 * grp/Makefile: Likewise.
31086 * iconvdata/Makefile: Likewise.
31087 * intl/Makefile: Likewise.
31088 * io/Makefile: Likewise.
31089 * libio/Makefile: Likewise.
31090 * malloc/Makefile: Likewise.
31091 * posix/Makefile: Likewise.
31092 * stdio-common/Makefile: Likewise.
31093 * stdlib/Makefile: Likewise.
31094 * sysdeps/x86_64/Makefile: Likewise.
31096 * io/ftwtest-sh: Add copyright header.
31097 * posix/globtest.sh: Likewise.
31098 * posix/tst-getconf.sh: Likewise.
31099 * posix/wordexp-tst.sh: Likewise.
31100 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31102 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31105 * Makeconfig (+link): Defined as $(+link-static) if
31106 $(build-shared) isn't yes.
31107 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31109 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31111 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31114 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31115 new chunk size with MALLOC_ALIGN_MASK.
31117 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31120 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31122 (__printf_fphex): Determine rounding using get_rounding_mode and
31124 * stdio-common/tst-printf-round.c (struct hex_test): New
31126 (hex_tests): New variable.
31127 (test_hex_in_one_mode): New function.
31128 (do_test): Also run tests for hex float output.
31130 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31132 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31133 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31134 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31135 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31136 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31137 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31138 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31141 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31143 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31144 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31145 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31146 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31148 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31151 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31153 * elf/tst-rtld-load-self.sh: New test.
31154 * elf/Makefile: Run it.
31156 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31159 (tst-writev-ENV): Remove.
31160 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31162 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31164 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31166 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31168 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31170 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31172 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31173 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31174 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31177 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31180 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31181 * config.make.in (have-cpp-asm-debuginfo): Removed.
31182 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31183 * configure: Regenerated.
31185 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31188 * stdio-common/printf_fp.c: Include <stdbool.h> and
31190 (___printf_fp): Determine rounding using get_rounding_mode and
31192 * stdio-common/tst-printf-round.c: New file.
31193 * stdio-common/Makefile (tests): Add tst-printf-round.
31194 (link-libm): New variable.
31195 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31197 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31200 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31201 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31203 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31206 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31208 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31209 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31210 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31211 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31213 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31216 * include/rounding-mode.h: New file.
31217 * sysdeps/generic/get-rounding-mode.h: Likewise.
31218 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31219 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31220 (MAX_VALUE): New macro.
31221 (MIN_VALUE): Likewise.
31222 (overflow_value): New function.
31223 (underflow_value): Likewise.
31224 (round_and_return): Use overflow_value and underflow_value to
31225 determine return values in overflow and underflow cases. Use
31226 round_away to determine rounding depending on rounding mode.
31227 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31228 determine return values in overflow and underflow cases.
31229 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31230 (struct test_results): New structure.
31231 (struct test): Use struct test_results to store expected results
31232 for all rounding modes.
31233 (TEST): Include expected results for all rounding modes.
31234 (test_in_one_mode): New function.
31235 (do_test): Use test_in_one_mode to compute and check results.
31236 Check results for all rounding modes.
31237 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31240 2012-12-09 Allan McRae <allan@archlinux.org>
31242 * sysdeps/i386/fpu/libm-test-ulps: Update
31244 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31246 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31247 (_G_int32_t): Likewise.
31248 (_G_uint16_t): Likewise.
31249 (_G_uint32_t): Likewise.
31250 (_G_HAVE_BOOL): Likewise.
31251 (_G_HAVE_ATEXIT): Likewise.
31252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31253 (_G_HAVE_IO_FILE_OPEN): Likewise.
31254 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31255 (_G_int32_t): Likewise.
31256 (_G_uint16_t): Likewise.
31257 (_G_uint32_t): Likewise.
31258 (_G_HAVE_BOOL): Likewise.
31259 (_G_HAVE_ATEXIT): Likewise.
31260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31261 (_G_HAVE_IO_FILE_OPEN): Likewise.
31262 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31263 (_G_int32_t): Likewise.
31264 (_G_uint16_t): Likewise.
31265 (_G_uint32_t): Likewise.
31266 (_G_HAVE_BOOL): Likewise.
31267 (_G_HAVE_ATEXIT): Likewise.
31268 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31269 (_G_HAVE_IO_FILE_OPEN): Likewise.
31271 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31273 * csu/libc-tls.c: Update copyright years.
31275 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31277 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31278 [!_G_USING_THUNKS]: Remove conditional code.
31279 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31280 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31282 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31283 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31284 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31285 (_G_VTABLE_LABEL_PREFIX): Likewise.
31286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31287 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31289 (_G_VTABLE_LABEL_PREFIX): Likewise.
31290 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31291 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31292 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31293 (_G_VTABLE_LABEL_PREFIX): Likewise.
31294 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31296 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31298 * libio/Makefile: Include ../Makeconfig before tests.
31299 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31300 only if $(build-shared) is yes.
31302 * iconv/gconv_db.c: Update copyright years.
31304 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31306 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31307 unwind info if defined PIC. Fix special cases description.
31308 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31310 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31312 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31314 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31316 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31318 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31321 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31322 (LDLIBS-tst-chk4): This.
31323 (LDFLAGS-tst-chk5): Renamed to ...
31324 (LDLIBS-tst-chk5): This.
31325 (LDFLAGS-tst-chk6): Renamed to ...
31326 (LDLIBS-tst-chk6): This.
31327 (LDFLAGS-tst-lfschk4): Renamed to ...
31328 (LDLIBS-tst-lfschk4): This.
31329 (LDFLAGS-tst-lfschk5): Renamed to ...
31330 (LDLIBS-tst-lfschk5): This.
31331 (LDFLAGS-tst-lfschk6): Renamed to ...
31332 (LDLIBS-tst-lfschk6): This.
31334 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31335 on $(common-objpfx)soversions.mk.
31337 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31340 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31343 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31345 * malloc/arena.c (arena_get_retry): New function that gets
31346 another arena for the caller to try its request on.
31347 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31348 current arena cannot fulfill the request.
31349 (__libc_memalign): Likewise.
31350 (__libc_memalign): Likewise.
31351 (__libc_pvalloc): Likewise.
31352 (__libc_calloc): Likewise.
31354 2012-09-05 John Tobey <john.tobey@gmail.com>
31357 * manual/arith.texi (Operations on Complex): Fix description
31358 of carg branch cut.
31360 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31363 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31367 * manual/memory.texi (Memory): Make order of menu items match
31370 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31372 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31373 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31374 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31376 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31378 * csu/libc-tls.c (static_dtv): Renamed to ...
31379 (_dl_static_dtv): This. Make it global.
31380 (_dl_initial_dtv): Removed.
31381 (__libc_setup_tls): Updated.
31382 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31383 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31386 2012-09-06 Petr Machata <pmachata@redhat.com>
31388 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31389 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31390 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31391 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31393 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31396 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31397 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31403 * Makeconfig (link-static-before-libc): Replace $(+prector)
31405 (link-static-after-libc): Replace $(+postctor) with
31407 (link-bounded): Replace $(+prector)/$(+postctor) with
31408 $(+prectorT)/$(+postctorT).
31409 (+prectorT): New macro.
31410 (+postctorT): Likewise.
31412 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31414 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31415 (round_str): Handle values above the maximum for IBM long double
31417 * stdlib/tst-strtod-round.c (tests): Regenerated.
31419 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31421 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31423 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31424 zarch_nohighgprs around the zarch optimized routines.
31425 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31426 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31427 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31430 2012-09-05 David S. Miller <davem@davemloft.net>
31432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31434 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31435 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31436 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31437 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31440 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31442 * malloc/arena.c: Fold copyright years.
31443 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31447 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31449 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31451 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31453 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31455 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31456 change internal state upon failure.
31458 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31460 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31461 * malloc/memusage.c (mmap): Likewise.
31462 (mmap64, mremap): Likewise. Adjust name in comment.
31464 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31466 * libio/fileops.c: Fix typos in comments.
31467 * libio/oldfileops.c: Likewise.
31468 * libio/wfileops.c: Likewise.
31470 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31473 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31474 (tst-malloc-usable-ENV): Set environment for test case.
31475 * malloc/hooks.c (malloc_check_get_size): New function to get
31477 * malloc/malloc.c (musable): Use malloc_check_get_size.
31478 * malloc/tst-malloc-usable.c: New test case.
31480 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31482 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31484 2012-09-05 Allan McRae <allan@archlinux.org>
31487 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31488 determine header location.
31489 * configure: Regenerated.
31491 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31493 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31495 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31496 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31498 (test): Regenerate.
31500 2012-09-04 David S. Miller <davem@davemloft.net>
31502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31504 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31506 2012-09-04 Florian Weimer <fweimer@redhat.com>
31508 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31511 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31513 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31516 * libio/iogetdelim.c: Include <limits.h>.
31517 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31518 + len + 1 would overflow.
31520 2012-09-03 Andreas Jaeger <aj@suse.de>
31522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31523 * sysdeps/i386/fpu/libm-test-ulps: Update.
31525 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31527 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31528 Add s_sinf-sse2, s_conf-sse2.
31530 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31531 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31532 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31533 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31535 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31536 for using routine as __sinf_ia32.
31537 Use macro for function declaration and weak_alias.
31538 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31539 for using routine as __cosf_ia32.
31540 Use macro for function declaration and weak_alias.
31542 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31543 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31545 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31546 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31549 * math/libm-test.inc (cos_test): Add more test cases.
31550 (sin_test): Likewise.
31551 (sincos_test): Likewise.
31553 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31555 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31556 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31558 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31560 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31563 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31564 first element of the GOT.
31565 (elf_machine_load_address): Return the difference between
31566 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31568 2012-09-01 Allan McRae <allan@archlinux.org>
31571 * configure.in (AWK): Require gawk version 3.0 or later.
31572 * configure: Regenerated.
31574 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31576 * sysdeps/unix/sysv/linux/kernel-features.h
31577 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31579 [__NR_clock_getres]: Make code unconditional.
31580 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31581 (clock_getcpuclockid): Remove code left unreachable by removal of
31583 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31584 code unconditional.
31585 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31587 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31588 Make code unconditional.
31589 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31590 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31591 * sysdeps/unix/sysv/linux/clock_settime.c
31592 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31594 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31595 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31597 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31600 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31601 scripts/test-installation.pl.
31603 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31604 and $ld_so_version if it is set.
31606 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31609 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31610 failure if reading from procfs failed.
31611 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31613 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31615 * sysdeps/unix/sysv/linux/kernel-features.h
31616 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31617 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31618 Remove conditional code.
31619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31620 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31621 Remove conditional code.
31622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31623 * sysdeps/unix/sysv/linux/i386/fxstat.c
31624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31626 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31627 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31629 * sysdeps/unix/sysv/linux/i386/lxstat.c
31630 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31632 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31633 Remove conditional code.
31634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31635 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31636 Remove conditional code.
31637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31638 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31639 <kernel-features.h>.
31640 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31642 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31643 Remove conditional code.
31644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31645 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31646 Remove conditional.
31648 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31651 * NEWS: Add fixed bug number.
31653 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31656 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31657 underflowing exponent in case of negative sign.
31658 * stdlib/tst-strtod-round-data: Add more tests.
31659 * stdlib/tst-strtod-round.c (tests): Regenerated.
31662 * stdlib/strtod_l.c (NDIG): Remove.
31663 (HEXNDIG): Likewise.
31664 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31665 smallest representable value.
31666 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31667 lie within an exact representation of 1/2 ulp of the result.
31668 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31670 (TENS_P9_IDX): Define unconditionally.
31671 (TENS_P9_SIZE): Likewise.
31672 (TENS_P10_IDX): Likewise.
31673 (TENS_P10_SIZE): Likewise.
31674 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31675 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31676 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31677 entries for 10^2^13 and 10^2^14.
31678 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31679 (TENS_P13_IDX): Define.
31680 (TENS_P13_SIZE): Likewise.
31681 (TENS_P14_IDX): Likewise.
31682 (TENS_P14_SIZE): Likewise.
31683 (_fpioconst_pow10): Change array size to
31684 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31686 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31687 1024]: Add entries for 10^2^13 and 10^2^14.
31688 [LAST_POW10 > _LAST_POW10]: Remove #error.
31689 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31690 (_fpioconst_pow10): Change array size to
31691 FPIOCONST_POW10_ARRAY_SIZE.
31692 * stdlib/gen-fpioconst.c: New file.
31693 * stdlib/gen-tst-strtod-round.c: Likewise.
31694 * stdlib/tst-strtod-round-data: Likewise.
31695 * stdlib/tst-strtod-round.c: Likewise.
31696 * stdlib/Makefile (tests): Add tst-strtod-round.
31699 * stdlib/strtod_l.c: Include <stdint.h>.
31700 (NDEBUG): Do not define.
31701 (round_and_return): Change EXPONENT parameter to type intmax_t.
31702 Rearrange calculations to avoid internal overflow possibilities.
31703 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31704 Rearrange calculations to avoid internal overflow possibilities.
31705 Assert that number fits inside MPNSIZE limbs.
31706 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31707 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31708 calculations and add assertions to avoid internal overflow
31709 possibilities. Add casts to avoid signed/unsigned operations.
31710 * stdlib/tst-strtod-overflow.c: New file.
31711 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31713 2012-08-25 Marek Polacek <polacek@redhat.com>
31715 * time/time.h: Fix some typos in comments.
31717 2012-08-23 Roland McGrath <roland@hack.frob.com>
31719 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31720 * posix/tst-rfc3484-2.c: Likewise.
31721 * posix/tst-rfc3484-3.c: Likewise.
31723 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31725 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31726 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31728 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31730 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31731 #include of fxstatat64.c.
31733 2012-08-22 Roland McGrath <roland@hack.frob.com>
31735 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31736 * shadow/getspent_r.c: Likewise.
31737 * shadow/getspnam.c: Likewise.
31738 * shadow/getspnam_r.c: Likewise.
31739 * gshadow/getsgent.c: Likewise.
31740 * gshadow/getsgent_r.c: Likewise.
31741 * gshadow/getsgnam.c: Likewise.
31742 * gshadow/getsgnam_r.c: Likewise.
31743 * inet/getnetbyad.c: Likewise.
31744 * inet/getnetbyad_r.c: Likewise.
31745 * inet/getnetbynm.c: Likewise.
31746 * inet/getnetbynm_r.c: Likewise.
31747 * inet/getnetent.c: Likewise.
31748 * inet/getnetent_r.c: Likewise.
31749 * inet/getproto.c: Likewise.
31750 * inet/getproto_r.c: Likewise.
31751 * inet/getprtent.c: Likewise.
31752 * inet/getprtent_r.c: Likewise.
31753 * inet/getprtname.c: Likewise.
31754 * inet/getprtname_r.c: Likewise.
31755 * inet/getrpcbyname.c: Likewise.
31756 * inet/getrpcbyname_r.c: Likewise.
31757 * inet/getrpcbynumber.c: Likewise.
31758 * inet/getrpcbynumber_r.c: Likewise.
31759 * inet/getrpcent.c: Likewise.
31760 * inet/getrpcent_r.c: Likewise.
31761 * inet/getaliasent.c: Likewise.
31762 * inet/getaliasent_r.c: Likewise.
31763 * inet/getaliasname.c: Likewise.
31764 * inet/getaliasname_r.c: Likewise.
31765 * nscd/getgrgid_r.c: Likewise.
31766 * nscd/getgrnam_r.c: Likewise.
31767 * nscd/gethstbyad_r.c: Likewise.
31768 * nscd/gethstbynm3_r.c: Likewise.
31769 * nscd/getpwnam_r.c: Likewise.
31770 * nscd/getpwuid_r.c: Likewise.
31771 * nscd/getsrvbynm_r.c: Likewise.
31772 * nscd/getsrvbypt_r.c: Likewise.
31773 * nscd/gai.c: Likewise.
31775 * configure.in (build_nscd): New substituted variable, set
31776 by --disable-build-nscd and defaults to $use_nscd.
31777 * configure: Regenerated.
31778 * config.make.in (build-nscd): New substituted variable.
31779 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31780 Change conditional to require [$(build-nscd) = yes] as well.
31781 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31784 * configure.in (use_nscd): New substituted variable, set by
31785 --disable-nscd. If enabled, define USE_NSCD.
31786 * configure: Regenerated.
31787 * config.h.in: Add USE_NSCD.
31788 * config.make.in (use-nscd): New substituted variable.
31789 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31790 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31791 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31792 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31793 (CFLAGS-getgrnam_r.c): Likewise.
31794 (CFLAGS-initgroups.c): Likewise.
31795 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31796 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31798 * inet/getnetgrent_r.c
31799 (nscd_setnetgrent): New function, broken out of ...
31800 (setnetgrent): ... here. Call it.
31801 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31802 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31803 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31804 * nscd/Makefile (routines, aux): Move definitions after include of
31805 Makeconfig. Conditionalize on [$(use-nscd) != no].
31806 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31807 Conditionalize on [USE_NSCD].
31808 (is_nscd, nscd_init_cb): Likewise.
31809 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31810 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31811 * nss/nss_db/db-init.c: Likewise.
31812 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31814 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31815 (make_request): Use it.
31816 (cache_valid_p): New function.
31817 (__check_pf): Use it.
31818 * NEWS: Add item for --disable-nscd.
31820 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31822 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31823 to support sed >= 4.2.1-20-ga9bf076.
31824 * configure: Regenerated.
31826 2012-08-22 Roland McGrath <roland@hack.frob.com>
31828 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31829 Conditionalize whole body on [IREL].
31831 2012-08-22 Jeff Law <law@redhat.com>
31834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31835 if the family is PF_UNSPEC.
31837 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31839 * Makerules (lib-version): Rename from V.
31840 (install-lib-nosubdir): Change V to lib-version.
31842 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31845 * powerpc32/power6/wcschr.c: New file.
31846 * powerpc32/power6/wcscpy.c: New file.
31847 * powerpc32/power6/wcsrchr.c: New file.
31848 * powerpc64/power6/wcschr.c: New file.
31849 * powerpc64/power6/wcscpy.c: New file.
31850 * powerpc64/power6/wcsrchr.c: New file.
31852 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31854 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31855 (two_way_short_needle): Use it.
31856 * string/strstr.c (AVAILABLE1_USES_J): Define.
31857 * string/strcasestr.c: Likewise.
31859 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31861 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31864 * NEWS: Add an entry.
31865 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31866 define their defaults.
31867 (two_way_short_needle): Detect end-of-string on-the-fly.
31868 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31869 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31870 * string/bug-strcasestr1.c: New test.
31871 * string/Makefile: Run it.
31873 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31876 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31877 the first character.
31879 2012-08-21 Roland McGrath <roland@hack.frob.com>
31881 * csu/elf-init.c (__libc_csu_irel): Function removed.
31882 * csu/libc-start.c (apply_irel): New function.
31883 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31885 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31887 * sysdeps/unix/sysv/linux/kernel-features.h
31888 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31889 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31890 <kernel-features.h>.
31891 [__NR_fadvise64_64]: Make code unconditional.
31892 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31893 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31894 !__NR_fadvise64_64)]: Likewise.
31895 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31896 !__NR_fadvise64_64))]: Likewise.
31897 [__NR_fadvise64]: Make code unconditional.
31898 [!__NR_fadvise64]: Remove conditional code.
31899 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31900 <kernel-features.h>.
31901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31906 not include <kernel-features.h>.
31907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31911 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31912 include <kernel-features.h>.
31913 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31915 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31918 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31920 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31921 slight instruction rearrangements per scrollpipe analysis.
31922 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31924 2012-08-20 Roland McGrath <roland@hack.frob.com>
31926 * manual/syslog.texi (syslog; vsyslog, closelog):
31927 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31928 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31930 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31931 DSOCAPS to match condition on defining it.
31933 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31935 * sysdeps/unix/sysv/linux/kernel-features.h
31936 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31941 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31942 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31944 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31945 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31947 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31948 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31950 * sysdeps/unix/sysv/linux/kernel-features.h
31951 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31952 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31954 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31955 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31956 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31957 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31958 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31959 Make code unconditional.
31960 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31961 (__mmap64) [!__NR_mmap2]: Likewise.
31962 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31963 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31964 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31965 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31966 [__NR_mmap2]: Make code unconditional.
31967 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31968 (__mmap64) [!__NR_mmap2]: Likewise.
31970 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31972 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31974 2012-08-18 Andreas Jaeger <aj@suse.de>
31976 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31978 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31980 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31981 * include/unistd.h (__have_sock_cloexec): Likewise.
31982 (__have_pipe2): Likewise.
31983 (__have_dup3): Likewise.
31985 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31988 * include/unistd.h (__have_pipe2): Change define into an extern int.
31989 (__have_dup3): Likewise.
31990 * socket/have_sock_cloexec.c: Include fcntl.h.
31991 (__have_pipe2): New variable.
31992 (__have_dup3): Likewise.
31994 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31996 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31998 2012-08-17 Marek Polacek <polacek@redhat.com>
32000 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32001 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32003 2012-08-17 Roland McGrath <roland@hack.frob.com>
32005 * configure.in: Add AC_SUBST for sysheaders.
32006 * configure: Regenerated.
32007 * config.make.in (sysheaders): New substituted variable.
32009 * sysdeps/unix/mkfifo.c: Moved ...
32010 * sysdeps/posix/mkfifo.c: ... here.
32011 * sysdeps/unix/mkfifoat.c: Moved ...
32012 * sysdeps/posix/mkfifoat.c: ... here.
32014 * sysdeps/unix/utime.c: Moved ...
32015 * sysdeps/posix/utime.c: ... here.
32017 * sysdeps/unix/time.c: Moved ...
32018 * sysdeps/posix/time.c: ... here.
32019 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32020 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32022 * sysdeps/unix/nice.c: Moved ...
32023 * sysdeps/posix/nice.c: ... here.
32025 * sysdeps/unix/alarm.c: Moved ...
32026 * sysdeps/posix/alarm.c: ... here.
32028 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32030 2012-08-17 Jeff Law <law@redhat.com>
32032 * intl/Makefile (codeset_mo): New variable.
32033 ($(codeset_mo)): New target.
32034 (tst-codeset.out): Depend on that. Remove explicit rule.
32035 (tst-gettext3.out, tst-gettext5.out): Likewise.
32036 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32037 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32038 * intl/tst-codeset.sh: Remove.
32039 * intl/tst-gettext3.sh: Likewise.
32040 * intl/tst-gettext5.sh: Likewise.
32042 2012-08-17 Roland McGrath <roland@hack.frob.com>
32044 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32045 * sysdeps/unix/syscalls.list: ... here.
32047 * sysdeps/posix/getaddrinfo.c
32048 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32049 (gaiconf_init, gaiconf_reload): Use them.
32050 [!_STATBUF_ST_NSEC]
32051 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32052 Define using time_t rather than struct timespec.
32054 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32055 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32057 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32059 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32060 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32063 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32064 __libc_cleanup_push argument.
32066 * bits/param.h: New file.
32067 * misc/sys/param.h: New file.
32068 * include/sys/param.h: New file.
32069 * misc/Makefile (headers): Add bits/param.h.
32070 * sysdeps/generic/sys/param.h: File removed.
32071 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32072 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32073 * sysdeps/mach/hurd/bits/param.h: New file.
32074 * sysdeps/mach/hurd/sys/param.h: File removed.
32076 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32079 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32081 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32082 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32085 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32086 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32087 rather than -D_IO_MTSAFE_IO conditionally.
32088 * stdio-common/Makefile (CPPFLAGS): Likewise.
32089 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32090 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32091 Use $(libio-mtsafe).
32092 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32093 of -D_IO_MTSAFE_IO.
32094 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32095 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32096 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32097 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32098 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32099 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32100 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32101 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32102 (CFLAGS-fread_u_chk.c): Likewise.
32103 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32104 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32105 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32106 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32107 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32108 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32109 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32110 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32111 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32113 * libio/Makefile: Test [$(libc-reentrant) = yes]
32114 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32117 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32118 * sysdeps/pthread/configure: File removed.
32119 * sysdeps/pthread/Makeconfig: New file.
32120 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32121 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32123 2012-08-16 Gary Benson <gbenson@redhat.com>
32125 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32126 unmapping the first object in a namespace.
32128 2012-08-16 Roland McGrath <roland@hack.frob.com>
32130 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32131 (__internal_setnetgrent): ... this. Add internal_function to
32132 definition. Add libc_hidden_def.
32133 (setnetgrent): Update caller.
32134 (internal_endnetgrent): Renamed to ...
32135 (__internal_endnetgrent): ... this. Add internal_function to
32136 definition. Add libc_hidden_def.
32137 (endnetgrent): Update caller.
32138 (internal_getnetgrent_r): Renamed to ...
32139 (__internal_getnetgrent_r): ... this. Add internal_function to
32140 definition. Add libc_hidden_def.
32141 (__getnetgrent_r): Update caller.
32142 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32144 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32146 * stdlib/longlong.h: Update from GCC.
32148 2012-08-16 Roland McGrath <roland@hack.frob.com>
32150 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32151 on _QL, which is set by umul_ppmm but never used.
32152 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32153 variables, which are set by GMP macros but never used.
32154 * stdio-common/_itowa.c (_itowa): Likewise.
32155 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32156 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32158 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32160 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32161 struct La_sh_regs is not constant.
32162 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32163 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32164 and struct La_sparc64_regs are not constant.
32166 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32168 * sysdeps/unix/sysv/linux/kernel-features.h
32169 (__ASSUME_POSIX_TIMERS): Remove.
32170 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32172 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32173 Make code unconditional.
32174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32175 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32176 Make code unconditional.
32177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32178 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32179 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32181 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32182 Make code unconditional.
32183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32184 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32185 (__libc_missing_posix_timers): Remove.
32187 2012-08-15 Roland McGrath <roland@hack.frob.com>
32189 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32190 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32192 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32194 * elf/dl-sym.c: Include <stdlib.h>.
32196 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32197 constants, which avoids warnings in 32-bit builds.
32199 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32200 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32202 * misc/lseek.c: File moved to ...
32203 * io/lseek.c: ... here.
32205 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32207 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32208 shifting LEN more than 31 bits at once.
32210 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32213 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32214 segmentation fault for a case of two empty input strings.
32215 * string/test-strncasecmp.c (check1): Renamed to...
32216 (bz12205): ...this.
32217 (bz14195): Add new testcase for two empty input strings and N > 0.
32218 (test_main): Call new testcase, adapt for renamed function.
32220 2012-08-15 Andreas Jaeger <aj@suse.de>
32223 * crypt/md5test2.c: New test, based on test supplied by Serge
32224 Belyshev <belyshev@depni.sinp.msu.ru>.
32225 * crypt/Makefile (xtests): Add md5test-giant..
32226 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32228 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32231 * crypt/md5.c (md5_process_block): Don't assume the buffer
32232 length is less than 2**32.
32233 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32234 length is less than 2**64.
32236 2012-08-15 Roland McGrath <roland@hack.frob.com>
32238 * string/str-two-way.h: Include <sys/param.h>.
32239 (MAX): Macro removed.
32241 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32242 Move #define and #undef of memmove to just before and after
32243 including <string.h>.
32245 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32246 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32247 and after including <string.h>. Move declarations of
32248 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32249 to before #include "string/memmove.c".
32251 * include/dirent.h: Declare __getdirentries.
32253 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32254 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32256 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32258 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32259 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32260 * sysdeps/i386/configure: Regenerated.
32261 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32262 STABS_CURRENT_FILE, and STABS_FUN.
32263 (END): Remove call to STABS_FUN_END.
32264 (STABS_CURRENT_FILE1): Delete.
32265 (STABS_CURRENT_FILE): Likewise.
32266 (STABS_FUN): Likewise.
32267 (STABS_FUN_END): Likewise.
32268 (STABS_FUN2): Likewise.
32269 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32270 * sysdeps/x86_64/configure: Regenerated.
32272 2012-08-14 Roland McGrath <roland@hack.frob.com>
32274 * elf/dl-open.c: Include <atomic.h>.
32275 * elf/dl-lookup.c: Likewise.
32277 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32279 * sysdeps/unix/sysv/linux/kernel-features.h
32280 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32281 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32283 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32285 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32286 condition on __ASSUME_CLONE_THREAD_FLAGS.
32288 2012-08-14 Andreas Jaeger <aj@suse.de>
32290 * sysdeps/i386/fpu/libm-test-ulps: Update.
32292 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32294 * include/atomic.h (atomic_exchange_and_add): Split into ...
32295 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32298 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32302 2012-08-13 Jeff Law <law@redhat.com>
32304 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32305 null byte in the output string.
32307 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32309 * sysdeps/unix/sysv/linux/kernel-features.h
32310 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32311 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32312 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32313 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32314 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32315 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32316 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32318 2012-08-09 Jeff Law <law@redhat.com>
32321 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32322 When avoid_arena is set, don't retry in the that arena. Pick the
32323 next one, whatever it might be.
32324 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32325 (arena_lock): Pass in new parameter to arena_get2.
32326 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32328 (__libc_malloc): Unify retrying after main arena failure with
32329 __libc_memalign version.
32330 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32332 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32335 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32336 to __redirect_strstr.
32337 (__strstr_sse42): Use typeof __redirect_strstr.
32338 (__strstr_ia32): Likewise.
32339 (__libc_strstr): New prototype.
32340 (strstr): Renamed to ...
32341 (__libc_strstr): This.
32342 (strstr): New strong alias of __libc_strstr.
32343 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32347 (__libc_time): New prototype.
32348 (time_ifunc): Replace time with __libc_time.
32349 (time): New strong alias and hidden definition of __libc_time.
32350 (__GI_time): Remove strong alias.
32351 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32352 Include <stddef.h>.
32353 (memmove): Redefined to __redirect_memmove.
32354 (__memmove_sse2): Use typeof __redirect_memmove.
32355 (__memmove_ssse3): Likewise.
32356 (__memmove_ssse3_back): Likewise.
32357 (__libc_memmove): New prototype.
32358 (memmove): Renamed to ...
32359 (__libc_memmove): This.
32360 (memmove): New strong alias of __libc_memmove.
32362 2012-08-08 Mark Salter <msalter@redhat.com>
32365 (R_MN10300_TLS_GD): Define.
32366 (R_MN10300_TLS_LD): Likewise.
32367 (R_MN10300_TLS_LDO): Likewise.
32368 (R_MN10300_TLS_GOTIE): Likewise.
32369 (R_MN10300_TLS_IE): Likewise.
32370 (R_MN10300_TLS_LE): Likewise.
32371 (R_MN10300_TLS_DTPMOD): Likewise.
32372 (R_MN10300_TLS_DTPOFF): Likewise.
32373 (R_MN10300_TLS_TPOFF): Likewise.
32374 (R_MN10300_SYM_DIFF): Likewise.
32375 (R_MN10300_ALIGN): Likewise.
32376 (R_MN10300_NUM): Update.
32378 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32383 2012-08-08 Roland McGrath <roland@hack.frob.com>
32385 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32387 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32388 sysdeps/unix -> sysdeps/posix move.
32389 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32391 2012-08-07 Allan McRae <allan@archlinux.org>
32394 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32395 (SUNOS_CPP): Likewise.
32396 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32398 (open_input): Call CPP using execvp.
32400 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32402 * sysdeps/unix/sysv/linux/kernel-features.h
32403 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32404 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32405 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32406 (__ASSUME_WAITID_SYSCALL): Likewise.
32407 * sysdeps/unix/sysv/linux/dl-execstack.c
32408 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32409 code unconditional.
32410 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32412 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32413 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32414 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32416 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32418 [__ASSUME_WAITID_SYSCALL]: Likewise.
32419 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32421 2012-08-07 Roland McGrath <roland@hack.frob.com>
32423 * sysdeps/unix/closedir.c: Renamed to ...
32424 * sysdeps/posix/closedir.c: ... here.
32425 * sysdeps/unix/dirfd.c: Renamed to ...
32426 * sysdeps/posix/dirfd.c: ... here.
32427 * sysdeps/unix/dirstream.h: Renamed to ...
32428 * sysdeps/posix/dirstream.h: ... here.
32429 * sysdeps/unix/fdopendir.c: Renamed to ...
32430 * sysdeps/posix/fdopendir.c: ... here.
32431 * sysdeps/unix/opendir.c: Renamed to ...
32432 * sysdeps/posix/opendir.c: ... here.
32433 * sysdeps/unix/readdir.c: Renamed to ...
32434 * sysdeps/posix/readdir.c: ... here.
32435 * sysdeps/unix/readdir_r.c: Renamed to ...
32436 * sysdeps/posix/readdir_r.c: ... here.
32437 * sysdeps/unix/rewinddir.c: Renamed to ...
32438 * sysdeps/posix/rewinddir.c: ... here.
32439 * sysdeps/unix/seekdir.c: Renamed to ...
32440 * sysdeps/posix/seekdir.c: ... here.
32441 * sysdeps/unix/telldir.c: Renamed to ...
32442 * sysdeps/posix/telldir.c: ... here.
32443 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32444 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32445 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32446 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32448 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32449 * bits/fcntl.h: ... here.
32451 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32453 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32454 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32455 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32456 (struct flock): Move l_start, l_len to the beginning.
32457 Use __pid_t for l_pid.
32458 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32459 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32460 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32461 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32462 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32463 [__USE_LARGEFILE64] (struct flock64): New type.
32464 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32466 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32467 * bits/dirent.h: ... here.
32469 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32470 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32472 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32475 Change from 2.6.0 to 2.6.16.
32476 * sysdeps/unix/sysv/linux/configure: Regenerated.
32477 * sysdeps/unix/sysv/linux/kernel-features.h
32478 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32479 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32481 (__ASSUME_UTIMES): Likewise.
32482 (__ASSUME_CLONE_STOPPED): Remove.
32483 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32484 architectures, not kernel version.
32485 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32486 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32487 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32488 (__ASSUME_WAITID_SYSCALL): Likewise.
32489 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32490 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32491 * README: State 2.6.16 as minimum Linux kernel version. Do not
32492 refer to older versions.
32494 2012-08-06 Roland McGrath <roland@hack.frob.com>
32496 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32497 Define alphasort64 as an alias.
32498 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32499 Define versionsort64 as an alias.
32500 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32501 Define scandir64 as an alias.
32502 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32503 Define scandirat64 as an alias.
32504 * dirent/alphasort64.c (alphasort64):
32505 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32506 * dirent/versionsort64.c: Likewise.
32507 * dirent/scandir64.c: Likewise.
32508 * dirent/scandirat64.c: Likewise.
32509 * sysdeps/wordsize-64/alphasort.c: File removed.
32510 * sysdeps/wordsize-64/alphasort64.c: File removed.
32511 * sysdeps/wordsize-64/scandir.c: File removed.
32512 * sysdeps/wordsize-64/scandir64.c: File removed.
32513 * sysdeps/wordsize-64/scandirat.c: File removed.
32514 * sysdeps/wordsize-64/scandirat64.c: File removed.
32515 * sysdeps/wordsize-64/versionsort.c: File removed.
32516 * sysdeps/wordsize-64/versionsort64.c: File removed.
32517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32526 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32528 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32530 [defined __arch64__ || defined __sparcv9]
32531 (__INO_T_MATCHES_INO64_T): New macro.
32532 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32533 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32534 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32535 * sysdeps/unix/sysv/linux/bits/dirent.h
32536 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32537 (_DIRENT_MATCHES_DIRENT64): New macro.
32539 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32540 Define lockf64 as an alias.
32541 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32542 Define fseeko64 as an alias.
32543 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32544 Define ftello64 as an alias.
32545 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32546 Define _IO_fgetpos64 and fgetpos64 as aliases.
32547 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32548 Define _IO_fsetpos64 and fsetpos64 as aliases.
32549 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32550 Conditionalize body on this.
32551 * libio/fseeko64.c: Likewise.
32552 * libio/ftello64.c: Likewise.
32553 * libio/iofgetpos64.c: Likewise.
32554 * libio/iofsetpos64.c: Likewise.
32555 * sysdeps/wordsize-64/lockf.c: File removed.
32556 * sysdeps/wordsize-64/lockf64.c: File removed.
32557 * sysdeps/wordsize-64/fseeko.c: File removed.
32558 * sysdeps/wordsize-64/fseeko64.c: File removed.
32559 * sysdeps/wordsize-64/ftello.c: File removed.
32560 * sysdeps/wordsize-64/ftello64.c: File removed.
32561 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32562 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32563 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32564 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32568 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32570 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32572 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32574 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32576 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32578 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32580 [defined __arch64__ || defined __sparcv9]
32581 (__OFF_T_MATCHES_OFF64_T): New macro.
32582 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32583 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32585 (__OFF_T_MATCHES_OFF64_T): New macro.
32587 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32589 * stdlib/secure-getenv.c (__secure_getenv): Replace
32590 GLIBC_2_16 with GLIBC_2_17.
32592 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32595 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32597 2012-08-03 David S. Miller <davem@davemloft.net>
32599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32601 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32605 (__ASSUME_CORRECT_SI_PID): Likewise.
32606 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32607 (__ASSUME_TMPFS_NAME): Likewise.
32608 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32609 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32610 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32611 (HAVE_AUX_SECURE): Make definition unconditional.
32612 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32613 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32615 2012-08-03 Roland McGrath <roland@hack.frob.com>
32617 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32618 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32619 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32620 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32621 __eloop_threshold instead of SYMLOOP_MAX.
32623 * sysdeps/generic/eloop-threshold.h: New file.
32624 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32626 * elf/chroot_canon.c (chroot_canon): Likewise.
32628 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32632 Change to 2.6.0 everywhere.
32633 * sysdeps/unix/sysv/linux/configure: Regenerated.
32634 * sysdeps/unix/sysv/linux/kernel-features.h
32635 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32636 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32638 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32639 (__ASSUME_FUTEX_REQUEUE): Remove.
32640 (__ASSUME_STATFS64): Define unconditionally.
32641 (__ASSUME_AT_SECURE): Likewise.
32642 (__ASSUME_CORRECT_SI_PID): Likewise.
32643 (__ASSUME_TGKILL): Define without depending on kernel version for
32645 (__ASSUME_UTIMES): Likewise.
32646 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32648 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32649 (__ASSUME_TMPFS_NAME): Likewise.
32650 * README: Update reference to Linux kernel versions.
32652 2012-08-02 Marek Polacek <polacek@redhat.com>
32655 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32656 libc_cv_asm_type_prefix with %.
32657 * configure: Regenerated.
32658 * include/libc-symbols.h: Remove comment about
32659 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32660 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32661 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32662 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32663 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32664 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32665 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32666 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32667 * elf/tst-unique2mod1.c: Likewise.
32668 * elf/tst-unique1mod2.c: Likewise.
32669 * elf/tst-unique1mod1.c: Likewise.
32670 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32671 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32672 Replace ASM_TYPE_DIRECTIVE with .type.
32673 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32674 * sysdeps/i386/sysdep.h: Likewise.
32675 * sysdeps/x86_64/sysdep.h: Likewise.
32676 * sysdeps/sh/sysdep.h: Likewise.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32678 Do not define ASM_TYPE_DIRECTIVE.
32679 * sysdeps/powerpc/sysdep.h: Likewise.
32680 * sysdeps/powerpc/powerpc32/sysdep.h:
32681 Replace ASM_TYPE_DIRECTIVE with .type.
32682 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32683 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32684 * sysdeps/i386/fpu/e_powf.S: Likewise.
32685 * sysdeps/i386/fpu/e_expl.S: Likewise.
32686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32688 * sysdeps/i386/fpu/e_pow.S: Likewise.
32689 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32690 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32691 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32692 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32693 * sysdeps/i386/fpu/e_log2.S: Likewise.
32694 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32695 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32696 * sysdeps/i386/fpu/e_powl.S: Likewise.
32697 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32698 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32699 * sysdeps/i386/fpu/e_logl.S: Likewise.
32700 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32701 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32702 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32703 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32704 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32705 * sysdeps/i386/fpu/e_log.S: Likewise.
32706 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32707 * sysdeps/i386/fpu/e_logf.S: Likewise.
32708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32710 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32711 * sysdeps/i386/fpu/e_log10.S: Likewise.
32712 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32713 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32714 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32715 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32716 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32717 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32718 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32719 * sysdeps/i386/i686/strtok.S: Likewise.
32720 * sysdeps/i386/i386-mcount.S: Likewise.
32721 * sysdeps/i386/strtok.S: Likewise.
32722 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32723 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32726 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32727 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32728 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32729 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32730 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32731 * sysdeps/x86_64/_mcount.S: Likewise.
32732 * sysdeps/x86_64/strtok.S: Likewise.
32733 * sysdeps/sh/_mcount.S: Likewise.
32735 2012-08-01 Roland McGrath <roland@hack.frob.com>
32737 * libio/iofopen.c: Include <fcntl.h>.
32738 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32739 (_IO_fopen64, fopen64): Define as aliases.
32740 * libio/iofopen64.c: Include <fcntl.h>.
32741 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32742 Conditionalize body on this.
32743 * sysdeps/wordsize-64/iofopen.c: File removed.
32744 * sysdeps/wordsize-64/iofopen64.c: File removed.
32746 2012-08-01 Marek Polacek <polacek@redhat.com>
32748 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32749 Use dlfcn directly instead of a variable.
32750 (binfmt-subdir): Do not define.
32753 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32756 Remove all definitions.
32757 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32758 <kernel-features.h>.
32759 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32760 (miss_F_GETOWN_EX): Remove all definitions.
32761 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32763 [!__ASSUME_FCNTL64]: Remove conditional code.
32764 [__ASSUME_FCNTL64]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32766 <kernel-features.h>.
32767 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32768 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32769 (lockf64) [__NR_fcntl64]: Make code unconditional.
32770 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32772 * sysdeps/unix/sysv/linux/kernel-features.h
32773 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32774 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32775 Make code unconditional.
32776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32779 [__NR_vfork]: Make code unconditional.
32780 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32781 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32783 [__NR_vfork]: Make code unconditional.
32784 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32785 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32787 2012-08-01 Roland McGrath <roland@hack.frob.com>
32789 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32790 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32792 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32793 Define mkstemp64 as an alias.
32794 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32795 Define mkstemps64 as an alias.
32796 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32797 Define mkostemp64 as an alias.
32798 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32799 Define mkostemps64 as an alias.
32800 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32801 Conditionalize body on this.
32802 * misc/mkostemp64.c: Likewise.
32803 * misc/mkostemps64.c: Likewise.
32804 * misc/mkstemps64.c: Likewise.
32805 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32806 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32807 * sysdeps/wordsize-64/mkostemp.c: File removed.
32808 * sysdeps/wordsize-64/mkstemp.c: File removed.
32809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32815 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32816 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32817 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32818 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32820 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32821 compat_symbol macros from <shlib-compat.h> rather than the underlying
32822 default_symbol_version and symbol_version macros, so that DEFAULT
32823 lines in shlib-versions are respected.
32824 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32826 2012-08-01 Florian Weimer <fweimer@redhat.com>
32828 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32829 Declare with warn_unused_result.
32830 (setgid, setregid, setegid, setresgid): Likewise.
32831 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32833 * WUR-REPORT: Remove set*id functions.
32835 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32837 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32839 2012-07-31 Roland McGrath <roland@hack.frob.com>
32842 * include/sys/socket.h (__libc_accept, __libc_accept4):
32843 Add attribute_hidden.
32844 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32846 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32848 * inet/getnetgrent_r.c (setup): Likewise.
32850 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32852 2012-07-31 David S. Miller <davem@davemloft.net>
32854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32856 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32859 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32860 value between 1.0 and 2.0 and smaller part has absolute value less
32862 * math/s_clog10.c (__clog10): Likewise.
32863 * math/s_clog10f.c (__clog10f): Likewise.
32864 * math/s_clog10l.c (__clog10l): Likewise.
32865 * math/s_clogf.c (__clogf): Likewise.
32866 * math/s_clogl.c (__clogl): Likewise.
32867 * math/libm-test.inc (clog_test): Add more tests.
32868 (clog10_test): Likewise.
32869 * sysdeps/i386/fpu/libm-test-ulps: Update.
32870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32872 2012-07-31 Florian Weimer <fweimer@redhat.com>
32874 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32875 Exit with zero in case no suitable GID is found, and write a
32876 message to standard error.
32878 2012-07-30 Roland McGrath <roland@hack.frob.com>
32880 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32882 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32883 (MAXPATHLEN): Removed.
32884 (NOGROUP, NODEV): New macros.
32885 (setbit, clrbit, isset, isclr): New macros.
32886 (howmany, roundup, powerof2): New macros.
32887 (DEV_BSIZE): New macro.
32889 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32890 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32892 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32893 definition on [!__NO_LONG_DOUBLE_MATH].
32895 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32896 PTR_MANGLE and PTR_DEMANGLE.
32898 * socket/accept4.c (accept4): Rename to __libc_accept4.
32899 Define accept4 as a weak alias.
32901 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32902 on [_DIRENT_HAVE_D_TYPE].
32903 * io/ftw.c (ftw_dir): Likewise.
32905 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32907 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32909 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32910 Use the BSD numbers rather than the arbitrary ones we had.
32911 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32912 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32913 (SIGXCPU, SIGXFSZ): New macros.
32916 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32917 initializer on [_LIBC_REENTRANT].
32919 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32920 definitions inside [_POSIX_MAPPED_FILES].
32922 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32924 * dirent/opendir.c: Include <fcntl.h>.
32926 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32927 (__libc_getspecific): Likewise.
32928 (__libc_key_create): Likewise.
32930 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32931 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32932 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32933 (tmpfile64): Define as alias.
32934 * sysdeps/wordsize-64/tmpfile.c: File removed.
32935 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32936 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32937 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32939 * stdio-common/vfscanf.c: Include <stdbool.h>.
32940 * nss/makedb.c: Likewise.
32941 * stdio-common/_i18n_number.h: Likewise.
32942 * argp/argp-help.c: Likewise.
32943 * posix/wordexp.c: Likewise.
32944 * sysdeps/posix/spawni.c: Likewise.
32945 * nss/nss_files/files-initgroups.c: Likewise.
32946 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32947 * nss/nss_files/files-initgroups.c: Likewise.
32948 * nss/nss_db/db-netgrp.c: Likewise.
32949 * nss/nss_db/db-initgroups.c: Likewise.
32950 * io/fchmodat.c: Include <sys/stat.h>.
32952 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32953 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32955 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32958 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32959 Add multiple inclusion protection.
32961 2012-07-27 David S. Miller <davem@davemloft.net>
32963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32965 2012-07-27 Gary Benson <gbenson@redhat.com>
32968 * elf/rtld.c: Include <stap-probe.h>.
32969 (dl_main): Added static probes "init_start" and "init_complete".
32970 * elf/dl-load.c: Include <stap-probe.h>.
32971 (lose): Take new parameter "nsid".
32972 Added static probe "map_failed".
32973 (_dl_map_object_from_fd): Pass namespace id to lose.
32974 Added static probe "map_start".
32975 (open_verify): Pass namespace id to lose.
32976 * elf/dl-open.c: Include <stap-probe.h>.
32977 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32978 and "reloc_complete".
32979 * elf/dl-close.c: Include <stap-probe.h>.
32980 (_dl_close_worker): Added static probes "unmap_start" and
32982 * elf/rtld-debugger-interface.txt: New file documenting the above.
32984 2012-07-26 Roland McGrath <roland@hack.frob.com>
32986 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32987 rather than a string variable.
32988 * sunrpc/rpc_main.c (h_output): Likewise.
32989 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32991 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32993 * inet/check_native.c: New file.
32995 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32998 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32999 if larger part has absolute value 1.0.
33000 * math/s_clog10.c (__clog10): Likewise.
33001 * math/s_clog10f.c (__clog10f): Likewise.
33002 * math/s_clog10l.c (__clog10l): Likewise.
33003 * math/s_clogf.c (__clogf): Likewise.
33004 * math/s_clogl.c (__clogl): Likewise.
33005 * math/libm-test.inc (clog_test): Add more tests.
33006 (clog10_test): Likewise.
33007 * sysdeps/i386/fpu/libm-test-ulps: Update.
33008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33010 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33011 (pltexit): Likewise.
33012 (La_regs): Likewise.
33013 (La_retval): Likewise.
33014 (int_retval): Likewise.
33015 Update #error for removed macros to refer only to definitions in
33017 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33019 (pltexit): Likewise.
33020 (La_regs): Likewise.
33021 (La_retval): Likewise.
33022 (int_retval): Likewise.
33023 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33025 (pltexit): Likewise.
33026 (La_regs): Likewise.
33027 (La_retval): Likewise.
33028 (int_retval): Likewise.
33029 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33031 (pltexit): Likewise.
33032 (La_regs): Likewise.
33033 (La_retval): Likewise.
33034 (int_retval): Likewise.
33035 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33037 (pltexit): Likewise.
33038 (La_regs): Likewise.
33039 (La_retval): Likewise.
33040 (int_retval): Likewise.
33041 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33043 (pltexit): Likewise.
33044 (La_regs): Likewise.
33045 (La_retval): Likewise.
33046 (int_retval): Likewise.
33047 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33049 (pltexit): Likewise.
33050 (La_regs): Likewise.
33051 (La_retval): Likewise.
33052 (int_retval): Likewise.
33053 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33054 macro definitions in tst-audit.h.
33055 * sysdeps/i386/tst-audit.h: New file.
33056 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33057 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33058 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33059 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33060 * sysdeps/sh/tst-audit.h: Likewise.
33061 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33062 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33063 * sysdeps/x86_64/tst-audit.h: Likewise.
33065 2012-07-26 Andreas Jaeger <aj@suse.de>
33067 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33070 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33071 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33072 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33074 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33075 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33076 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33078 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33081 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33083 (si_call_addr, si_syscall, si_arch): Define new macro.
33084 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33086 (si_call_addr, si_syscall, si_arch): Define new marcro.
33087 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33089 (si_call_addr, si_syscall, si_arch): Define new macro.
33090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33092 (si_call_addr, si_syscall, si_arch): Define new macro.
33094 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33098 Change to 2.4.21 where previously 2.4.1.
33099 * sysdeps/unix/sysv/linux/configure: Regenerated.
33100 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33101 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33102 Linux kernel version.
33103 (__ASSUME_STD_AUXV): Remove.
33104 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33106 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33107 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33108 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33109 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33110 (__ASSUME_NETLINK_SUPPORT): Likewise.
33111 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33112 (__no_netlink_support): Remove conditional definition.
33113 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33115 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33116 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33117 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33118 (if_nameindex_ioctl): Remove.
33119 (if_nameindex_netlink): Do not handle __no_netlink_support.
33120 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33122 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33123 Remove conditional code.
33124 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33126 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33128 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33129 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33130 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33132 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33133 [!__ASSUME_STD_AUXV]: Remove conditional code.
33134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33135 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33136 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33138 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33139 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33141 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33143 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33146 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33148 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33151 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33154 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33155 code unconditional.
33156 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33158 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33160 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33163 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33165 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33168 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33169 code unconditional.
33170 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33172 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33174 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33177 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33178 code unconditional.
33179 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33181 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33183 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33186 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33188 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33189 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33190 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33191 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33192 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33193 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33194 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33195 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33196 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33197 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33198 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33199 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33200 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33201 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33202 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33203 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33204 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33206 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33208 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33209 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33212 2012-07-25 Florian Weimer <fweimer@redhat.com>
33214 * Versions.def: Add GLIBC_2.17.
33215 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33216 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33217 Introduce __libc_secure_getenv.
33218 * stdlib/Versions (2.17): Add secure_getenv
33219 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33220 * stdlib/secure-getenv.c: Rename __secure_getenv to
33221 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33222 symbol __secure_getenv for GLIBC_2.0.
33223 * stdlib/tst-secure-getenv.c: New.
33224 * stdlib/Makefile (tests): Add testcase.
33225 * manual/startup.texi (Environment Access): Document
33227 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33228 __libc_secure_getenv.
33229 * inet/ruserpass.c (ruserpass): Likewise.
33230 * malloc/mtrace.c (mtrace): Likewise.
33231 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33232 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33233 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33234 * sysdeps/posix/tempname.c: Likewise. Evaluate
33235 HAVE_SECURE_GETENV.
33236 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33237 __secure_getenv to __libc_secure_getenv.
33238 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33251 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33253 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33254 (struct La_i86_retval): Likewise.
33255 (struct La_x86_64_regs): Likewise.
33256 (struct La_x86_64_retval): Likewise.
33257 (struct La_x32_regs): Likewise.
33258 (struct La_x32_retval): Likewise.
33259 (struct La_ppc32_regs): Likewise.
33260 (struct La_ppc32_retval): Likewise.
33261 (struct La_ppc64_regs): Likewise.
33262 (struct La_ppc64_retval): Likewise.
33263 (struct La_sh_regs): Likewise.
33264 (struct La_sh_retval): Likewise.
33265 (struct La_s390_32_regs): Likewise.
33266 (struct La_s390_32_retval): Likewise.
33267 (struct La_s390_64_regs): Likewise.
33268 (struct La_s390_64_retval): Likewise.
33269 (struct La_sparc32_regs): Likewise.
33270 (struct La_sparc32_retval): Likewise.
33271 (struct La_sparc64_regs): Likewise.
33272 (struct La_sparc64_retval): Likewise.
33273 (struct audit_ifaces): Remove architecture-specific pltenter and
33275 * sysdeps/i386/ldsodefs.h: New file.
33276 * sysdeps/powerpc/ldsodefs.h: Likewise.
33277 * sysdeps/s390/ldsodefs.h: Likewise.
33278 * sysdeps/sh/ldsodefs.h: Likewise.
33279 * sysdeps/sparc/ldsodefs.h: Likewise.
33280 * sysdeps/x86_64/ldsodefs.h: Likewise.
33282 2012-07-25 Marek Polacek <polacek@redhat.com>
33285 * math/libm-test.inc (yn_test): Add another test.
33286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33287 to ERANGE when the result is +-Inf.
33288 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33289 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33290 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33293 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33295 * conform/data/time.h-data (NULL): Use macro-constant. Require
33297 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33299 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33301 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33303 * configure.in <sysdeps resolving>: Correct printing
33305 * configure: Regenerate.
33307 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33309 * math/w_ilogb.c: Include <limits.h>.
33310 * math/w_ilogbl.c: Likewise.
33312 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33314 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33315 va_copy. Document allowing for unavailable va_copy only as
33316 pre-C99 compatibility.
33317 * manual/string.texi (Copying and Concatenation): Use va_copy
33318 instead of __va_copy in concat example.
33320 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33322 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33323 (__sendto): Use create_address_port. Initialize APORT and deallocate
33326 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33327 with O_NOLINK passed to __file_name_lookup.
33329 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33330 with O_NOLINK passed to __file_name_lookup.
33332 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33333 negative N or less than NGIDS.
33335 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33336 type to string_t. Set ERANGE as errno and return it if NAME is not big
33337 enough. Use memcpy instead of strncpy.
33339 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33341 * elf/Makefile (check-data): Remove.
33342 (localplt.data): New vpath directive.
33343 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33344 instead of $(check-data).
33345 * scripts/data/localplt-generic.data: Move to ...
33346 * sysdeps/generic/localplt.data: ... here.
33347 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33348 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33349 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33352 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33355 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33358 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33361 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33364 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33368 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33370 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33371 PPC32 and PPC64 files.
33372 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33373 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33375 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33377 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33378 __makecontext_ret to ...
33379 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33380 ... here and call exit if uc_link is NULL. New file.
33381 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33382 __makecontext_ret.S.
33383 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33384 __makecontext_ret to ...
33385 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33386 ... here and call exit if uc_link is NULL. New file.
33387 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33388 __makecontext_ret.S.
33390 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33392 * elf/elf.h (R_390_IRELATIVE): New definition.
33393 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33394 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33395 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33396 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33397 (elf_machine_lazy_rel): Likewise.
33398 * sysdeps/s390/dl-irel.h: New file.
33399 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33400 * sysdeps/s390/s390-64/memset.S: New asm code.
33401 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33402 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33403 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33404 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33405 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33406 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33407 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33408 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33409 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33410 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33411 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33412 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33413 * sysdeps/s390/s390-32/memset.S: New asm code.
33414 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33416 2012-07-17 Marek Polacek <polacek@redhat.com>
33419 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33420 * sysdeps/s390/s390-64/configure.in: Likewise.
33421 * sysdeps/sparc/configure.in: Likewise.
33422 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33423 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33424 * sysdeps/i386/configure.in: Likewise.
33425 * sysdeps/x86_64/configure.in: Likewise.
33426 * sysdeps/sh/configure.in: Likewise.
33427 * sysdeps/s390/s390-32/configure: Regenerated.
33428 * sysdeps/s390/s390-64/configure: Likewise.
33429 * sysdeps/x86_64/configure: Likewise.
33430 * sysdeps/sh/configure: Likewise.
33431 * sysdeps/powerpc/powerpc64/configure: Likewise.
33432 * sysdeps/powerpc/powerpc32/configure: Likewise.
33433 * sysdeps/sparc/configure: Likwise.
33434 * sysdeps/i386/configure: Likewise.
33436 * elf/dl-open.c: Comment fixes.
33438 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33440 * Makefile [CXX] (check-data): Remove.
33441 [CXX] (c++-types.data): New vpath directive.
33442 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33443 vpath. Do not allow for C++ type data being missing.
33444 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33445 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33446 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33447 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33448 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33449 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33450 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33453 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33456 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33459 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33462 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33465 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33468 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33471 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33474 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33475 definitions to architecture-specific files.
33476 (TLS_IE): Likewise.
33477 (TLS_LD): Likewise.
33478 (TLS_GD): Likewise.
33479 * sysdeps/i386/tls-macros.h: New file.
33480 * sysdeps/powerpc/tls-macros.h: Likewise.
33481 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33482 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33483 * sysdeps/sh/tls-macros.h: Likewise.
33484 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33485 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33486 * sysdeps/x86_64/tls-macros.h: Likewise.
33488 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33491 zero value for regular exit case.
33493 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33494 (__start_context): Preserve zero value for regular exit case.
33496 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33497 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33499 * manual/setjmp.texi (setcontext): Clarify normal process
33500 termination when uc_link is the null pointer.
33501 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33504 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33506 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33507 preprocessor. Test for each exception mask separately.
33509 2012-07-16 Andreas Jaeger <aj@suse.de>
33511 * po/ru.po: Update from translation team.
33513 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33515 * conform/data/string.h-data (NULL): Use macro-constant. Require
33517 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33518 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33519 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33520 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33523 2012-07-13 Andreas Jaeger <aj@suse.de>
33525 * po/fr.po: Update from translation team.
33527 2012-07-12 Marek Polacek <polacek@redhat.com>
33530 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33531 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33534 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33538 Change to 2.4.1 where previously 2.4.0.
33539 * sysdeps/unix/sysv/linux/configure: Regenerated.
33540 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33541 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33543 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33544 (__ASSUME_AT_CLKTCK): Remove.
33545 (__ASSUME_AT_PAGESIZE): Likewise.
33546 (__ASSUME_AT_XID): Likewise.
33547 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33548 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33549 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33551 (HAVE_AUX_PAGESIZE): Likewise.
33552 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33553 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33554 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33556 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33560 the temporary buffer used to invoke __gethostbyname2_r,
33561 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33562 host_data / struct gaih_addrtuple.
33563 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33564 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33565 header file nss/nsswitch.h.
33566 * nss/nsswitch.h (global scope): Add definition of implementation
33567 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33568 resolv/nss_dns/dns-host.c).
33570 2012-07-11 Andreas Jaeger <aj@suse.de>
33572 * po/fr.po: Update from translation team.
33574 * po/sv.po: Update from translation team
33575 * po/fr.po: Another update from translation team.
33577 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33579 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33580 for subnormals or multiply small sinh result by itself.
33581 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33584 2012-07-11 David S. Miller <davem@davemloft.net>
33586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33588 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33591 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33592 (INTERNAL_MARK): Shift it here.
33594 2012-07-10 Marek Polacek <polacek@redhat.com>
33597 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33598 libc_cv_asm_global_directive with .globl.
33599 * configure: Regenerated.
33600 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33602 * sysdeps/i386/configure: Regenerated.
33603 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33605 * sysdeps/x86_64/configure: Regenerated.
33606 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33607 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33608 * elf/tst-unique2mod2.c: Likewise.
33609 * elf/tst-unique2mod1.c: Likewise.
33610 * elf/tst-unique1mod2.c: Likewise.
33611 * elf/tst-unique1mod1.c: Likewise.
33612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33613 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33615 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33616 * sysdeps/mach/sysdep.h: Likewise.
33617 * sysdeps/i386/sysdep.h: Likewise.
33618 * sysdeps/i386/i386-mcount.S: Likewise.
33619 * sysdeps/x86_64/_mcount.S: Likewise.
33620 * sysdeps/x86_64/sysdep.h: Likewise.
33621 * sysdeps/sh/_mcount.S: Likewise.
33622 * sysdeps/sh/sysdep.h: Likewise.
33623 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33624 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33625 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33627 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33628 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33629 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33630 * locale/localeinfo.h: Likewise.
33631 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33632 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33634 2012-07-09 Roland McGrath <roland@hack.frob.com>
33637 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33639 * manual/message.texi (The Uniforum approach): Likewise.
33640 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33641 (glibc iconv Implementation): Likewise.
33643 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33646 * math/s_clog.c (__clog): Avoid scaling a value down where that
33647 could result in underflow.
33648 * math/s_clog10.c (__clog10): Likewise.
33649 * math/s_clog10f.c (__clog10f): Likewise.
33650 * math/s_clog10l.c (__clog10l): Likewise.
33651 * math/s_clogf.c (__clogf): Likewise.
33652 * math/s_clogl.c (__clogl): Likewise.
33653 * math/libm-test.inc (clog_test): Add more tests.
33654 (clog10_test): Likewise.
33655 * sysdeps/i386/fpu/libm-test-ulps: Update.
33656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33661 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33662 by 7 not 8 to examine high bit of fractional part.
33665 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33666 for call to __mcount_internal.
33667 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33668 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33669 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33671 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33674 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33675 approximation for values within 0x1p-13f of an odd multiple of
33677 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33678 exception. Add more tests.
33679 * sysdeps/i386/fpu/libm-test-ulps: Update.
33682 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33683 inputs and return -1 for them. Do not check for +Inf in case not
33684 reachable for +Inf.
33685 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33686 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33687 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33688 and return -1 for them. Do not check for +Inf in case not
33689 reachable for +Inf.
33690 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33693 and return -1 for them. Do not check for +Inf in case not
33694 reachable for +Inf.
33695 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33696 spurious underflow.
33697 * sysdeps/i386/fpu/libm-test-ulps: Update.
33698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33700 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33702 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33704 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33708 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33709 could result in spurious underflow. Scale down values above
33710 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33711 * math/s_csqrtf.c (__csqrtf): Likewise.
33712 * math/s_csqrtl.c (__csqrtl): Likewise.
33713 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33714 spurious underflow.
33715 * sysdeps/i386/fpu/libm-test-ulps: Update.
33716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33718 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33720 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33722 * catgets/xopen-msg.awk: New file.
33723 * catgets/xopen-msg.sed: Removed.
33725 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33727 * intl/po2test.awk: New file.
33728 * intl/po2test.sed: Removed.
33730 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33733 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33734 or multiply small sinh result by itself.
33735 * math/s_ctanf.c (__ctanf): Likewise.
33736 * math/s_ctanh.c (__ctanh): Likewise.
33737 * math/s_ctanhf.c (__ctanhf): Likewise.
33738 * math/s_ctanhl.c (__ctanhl): Likewise.
33739 * math/s_ctanl.c (__ctanl): Likewise.
33740 * math/libm-test.inc (ctan_test_tonearest): New function.
33741 (ctan_test_towardzero): Likewise.
33742 (ctan_test_downward): Likewise.
33743 (ctan_test_upward): Likewise.
33744 (ctanh_test_tonearest): Likewise.
33745 (ctanh_test_towardzero): Likewise.
33746 (ctanh_test_downward): Likewise.
33747 (ctanh_test_upward): Likewise.
33748 (main): Call these new functions.
33749 * sysdeps/i386/fpu/libm-test-ulps: Update.
33750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33752 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33754 * .gitignore: Delete /ports entry.
33756 2012-07-03 Andreas Jaeger <aj@suse.de>
33758 * po/bg.po: Update from translation team.
33759 * po/cs.po: Likewise.
33760 * po/de.po: Likewise.
33761 * po/hr.po: Likewise.
33762 * po/nl.pl: Likewise.
33763 * po/pl.po: Likewise.
33764 * po/vi.po: Likewise.
33766 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33768 * Makeconfig [!+link] (+link-before-libc): New variable.
33769 [!+link] (+link-after-libc): Likewise.
33770 [!+link] (+link-tests): Likewise.
33771 [!+link] (+link): Define in terms of $(+link-before-libc) and
33772 $(+link-after-libc).
33773 [!+link-static] (+link-static-before-libc): New variable.
33774 [!+link-static] (+link-static-after-libc): Likewise.
33775 [!+link-static] (+link-static-tests): Likewise.
33776 [!+link-static] (+link-static): Define in terms of
33777 $(+link-static-before-libc) and $(+link-static-after-libc).
33778 [build-shared] (link-libc-before-gnulib): New variable.
33779 [build-shared] (link-libc-tests): Likewise.
33780 [build-shared] (link-libc): Define in terms of
33781 $(link-libc-before-gnulib).
33782 [!build-shared] (link-libc-tests): New variable.
33783 (link-libc-static-tests): New variable.
33784 [!gnulib] (gnulib-arch): New variable.
33785 [!gnulib] (gnulib-tests): Likewise.
33786 [!gnulib] (static-gnulib-arch): Likewise.
33787 [!gnulib] (static-gnulib-tests): Likewise.
33788 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33789 Define with "=" instead of ":=".
33790 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33791 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33792 * Rules (binaries-all-notests): New variable.
33793 (binaries-all-tests): Likewise.
33794 (binaries-static-notests): Likewise.
33795 (binaries-static-tests): Likewise.
33796 (binaries-all): Define using $(binaries-all-notests) and
33797 $(binaries-all-tests).
33798 (binaries-static): Define using $(binaries-static-notests) and
33799 $(binaries-static-tests).
33800 (binaries-shared-tests): New variable.
33801 (binaries-shared-notests): Likewise.
33802 (binaries-shared): Remove variable.
33803 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33804 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33805 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33806 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33807 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33808 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33809 * elf/Makefile (sln-modules): New variable.
33810 (extra-objs): Add $(sln-modules:=.o).
33811 (ldconfig-modules): Add static-stubs.
33812 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33813 * elf/static-stubs.c: New file.
33816 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33817 by 7 not 8 to examine high bit of fractional part. Use volatile
33818 variables when splitting into final array of floats if
33819 __FLT_EVAL_METHOD__ != 0.
33820 * math/libm-test.inc (cos_test): Add another test.
33821 (sin_test): Likewise.
33822 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * math/libm-test.inc (cosh_test): Add more tests.
33827 * version.h (RELEASE): Set to "development".
33828 (VERSION): Set to "2.16.90".
33830 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33832 * NEWS: Update copyright. Remove last-updated date.
33833 Mention math library bug fixes and timezone data changes.
33834 * README: Mention GNU/Hurd, x32, and HPPA support status.
33836 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33838 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33840 2012-06-27 Andreas Jaeger <aj@suse.de>
33842 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33844 2012-06-25 Andreas Jaeger <aj@suse.de>
33846 * sysdeps/s390/fpu/libm-test-ulps: Update.
33848 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33849 Thomas Schwinge <thomas@codesourcery.com>
33851 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33852 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33856 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33858 * sysdeps/mach/start.c: Remove file.
33859 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33860 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33861 * sysdeps/sh/init-first.c: Likewise.
33863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33864 registers for frame unwinding purposes, add CFI directives.
33865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33866 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33867 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33870 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33871 __fortify_fail returning.
33872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33874 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33875 sysdeps/sh/____longjmp_chk.S.
33876 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33877 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33878 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33879 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33881 * sysdeps/sh/abort-instr.h: New file.
33882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33883 process in case exit returns.
33885 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33886 initialize the GOT register before use.
33888 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33889 calculation of ARGC > 4.
33891 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33892 meaningful names to some local labels.
33894 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33895 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33897 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33898 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33899 (__arch_compare_and_exchange_val_16_acq): Likewise.
33900 (__arch_compare_and_exchange_val_32_acq): Likewise.
33901 (atomic_exchange_and_add): Fix gUSA sequence.
33902 (atomic_add): Likewise.
33903 (atomic_add_negative): Likewise.
33904 (atomic_add_zero): Likewise.
33905 (atomic_bit_test_set): Likewise.
33907 2012-06-22 Andreas Schwab <schwab@redhat.com>
33910 * include/link.h (struct link_map): Add l_free_initfini.
33911 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33913 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33914 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33915 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33918 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33920 * configure.in: Use AC_LANG_SOURCE.
33921 * configure: Regenerate.
33923 2012-06-22 Roland McGrath <roland@hack.frob.com>
33925 * configure.in (libc_cv_localstatedir): New substituted variable.
33926 * configure: Regenerated.
33927 * config.make.in (localstatedir): New variable, substituted from
33928 libc_cv_localstatedir.
33929 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33930 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33931 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33932 * sysdeps/gnu/configure: Regenerated.
33934 2012-06-21 Jeff Law <law@redhat.com>
33937 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33938 free. Simplify list management for _LIBC case.
33940 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33943 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33944 Clear sign bit of 64-bit integer value before comparing against
33947 * sysdeps/mach/configure: Regenerated.
33949 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33952 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33954 2012-06-21 Jeff Law <law@redhat.com>
33957 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33958 uint16_t for elements in the "seen" array to avoid char overflows.
33959 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33960 * elf/dl-open.c (dl_open_worker): Likewise.
33962 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33964 * scripts/list-sources.sh: Scan PORTS for translations.
33965 * po/libc.pot: Regenerated.
33967 2012-06-21 Andreas Jaeger <aj@suse.de>
33970 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33972 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33973 * bits/byteswap-16.h (__bswap_16): Likewise.
33974 * bits/byteswap.h (__bswap_constant_16): Likewise.
33976 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33979 * sysdeps/i386/fpu_control.h: Removed.
33980 * sysdeps/x86_64/fpu_control.h: Moved to ...
33981 * sysdeps/x86/fpu_control.h: Here.
33983 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33984 (_FPU_SETCW): Likewise.
33986 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33989 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33990 * sysdeps/x86/fpu/bits/mathinline.h: This.
33991 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33995 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33996 functions if __x86_64__ is defined.
33998 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34000 * string/endian.h: Add !__ASSEMBLER__ condition for including
34001 conversion interfaces.
34003 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34007 of ABS(x) in calculating zero to negative powers other than odd
34009 * math/libm-test.inc (pow_test): Add more tests.
34011 2012-06-15 Andreas Jaeger <aj@suse.de>
34013 * manual/contrib.texi (Contributors): Update entry of Liubov
34014 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34017 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34019 * string/string.h: Add __wur to GNU version of strerror_r.
34021 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34024 * string/Makefile (tests): Add tst-strtok_r.
34025 * string/tst-strtok_r.c: New file.
34026 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34027 RAX_LP/RDX_LP on SAVE_PTR.
34029 2012-06-14 Roland McGrath <roland@hack.frob.com>
34031 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34033 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34035 * libm_test.inc (csqrt_test): Allow more spurious underflow
34037 (j0_test): Likewise.
34038 (j1_test): Likewise.
34039 (y0_test): Likewise.
34040 (y1_test): Likewise.
34042 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34044 * po/Makefile (libc.pot): Use UTF-8 charset.
34046 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34049 Suppress sign-conversion warning from FD_SET.
34050 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34051 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34052 not unsigned long int.
34053 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34055 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34060 __extern_always_inline instead of __extern_inline.
34061 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34062 (__signbit): Likewise.
34063 (__signbitl): Support C++ namespace.
34064 (lrintf): New inline function.
34066 (llrintf): Likewise.
34067 (llrint): Likewise.
34077 (floorf): Likewise.
34078 (nearbyint): Likewise.
34079 (nearbyintf): Likewise.
34081 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34083 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34084 non-default versions.
34086 2012-06-11 Roland McGrath <roland@hack.frob.com>
34089 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34091 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34093 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34094 (FE_UPWARD, FE_DOWNWARD): Don't define.
34095 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34096 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34100 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34101 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34103 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34105 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34107 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34108 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34110 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34113 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34114 * sysdeps/i386/fpu/Implies: New file.
34115 * sysdeps/x86_64/fpu/Implies: Likewise.
34116 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34117 * sysdeps/x86/fpu/bits/fenv.h: This.
34119 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34122 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34125 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34126 character 0xffff that matches the last element of the
34129 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34134 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34137 values higher than 25.6283.
34139 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34142 subnormal exponent extraction and add some __builtin_expect.
34143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34144 Fix for subnormal mantissa calculation.
34146 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34148 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34149 cpu2 is -1 and errno is not ENOSYS.
34151 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34154 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34155 * sysdeps/x86/bits/string.h: This.
34156 * sysdeps/x86_64/bits/string.h: Removed.
34158 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34159 if not compiling for x86-64, but compiling for >= i486.
34161 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34162 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34164 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34165 New macro from Linux kernel 3.4.0.
34166 (FP_XSTATE_MAGIC2): Likewise.
34167 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34168 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34169 (struct _fpx_sw_bytes): New struct.
34170 (struct _xsave_hdr): Likewise.
34171 (struct _ymmh_state): Likewise.
34172 (struct _xstate): Likewise.
34174 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34175 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34176 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34177 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34178 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34179 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34181 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34182 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34183 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34184 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34185 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34186 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34188 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34191 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34192 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34193 (sysdep_headers): Include sys/platform/ppc.h.
34194 * sysdeps/powerpc/test-gettimebase.c: Test for
34195 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34196 * manual/Makefile (appendices): Include platform.texi.
34197 * manual/contrib.texi (Contributors): Update @node pointers.
34198 * manual/maint.texi (Maintenance): Likewise.
34199 (Platform): New node.
34200 * manual/platform.texi: New file. Document the new features.
34202 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34203 Jakub Jelinek <jakub@redhat.com>
34206 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34207 where __builtin_expect is unavailable.
34209 2012-06-03 David S. Miller <davem@davemloft.net>
34211 * stdlib/longlong.h: Updated from GCC.
34213 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34216 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34217 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34220 (GLIBC_2.16): Likewise.
34222 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34224 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34226 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34229 (default-abi): New variable.
34230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34231 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34233 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34235 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34237 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34240 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34241 definition. Document in comment.
34243 2012-06-01 David S. Miller <davem@davemloft.net>
34245 * stdlib/longlong.h: Updated from GCC.
34247 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34250 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34251 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34252 sys/debugreg.h sys/io.h here.
34253 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34254 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34256 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34257 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34258 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34259 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34260 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34261 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34264 Define only if __x86_64__ is defined.
34266 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34270 Use int64_t for variable i.
34271 * math/libm-test.inc (fmod_test): Add more tests.
34273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34274 z computation is not scheduled after fetestexcept.
34275 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34276 Use math_force_eval instead of asm to ensure calculation scheduled
34277 before exception test.
34278 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34279 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34281 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34284 computation is not scheduled after fetestexcept.
34286 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34289 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34290 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34292 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34294 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34295 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34297 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34300 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34302 (__WCHAR_MIN): Support __WORDSIZE == 64.
34303 (__WCHAR_MAX): Likewise.
34305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34310 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34313 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34314 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34316 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34317 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34319 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34320 Defined to 1 if __x86_64__ isn't defined.
34321 (_STAT_VER_LINUX_OLD): New.
34322 (st_atime): Remove duplicate.
34323 (st_mtime): Likewise.
34324 (st_ctime): Likewise.
34326 2012-05-31 David S. Miller <davem@davemloft.net>
34328 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34331 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34333 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34337 * elf/dl-reloc.c: Include <_itoa.h>.
34338 (_dl_reloc_bad_type): Remove use of INTUSE.
34339 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34340 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34341 * stdio-common/psiginfo.c (psiginfo): Likewise.
34342 * stdio-common/psignal.c (psignal): Likewise.
34343 * string/strsignal.c (strsignal): Likewise.
34344 * include/signal.h (_sys_siglist): Declare hidden proto.
34345 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34346 INTVARDEF with libc_hidden_data_def.
34347 * stdio-common/itoa-udigits.c: Likewise.
34348 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34349 (_itoa_lower_digits_internal): Remove declaration.
34350 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34351 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34352 (_sys_sigabbrev_internal): Remove aliases.
34353 (_sys_siglist): Define hidden alias.
34355 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34360 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34363 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34364 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34366 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34367 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34368 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34369 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34371 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34373 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34374 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34375 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34377 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34387 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34389 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34390 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34391 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34392 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34393 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34394 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34396 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34397 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34399 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34400 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34404 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34406 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34407 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34409 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34411 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34412 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34413 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34415 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34417 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34419 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34421 * math/math.h (M_El): Use two more decimal places.
34422 (M_LOG2El): Likewise.
34423 (M_LOG10El): Likewise.
34424 (M_LN2l): Likewise.
34425 (M_LN10l): Likewise.
34427 (M_PI_2l): Likewise.
34428 (M_PI_4l): Likewise.
34429 (M_1_PIl): Likewise.
34430 (M_2_PIl): Likewise.
34431 (M_2_SQRTPIl): Likewise.
34432 (M_SQRT2l): Likewise.
34433 (M_SQRT1_2l): Likewise.
34435 2012-05-31 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34438 values between float registers.
34439 * sysdeps/sparc/sparc64/memset.S: Likewise.
34440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34442 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34444 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34445 -D_FORTIFY_SOURCE=1.
34446 (CPPFLAGS-tst-longjmp_chk.c): Define.
34447 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34448 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34449 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34450 CFLAGS-tst-wchar-h.c.
34452 2012-05-31 Marek Polacek <polacek@redhat.com>
34455 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34456 __endmntent_internal): Remove declaration.
34457 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34458 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34459 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34461 2012-05-30 David S. Miller <davem@davemloft.net>
34463 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34464 (___Q_simulate_exceptions): Use real FP ops rather than writing
34466 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34469 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34472 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34473 * sysdeps/x86/bits/xtitypes.h: This.
34475 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34476 * sysdeps/x86/bits/wordsize.h: This.
34478 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34479 * sysdeps/x86/bits/huge_vall.h: This.
34481 * sysdeps/i386/bits/select.h: Removed.
34482 * sysdeps/x86_64/bits/select.h: Renamed to ...
34483 * sysdeps/x86/bits/select.h: This.
34485 * sysdeps/i386/bits/setjmp.h: Removed.
34486 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34487 * sysdeps/x86/bits/setjmp.h: This.
34489 * sysdeps/i386/bits/mathdef.h: Removed.
34490 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34491 * sysdeps/x86/bits/mathdef.h: This.
34493 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34496 * include/sys/socket.h (__connect_internal)
34497 (__libc_sa_len_internal): Remove declaration.
34498 (__connect, __libc_sa_len): Declare hidden_proto.
34499 (SA_LEN): Remove use of INTUSE.
34500 * socket/connect.c: Add libc_hidden_def.
34501 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34502 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34503 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34505 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34507 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34508 of adding _internal alias.
34510 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34513 * sysdeps/i386/bits/link.h: Removed.
34514 * sysdeps/i386/bits/linkmap.h: Likewise.
34515 * sysdeps/x86_64/bits/link.h: Renamed to ...
34516 * sysdeps/x86/bits/link.h: This.
34517 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34518 * sysdeps/x86/bits/linkmap.h: This.
34520 * sysdeps/i386/bits/endian.h: Removed.
34521 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34522 * sysdeps/x86/bits/endian.h: This.
34524 * sysdeps/i386/bits/byteswap.h: Removed.
34525 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34526 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34527 * sysdeps/x86/bits/byteswap.h: This.
34528 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34529 * sysdeps/x86/bits/byteswap-16.h: This.
34530 * sysdeps/i386/Implies: Add x86.
34531 * sysdeps/x86_64/Implies: Likewise.
34533 2012-05-30 David S. Miller <davem@davemloft.net>
34535 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34536 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34537 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34538 (FP_TRAPPING_EXCEPTIONS): Define.
34539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34540 (FP_TRAPPING_EXCEPTIONS): Define.
34541 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34542 subnormals only when inexact has been signalled or underflow
34543 exceptions are enabled.
34544 (_FP_PACK_CANONICAL): Likewise.
34546 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34550 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34552 2012-05-30 Richard Henderson <rth@twiddle.net>
34554 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34555 with #ifndef NOT_IN_libc.
34557 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34558 marked to avoid plt entry.
34560 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34563 * Makeconfig (default-abi): New macro.
34564 (abi-includes): Likewise.
34565 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34566 $(abi-$(default-abi)-lib-soname) for soname if defined.
34567 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34569 * Makefile (installed-stubs): Likewise.
34570 * include/stubs-biarch.h: Removed.
34571 * scripts/lib-names.awk: Only handle one library at a time.
34572 * scripts/soversions.awk: Remove WORDSIZE support.
34573 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34575 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34577 (syscall-list-default-condition): Likewise.
34578 (syscall-list-default-condition): Likewise.
34579 (syscall-list-includes): Likewise.
34580 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34581 syscall-list-* with abi-*. Handle undefined abi-variants.
34582 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34583 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34584 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34585 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34586 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34587 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34589 (syscall-list-32-options): Likewise.
34590 (syscall-list-32-condition): Likewise.
34591 (syscall-list-64-options): Likewise.
34592 (syscall-list-64-condition): Likewise.
34593 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34595 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34598 (abi-64-ld-soname): New macro.
34599 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34600 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34603 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34604 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34606 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34608 * sysdeps/unix/sysv/linux/kernel-features.h
34609 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34610 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34611 include <kernel-features.h>.
34612 [!__NR_ftruncate64]: Remove conditional code.
34613 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34614 [__NR_ftruncate64]: Make code unconditional.
34615 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34616 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34617 include <kernel-features.h>.
34618 [!__NR_ftruncate64]: Remove conditional code.
34619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34620 [__NR_ftruncate64]: Make code unconditional.
34621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34623 include <kernel-features.h>.
34624 [!__NR_ftruncate64]: Remove conditional code.
34625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34626 [__NR_ftruncate64]: Make code unconditional.
34627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34629 include <kernel-features.h>.
34630 [!__NR_ftruncate64]: Remove conditional code.
34631 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34632 [__NR_ftruncate64]: Make code unconditional.
34633 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34635 * configure.in (libc_cv_fpie): Weaken to a compile test using
34636 LIBC_TRY_CC_OPTION.
34637 * configure: Regenerated.
34639 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34654 2012-05-27 David S. Miller <davem@davemloft.net>
34656 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34658 (__Q_simulate_exceptions): Return void. Change to simulate
34659 exceptions by writing into the %fsr.
34660 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34661 (__Qp_handle_exceptions): Likewise.
34663 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34664 __Qp_handle_exceptions.
34665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34666 __Qp_handle_exceptions.
34667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34668 as unused and give dummy FP_RND_NEAREST initializer.
34669 (FP_INHIBIT_RESULTS): Define.
34670 (___Q_simulate_exceptions): Update declaration.
34671 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34673 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34674 as unused and give dummy FP_RND_NEAREST initializer.
34675 (__Qp_handle_exceptions): Update declaration.
34676 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34679 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34681 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34682 the temporary FPU control word.
34683 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34684 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34685 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34686 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34687 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34688 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34689 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34690 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34691 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34692 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34695 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34697 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34700 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34702 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34703 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34704 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34705 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34707 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34708 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34711 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34713 * po/h.po: Update from translation team.
34715 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34717 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34719 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34720 handling of denormals.
34721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34722 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34723 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34724 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34730 2012-05-26 Marek Polacek <polacek@redhat.com>
34733 * math/libm-test.inc (fma_test): Don't always expect underflow
34736 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34739 * elf/tst-execstack.c: Include stackinfo.h.
34740 (do_test): Adjust test case to ensure that pthread_getattr_np
34741 behaviour remains the same after marking stack executable.
34743 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34745 * sysdeps/unix/sysv/linux/kernel-features.h
34746 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34747 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34749 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34750 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34751 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34753 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34754 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34756 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34758 * configure.in: Define the default includes to being none.
34759 * configure: Regenerated.
34761 2012-05-25 Roland McGrath <roland@hack.frob.com>
34763 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34764 * sysdeps/x86_64/setjmp.S: Likewise.
34765 * sysdeps/i386/bsd-setjmp.S: Likewise.
34766 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34767 * sysdeps/i386/setjmp.S: Likewise.
34768 * sysdeps/i386/__longjmp.S: Likewise.
34769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34770 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34772 * include/stap-probe.h: New file.
34773 * configure.in: Handle --enable-systemtap.
34774 * configure: Regenerated.
34775 * config.h.in (USE_STAP_PROBE): New #undef.
34776 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34777 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34778 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34780 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34783 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34784 to 2.4.0 where earlier.
34785 * sysdeps/unix/sysv/linux/configure: Regenerated.
34786 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34787 <kernel-features.h>.
34788 [__ASSUME_32BITUIDS]: Make code unconditional.
34789 [!__ASSUME_32BITUIDS]: Remove conditional code.
34790 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34791 <kernel-features.h>.
34792 [__ASSUME_32BITUIDS]: Make code unconditional.
34793 [!__ASSUME_32BITUIDS]: Remove conditional code.
34794 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34795 [__ASSUME_32BITUIDS]: Make code unconditional.
34796 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34797 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
34814 <kernel-features.h>.
34815 [__ASSUME_32BITUIDS]: Make code unconditional.
34816 [!__ASSUME_32BITUIDS]: Remove conditional code.
34817 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34818 <kernel-features.h>.
34819 [__ASSUME_32BITUIDS]: Make code unconditional.
34820 [!__ASSUME_32BITUIDS]: Remove conditional code.
34821 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34822 <kernel-features.h>.
34823 [__ASSUME_32BITUIDS]: Make code unconditional.
34824 [!__ASSUME_32BITUIDS]: Remove conditional code.
34825 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34826 <kernel-features.h>.
34827 [__ASSUME_32BITUIDS]: Make code unconditional.
34828 [!__ASSUME_32BITUIDS]: Remove conditional code.
34829 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34830 <kernel-features.h>.
34831 [__ASSUME_32BITUIDS]: Make code unconditional.
34832 [!__ASSUME_32BITUIDS]: Remove conditional code.
34833 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34834 <kernel-features.h>.
34835 [__ASSUME_32BITUIDS]: Make code unconditional.
34836 [!__ASSUME_32BITUIDS]: Remove conditional code.
34837 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34838 <kernel-features.h>.
34839 [__NR_setresgid] (__setresgid): Do not declare.
34840 [__ASSUME_32BITUIDS]: Make code unconditional.
34841 [!__ASSUME_32BITUIDS]: Remove conditional code.
34842 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34843 <kernel-features.h>.
34844 [__NR_setresuid] (__setresuid): Do not declare.
34845 [__ASSUME_32BITUIDS]: Make code unconditional.
34846 [!__ASSUME_32BITUIDS]: Remove conditional code.
34847 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
34860 <kernel-features.h>.
34861 [__ASSUME_32BITUIDS]: Make code unconditional.
34862 [!__ASSUME_32BITUIDS]: Remove conditional code.
34863 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34864 <kernel-features.h>.
34865 [__ASSUME_32BITUIDS]: Make code unconditional.
34866 [!__ASSUME_32BITUIDS]: Remove conditional code.
34867 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34868 <kernel-features.h>.
34869 [__ASSUME_32BITUIDS]: Make code unconditional.
34870 [!__ASSUME_32BITUIDS]: Remove conditional code.
34871 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34872 <kernel-features.h>.
34873 [__ASSUME_32BITUIDS]: Make code unconditional.
34874 [!__ASSUME_32BITUIDS]: Remove conditional code.
34875 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34876 <kernel-features.h>.
34877 [__ASSUME_32BITUIDS]: Make code unconditional.
34878 [!__ASSUME_32BITUIDS]: Remove conditional code.
34879 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34880 <kernel-features.h>.
34881 [__ASSUME_32BITUIDS]: Make code unconditional.
34882 [!__ASSUME_32BITUIDS]: Remove conditional code.
34883 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34884 <kernel-features.h>.
34885 [__ASSUME_32BITUIDS]: Make code unconditional.
34886 [!__ASSUME_32BITUIDS]: Remove conditional code.
34887 * sysdeps/unix/sysv/linux/kernel-features.h
34888 (__ASSUME_SETRESUID_SYSCALL): Remove.
34889 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34890 (__ASSUME_32BITUIDS): Likewise.
34891 (__ASSUME_LDT_WORKS): Likewise.
34892 (__ASSUME_O_DIRECTORY): Likewise.
34893 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34894 architecture but not kernel version.
34895 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34896 (__ASSUME_MMAP2_SYSCALL): Likewise.
34897 (__ASSUME_STAT64_SYSCALL): Likewise.
34898 (__ASSUME_IPC64): Likewise.
34899 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34900 <kernel-features.h>.
34901 [__ASSUME_32BITUIDS]: Make code unconditional.
34902 [!__ASSUME_32BITUIDS]: Remove conditional code.
34903 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34904 <kernel-features.h>.
34905 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34906 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34907 132096]: Remove conditional code.
34908 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34909 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34910 <kernel-features.h>.
34911 [__ASSUME_32BITUIDS]: Make code unconditional.
34912 [!__ASSUME_32BITUIDS]: Remove conditional code.
34913 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34914 <kernel-features.h>.
34915 [__ASSUME_32BITUIDS]: Make code unconditional.
34916 [!__ASSUME_32BITUIDS]: Remove conditional code.
34917 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34918 <kernel-features.h>.
34919 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34921 (__setresgid): Do not declare.
34922 [__ASSUME_32BITUIDS]: Make code unconditional.
34923 [!__ASSUME_32BITUIDS]: Remove conditional code.
34924 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34925 <kernel-features.h>.
34926 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34928 (__setresuid): Do not declare.
34929 [__ASSUME_32BITUIDS]: Make code unconditional.
34930 [!__ASSUME_32BITUIDS]: Remove conditional code.
34931 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34932 <kernel-features.h>.
34933 [__ASSUME_32BITUIDS]: Make code unconditional.
34934 [!__ASSUME_32BITUIDS]: Remove conditional code.
34935 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34936 <kernel-features.h>.
34937 [__ASSUME_32BITUIDS]: Make code unconditional.
34938 [!__ASSUME_32BITUIDS]: Remove conditional code.
34940 2012-05-25 Richard Henderson <rth@twiddle.net>
34942 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34943 dl_hwcap to ifunc resolver.
34944 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34946 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34947 dl_hwcap to ifunc resolver.
34948 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34950 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34953 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34954 for |x| <= 2**-26, not 2**-57.
34955 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34958 2012-05-24 Jeff Law <law@redhat.com>
34960 * stdio-common/Makefile (tests): Add bug25.
34961 * stdio-common/bug25.c: New test.
34963 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34966 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34967 multiple of MALLOC_ALIGNMENT in size.
34968 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34970 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34972 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34974 (FILENAME_MAX): Use macro-int-constant.
34975 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34976 (_IOFBF): Use macro-int-constant.
34977 (_IOLBF): Likewise.
34978 (_IONBF): Likewise.
34979 (SEEK_CUR): Likewise.
34980 (SEEK_END): Likewise.
34981 (SEEK_SET): Likewise.
34982 (TMP_MAX): Likewise.
34983 (EOF): Use macro-int-constant. Require < 0.
34984 (NULL): Use macro-constant. Require == 0.
34985 (stdin): Require type to be FILE *.
34986 (stdout): Likewise.
34987 (stderr): Likewise.
34988 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34989 macro-int-constant.
34990 (EXIT_SUCCESS): Likewise.
34991 (NULL): Use macro-constant. Require == 0.
34992 (RAND_MAX): Use macro-int-constant.
34993 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34994 [C99-based standards] (strtof): Require function.
34995 [C99-based standards] (strtold): Likewise.
34996 [C99-based standards] (strtoll): Likewise.
34997 [C99-based standards] (strtoull): Likewise.
34998 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34999 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35000 [ISO || ISO99 || ISO11] (math.h): Likewise.
35001 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35002 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35005 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35008 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35009 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35010 * intl/dgettext.c (DCGETTEXT): Likewise.
35011 * intl/gettext.c (DCGETTEXT): Likewise.
35012 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35013 * posix/regex_internal.h (gettext): Likewise.
35014 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35015 Remove declaration.
35016 * include/argz.h (__argz_count_internal)
35017 (__argz_stringify_internal): Remove declaration.
35018 (__argz_count, __argz_stringify): Declare hidden proto.
35019 * intl/dcgettext.c: Remove use of INTDEF.
35020 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35021 * string/argz-stringify.c: Likewise.
35022 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35023 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35024 Declare hidden proto.
35025 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35026 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35027 Declare hidden proto.
35028 * include/stdio.h (__asprintf_internal): Don't declare.
35029 (__asprintf): Don't define as macro. Declare hidden proto.
35030 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35031 (__fsetlocking): Declare hidden proto.
35032 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35033 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35035 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35036 (_IO_setlinebuf): Remove use of INTUSE.
35037 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35038 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35039 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35040 Remove declaration.
35041 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35042 (_IO_do_flush): Remove use of INTUSE.
35043 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35044 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35045 (_IO_adjust_column, _IO_least_wmarker)
35046 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35047 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35048 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35049 (_IO_default_doallocate, _IO_wdefault_doallocate)
35050 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35051 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35052 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35053 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35054 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35055 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35056 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35057 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35058 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35059 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35060 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35061 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35062 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35064 (_IO_flush_all_internal, _IO_adjust_column_internal)
35065 (_IO_default_uflow_internal, _IO_default_finish_internal)
35066 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35067 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35068 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35069 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35070 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35071 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35072 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35073 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35074 (_IO_file_close_internal, _IO_file_close_it_internal)
35075 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35076 (_IO_file_init_internal, _IO_file_attach_internal)
35077 (_IO_file_fopen_internal, _IO_file_read_internal)
35078 (_IO_file_sync_internal, _IO_file_seek_internal)
35079 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35080 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35081 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35082 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35083 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35084 (_IO_list_all_internal, _IO_link_in_internal)
35085 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35086 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35087 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35088 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35089 (_IO_do_write_internal, _IO_padn_internal)
35090 (_IO_getline_info_internal, _IO_getline_internal)
35091 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35092 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35093 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35094 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35095 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35096 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35097 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35098 with libc_hidden_ver, remove use of INTUSE.
35099 * libio/genops.c: Likewise.
35100 * libio/freopen.c: Likewise.
35101 * libio/freopen64.c: Likewise.
35102 * libio/iofclose.c: Likewise.
35103 * libio/iofdopen.c: Likewise.
35104 * libio/iofflush.c: Likewise.
35105 * libio/iofflush_u.c: Likewise.
35106 * libio/iofgets.c: Likewise.
35107 * libio/iofgets_u.c: Likewise.
35108 * libio/iofopen.c: Likewise.
35109 * libio/iofopncook.c: Likewise.
35110 * libio/iofread.c: Likewise.
35111 * libio/iofread_u.c: Likewise.
35112 * libio/ioftell.c: Likewise.
35113 * libio/iofwrite.c: Likewise.
35114 * libio/iogetline.c: Likewise.
35115 * libio/iogets.c: Likewise.
35116 * libio/iogetwline.c: Likewise.
35117 * libio/iopadn.c: Likewise.
35118 * libio/iopopen.c: Likewise.
35119 * libio/ioseekoff.c: Likewise.
35120 * libio/ioseekpos.c: Likewise.
35121 * libio/iosetbuffer.c: Likewise.
35122 * libio/iosetvbuf.c: Likewise.
35123 * libio/ioungetc.c: Likewise.
35124 * libio/ioungetwc.c: Likewise.
35125 * libio/iovdprintf.c: Likewise.
35126 * libio/iovsprintf.c: Likewise.
35127 * libio/iovsscanf.c: Likewise.
35128 * libio/memstream.c: Likewise.
35129 * libio/obprintf.c: Likewise.
35130 * libio/oldfileops.c: Likewise.
35131 * libio/oldiofclose.c: Likewise.
35132 * libio/oldiofdopen.c: Likewise.
35133 * libio/oldiofopen.c: Likewise.
35134 * libio/oldiopopen.c: Likewise.
35135 * libio/oldstdfiles.c: Likewise.
35136 * libio/putc.c: Likewise.
35137 * libio/setbuf.c: Likewise.
35138 * libio/setlinebuf.c: Likewise.
35139 * libio/stdfiles.c: Likewise.
35140 * libio/strops.c: Likewise.
35141 * libio/vasprintf.c: Likewise.
35142 * libio/vscanf.c: Likewise.
35143 * libio/vsnprintf.c: Likewise.
35144 * libio/vswprintf.c: Likewise.
35145 * libio/wfiledoalloc.c: Likewise.
35146 * libio/wfileops.c: Likewise.
35147 * libio/wgenops.c: Likewise.
35148 * libio/wmemstream.c: Likewise.
35149 * libio/wstrops.c: Likewise.
35150 * libio/__fpurge.c: Likewise.
35151 * libio/__fsetlocking.c: Likewise.
35152 * assert/assert.c: Likewise.
35153 * debug/fgets_chk.c: Likewise.
35154 * debug/fgets_u_chk.c: Likewise.
35155 * debug/fread_chk.c: Likewise.
35156 * debug/fread_u_chk.c: Likewise.
35157 * debug/gets_chk.c: Likewise.
35158 * debug/obprintf_chk.c: Likewise.
35159 * debug/vasprintf_chk.c: Likewise.
35160 * debug/vdprintf_chk.c: Likewise.
35161 * debug/vsnprintf_chk.c: Likewise.
35162 * debug/vsprintf_chk.c: Likewise.
35163 * malloc/mtrace.c: Likewise.
35164 * misc/error.c: Likewise.
35165 * misc/syslog.c: Likewise.
35166 * stdio-common/asprintf.c: Likewise.
35167 * stdio-common/fxprintf.c: Likewise.
35168 * stdio-common/getw.c: Likewise.
35169 * stdio-common/isoc99_fscanf.c: Likewise.
35170 * stdio-common/isoc99_scanf.c: Likewise.
35171 * stdio-common/isoc99_vfscanf.c: Likewise.
35172 * stdio-common/isoc99_vscanf.c: Likewise.
35173 * stdio-common/isoc99_vsscanf.c: Likewise.
35174 * stdio-common/printf-prs.c: Likewise.
35175 * stdio-common/printf_fp.c: Likewise.
35176 * stdio-common/printf_fphex.c: Likewise.
35177 * stdio-common/printf_size.c: Likewise.
35178 * stdio-common/putw.c: Likewise.
35179 * stdio-common/scanf.c: Likewise.
35180 * stdio-common/sprintf.c: Likewise.
35181 * stdio-common/tmpfile.c: Likewise.
35182 * stdio-common/vfprintf.c: Likewise.
35183 * stdio-common/vfscanf.c: Likewise.
35184 * stdlib/strfmon_l.c: Likewise.
35185 * sunrpc/openchild.c: Likewise.
35186 * sunrpc/xdr_stdio.c: Likewise.
35187 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35188 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35190 2012-05-24 Roland McGrath <roland@hack.frob.com>
35192 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35194 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35195 in the third column, to generate for the shared library an IFUNC
35196 that uses _dl_vdso_vsym.
35197 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35198 * Makeconfig (object-suffixes-noshared): New variable.
35200 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35201 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35202 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35203 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35206 * include/sys/time.h (__gettimeofday): Remove macro.
35207 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35208 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35210 (__gettimeofday): Add libc_hidden_def.
35211 (gettimeofday): Add libc_hidden_weak.
35212 * sysdeps/mach/gettimeofday.c: Likewise.
35213 * sysdeps/posix/gettimeofday.c: Likewise.
35214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35215 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35217 (__gettimeofday_internal): Remove strong_alias.
35218 (__gettimeofday): Add libc_hidden_def.
35219 (gettimeofday): Add libc_hidden_weak.
35220 * sysdeps/unix/syscalls.list (gettimeofday):
35221 Remove __gettimeofday_internal alias.
35223 2012-05-24 Daniel Jacobowitz <drow@false.org>
35224 H.J. Lu <hongjiu.lu@intel.com>
35227 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35228 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35229 (largebin_index_32_big): New.
35230 (largebin_index): Use it for 16-byte alignment.
35231 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35232 correction with front_misalign.
35234 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35262 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35263 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35265 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35269 * math/libm-test.inc (exp_test): Add test from bug 14036.
35270 (pow_test): Add test from bug 10846.
35272 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35274 (special_function): Do not include flags in test name.
35275 (parse_args): Likewise.
35276 * sysdeps/i386/fpu/libm-test-ulps: Update.
35277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35279 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35282 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35284 * math/libm-test.inc ("Philosophy"): Update comment about
35286 (UNDERFLOW_EXCEPTION): New macro.
35287 (UNDERFLOW_EXCEPTION_OK): Likewise.
35288 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35289 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35290 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35291 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35292 (INVALID_EXCEPTION_OK): Update value.
35293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35294 (OVERFLOW_EXCEPTION_OK): Likewise.
35295 (IGNORE_ZERO_INF_SIGN): Likewise.
35296 (test_exceptions): Handle underflow exceptions.
35297 (acos_test): Update for underflow exception expectations.
35298 (cexp_test): Likewise.
35299 (clog_test): Likewise.
35300 (clog10_test): Likewise.
35301 (csqrt_test): Likewise.
35302 (ctan_test): Likewise.
35303 (ctanh_test): Likewise.
35304 (exp_test): Likewise.
35305 (exp10_test): Likewise.
35306 (exp2_test): Likewise.
35307 (expm1_test): Likewise.
35308 (fma_test): Likewise.
35309 (j0_test): Likewise.
35310 (jn_test): Likewise.
35311 (nexttoward_test): Likewise.
35312 (pow_test): Likewise.
35313 (scalbn_test): Likewise.
35314 (scalbln_test): Likewise.
35315 (tan_test): Likewise.
35316 (y1_test): Likewise.
35317 * sysdeps/i386/fpu/libm-test-ulps: Update.
35318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320 2012-05-23 David S. Miller <davem@davemloft.net>
35322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35323 (__libc_sigaction): Remove unused local variables.
35325 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35327 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35329 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35331 mktime: avoid signed integer overflow
35332 * time/mktime.c (__mktime_internal): Do not mishandle the case
35333 where diff == INT_MIN.
35335 mktime: simplify computation of average
35336 * time/mktime.c (ranged_convert): Use new time_t_avg function
35337 instead of rolling our own (probably-slower) code.
35339 mktime: do not assume signed right shift propagates sign bit
35340 * time/mktime.c (isdst_differ): New static function.
35341 (__mktime_internal): No need to normalize tm_isdst now.
35342 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35345 mktime: merge another wrapv change from gnulib
35346 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35347 from some compilers.
35349 mktime: remove incorrect attempt at unusual arithmetics
35350 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35351 The code didn't really work on such machines anyway.
35352 (TYPE_MINIMUM): Assume two's complement.
35353 (twos_complement_arithmetic): Verify that long_int and time_t
35354 are two's complement (or unsigned, in the latter case).
35356 mktime: check signed shifts on long_int and time_t, too
35357 * time/mktime.c (SHR): Check that shifts work as desired
35358 on the types long_int and time_t too, as SHR is used on
35361 mktime: do not assume 'long' is wide enough
35362 * time/mktime.c (verify): Move decl up.
35363 (long_int): New type.
35364 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35365 to remove assumption in the code that 'long' is wide enough to
35366 store year values. This assumption is not true on x32 and on
35367 some non-glibc platforms.
35369 mktime: merge wrapv change from gnulib
35370 * time/mktime.c (WRAPV): New macro.
35371 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35372 (guess_time_tm, __mktime_internal): Do not assume that signed
35373 integer overflow wraps around; modern compilers generate code
35374 where this assumption is no longer valid.
35376 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35378 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35379 Replace "jmp L(pseudo_end)" with "ret".
35380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35383 2012-05-23 Andreas Jaeger <aj@suse.de>
35385 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35386 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35388 2012-05-23 Andreas Jaeger <aj@suse.de>
35389 Maximilian Attems <max@stro.at>
35391 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35394 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35397 code so that pseudo_end is just ret and the stack pointer is
35398 correct also for static library in error case.
35400 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35402 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35403 move to syscalls.list.
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35409 * manual/install.texi (Running make install): Do not mention Linux
35410 kernel version for which pt_chown is not needed.
35411 (Linux): Do not mention problems with nscd with 2.0 kernels.
35412 * INSTALL: Regenerated.
35414 2012-05-23 Andreas Jaeger <aj@suse.de>
35416 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35417 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35419 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35421 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35423 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35429 * sysdeps/unix/sysv/linux/bits/in.h
35430 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35432 2012-05-22 Roland McGrath <roland@hack.frob.com>
35434 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35435 (PREPARE_VERSION): Just use assert instead, it will be elided
35436 under [NDEBUG] anyway.
35438 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/unix/sysv/linux/Makefile: Include
35441 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35442 (sysdep_routines): Remove sysctl.
35443 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35444 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35445 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35446 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35447 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35449 2012-05-22 Andreas Jaeger <aj@suse.de>
35451 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35452 that pseudo_end is just ret and the stack pointer is correct also
35453 for static library in error case.
35455 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35458 * nss/nsswitch.c (defconfig_entries): New variable.
35459 (__nss_database_lookup): Don't leak defconfig entries.
35460 (nss_parse_service_list): Don't leak on error paths.
35461 (free_database_entries): New function.
35462 (free_defconfig): New function.
35463 (free_mem): Move common code to free_database_entries.
35465 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35469 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35471 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35472 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35475 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35476 (INTERNAL_SYSCALL_TYPES): Likewise.
35477 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35478 (LOAD_REGS_TYPES_[1-6]): Likewise.
35479 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35480 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35482 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35484 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35485 copysignl for GLIBC_2_0.
35486 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35487 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35489 logbl for GLIBC_2_0.
35490 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35491 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35493 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35496 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35498 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35501 * time/mktime.c: Update copyright years.
35503 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35505 mktime: merge comment-quoting-style change from gnulib
35506 * time/mktime.c: Quote 'like this' in comments.
35507 The GNU coding standards suggest that we no longer quote `like this',
35508 as "`" and "'" are typically rendered asymmetrically nowadays.
35509 The typical gnulib style is to quote 'like this' when quoting
35510 code, and "like this" when quoting English.
35512 * time/mktime.c (compile-command): Add "-I.".
35514 mktime: merge mktime-internal.h change from gnulib
35515 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35517 mktime: merge time_r change from gnulib
35518 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35520 mktime: merge DEBUG change from gnulib
35521 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35522 case system <time.h> has a #define.
35524 mktime: merge <sys/types.h> change from gnulib
35525 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35526 since <time.t> is now guaranteed to define time_t.
35528 mktime: merge HAVE_CONFIG_H change from gnulib
35529 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35531 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35536 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35538 (struct rusage): Use anonymous union to pad each field to
35541 2012-05-21 David S. Miller <davem@davemloft.net>
35543 * Makefules (o-iterator): Remove .s cases.
35544 (compile-command.s): Delete.
35545 (COMPILE.s): Delete.
35546 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35548 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35550 * configure.in (libc_cv_predef_stack_protector): Only consider
35551 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35552 * configure: Regenerated.
35554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35557 New macro. Use R*LP on int and pointer.
35558 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35559 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35560 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35561 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35563 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35564 [__WORDSIZE_TIME64_COMPAT32] instead of
35565 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35566 (struct utmp): Likewise.
35567 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35568 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35570 (__WORDSIZE_TIME64_COMPAT32): This.
35571 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35572 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35573 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35574 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35575 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35576 (__WORDSIZE_TIME64_COMPAT32): New macro.
35578 2012-05-21 Andreas Jaeger <aj@suse.de>
35580 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35581 only if [SHARED]. Add prototype for __wcschr_ia32.
35583 2012-05-21 Roland McGrath <roland@hack.frob.com>
35585 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35586 of %rbp unmolested in the jmp_buf while mangling the low bits.
35587 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35588 unmolested high bits of %rbp while demangling the low bits.
35589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35591 2012-05-21 Andreas Jaeger <aj@suse.de>
35593 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35594 * sunrpc/svc_simple.c: Use it for registerrpc.
35595 * sunrpc/xcrypt.c: Use it for passwd2des.
35597 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35599 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35601 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35602 Don't define if [__SYSCALL_WORDSIZE != 32].
35603 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35606 2012-05-21 Bruno Haible <bruno@clisp.org>
35607 Andreas Jaeger <aj@suse.de>
35609 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35610 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35611 inptr and inend for must_buffer_ch.
35612 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35613 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35614 * stdio-common/Makefile (tests): Remove bug15.
35615 (bug15-ENV): Remove macro.
35616 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35619 2012-05-19 Andreas Jaeger <aj@suse.de>
35620 Roland McGrath <roland@hack.frob.com>
35622 * manual/contrib.texi: Completely rewritten. It contains now an
35623 alphabetical list of contributors and their contributions.
35625 2012-05-21 Richard Henderson <rth@twiddle.net>
35627 * misc/getauxval.c (__getauxval): Use unsigned long int.
35628 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35629 (getauxval): Use unsigned long int.
35631 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35633 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35635 2012-05-21 Roland McGrath <roland@hack.frob.com>
35637 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35638 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35639 __alignof__ (long double).
35641 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35645 2012-05-20 Richard Henderson <rth@twiddle.net>
35647 * misc/getauxval.c: New file.
35648 * misc/sys/auxv.h: New file.
35649 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35650 (routines): Add getauxval.
35651 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35652 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35653 * elf/dl-sysdep.c (_dl_auxv): Remove.
35654 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35655 * elf/dl-support.c (_dl_auxv): New variable.
35656 (_dl_aux_init): Initialize it.
35657 * manual/startup.texi (Auxiliary Vector): New node.
35658 * sysdeps/generic/bits/hwcap.h: New file.
35659 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35660 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35661 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35662 * sysdeps/sparc/sysdep.h: ... here. Include it.
35663 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35676 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35680 2012-05-19 David S. Miller <davem@davemloft.net>
35682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35684 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35687 * math/s_ccosh.c: Include <float.h>
35688 (__ccosh): Avoid internal overflow calculating sinh and cosh
35689 values before multiplying by sin and cos values.
35690 * math/s_ccoshf.c: Likewise.
35691 * math/s_ccoshl.c: Likewise.
35692 * math/s_csin.c: Likewise.
35693 * math/s_csinf.c: Likewise.
35694 * math/s_csinl.c: Likewise.
35695 * math/s_csinh.c: Likewise.
35696 * math/s_csinhf.c: Likewise.
35697 * math/s_csinhl.c: Likewise.
35698 * math/libm-test.inc (ccos_test): Add more tests.
35699 (ccosh_test): Likewise.
35700 (csin_test): Likewise.
35701 (csinh_test): Likewise.
35702 * sysdeps/i386/fpu/libm-test-ulps: Update.
35703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35705 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35707 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35708 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35710 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35712 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35714 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35715 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35716 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35717 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35718 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35719 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35720 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35721 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35722 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35723 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35724 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35725 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35726 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35727 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35728 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35729 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35730 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35731 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35732 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35733 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35734 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35735 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35736 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35737 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35738 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35739 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35740 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35741 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35742 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35743 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35744 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35746 2012-05-18 Andreas Jaeger <aj@suse.de>
35748 * csu/.gitignore: Delete.
35750 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35752 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35753 (timex): Use __syscall_slong_t.
35755 2012-05-18 Andreas Jaeger <aj@suse.de>
35756 Carlos O'Donell <carlos_odonell@mentor.com>
35758 * manual/install.texi (Configuring and compiling): Update
35759 description about files modified in the source directory.
35760 * INSTALL: Regenerated.
35762 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35764 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35765 value. Use "or" to set return value to -1.
35766 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35767 negate return value.
35769 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35771 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35772 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35773 failure if the compiler has Graphite support disabled.
35774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35776 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35777 (CFLAGS-memmove.c): Likewise.
35778 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35781 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35783 * sysdeps/x86_64/x32/_itoa.h: New file.
35785 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35786 getdents system call only if kernel and user dirents have the
35787 same d_ino and d_off.
35789 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35790 LLONG_MAX != LONG_MAX.
35791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35792 (_fitoa_word): Likewise.
35794 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35796 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35797 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35801 include <bits/wordsize.h>. Check __x86_64__ instead of
35803 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35804 if __x86_64__ is defined. Use anonymous union on fpstate.
35806 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35809 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35811 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35812 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35813 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35814 Refer to _rtld_local_ro instead of _rtld_global_ro.
35815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35817 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35819 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35821 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35822 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35823 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35825 * sysdeps/powerpc/powerpc32/dl-machine.c
35826 (__elf_machine_runtime_setup) [PROF]: Don't reference
35829 2012-05-18 Andreas Jaeger <aj@suse.de>
35831 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35832 function only available for GCCs before 3.4 since GCC 3.4
35833 introduced a builtin.
35835 (llrintf): Likewise.
35836 (llrint): Likewise.
35843 (nearbyint): Likewise.
35844 (nearbyintf): Likewise.
35848 (floorf): Likewise.
35850 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35852 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35853 on both fields and cast pointer to __syscall_ulong_t.
35855 * bits/types.h (__fsword_t): New type.
35856 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35857 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35859 (__FSWORD_T_TYPE): Likewise.
35860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35861 (__FSWORD_T_TYPE): Likewise.
35862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35863 (__FSWORD_T_TYPE): Likewise.
35864 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35865 (__FSWORD_T_TYPE): Likewise.
35866 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35867 __SWORD_TYPE with __fsword_t.
35868 (statfs64): Likewise.
35870 2012-05-17 David S. Miller <davem@davemloft.net>
35872 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35874 2012-05-17 Andreas Jaeger <aj@suse.de>
35876 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35879 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35881 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35883 2012-05-17 Andreas Jaeger <aj@suse.de>
35885 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35888 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35890 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35892 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35894 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35895 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35897 2012-05-17 Andreas Jaeger <aj@suse.de>
35898 Carlos O'Donell <carlos_odonell@mentor.com>
35901 * sysdeps/x86_64/multiarch/init-arch.h
35902 (bit_YMM_Usable): Rename to...
35903 (bit_AVX_Usable): ... this.
35904 (bit_FMA4_Usable): New macro.
35905 (bit_XMM_state): New macro.
35906 (bit_YMM_state): New macro.
35907 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35908 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35909 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35910 (CPUID_OSXSAVE): New macro.
35911 (CPUID_AVX): New macro.
35912 (CPUID_FMA4): New macro.
35913 (index_YMM_Usable): Rename to...
35914 (index_AVX_Usable): ... this.
35915 (HAS_AVX): Use HAS_ARCH_FEATURE.
35916 (HAS_FMA4): Likewise.
35917 (HAS_YMM_USABLE): Remove.
35918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35919 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35921 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35922 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35923 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35924 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35925 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35927 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35929 * math/libm-test.c: Support platforms without multiple rounding modes.
35930 * math/bug-nextafter.c: Support platforms without FP exceptions.
35931 * math/bug-nexttoward.c: Likewise.
35932 * math/test-fenv.c: Likewise.
35933 * math/test-misc.c: Likewise.
35934 * stdlib/bug-getcontext.c: Likewise.
35936 2012-05-17 Andreas Jaeger <aj@suse.de>
35938 * manual/examples/search.c (critter_cmp): Change signature to
35940 * manual/string.texi (Collation Functions): Likewise.
35942 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35944 * bits/types.h: Fold copyright years.
35945 * bits/typesizes.h: Likewise.
35946 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35950 * time/time.h: Likewise.
35952 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35955 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35956 in instead of returning them. Return void.
35957 (__libc_mallinfo): Accumulate over all arenas.
35958 (__malloc_stats): Adjust for change in int_mallinfo interface.
35960 2012-05-16 Roland McGrath <roland@hack.frob.com>
35963 * configure.in (NM): Add AC_CHECK_TOOL for it.
35964 (libc_extra_cflags): New substituted variable.
35965 Check for -fstack-protector being used implicitly.
35966 * configure: Regenerated.
35967 * config.make.in (config-extra-cflags): New variable,
35968 gets @libc_extra_cflags@.
35969 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35972 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35973 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35974 * configure: Regenerated.
35975 * config.make.in (CPPUNDEFS): New substituted variable.
35976 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35977 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35978 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35980 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35982 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35983 (mq_attr): Use __syscall_slong_t.
35985 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35988 Check __x86_64__ instead of __WORDSIZE.
35989 (_STAT_VER_LINUX): Likewise.
35990 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35991 __syscall_ulong_t and __syscall_slong_t.
35992 (stat64): Likewise.
35994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36000 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36002 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36004 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36007 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36008 include <bits/wordsize.h>. Check __x86_64__ instead of
36010 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36012 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36014 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36015 include <bits/wordsize.h>. Check __x86_64__ instead of
36017 (user_regs_struct): Use "__extension__ unsigned long long"
36018 instead of "unsigned long" if __x86_64__ is defined.
36019 (user): Likewise. Pad after pointer field if __ILP32__ is
36022 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36024 * configure.in (makeinfo): Require version 4.5 or later. Allow
36026 * configure: Regenerated.
36027 * manual/install.texi (texinfo): Increase version requirement to
36029 * INSTALL: Regenerated.
36031 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36033 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36035 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36037 * sysdeps/x86_64/x32/ffs.c: New file.
36039 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36041 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36042 defined. Use __syscall_ulong_t.
36043 (shminfo): Use __syscall_ulong_t.
36044 (shm_info): Likewise.
36046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36049 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36051 (msgqnum_t): Use __syscall_ulong_t.
36052 (msglen_t): Likewise.
36053 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36056 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36057 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36059 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36061 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36062 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36064 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36067 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36068 include <bits/wordsize.h>. Check __x86_64__ instead of
36071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36072 "unsigned long long int" if __x86_64__ is defined.
36073 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36075 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36076 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36077 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36079 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36081 (GET_PC): Cast to uintptr_t first.
36082 (GET_FRAME): Likewise.
36083 (GET_STACK): Likewise.
36085 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36087 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36088 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36089 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36090 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36091 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36092 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36093 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36096 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36097 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36098 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36099 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36100 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36101 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36102 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36105 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36113 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36115 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36117 * Makerules (+depfiles): Also collect depfiles from .oS in
36119 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36120 .oS, $(libnldbl-routines)).
36122 * Makerules (native-compile-mkdep-flags): Define.
36123 * sunrpc/Makefile (extra-objs): Add $(addprefix
36124 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36125 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36126 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36127 calling $(make-target-directory).
36129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36131 * bits/types.h (__snseconds_t): Removed.
36132 * time/time.h (struct timespec): Replace __snseconds_t with
36134 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36135 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36138 (__SNSECONDS_T_TYPE): Likewise.
36139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36140 (__SNSECONDS_T_TYPE): Likewise.
36141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36142 (__SNSECONDS_T_TYPE): Likewise.
36144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36146 * sysdeps/mach/hurd/bits/typesizes.h
36147 (__SYSCALL_SLONG_TYPE): New macro.
36148 (__SYSCALL_ULONG_TYPE): Likewise.
36150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36152 * bits/types.h (__syscall_slong_t): New type.
36153 (__syscall_ulong_t): Likewise.
36155 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36156 (__SYSCALL_ULONG_TYPE): Likewise.
36157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36158 (__SYSCALL_SLONG_TYPE): Likewise.
36159 (__SYSCALL_ULONG_TYPE): Likewise.
36160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36161 (__SYSCALL_SLONG_TYPE): Likewise.
36162 (__SYSCALL_ULONG_TYPE): Likewise.
36163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36164 (__SYSCALL_SLONG_TYPE): Likewise.
36165 (__SYSCALL_ULONG_TYPE): Likewise.
36167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36169 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36170 Add sigaltstack-offsets.sym.
36171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36172 <sigaltstack-offsets.h>.
36173 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36174 longjmp_msg pointer.
36175 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36176 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36178 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36180 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36182 * elf/stackguard-macros.h: Remove file.
36183 * sysdeps/generic/stackguard-macros.h: New file.
36184 * sysdeps/i386/stackguard-macros.h: Likewise.
36185 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36186 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36187 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36188 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36189 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36190 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36191 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36192 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36193 <elf/stackguard-macros.h>.
36196 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36197 __aligned__ in attribute.
36198 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36199 (gregset_t): Likewise.
36201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36204 * sysdeps/x86_64/64/Implies-after: Here. New file.
36205 * sysdeps/x86_64/x32/Implies-after: New file.
36207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36209 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36210 and access return value for _dl_profile_fixup. Use R10_LP to
36213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36215 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36219 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36220 * sysdeps/x86_64/x32/sysdep.h: New file.
36222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36224 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36225 * sysdeps/x86_64/setjmp.S: Likewise.
36227 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36229 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36230 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36231 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36233 remove unused global constant.
36235 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36237 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36238 include of <not-cancel.h>.
36240 2012-05-15 Roland McGrath <roland@hack.frob.com>
36242 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36244 2012-05-15 Jeff Law <law@redhat.com>
36245 Andreas Jaeger <aj@suse.de>
36248 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36250 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36251 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36252 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36253 code changing __hst_map_handle.map.
36255 2012-05-15 Roland McGrath <roland@hack.frob.com>
36257 * configure.in (sysnames): Look for Implies-before and Implies-after
36259 * configure: Regenerated.
36261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36263 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36264 8-byte data alignment with LP_SIZE alignment.
36266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36268 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36277 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36278 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36279 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36285 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36286 (stackinfo_sub_sp): Likewise.
36288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36290 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36295 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36305 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36309 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36310 into R11_LP and load __x86_64_shared_cache_size_half into
36313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36315 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36318 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36327 powerpc32/power7/fpu/s_logb.c via #include.
36328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36329 powerpc32/power7/fpu/s_logbf.c via #include.
36330 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36331 powerpc32/power7/fpu/s_logbl.c via #include.
36333 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36335 * README.libm: Remove file.
36337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36339 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36340 count for x32. Use R*_LP and omit operand-size suffix.
36342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36344 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36345 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36346 * sysdeps/x86_64/x32/shlib-versions: New file.
36348 2012-05-14 Roland McGrath <roland@hack.frob.com>
36350 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36351 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36352 Use _dl_fatal_printf instead.
36354 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36356 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36357 set if not set by the user. Do not allow for being unset.
36358 * sysdeps/unix/sysv/linux/configure: Regenerated.
36360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36362 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36363 the `q' suffix from lea and replace .quad with ASM_ADDR.
36365 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36368 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36370 (PTR_DEMANGLE): Likewise.
36372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36374 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36376 (ASM_ADDR): Likewise.
36377 (RAX_LP): Likewise.
36378 (RBP_LP): Likewise.
36379 (RBX_LP): Likewise.
36380 (RCX_LP): Likewise.
36381 (RDI_LP): Likewise.
36382 (RSI_LP): Likewise.
36383 (RSP_LP): Likewise.
36386 (R10_LP): Likewise.
36387 (R10_LP): Likewise.
36388 (R11_LP): Likewise.
36389 (R12_LP): Likewise.
36390 (R13_LP): Likewise.
36391 (R14_LP): Likewise.
36392 (R15_LP): Likewise.
36394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36396 * sysdeps/x86_64/x32/dl-machine.h: New file.
36398 2012-05-14 Andreas Jaeger <aj@suse.de>
36400 * manual/Makefile (subdir): Remove export of subdir.
36401 (all): Remove target.
36402 (.PHONY): Remove all from list.
36403 (mkinstalldirs): Remove.
36404 (.PHONY): Remove installdirs from list.
36405 ($(inst_infodir)/libc.info): Use make-target-directory.
36406 (installdirs): Remove.
36407 (subdir_%): Remove.
36408 (glibc-targets): Remove.
36411 ($(objpfx)stubs ../po/manual.pot): Remove.
36412 ($(objpfx)stamp%): Remove.
36413 (make-target-directory): Remove.
36414 (subdir_install): Remove.
36415 (routines): Remove.
36422 * manual/.gitignore: Remove, it's not needed anymore.
36423 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36425 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36427 (texis): Renamed to $(objpfx)texis.
36428 (texis-path): New, contains path to generated files.
36429 (chapters.%): Use texis-path for complete path, add extra argument
36431 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36432 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36433 (summary,texi, stamp-summary): Use complete path of
36434 files. Generate files in build dir.
36435 (dir-add.texi): Build in build dir.
36436 (libm-err.texi,stamp-libm-err): Likewise.
36437 (version.texi, stamp-version): Likewise.
36438 (.%c.texi): Likewise.
36439 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36440 (mostlyclean): Remove target.
36441 (realclean): Remove target.
36442 (generated): Add new variable with contents from mostlyclean and
36443 realclean, remove entries duplicated in common-mostlyclean, add
36444 stamp-libm-err and stamp-version.
36445 (generated-dirs): Add libc directory.
36446 ($(inst_infodir)/libc.info): Install files from build dir.
36448 * manual/install.texi (Configuring and compiling): Adjust since
36449 the info files are not part of the tar ball anymore.
36451 2012-05-14 Andreas Jaeger <aj@suse.de>
36453 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36456 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36460 to 2.2.0 where earlier.
36461 * sysdeps/unix/sysv/linux/configure: Regenerated.
36462 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36463 Remove conditional code.
36464 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36465 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36466 Remove conditional code.
36467 [!__NR_lchown]: Likewise.
36468 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36469 [__NR_lchown]: Likewise.
36470 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36471 comment referencing __ASSUME_LCHOWN_SYSCALL.
36472 * sysdeps/unix/sysv/linux/i386/sigaction.c
36473 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36474 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36475 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36476 Remove conditional code.
36477 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36478 (__protocol_available): Remove #if 0 code.
36479 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36481 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36482 * sysdeps/unix/sysv/linux/kernel-features.h
36483 (__ASSUME_GETCWD_SYSCALL): Don't define.
36484 (__ASSUME_REALTIME_SIGNALS): Likewise.
36485 (__ASSUME_PREAD_SYSCALL): Likewise.
36486 (__ASSUME_PWRITE_SYSCALL): Likewise.
36487 (__ASSUME_POLL_SYSCALL): Likewise.
36488 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36489 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36491 (__ASSUME_SIOCGIFNAME): Don't define.
36492 (__ASSUME_MSG_NOSIGNAL): Likewise.
36493 (__ASSUME_SENDFILE): Define unconditionally.
36494 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36495 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36497 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36498 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36499 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36500 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36501 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36502 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36503 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36505 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36508 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36514 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36517 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36520 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36523 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36528 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36529 Remove conditional code.
36530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36531 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36532 Remove conditional code.
36533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36534 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36535 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36536 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36537 Remove conditional code.
36538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36539 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36540 Remove conditional code.
36541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36542 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36543 Remove conditional code.
36544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36545 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36546 Remove conditional code.
36547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36548 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36549 Remove conditional code.
36550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36551 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36554 * sysdeps/unix/sysv/linux/sigaction.c
36555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36557 * sysdeps/unix/sysv/linux/sigpending.c
36558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36560 * sysdeps/unix/sysv/linux/sigprocmask.c
36561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36563 * sysdeps/unix/sysv/linux/sigsuspend.c
36564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36566 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36567 (__libc_missing_rt_sigs): Remove.
36568 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36569 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36570 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36571 Remove conditional code.
36572 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36573 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36576 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36577 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36578 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36580 2012-05-14 Andreas Jaeger <aj@suse.de>
36582 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36583 it's not used in glibc.
36584 (__coshm1): Likewise.
36585 (__acosh1p): Likewise.
36588 * manual/string.texi (Copying and Concatenation): Add missing
36589 variable in concat example.
36590 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36596 __builtin_clzl with __builtin_clzll.
36598 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36601 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36604 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36606 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36607 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36608 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36609 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36611 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36613 * NEWS: Update ia64 info.
36615 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36617 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36620 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36622 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36623 * sysdeps/unix/syscalls.list (dup3): Likewise.
36624 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36625 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36627 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36629 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36630 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36632 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36634 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36636 (TLS_IE): Use mov/add instead of movq/addq to load thread
36638 (TLS_GD_PREFIX): New.
36641 2012-05-11 David S. Miller <davem@davemloft.net>
36643 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36644 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36645 (_FPU_SETCW): Likewise.
36647 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36649 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36650 is 32-byte aligned.
36652 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36655 * iconvdata/gb18030.c: Update tables.
36656 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36657 characters specially.
36658 (BODY for TO_LOOP): Add encoding of missing ranges.
36660 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36663 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36664 * sysdeps/mach/hurd/dup3.c: Likewise.
36665 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36666 * sysdeps/powerpc/memmove.c:: Likewise.
36668 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36671 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36673 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36675 * elf/elf.h (R_X86_64_RELATIVE64): New.
36676 (R_X86_64_NUM): Updated.
36677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36678 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36679 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36680 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36681 tst-quad1pie tst-quad2pie
36682 (modules-names): Add tst-quadmod1 tst-quadmod2.
36683 ($(objpfx)tst-quad1): New dependency.
36684 ($(objpfx)tst-quad2): Likewise.
36685 ($(objpfx)tst-quad1pie): Likewise.
36686 ($(objpfx)tst-quad2pie): Likewise.
36687 * sysdeps/x86_64/tst-quad1.c: New file.
36688 * sysdeps/x86_64/tst-quad1pie.c: New file.
36689 * sysdeps/x86_64/tst-quad2.c: Likewise.
36690 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36691 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36692 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36693 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36694 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36698 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36699 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36700 * streams/stropts.h (t_scalar_t): Define type.
36702 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36703 (_PATH_PRESERVE): Set to "/var/lib".
36704 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36706 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36709 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36710 if __dir_mkfile succeeded.
36712 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36713 checking for _hurd_dtablesize. Unlock it right after having
36714 finished _hurd_dtable allocation.
36716 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36718 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36719 * sysdeps/mach/hurd/configure: Regenerated.
36720 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36721 special-casing to...
36722 * sysdeps/gnu/configure.in: ... this new file.
36723 * sysdeps/unix/sysv/linux/configure: Regenerated.
36724 * sysdeps/gnu/configure: New generated file.
36726 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36727 for Linux: use nsec instead of usec, as well as:
36728 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36729 members of type struct timespec.
36730 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36732 (struct stat64): Likewise.
36733 (_STATBUF_ST_NSEC): New macro.
36734 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36737 __strtoul_internal rather than strtoul.
36739 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36741 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36746 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36747 which preserves existing values.
36748 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36750 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36752 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36753 TIMEOUT values. Return EINVAL for NFDS values either negative or
36754 greater than FD_SETSIZE.
36756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36758 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36759 allocated, call __vm_protect to finish enabling the existing space, and
36760 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36761 allocate the remainder.
36763 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36765 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36766 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36770 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36771 sysdeps/mach/hurd/readlink.c.
36773 * posix/tst-sysconf.c (posix_options): Only use
36774 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36775 _POSIX_SYNCHRONIZED_IO when they are defined
36776 * sysdeps/mach/hurd/bits/posix_opt.h:
36777 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36778 (_XOPEN_REALTIME): Undefine macro.
36779 (_XOPEN_REALTIME_THREADS): Undefine macro.
36780 (_XOPEN_SHM): Undefine macro.
36781 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36783 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36785 (_POSIX_ASYNC_IO): Undefine macro.
36786 (_POSIX_PRIORITIZED_IO): Undefine macro.
36787 (_POSIX_SPIN_LOCKS): Define macro to -1.
36789 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36790 SA_NODEFER, SA_RESETHAND.
36791 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36792 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36797 * elf/Makefile (pldd-modules): Define unconditionally.
36799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36801 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36805 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36806 Return ENOENT when name is empty.
36807 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36811 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36813 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36817 Fix mlock in all cases except non-readable pages.
36818 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36819 instead of VM_PROT_ALL as parameter to __vm_wire function.
36821 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36822 (__mkdir): When path is `/', just fail with EEXIST.
36823 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36827 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36828 <sys/uio.h> (for writev).
36829 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36830 and <sys/param.h> (for MIN).
36832 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36834 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36835 REQUESTED_TIME. Properly set the remaining time and return EINTR
36838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36840 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36841 Depend on against $(link-rpcuserlibs).
36843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36845 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36846 (__libc_stack_end): Do not use attribute_relro.
36847 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36848 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36849 to libthread-provided value.
36850 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36856 * bits/libc-lock.h (__libc_once_get): New macro.
36857 * sysdeps/mach/bits/libc-lock.h: Likewise.
36858 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36860 instead of using implementation details.
36862 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36863 * libio/freopen.c: Likewise.
36864 * libio/freopen64.c: Likewise.
36865 * misc/syslog.c: Likewise.
36866 * nscd/connections.c: Likewise.
36867 * nscd/netgroupcache.c: Likewise.
36868 * sysdeps/posix/getcwd.c: Likewise.
36870 2012-05-10 Roland McGrath <roland@hack.frob.com>
36872 * math/w_ilogbf.c: Add #include <limits.h>.
36874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36876 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36877 path instead of returning without unlocking.
36879 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36880 immediate-write ioctls.
36881 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36883 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36885 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36886 __builtin_frame_address instead of making assumptions about the
36887 location of the return address relative to DATA. Force early load of
36888 the return address.
36889 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36890 __builtin_frame_address.
36893 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36894 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36895 implement dup3 and do some further code clean-ups.
36896 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36897 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36901 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36903 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36904 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36905 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36906 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36907 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36910 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36911 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36912 when handler == SIG_ERR, not when handler != SIG_ERR.
36914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36916 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36917 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36920 accept4 for GNU Hurd.
36921 * include/sys/socket.h (__libc_accept4): New prototype.
36922 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36923 to implement __libc_accept4.
36924 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36926 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36928 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36929 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36930 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36931 signal-defines.sym.
36933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36935 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36939 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36940 assertion on O_CLOEXEC flag.
36941 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36942 * hurd/intern-fd.c: Likewise.
36943 * hurd/port2fd.c: Likewise.
36945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36948 * bits/in.h (IPV6_PKTINFO): Define new macro.
36949 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36951 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36956 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36958 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36959 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36961 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36962 * math/libm-test.inc (logb_test) : Additional logb tests.
36964 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36965 Andreas Jaeger <aj@suse.de>
36967 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36968 * configure: Regenerated.
36969 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36970 * config.make.in (link-obsolete-rpc): New substituted variable.
36971 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36972 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36973 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36974 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36975 so that libc.a contains the symbols.
36976 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36977 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36978 * sunrpc/auth_none.c: Likewise.
36979 * sunrpc/auth_unix.c: Likewise.
36980 * sunrpc/authdes_prot.c: Likewise.
36981 * sunrpc/authuxprot.c: Likewise.
36982 * sunrpc/clnt_gen.c: Likewise.
36983 * sunrpc/clnt_perr.c: Likewise.
36984 * sunrpc/clnt_raw.c: Likewise.
36985 * sunrpc/clnt_simp.c: Likewise.
36986 * sunrpc/clnt_tcp.c: Likewise.
36987 * sunrpc/clnt_udp.c: Likewise.
36988 * sunrpc/clnt_unix.c: Likewise.
36989 * sunrpc/des_crypt.c: Likewise.
36990 * sunrpc/des_soft.c: Likewise.
36991 * sunrpc/get_myaddr.c: Likewise.
36992 * sunrpc/key_call.c: Likewise.
36993 * sunrpc/key_prot.c: Likewise.
36994 * sunrpc/netname.c: Likewise.
36995 * sunrpc/pm_getmaps.c: Likewise.
36996 * sunrpc/pm_getport.c: Likewise.
36997 * sunrpc/pmap_clnt.c: Likewise.
36998 * sunrpc/pmap_prot.c: Likewise.
36999 * sunrpc/pmap_prot2.c: Likewise.
37000 * sunrpc/pmap_rmt.c: Likewise.
37001 * sunrpc/publickey.c: Likewise.
37002 * sunrpc/rpc_cmsg.c: Likewise.
37003 * sunrpc/rpc_common.c: Likewise.
37004 * sunrpc/rpc_dtable.c: Likewise.
37005 * sunrpc/rpc_prot.c: Likewise.
37006 * sunrpc/rpc_thread.c: Likewise.
37007 * sunrpc/rtime.c: Likewise.
37008 * sunrpc/svc.c: Likewise.
37009 * sunrpc/svc_auth.c: Likewise.
37010 * sunrpc/svc_raw.c: Likewise.
37011 * sunrpc/svc_run.c: Likewise.
37012 * sunrpc/svc_tcp.c: Likewise.
37013 * sunrpc/svc_udp.c: Likewise.
37014 * sunrpc/svc_unix.c: Likewise.
37015 * sunrpc/svcauth_des.c: Likewise.
37016 * sunrpc/xcrypt.c: Likewise.
37017 * sunrpc/xdr.c: Likewise.
37018 * sunrpc/xdr_array.c: Likewise.
37019 * sunrpc/xdr_float.c: Likewise.
37020 * sunrpc/xdr_intXX_t.c: Likewise.
37021 * sunrpc/xdr_mem.c: Likewise.
37022 * sunrpc/xdr_rec.c: Likewise.
37023 * sunrpc/xdr_ref.c: Likewise.
37024 * sunrpc/xdr_sizeof.c: Likewise.
37025 * sunrpc/xdr_stdio.c: Likewise.
37027 2012-05-10 Roland McGrath <roland@hack.frob.com>
37029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37030 change. Update copyright years.
37032 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37034 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37036 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37037 Joseph Myers <joseph@codesourcery.com>
37038 Paul Pluzhnikov <ppluzhnikov@google.com>
37041 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37043 [cross-compiling] (extra-libs): Likewise.
37044 [cross-compiling] (extra-libs-others): Likewise.
37045 [cross-compiling] (librpcsvc-routines): Likewise.
37046 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37047 [cross-compiling] (omit-deps): Likewise.
37048 (sunrpc-CPPFLAGS): New variable.
37049 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37050 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37051 (cross-rpcgen-objs): New variable.
37052 (extra-objs): Append $(cross-rpcgen-objs).
37053 ($(cross-rpcgen-objs)): New rule.
37054 ($(objpfx)cross-rpcgen): Likewise.
37055 (rpcgen-cmd): Define to use $(built-program-file). Expand
37057 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37058 ($(objpfx)x%.stmp): Likewise.
37059 * sunrpc/proto.h [IS_IN_build] (_): Define.
37060 [IS_IN_build] (_libc_intl_domainname): Likewise.
37062 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37065 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37066 and R_X86_64_TPOFF64.
37068 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37070 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37071 sysdeps/unix/sysv/syscalls.list.
37074 * sysdeps/unix/sysv/syscalls.list: Remove file.
37076 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37079 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37080 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37081 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37082 (__LC_IDENTIFICATION): Make these macros useful in #if
37083 expressions, as required by C99.
37085 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37087 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37088 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37091 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37093 * stdlib/longlong.h: Updated from GCC.
37095 2012-05-09 Andreas Jaeger <aj@suse.de>
37097 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37098 default is first entry.
37099 (run_mode): Set type.
37100 (main): Remove informal message about syslog.
37101 (options): Fix typo.
37104 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37107 (llrintf): Likewise.
37108 (llrint): Likewise.
37111 (nearbyint): Likewise.
37112 (nearbyintf): Likewise.
37114 2012-05-09 Andreas Jaeger <aj@suse.de>
37115 Pedro Alves <palves@redhat.com>
37117 * nscd/nscd.c (run_mode): Use enum.
37118 (main): Cleanup coding style issue.
37120 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37121 Andreas Jaeger <aj@suse.de>
37123 * nscd/nscd.c (go_background): Replaced with...
37124 (run_mode): ... this.
37125 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37126 (options): Add -F --foreground.
37127 (main): Implement it.
37128 (parse_opt): Parse it.
37130 2012-05-09 Andreas Jaeger <aj@suse.de>
37133 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37134 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37135 -Wconversion warning.
37136 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37139 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37141 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37143 (LC_ALL): Use macro-int-constant.
37144 (LC_COLLATE): Likewise.
37145 (LC_CTYPE): Likewise.
37146 (LC_MESSAGES): Likewise.
37147 (LC_MONETARY): Likewise.
37148 (LC_NUMERIC): Likewise.
37149 (LC_TIME): Likewise.
37150 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37151 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37153 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37155 [C99-based standards] (float_t): Expect type.
37156 [C99-based standards] (double_t): Expect type.
37157 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37159 [C99-based standards] (HUGE_VALL): Likewise.
37160 [C99-based standards] (INFINITY): Likewise.
37161 [C99-based standards] (NAN): Likewise.
37162 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37163 [C99-based standards] (FP_NAN): Likewise.
37164 [C99-based standards] (FP_NORMAL): Likewise.
37165 [C99-based standards] (FP_SUBNORMAL): Likewise.
37166 [C99-based standards] (FP_ZERO): Likewise.
37167 [C99-based standards] (FP_FAST_FMA): Use
37168 optional-macro-int-constant. Specify type. Require == 1.
37169 [C99-based standards] (FP_FAST_FMAF): Likewise.
37170 [C99-based standards] (FP_FAST_FMAL): Likewise.
37171 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37172 [C99-based standards] (FP_ILOGBNAN): Likewise.
37173 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37175 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37176 [C99-based standards] (math_errhandling): Specify type.
37177 [ISO99 || ISO11] (signgam): Do not allow.
37178 [non-C99-based standards] (copysignf): Do not allow.
37179 [non-C99-based standards] (exp2f): Likewise.
37180 [non-C99-based standards] (log2f): Likewise.
37181 [non-C99-based standards] (modff): Allow.
37182 [non-C99-based standards] (erff): Do not allow.
37183 [non-C99-based standards] (erfcf): Likewise.
37184 [non-C99-based standards] (gammaf): Likewise.
37185 [non-C99-based standards] (hypotf): Likewise.
37186 [non-C99-based standards] (j0f): Likewise.
37187 [non-C99-based standards] (j1f): Likewise.
37188 [non-C99-based standards] (jnf): Likewise.
37189 [non-C99-based standards] (lgammaf): Likewise.
37190 [non-C99-based standards] (tgammaf): Likewise.
37191 [non-C99-based standards] (y0f): Likewise.
37192 [non-C99-based standards] (y1f): Likewise.
37193 [non-C99-based standards] (ynf): Likewise.
37194 [non-C99-based standards] (isnanf): Likewise.
37195 [non-C99-based standards] (acoshf): Likewise.
37196 [non-C99-based standards] (asinhf): Likewise.
37197 [non-C99-based standards] (atanhf): Likewise.
37198 [non-C99-based standards] (cbrtf): Likewise.
37199 [non-C99-based standards] (expm1f): Likewise.
37200 [non-C99-based standards] (ilogbf): Likewise.
37201 [non-C99-based standards] (log1pf): Likewise.
37202 [non-C99-based standards] (logbf): Likewise.
37203 [non-C99-based standards] (nextafterf): Likewise.
37204 [non-C99-based standards] (remainderf): Likewise.
37205 [non-C99-based standards] (rintf): Likewise.
37206 [non-C99-based standards] (scalbf): Likewise.
37207 [non-C99-based standards] (copysignl): Likewise.
37208 [non-C99-based standards] (exp2l): Likewise.
37209 [non-C99-based standards] (log2l): Likewise.
37210 [non-C99-based standards] (modfl): Allow.
37211 [non-C99-based standards] (erfl): Do not allow.
37212 [non-C99-based standards] (erfcl): Likewise.
37213 [non-C99-based standards] (gammal): Likewise.
37214 [non-C99-based standards] (hypotl): Likewise.
37215 [non-C99-based standards] (j0l): Likewise.
37216 [non-C99-based standards] (j1l): Likewise.
37217 [non-C99-based standards] (jnl): Likewise.
37218 [non-C99-based standards] (lgammal): Likewise.
37219 [non-C99-based standards] (tgammal): Likewise.
37220 [non-C99-based standards] (y0l): Likewise.
37221 [non-C99-based standards] (y1l): Likewise.
37222 [non-C99-based standards] (ynl): Likewise.
37223 [non-C99-based standards] (isnanl): Likewise.
37224 [non-C99-based standards] (acoshl): Likewise.
37225 [non-C99-based standards] (asinhl): Likewise.
37226 [non-C99-based standards] (atanhl): Likewise.
37227 [non-C99-based standards] (cbrtl): Likewise.
37228 [non-C99-based standards] (expm1l): Likewise.
37229 [non-C99-based standards] (ilogbl): Likewise.
37230 [non-C99-based standards] (log1pl): Likewise.
37231 [non-C99-based standards] (logbl): Likewise.
37232 [non-C99-based standards] (nextafterl): Likewise.
37233 [non-C99-based standards] (remainderl): Likewise.
37234 [non-C99-based standards] (rintl): Likewise.
37235 [non-C99-based standards] (scalbl): Likewise.
37236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37237 [non-C99-based standards] (FP_*): Do not allow.
37238 [C99-based standards] (FP_*): Change to
37239 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37240 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37242 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37243 (SIG_ERR): Likewise.
37244 [X/Open-based standards] (SIG_HOLD): Likewise.
37245 (SIG_IGN): Likewise.
37246 (SIGABRT): Use macro-int-constant. Specify type. Require
37248 (SIGFPE): Likewise.
37249 (SIGILL): Likewise.
37250 (SIGINT): Likewise.
37251 (SIGSEGV): Likewise.
37252 (SIGTER): Likewise.
37253 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37254 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37255 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37256 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37257 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37258 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37259 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37260 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37261 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37262 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37263 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37264 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37265 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37266 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37267 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37268 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37269 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37270 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37271 [X/Open-based standards] (SIGTRAP): Likewise.
37272 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37273 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37274 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37275 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37276 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37279 2012-05-08 Ian Wienand <ianw@vmware.com>
37282 * time/tzset.c (__tzset_parse_tz): Update default rules for
37283 daylight time changes in the Energy Policy Act of 2005.
37285 2012-05-09 Andreas Jaeger <aj@suse.de>
37288 * elf/ldconfig.c (parse_conf): Change string to make clear that
37289 ldconfig only issued a warning if ld.so.conf does not exist.
37291 2012-05-08 David S. Miller <davem@davemloft.net>
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37294 movxtod instead of popping the value on the stack.
37296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37298 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37300 * config.h.in: Add HAVE_ARM_PCS_VFP.
37302 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37305 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37306 checking but the checks are disabled for any reason.
37308 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37310 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37311 and ELF64_R_TYPE with ELFW(R_TYPE).
37313 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37315 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37316 (ulimit): Likewise.
37318 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37319 (settimeofday): Likewise.
37321 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37323 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37324 a struct th_u2 inside the union, and move tu_block/tu_code into
37325 a new th_u3 union of tu_block/tu_code inside of that. Move
37326 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37327 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37328 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37329 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37330 (th_stuff): Change to th_u1.tu_stuff.
37332 (th_msg): Change to th_u1.th_u2.tu_data.
37334 2012-05-07 David S. Miller <davem@davemloft.net>
37336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37339 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37340 (SETUP_PIC_REG): Use it.
37341 (SETUP_PIC_REG_LEAF): Use it.
37343 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37349 (EXPL_FINITE): Likewise.
37350 (FLDLOG): Likewise.
37351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37352 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37354 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37356 (EXPL_FINITE): Likewise.
37357 (FLDLOG): Likewise.
37358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37359 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37361 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37362 test of -max_value argument for long double.
37363 * sysdeps/i386/fpu/libm-test-ulps: Update.
37364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37366 2012-05-06 David S. Miller <davem@davemloft.net>
37368 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37369 quad soft-float symbols whose references which are compiler
37371 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37373 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37377 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37379 (EXPL_FINITE): Likewise.
37380 (FLDLOG): Likewise.
37383 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37384 Adjust comments for base varying.
37385 (__expl_finite): Change alias to EXPL_FINITE.
37386 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37388 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37389 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37391 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37394 (EXPL_FINITE): Likewise.
37395 (FLDLOG): Likewise.
37398 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37399 Adjust comments for base varying.
37400 (__expl_finite): Change alias to EXPL_FINITE.
37401 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37406 * math/libm-test.inc (check_float_internal): Correct ulp
37407 calculation for subnormal expected results.
37409 2012-05-06 Andreas Jaeger <aj@suse.de>
37411 * Makeconfig (+math-flags): New, set to -frounding-math.
37412 (+cflags): Add +math-flags so that all of glibc gets compiled with
37415 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37417 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37419 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37425 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37426 (__ieee754_expl): Allow for and saturate large arguments.
37427 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37428 (u_threshold): Likewise.
37429 (__exp): Call __ieee754_exp before checking for overflow and
37431 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37432 (u_threshold): Likewise.
37433 (__expf): Call __ieee754_expf before checking for overflow and
37435 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37436 (u_threshold): Likewise.
37437 (__expl): Call __ieee754_expl before checking for overflow and
37439 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37440 (__ieee754_expl): Allow for and saturate large arguments.
37441 * math/libm-test.inc (exp_test): Add another test. Do not allow
37442 missing overflow exception on overflow.
37443 (expm1_test): Do not allow missing overflow exception on overflow.
37445 * sysdeps/i386/fpu/e_expl.c: Move to ...
37446 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37447 rather than using inline asm.
37448 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37449 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37450 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37452 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37455 (signal): Likewise.
37459 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37461 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37462 sysdeps/unix/common/syscalls.list.
37463 (fchmod): Likewise.
37464 (fchown): Likewise.
37465 (ftruncate): Likewise.
37466 (getrusage): Likewise.
37467 (gettimeofday): Likewise.
37468 (setpgid): Likewise.
37469 (setregid): Likewise.
37470 (setreuid): Likewise.
37471 (sigaction): Likewise.
37472 (truncate): Likewise.
37473 (vhangup): Likewise.
37474 * sysdeps/unix/common/syscalls.list: Remove file.
37475 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37476 * sysdeps/unix/sysv/linux/Implies: Likewise.
37478 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37480 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37482 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37486 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37489 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37492 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37495 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37498 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37501 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37504 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37508 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37512 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37515 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37519 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37523 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37525 * sysdeps/unix/common/bits/dirent.h: Remove file.
37526 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37528 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37529 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37530 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37531 * sysdeps/unix/bsd/isatty.c: Likewise.
37532 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37533 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37534 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37536 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37540 long double comparison inaccuracies.
37541 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37544 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37546 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37549 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37552 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37553 nonzero digits before rounding a hex value.
37554 * stdlib/tst-strtod.c (tests): Add another test.
37556 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37558 * sysdeps/s390/fpu/libm-test-ulps: Update.
37560 2012-05-03 Andreas Jaeger <aj@suse.de>
37562 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37563 does not get optimized out.
37564 (malloc_opt_barrier): New.
37566 2012-05-03 Andreas Jaeger <aj@suse.de>
37567 Roland McGrath <roland@hack.frob.com>
37569 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37570 intermediate file deletion.
37571 (generated): Add .symlist files.
37573 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37576 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37577 Redirect under this condition.
37578 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37579 [__USE_GNU] (__dprintf_chk): Not under this condition.
37580 [__USE_GNU] (__vdprintf_chk): Likewise.
37581 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37582 under this condition.
37583 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37584 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37585 [__USE_XOPEN2K8] (vdprintf): Likewise.
37586 [__USE_GNU] (__dprintf_chk): Not under this condition.
37587 [__USE_GNU] (__vdprintf_chk): Likewise.
37588 [__USE_GNU] (dprintf): Likewise.
37589 [__USE_GNU] (vdprintf): Likewise.
37591 2012-05-03 Roland McGrath <roland@hack.frob.com>
37593 * elf/Makefile (common-generated): Set this instead of generated for
37594 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37595 $(all-built-dso)-derived lists.
37597 2012-05-03 Andreas Jaeger <aj@suse.de>
37599 * sysdeps/i386/fpu/libm-test-ulps: Update.
37602 * FAQ.in: Likewise.
37603 * scripts/gen-FAQ.pl: Likewise.
37604 * manual/install.texi (Installation): Point to online location of
37606 * Makefile (files-for-dist): Remove FAQ.
37609 2012-05-02 Allan McRae <allan@archlinux.org>
37611 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37612 (LDFLAGS-reldepmod5.so): Likewise.
37613 (LDFLAGS-reldep6mod1.so): Likewise.
37614 (LDFLAGS-reldep6mod4.so): Likewise.
37615 (LDFLAGS-reldep8mod3.so): Likewise.
37616 (LDFLAGS-unload4mod1.so): Likewise.
37617 (LDFLAGS-unload4mod2.so): Likewise.
37618 (LDFLAGS-tst-initorder): Likewise.
37619 (LDFLAGS-tst-initordera2.so): Likewise.
37620 (LDFLAGS-tst-initordera3.so): Likewise.
37621 (LDFLAGS-tst-initordera4.so): Likewise.
37622 (LDFLAGS-tst-initorderb2.so): Likewise.
37623 (LDFLAGS-noload): Likewise.
37624 (LDFLAGS-next): Likewise.
37625 (LDFLAGS-order2mod1.so): Likewise.
37626 (LDFLAGS-order2mod2.so): Likewise.
37627 (LDFLAGS-tst-initorder2): Likewise.
37628 (LDFLAGS-tst-initorder2a.so): Likewise.
37629 (LDFLAGS-tst-initorder2b.so): Likewise.
37630 (LDFLAGS-tst-initorder2c.so): Likewise.
37631 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37633 2012-05-02 David S. Miller <davem@davemloft.net>
37635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37637 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37640 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37642 2012-05-02 Andreas Jaeger <aj@suse.de>
37644 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37645 since we manipulate rounding mode.
37646 (CPPFLAGS-test-idouble.c): Likewise.
37647 (CPPFLAGS-test-ifloat.c): Likewise.
37648 (CFLAGS-test-ldouble.c): Likewise.
37649 (CFLAGS-test-double.c): Likewise.
37650 (CFLAGS-test-float.c): Likewise.
37651 (CFLAGS-test-misc.c): Likewise.
37652 (CFLAGS-test-test-fenv.c): Likewise.
37654 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37658 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37659 comparisons to determine direction to adjust input.
37661 2012-05-01 Roland McGrath <roland@hack.frob.com>
37663 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37664 output to the target.
37666 * scripts/localplt.awk: New file.
37667 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37668 (check-localplt-CFLAGS): Variable removed.
37669 ($(all-built-dso:=.jmprel)): New static pattern rule.
37670 (generated): Add those targets.
37671 (localplt-built-dso): New variable.
37672 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37674 * elf/check-localplt.c: File removed.
37676 * scripts/check-execstack.awk: New file.
37677 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37678 (check-execstack-CFLAGS): Variable removed.
37679 ($(objpfx)check-execstack.h): Target removed.
37680 ($(objpfx)execstack-default): New target.
37681 (generated): Add that instead of check-execstack.h.
37682 ($(all-built-dso:=.phdr)): New static pattern rule.
37683 (generated): Add those targets.
37684 * elf/check-execstack.c: File removed.
37686 * scripts/check-textrel.awk: New file.
37687 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37688 (check-textrel-CFLAGS): Variable removed.
37689 (all-built-dso): Use := to define.o
37690 ($(all-built-dso:=.dyn)): New static pattern rule.
37691 (generated): Add those targets.
37692 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37693 * config.make.in (READELF): New substituted variable.
37694 * elf/check-textrel.c: File removed.
37696 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37698 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37700 * conform/data/ctype.h-data [C99-based standards] (isblank):
37702 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37703 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37705 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37706 Specify type. Require positive value.
37707 (EILSEQ): Likewise.
37708 (ERANGE): Likewise.
37709 [ISO || POSIX] (EILSEQ): Do not expect.
37710 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37711 Specify type. Require positive value.
37712 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37714 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37715 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37716 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37717 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37718 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37734 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37738 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37743 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37744 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37745 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37746 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37747 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37748 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37749 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37750 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37751 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37752 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37753 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37754 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37755 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37756 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37757 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37758 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37759 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37760 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37761 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37762 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37763 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37764 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37765 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37766 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37767 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37768 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37769 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37770 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37771 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37772 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37773 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37774 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37775 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37776 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37777 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37778 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37779 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37780 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37781 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37782 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37783 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37784 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37785 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37786 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37787 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37788 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37790 (FLT_ROUNDS): Expect as macro, not constant.
37791 (FLT_MANT_DIG): Use macro-int-constant.
37792 (DBL_MANT_DIG): Likewise.
37793 (LDBL_MANT_DIG): Likewise.
37794 (FLT_DIG): Likewise.
37795 (DBL_DIG): Likewise.
37796 (LDBL_DIG): Likewise.
37797 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37798 (DBL_MIN_EXP): Likewise.
37799 (LDBL_MIN_EXP): Likewise.
37800 (FLT_MAX_EXP): Use macro-int-constant.
37801 (DBL_MAX_EXP): Likewise.
37802 (LDBL_MAX_EXP): Likewise.
37803 (FLT_MAX_10_EXP): Likewise.
37804 (DBL_MAX_10_EXP): Likewise.
37805 (LDBL_MAX_10_EXP): Likewise.
37806 (FLT_MAX): Use macro-constant.
37807 (DBL_MAX): Likewise.
37808 (LDBL_MAX): Likewise.
37809 (FLT_EPSILON): Use macro-constant. Give upper bound.
37810 (DBL_EPSILON): Likewise.
37811 (LDBL_EPSILON): Likewise.
37812 (FLT_MIN): Likewise.
37813 (DBL_MIN): Likewise.
37814 (LDBL_MIN): Likewise.
37815 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37816 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37817 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37818 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37819 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37820 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37821 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37822 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37823 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37824 [ISO11] (FLT_TRUE_MIN): Likewise.
37825 [ISO11] (LDBL_TRUE_MIN): Likewise.
37826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37827 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37828 (SCHAR_MIN): Use macro-int-constant. Specify type.
37829 (SCHAR_MAX): Likewise.
37830 (UCHAR_MAX): Likewise.
37831 (CHAR_MIN): Likewise.
37832 (CHAR_MAX): Likewise.
37833 (MB_LEN_MAX): Use macro-int-constant.
37834 (SHRT_MIN): Use macro-int-constant. Specify type.
37835 (SHRT_MAX): Likewise.
37836 (USHRT_MAX): Likewise.
37837 (INT_MAX): Likewise.
37838 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37840 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37842 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37844 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37845 bound negative. Suffix upper bound with "L".
37846 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37848 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37850 [C99-based standards] (LLONG_MAX): Likewise.
37851 [C99-based standards] (ULLONG_MAX): Likewise.
37852 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37854 [ISO11] (max_align_t): Require type.
37855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37857 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37858 from $CFLAGS, without defining away __attribute__ calls.
37859 (checknamespace): Use $CFLAGS_namespace.
37861 * conform/conformtest.pl (@keywords): Only include C99 keywords
37862 for standards based on C99 or C11.
37864 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37866 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37869 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37870 usability of symbols in #if.
37872 * conform/conformtest.pl: If macro or constant types start
37873 "promoted:", expect the symbol to be of the following type
37874 promoted by the integer promotions.
37876 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37877 in one place. Also handle "macro-constant".
37879 * conform/conformtest.pl: Only accept expected macro values with
37880 "==". Parse all "macro" lines in one place.
37881 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37883 * conform/conformtest.pl: Handle braced types on "constant" lines
37884 instead of handling "typed-constant".
37885 * conform/data/signal.h-data: Use "constant" instead of
37888 * conform/conformtest.pl: Handle "optional-" at start of lines in
37889 one place rather than duplicating several cases. Handle each
37890 format of "macro" line with initial "optional-".
37892 * conform/conformtest.pl: Only accept expected constant or
37893 optional-constant values with "==". Parse all "constant" lines in
37894 one place. Parse all "optional-constant" lines in one place.
37895 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37896 * conform/data/fmtmsg.h-data: Likewise.
37897 * conform/data/netinet/in.h-data: Likewise.
37898 * conform/data/tar.h-data: Likewise.
37899 * conform/data/limits.h-data: Use "==" form on "constant" and
37900 "optional-constant" lines.
37902 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37903 Use -std=c99 for XOPEN2K.
37904 (@knownproblems): Remove.
37905 (newtoken): Don't check %isknown.
37907 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37908 Do not expect macro.
37909 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37915 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37916 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37917 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37918 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37919 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37921 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37922 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37927 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37939 [XPG3] (acosh): Likewise.
37940 [XPG3] (asinh): Likewise.
37941 [XPG3] (atanh): Likewise.
37942 [XPG3] (cbrt): Likewise.
37943 [XPG3] (expm1): Likewise.
37944 [XPG3] (ilogb): Likewise.
37945 [XPG3] (log1p): Likewise.
37946 [XPG3] (logb): Likewise.
37947 [XPG3] (nextafter): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37950 [XPG3] (remainder): Likewise.
37951 [XPG3] (rint): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37959 [UNIX98 || XOPEN2K] (scalb): Expect.
37960 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37961 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38065 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38066 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38067 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38068 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38069 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38070 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38071 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38072 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38073 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38074 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38075 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38076 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38077 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38078 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38079 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38080 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38081 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38082 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38083 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38084 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38085 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38086 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38087 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38088 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38089 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38090 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38091 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38092 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38093 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38094 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38095 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38096 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38098 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38099 _XOPEN_SOURCE_EXTENDED for XPG4.
38101 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38103 * Makeconfig (localtime): Remove variable.
38104 (inst_localtime-file): Likewise.
38106 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38127 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38131 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38132 comparisons to determine direction to adjust input.
38133 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38134 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38135 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38137 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38139 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38144 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38146 * math/libm-test.inc (nexttoward_test): Add more tests.
38148 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38151 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38152 in version GLIBC_2.1, not GLIBC_2.0.
38153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38156 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38159 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38161 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38162 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38163 * math/libm-test.inc (acos_test): Add more tests.
38164 (asin_test): Likewise.
38165 * sysdeps/i386/fpu/libm-test-ulps: Update.
38166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38169 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38171 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38172 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38173 * math/libm-test.inc (acos_test_tonearest): New function.
38174 (acos_test_towardzero): Likewise.
38175 (acos_test_downward): Likewise.
38176 (acos_test_upward): Likewise.
38177 (asin_test_tonearest): Likewise.
38178 (asin_test_towardzero): Likewise.
38179 (asin_test_downward): Likewise.
38180 (asin_test_upward): Likewise.
38181 (main): Call the new functions.
38182 * sysdeps/i386/fpu/libm-test-ulps: Update.
38183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38187 * math/e_exp10.c: Include <float.h>.
38188 (__ieee754_exp10): Handle underflow here rather than multiplying
38189 large negative argument by M_LN10.
38190 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38192 * math/e_exp10l.c: Include <float.h>.
38193 (__ieee754_exp10l): Handle underflow here rather than multiplying
38194 large negative argument by M_LN10l.
38195 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38196 spurious overflow exception on underflow.
38198 2012-04-29 Marek Polacek <polacek@redhat.com>
38200 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38201 (__fortify_function): New macro.
38202 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38203 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38204 __extern_always_inline.
38205 * libio/bits/stdio2.h: Likewise.
38206 * libio/bits/stdio.h: Likewise.
38207 * string/string.h: Likewise.
38208 * string/bits/string3.h: Likewise.
38209 * include/stdio.h: Likewise.
38210 * stdlib/bits/stdlib.h: Likewise.
38211 * stdlib/stdlib.h: Likewise.
38212 * rt/bits/mqueue2.h: Likewise.
38213 * rt/mqueue.h: Likewise.
38214 * posix/bits/unistd.h: Likewise.
38215 * posix/unistd.h: Likewise.
38216 * io/bits/poll2.h: Likewise.
38217 * io/bits/fcntl2.h: Likewise.
38218 * io/fcntl.h: Likewise.
38219 * io/sys/poll.h: Likewise.
38220 * misc/bits/syslog.h: Likewise.
38221 * misc/bits/syslog-ldbl.h: Likewise.
38222 * misc/sys/syslog.h: Likewise.
38223 * socket/bits/socket2.h: Likewise.
38224 * socket/sys/socket.h: Likewise.
38225 * debug/tst-chk1.c: Likewise.
38226 * wcsmbs/bits/wchar2.h: Likewise.
38227 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38228 * wcsmbs/wchar.h: Likewise.
38230 2012-04-29 Andreas Jaeger <aj@suse.de>
38232 * Makerules (tests): Remove enable-check-abi protection.
38233 (check-abi-warn): Remove.
38234 (check-abi-%): Remove check-abi-warn usage.
38236 * configure.in: Remove check-abi configure option.
38237 * configure: Regenerated.
38238 * config.make.in (enable-check-abi): Remove.
38240 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38243 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38244 double functions to double *_finite functions.
38247 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38248 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38250 * stdio-common/Makefile (tests): Add tst-sprintf3.
38251 * stdio-common/tst-sprintf3.c: New file.
38253 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38254 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38256 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38258 * conform/conformtest.pl: Remove duplicate typed-constant
38261 2012-04-28 David S. Miller <davem@davemloft.net>
38263 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38264 (check-abi-%): Remove AWK script prerequisite and explicit
38266 (check-abi): Rewrite to just diff the symlist with the abilist.
38267 (config-tls, config-abi-config): Delete, no longer used.
38268 (update-abi-%): Remove AWK script and explicit abilist directory.
38269 (update-abi): Rewrite to simply compare and conditionally copy the
38270 symlist and the sysdep abilist file. Remove update-abi-config
38272 * abilist/ld.abilist: Remove.
38273 * abilist/libBrokenLocale.abilist: Remove.
38274 * abilist/libanl.abilist: Remove.
38275 * abilist/libcrypt.abilist: Remove.
38276 * abilist/libdl.abilist: Remove.
38277 * abilist/librt.abilist: Remove.
38278 * abilist/libthread_db.abilist: Remove.
38279 * abilist/libutil.abilist: Remove.
38280 * scripts/extract-abilist.awk: Remove.
38281 * scripts/merge-abilist.awk: Remove.
38282 * sysdeps/generic/libcidn.abilist: New file.
38283 * sysdeps/generic/libnss_compat.abilist: New file.
38284 * sysdeps/generic/libnss_db.abilist: New file.
38285 * sysdeps/generic/libnss_dns.abilist: New file.
38286 * sysdeps/generic/libnss_files.abilist: New file.
38287 * sysdeps/generic/libnss_hesiod.abilist: New file.
38288 * sysdeps/generic/libnss_nis.abilist: New file.
38289 * sysdeps/generic/libnss_nisplus.abilist: New file.
38290 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38291 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38292 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38295 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38296 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38297 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38298 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38299 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38300 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38301 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38302 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38304 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38305 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38306 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38307 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38309 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38310 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38311 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38312 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38313 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38314 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38316 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38317 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38318 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38320 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38423 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38424 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38425 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38428 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38429 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38430 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38431 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38432 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38433 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38434 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38435 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38436 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38488 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38490 * conform/conformtest.pl: Fix typo in handling typed-constant from
38493 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38495 * README: Cut down references to pre-2.6 Linux kernels and
38496 Linuxthreads. Update lists of configurations in libc and ports
38497 and sort alphabetically. Say "or newer" with Linux kernel version
38500 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38502 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38505 * math/libm-test.inc (logb_test_downward): New test to expose
38506 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38509 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38512 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38514 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38515 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38517 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38519 * sysdeps/unix/i386/brk.S: Remove file.
38520 * sysdeps/unix/i386/dl-brk.S: Likewise.
38521 * sysdeps/unix/i386/pipe.S: Likewise.
38522 * sysdeps/unix/i386/sigreturn.S: Likewise.
38523 * sysdeps/unix/i386/syscall.S: Likewise.
38524 * sysdeps/unix/i386/vfork.S: Likewise.
38525 * sysdeps/unix/i386/wait.S: Likewise.
38527 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38528 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38530 * configure.in (arm*-none*): Do not allow without
38531 --enable-hacker-mode.
38532 (netbsd*): Remove case setting base_os.
38533 (386bsd*): Likewise.
38534 (freebsd*): Likewise.
38537 (sunos*): Likewise.
38538 (ultrix*): Likewise.
38539 (newsos*): Likewise.
38540 (dynix*): Likewise.
38546 (minix*): Likewise.
38547 (irix4*): Likewise.
38548 (irix6*): Likewise.
38549 (solaris[2-9]*): Likewise.
38551 * configure: Regenerated.
38553 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38557 overflow or cancellation in calculating denominator.
38558 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38560 down expression to avoid unexpected rounding in newer GCCs.
38561 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38563 2012-04-26 David S. Miller <davem@davemloft.net>
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38566 long-double compat symbols.
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38581 2012-04-25 David S. Miller <davem@davemloft.net>
38583 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38584 HWCAP_* values only after the memory barriers have been defined.
38585 (atomic_full_barrier): Define.
38586 (atomic_read_barrier): Define.
38587 (atomic_write_barrier): Define.
38589 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38591 * shlib-versions: Add libgcc_s version information.
38592 * sysdeps/generic/libgcc_s.h: Remove.
38593 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38595 * sysdeps/gnu/unwind-resume.c: Likewise.
38596 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38598 2012-04-25 David S. Miller <davem@davemloft.net>
38600 * sysdeps/unix/sparc/brk.S: Delete.
38601 * sysdeps/unix/sparc/dl-brk.S: Delete.
38602 * sysdeps/unix/sparc/pipe.S: Delete.
38603 * sysdeps/unix/sparc/sysdep.S: Delete.
38604 * sysdeps/unix/sparc/sysdep.h: Delete.
38605 * sysdeps/unix/sparc/vfork.S: Delete.
38606 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38607 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38609 (ret_ERRVAL, r0, r1, MOVE): Define.
38610 (JUMPTARGET): Remove.
38611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38612 sysdeps/unix/sparc/sysdep.h
38613 (ENTRY, END): Remove.
38614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38616 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38618 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38619 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38622 * timezone/README: Update upstream location and email address for
38624 * timezone/zdump.c: Update from tzcode 2012b.
38625 * timezone/zic.c: Likewise.
38627 * configure.in (libc_cv_as_needed): Remove test.
38628 * configure: Regenerated.
38629 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38630 conditional definition.
38631 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38632 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38633 * config.make.in (have-as-needed): Remove variable.
38635 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38636 Paul Pluzhnikov <ppluzhnikov@google.com>
38638 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38641 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38643 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38644 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38645 * sysdeps/sh/strlen.S: Likewise.
38647 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38649 * sysdeps/unix/fork.S: Remove file.
38650 * sysdeps/unix/i386/fork.S: Likewise.
38651 * sysdeps/unix/sparc/fork.S: Likewise.
38653 * sysdeps/unix/system.c: Remove file.
38654 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38656 * sysdeps/unix/getegid.S: Remove file.
38657 * sysdeps/unix/geteuid.S: Likewise.
38659 2012-04-24 Roland McGrath <roland@hack.frob.com>
38661 * scripts/check-localplt.awk: New file.
38662 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38664 * scripts/data/localplt-generic.data: Add a comment.
38666 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38667 NODE when __dir_mkfile failed.
38668 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38669 Reported by Ludovic Courtès <ludo@gnu.org>.
38671 2012-04-24 Andreas Jaeger <aj@suse.de>
38673 * Makerules (common-clean): Also remove gen-as-const-headers
38676 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38678 * Makerules (native-compile): Do not change working directory for
38679 build. Use $(OUTPUT_OPTION) in command.
38680 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38682 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38685 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38686 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38687 * math/libm-test.inc (floor_test): Add more tests.
38688 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38690 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38692 * sysdeps/unix/getdents.c: Remove file.
38693 * sysdeps/unix/sysv/getdents.c: Likewise.
38694 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38696 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38697 sysdeps/unix/mman/syscalls.list.
38699 (mprotect): Likewise.
38701 (munmap): Likewise.
38702 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38703 * sysdeps/unix/mman/syscalls.list: Remove.
38704 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38706 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38707 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38708 * configure: Regenerated.
38709 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38710 $(libgcc_s_suffix).
38711 * config.make.in (libgcc_s_suffix): Remove variable.
38713 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38715 * sysdeps/unix/sysv/gethostname.c: Move to ...
38716 * sysdeps/posix/gethostname.c: ... here.
38718 * sysdeps/unix/execve.S: Remove file.
38720 * sysdeps/unix/_exit.S: Remove file.
38722 2012-04-23 Andreas Jaeger <aj@suse.de>
38725 * manual/Makefile: Remove make dist support, there's no
38726 need for a stand-alone documentation tar ball.
38727 (TEXI2DVI): Define always, it's not in Makeconfig.
38730 (edition): Removed.
38731 (glibc-doc-$(edition).tar): Removed
38735 (ETAGS): Remove, it's in Makeconfig.
38736 (move-if-change): Remove, it's in Makeconfig.
38738 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38741 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38742 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38743 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38744 (strtod_l, strtof_l, strtold_l): Remove __wur.
38745 It is not necessarily an error to ignore strtol's return value.
38746 One can reliably look at the stored endptr to decide whether
38747 the number had valid syntax.
38749 2012-04-21 Andreas Jaeger <aj@suse.de>
38752 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38754 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38756 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38757 * sysdeps/unix/sysv/Versions: Remove file.
38759 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38764 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38768 version from __vm86.
38770 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38772 * sysdeps/unix/common/lxstat.c: Remove file.
38773 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38775 * sysdeps/unix/sysv/Makefile: Remove file.
38777 * sysdeps/unix/sysv/direct.h: Remove file.
38779 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38780 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38781 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38782 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38783 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38784 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38785 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38787 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38789 * sysdeps/unix/xmknod.c: Remove file.
38790 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38792 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38794 * sysdeps/unix/sysv/i386/time.S: Remove file.
38796 * sysdeps/unix/fxstat.c: Remove file.
38797 * sysdeps/unix/xstat.c: Likewise.
38798 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38800 * sysdeps/unix/sysv/sigaction.c: Remove file.
38802 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38803 (sysdep_headers): Remove variable.
38804 [termio.h not in sysdep_headers] (generated): Likewise.
38805 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38806 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38807 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38808 * sysdeps/unix/sysv/tcflow.c: Likewise.
38809 * sysdeps/unix/sysv/tcflush.c: Likewise.
38810 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38811 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38812 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38813 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38814 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38816 * sysdeps/unix/siglist.c: Remove file.
38818 * sysdeps/unix/getppid.S: Remove file.
38820 * sysdeps/unix/mkdir.c: Remove file.
38821 * sysdeps/unix/rmdir.c: Likewise.
38823 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38825 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38827 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38828 errlist-compat value.
38830 2012-04-18 David S. Miller <davem@davemloft.net>
38832 * sysdeps/generic/memcopy.h (reg_char): Delete.
38833 * debug/strcat_chk.c: Use char, not reg_char.
38834 * debug/strcpy_chk.c: Likewise.
38835 * debug/strncat_chk.c: Likewise.
38836 * debug/strncpy_chk.c: Likewise.
38837 * string/memchr.c: Likewise.
38838 * string/memrchr.c: Likewise.
38839 * string/rawmemchr.c: Likewise.
38840 * string/strcat.c: Likewise.
38841 * string/strchr.c: Likewise.
38842 * string/strchrnul.c: Likewise.
38843 * string/strcmp.c: Likewise.
38844 * string/strcpy.c: Likewise.
38845 * string/strncat.c: Likewise.
38846 * string/strncmp.c: Likewise.
38847 * string/strncpy.c: Likewise.
38849 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38851 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38852 __builtin_memcopy is called when src and dest ranges are known to not
38855 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38858 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38859 fwd_align_merge macro call.
38860 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38861 bwd_align_merge macro call.
38862 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38864 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38866 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38867 bwd_align_merge macros.
38868 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38869 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38870 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38872 2012-04-18 David S. Miller <davem@davemloft.net>
38874 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38876 2012-04-18 Andreas Jaeger <aj@suse.de>
38879 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38880 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38883 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38884 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38885 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38887 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38888 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38889 Adjust for changed ldbl-128 files.
38891 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38892 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38893 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38895 2012-04-17 David S. Miller <davem@davemloft.net>
38897 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38899 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38901 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38902 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38903 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38904 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38905 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38906 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38908 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38911 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38912 * math/libm-test.inc: Add ilogb errno and exception tests.
38913 * math/w_ilogb.c: New file: ilogb wrapper.
38914 * math/w_ilogbf.c: New file: ilogbf wrapper.
38915 * math/w_ilogbl.c: New file: ilogbl wrapper.
38916 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38917 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38918 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38919 exception being thrown with 0.0 as argument.
38920 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38921 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38922 exception being thrown with 0.0 as argument.
38923 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38924 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38925 exception being thrown with 0.0 as argument.
38926 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38927 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38928 exception being thrown with 0.0 as argument.
38929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38930 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38932 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38934 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38935 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38936 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38937 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38939 2012-04-17 Petr Baudis <pasky@ucw.cz>
38941 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38944 2012-04-16 Marek Polacek <polacek@redhat.com>
38946 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38948 2012-04-16 Marek Polacek <polacek@redhat.com>
38950 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38951 operands of fdivp instruction.
38953 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38955 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38956 * elf/tst-auditmod3b.c: Likewise.
38957 * elf/tst-auditmod4b.c: Likewise.
38958 * elf/tst-auditmod5b.c: Likewise.
38959 * elf/tst-auditmod6b.c: Likewise.
38960 * elf/tst-auditmod6c.c: Likewise.
38961 * elf/tst-auditmod7b.c: Likewise.
38962 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38963 * sysdeps/x86_64/preconfigure.in: Likewise.
38964 * sysdeps/x86_64/preconfigure: Regenerated.
38966 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38968 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38971 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38974 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38976 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38979 * locale/iso-639.def: Fix gl language name. Spotted by
38982 2012-04-12 Roland McGrath <roland@hack.frob.com>
38985 * libio/libio.h (__io_write_fn): Update comment.
38987 2012-04-12 Petr Baudis <pasky@ucw.cz>
38990 * stdio.texi (Hook Functions): The user provided writer function
38991 is not allowed to return -1.
38993 2012-04-11 David S. Miller <davem@davemloft.net>
38995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38997 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38999 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39000 Add a leading slash to rtkaio.
39002 2012-04-11 Jim Meyering <meyering@redhat.com>
39005 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39006 It is not necessarily an error to ignore fwrite's return
39007 value. One can reliably use ferror to test for errors after
39010 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39012 * bits/types.h (__snseconds_t): New type.
39013 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39015 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39017 (__SNSECONDS_T_TYPE): Likewise.
39018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39019 (__SNSECONDS_T_TYPE): Likewise.
39020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39021 (__SNSECONDS_T_TYPE): Likewise.
39023 2012-04-10 Andreas Jaeger <aj@suse.de>
39026 * manual/time.texi (Processor Time): Return type of times is
39027 elapsed real time since an arbitrary point in the past.
39028 (CPU Time): Move CLK_TCK from here...
39029 (Processor Time): ...to here. Correct description.
39030 * manual/conf.texi (Constants for Sysconf): Correct description of
39033 2012-04-10 David S. Miller <davem@davemloft.net>
39036 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39037 where the is a gap between DT_REL(A) and DT_JMPREL.
39039 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39041 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39042 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39043 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39045 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39047 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39048 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39049 (dl_main): Handle --inhibit-cache.
39050 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39052 * elf/dl-load.c (_dl_map_object): Use it.
39053 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39055 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39058 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39059 (__ieee754_powl): Saturate large exponents rather than testing for
39060 overflow of y*log2(x).
39061 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39062 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39066 * math/s_ctan.c: Include <float.h>.
39067 (__ctan): Avoid internal overflow or cancellation in calculating
39069 * math/s_ctanf.c: Likewise.
39070 * math/s_ctanl.c: Likewise.
39071 * math/s_ctanh.c: Likewise.
39072 * math/s_ctanhf.c: Likewise.
39073 * math/s_ctanhl.c: Likewise.
39074 * math/libm-test.inc (ctan_test): Add more tests.
39075 (ctanh_test): Likewise.
39076 * sysdeps/i386/fpu/libm-test-ulps: Update.
39077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39079 2012-04-09 Andreas Jaeger <aj@suse.de>
39082 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39083 is an optional BSD extension.
39086 * manual/stdio.texi (Opening Streams): Document additional fopen
39089 2012-04-09 Roland McGrath <roland@hack.frob.com>
39091 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39092 %eax without telling the compiler.
39094 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39097 * manual/install.texi: Use sourceware.org.
39099 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39102 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39103 (__ieee754_pow): Generate overflow and underflow using huge*huge
39104 and tiny*tiny rather than just returning constant infinity or zero
39105 for large exponents.
39106 * math/libm-test.inc (pow_test): Require overflow exceptions for
39107 applicable cases of large exponents.
39110 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39111 (__ieee754_pow): Use iterative multiplication algorithm only for
39112 integer exponents with absolute value below 1024. Check for odd
39113 integer exponents when using algorithm for real exponents.
39114 * math/libm-test.inc (pow_test): Add more tests.
39115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39117 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39120 * math/libm-test.inc (exp_test): Do not allow overflow exception
39123 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39126 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39127 instead of __kernel_standard_f.
39129 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39131 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39132 * sysdeps/x86_64/memset_chk.S: Likewise.
39134 2012-04-08 Andreas Jaeger <aj@suse.de>
39137 * manual/startup.texi (Environment Access): Describe return value
39138 for putenv and setenv.
39141 * manual/filesys.texi (Directory Entries): Add description for
39145 * manual/filesys.texi (Directory Entries): Clarify that it's file
39146 system not operating system in the description of DT_UNKNOWN.
39149 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39151 2012-04-08 Stephen Compall <s11@member.fsf.org>
39154 * manual/llio.texi (Opening and Closing Files): Add cross
39155 reference to explain mode argument.
39157 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39159 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39160 * sysdeps/x86_64/memset_chk.S: Likewise.
39162 2012-04-07 David S. Miller <davem@davemloft.net>
39164 * elf/elf.h (R_SPARC_WDISP10): Define.
39165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39168 R_SPARC_SIZE64 and R_SPARC_H34.
39170 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39172 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39173 conditions and remove no longer applicable assertion.
39175 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39177 * bits/byteswap.h: Include <features.h>.
39178 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39179 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39181 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39183 * bits/byteswap.h (__bswap_16): Removed.
39184 Include <bits/byteswap-16.h> to get __bswap_16.
39185 * sysdeps/i386/bits/byteswap.h: Likewise.
39186 * sysdeps/s390/bits/byteswap.h: Likewise.
39187 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39188 * bits/byteswap-16.h: New file.
39189 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39190 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39191 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39192 * string/Makefile (headers): Add bits/byteswap-16.h.
39194 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39197 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39199 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39200 * nss/tst-nss-static.c: New.
39202 2012-04-06 Robert Millan <rmh@gnu.org>
39205 * manual/llio.texi (File Position Primitive): lseek
39206 refers to WHENCE when it really means OFFSET.
39208 2012-04-06 Andreas Jaeger <aj@suse.de>
39210 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39211 strncmp declarations.
39213 * abilist/libc.abilist: Add __poll and __ppoll.
39215 2012-04-05 David S. Miller <davem@davemloft.net>
39217 * scripts/check-local-headers.sh: Accept a host triplet in the
39218 path matched by the exclude regexp.
39220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39222 * sysdeps/powerpc/powerpc32/dl-machine.h
39223 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39224 * sysdeps/s390/s390-32/dl-machine.h
39225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39226 * sysdeps/sparc/sparc32/dl-machine.h
39227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39228 * sysdeps/sparc/sparc64/dl-machine.h
39229 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39231 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39233 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39234 undefined symbol errors.
39236 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39239 2012-04-05 Michael Matz <matz@suse.de>
39242 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39244 2012-04-05 Andreas Jaeger <aj@suse.de>
39247 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39250 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39252 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39253 which ROUND is no valid rounding mode.
39255 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39257 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39259 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39261 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39263 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39264 an exception using FPU order intentionally.
39266 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39268 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39269 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39270 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39271 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39273 2012-04-05 Simon Josefsson <simon@josefsson.org>
39276 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39277 EINVAL when BUFLEN is too smal.
39279 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39282 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39283 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39285 2012-04-03 Andreas Jaeger <aj@suse.de>
39288 * manual/setjmp.texi (System V contexts): Fix sentence.
39291 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39292 New macro for this case.
39293 [!__GNUC__] (__bswap_64): New inline function for this case.
39294 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39295 * bits/byteswap.h: Likewise.
39296 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39297 ull, guard with __GLIBC_HAVE_LONG_LONG.
39299 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39300 __GLIBC_HAVE_LONG_LONG.
39302 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39303 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39305 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39308 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39309 inptr and inend, rather than using last_ch.
39311 2012-04-02 David S. Miller <davem@davemloft.net>
39313 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39314 * stdio-common/printf-parse.h (read_int): Change return type to
39315 'int', return -1 on INT_MAX overflow.
39316 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39317 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39318 overflows INT_MAX. Check for overflow of in-format-string precision
39319 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39320 SIZE_MAX not INT_MAX for integer overflow test.
39321 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39322 skip the construct in the format string but do not record anything.
39323 * stdio-common/bug22.c: Adjust to test both width/prevision
39324 INT_MAX overflow as well as total length INT_MAX overflow. Check
39325 explicitly for proper errno values.
39327 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39329 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39331 * string/test-strcmp.c [! WIDE]: Likewise.
39332 * time/tst-mktime2.c: Likewise for INT_MAX.
39333 * string/test-string.h: #include <sys/param.h> for MIN.
39335 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39336 * sysdeps/i386/init-first.c (init): Likewise.
39337 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39338 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39339 * sysdeps/sh/init-first.c (init): Likewise.
39341 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39343 * po/ru.po: Update from translation team.
39344 * po/vi.po: Likewise.
39346 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39348 * resolv/nss_dns/dns-host.c: Merge copyright years.
39350 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39353 Optimize memcpy with prefetch if
39354 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39355 src, dst pointers have unequal 16 byte alignments.
39357 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39360 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39361 from a CNAME entry and return the minimum ttl for the query.
39362 (gaih_getanswer_slice): Likewise.
39364 2012-03-30 Jeff Law <law@redhat.com>
39366 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39368 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39369 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39371 * resolv/nss_dns/dns-host.c: Update copyright year.
39373 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39375 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39376 requests to save a system call. Fix check that all bytes are sent.
39378 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39379 comments for sendmmsg.
39381 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39384 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39385 with only 1 character between 0x0041 and 0x01b0.
39386 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39387 * wcsmbs/tst-mbsnrtowcs.c: New file.
39389 2012-03-29 David S. Miller <davem@davemloft.net>
39391 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39392 small copies by hand.
39394 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39397 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39398 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39401 2012-03-28 David S. Miller <davem@davemloft.net>
39403 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39404 that branches into memcpy.
39405 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39408 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39411 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39412 implementation too.
39413 * sysdeps/sparc/mempcpy.S: New file.
39415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39416 the IFUNC routine in the libc case.
39417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39419 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39420 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39421 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39422 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39423 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39424 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39425 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39426 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39428 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39429 loop to 256 bytes instead of 64 bytes and fix test signedness.
39431 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39432 * sysdeps/sparc/sparc32/Makefile: rather than here...
39433 * sysdeps/sparc/sparc64/Makefile: and here.
39435 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39437 * malloc/mallocbug.c: Avoid warnings about unused variables.
39439 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39442 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39443 in the right place. Discard and retry query if response is
39444 larger than input buffer size.
39446 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39451 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39452 x for large integer exponent.
39453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39454 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39455 sign of result as needed afterwards.
39456 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39457 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39458 result for underflowing pow the same as for overflow.
39459 (__kernel_standard_l): Handle powl overflow and underflow here
39460 rather than calling __kernel_standard.
39461 * math/libm-test.inc (pow_test): Add more tests.
39476 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39477 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39478 (__kernel_standard_l): New function.
39479 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39481 * math/w_acosl.c (__acosl): Likewise.
39482 * math/w_asinl.c (__asinl): Likewise.
39483 * math/w_atan2l.c (__atan2l): Likewise.
39484 * math/w_atanhl.c (__atanhl): Likewise.
39485 * math/w_coshl.c (__coshl): Likewise.
39486 * math/w_exp10l.c (__exp10l): Likewise.
39487 * math/w_exp2l.c (__exp2l): Likewise.
39488 * math/w_fmodl.c (__fmodl): Likewise.
39489 * math/w_hypotl.c (__hypotl): Likewise.
39490 * math/w_j0l.c (__j0l, __y0l): Likewise.
39491 * math/w_j1l.c (__j1l, __y1l): Likewise.
39492 * math/w_jnl.c (__jnl, __ynl): Likewise.
39493 * math/w_lgammal.c (__lgammal): Likewise.
39494 * math/w_log10l.c (__log10l): Likewise.
39495 * math/w_log2l.c (__log2l): Likewise.
39496 * math/w_logl.c (__logl): Likewise.
39497 * math/w_powl.c (__powl): Likewise.
39498 * math/w_remainderl.c (__remainderl): Likewise.
39499 * math/w_scalbl.c (sysv_scalbl): Likewise.
39500 * math/w_sinhl.c (__sinhl): Likewise.
39501 * math/w_sqrtl.c (__sqrtl): Likewise.
39502 * math/w_tgammal.c (__tgammal): Likewise.
39503 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39504 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39505 * math/libm-test.inc (acos_test): Add more tests.
39506 (acosh_test): Likewise.
39507 (asin_test): Likewise.
39508 (atanh_test): Likewise.
39509 (exp_test): Likewise.
39510 (exp10_test): Likewise.
39511 (exp2_test): Likewise.
39512 (expm1_test): Likewise.
39513 (lgamma_test): Likewise.
39514 (log_test): Likewise.
39515 (log10_test): Likewise.
39516 (log1p_test): Likewise.
39517 (log2_test): Likewise.
39518 (pow_test): Do not allow some spurious overflow exceptions.
39519 (sqrt_test): Add more tests.
39520 (tgamma_test): Likewise.
39521 (y0_test): Likewise.
39522 (y1_test): Likewise.
39523 (yn_test): Likewise.
39525 2012-03-27 Anton Blanchard <anton@samba.org>
39527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39529 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39533 2012-03-27 David S. Miller <davem@davemloft.net>
39535 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39537 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39538 have-as-vis3 check.
39540 2012-03-27 Andreas Jaeger <aj@suse.de>
39542 * sysdeps/x86_64/elf/configure.in: Moved to ...
39543 * sysdeps/x86_64/configure.in: ... here.
39544 * sysdeps/x86_64/elf/start.S: Moved to ...
39545 * sysdeps/x86_64/start.S: ... here.
39546 * sysdeps/x86_64/elf/configure: Delete.
39548 * sysdeps/x86_64/configure.in: Merge contents from
39549 sysdeps/i386/configure.in (without i686 check).
39551 * sysdeps/i386/elf/Versions: Merge into ...
39552 * sysdeps/i386/Versions: ... this.
39553 * sysdeps/i386/elf/Versions: Delete file.
39554 * sysdeps/i386/elf/start.S: Moved to ...
39555 * sysdeps/i386/start.S: ...here.
39556 * sysdeps/i386/elf/configure.in: Merge into...
39557 * sysdeps/i386/configure.in: ...here.
39558 * sysdeps/i386/elf/configure.in: Delete file.
39559 * sysdeps/i386/elf/configure: Delete file.
39561 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39562 * debug/backtracesyms.c: ... here.
39563 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39564 * debug/backtracesymsfd.c: ... here.
39565 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39566 * sysdeps/generic/ifunc-sel.h: ... here.
39568 * sysdeps/unix/i386/start.c: Delete file.
39569 * sysdeps/unix/sparc/start.c: Delete file.
39570 * sysdeps/unix/start.c: Delete file.
39572 * sysdeps/sh/elf/configure.in: Moved to ...
39573 * sysdeps/sh/configure.in: ... here.
39574 * sysdeps/sh/elf/start.S: Moved to ...
39575 * sysdeps/sh/start.S: ... here.
39576 * sysdeps/sh/elf/configure: Delete file.
39578 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39579 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39580 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39581 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39582 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39583 * sysdeps/powerpc/powerpc64/start.S: here.
39584 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39585 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39586 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39587 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39588 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39590 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39591 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39592 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39593 * sysdeps/powerpc/powerpc32/start.S: ... here.
39594 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39595 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39596 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39598 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39599 * sysdeps/powerpc/ifunc-sel.h: ... here.
39600 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39601 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39603 * sysdeps/sparc/elf/configure.in: Moved to ...
39604 * sysdeps/sparc/configure.in: ... here.
39605 * sysdeps/sparc/elf/configure: Delete file.
39606 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39607 * sysdeps/sparc/sparc32/start.S: ... here.
39608 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39609 * sysdeps/sparc/sparc64/start.S: ... here.
39610 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39611 * sysdeps/sparc/sparc32/Makefile: ... this.
39612 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39613 * sysdeps/sparc/sparc64/Makefile: ... this.
39615 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39616 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39617 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39618 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39619 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39620 * sysdeps/s390/s390-32/setjmp.S: ... here.
39621 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39622 * sysdeps/s390/s390-32/configure.in: ... here.
39623 * sysdeps/s390/s390-32/elf/configure: Delete file.
39624 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39625 * sysdeps/s390/s390-32/start.S: ... here.
39627 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39628 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39629 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39630 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39631 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39632 * sysdeps/s390/s390-64/setjmp.S: ... here.
39633 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39634 * sysdeps/s390/s390-64/configure.in: ... here
39635 * sysdeps/s390/s390-64/elf/configure: Delete file.
39636 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39637 * sysdeps/s390/s390-64/start.S: ... here.
39638 * sysdeps/s390/s390-64/elf/configure: Delete.
39640 * configure.in: Remove support for elf directories in sysdeps.
39642 * configure: Regenerated.
39643 * sysdeps/i386/configure: Regenerated.
39644 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39645 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39646 * sysdeps/s390/s390-32/configure: Regenerated.
39647 * sysdeps/s390/s390-64/configure: Regenerated.
39648 * sysdeps/sh/configure: Regenerated.
39649 * sysdeps/sparc/configure: Regenerated.
39650 * sysdeps/x86_64/configure: Regenerated.
39652 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39657 denormal result into account.
39659 2012-03-25 Roland McGrath <roland@hack.frob.com>
39661 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39662 Reported by Allan McRae <allan@archlinux.org>.
39664 2012-03-23 Jeff Law <law@redhat.com>
39666 * nss/getnssent.c (__nss_getent): Fix typo.
39668 2012-03-23 David S. Miller <davem@davemloft.net>
39670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39672 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39674 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39675 to pad to uint64_t for each field.
39676 (dl_tls_index): Replace unsigned long with uint64_t.
39678 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39679 Paul Pluzhnikov <ppluzhnikov@google.com>
39682 * grp/Makefile (otherlibs): Don't set it.
39683 * inet/Makefile (otherlibs): Likewise.
39684 * login/Makefile (otherlibs): Likewise.
39685 * nscd/Makefile (otherlibs): Likewise.
39686 * posix/Makefile (otherlibs): Likewise.
39687 * pwd/Makefile (otherlibs): Likewise.
39688 * rt/Makefile (otherlibs): Likewise.
39689 * sunrpc/Makefile (otherlibs): Likewise.
39690 * nss/Makefile (otherlibs): Likewise.
39691 Add libnss_files to routines and static-only-routines.
39692 ($(objpfx)getent): Remove rule.
39693 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39694 static-only-routines.
39696 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39699 * math/s_cexp.c: Include <float.h>.
39700 (__cexp): Handle exp result overflowing not necessarily
39701 overflowing both real and imaginary parts of result.
39702 * math/s_cexpf.c: Likewise.
39703 * math/s_cexpl.c: Likewise.
39704 * math/libm-test.inc (cexp_test): Add more tests.
39705 * sysdeps/i386/fpu/libm-test-ulps: Update.
39706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39708 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39710 * include/link.h (ELFW): New macro.
39711 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39712 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39714 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39716 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39719 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39721 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39723 (struct La_x32_retval): Likewise.
39725 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39727 * sysdeps/x86_64/preconfigure.in: New file.
39728 * sysdeps/x86_64/preconfigure: New generated file.
39730 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39733 * math/e_exp2l.c: Include <float.h>.
39734 (__ieee754_exp2l): Handle overflow and underflow cases
39735 separately. Only pass fractional part of argument to
39737 * math/libm-test.inc (exp2_test): Add more tests.
39739 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39740 negating x to take absolute value.
39741 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39743 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39744 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39746 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39747 computing low part if x was negated.
39748 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39750 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39752 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39753 la_x32_gnu_pltexit.
39754 (pltexit): Cast int_retval to ptrdiff_t.
39755 * elf/tst-auditmod3b.c: Likewise.
39756 * elf/tst-auditmod4b.c: Likewise.
39757 * elf/tst-auditmod5b.c: Likewise.
39758 * elf/tst-auditmod6b.c: Likewise.
39759 * elf/tst-auditmod6c.c: Likewise.
39760 * elf/tst-auditmod7b.c: Likewise.
39762 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39763 and x32_gnu_pltexit.
39765 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39766 __ELF_NATIVE_CLASS.
39767 (La_x32_regs): New macro.
39768 (La_x32_retval): Likewise.
39769 (la_x32_gnu_pltenter): New function prototype.
39770 (la_x32_gnu_pltexit): Likewise.
39772 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39774 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39779 * configure.in (libc_cv_cc_nofma): Check for option to disable
39780 generation of FMA instructions.
39781 * configure: Regenerate.
39782 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39783 * sysdeps/ieee754/dbl-64/Makefile: New file.
39784 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39785 Remove brandred-fma4.
39786 (CFLAGS-brandred-fma4.c): Remove.
39787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39788 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39790 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39793 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39795 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39796 LLONG_MAX != LONG_MAX.
39797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39798 (_fitoa_word): Likewise.
39799 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39800 LLONG_MAX != LONG_MAX.
39801 * stdio-common/_itowa.h: Include <_itoa.h>.
39802 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39803 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39804 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39805 only if not defined.
39806 (_ITOA_WORD_TYPE): Likewise.
39807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39808 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39810 2012-03-21 David S. Miller <davem@davemloft.net>
39812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39814 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39816 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39817 of x86_64 when setting libc_cv_slibdir, libdir and
39819 * sysdeps/unix/sysv/linux/configure: Regenerated.
39821 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39823 * manual/lang.texi (Old Varargs): Remove section.
39824 (How Variadic): Update menu.
39825 (va_start): Do not mention varargs.h.
39827 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39828 Joseph Myers <joseph@codesourcery.com>
39830 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39832 * configure: Regenerated.
39834 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39836 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39837 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39840 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39843 * Makefile (files-for-dist): Remove NOTES.
39844 (NOTES): Remove rule.
39845 * README: Don't refer to NOTES.
39846 * manual/creature.texi: Don't include macros.texi.
39847 * manual/intro.texi (creature.texi): Remove comment referring to
39850 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39851 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39852 * configure: Regenerated.
39853 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39854 LIBC_TRY_CC_OPTION.
39855 (libc_cv_as_i686): Likewise.
39856 (libc_cv_cc_avx): Likewise.
39857 (libc_cv_cc_sse2avx): Likewise.
39858 (libc_cv_cc_fma4): Likewise.
39859 (libc_cv_cc_novzeroupper): Likewise.
39860 * sysdeps/i386/configure: Regenerated.
39863 * sysdeps/i386/fpu/s_cexp.S: Remove.
39864 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39865 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39866 * math/libm-test.inc (cexp_test): Add more tests.
39867 * sysdeps/i386/fpu/libm-test-ulps: Update.
39868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39870 2012-03-21 Allan McRae <allan@archlinux.org>
39872 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39874 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39877 * math/w_exp2.c: Do not include <float.h>.
39878 (o_threshold, u_threshold): Remove.
39879 (__exp2): Calculate result before checking finiteness and calling
39881 * math/w_exp2f.c: Likewise.
39882 * math/w_exp2l.c: Likewise.
39883 * math/libm-test.inc (exp2_test): Require overflow exception for
39887 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39888 range of signed 64-bit integers before using fistpll. Remove
39889 checks for whether integers fit in mantissa bits.
39890 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39891 the range of signed 32-bit integers before using fistpl. Remove
39892 checks for whether integers fit in mantissa bits.
39893 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39894 (__ieee754_powl): Test for y outside the range of signed 64-bit
39895 integers before using fistpll. Reduce 64-bit values to 63-bit
39897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39898 divide-by-zero is raised for zero to large negative powers.
39899 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39900 (__ieee754_powl): Test for y outside the range of signed 64-bit
39901 integers before using fistpll. Reduce 64-bit values to 63-bit
39903 * math/libm-test.inc (pow_test): Add more tests.
39905 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39907 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39908 <stdio-common/_itoa.h>.
39909 * debug/segfault.c: Likewise.
39910 * elf/dl-cache.c: Likewise.
39911 * elf/dl-minimal.c: Likewise.
39912 * elf/dl-misc.c: Likewise.
39913 * elf/dl-sysdep.c: Likewise.
39914 * elf/dl-version.c: Likewise.
39915 * elf/rtld.c: Likewise.
39916 * hurd/hurdsock.c: Likewise.
39917 * hurd/lookup-retry.c: Likewise.
39918 * malloc/malloc.c: Likewise.
39919 * malloc/mtrace.c: Likewise.
39920 * nscd/nscd_getgr_r.c: Likewise.
39921 * nscd/nscd_getpw_r.c: Likewise.
39922 * nscd/nscd_getserv_r.c: Likewise.
39923 * posix/getopt_init.c: Likewise.
39924 * posix/wordexp.c: Likewise.
39925 * stdio-common/_itoa.c: Likewise.
39926 * stdio-common/printf_fphex.c: Likewise.
39927 * stdio-common/vfprintf.c: Likewise.
39928 * string/_strerror.c: Likewise.
39929 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39930 * sysdeps/i386/i686/hp-timing.h: Likewise.
39931 * sysdeps/mach/_strerror.c: Likewise.
39932 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39933 * sysdeps/mach/hurd/sethostid.c: Likewise.
39934 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39935 * sysdeps/mach/xpg-strerror.c: Likewise.
39936 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39937 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39938 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39939 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39940 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39941 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39942 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39943 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39944 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39945 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39946 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39947 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39948 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39949 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39950 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39951 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39952 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39953 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39954 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39955 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39956 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39958 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39960 * stdio-common/_itoa.h: Moved to ...
39961 * sysdeps/generic/_itoa.h: Here.
39963 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39965 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39966 instead of "_itoa.h" and "_itowa.h".
39967 * stdio-common/vfprintf.: Likewise.
39969 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39971 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39973 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39974 (__signbit): Likwise.
39975 (llrintf): Likwise.
39978 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39980 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39983 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39985 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39986 OVERFLOW_EXCEPTION_OK.
39987 * math/libm-test.inc ("Philosophy"): Update comment about
39989 (OVERFLOW_EXCEPTION): Define.
39990 (OVERFLOW_EXCEPTION_OK): Likewise.
39991 (INVALID_EXCEPTION_OK): Renumber.
39992 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39993 (IGNORE_ZERO_INF_SIGN): Likewise.
39994 (test_exceptions): Handle FE_OVERFLOW.
39995 (exp10_test): Expect overflow exceptions.
39996 (exp2_test): Likewise.
39997 (expm1_test): Likewise.
39998 (nextafter_test): Likewise.
39999 (pow_test): Likewise.
40000 (scalbn_test): Likewise.
40001 (scalbln_test): Likewise.
40003 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40005 * sysdeps/x86_64/bits/atomic.h
40006 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40008 (atomic_exchange_acq): Likewise.
40009 (__arch_exchange_and_add_body): Likewise.
40010 (__arch_add_body): Likewise.
40011 (atomic_add_negative): Likewise.
40012 (atomic_add_zero): Likewise.
40014 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40016 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40017 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40021 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40022 Check __x86_64__ instead of __WORDSIZE.
40024 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40026 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40028 2012-03-19 David S. Miller <davem@davemloft.net>
40030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40032 * sysdeps/sparc/fpu/fenv_private.h: New file.
40033 * sysdeps/sparc/fpu/math_private.h: Use it.
40034 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40036 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40037 (libc_feholdexcept_setroundl): Remove.
40038 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40040 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40041 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40045 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40046 int64_t instead of long int.
40047 (INSERT_WORDS64): Likwise.
40049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40051 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40052 _Unwind_GetCFA return to _Unwind_Ptr first.
40054 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40057 * math/s_clog.c: Include <float.h>.
40058 (__clog): Scale large or subnormal inputs.
40059 * math/s_clogf.c: Likewise.
40060 * math/s_clogl.c: Likewise.
40061 * math/s_clog10.c: Include <float.h>.
40062 (M_LOG10_2): Define.
40063 (__clog10): Scale large or subnormal inputs.
40064 * math/s_clog10f.c: Likewise.
40065 * math/s_clog10l.c: Likewise.
40066 * math/libm-test.inc (clog_test): Add more tests.
40067 (clog10_test): Likewise.
40068 * sysdeps/i386/fpu/libm-test-ulps: Update.
40069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40072 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40074 * math/libm-test.inc (atan2_test): Add another test.
40076 * Makerules (common-objdir-compile): Remove.
40077 * sysdeps/unix/Makefile (config-generated): Do not add
40078 $(unix-generated) to variable.
40079 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40080 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40082 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40084 [generic bits/local_lim.h] (before-compile): Do not append to
40086 [generic bits/local_lim.h] (common-generated): Likewise.
40087 [generic sys/param.h] (before-compile): Do not append to variable.
40088 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40089 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40090 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40091 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40093 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40094 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40095 [generic sys/param.h] ($(addprefix
40096 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40097 [generic sys/param.h] (common-generated): Do not append to
40099 [generic sys/param.h] (sysdep_headers): Likewise.
40100 [generic bits/errno.h] (before-compile): Do not append to
40102 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40104 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40105 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40106 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40107 [generic bits/errno.h] (common-generated): Do not append to
40109 [generic bits/ioctls.h] (before-compile): Do not append to
40111 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40113 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40114 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40115 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40117 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40118 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40119 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40120 [generic bits/ioctls.h] (common-generated): Do not append to
40122 [generic sys/syscall.h] (syscall.h): Remove variable.
40123 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40125 [generic sys/syscall.h] (before-compile): Do not append to
40127 [generic sys/syscall.h] (common-generated): Likewise.
40128 * sysdeps/unix/errnos-tmpl.c: Remove file.
40129 * sysdeps/unix/errnos.awk: Likewise.
40130 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40131 * sysdeps/unix/ioctls.awk: Likewise.
40132 * sysdeps/unix/mk-local_lim.c: Likewise.
40133 * sysdeps/unix/snarf-ioctls: Likewise.
40135 2012-03-19 Richard Henderson <rth@twiddle.net>
40137 * sysdeps/i386/fpu/fenv_private.h: New file.
40138 * sysdeps/i386/fpu/math_private.h: Use it.
40139 (math_opt_barrier, math_force_eval): Remove.
40140 (libc_feholdexcept_setround_53bit): Remove.
40141 (libc_feupdateenv_53bit): Remove.
40142 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40143 (math_opt_barrier, math_force_eval): Remove.
40144 (libc_feholdexcept): Remove.
40145 (libc_feholdexcept_setround): Remove.
40146 (libc_fetestexcept, libc_fesetenv): Remove.
40147 (libc_feupdateenv_test): Remove.
40148 (libc_feupdateenv, libc_feholdsetround): Remove.
40149 (libc_feresetround): Remove.
40151 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40152 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40154 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40155 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40156 (libc_feupdateenv_testl): New.
40157 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40158 (libc_feupdateenv_testf): New.
40159 (libc_feupdateenv): Use libc_feupdateenv_test.
40160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40161 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40163 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40164 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40165 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40166 (libc_feresetround_noex): New.
40167 (libc_feresetround_noexf): New.
40168 (libc_feresetround_noexl): New.
40169 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40170 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40171 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40172 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40177 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40178 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40179 SET_RESTORE_ROUND_NOEX.
40180 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40181 SET_RESTORE_ROUND_NOEXF.
40182 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40183 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40184 (libc_feholdsetroundf): New.
40185 (libc_feresetround, libc_feresetroundf): New.
40187 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40188 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40189 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40191 * sysdeps/generic/math_private.h: Include <fenv.h>.
40192 (default_libc_feholdexcept): New.
40193 (default_libc_feholdexcept_setround): New.
40194 (default_libc_fesetenv, default_libc_feupdateenv): New.
40195 (libc_feholdexcept): Only define if undefined.
40196 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40197 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40198 (libc_feholdexcept_setroundl): Likewise.
40199 (libc_feholdexcept_setround_53bit): Likewise.
40200 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40201 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40202 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40203 (libc_feupdateenv_53bit): Likewise.
40204 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40205 (libc_feholdexcept): Convert from macro to inline function.
40206 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40207 (libc_fesetenv, libc_feupdateenv): Likewise.
40209 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40210 not previously defined.
40211 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40212 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40213 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40214 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40215 * sysdeps/ieee754/flt-32/math_private.h: New file.
40216 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40217 math_private.h below SET_FLOAT_WORD.
40218 (__isnan, __isinf_ns, __finite): Remove.
40219 (__isnanf, __isinf_nsf, __finitef): Remove.
40221 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40225 2012-03-17 David S. Miller <davem@davemloft.net>
40228 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40231 2012-03-16 David S. Miller <davem@davemloft.net>
40233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40239 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40240 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40241 sysdep_routines when subdir is sysvipc.
40242 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40243 __getshmlba helper.
40245 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40247 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40249 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40254 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40255 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40256 (__lround): Renamed to ...
40257 (__llround): This. Replace long int with long long int.
40258 Define lround functions as aliases of llround functions.
40259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40261 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40263 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40264 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40265 adresses to uintptr_t. Replace "long int" and "unsigned long
40266 int" with "greg_t" on va_arg.
40268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40270 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40271 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40273 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40274 Move e_machine check before EI_CLASS check. Handle x32
40275 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40276 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40277 SKIP_EM_IA_64 and include
40278 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40280 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40281 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40282 (add_system_dir): New macro.
40284 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40285 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40287 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40298 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40300 * math/w_j0f.c (j0f): Likewise.
40302 * math/w_j0l.c (__j0l): Likewise.
40304 * math/w_j1.c (j1): Likewise.
40306 * math/w_j1f.c (j1f): Likewise.
40308 * math/w_j1l.c (__j1l): Likewise.
40310 * math/w_jn.c (jn): Likewise.
40312 * math/w_jnf.c (jnf): Likewise.
40314 * math/w_jnl.c (__jnl): Likewise.
40316 * math/libm-test.inc (j0_test): Add more tests.
40317 (j1_test): Likewise.
40318 (jn_test): Likewise. Add trailing semicolon to existing test.
40319 (y0_test): Likewise.
40320 (y1_test): Likewise.
40321 * sysdeps/i386/fpu/libm-test-ulps: Update.
40322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40327 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40328 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40329 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40330 (__tanl): Set errno for infinite argument.
40331 * sysdeps/i386/fpu/mptan.c: Remove.
40332 * sysdeps/i386/fpu/s_tan.S: Likewise.
40333 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40334 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40335 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40336 * math/libm-test.inc (tan_test): Add more tests and enable more
40337 tests for double and long double.
40338 * sysdeps/i386/fpu/libm-test-ulps: Update.
40339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40341 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40343 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40344 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40346 2012-03-16 Roland McGrath <roland@hack.frob.com>
40348 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40349 * configure.in: Use it for both main tree and add-ons.
40350 * configure: Regenerated.
40352 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40354 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40356 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40362 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40363 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40368 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40370 != 0 for prec == 2.
40371 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40372 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40373 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40374 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40375 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40376 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40377 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40378 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40379 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40380 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40381 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40382 * math/libm-test.inc (cos_test): Add more tests and enable more
40383 tests for long double.
40384 (sin_test): Likewise.
40385 (sincos_test): Likewise.
40386 * sysdeps/i386/fpu/libm-test-ulps: Update.
40387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40389 2012-03-16 David S. Miller <davem@davemloft.net>
40391 * sysdeps/sparc/fpu/math_private.h: New file.
40393 2012-03-15 David S. Miller <davem@davemloft.net>
40395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40409 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40410 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40412 * sysdeps/sparc/sparc-ifunc.h: New file.
40413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40458 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40460 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40464 2012-03-15 Andreas Jaeger <aj@suse.de>
40467 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40468 ieee754/flt-32 implementation for sin, cos and sincos.
40469 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40470 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40471 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40472 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40473 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40474 ieee754/flt-32 implementation for tan.
40476 * math/libm-test.inc (cos_test): Enable some large input tests for
40478 (sin_test): Likewise.
40479 (sincos_test): Likewise.
40480 (tan_test): Add tests for large input.
40482 * sysdeps/i386/fpu/libm-test-ulps: Update.
40484 2012-03-15 Andreas Jaeger <aj@suse.de>
40487 * math/libm-test.inc (cos_test): Add more test cases.
40488 (sin_test): Likewise.
40489 (sincos_test): Likewise.
40491 2012-03-15 Andreas Jaeger <aj@suse.de>
40494 * math/libm-test.inc (cos_test): Add a test case for large input
40496 (sin_test): Likewise.
40497 (sincos_test): Likewise.
40499 2012-03-15 Andreas Jaeger <aj@suse.de>
40500 Joseph Myers <joseph@codesourcery.com>
40503 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40504 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40505 * sysdeps/i386/fpu/branred.c: Likewise.
40506 * sysdeps/i386/fpu/dosincos.c: Likewise.
40507 * sysdeps/i386/fpu/mpa.c: Likewise.
40508 * sysdeps/i386/fpu/s_cos.S: Likewise.
40509 * sysdeps/i386/fpu/s_sin.S: Likewise.
40510 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40511 * sysdeps/i386/fpu/sincos32.c: Likewise.
40513 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40515 (libc_feupdateenv_53bit): Define.
40516 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40518 (libc_feupdateenv_53bit): Define.
40520 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40521 53 bit (without extend i386 double precision).
40523 * math/libm-test.inc (sincos_test): Add tests for large input.
40527 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40529 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40533 2012-03-15 David S. Miller <davem@davemloft.net>
40535 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40536 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40537 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40538 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40563 fmin/fmax sysdep routines.
40564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40566 2012-03-14 David S. Miller <davem@davemloft.net>
40568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40640 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40645 * sysdeps/sparc/configure.in: New file.
40646 * sysdeps/sparc/configure: Generate.
40647 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40648 * configure: Regenerate.
40649 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40650 * config.make.in (have-as-vis3): New.
40651 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40652 available use -Av9d instead of -Av9a.
40653 * sysdeps/sparc/sparc64/Makefile: Likewise.
40654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40669 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40670 fzeros/fnegs to load 0x80000000 into a float register instead of
40672 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40674 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40678 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40679 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40680 ($(inst_includedir)/bits/syscall.h): Remove rule.
40681 ($(objpfx)bits/syscall.d): Include instead of
40682 $(objpfx)syscall-list.d.
40683 (generated): Change syscall-list.h and syscall-list.d to
40684 bits/syscall.h and bits/syscall.d.
40686 2012-03-14 Roland McGrath <roland@hack.frob.com>
40689 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40691 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40694 * math/s_csqrt.c: Include <float.h>.
40695 (__csqrt): Scale large or subnormal inputs.
40696 * math/s_csqrtf.c: Likewise.
40697 * math/s_csqrtl.c: Likewise.
40698 * math/libm-test.inc (csqrt_test): Add more tests.
40699 * sysdeps/i386/fpu/libm-test-ulps: Update.
40700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40703 * math/libm-test.inc (hypot_test): Add more tests.
40705 2012-03-13 David S. Miller <davem@davemloft.net>
40708 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40709 double-precision for the calculation instead of scaling.
40711 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40714 manipulate bits before adding and subtracting TWO52[sx].
40715 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40718 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40720 2012-03-13 David S. Miller <davem@davemloft.net>
40722 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40723 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40725 rtld-global-offsets.h
40726 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40728 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40731 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40733 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40734 'err' in the ifdef scope in which it is actually used.
40736 * nss/nss_db/db-init.c: Include string.h
40738 2012-03-12 David S. Miller <davem@davemloft.net>
40740 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40741 masking out of the most significant byte of random value used.
40742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40743 Fix coding style in previous change.
40745 * sysdeps/unix/sysv/linux/kernel-features.h
40746 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40747 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40749 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40752 2012-03-11 David S. Miller <davem@davemloft.net>
40754 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40755 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40757 for 'resultvar' otherwise things get truncated on 64-bit.
40759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40760 Fix masking out of the most significant byte of random value used.
40762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40764 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40768 2012-03-09 David S. Miller <davem@davemloft.net>
40770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40771 variables with appropriate CPP guards.
40772 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40773 from the frame pointer, not the stack pointer. Correct layout
40774 comments. Fix test on resulting framesize and the management of
40775 the outregs buffer for pltexit. Preserve floating point return
40776 values across _dl_call_pltexit call.
40777 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40778 framesize and the management of the outregs buffer for pltexit.
40779 Preserve floating point return values across _dl_call_pltexit
40781 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40782 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40783 (la_sparc64_gnu_pltexit): New functions.
40784 (print_exit): Fix format string for return register value.
40786 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40788 * sunrpc/Makefile (others): Add rpcgen.
40789 ($(objpfx)rpcgen): Remove special build rule and dependency on
40791 * sunrpc/rpcgen.c: New file.
40793 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40796 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40797 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40798 * sysdeps/i386/crti.S: Likewise.
40799 * sysdeps/i386/crtn.S: Likewise.
40800 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40801 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40802 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40803 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40804 * sysdeps/sh/crti.S: Likewise.
40805 * sysdeps/sh/crtn.S: Likewise.
40806 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40809 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40811 * locale/programs/locfile-kw.gperf: Likewise.
40812 * locale/programs/charmap-kw.h: Regenerated.
40813 * locale/programs/locfile-kw.h: Likewise.
40816 * intl/plural.y: Replace FSF snail mail address with URL.
40817 * intl/plural.c: Regenerated.
40819 2012-03-09 Richard Henderson <rth@twiddle.net>
40821 * include/math_private.h: Remove file.
40822 * math/math_private.h: Move file ...
40823 * sysdeps/generic/math_private.h: ... here.
40825 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40826 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40827 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40829 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40830 and <math_private.h>.
40831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40868 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40869 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40919 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40922 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40924 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40926 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40930 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40931 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40932 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40933 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40935 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40936 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40937 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40938 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40939 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40940 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40941 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40942 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40943 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40945 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40947 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40948 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40949 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40954 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40958 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40959 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40960 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40961 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40962 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40964 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40965 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40969 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40970 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40972 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40973 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40974 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40975 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40976 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40977 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40978 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40979 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40980 * sysdeps/ieee754/k_standard.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41100 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41101 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41103 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41108 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41113 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41114 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41123 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41130 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41131 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41140 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41141 * sysdeps/ieee754/s_lib_version.c: Likewise.
41142 * sysdeps/ieee754/s_matherr.c: Likewise.
41143 * sysdeps/ieee754/s_signgam.c: Likewise.
41144 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41145 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41146 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41147 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41148 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41149 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41150 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41151 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41152 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41153 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41154 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41155 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41156 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41157 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41158 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41159 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41160 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41166 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41168 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41169 * sunrpc/rpc_main.c: Likewise.
41170 * sunrpc/rpc_svcout.c: Likewise.
41172 2012-03-09 David S. Miller <davem@davemloft.net>
41174 * include/math_private.h: New file.
41176 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41178 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41179 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41180 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41181 from <bits/socket_type.h>.
41182 (enum __socket_type): Don't define here.
41183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41185 bits/socket_type.h.
41188 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41189 checking __USE_GNU.
41191 * Makerules ($(inst_includedir)/%.h): New rule.
41192 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41193 (install-others): Remove variable setting.
41194 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41196 2012-03-08 Richard Henderson <rth@twiddle.net>
41198 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41199 from macro to inline function; merge with the
41200 !__LIBC_INTERNAL_MATH_INLINES version.
41201 (__ieee754_sqrtf): Likewise.
41203 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41204 to inline function.
41205 (__rintf, __floor, __floorf): Likewise.
41207 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41208 macro to inline function.
41209 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41212 not <math/math_private.h>.
41214 2012-03-08 David S. Miller <davem@davemloft.net>
41216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41218 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41220 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41222 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41224 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41225 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41227 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41229 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41230 be defined individually, they must be defined as a block. Define
41231 S for printing a string instead of hidint the different by using a
41232 macro for adding the 'l'.
41233 * stdio-common/tst-fphex-wide.c: Adjust.
41235 2012-03-07 Marek Polacek <polacek@redhat.com>
41237 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41239 2012-03-08 Marek Polacek <polacek@redhat.com>
41242 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41243 * stdio-common/tst-fphex.c: Define a few macros to make the
41244 test reusable. Use them.
41245 * stdio-common/tst-fphex-wide.c: New file.
41247 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41250 * manual/macros.texi (gnusystems): New macro.
41251 (nongnusystems): Likewise.
41252 (gnulinuxhurdsystems): Likewise.
41253 (gnuhurdsystems): Likewise..
41254 (gnulinuxsystems): Likewise.
41255 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41256 variants of the GNU system, not "GNU system".
41257 * manual/conf.texi: Likewise.
41258 * manual/errno.texi: Likewise. Update example of errno macro
41260 * manual/filesys.texi: Likewise.
41261 (getumask): Document as specific to GNU/Hurd.
41262 * manual/install.texi: Likewise. Reword some references to
41264 * manual/intro.texi: Likewise.
41265 * manual/io.texi: Likewise.
41266 (File Name Portability): Detail which constraints are inapplicable
41267 to all GNU systems and which are only inapplicable to GNU/Hurd.
41268 * manual/job.texi: Likewise.
41269 * manual/llio.texi: Likewise.
41270 (O_NOCTTY): Document as present on GNU/Linux.
41271 * manual/maint.texi: Likewise.
41272 * manual/memory.texi: Likewise.
41273 * manual/pattern.texi: Likewise.
41274 * manual/pipe.texi: Likewise.
41275 * manual/process.texi: Likewise.
41276 * manual/resource.texi: Likewise.
41277 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41279 * manual/setjmp.texi: Likewise.
41280 * manual/signal.texi: Likewise.
41281 * manual/startup.texi: Likewise.
41282 * manual/stdio.texi: Likewise.
41283 * manual/terminal.texi: Likewise.
41284 (ONLCR): Document as POSIX.
41285 (OXTABS): Document availability on GNU/Linux as XTABS.
41286 (ONOEOT): Document availability separately from other bits.
41287 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41288 * manual/time.texi: Likewise.
41289 * manual/users.texi: Likewise.
41290 * INSTALL: Regenerated.
41291 * sysdeps/gnu/errlist.c: Regenerated.
41293 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41294 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41295 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41297 * configure: Regenerated.
41299 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41301 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41302 default includes instead of AC_HEADER_CHECK.
41303 * sysdeps/i386/configure: Regenerated.
41306 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41307 * math/s_cacoshf.c (__cacoshf): Likewise.
41308 * math/s_cacoshl.c (__cacoshl): Likewise.
41309 * math/s_casinh.c (__casinh): Set signs of result from argument.
41310 * math/s_casinhf.c (__casinhf): Likewise.
41311 * math/s_casinhl.c (__casinhl): Likewise.
41312 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41313 (casinh_test): Add more tests.
41314 * sysdeps/i386/fpu/libm-test-ulps: Update.
41315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41317 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41319 * po/zh_TW.po: Update from translation team.
41321 * login/Makefile (distribute): Remove variable.
41322 * catgets/Makefile: Likewise.
41323 * mach/Makefile: Likewise.
41324 * malloc/Makefile: Likewise.
41325 * misc/Makefile: Likewise.
41326 * iconv/Makefile: Likewise.
41327 * nscd/Makefile: Likewise.
41328 * hurd/Makefile: Likewise.
41329 * manual/Makefile: Likewise.
41330 * locale/Makefile: Likewise.
41331 * intl/Makefile: Likewise.
41332 * conform/Makefile: Likewise.
41333 * nss/Makefile: Likewise.
41334 * time/Makefile: Likewise.
41335 * soft-fp/Makefile: Likewise.
41336 * dirent/Makefile: Likewise.
41337 * gmon/Makefile: Likewise.
41338 * po/Makefile: Likewise.
41339 * rt/Makefile: Likewise.
41340 * socket/Makefile: Likewise.
41341 * math/Makefile: Likewise.
41342 * signal/Makefile: Likewise.
41343 * debug/Makefile: Likewise.
41344 * elf/Makefile: Likewise.
41345 * timezone/Makefile: Likewise.
41346 * stdlib/Makefile: Likewise.
41347 * iconvdata/Makefile: Likewise.
41348 * sunrpc/Makefile: Likewise.
41349 * io/Makefile: Likewise.
41350 * argp/Makefile: Likewise.
41351 * inet/Makefile: Likewise.
41352 * hesiod/Makefile: Likewise.
41353 * grp/Makefile: Likewise.
41354 * csu/Makefile: Likewise.
41355 * wctype/Makefile: Likewise.
41356 * crypt/Makefile: Likewise.
41357 * libio/Makefile: Likewise.
41358 * string/Makefile: Likewise.
41359 * nis/Makefile: Likewise.
41360 * resolv/Makefile: Likewise.
41361 * stdio-common/Makefile: Likewise.
41362 * wcsmbs/Makefile: Likewise.
41363 * dlfcn/Makefile: Likewise.
41364 * posix/Makefile: Likewise.
41367 * timezone/Makefile: Don't install timezone files, just the programs
41370 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41372 * nss/databases.def: Add missing gshadow entry.
41374 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41376 2012-03-06 Marek Polacek <polacek@redhat.com>
41379 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41380 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41381 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41382 * stdio-common/tst-long-dbl-fphex.c: New file.
41384 2012-03-06 David S. Miller <davem@davemloft.net>
41386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41387 (set_obp_int): New function.
41388 (get_obp_int): New function.
41389 (__get_clockfreq_via_dev_openprom): Likewise.
41390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41391 Avoid unused variable warnings on 'val' and use builtin_expect.
41392 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41394 (INLINE_CLONE_SYSCALL): Likewise.
41396 2012-03-05 David S. Miller <davem@davemloft.net>
41398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41400 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41405 only for |x| >= 40.
41406 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41408 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41411 Replace gettimeofday with __vdso_gettimeofday.
41413 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41414 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41415 __vdso_clock_gettime and __vdso_getcpu.
41417 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41418 time with __vdso_time.
41420 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41422 * manual/lang.texi (size_t): Note types to which size_t may be
41423 equivalent with the GNU C Library, but do not describe when
41424 differences between them are significant.
41426 2012-03-05 Andreas Jaeger <aj@suse.de>
41428 * sysdeps/i386/fpu/libm-test-ulps: Update.
41430 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41433 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41434 (__ieee754_pow): Save and restore rounding mode and use
41435 round-to-nearest for main computations.
41436 * math/libm-test.inc (pow_test_tonearest): New function.
41437 (pow_test_towardzero): Likewise.
41438 (pow_test_downward): Likewise.
41439 (pow_test_upward): Likewise.
41440 (main): Call the new functions.
41441 * sysdeps/i386/fpu/libm-test-ulps: Update.
41442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41445 * math/libm-test.inc (cosh_test_tonearest): New function.
41446 (cosh_test_towardzero): Likewise.
41447 (cosh_test_downward): Likewise.
41448 (cosh_test_upward): Likewise.
41449 (sinh_test_tonearest): Likewise.
41450 (sinh_test_towardzero): Likewise.
41451 (sinh_test_downward): Likewise.
41452 (sinh_test_upward): Likewise.
41453 (main): Call the new functions.
41454 * sysdeps/i386/fpu/libm-test-ulps: Update.
41455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41457 2012-03-05 Tom de Vries <tom@codesourcery.com>
41459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41460 default stack guard is set in last bytes.
41461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41463 2012-03-05 Kees Cook <keescook@chromium.org>
41465 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41468 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41469 possibly allocate from heap instead of stack.
41470 * stdio-common/bug-vfprintf-nargs.c: New file.
41471 * stdio-common/Makefile (tests): Add nargs overflow test.
41473 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41477 2012-03-03 Marek Polacek <polacek@redhat.com>
41479 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41480 * math/math_private.h: Likewise.
41481 * stdlib/tst-strtod.c: Likewise.
41482 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41483 * sysdeps/x86_64/bits/atomic.h: Likewise.
41485 2012-03-02 David S. Miller <davem@davemloft.net>
41487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41491 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41492 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41493 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41494 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41496 2012-03-02 Roland McGrath <roland@hack.frob.com>
41499 * manual/examples/README: New file, says the example source files
41500 can be used under GPL>=2.
41501 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41502 line containing just "*/".
41503 * manual/examples/add.c: Add copyright header (GPL>=2).
41504 * manual/examples/argp-ex1.c: Likewise.
41505 * manual/examples/argp-ex2.c: Likewise.
41506 * manual/examples/argp-ex3.c: Likewise.
41507 * manual/examples/argp-ex4.c: Likewise.
41508 * manual/examples/atexit.c: Likewise.
41509 * manual/examples/db.c: Likewise.
41510 * manual/examples/dir.c: Likewise.
41511 * manual/examples/dir2.c: Likewise.
41512 * manual/examples/execinfo.c: Likewise.
41513 * manual/examples/filecli.c: Likewise.
41514 * manual/examples/filesrv.c: Likewise.
41515 * manual/examples/fmtmsgexpl.c: Likewise.
41516 * manual/examples/genpass.c: Likewise.
41517 * manual/examples/inetcli.c: Likewise.
41518 * manual/examples/inetsrv.c: Likewise.
41519 * manual/examples/isockad.c: Likewise.
41520 * manual/examples/longopt.c: Likewise.
41521 * manual/examples/memopen.c: Likewise.
41522 * manual/examples/memstrm.c: Likewise.
41523 * manual/examples/mkfsock.c: Likewise.
41524 * manual/examples/mkisock.c: Likewise.
41525 * manual/examples/mygetpass.c: Likewise.
41526 * manual/examples/pipe.c: Likewise.
41527 * manual/examples/popen.c: Likewise.
41528 * manual/examples/rprintf.c: Likewise.
41529 * manual/examples/search.c: Likewise.
41530 * manual/examples/select.c: Likewise.
41531 * manual/examples/setjmp.c: Likewise.
41532 * manual/examples/sigh1.c: Likewise.
41533 * manual/examples/sigusr.c: Likewise.
41534 * manual/examples/stpcpy.c: Likewise.
41535 * manual/examples/strdupa.c: Likewise.
41536 * manual/examples/strftim.c: Likewise.
41537 * manual/examples/strncat.c: Likewise.
41538 * manual/examples/subopt.c: Likewise.
41539 * manual/examples/swapcontext.c: Likewise.
41540 * manual/examples/termios.c: Likewise.
41541 * manual/examples/testopt.c: Likewise.
41542 * manual/examples/testpass.c: Likewise.
41543 * manual/examples/timeval_subtract.c: Likewise.
41546 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41548 * manual/timeval_subtract.c.texi: ... here, new file.
41550 2012-03-02 David S. Miller <davem@davemloft.net>
41552 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41554 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41557 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41558 (__sin): Save and restore rounding mode and use round-to-nearest
41559 for all computations.
41560 (__cos): Save and restore rounding mode and use round-to-nearest
41561 for all computations.
41562 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41564 (tan): Save and restore rounding mode and use round-to-nearest for
41566 * math/libm-test.inc (cos_test_tonearest): New function.
41567 (cos_test_towardzero): Likewise.
41568 (cos_test_downward): Likewise.
41569 (cos_test_upward): Likewise.
41570 (sin_test_tonearest): Likewise.
41571 (sin_test_towardzero): Likewise.
41572 (sin_test_downward): Likewise.
41573 (sin_test_upward): Likewise.
41574 (tan_test_tonearest): Likewise.
41575 (tan_test_towardzero): Likewise.
41576 (tan_test_downward): Likewise.
41577 (tan_test_upward): Likewise.
41578 (main): Call the new functions.
41579 * sysdeps/i386/fpu/libm-test-ulps: Update.
41580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41583 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41584 small n, then large n, before computing and testing k+n.
41585 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41590 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41591 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41596 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41597 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41598 * math/libm-test.inc (scalbn_test): Add more tests.
41599 (scalbln_test): Likewise.
41601 * manual/filesys.texi (mode_t): Describe constraints on size and
41602 signedness, not exact equivalence to a particular type.
41604 (ino64_t): Likewise.
41606 (nlink_t): Likewise.
41607 (blkcnt_t): Likewise.
41608 (blkcnt64_t): Likewise.
41609 * manual/llio.texi (off_t): Likewise.
41612 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41613 (__ieee754_exp): Save and restore rounding mode and use
41614 round-to-nearest for all computations.
41615 * math/libm-test.inc (exp_test_tonearest): New function.
41616 (exp_test_towardzero): Likewise.
41617 (exp_test_downward): Likewise.
41618 (exp_test_upward): Likewise.
41619 (main): Call the new functions.
41620 * sysdeps/i386/fpu/libm-test-ulps: Update.
41621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41623 2012-03-01 Chris Demetriou <cgd@google.com>
41625 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41626 have predictable order.
41628 2012-03-01 David S. Miller <davem@davemloft.net>
41630 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41632 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41633 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41634 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41635 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41637 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41638 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41639 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41641 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41642 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41643 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41644 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41645 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41650 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41653 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41654 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41655 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41656 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41657 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41658 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41660 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41661 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41662 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41663 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41667 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41669 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41670 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41671 * sysdeps/sparc/elf/configure: Regenerated.
41673 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41675 * configure.in (AS, LD): Require binutils 2.20 or later.
41676 * configure: Regenerated.
41677 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41678 as required minimum version.
41679 * INSTALL: Regenerated.
41683 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41684 before squaring exponent.
41685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41686 bottom long double and 27 bits of top long double before squaring
41688 * math/libm-test.inc (erfc_test): Add more tests.
41689 * sysdeps/i386/fpu/libm-test-ulps: Update.
41690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41693 2012-03-01 Kai Tietz <ktietz@redhat.com>
41695 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41696 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41697 containing bit-fields.
41698 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41699 * soft-fp/single.h (_FP_UNION_S): Likewise.
41700 * soft-fp/double.h (_FP_UNION_D): Likewise.
41702 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41705 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41706 not include ../strcmp.S.
41707 [USE_AS_STRNCASECMP_L]: Likewise.
41708 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41709 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41710 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41711 (__strncasecmp_l_ia32): Define as alias to
41712 __strncasecmp_l_nonascii.
41715 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41716 * sysdeps/i386/fpu/libm-test-ulps: Update.
41717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41719 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41722 2012-02-29 Jeff Law <law@redhat.com>
41724 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41725 out of bounds read.
41727 2012-02-29 Marek Polacek <polacek@redhat.com>
41730 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41731 * elf/Makefile: Add rules to run tst-unused-dep.out.
41733 2012-02-28 David S. Miller <davem@davemloft.net>
41735 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41736 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41737 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41739 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41740 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41742 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41744 * math/libm-test.inc (llround_test): Move one test from
41745 lround_test. Use TEST_f_L in moved test.
41746 (lround_test): Move misplaced test to llround_test. Add testcase
41749 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41751 * sysdeps/x86_64/fpu/e_expf.S: New file.
41752 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41754 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41757 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41758 of remain_len that may cause incomplete multi-byte character and
41760 * posix/bug-regex33.c: New file.
41761 * posix/Makefile (tests): Add bug-regex33.
41763 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41765 * manual/macros.texi: New file.
41766 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41767 * manual/libc.texinfo: Include macros.texi.
41768 * manual/creatute.texi: Likewise.
41769 * manual/install.texi: Likewise.
41770 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41771 @glibcadj{} in references to the GNU C Library.
41772 * manual/charset.texi: Likewise.
41773 * manual/conf.texi: Likewise.
41774 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41775 when not using those macros.
41776 * manual/creature.texi: Likewise.
41777 * manual/crypt.texi: Likewise.
41778 * manual/errno.texi: Likewise.
41779 * manual/filesys.texi: Likewise.
41780 * manual/header.texi: Likewise.
41781 * manual/install.texi: Likewise.
41782 * manual/intro.texi: Likewise.
41783 * manual/io.texi: Likewise.
41784 * manual/job.texi: Likewise.
41785 * manual/lang.texi: Likewise.
41786 * manual/libc.texiinfo: Likewise.
41787 * manual/llio.texi: Likewise.
41788 * manual/locale.texi: Likewise.
41789 * manual/maint.texi: Likewise.
41790 * manual/math.texi: Likewise.
41791 * manual/memory.texi: Likewise.
41792 * manual/message.texi: Likewise.
41793 * manual/nss.texi: Likewise.
41794 * manual/pattern.texi: Likewise.
41795 * manual/process.texi: Likewise.
41796 * manual/resource.texi: Likewise.
41797 * manual/search.texi: Likewise.
41798 * manual/setjmp.texi: Likewise.
41799 * manual/signal.texi: Likewise.
41800 * manual/socket.texi: Likewise.
41801 * manual/startup.texi: Likewise.
41802 * manual/stdio.texi: Likewise.
41803 * manual/string.texi: Likewise.
41804 * manual/sysinfo.texi: Likewise.
41805 * manual/syslog.texi: Likewise.
41806 * manual/terminal.texi: Likewise.
41807 * manual/time.texi: Likewise.
41808 * manual/users.texi: Likewise.
41809 * INSTALL: Regenerated.
41810 * NOTES: Regenerated.
41811 * sysdeps/gnu/errlist.c: Regenerated.
41813 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41815 * include/dirent.h: Include <dirstream.h> before
41818 2012-02-28 David S. Miller <davem@davemloft.net>
41820 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41821 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41822 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41823 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41825 2012-02-27 David S. Miller <davem@davemloft.net>
41827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41829 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41830 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41833 frame pointer instead of stack pointer relative arg slot.
41834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41835 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41836 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41838 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41841 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41843 2012-02-27 David S. Miller <davem@davemloft.net>
41845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41849 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41850 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41851 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41852 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41854 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41856 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41857 later. Allow versions 5-9.
41858 * configure: Regenerated.
41859 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41860 required minimum version and 4.6 as recommended version. Do not
41861 mention bugs in GCC 2.7 and 2.8.
41862 * INSTALL: Regenerated.
41864 2012-02-27 David S. Miller <davem@davemloft.net>
41866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41872 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41876 manipulate bits before adding and subtracting TWO112[sx].
41877 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41879 2012-02-27 Roland McGrath <roland@hack.frob.com>
41882 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41883 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41884 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41885 being in POSIX, because they are in 1003.1-2008.
41887 * rt/tst-aio.c: Include <fcntl.h>.
41888 * rt/tst-aio7.c: Likewise.
41889 * rt/tst-aio64.c: Likewise.
41891 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41893 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41895 * manual/install.texi (--with-headers): Describe headers as
41896 interface headers, not private headers.
41897 (Specific advice for GNU/Linux systems): Describe use of headers
41898 from "make headers_install", not private headers from older
41900 * INSTALL: Regenerated.
41901 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41903 * sysdeps/unix/sysv/linux/configure: Regenerated.
41905 * manual/llio.texi (fclean): Remove documentation.
41907 * manual/Makefile (libc-texi-generated): New variable. Include
41909 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41910 $(libc-texi-generated), not duplicated list of files.
41911 (version.texi, stamp-version): New rules.
41912 (realclean): Remove $(libc-texi-generated), not individual files
41913 from that list. Do not remove dir-add.texinfo.
41914 * manual/libc.texinfo: Comment out uses of edition numbers and
41915 references to printed manual. Remove last-updated dates.
41916 (EDITION): Comment out.
41918 (VERSION, UPDATED): Remove.
41919 (version.texi): Include.
41921 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41923 * sysdeps/posix/spawni.c: Include <signal.h>.
41924 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41925 * sysdeps/pthread/aio_fsync.c: Likewise.
41927 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41929 * conform/Makefile (tests): Run only when not cross-compiling and
41930 when fast-check is not defined.
41932 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41933 * conform/data/limits.h-data: Fixes for POSIX2008.
41934 * conform/run-conformtest.sh: Run all tests.
41935 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41937 * include/bits/dlfcn.h: Likewise.
41938 * include/langinfo.h: Likewise.
41939 * include/monetary.h: Likewise.
41940 * include/sys/poll.h: Likewise.
41942 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41944 * posix/spawn.h: Define __need_sigset_t.
41945 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41946 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41947 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41948 to get sigevent_t only.
41949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41950 only for __USE_GNU.
41951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41953 process_vm_writev only for __USE_GNU.
41954 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41956 * conform/Makefile: For now ignore errors from run-conformtest.
41957 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41958 POSIX to avoid namespace pollution. Don't prepend headers.
41959 * conform/data/aio.h-data: Fixes for POSIX testing.
41960 * conform/data/fcntl.h-data: Likewise.
41961 * conform/data/glob.h-data: Likewise.
41962 * conform/data/grp.h-data: Likewise.
41963 * conform/data/pthread.h-data: Likewise.
41964 * conform/data/pwd.h-data: Likewise.
41965 * conform/data/signal.h-data: Likewise.
41966 * conform/data/spawn.h-data: Likewise.
41967 * conform/data/stdio.h-data: Likewise.
41968 * conform/data/stdlib.h-data: Likewise.
41969 * conform/data/stropts.h-data: Likewise.
41970 * conform/data/sys/mman.h-data: Likewise.
41971 * conform/data/sys/stat.h-data: Likewise.
41972 * conform/data/sys/types.h-data: Likewise.
41973 * conform/data/sys/wait.h-data: Likewise.
41974 * conform/data/time.h-data: Likewise.
41975 * conform/data/unistd.h-data: Likewise.
41976 * conform/data/utime.h-data: Likewise.
41978 * io/sys/stat.h: fchmod was always in POSIX.
41979 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41980 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41981 * rt/aio.h: Define __need_timespec before including <time.h>.
41982 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41983 struct. Add forward declaration of pthread_attr_t and use it in
41985 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41986 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41987 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41988 always remove CLK_TCK definition.
41990 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41992 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41994 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41996 * conform/run-conformtest.sh: New file.
41997 * conform/Makefile: Run run-conformtest for tests.
41998 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42001 * conform/data/uchar.h-data: New file.
42002 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42003 * conform/data/arpa/inet.h-data: Likewise.
42004 * conform/data/assert.h-data: Likewise.
42005 * conform/data/complex.h-data: Likewise.
42006 * conform/data/cpio.h-data: Likewise.
42007 * conform/data/ctype.h-data: Likewise.
42008 * conform/data/dirent.h-data: Likewise.
42009 * conform/data/dlfcn.h-data: Likewise.
42010 * conform/data/errno.h-data: Likewise.
42011 * conform/data/fcntl.h-data: Likewise.
42012 * conform/data/float.h-data: Likewise.
42013 * conform/data/fmtmsg.h-data: Likewise.
42014 * conform/data/fnmatch.h-data: Likewise.
42015 * conform/data/ftw.h-data: Likewise.
42016 * conform/data/glob.h-data: Likewise.
42017 * conform/data/grp.h-data: Likewise.
42018 * conform/data/iconv.h-data: Likewise.
42019 * conform/data/inttypes.h-data: Likewise.
42020 * conform/data/langinfo.h-data: Likewise.
42021 * conform/data/libgen.h-data: Likewise.
42022 * conform/data/limits.h-data: Likewise.
42023 * conform/data/locale.h-data: Likewise.
42024 * conform/data/math.h-data: Likewise.
42025 * conform/data/monetary.h-data: Likewise.
42026 * conform/data/mqueue.h-data: Likewise.
42027 * conform/data/ndbm.h-data: Likewise.
42028 * conform/data/net/if.h-data: Likewise.
42029 * conform/data/netdb.h-data: Likewise.
42030 * conform/data/netinet/in.h-data: Likewise.
42031 * conform/data/nl_types.h-data: Likewise.
42032 * conform/data/poll.h-data: Likewise.
42033 * conform/data/pthread.h-data: Likewise.
42034 * conform/data/pwd.h-data: Likewise.
42035 * conform/data/regex.h-data: Likewise.
42036 * conform/data/sched.h-data: Likewise.
42037 * conform/data/search.h-data: Likewise.
42038 * conform/data/semaphore.h-data: Likewise.
42039 * conform/data/setjmp.h-data: Likewise.
42040 * conform/data/signal.h-data: Likewise.
42041 * conform/data/spawn.h-data: Likewise.
42042 * conform/data/stdarg.h-data: Likewise.
42043 * conform/data/stdio.h-data: Likewise.
42044 * conform/data/stdlib.h-data: Likewise.
42045 * conform/data/string.h-data: Likewise.
42046 * conform/data/strings.h-data: Likewise.
42047 * conform/data/stropts.h-data: Likewise.
42048 * conform/data/sys/ipc.h-data: Likewise.
42049 * conform/data/sys/mman.h-data: Likewise.
42050 * conform/data/sys/msg.h-data: Likewise.
42051 * conform/data/sys/resource.h-data: Likewise.
42052 * conform/data/sys/select.h-data: Likewise.
42053 * conform/data/sys/sem.h-data: Likewise.
42054 * conform/data/sys/shm.h-data: Likewise.
42055 * conform/data/sys/socket.h-data: Likewise.
42056 * conform/data/sys/stat.h-data: Likewise.
42057 * conform/data/sys/statvfs.h-data: Likewise.
42058 * conform/data/sys/time.h-data: Likewise.
42059 * conform/data/sys/timeb.h-data: Likewise.
42060 * conform/data/sys/times.h-data: Likewise.
42061 * conform/data/sys/types.h-data: Likewise.
42062 * conform/data/sys/uio.h-data: Likewise.
42063 * conform/data/sys/un.h-data: Likewise.
42064 * conform/data/sys/utsname.h-data: Likewise.
42065 * conform/data/sys/wait.h-data: Likewise.
42066 * conform/data/syslog.h-data: Likewise.
42067 * conform/data/tar.h-data: Likewise.
42068 * conform/data/termios.h-data: Likewise.
42069 * conform/data/utime.h-data: Likewise.
42070 * conform/data/utmpx.h-data: Likewise.
42071 * conform/data/varargs.h-data: Likewise.
42072 * conform/data/wchar.h-data: Likewise.
42073 * conform/data/wctype.h-data: Likewise.
42074 * conform/data/wordexp.h-data: Likewise.
42076 * include/stropts.h: New file.
42077 * include/uchar.h: New file.
42078 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42079 * include/assert.h: Likewise.
42080 * include/ctype.h: Likewise.
42081 * include/dirent.h: Likewise.
42082 * include/dlfcn.h: Likewise.
42083 * include/fcntl.h: Likewise.
42084 * include/fnmatch.h: Likewise.
42085 * include/glob.h: Likewise.
42086 * include/grp.h: Likewise.
42087 * include/libio.h: Likewise.
42088 * include/locale.h: Likewise.
42089 * include/math.h: Likewise.
42090 * include/net/if.h: Likewise.
42091 * include/netdb.h: Likewise.
42092 * include/netinet/in.h: Likewise.
42093 * include/pthread.h: Likewise.
42094 * include/pwd.h: Likewise.
42095 * include/regex.h: Likewise.
42096 * include/sched.h: Likewise.
42097 * include/search.h: Likewise.
42098 * include/setjmp.h: Likewise.
42099 * include/signal.h: Likewise.
42100 * include/stdio.h: Likewise.
42101 * include/stdlib.h: Likewise.
42102 * include/string.h: Likewise.
42103 * include/sys/cdefs.h: Likewise.
42104 * include/sys/mman.h: Likewise.
42105 * include/sys/msg.h: Likewise.
42106 * include/sys/resource.h: Likewise.
42107 * include/sys/select.h: Likewise.
42108 * include/sys/socket.h: Likewise.
42109 * include/sys/stat.h: Likewise.
42110 * include/sys/statvfs.h: Likewise.
42111 * include/sys/time.h: Likewise.
42112 * include/sys/times.h: Likewise.
42113 * include/sys/uio.h: Likewise.
42114 * include/sys/utsname.h: Likewise.
42115 * include/sys/wait.h: Likewise.
42116 * include/termios.h: Likewise.
42117 * include/time.h: Likewise.
42118 * include/ulimit.h: Likewise.
42119 * include/unistd.h: Likewise.
42120 * include/utime.h: Likewise.
42121 * include/wchar.h: Likewise.
42122 * include/wctype.h: Likewise.
42123 * include/wordexp.h: Likewise.
42125 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42127 * time/time.h: TIME_UTC must be a macro.
42128 Make timespec_get available for ISO C11 only as well.
42130 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42132 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42133 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42137 * configure.in: Use -o not -a in test for unsupported multi-arch.
42139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42141 * manual/texinfo.tex: Update to version 2012-01-19.16.
42143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42145 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42147 2012-02-24 Roland McGrath <roland@hack.frob.com>
42150 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42151 * manual/fdl-1.3.texi: New file.
42152 * manual/fdl-1.1.texi: File removed.
42155 * manual/libc.texinfo (FDL_VERSION): New @set.
42156 Use it for mention of FDL in cover text.
42157 (Documentation License): Use it in @include file name.
42159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42160 Roland McGrath <roland@hack.frob.com>
42163 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42164 (not LONG_LONG_MAX and LONG_LONG_MIN.
42165 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42166 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42168 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42170 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42174 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42175 manipulate bits before adding and subtracting TWO23[sx].
42176 * math/libm-test.inc (nearbyint_test): Add more tests.
42178 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42181 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42182 bits before adding and subtracting TWO23[sx].
42183 * math/libm-test.inc (rint_test): Add more tests.
42184 (rint_test_tonearest): Likewise.
42185 (rint_test_towardzero): Likewise.
42186 (rint_test_downward): Likewise.
42187 (rint_test_upward: Likewise.
42189 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42192 * include/stdc-predef.h: New file. Extracted from features.h.
42193 * include/features.h: Include stdc-predef.h.
42194 * Makefile (headers): Add stdc-predef.h.
42195 * CONFORMANCE (Compiler limitations): Update.
42197 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42199 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42201 2012-02-21 David S. Miller <davem@davemloft.net>
42203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42206 2012-02-20 David S. Miller <davem@davemloft.net>
42208 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42209 using a normal save/restore sequence, rather than allocating a
42210 dummy stack frame just to store a frame pointer and restore.
42211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42213 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42215 * manual/install.texi: Fix stray word in line-wrapped comment.
42217 2012-02-20 David S. Miller <davem@davemloft.net>
42219 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42220 both binutils and gcc support GOTDATA.
42222 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42223 "rd %pc" in the PIC register setup sequences.
42225 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42226 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42227 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42228 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42229 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42234 (SYSCALL_ERROR_HANDLER): Likewise.
42235 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42236 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42238 (SYSCALL_ERROR_HANDLER): Likewise.
42240 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42241 (HAVE_GCC_GOTDATA): New.
42242 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42243 relocation support in both binutils and gcc.
42244 * sysdeps/sparc/elf/configure: Regenerate.
42246 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42247 * sysdeps/sparc/sparc32/elf/configure: Delete.
42248 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42249 * sysdeps/sparc/sparc64/elf/configure: Delete.
42250 * sysdeps/sparc/elf/configure.in: New file.
42251 * sysdeps/sparc/elf/configure: Generate.
42253 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42254 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42256 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42257 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42259 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42261 * manual/install.texi: Do not mention specific glibc version
42263 * manual/libc.texinfo (VERSION, UPDATED): Update.
42264 (@copying): Use @copyright{} and range of years.
42266 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42269 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42270 [crti.S not in sysdirs] (generated): Do not append.
42271 [crti.S not in sysdirs] (omit-deps): Likewise.
42272 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42273 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42274 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42275 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42276 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42278 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42279 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42280 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42281 * csu/defs.awk: Remove file.
42282 * sysdeps/generic/initfini.c: Likewise.
42283 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42285 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42290 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42291 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42292 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42294 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42295 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42297 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42298 (__EPOLL_PACKED): Define to empty if not defined by
42300 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42304 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42306 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42307 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42308 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42311 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42315 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42317 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42320 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42324 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42327 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42329 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42331 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42332 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42334 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42336 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42339 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42341 * math/w_acos.c: Use non-signaling floating-point comparisons.
42342 * math/w_acosf.c: Likewise.
42343 * math/w_acosh.c: Likewise.
42344 * math/w_acoshf.c: Likewise.
42345 * math/w_acoshl.c: Likewise.
42346 * math/w_acosl.c: Likewise.
42347 * math/w_asin.c: Likewise.
42348 * math/w_asinf.c: Likewise.
42349 * math/w_asinl.c: Likewise.
42350 * math/w_atanh.c: Likewise.
42351 * math/w_atanhf.c: Likewise.
42352 * math/w_atanhl.c: Likewise.
42353 * math/w_exp2.c: Likewise.
42354 * math/w_exp2f.c: Likewise.
42355 * math/w_exp2l.c: Likewise.
42356 * math/w_j0.c: Likewise.
42357 * math/w_j0f.c: Likewise.
42358 * math/w_j0l.c: Likewise.
42359 * math/w_j1.c: Likewise.
42360 * math/w_j1f.c: Likewise.
42361 * math/w_j1l.c: Likewise.
42362 * math/w_jn.c: Likewise.
42363 * math/w_jnf.c: Likewise.
42364 * math/w_log.c: Likewise.
42365 * math/w_log10.c: Likewise.
42366 * math/w_log10f.c: Likewise.
42367 * math/w_log10l.c: Likewise.
42368 * math/w_log2.c: Likewise.
42369 * math/w_log2f.c: Likewise.
42370 * math/w_log2l.c: Likewise.
42371 * math/w_logf.c: Likewise.
42372 * math/w_logl.c: Likewise.
42373 * math/w_sqrt.c: Likewise.
42374 * math/w_sqrtf.c: Likewise.
42375 * math/w_sqrtl.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42380 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42385 * manual/string.texi (strnlen): Use correct parameter name in
42386 equivalent expression.
42388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42391 * manual/users.texi (seteuid): Consistently use neweuid for
42394 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42397 * manual/nss.texi (Services in the NSS configuration): Correct
42398 list of services in example configuration file.
42400 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42403 * manual/arith.texi: Remove statements about negative zero
42404 behaving identically to zero.
42406 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42409 * manual/install.texi: Do not document upgrading from libc5.
42411 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42414 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42416 2012-02-18 David S. Miller <davem@davemloft.net>
42418 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42419 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42420 %o7 across the call.
42421 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42424 SETUP_PIC_REG_LEAF.
42425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42426 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42427 * sysdeps/sparc/crtn.S: Likewise.
42429 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42431 * aout/Makefile: Remove.
42433 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42436 * manual/examples/argp-ex1.c (main): Format definition in GNU
42438 * manual/examples/argp-ex2.c (main): Likewise.
42439 * manual/examples/argp-ex3.c (main): Likewise.
42440 * manual/examples/argp-ex4.c (main): Likewise.
42441 * manual/examples/longopt.c (main): Use new-style prototype
42443 * manual/examples/strncat.c (main): Specify return type and use
42444 (void) for arguments.
42445 * manual/examples/subopt.c (main): Use char **argv argument.
42447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42450 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42453 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42456 * manual/string.texi (strchr): Change when strchrnul is
42459 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42462 * manual/locale.texi (setlocale): Document LOCPATH.
42464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42467 * manual/process.texi (execle): Move @dots{} before last argument.
42469 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42472 * manual/charset.texi (Generic Charset Conversion): Fix typo
42473 (LC_TYPE -> LC_CTYPE).
42475 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42478 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42479 (scalbnf): Likewise.
42480 (scalbnl): Likewise.
42481 (scalbln): Likewise.
42482 (scalblnf): Likewise.
42483 (scalblnl): Likewise.
42484 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42485 (vwarnx): Likewise.
42488 * manual/filesys.texi (telldir): Use braces around return type.
42489 * manual/llio.texi (mmap): Add space after comma.
42490 (mmap64): Likewise.
42491 * manual/math.texi (jn): Use @var{} on parameter names.
42497 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42499 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42501 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42502 (sched_get_priority_max): Likewise.
42503 * manual/signal.texi (sigvec): Add space after comma.
42504 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42506 (if_indextoname): Likewise.
42507 (if_freenameindex): Likewise.
42508 (sendto): Use ',' instead of '.' in prototype.
42509 * manual/startup.texi (syscall): Use @dots{} instead of literal
42511 * manual/stdio.texi (__fpending): Separate initial words of
42512 paragraph from @deftypefun line.
42513 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42515 (vsyslog): Use @var{} on parameter names.
42516 * manual/terminal.texi (stty): Use @var{} on parameter names.
42517 * manual/users.texi (getutmp): Use @var{} on parameter names.
42518 (getutmpx): Likewise.
42520 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42523 * manual/stdio.texi (fopen): Fix typos in description of
42526 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42529 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42530 get clock_id definition.
42532 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42535 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42536 (madvise): Cast every argument to void on its own.
42538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42541 * manual/startup.texi (Exit Status): Fix typo.
42543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42546 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42547 * manual/examples/argp-ex2.c: Likewise.
42548 * manual/examples/argp-ex3.c: Likewise.
42550 2012-02-16 Richard Henderson <rth@redhat.com>
42552 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42553 * sysdeps/s390/s390-32/initfini.c: Remove.
42554 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42555 * sysdeps/s390/s390-64/initfini.c: Remove.
42557 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42559 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42560 compiler output for sysdeps/generic/initfini.c.
42561 * sysdeps/sh/elf/initfini.c: Remove file.
42563 2012-02-16 David S. Miller <davem@davemloft.net>
42566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42568 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42569 * sysdeps/sparc/crti.S: New file.
42570 * sysdeps/sparc/crtn.S: New file.
42571 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42572 * sysdeps/sparc/sparc64/Makefile: Likewise.
42574 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42577 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42579 2012-02-15 Roland McGrath <roland@hack.frob.com>
42582 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42584 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42585 (write, read, close): Likewise.
42586 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42588 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42590 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42591 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42592 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42593 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42595 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42599 2012-02-14 Marek Polacek <polacek@redhat.com>
42601 * sysdeps/x86_64/crti.S: New file.
42602 * sysdeps/x86_64/crtn.S: New file.
42603 * sysdeps/x86_64/elf/initfini.c: Remove file.
42605 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42607 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42608 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42609 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42610 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42612 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42616 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42618 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42619 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42620 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42621 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42623 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42627 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42629 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42630 __feraiseexcept instead of feraiseexcept.
42632 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42633 nanosleep invocations.
42634 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42635 strings, and add error checking for a nanosleep invocations.
42637 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42639 Replace FSF snail mail address with URLs, as per GNU coding standards.
42640 Most of the snail mail addresses were wrong anyway, and omitting
42641 them makes the source code easier to maintain. Almost all of the
42642 changes are to license notices and to locale LC_IDENTIFICATION
42643 addresses, except for this one:
42644 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42645 not its snail mail address.
42647 2012-02-09 Richard Henderson <rth@twiddle.net>
42649 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42650 of kernel-features.h.
42652 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42654 2012-02-08 Marek Polacek <polacek@redhat.com>
42656 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42657 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42658 * sysdeps/gnu/_G_config.h: Likewise.
42659 * sysdeps/generic/_G_config.h: Likewise.
42661 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42663 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42667 * sysdeps/powerpc/powerpc32/crti.S: New file.
42668 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42669 * sysdeps/powerpc/powerpc64/crti.S: New file.
42670 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42672 * Makeconfig (have-initfini): Don't set.
42673 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42674 * configure.in (nopic_initfini): Don't substitute.
42675 * config.h.in (HAVE_INITFINI): Don't #undef.
42676 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42677 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42679 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42681 Support crti.S and crtn.S provided directly by architectures.
42682 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42683 [crti.S in sysdirs] (omit-deps): Likewise.
42684 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42685 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42686 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42687 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42688 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42689 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42690 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42691 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42692 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42693 compiler output for sysdeps/generic/initfini.c.
42694 * sysdeps/i386/elf/Makefile: Remove file.
42695 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42697 2012-02-07 Marek Polacek <polacek@redhat.com>
42699 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42700 * sysdeps/gnu/_G_config.h: Likewise.
42701 * sysdeps/mach/hurd/_G_config.h: Likewise.
42703 2012-02-07 Marek Polacek <polacek@redhat.com>
42705 * math/Makefile (tests): Add tst-CMPLX2.
42706 * math/tst-CMPLX2.c: New file.
42708 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42712 * math/libm-test.inc (jn_test): Add missing L suffix.
42714 2012-02-06 Marek Polacek <polacek@redhat.com>
42716 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42717 * sysdeps/i386/fpu/e_powf.S: Likewise.
42718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42719 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42721 * sysdeps/i386/fpu/e_pow.S: Likewise.
42722 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42724 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42726 * sysdeps/i386/fpu/e_log2.S: Likewise.
42727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42728 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42729 * sysdeps/i386/fpu/e_powl.S: Likewise.
42730 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42731 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42732 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42733 * sysdeps/i386/fpu/e_logl.S: Likewise.
42734 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42735 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42736 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42737 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42740 * sysdeps/i386/fpu/e_log.S: Likewise.
42741 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42742 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42743 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42744 * sysdeps/i386/fpu/e_logf.S: Likewise.
42745 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42746 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42747 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42748 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42749 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42750 * sysdeps/i386/fpu/e_log10.S: Likewise.
42751 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42753 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42754 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42755 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42756 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42757 * sysdeps/i386/asm-syntax.h: Likewise.
42758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42761 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42762 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42763 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42764 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42765 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42766 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42767 * sysdeps/powerpc/sysdep.h: Likewise.
42768 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42769 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42771 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42774 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42776 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42778 * sysdeps/i386/sysdep.h: Include <features.h>.
42779 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42782 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42784 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42786 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42789 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42791 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42792 (SETUP_PIC_REG): Use GET_PC_THUNK.
42793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42798 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42799 for non-PIC compilation.
42800 (SETUP_PIC_REG): Add .p2align directive.
42801 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42802 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42803 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42804 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42805 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42806 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42807 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42808 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42809 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42810 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42811 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42812 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42813 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42814 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42815 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42816 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42817 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42818 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42819 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42820 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42823 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42824 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42827 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42828 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42829 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42830 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42831 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42832 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42833 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42834 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42835 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42836 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42837 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42838 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42839 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42840 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42841 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42843 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42845 * math/tst-CMPLX.c: Include <stdio.h>.
42847 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42849 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42852 * sysdeps/sparc/bits/mathdef.h: Likewise.
42854 2012-01-31 Marek Polacek <polacek@redhat.com>
42856 * libio/libio.h: Don't define _PARAMS.
42857 * locale/programs/config.h: Don't define PARAMS.
42858 * stdlib/strtol_l.c: Likewise.
42859 (__strtol_l): Remove PARAMS from the prototype.
42861 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42863 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42864 names. Just use the correct names. Remove unnecessary wrapper
42866 * malloc/arena.c: Likewise.
42867 * malloc/hooks.c: Likewise.
42869 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42870 ARENA_TEST says not to. Simplify test for creation of a new arena.
42871 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42873 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42875 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42877 (update_get_addr): New function.
42878 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42879 GET_ADDR_MODULE parameter.
42881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42883 * crypt/cert.c: Remove __STDC__ conditionals.
42884 * crypt/crypt-entry.c: Likewise.
42885 * crypt/crypt_util.c: Likewise.
42886 * libio/filedoalloc.c: Likewise.
42887 * libio/fileops.c: Likewise.
42888 * libio/genops.c: Likewise.
42889 * libio/iofclose.c: Likewise.
42890 * libio/iofdopen.c: Likewise.
42891 * libio/iofopen.c: Likewise.
42892 * libio/iofopen64.c: Likewise.
42893 * libio/iogetdelim.c: Likewise.
42894 * libio/iopopen.c: Likewise.
42895 * libio/obprintf.c: Likewise.
42896 * libio/oldfileops.c: Likewise.
42897 * libio/oldiofclose.c: Likewise.
42898 * libio/oldiofdopen.c: Likewise.
42899 * libio/oldiofopen.c: Likewise.
42900 * libio/oldiopopen.c: Likewise.
42901 * libio/wfiledoalloc.c: Likewise.
42902 * libio/wgenops.c: Likewise.
42903 * locale/programs/xmalloc.c: Likewise.
42904 * misc/syslog.c: Likewise.
42905 * stdio-common/xbug.c: Likewise.
42906 * string/memchr.c: Likewise.
42907 * string/memcmp.c: Likewise.
42908 * string/memrchr.c: Likewise.
42909 * string/rawmemchr.c: Likewise.
42910 * sysdeps/posix/getcwd.c: Likewise.
42911 * time/strftime_l.c: Likewise.
42913 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42915 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42916 * config.make.in (config-cflags-sse2avx): Define.
42917 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42920 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42922 * scripts/config.guess: Update from upstream config git repository.
42923 * scripts/config.sub: Likewise.
42925 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42927 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42929 (R_TILEPRO_*, R_TILEGX_*): New macros.
42931 * scripts/firstversions.awk: Fix bug in version range handling.
42933 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42935 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42937 * include/sys/epoll.h: New file.
42938 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42941 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42943 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42944 Avoid unnecessary __WORDSIZE == 64 test.
42945 (fmaxf): Use VEX format if possible.
42950 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42951 * math/math_private.h: Remove libc_fegetround* and
42953 * sysdeps/i386/configure.in: Check for -msse2avx.
42954 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42955 also if SSE2AVX is defined.
42956 Remove libc_fegetround* and libc_fesetround*.
42957 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42958 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42962 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42967 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42969 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42971 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42975 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42978 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42980 * Makeconfig (libm): Define.
42981 * elf/Makefile: Add rules to build and run tst-relsort1.
42982 * elf/tst-relsort1.c: New file.
42983 * elf/tst-relsort1mod1.c: New file.
42984 * elf/tst-relsort1mod2.c: New file.
42986 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42988 * math/s_ldexp.c: Remove __STDC__ conditionals.
42989 * math/s_ldexpf.c: Likewise.
42990 * math/s_ldexpl.c: Likewise.
42991 * math/s_nextafter.c: Likewise.
42992 * math/s_nexttowardf.c: Likewise.
42993 * math/s_significand.c: Likewise.
42994 * math/s_significandf.c: Likewise.
42995 * math/s_significandl.c: Likewise.
42996 * math/w_jnl.c: Likewise.
42997 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42998 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42999 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43000 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43001 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43018 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43022 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43023 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43024 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43025 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43026 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43027 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43028 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43031 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43032 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43033 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43034 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43035 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43036 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43037 * sysdeps/ieee754/k_standard.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43113 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43117 * sysdeps/ieee754/s_matherr.c: Likewise.
43118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43123 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43125 * crypt/md5.h: Remove __STDC__ conditionals.
43126 * libio/libioP.h: Likewise.
43127 * locale/programs/config.h: Likewise.
43128 * sysdeps/generic/sysdep.h: Likewise.
43129 * sysdeps/i386/asm-syntax.h: Likewise.
43130 * sysdeps/s390/asm-syntax.h: Likewise.
43131 * sysdeps/unix/sysdep.h: Likewise.
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43135 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43137 * libio/libio.h: Remove __STDC__ conditionals.
43138 * malloc/obstack.h: Likewise.
43139 * math/complex.h: Likewise.
43140 * math/math.h: Likewise.
43141 * sysdeps/generic/_G_config.h: Likewise.
43142 * sysdeps/gnu/_G_config.h: Likewise.
43143 * sysdeps/mach/hurd/_G_config.h: Likewise.
43144 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43145 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43146 * sysdeps/sparc/bits/mathdef.h: Likewise.
43148 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43151 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43152 Clean up HAS_* macros.
43153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43154 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43164 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43166 * elf/tst-unique3.cc (gets): Remove declaration.
43167 * elf/tst-unique3lib.cc (gets): Likewise.
43168 * elf/tst-unique3lib2.cc (gets): Likewise.
43169 * elf/tst-unique4.cc (gets): Likewise.
43171 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43173 * include/stdio.h: Add C++ protection. Add gets declarations and
43175 * debug/tst-chk1.c: Don't declare gets here.
43176 * stdio-common/tst-gets.c: Likewise.
43178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43180 * posix/glob: Remove directory.
43182 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43184 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43186 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43188 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43189 of the non-standard EPFNOSUPPORT.
43191 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43193 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43194 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43195 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43197 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43199 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43201 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43203 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43205 * nscd/grpcache.c (cache_addgr): Likewise.
43206 * nscd/hstcache.c (cache_addhst): Likewise.
43207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43208 * nscd/pwdcache.c (cache_addpw): Likewise.
43209 * nscd/servicescache.c (cache_addserv): Likewise.
43211 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43213 * malloc/malloc.c: Various cleanups.
43214 * malloc/hooks.c: Likewise.
43216 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43217 * stdlib/bug-fmtmsg1.c: New file.
43219 * stdlib/fmtmsg.c (init): Add missing unlock.
43220 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43222 2012-01-12 Marek Polacek <polacek@redhat.com>
43224 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43227 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43229 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43230 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43231 macro to ensure uniqueness of label name.
43232 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43233 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43235 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43237 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43241 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43244 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43246 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43248 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43252 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43255 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43259 * math/bits/math-finite.h: Add ldexp support.
43261 2012-01-10 Marek Polacek <polacek@redhat.com>
43263 * locale/programs/localedef.h (show_archive_content): Add noreturn
43266 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43268 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43270 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43272 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43274 * io/Makefile (headers): Add bits/poll2.h.
43276 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43279 typo #include statement.
43281 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43283 * include/sys/cdefs.h: Define __attribute_alloc_size.
43284 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43285 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43286 * elf/pldd.c: Likewise.
43287 * iconv/iconv_charmap.c: Likewise.
43288 * iconv/iconvconfig.c: Likewise.
43289 * iconv/strtab.c: Likewise.
43290 * locale/programs/locale.c: Likewise.
43291 * locale/programs/localedef.h: Likewise.
43292 * locale/programs/simple-hash.c: Likewise.
43293 * nscd/nscd.h: Likewise.
43294 * nss/makedb.c: Likewise.
43295 * sysdeps/generic/ldconfig.h: Likewise.
43296 * locale/programs/localedef.c: Remove xmalloc prototype.
43297 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43299 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43304 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43306 * math/Makefile (tests): Add tst-CMPLX.
43307 * math/tst-CMPLX.c: New file.
43309 * math/complex.h (CMPLXL): Fix typo.
43311 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43312 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43314 * debug/tst-chk1.c: Add poll and ppoll tests.
43315 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43316 * include/sys/poll.h: Add hidden proto for ppoll.
43317 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43318 * sysdeps/mach/hurd/ppoll.c: Likewise.
43319 * io/ppoll.c: Likewise.
43320 * debug/poll_chk.c: New file.
43321 * debug/ppoll_chk.c: New file.
43322 * include/bits/poll2.h: New file.
43323 * io/bits/poll2.h: New file.
43326 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43328 * configure.in: static is always set to yes. Remove.
43329 * config.make.in: Don't set build-static.
43330 * Makeconfig: Remove use of build-static.
43331 * dlfcn/Makefile: Likewise.
43332 * elf/Makefile: Likewise.
43333 * math/Makefile: Likewise.
43334 * misc/Makefile: Likewise.
43335 * nptl/Makefile: Likewise.
43336 * sysdeps/mach/hurd/Makefile: Likewise.
43338 * configure.in: PWD_P is not used anymore.
43339 * config.make.in: Remove PWD_P entry.
43341 * configure.in: Remove last remnants of RANLIB.
43342 No need to check for signed size_t anymore.
43343 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43345 Remove __builtin_expect test because we require at least gcc 3.4.
43346 * aclocal.m4: Likewise.
43348 * wcsmbs/mbrtoc16.c: Implement using towc function.
43349 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43350 * wcsmbs/wcsmbsload.c: Likewise.
43351 * iconv/gconv_simple.c: Likewise.
43352 * iconv/gconv_int.h: Likewise.
43353 * iconv/gconv_builtin.h: Likewise.
43354 * iconv/iconv_prog.c: Remove CHAR16 handling.
43356 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43358 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43360 * configure.in: Remove --with-elf and --enable-bounded options.
43361 Dont set base_machine for ia64. More non-ELF conditions removed.
43362 Remove testing and setting of leading underscore information.
43363 * config.make.in (build-bounded): Set to no.
43364 * config.h.in: Remove NO_UNDERSCORES entry.
43365 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43367 * csu/start.c: Remove !NO_UNDERSCORE code.
43368 * locale/localeinfo.h: Likewise.
43369 * sysdeps/generic/machine-gmon.h: Likewise.
43370 * sysdeps/generic/sysdep.h: Likewise.
43371 * sysdeps/i386/sysdep.h: Likewise.
43372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43373 * sysdeps/mach/sysdep.h: Likewise.
43374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43376 * sysdeps/sh/sysdep.h: Likewise.
43377 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43378 * sysdeps/unix/i386/sysdep.S: Likewise.
43379 * sysdeps/unix/sparc/start.c: Likewise.
43380 * sysdeps/unix/sparc/sysdep.S: Likewise.
43381 * sysdeps/unix/sparc/sysdep.h: Likewise.
43382 * sysdeps/unix/start.c: Likewise.
43383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43384 * sysdeps/x86_64/sysdep.h: Likewise.
43386 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43389 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43391 * argp/argp-fmtstream.h: Use const instead __const.
43392 * argp/argp.h: Likewise.
43393 * assert/assert.h: Likewise.
43394 * bits/fenv.h: Likewise.
43395 * bits/sched.h: Likewise.
43396 * bits/sigset.h: Likewise.
43397 * bits/sigthread.h: Likewise.
43398 * catgets/nl_types.h: Likewise.
43399 * conform/data/pthread.h-data: Likewise.
43400 * crypt/crypt-private.h: Likewise.
43401 * crypt/crypt.h: Likewise.
43402 * crypt/crypt_util.c: Likewise.
43403 * ctype/ctype.h: Likewise.
43404 * debug/execinfo.h: Likewise.
43405 * debug/mbsnrtowcs_chk.c: Likewise.
43406 * debug/mbsrtowcs_chk.c: Likewise.
43407 * debug/wcsnrtombs_chk.c: Likewise.
43408 * debug/wcsrtombs_chk.c: Likewise.
43409 * debug/wcstombs_chk.c: Likewise.
43410 * dirent/dirent.h: Likewise.
43411 * dlfcn/dlfcn.h: Likewise.
43412 * elf/neededtest4.c: Likewise.
43413 * grp/grp.h: Likewise.
43414 * gshadow/gshadow.h: Likewise.
43415 * iconv/gconv.h: Likewise.
43416 * iconv/gconv_int.h: Likewise.
43417 * iconv/gconv_simple.c: Likewise.
43418 * iconv/iconv.h: Likewise.
43419 * iconv/loop.c: Likewise.
43420 * iconv/skeleton.c: Likewise.
43421 * include/aio.h: Likewise.
43422 * include/aliases.h: Likewise.
43423 * include/argz.h: Likewise.
43424 * include/arpa/inet.h: Likewise.
43425 * include/assert.h: Likewise.
43426 * include/dirent.h: Likewise.
43427 * include/dlfcn.h: Likewise.
43428 * include/execinfo.h: Likewise.
43429 * include/fcntl.h: Likewise.
43430 * include/fenv.h: Likewise.
43431 * include/glob.h: Likewise.
43432 * include/grp.h: Likewise.
43433 * include/libintl.h: Likewise.
43434 * include/mntent.h: Likewise.
43435 * include/netdb.h: Likewise.
43436 * include/pwd.h: Likewise.
43437 * include/rpc/netdb.h: Likewise.
43438 * include/sched.h: Likewise.
43439 * include/search.h: Likewise.
43440 * include/shadow.h: Likewise.
43441 * include/signal.h: Likewise.
43442 * include/stdio.h: Likewise.
43443 * include/stdlib.h: Likewise.
43444 * include/string.h: Likewise.
43445 * include/sys/socket.h: Likewise.
43446 * include/sys/stat.h: Likewise.
43447 * include/sys/statfs.h: Likewise.
43448 * include/sys/statvfs.h: Likewise.
43449 * include/sys/syslog.h: Likewise.
43450 * include/sys/time.h: Likewise.
43451 * include/sys/uio.h: Likewise.
43452 * include/time.h: Likewise.
43453 * include/unistd.h: Likewise.
43454 * include/utmp.h: Likewise.
43455 * include/wchar.h: Likewise.
43456 * include/wctype.h: Likewise.
43457 * inet/aliases.h: Likewise.
43458 * inet/arpa/inet.h: Likewise.
43459 * inet/netinet/ether.h: Likewise.
43460 * inet/netinet/in.h: Likewise.
43461 * intl/libintl.h: Likewise.
43462 * io/bits/fcntl2.h: Likewise.
43463 * io/fcntl.h: Likewise.
43464 * io/ftw.h: Likewise.
43465 * io/sys/poll.h: Likewise.
43466 * io/sys/stat.h: Likewise.
43467 * io/sys/statfs.h: Likewise.
43468 * io/sys/statvfs.h: Likewise.
43469 * io/utime.h: Likewise.
43470 * libio/bits/stdio.h: Likewise.
43471 * libio/bits/stdio2.h: Likewise.
43472 * libio/libio.h: Likewise.
43473 * libio/libioP.h: Likewise.
43474 * libio/stdio.h: Likewise.
43475 * locale/lc-ctype.c: Likewise.
43476 * locale/locale.h: Likewise.
43477 * login/utmp.h: Likewise.
43478 * malloc/arena.c: Likewise.
43479 * malloc/malloc.c: Likewise.
43480 * malloc/malloc.h: Likewise.
43481 * malloc/mcheck.c: Likewise.
43482 * malloc/mtrace.c: Likewise.
43483 * math/bits/mathcalls.h: Likewise.
43484 * math/fenv.h: Likewise.
43485 * math/math_private.h: Likewise.
43486 * misc/bits/error.h: Likewise.
43487 * misc/bits/syslog.h: Likewise.
43488 * misc/err.h: Likewise.
43489 * misc/error.h: Likewise.
43490 * misc/fstab.h: Likewise.
43491 * misc/mntent.h: Likewise.
43492 * misc/regexp.h: Likewise.
43493 * misc/search.h: Likewise.
43494 * misc/sgtty.h: Likewise.
43495 * misc/sys/mman.h: Likewise.
43496 * misc/sys/syslog.h: Likewise.
43497 * misc/sys/uio.h: Likewise.
43498 * misc/sys/xattr.h: Likewise.
43499 * misc/ttyent.h: Likewise.
43500 * nis/rpcsvc/ypclnt.h: Likewise.
43501 * nss/nss.h: Likewise.
43502 * posix/bits/unistd.h: Likewise.
43503 * posix/fnmatch.h: Likewise.
43504 * posix/glob.h: Likewise.
43505 * posix/sched.h: Likewise.
43506 * posix/spawn.h: Likewise.
43507 * posix/sys/wait.h: Likewise.
43508 * posix/unistd.h: Likewise.
43509 * posix/wordexp.h: Likewise.
43510 * pwd/pwd.h: Likewise.
43511 * resolv/netdb.h: Likewise.
43512 * resource/sys/resource.h: Likewise.
43513 * rt/aio.h: Likewise.
43514 * rt/bits/mqueue2.h: Likewise.
43515 * rt/mqueue.h: Likewise.
43516 * shadow/shadow.h: Likewise.
43517 * signal/signal.h: Likewise.
43518 * socket/send.c: Likewise.
43519 * socket/sendto.c: Likewise.
43520 * socket/sys/socket.h: Likewise.
43521 * stdio-common/printf.h: Likewise.
43522 * stdlib/bits/stdlib.h: Likewise.
43523 * stdlib/fmtmsg.h: Likewise.
43524 * stdlib/monetary.h: Likewise.
43525 * stdlib/stdlib.h: Likewise.
43526 * stdlib/ucontext.h: Likewise.
43527 * streams/stropts.h: Likewise.
43528 * string/argz.h: Likewise.
43529 * string/bits/string2.h: Likewise.
43530 * string/string.h: Likewise.
43531 * string/strings.h: Likewise.
43532 * sunrpc/rpc/auth.h: Likewise.
43533 * sunrpc/rpc/auth_des.h: Likewise.
43534 * sunrpc/rpc/clnt.h: Likewise.
43535 * sunrpc/rpc/netdb.h: Likewise.
43536 * sunrpc/rpc/pmap_clnt.h: Likewise.
43537 * sunrpc/rpc/xdr.h: Likewise.
43538 * sysdeps/generic/inttypes.h: Likewise.
43539 * sysdeps/generic/net/if.h: Likewise.
43540 * sysdeps/generic/sys/swap.h: Likewise.
43541 * sysdeps/gnu/net/if.h: Likewise.
43542 * sysdeps/gnu/utmpx.h: Likewise.
43543 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43544 * sysdeps/i386/i486/bits/string.h: Likewise.
43545 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43546 * sysdeps/s390/bits/string.h: Likewise.
43547 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43548 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43549 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43550 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43551 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43552 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43553 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43555 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43556 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43557 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43558 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43559 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43560 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43561 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43562 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43563 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43565 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43568 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43569 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43570 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43571 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43572 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43573 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43575 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43577 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43578 * sysvipc/sys/ipc.h: Likewise.
43579 * sysvipc/sys/msg.h: Likewise.
43580 * sysvipc/sys/sem.h: Likewise.
43581 * sysvipc/sys/shm.h: Likewise.
43582 * termios/termios.h: Likewise.
43583 * time/sys/time.h: Likewise.
43584 * time/time.h: Likewise.
43585 * wcsmbs/bits/wchar2.h: Likewise.
43586 * wcsmbs/uchar.h: Likewise.
43587 * wcsmbs/wchar.h: Likewise.
43588 * wctype/wctype.h: Likewise.
43591 * Makeconfig: Remove all but ELF support including AIX support.
43592 * Makerules: Likewise.
43593 * config.h.in: Likewise.
43594 * config.make.in: Likewise.
43595 * configure: Likewise.
43596 * configure.in: Likewise.
43597 * csu/Makefile: Likewise.
43598 * csu/version.c: Likewise.
43599 * debug/Makefile: Likewise.
43600 * dlfcn/Makefile: Likewise.
43601 * elf/Makefile: Likewise.
43602 * extra-lib.mk: Likewise.
43603 * iconv/Makefile: Likewise.
43604 * include/libc-symbols.h: Likewise.
43605 * include/shlib-compat.h: Likewise.
43606 * resolv/Makefile: Likewise.
43607 * resolv/res_libc.c: Likewise.
43608 * rt/Makefile: Likewise.
43609 * sysdeps/i386/asm-syntax.h: Likewise.
43610 * sysdeps/i386/sysdep.h: Likewise.
43611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43612 * sysdeps/mach/sysdep.h: Likewise.
43613 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43614 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43615 * sysdeps/s390/asm-syntax.h: Likewise.
43616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43617 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43618 * sysdeps/sh/sysdep.h: Likewise.
43619 * sysdeps/unix/sparc/sysdep.h: Likewise.
43620 * sysdeps/wordsize-32/divdi3.c: Likewise.
43621 * sysdeps/x86_64/sysdep.h: Likewise.
43623 * argp/Versions: Remove _argp_unlock_xxx.
43626 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43627 * abilist/libBrokenLocale.abilist: Likewise.
43628 * abilist/libanl.abilist: Likewise.
43629 * abilist/libc.abilist: Likewise.
43630 * abilist/libcrypt.abilist: Likewise.
43631 * abilist/libdl.abilist: Likewise.
43632 * abilist/libm.abilist: Likewise.
43633 * abilist/libnsl.abilist: Likewise.
43634 * abilist/libpthread.abilist: Likewise.
43635 * abilist/libresolv.abilist: Likewise.
43636 * abilist/librt.abilist: Likewise.
43637 * abilist/libthread_db.abilist: Likewise.
43638 * abilist/libutil.abilist: Likewise.
43639 * abilist/libnss_db.abilist: New file.
43641 * scripts/abilist.awk: Add support for indirect functions.
43643 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43645 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43647 * shlib-versions: Remove entries for ports architectures.
43649 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43651 * elf/stackguard-macros.h: Remove support for IA-64.
43652 * elf/tst-auditmod1.c: Likewise.
43653 * sysdeps/generic/ldsodefs.h: Likewise.
43655 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43656 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43660 * configure.in: Remove --enable-omitfp support.
43662 * config.make.in: Likewise.
43663 * Makeconfig: Likewise.
43664 * manual/install.texi: Likewise.
43666 In case anyone cares, the IA-64 architecture could move to ports.
43667 * sysdeps/ia64/*: Removed.
43668 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43669 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43672 * configure.in: Remove entries for unsupported architectures.
43675 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43676 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43678 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43679 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43680 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43681 fall back to using wcrtomb.
43682 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43683 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43685 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43686 * wcsmbs/tst-c16c32-1.c: New file.
43688 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43691 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43693 * elf/tst-unique3.cc: Add explicit declaration of gets.
43694 * elf/tst-unique3lib.cc: Likewise.
43695 * elf/tst-unique3lib2.cc: Likewise.
43696 * elf/tst-unique4.cc: Likewise.
43698 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43700 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43703 * assert/assert.h (static_assert): Don't define for C++.
43704 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43705 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43707 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43709 * iconv/loop.c (single loop): Fix assertion in storing of
43712 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43714 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43716 * posix/getconf.c: Update copyright year.
43717 * nss/getent.c: Likewise.
43718 * nss/makedb.c: Likewise.
43719 * iconv/iconvconfig.c: Likewise.
43720 * iconv/iconv_prog.c: Likewise.
43721 * elf/ldconfig.c: Likewise.
43722 * elf/pldd.c: Likewise.
43723 * elf/sotruss.ksh: Likewise.
43724 * catgets/gencat.c: Likewise.
43725 * csu/version.c: Likewise.
43726 * elf/ldd.bash.in: Likewise.
43727 * elf/sprof.c (print_version): Likewise.
43728 * locale/programs/locale.c: Likewise.
43729 * locale/programs/localedef.c: Likewise.
43730 * login/programs/pt_chown.c: Likewise.
43731 * nscd/nscd.c (print_version): Likewise.
43732 * debug/xtrace.sh: Likewise.
43733 * malloc/memusage.sh: Likewise.
43734 * malloc/mtrace.pl: Likewise.
43735 * debug/catchsegv.sh: Likewise.
43737 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43739 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43742 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43745 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43746 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43748 * iconv/gconv_int.h: Likewise.
43749 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43750 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43751 from libc for GLIBC_2.16.
43752 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43753 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43754 * wcsmbs/uchar.h: Really define mbstate_t.
43755 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43756 * wcsmbs/c16rtomb.c: New file.
43757 * wcsmbs/mbrtoc16.c: New file.
43758 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43759 for C/POSIX locale.
43760 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43761 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43763 * wcsmbs/wchar.h: Add missing __restrict.
43765 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43768 * time/Makefile (routines): Add timespec_get.
43769 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43770 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43771 timespec for ISO C11.
43772 * time/timespec_get.c: New file.
43773 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43774 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43777 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43778 * stdlib/stdlib.h: Declare aligned_alloc.
43779 * Versions.def: Add GLIBC_2.16 for libc.
43780 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43783 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43786 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43790 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43793 * assert/assert.h (static_assert): Define.
43795 * version.h: Update for 2.16 development version.
43798 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43801 * version.h (RELEASE): Bump for 2.15 release.
43802 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43804 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43805 Patch by Marek Polacek <mpolacek@redhat.com>.
43807 * bits/byteswap.h: Protect long long constants with __extension__.
43808 * sysdeps/i386/bits/byteswap.h: Likewise.
43809 * sysdeps/ia64/bits/byteswap.h: Likewise.
43810 * sysdeps/s390/bits/byteswap.h: Likewise.
43811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43813 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43817 destination buffer.
43818 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43820 2011-12-23 Marek Polacek <polacek@redhat.com>
43822 * elf/dl-addr.c (determine_info): Add inline keyword.
43823 * elf/tst-auditmod4b.c (check_avx): Likewise.
43824 * elf/tst-auditmod6b.c (check_avx): Likewise.
43825 * elf/tst-auditmod6c.c (check_avx): Likewise.
43826 * elf/tst-auditmod7b.c (check_avx): Likewise.
43828 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43830 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43833 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43836 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43837 processing for last bytes.
43839 2011-08-06 Bruno Haible <bruno@clisp.org>
43842 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43843 U+0385, not to U+1FEE.
43846 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43847 entry for U+00A5 U+0301.
43849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43852 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43853 buffer for the output is too small.
43855 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43859 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43860 SSE flags if possible.
43862 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43866 processing for last bytes.
43868 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43871 (syscall-list-default-options, syscall-list-default-condition)
43872 (syscall-list-includes): Define.
43873 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43874 list of ABIs and options and #if conditions for each ABI. Do not
43875 handle common syscalls between ABIs specially.
43876 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43878 (syscall-list-variants, syscall-list-32bit-options)
43879 (syscall-list-32bit-condition, syscall-list-64bit-options)
43880 (syscall-list-64bit-condition): Define.
43881 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43882 (syscall-list-variants, syscall-list-32bit-options)
43883 (syscall-list-32bit-condition, syscall-list-64bit-options)
43884 (syscall-list-64bit-condition): Define.
43885 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43887 (syscall-list-variants, syscall-list-32bit-options)
43888 (syscall-list-32bit-condition, syscall-list-64bit-options)
43889 (syscall-list-64bit-condition): Define.
43890 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43892 (syscall-list-variants, syscall-list-32bit-options)
43893 (syscall-list-32bit-condition, syscall-list-64bit-options)
43894 (syscall-list-64bit-condition): Define.
43896 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43898 * locale/iso-639.def: Add brx entry.
43901 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43902 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43904 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43905 __feraiseexcept_renamed.
43907 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43910 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43911 EPOLLET with unsigned values.
43912 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43915 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43916 to large cancellation.
43917 * math/s_cacoshf.c: Likewise.
43918 * math/s_cacoshl.c: Likewise.
43920 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43924 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43925 * math/s_cacoshf.c: Likewise.
43926 * math/s_cacoshl.c: Likewise.
43928 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43931 * iconv/gconv.h: Define __GCONV_SWAP.
43932 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43933 * iconvdata/utf-16.c: Likewise.
43934 * iconvdata/utf-32.c: Likewise.
43936 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43940 numerator after shifting it by one limb.
43942 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43945 under [__USE_EXTERN_INLINES].
43947 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43950 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43952 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43954 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43955 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43957 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43959 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43960 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43961 for strncasecmp/strncasecmp_l compilation.
43962 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43963 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43965 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43968 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43971 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43974 * time/tzfile.c (__tzfile_read): Check values from file header.
43976 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43978 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43979 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43980 * powerpc/powerpc32/dl-start.S: Likewise.
43981 * powerpc/powerpc32/elf/start.S: Likewise.
43982 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43983 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43984 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43985 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43986 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43987 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43988 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43989 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43990 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43991 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43992 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43993 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43994 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43995 * powerpc/powerpc32/memset.S: Likewise.
43996 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43997 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43998 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43999 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44000 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44001 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44002 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44003 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44004 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44005 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44006 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44010 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44012 * math/libm-test.inc: Added more nearbyint tests.
44013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44016 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44018 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44020 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44023 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44025 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44026 Add wcscpy-ssse3 wcscpy-c.
44027 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44028 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44029 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44030 * sysdeps/x86_64/wcschr.S: New file.
44031 * sysdeps/x86_64/wcsrchr.S: New file.
44032 * string/test-strcmp.c: Remove checking of wcscmp function for
44034 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44035 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44036 wcsrchr-sse2 wcsrchr-c.
44037 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44038 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44039 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44040 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44041 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44042 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44043 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44044 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44045 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44046 * wcsmbc/wcschr.c (WCSCHR): New macro.
44048 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44050 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44051 * wcsmbs/test-wcsrchr.c: New file.
44052 * string/test-strrchr.c: Add wcsrchr support.
44054 * wcsmbs/test-wcscpy.c: New file.
44055 * string/test-strcpy.c: Add wcscpy support.
44058 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44060 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44063 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44066 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44068 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44071 Minor optimizations.
44073 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44074 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44075 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44077 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44079 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44080 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44081 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44082 for gcc to avoid warnings.
44083 * inet/Makefile (tests): Add tst-checks.
44084 * inet/tst-checks.c: New file.
44086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44089 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44092 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44093 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44095 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44097 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44099 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44102 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44104 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44106 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44107 conditional on GCC version.
44108 (__arch_compare_and_exchange_val_8_acq)
44109 (__arch_compare_and_exchange_val_16_acq)
44110 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44111 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44112 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44114 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44116 * sysdeps/sh/backtrace.c: New file.
44118 2011-12-02 Andreas Schwab <schwab@redhat.com>
44120 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44123 2011-12-01 Andreas Schwab <schwab@redhat.com>
44125 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44126 falling back to utime.
44128 2011-11-30 Andreas Schwab <schwab@redhat.com>
44130 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44131 expectations for float.
44133 2011-11-29 Andreas Schwab <schwab@redhat.com>
44135 * locale/weight.h (findidx): Add parameter len.
44136 * locale/weightwc.h (findidx): Likewise.
44137 * posix/fnmatch_loop.c (FCT): Adjust caller.
44138 * posix/regcomp.c (build_equiv_class): Likewise.
44139 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44140 * posix/regexec.c (check_node_accept_bytes): Likewise.
44141 * string/strcoll_l.c (STRCOLL): Likewise.
44142 * string/strxfrm_l.c (STRXFRM): Likewise.
44144 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44146 * Makefile.in: Remove CVSOPT handling.
44147 * configure.in: Remove use of AC_REVISION.
44148 * iconvdata/Makefile (distribute): No need to filter out CVS.
44149 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44152 2011-11-16 Andreas Schwab <schwab@redhat.com>
44154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44155 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44156 [USE_AS_STRNCASECMP_L]: Likewise.
44157 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44158 NO_TLS_DIRECT_SEG_REFS.
44159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44160 Fix argument offsets for non-PIC.
44161 [USE_AS_STRNCASECMP_L]: Likewise.
44162 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44163 NO_TLS_DIRECT_SEG_REFS.
44165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44167 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44169 * locale/loadlocale.c (_nl_load_locale): Likewise.
44171 2011-11-15 Andreas Schwab <schwab@redhat.com>
44173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44174 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44176 (SYSCALL_GETTIME): Set errno on error.
44178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44179 count references to noai6ai_cached.
44181 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44183 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44185 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44186 FD_CLOEXEC for /proc/self/maps.
44188 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44189 FD_CLOEXEC for /proc/meminfo.
44191 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44194 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44195 FD_CLOEXEC for given file.
44197 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44199 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44200 FD_CLOEXEC for /etc/hosts.
44201 (_gethtent): Likewise.
44203 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44205 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44206 cancellation and set FD_CLOEXEC for /etc/netgroup.
44208 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44209 reading /etc/publickey.
44211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44212 allow cancellation when reading /etc/group.
44214 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44216 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44218 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44219 when using data file.
44221 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44223 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44224 (write_nis_obj): Use "c" and "e" in fopen.
44226 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44228 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44230 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44232 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44234 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44237 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44239 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44241 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44243 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44244 file parsing and set FD_CLOEXEC.
44246 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44248 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44250 2011-11-14 Andreas Schwab <schwab@redhat.com>
44252 * malloc/arena.c (arena_get2): Don't call reused_arena when
44253 _int_new_arena failed.
44255 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44257 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44258 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44259 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44260 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44261 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44263 to compile strcasecmp and strncasecmp.
44264 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44265 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44269 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44271 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44272 locale-defines.sym to gen-as-const-headers.
44273 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44274 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44276 to compile strcasecmp and strncasecmp.
44277 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44278 strcasecmp_l and strncasecmp_l.
44279 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44280 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44281 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44282 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44283 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44284 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44285 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44286 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44287 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44288 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44289 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44291 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44293 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44294 result of SYSDEP_GETTIME_CPU to retval.
44295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44296 parameter list to macro. Remove trailing semicolon. Adjust users.
44298 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44301 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44306 from unused variable.
44308 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44310 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44313 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44316 * sunrpc/rpc_prot.c (rejected): Fix case value.
44318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44319 unsigned long long int to avoid warnings in shift.
44321 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44323 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44326 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44327 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44330 * nis/nis_table.c (nis_list): Use variable of correct type for
44331 result of __follow_path call.
44333 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44335 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44336 of math functions ceil, trunc, floor, round, and sqrt, when
44337 avaliable on the platform.
44338 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44340 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44341 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44342 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44344 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44346 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44349 2011-11-11 Roland McGrath <roland@hack.frob.com>
44351 * include/unistd.h: Fix __readlink return type.
44352 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44354 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44356 * stdlib/ucontext.h: Undo last change for makecontext.
44358 2011-11-11 Andreas Schwab <schwab@redhat.com>
44360 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44362 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44363 * setjmp/setjmp.h: Mark functions as non-leaf.
44364 * setjmp/bits/setjmp2.h: Likewise.
44365 * stdlib/ucontext.h: Likewise.
44367 2011-11-10 Andreas Schwab <schwab@redhat.com>
44369 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44370 (reused_arena): Don't check arena limit.
44371 (arena_get2): Atomically check arena limit.
44373 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44375 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44376 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44381 2011-11-07 Andreas Schwab <schwab@redhat.com>
44383 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44384 handler when locking.
44386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44387 Fix size of allocated buffer.
44389 2011-11-04 Andreas Schwab <schwab@redhat.com>
44392 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44393 declarations for long double functions.
44394 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44396 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44398 2011-11-03 Andreas Schwab <schwab@redhat.com>
44400 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44403 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44406 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44408 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44410 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44412 * include/alloca.h (stackinfo_alloca_round): Define.
44413 (extend_alloca): Use it.
44414 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44415 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44418 * scripts/check-local-headers.sh: Ignore libaudit.h.
44420 * nscd/Makefile (extra-objs): Make recursively expanded.
44422 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44424 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44427 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44428 * posix/tst-rfc3484-2.c: Likewise.
44429 * posix/tst-rfc3484-3.c: Likewise.
44431 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44433 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44435 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44436 process_vm_writev from libc using GLIBC_2.15 version.
44438 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44440 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44442 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44445 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44448 * nss/getent.c (initgroups_keys): Show error message in case no group
44451 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44452 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44453 __bump_nl_timestamp.
44454 * nscd/connections (nscd_init): When host database is served open
44455 netlink socket and request notification about configuration changes.
44456 (main_loop_poll): Track netlink file descriptor and bump timestamp
44457 in case data becomes available.
44458 (main_loop_epoll): Likewise.
44459 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44460 (database_pers_head): Add extra_data fileds.
44461 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44462 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44463 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44466 in6ai data, call __free_in6ai.
44467 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44468 Add -DHAVE_NETLINK.
44469 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44470 interface information. Reuse previous data if netlink timestamp
44472 (__bump_nl_timestamp): New function.
44473 (__free_in6ai): New function.
44475 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44477 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44478 close_not_cancel_no_status here.
44479 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44481 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44484 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44487 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44488 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44489 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44491 2011-07-03 Andreas Jaeger <aj@suse.de>
44494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44495 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44496 * math/libm-test.inc (sin_test): Add test case.
44498 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44501 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44502 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44504 * elf/chroot_canon.c (chroot_canon): Cleanups.
44506 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44509 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44512 * string/test-strchr.c: Make usable for strchrnul testing.
44513 * string/test-strchrnul.c: New file.
44514 * string/Makefile (strop-tests): Add strchrnul.
44516 * po/it.po: Update from translation team.
44517 * po/es.po: Likewise.
44519 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44522 the three constants needed as parameters. Drop the others.
44523 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44524 __m128i_strloadu_tolower.
44525 Create and initialize variable zero and use it in all the places
44526 where _mm_setzero_si128 was used.
44528 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44529 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44530 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44531 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44533 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44536 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44537 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44538 __mpranred, __mptan.
44539 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44540 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44541 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44542 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44546 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44547 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44549 2011-10-28 Andreas Schwab <schwab@redhat.com>
44551 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44552 redefine if SHARED.
44553 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44556 wide char related routines to wcsmbs subdir.
44558 2011-10-27 Andreas Schwab <schwab@redhat.com>
44561 * misc/sys/cdefs.h (__THROWNL): Define.
44562 * posix/unistd.h: Use __THREADNL instead of __THREAD
44563 for memory synchronization functions.
44565 2011-10-26 Roland McGrath <roland@hack.frob.com>
44568 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44570 * manual/stdio.texi (Obstack Streams): Node removed.
44572 2011-10-26 Andreas Schwab <schwab@redhat.com>
44574 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44578 * math/math_private.h (math_force_eval): Allow non-addressable
44580 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44585 file is not needed.
44587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44590 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44592 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44593 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44594 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44596 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44597 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44598 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44599 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44600 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44601 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44602 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44603 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44604 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44605 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44606 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44607 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44608 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44609 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44610 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44611 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44612 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44613 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44614 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44616 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44617 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44620 place. Use VEX encoding when compiling for AVX.
44622 2011-10-25 Andreas Schwab <schwab@redhat.com>
44624 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44625 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44627 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44631 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44632 useless if() expression.
44633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44637 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44645 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44646 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44648 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44649 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44651 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44653 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44655 2011-10-25 Andreas Schwab <schwab@redhat.com>
44657 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44661 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44663 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44664 .text section. Avoid duplicate constants.
44665 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44674 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44677 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44678 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44679 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44682 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44685 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44686 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44687 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44688 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44689 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44690 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44691 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44692 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44694 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44705 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44707 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44711 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44713 * sysdeps/x86_64/dla.h: Move to ...
44714 * sysdeps/x86_64/fpu/dla.h: ...here.
44715 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44716 situations. Use __builtin_fma only for gcc 4.6 and up.
44718 * config.make.in: Add have-mfma4 entry.
44719 * configure.in: Substitute libc_cv_cc_fma4.
44720 * math/Makefile (dbl-only-routines): Add sincostab.
44721 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44722 Use __sincostab not sincos.
44723 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44730 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44731 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44732 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44733 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44736 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44738 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44739 define aliases when function name is a macro.
44740 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44741 sysdeps/ieee754/dbl-64/sincos.tbl.
44742 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44743 fma4-enabled routines.
44744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44745 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44748 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44749 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44754 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44756 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44759 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44760 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44761 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44762 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44764 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44767 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44771 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44772 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44773 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44775 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44786 2011-10-24 Andreas Schwab <schwab@redhat.com>
44788 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44790 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44794 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44798 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44799 Remove unused variable magic_bits.
44800 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44802 * string/strnlen.c: Define and use STRNLEN macro.
44803 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44804 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44806 * wcsmbs/wcslen.c: Define and use WCSLEN.
44807 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44808 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44809 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44810 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44811 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44812 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44815 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44818 strnlen-sse2-no-bsf.
44819 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44821 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44822 Add strnlen support.
44823 (USE_AS_STRNLEN): New macro.
44824 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44825 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44826 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44827 * sysdeps/x86_64/wcslen.S: New file.
44829 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44832 XMM-moves are used for copying on small sizes.
44834 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44836 * wcsmbs/Makefile (strop-tests): Add wcschr.
44837 * wcsmbs/test-wcschr.c: New file.
44838 * string/test-strchr.c: Update.
44839 Add wcschr support.
44842 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44844 * wcsmbs/Makefile (strop-tests): Add wcslen.
44845 * wcsmbs/test-wcslen.c: New file.
44846 * string/test-strlen.c: Update.
44847 Add wcslen support.
44850 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44852 * po/it.po: Update from translation team.
44854 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44856 * sysdeps/x86_64/wcscmp.S: Update.
44857 Fix wrong comparison semantics.
44858 wcscmp shall use signed comparison not unsigned.
44859 Don't use substraction to avoid overflow bug.
44860 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44861 * wcsmbc/wcscmp.c: Likewise.
44862 * string/test-strcmp.c: Likewise.
44863 Add new tests to check cases with negative values.
44865 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44867 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44868 * sysdeps/x86_64/dla.h: ...here. New file.
44869 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44876 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44879 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44882 __ynl_finite aliases.
44884 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44888 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44890 [DLA_FMA] (EMULV): Use DLA_FMA.
44891 [DLA_FMA] (MUL12): Use EMULV.
44892 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44893 that are not needed.
44894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44902 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44904 * math/s_nan.c: Undef __nan.
44905 * math/s_nanf.c: Undef __nanf.
44906 * math/s_nanl.c: Undef __nanl.
44907 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44910 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44912 * math/s_catan.c: Add branch predictions.
44913 * math/s_catanf.c: Likewise.
44914 * math/s_catanh.c: Likewise.
44915 * math/s_catanhf.c: Likewise.
44916 * math/s_catanhl.c: Likewise.
44917 * math/s_catanl.c: Likewise.
44918 * math/s_cexp.c: Likewise.
44919 * math/s_cexpf.c: Likewise.
44920 * math/s_cexpl.c: Likewise.
44921 * math/s_clog.c: Likewise.
44922 * math/s_clog10.c: Likewise.
44923 * math/s_clog10f.c: Likewise.
44924 * math/s_clog10l.c: Likewise.
44925 * math/s_clogf.c: Likewise.
44926 * math/s_clogl.c: Likewise.
44927 * math/s_csqrt.c: Likewise.
44928 * math/s_csqrtf.c: Likewise.
44929 * math/s_csqrtl.c: Likewise.
44930 * math/s_ctanf.c: Likewise.
44931 * math/s_ctanh.c: Likewise.
44932 * math/s_ctanhf.c: Likewise.
44933 * math/s_ctanhl.c: Likewise.
44934 * math/s_ctanl.c: Likewise.
44936 * math/math_private.h: Define __nan, __nanf, __nanl.
44937 * math/s_cacosh.c: Include <math_private.h>.
44938 * math/s_cacoshl.c: Likewise.
44939 * math/s_casinh.c: Likewise.
44940 * math/s_casinhf.c: Likewise.
44941 * math/s_casinhl.c: Likewise.
44942 * math/s_ccos.c: Rely entire on ccosh.
44943 * math/s_ccosf.c: Rely entire on ccoshf.
44944 * math/s_ccosl.c: Rely entirely on ccoshl.
44945 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44946 Remove tests for FE_INVALID.
44947 * math/s_ccoshf.c: Likewise.
44948 * math/s_ccoshl.c: Likewise.
44949 * math/s_csin.c: Likewise.
44950 * math/s_csinf.c: Likewise.
44951 * math/s_csinh.c Likewise.
44952 * math/s_csinhf.c: Likewise.
44953 * math/s_csinhl.c: Likewise.
44954 * math/s_csinl.c: Likewise.
44955 * math/s_ctan.c: Likewise.
44956 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44957 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44958 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44960 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44963 compilation problems.
44965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44968 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44970 * sysdeps/i386/configure.in: Test for -mfma4 option.
44971 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44972 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44973 COMMON_CPUID_INDEX_80000001.
44974 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44975 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44976 use it if FMA3 is not supported.
44977 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44979 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44980 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44982 2011-10-20 Andreas Schwab <schwab@redhat.com>
44985 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44986 it would create a cycle with a link time dependency.
44988 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44990 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44992 * string/Makefile (strop-tests): Add rawmemchr.
44993 * string/test-rawmemchr.c: New file.
44995 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44997 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44998 when compiling str{,n}casecmp and when AVX is available. Hook up
44999 new optimized code in initializers.
45001 2011-10-19 Andreas Schwab <schwab@redhat.com>
45003 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45004 __feraiseexcept instead of feraiseexcept.
45006 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45008 * math/math_private.h: Define defaults for libc_fetestexcept and
45010 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45011 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45013 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45015 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45016 libc_fetestexcept and libc_feupdateenv.
45018 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45019 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45020 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45021 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45022 libc_feholdexcept_setround.
45024 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45025 Add s_nearbyint-c and s_nearbyintf-c.
45026 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45027 nearbyintf inlines.
45028 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45029 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45030 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45031 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45033 * math/math_private.h: Define defaults for libc_fegetround,
45034 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45035 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45036 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45038 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45039 standard functions.
45040 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45041 Remove comments and hacks for old compiler versions.
45042 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45043 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45044 libc_feholdexceptl.
45046 2011-10-18 Andreas Schwab <schwab@redhat.com>
45048 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45049 (__feraiseexcept_renamed): Add __NTH.
45050 (feraiseexcept): Add __NTH. Rename local variables to fix
45051 namespace violations.
45053 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45055 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45059 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45060 recently added interfaces.
45061 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45063 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45064 about macro parameter expansion.
45066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45067 __NO_MATH_INLINES is defined. Cleanups.
45069 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45070 and __floorf is target has SSE4.1.
45071 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45074 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45076 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45078 (floorf): Likewise.
45080 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45082 2011-10-17 Andreas Schwab <schwab@redhat.com>
45084 * misc/sys/cdefs.h: Fix last change.
45086 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45089 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45091 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45093 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45100 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45101 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45102 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45103 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45104 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45105 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45106 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45107 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45108 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45109 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45110 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45111 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45112 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45113 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45114 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45116 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45117 ceil, ceilf, floor, floorf.
45119 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45120 Perform IRELATIVE relocations last.
45122 * elf/do-rel.h: Add another parameter nrelative, replacing the
45123 local variable with the same name. Change name of the function
45124 to end in Rel or Rela (uppercase).
45125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45126 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45127 elf_dynamic_do_##reloc function.
45129 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45131 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45132 is sufficient, at least on modern CPUs.
45134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45136 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45137 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45139 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45141 * math/bits/math-finite.h: Add entries for exp.
45142 * math/e_expl.c: Add __*_finite alias.
45143 * sysdeps/i386/fpu/e_exp.S: Likewise.
45144 * sysdeps/i386/fpu/e_expf.S: Likewise.
45145 * sysdeps/i386/fpu/e_expl.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45151 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45152 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45154 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45155 is sufficient, at least on modern CPUs.
45157 * ctype/ctype-info.c (__ctype_init): Define.
45158 * include/ctype.h (__ctype_init): Declare.
45159 (__ctype_b_loc): The variable is always initialized.
45160 (__ctype_toupper_loc): Likewise.
45161 (__ctype_tolower_loc): Likewise.
45162 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45163 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45165 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45167 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45169 * configure.in: Also look in $cxxmachine/include for C++ system
45172 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45174 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45175 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45176 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45177 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45178 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45179 (USE_AS_WMEMCMP): New macro.
45181 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45182 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45183 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45184 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45186 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45187 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45188 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45189 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45190 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45191 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45192 (USE_AS_WMEMCMP): New macro.
45193 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45194 * sysdeps/string/test-memcmp.c: Update.
45195 Fix simple_wmemcmp.
45197 * wcsmbs/wmemcmp.c: Update.
45198 (WMEMCMP): New macro.
45201 2011-10-12 Andreas Jaeger <aj@suse.de>
45204 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45206 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45208 * libio/iofwide.c (do_length): Avoid warning.
45210 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45212 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45214 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45216 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45217 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45218 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45219 * sysdeps/i386/i686/fpu/e_log.S: New file.
45220 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45221 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45223 * ctype/ctype.h: Add support for inlined isXXX functions when
45224 compiling C++ code.
45226 2011-10-14 Andreas Schwab <schwab@redhat.com>
45228 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45232 2011-10-13 Roland McGrath <roland@hack.frob.com>
45235 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45237 2011-10-13 Andreas Schwab <schwab@redhat.com>
45239 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45240 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45243 * sysdeps/x86_64/memrchr.S: Check for zero size.
45245 * string/stratcliff.c: Add memrchr tests.
45247 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45250 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45251 rawmemchr-sse2 rawmemchr-sse2-bsf.
45252 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45253 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45254 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45255 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45256 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45257 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45258 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45259 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45260 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45261 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45262 * string/memrchr.c (MEMRCHR): New macro.
45264 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45266 Add integration with gcc's -ffinite-math-only and optimize wrapper
45268 * Versions.def: Define GLIBC_2.15 version for libm.
45269 * math/Makefile (headers): Add bits/math-finite.h.
45270 * math/bits/math-finite.h: New file.
45271 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45272 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45273 * math/e_acoshl.c: Add __*_finite alias.
45274 * math/e_acosl.c: Likewise.
45275 * math/e_asinl.c: Likewise.
45276 * math/e_atan2l.c: Likewise.
45277 * math/e_atanhl.c: Likewise.
45278 * math/e_coshl.c: Likewise.
45279 * math/e_exp10.c: Likewise.
45280 * math/e_exp10f.c: Likewise.
45281 * math/e_exp10l.c: Likewise.
45282 * math/e_exp2l.c: Likewise.
45283 * math/e_fmodl.c: Likewise.
45284 * math/e_gammal_r.c: Likewise.
45285 * math/e_hypotl.c: Likewise.
45286 * math/e_j0l.c: Likewise.
45287 * math/e_j1l.c: Likewise.
45288 * math/e_jnl.c: Likewise.
45289 * math/e_lgammal_r.c: Likewise.
45290 * math/e_log10l.c: Likewise.
45291 * math/e_log2l.c: Likewise.
45292 * math/e_logl.c: Likewise.
45293 * math/e_powl.c: Likewise.
45294 * math/e_sinhl.c: Likewise.
45295 * math/e_sqrtl.c: Likewise.
45296 * math/e_scalb.c: Completely rewritten and optimized.
45297 * math/e_scalbf.c: Likewise.
45298 * math/e_scalbl.c: Likewise.
45299 * math/w_acos.c: Likewise.
45300 * math/w_acosf.c: Likewise.
45301 * math/w_acosl.c: Likewise.
45302 * math/w_acosh.c: Likewise.
45303 * math/w_acoshf.c: Likewise.
45304 * math/w_acoshl.c: Likewise.
45305 * math/w_asin.c: Likewise.
45306 * math/w_asinf.c: Likewise.
45307 * math/w_asinl.c: Likewise.
45308 * math/w_atan2.c: Likewise.
45309 * math/w_atan2f.c: Likewise.
45310 * math/w_atan2l.c: Likewise.
45311 * math/w_atanh.c: Likewise.
45312 * math/w_atanhf.c: Likewise.
45313 * math/w_atanhl.c: Likewise.
45314 * math/w_exp10.c: Likewise.
45315 * math/w_exp10f.c: Likewise.
45316 * math/w_exp10l.c: Likewise.
45317 * math/w_fmod.c: Likewise.
45318 * math/w_fmodf.c: Likewise.
45319 * math/w_fmodl.c: Likewise.
45320 * math/w_j0.c: Likewise.
45321 * math/w_j0f.c: Likewise.
45322 * math/w_j0l.c: Likewise.
45323 * math/w_j1.c: Likewise.
45324 * math/w_j1f.c: Likewise.
45325 * math/w_j1l.c: Likewise.
45326 * math/w_jn.c: Likewise.
45327 * math/w_jnf.c: Likewise.
45328 * math/w_log.c: Likewise.
45329 * math/w_logf.c: Likewise.
45330 * math/w_logl.c: Likewise.
45331 * math/w_log10.c: Likewise.
45332 * math/w_log10f.c: Likewise.
45333 * math/w_log10l.c: Likewise.
45334 * math/w_log2.c: Likewise.
45335 * math/w_log2f.c: Likewise.
45336 * math/w_log2l.c: Likewise.
45337 * math/w_pow.c: Likewise.
45338 * math/w_powf.c: Likewise.
45339 * math/w_powl.c: Likewise.
45340 * math/w_remainder.c: Likewise.
45341 * math/w_remainderf.c: Likewise.
45342 * math/w_remainderl.c: Likewise.
45343 * math/w_scalb.c: Likewise.
45344 * math/w_scalbf.c: Likewise.
45345 * math/w_scalbl.c: Likewise.
45346 * math/w_sqrt.c: Likewise.
45347 * math/w_sqrtf.c: Likewise.
45348 * math/w_sqrtl.c: Likewise.
45349 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45350 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45352 * math/math_private.h: Declare __kernel_standard_f.
45353 * math/w_cosh.c: Remove cruft and optimize a bit.
45354 * math/w_coshf.c: Likewise.
45355 * math/w_coshl.c: Likewise.
45356 * math/w_exp2.c: Likewise.
45357 * math/w_exp2f.c: Likewise.
45358 * math/w_exp2l.c: Likewise.
45359 * math/w_hypot.c: Likewise.
45360 * math/w_hypotf.c: Likewise.
45361 * math/w_hypotl.c: Likewise.
45362 * math/w_lgamma.c: Likewise.
45363 * math/w_lgamma_r.c: Likewise.
45364 * math/w_lgammaf.c: Likewise.
45365 * math/w_lgammaf_r.c: Likewise.
45366 * math/w_lgammal.c: Likewise.
45367 * math/w_lgammal_r.c: Likewise.
45368 * math/w_sinh.c: Likewise.
45369 * math/w_sinhf.c: Likewise.
45370 * math/w_sinhl.c: Likewise.
45371 * math/w_tgamma.c: Likewise.
45372 * math/w_tgammaf.c: Likewise.
45373 * math/w_tgammal.c: Likewise.
45374 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45376 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45377 Minor optimizations. Pretty printing. Remove cruft.
45378 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45379 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45382 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45383 * sysdeps/i386/fpu/e_asin.S: Likewise.
45384 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45385 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45386 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45387 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45388 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45391 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45392 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45393 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45394 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45395 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45396 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45397 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45398 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45399 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45400 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45401 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45402 * sysdeps/i386/fpu/e_log.S: Likewise.
45403 * sysdeps/i386/fpu/e_log10.S: Likewise.
45404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45405 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45406 * sysdeps/i386/fpu/e_log2.S: Likewise.
45407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45409 * sysdeps/i386/fpu/e_logf.S: Likewise.
45410 * sysdeps/i386/fpu/e_logl.S: Likewise.
45411 * sysdeps/i386/fpu/e_pow.S: Likewise.
45412 * sysdeps/i386/fpu/e_powf.S: Likewise.
45413 * sysdeps/i386/fpu/e_powl.S: Likewise.
45414 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45415 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45416 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45420 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45421 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45422 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45424 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45426 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45427 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45428 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45429 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45430 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45433 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45434 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45437 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45439 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45440 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45443 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45448 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45449 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45451 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45452 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45454 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45457 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45458 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45459 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45460 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45472 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45473 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45475 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45478 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45479 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45480 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45484 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45488 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45493 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45494 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45499 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45500 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45502 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45504 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45520 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45521 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45522 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45523 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45524 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45525 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45526 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45530 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45531 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45532 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45533 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45534 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45535 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45536 (__isnanf): Likewise.
45537 (__isinf_ns): Likewise.
45538 (__isinf_nsf): Likewise.
45539 (__finite): Likewise.
45540 (__finitef): Likewise.
45541 (__ieee754_sqrt): Define as macro.
45542 (__ieee754_sqrtf): Define as macro.
45543 (__ieee754_sqrtl): Define as macro.
45544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45546 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45547 __FINITE_MATH_ONLY__ consistent.
45548 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45550 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45552 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45557 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45559 * po/ja.po: Update from translation team.
45561 2011-10-08 Roland McGrath <roland@hack.frob.com>
45563 * locale/programs/locarchive.c (prepare_address_space): New function.
45564 (create_archive, enlarge_archive, open_archive): Use it.
45566 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45567 inside [SHARED], where it is used.
45569 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45571 * nss/getent.c (netgroup_keys): Remove unused variable.
45572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45574 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45576 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45579 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45580 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45581 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45582 * math/Makefile (libm-calls): Add s_isinf_ns.
45583 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45584 * math/multc3.c: Likewise.
45585 * math/s_casin.c: Likewise.
45586 * math/s_casinf.c: Likewise.
45587 * math/s_casinl.c: Likewise.
45588 * math/s_ccos.c: Likewise.
45589 * math/s_ccosf.c: Likewise.
45590 * math/s_ccosl.c: Likewise.
45591 * math/s_ctan.c: Likewise.
45592 * math/s_ctanf.c: Likewise.
45593 * math/s_ctanh.c: Likewise.
45594 * math/s_ctanhf.c: Likewise.
45595 * math/s_ctanhl.c: Likewise.
45596 * math/s_ctanl.c: Likewise.
45597 * math/w_fmod.c: Likewise.
45598 * math/w_fmodf.c: Likewise.
45599 * math/w_fmodl.c: Likewise.
45600 * math/w_remainder.c: Likewise.
45601 * math/w_remainderf.c: Likewise.
45602 * math/w_remainderl.c: Likewise.
45603 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45604 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45607 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45608 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45609 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45610 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45612 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45614 * stdio-common/printf_fphex.c: Likewise.
45615 * stdio-common/printf_size.c: Likewise.
45617 * math/e_exp10.c: Include math_private.h using <...> not "...".
45618 * math/e_exp10f.c: Likewise.
45619 * math/e_exp10l.c: Likewise.
45620 * math/e_exp2l.c: Likewise.
45621 * math/e_j0l.c: Likewise.
45622 * math/e_j1l.c: Likewise.
45623 * math/e_jnl.c: Likewise.
45624 * math/e_lgammal_r.c: Likewise.
45625 * math/e_rem_pio2l.c: Likewise.
45626 * math/e_scalb.c: Likewise.
45627 * math/e_scalbf.c: Likewise.
45628 * math/e_scalbl.c: Likewise.
45629 * math/k_cosl.c: Likewise.
45630 * math/k_sinl.c: Likewise.
45631 * math/k_tanl.c: Likewise.
45632 * math/s_cacoshf.c: Likewise.
45633 * math/s_catan.c: Likewise.
45634 * math/s_catanf.c: Likewise.
45635 * math/s_catanh.c: Likewise.
45636 * math/s_catanhf.c: Likewise.
45637 * math/s_catanhl.c: Likewise.
45638 * math/s_catanl.c: Likewise.
45639 * math/s_ccosh.c: Likewise.
45640 * math/s_ccoshf.c: Likewise.
45641 * math/s_ccoshl.c: Likewise.
45642 * math/s_cexp.c: Likewise.
45643 * math/s_cexpf.c: Likewise.
45644 * math/s_cexpl.c: Likewise.
45645 * math/s_clog.c: Likewise.
45646 * math/s_clog10.c: Likewise.
45647 * math/s_clog10f.c: Likewise.
45648 * math/s_clog10l.c: Likewise.
45649 * math/s_clogf.c: Likewise.
45650 * math/s_clogl.c: Likewise.
45651 * math/s_csin.c: Likewise.
45652 * math/s_csinf.c: Likewise.
45653 * math/s_csinh.c: Likewise.
45654 * math/s_csinhf.c: Likewise.
45655 * math/s_csinhl.c: Likewise.
45656 * math/s_csinl.c: Likewise.
45657 * math/s_csqrt.c: Likewise.
45658 * math/s_csqrtf.c: Likewise.
45659 * math/s_csqrtl.c: Likewise.
45660 * math/s_ctan.c: Likewise.
45661 * math/s_ctanf.c: Likewise.
45662 * math/s_ctanh.c: Likewise.
45663 * math/s_ctanhf.c: Likewise.
45664 * math/s_ctanhl.c: Likewise.
45665 * math/s_ctanl.c: Likewise.
45666 * math/s_ldexp.c: Likewise.
45667 * math/s_ldexpf.c: Likewise.
45668 * math/s_ldexpl.c: Likewise.
45669 * math/s_significand.c: Likewise.
45670 * math/s_significandf.c: Likewise.
45671 * math/s_significandl.c: Likewise.
45672 * math/w_acos.c: Likewise.
45673 * math/w_acosf.c: Likewise.
45674 * math/w_acosh.c: Likewise.
45675 * math/w_acoshf.c: Likewise.
45676 * math/w_acoshl.c: Likewise.
45677 * math/w_acosl.c: Likewise.
45678 * math/w_asin.c: Likewise.
45679 * math/w_asinf.c: Likewise.
45680 * math/w_asinl.c: Likewise.
45681 * math/w_atan2.c: Likewise.
45682 * math/w_atan2f.c: Likewise.
45683 * math/w_atan2l.c: Likewise.
45684 * math/w_atanh.c: Likewise.
45685 * math/w_atanhf.c: Likewise.
45686 * math/w_atanhl.c: Likewise.
45687 * math/w_cosh.c: Likewise.
45688 * math/w_coshf.c: Likewise.
45689 * math/w_coshl.c: Likewise.
45690 * math/w_dremf.c: Likewise.
45691 * math/w_exp10.c: Likewise.
45692 * math/w_exp10f.c: Likewise.
45693 * math/w_exp10l.c: Likewise.
45694 * math/w_exp2.c: Likewise.
45695 * math/w_exp2f.c: Likewise.
45696 * math/w_fmod.c: Likewise.
45697 * math/w_fmodf.c: Likewise.
45698 * math/w_fmodl.c: Likewise.
45699 * math/w_hypot.c: Likewise.
45700 * math/w_hypotf.c: Likewise.
45701 * math/w_hypotl.c: Likewise.
45702 * math/w_j0.c: Likewise.
45703 * math/w_j0f.c: Likewise.
45704 * math/w_j0l.c: Likewise.
45705 * math/w_j1.c: Likewise.
45706 * math/w_j1f.c: Likewise.
45707 * math/w_j1l.c: Likewise.
45708 * math/w_jn.c: Likewise.
45709 * math/w_jnf.c: Likewise.
45710 * math/w_jnl.c: Likewise.
45711 * math/w_lgamma.c: Likewise.
45712 * math/w_lgamma_r.c: Likewise.
45713 * math/w_lgammaf.c: Likewise.
45714 * math/w_lgammaf_r.c: Likewise.
45715 * math/w_lgammal.c: Likewise.
45716 * math/w_lgammal_r.c: Likewise.
45717 * math/w_log.c: Likewise.
45718 * math/w_log10.c: Likewise.
45719 * math/w_log10f.c: Likewise.
45720 * math/w_log10l.c: Likewise.
45721 * math/w_log2.c: Likewise.
45722 * math/w_log2f.c: Likewise.
45723 * math/w_log2l.c: Likewise.
45724 * math/w_logf.c: Likewise.
45725 * math/w_logl.c: Likewise.
45726 * math/w_pow.c: Likewise.
45727 * math/w_powf.c: Likewise.
45728 * math/w_powl.c: Likewise.
45729 * math/w_remainder.c: Likewise.
45730 * math/w_remainderf.c: Likewise.
45731 * math/w_remainderl.c: Likewise.
45732 * math/w_scalb.c: Likewise.
45733 * math/w_scalbf.c: Likewise.
45734 * math/w_scalbl.c: Likewise.
45735 * math/w_sinh.c: Likewise.
45736 * math/w_sinhf.c: Likewise.
45737 * math/w_sinhl.c: Likewise.
45738 * math/w_sqrt.c: Likewise.
45739 * math/w_sqrtf.c: Likewise.
45740 * math/w_sqrtl.c: Likewise.
45741 * math/w_tgamma.c: Likewise.
45742 * math/w_tgammaf.c: Likewise.
45743 * math/w_tgammal.c: Likewise.
45745 * po/ja.po: Update from translation team.
45747 2011-09-29 Andreas Jaeger <aj@suse.de>
45750 * sunrpc/netname.c (netname2host): Fix logic.
45754 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45756 * math/w_remainder.c (__remainder): Likewise.
45757 * math/w_remainderf.c (__remainderf): Likewise.
45758 * math/libm-test.inc (remainder_test): Add test cases.
45760 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45762 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45765 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45767 * string/test-memcmp.c: Avoid unncessary #defines.
45768 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45770 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45772 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45773 Use new sse2 version for core i3 - i7 as it's faster
45774 than sse42 version.
45775 (bit_Prefer_PMINUB_for_stringop): New.
45776 * sysdeps/x86_64/rawmemchr.S: Update.
45777 Replace with faster SSE2 version.
45778 * sysdeps/x86_64/memrchr.S: New file.
45779 * sysdeps/x86_64/memchr.S: Update.
45780 Replace with faster SSE2 version.
45782 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45784 * elf/dl-load.c (lose): Add cast to avoid warning.
45786 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45788 * po/ca.po: Update from translation team.
45790 * inet/getnetgrent_r.c: Hook up nscd.
45791 * nscd/Makefile (routines): Add nscd_netgroup.
45792 (nscd-modules): Add netgroupcache.
45793 (CFLAGS-netgroupcache.c): Define.
45794 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45795 (cache_search): Add const to second parameter.
45796 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45798 (dbs): Add netgrdb entry.
45799 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45800 (verify_persistent_db): Handle netgrdb.
45801 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45802 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45804 (netgroup_response_header): Define.
45805 (innetgroup_response_header): Define.
45806 (datahead): Add netgroup_response_header and innetgroup_response_header
45808 * nscd/nscd.conf: Add entries for netgroup cache.
45809 * nscd/nscd.h (dbtype): Add netgrdb.
45810 (_PATH_NSCD_NETGROUP_DB): Define.
45811 (netgroup_iov_disabled): Declare.
45812 (xmalloc, xcalloc, xrealloc): Move declarations here.
45813 (cache_search): Adjust prototype.
45814 Add netgroup-related prototypes.
45815 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45816 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45817 (__nscd_innetgr): Declare.
45818 * nscd/selinux.c (perms): Use access_vector_t as element type and
45819 add netgroup-related initializers.
45820 * nscd/netgroupcache.c: New file.
45821 * nscd/nscd_netgroup.c: New file.
45822 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45823 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45824 For four parameters use innetgr.
45825 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45826 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45827 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45828 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45830 * nscd/connections.c (register_traced_file): Don't register file
45831 for disabled databases.
45833 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45835 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45837 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45838 from tree and freeing node.
45840 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45842 * nss/nsswitch.c (__nss_database_lookup): Handle
45843 nss_parse_service_list out of memory case.
45845 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45847 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45848 out of memory case.
45850 2011-10-04 Andreas Schwab <schwab@redhat.com>
45852 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45853 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45855 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45856 elf_machine_rela, elf_machine_lazy_rel.
45857 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45858 (ELF_DYNAMIC_DO_REL): Likewise.
45859 (ELF_DYNAMIC_DO_RELA): Likewise.
45860 (ELF_DYNAMIC_RELOCATE): Likewise.
45861 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45862 to ELF_DYNAMIC_DO_REL.
45863 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45864 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45865 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45868 skip_ifunc, don't call ifunc function if non-zero.
45869 (elf_machine_rela): Likewise.
45870 (elf_machine_lazy_rel): Likewise.
45871 (elf_machine_lazy_rela): Likewise.
45872 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45873 (elf_machine_lazy_rel): Likewise.
45874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45876 (elf_machine_lazy_rel): Likewise.
45877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45879 (elf_machine_lazy_rel): Likewise.
45880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45881 (elf_machine_lazy_rel): Likewise.
45882 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45883 (elf_machine_lazy_rel): Likewise.
45884 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45885 (elf_machine_lazy_rel): Likewise.
45886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45887 (elf_machine_lazy_rel): Likewise.
45888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45889 (elf_machine_lazy_rel): Likewise.
45890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45891 (elf_machine_lazy_rel): Likewise.
45893 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45895 * nss/nss_files/files-init.c (_nss_files_init): Use static
45896 initialization for all the *_traced_file variables.
45898 2011-09-28 Andreas Schwab <schwab@redhat.com>
45900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45902 2011-09-27 Roland McGrath <roland@hack.frob.com>
45905 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45907 2011-09-27 Andreas Schwab <schwab@redhat.com>
45909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45910 Reread the line before reparsing it.
45912 2011-09-26 Andreas Schwab <schwab@redhat.com>
45914 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45916 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45917 Maxim Kuvyrkov <maxim@codesourcery.com>
45918 Joseph Myers <joseph@codesourcery.com>
45920 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45921 if needed for __stack_chk_guard.
45923 2011-09-19 Roland McGrath <roland@hack.frob.com>
45925 * sysdeps/posix/spawni.c (script_execute): Always define it.
45926 It will be optimized away if unused.
45927 (maybe_script_execute): New function.
45928 (__spawni): Call it.
45930 * Makerules: Don't include tls.make.
45931 (config-tls): Always set to thread.
45932 * tls.make.c: File removed.
45934 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45936 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45937 * config.make.in (CPPFLAGS-config): New substituted variable.
45939 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45941 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45944 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45945 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45947 2011-09-15 Roland McGrath <roland@hack.frob.com>
45949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45950 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45952 (CALL_FAIL): Likewise.
45953 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45954 (CALL_FAIL): Macro removed.
45955 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45957 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45959 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45960 for __FINITE_MATH_ONLY__ == 1.
45962 2011-09-15 Andreas Schwab <schwab@redhat.com>
45964 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45965 __ieee754_sqrt instead of sqrt.
45966 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45967 __ieee754_sqrtf instead of sqrtf.
45968 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45969 __floorf instead of floorf.
45970 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45971 __floorf, __truncf instead of floorf, truncf.
45973 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45975 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45977 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45978 __extern_always_inline.
45979 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45982 2011-09-14 Andreas Schwab <schwab@redhat.com>
45984 * elf/rtld.c (dl_main): Also relocate in dependency order when
45985 doing symbol dependency testing.
45987 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45990 Always define `refsym'.
45992 2011-09-13 Andreas Schwab <schwab@redhat.com>
45994 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45995 (__FD_ELT): Renamed from __FDELT.
45996 * misc/bits/select2.h (__FD_ELT): Likewise.
45997 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45998 __FD_MASK instead of __FDELT, __FDMASK.
45999 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46001 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46004 * elf/Makefile (gen-ldd): Fix pattern.
46006 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46007 (init_tls): Likewise.
46009 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46013 2011-09-12 Andreas Schwab <schwab@redhat.com>
46015 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46016 `struct cmsghdr *' instead of `void *'.
46017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46020 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46022 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46024 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46025 ldd_rewrite_script.
46027 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46029 * configure.in: Remove --with-tls option.
46030 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46031 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46032 out in case it is missing.
46033 * sysdeps/ia64/elf/configure.in: Likewise.
46034 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46035 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46036 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46037 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46038 * sysdeps/sh/elf/configure.in: Likewise.
46039 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46040 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46041 * sysdeps/x86_64/elf/configure.in: Likewise.
46042 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46043 * sysdeps/mach/hurd/tls.h: Likewise.
46046 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46049 * configure.in: Fix use of AC_INIT.
46051 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46053 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46055 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46057 * malloc/hooks.c: Likewise.
46060 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46061 variables statically.
46062 (narenas): Initialize.
46063 (list_lock): Initialize.
46064 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46065 initializtion of main_arena and list_lock. Small cleanups.
46066 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46067 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46068 Add initializers to main_arena and mp_.
46069 (malloc_state): Remove pagesize member. Change all users to use
46072 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46073 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46074 is always initialized.
46076 * malloc/malloc.c: Removed unused configurations and dead code.
46077 * malloc/arena.c: Likewise.
46078 * malloc/hooks.c: Likewise.
46079 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46081 * include/tls.h: Removed. USE___THREAD must always be defined.
46082 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46083 * elf/dl-libc.c: Likewise.
46084 * elf/dl-tsd.c: Likewise.
46085 * include/errno.h: Likewise.
46086 * include/netdb.h: Likewise.
46087 * include/resolv.h: Likewise.
46088 * inet/herrno-loc.c: Likewise.
46089 * inet/herrno.c: Likewise.
46090 * malloc/arena.c: Likewise.
46091 * malloc/hooks.c: Likewise.
46092 * malloc/malloc.c: Likewise.
46093 * resolv/res-state.c: Likewise.
46094 * resolv/res_libc.c: Likewise.
46095 * sysdeps/i386/dl-machine.h: Likewise.
46096 * sysdeps/ia64/dl-machine.h: Likewise.
46097 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46098 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46099 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46100 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46101 * sysdeps/sh/dl-machine.h: Likewise.
46102 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46104 * sysdeps/unix/i386/sysdep.S: Likewise.
46105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46106 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46111 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46115 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46116 * sysdeps/x86_64/dl-machine.h: Likewise.
46117 * tls.make.c: Likewise.
46119 * configure.in: Remove --with-__thread option. Make tests for
46120 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46121 tls_model attribute fail if no support is available. Remove
46123 * Makeconfig: Adjust for dropped configure option. All features are
46125 * Makerules: Likewise.
46126 * Versions.def: Likewise.
46127 * argp/argp-fmtstream.c: Likewise.
46128 * argp/argp-fmtstream.h: Likewise.
46129 * argp/argp-help.c: Likewise.
46130 * assert/assert.c: Likewise.
46131 * config.h.in: Likewise.
46132 * config.make.in: Likewise.
46133 * configure: Likewise.
46134 * configure.in: Likewise.
46135 * csu/Versions: Likewise.
46136 * csu/init.c: Likewise.
46137 * elf/tst-audit2.c: Likewise.
46138 * elf/tst-tls10.c: Likewise.
46139 * elf/tst-tls10.h: Likewise.
46140 * elf/tst-tls11.c: Likewise.
46141 * elf/tst-tls12.c: Likewise.
46142 * elf/tst-tls14.c: Likewise.
46143 * elf/tst-tlsmod11.c: Likewise.
46144 * elf/tst-tlsmod12.c: Likewise.
46145 * elf/tst-tlsmod13.c: Likewise.
46146 * elf/tst-tlsmod13a.c: Likewise.
46147 * elf/tst-tlsmod14a.c: Likewise.
46148 * elf/tst-tlsmod15b.c: Likewise.
46149 * elf/tst-tlsmod16a.c: Likewise.
46150 * elf/tst-tlsmod16b.c: Likewise.
46151 * elf/tst-tlsmod7.c: Likewise.
46152 * elf/tst-tlsmod8.c: Likewise.
46153 * elf/tst-tlsmod9.c: Likewise.
46154 * gmon/gmon.c: Likewise.
46155 * grp/fgetgrent_r.c: Likewise.
46156 * grp/putgrent.c: Likewise.
46157 * hurd/fopenport.c: Likewise.
46158 * include/libc-symbols.h: Likewise.
46159 * include/tls.h: Likewise.
46160 * intl/gettextP.h: Likewise.
46161 * intl/loadinfo.h: Likewise.
46162 * locale/global-locale.c: Likewise.
46163 * locale/localeinfo.h: Likewise.
46164 * mach/devstream.c: Likewise.
46165 * malloc/arena.c: Likewise.
46166 * malloc/set-freeres.c: Likewise.
46167 * misc/err.c: Likewise.
46168 * misc/getttyent.c: Likewise.
46169 * misc/mntent_r.c: Likewise.
46170 * posix/getopt.c: Likewise.
46171 * posix/wordexp.c: Likewise.
46172 * pwd/fgetpwent_r.c: Likewise.
46173 * resolv/Versions: Likewise.
46174 * resolv/res_hconf.c: Likewise.
46175 * shadow/fgetspent_r.c: Likewise.
46176 * shadow/putspent.c: Likewise.
46177 * stdio-common/printf_fphex.c: Likewise.
46178 * stdio-common/tmpfile.c: Likewise.
46179 * stdlib/abort.c: Likewise.
46180 * stdlib/fmtmsg.c: Likewise.
46181 * sunrpc/auth_unix.c: Likewise.
46182 * sunrpc/clnt_perr.c: Likewise.
46183 * sunrpc/clnt_tcp.c: Likewise.
46184 * sunrpc/clnt_udp.c: Likewise.
46185 * sunrpc/clnt_unix.c: Likewise.
46186 * sunrpc/openchild.c: Likewise.
46187 * sunrpc/svc_simple.c: Likewise.
46188 * sunrpc/svc_tcp.c: Likewise.
46189 * sunrpc/svc_udp.c: Likewise.
46190 * sunrpc/svc_unix.c: Likewise.
46191 * sunrpc/xdr.c: Likewise.
46192 * sunrpc/xdr_array.c: Likewise.
46193 * sunrpc/xdr_rec.c: Likewise.
46194 * sunrpc/xdr_ref.c: Likewise.
46195 * sunrpc/xdr_stdio.c: Likewise.
46197 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46199 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46201 2011-07-03 Andreas Jaeger <aj@suse.de>
46203 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46204 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46205 regenerate with gen-libm-tests.pl.
46207 2010-05-12 Petr Baudis <pasky@suse.cz>
46210 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46211 around j0() zero points by switching to j1().
46212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46217 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46224 Patch in part by Pavel Roskin <proski@gnu.org>.
46227 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46229 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46230 Free memory block if necessary.
46233 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46234 be NULL. Don't lock in this case.
46236 2011-09-09 Roland McGrath <roland@hack.frob.com>
46238 * elf/elf.h (ELFOSABI_GNU): New macro.
46239 (ELFOSABI_LINUX): Define to that.
46241 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46243 * string/strncat.c (strncat): Undef the symbol in case it has been
46244 defined in bits/string.h.
46246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46248 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46250 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46253 2011-08-17 Andreas Jaeger <aj@suse.de>
46255 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46257 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46258 Ian Lance Taylor <iant@google.com>
46260 * math/libm-test.inc (lround_test): New testcase.
46261 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46263 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46265 * Makefile: Remove support for automatic cvs check-ins.
46266 * Makerules: Likewise.
46267 * config.make.in: Likewise.
46268 * configure.in: Likewise.
46269 * intl/Makefile: Likewise.
46270 * locale/Makefile: Likewise.
46271 * po/Makefile: Likewise.
46272 * posix/Makefile: Likewise.
46273 * sysdeps/gnu/Makefile: Likewise.
46274 * sysdeps/mach/hurd/Makefile: Likewise.
46275 * sysdeps/sparc/sparc32/Makefile: Likewise.
46278 * posix/Makefile (bug-regex32-ENV): Define.
46279 Patch by John Stanley <jpsinthemix@verizon.net>.
46281 * misc/Makefile (headers): Add bits/select2.h.
46282 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46283 * misc/bits/select2.h: New file.
46284 * include/bits/select2.h: New file.
46285 * debug/Makefile (routines): Add fdelt_chk.
46286 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46287 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46289 * debug/fdelt_chk.c: New file.
46291 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46292 * wcsmbs/test-wmemcmp.c: Likewise.
46293 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46294 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46296 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46298 * string/Makefile (strop-tests): Add memcmp.
46299 * string/test-wmemcmp.c: New file.
46300 * string/test-memcmp.c: Add wmemcmp support.
46302 2011-09-08 Roland McGrath <roland@hack.frob.com>
46305 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46308 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46309 garbage value in a __mach_port_mod_refs call in the cases of the
46310 task-self and thread-self ports.
46312 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46314 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46316 2011-09-08 Andreas Schwab <schwab@redhat.com>
46318 * elf/dl-load.c (lose): Check for non-null L.
46320 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46322 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46324 * elf/dl-libc.c (dlerror_run): Pass back error code from
46328 * elf/dl-load.c (lose): Free l_origin if it is valid.
46330 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46332 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46337 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46339 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46341 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46342 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46343 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46345 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46346 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46347 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46348 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46349 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46350 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46352 2011-08-15 Alan Modra <amodra@gmail.com>
46355 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46356 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46357 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46358 ppc_mcount to static-only-routines.
46359 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46361 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46362 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46364 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46367 for finite and infinity parameters.
46369 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46372 and add nop instructions for throughput optimization.
46373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46375 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46377 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46378 aligned copy for power7 with vector-scalar instructions.
46379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46381 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46386 2011-09-07 Andreas Schwab <schwab@redhat.com>
46389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46392 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46394 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46395 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46396 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46397 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46400 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46402 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46403 Forgot to demangle the pointer.
46405 * sysdeps/i386/sysdep.h: Define atom_text_section.
46406 * sysdeps/x86_64/sysdep.h: Likewise.
46407 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46408 section with atom_text_section.
46409 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46410 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46411 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46417 already be defined. Change to take two parameters and don't assign
46418 result to variable. Adjust all users.
46419 Define INTERNAL_GETTIME if not already defined.
46420 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46423 HAVE_CLOCK_GETTIME_VSYSCALL.
46424 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46427 gettimeofday vsyscall, just use time.
46429 2011-09-06 Andreas Schwab <schwab@redhat.com>
46431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46434 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46436 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46440 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46442 syscall if possible.
46444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46446 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46447 e_ident. Don't pass to find_mapsXX.
46448 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46450 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46453 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46454 * sysdeps/x86_64/multiarch/strchr.S: Update.
46455 Check bit_slow_BSF bit.
46456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46463 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46465 (tryshell): Define.
46466 (__spawni): Change last parameter to be flag. Test
46467 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46468 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46469 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46470 * posix/spawni.c: Likewise.
46471 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46472 * posix/spawnp.c: Likewise. Change normal version to use
46473 SPAWN_XFLAGS_USE_PATH.
46474 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46475 SPAWN_XFLAGS_TRY_SHELL.
46478 * posix/glob.h: Remove gcc 1.x support.
46481 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46483 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46486 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46488 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46489 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46490 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46491 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46492 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46493 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46495 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46497 * sysdeps/x86_64/wcscmp.S: New file.
46499 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46500 wcscmp-c wcscmp-sse2
46501 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46502 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46503 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46504 * wcsmbs/wcscmp.c: Allow renaming.
46506 2011-09-05 David S. Miller <davem@davemloft.net>
46508 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46509 stack slot, rather than the struct return pointer slot.
46510 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46511 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46513 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46515 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46517 * po/ja.po: Update from translation team.
46520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46521 kernel in 64-bit binaries.
46523 2011-09-01 David S. Miller <davem@davemloft.net>
46525 * elf/elf.h (HWCAP_SPARC_*): Move to..
46526 * sysdeps/sparc/sysdep.h: this new file and add new values.
46527 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46528 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46529 _DL_HWCAP_COUNT to 24.
46530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46532 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46533 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46534 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46536 instead of magic constants.
46537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46539 2011-08-31 David S. Miller <davem@davemloft.net>
46541 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46543 Reimplement to do errno handling inline.
46544 (SYSCALL_ERROR_HANDLER): New macro.
46545 (__SYSCALL_STRING): Do not do errno handling in asm.
46546 (__CLONE_SYSCALL_STRING): Delete.
46547 (__INTERNAL_SYSCALL_STRING): Delete.
46548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46549 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46550 (PSEUDO): Reimplement to do errno handling inline.
46551 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46552 (SYSCALL_ERROR_HANDLER): New macro.
46553 (__SYSCALL_STRING): Do not do errno handling in asm.
46554 (__CLONE_SYSCALL_STRING): Delete.
46555 (__INTERNAL_SYSCALL_STRING): Delete.
46556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46557 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46559 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46560 (inline_syscall*): Add 'err' argument.
46561 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46562 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46563 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46564 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46566 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46569 2011-08-30 Andreas Schwab <schwab@redhat.com>
46571 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46573 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46575 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46578 2011-08-24 David S. Miller <davem@davemloft.net>
46580 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46582 2011-08-24 Andreas Schwab <schwab@redhat.com>
46584 * elf/Makefile: Add rules to build and run unload8 test.
46585 * elf/unload8.c: New file.
46586 * elf/unload8mod1.c: New file.
46587 * elf/unload8mod1x.c: New file.
46588 * elf/unload8mod2.c: New file.
46589 * elf/unload8mod3.c: New file.
46591 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46594 2011-08-23 David S. Miller <davem@davemloft.net>
46596 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46597 subtract stack bias.
46598 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46599 %sp not %fp in calculations.
46600 (_JMPBUF_UNWINDS_ADJ): Likewise.
46602 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46603 (aio_suspend): Call it to force an exception region around the
46604 AIO_MISC_WAIT() invocation.
46606 2011-08-23 Andreas Schwab <schwab@redhat.com>
46608 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46611 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46613 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46615 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46616 and <dl-machine.h>.
46617 (Elf64_FuncDesc): Remove.
46619 2011-08-22 David S. Miller <davem@davemloft.net>
46621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46622 sigaltstack check, add missing cfi directives.
46623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46624 missing cfi directives, and sigaltstack handling.
46626 2011-08-16 Andreas Schwab <schwab@redhat.com>
46629 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46630 object is seen twice.
46631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46633 * elf/Makefile (distribute): Add tst-initorder2.c.
46634 (tests): Add tst-initorder2.
46635 (modules-names): Add tst-initorder2a tst-initorder2b
46636 tst-initorder2c tst-initorder2d. Add rules to build them.
46637 ($(objpfx)tst-initorder2.out): New rule.
46638 * elf/tst-initorder2.c: New file.
46639 * elf/tst-initorder2.exp: New file.
46641 2011-08-22 Andreas Schwab <schwab@redhat.com>
46643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46645 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46646 dependencies back to end of function.
46648 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46649 $(elfobjdir)/ld.so.
46651 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46654 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46656 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46657 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46658 of __vdso_gettimeofday.
46659 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46660 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46662 (_libc_vdso_platform_setup): Remove initialization of
46663 __vdso_gettimeofday and __vdso_time.
46665 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46667 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46668 and fgetc_unlocked.
46669 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46672 * elf/dl-open.c (add_to_global): Report additions to the global scope
46673 for LD_DEBUG=scopes.
46674 (dl_open_worker): Also print scope of newly loaded dependencies.
46675 (_dl_show_scope): Indicate if there is no scope.
46678 * stdio-common/Makefile (tests): Add bug24.
46679 * stdio-common/bug24.c: New file.
46681 2011-08-19 Andreas Jaeger <aj@suse.de>
46684 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46685 non-existant file when using close-on-exec mode.
46687 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46690 the very first instruction.
46692 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46693 the CFI state in the end.
46694 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46695 inclusion of dl-trampoline.h.
46696 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46698 2011-08-19 Andreas Schwab <schwab@redhat.com>
46700 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46701 expectations for long double.
46703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46704 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46706 2011-08-14 David S. Miller <davem@davemloft.net>
46708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46709 artificual limit depends upon the system page size.
46711 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46713 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46714 * resolv/Makefile: Define CFLAGS-libresolv.
46716 2011-08-17 Andreas Schwab <schwab@redhat.com>
46718 * nss/makedb.c (compute_tables): Make variables used in nested
46721 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46723 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46724 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46725 if buffer was too small.
46727 * elf/pldd.c (main): Attach to all threads in the process.
46728 Rewrite /proc handling to use *at functions.
46730 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46732 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46733 specifies first scope to show.
46734 (dl_open_worker): Update callers. Move printing scope of new
46735 object to before the relocation.
46736 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46737 * sysdeps/generic/ldsodefs.h: Update declaration.
46739 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46740 string for the scope number.
46742 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46744 * nscd/servicescache.c (cache_addserv): Make sure written is always
46747 2011-08-14 Roland McGrath <roland@hack.frob.com>
46749 * sysdeps/i386/i486/bits/atomic.h
46750 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46751 statement expression, so as to suppress "set but not used" warning.
46752 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46754 * string/strncat.c (STRNCAT): Use prototype definition.
46756 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46757 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46759 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46760 (localedef-modules): Add localedef.
46761 (locale-modules): Add locale.
46763 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46764 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46765 to avoid a warning.
46767 2011-08-14 David S. Miller <davem@davemloft.net>
46769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46770 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46772 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46774 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46775 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46776 * elf/rtld.c (dl_main): Set l_name of vDSO.
46777 Call _dl_show_scope when DL_DEBUG_SCOPES.
46778 (process_dl_debug): Recognize scopes flag and also set it for all.
46779 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46780 Declare _dl_show_scope.
46782 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46783 (do_dlopen): Pass caller_dlopen to dl_open.
46784 (__libc_dlopen_mode): Initialize caller_dlopen.
46786 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46787 of libc. Make tolower call locale-independent. Optimize a bit by
46788 using isdigit instead of isalnum.
46789 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46791 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46793 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46794 was a dependency or dynamically loaded.
46796 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46798 * intl/l10nflist.c: Allow architecture-specific pop function.
46799 * sysdeps/x86_64/l10nflist.c: New file.
46801 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46804 2011-08-10 Andreas Schwab <schwab@redhat.com>
46806 * include/dirent.h: Add libc_hidden_proto for scandirat and
46807 scandirat64. Don't declare __scandirat64.
46808 * dirent/scandirat.c: Add libc_hidden_def.
46809 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46810 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46812 2011-08-10 David S. Miller <davem@davemloft.net>
46814 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46820 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46822 * Versions.def [libc]: Add GLIBC_2.15.
46823 * dirent/Makefile (routines): Add scandirat and scandirat64.
46824 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46826 * dirent/dirent.h: Declare scandirat and scandirat64.
46827 * dirent/scandirat.c: New file.
46828 * dirent/scandirat64.c: New file.
46829 * sysdeps/wordsize-64/scandirat.c: New file.
46830 * sysdeps/wordsize-64/scandirat64.c: New file.
46831 * dirent/opendir.c: Define opendirat.
46832 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46834 * dirent/scandir64.c: Adjust for scandir.c change.
46835 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46836 __scandirat64, and __scandir_cancel_handler.
46837 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46838 additional parameter and use openat instead of open (outside of ld.so).
46839 Add new __opendir as wrapper around __opendirat.
46840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46841 here without requiring old scandirat implementation.
46843 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46845 * dirent/scandir.c (cancel_handler): Renamed to
46846 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46847 defined. Adjust users.
46848 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46851 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46853 * string/test-string.h (IMPL): Use __STRING to expand name and then
46856 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46859 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46861 * string/Makefile: Update.
46862 (strop-tests): Append strncat.
46863 * string/test-wcscmp.c: New file.
46864 New comprehensive test for wcscmp.
46865 * string/test-strcmp.c: Update.
46866 (WIDE): New define.
46868 2011-07-22 Andreas Schwab <schwab@redhat.com>
46870 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46873 2011-07-26 Andreas Schwab <schwab@redhat.com>
46875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46876 encoding to ACE if AI_IDN.
46878 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46881 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46883 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46885 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46886 Fix overflow bug in strncat.
46887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46889 * string/test-strncat.c: Update.
46890 Add new tests for checking overflow bugs.
46892 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46895 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46896 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46897 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46899 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46900 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46901 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46902 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46905 (USE_AS_STRCAT): Define.
46906 Add strcat and strncat support.
46907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46909 2011-07-25 Andreas Schwab <schwab@redhat.com>
46911 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46912 __n bigger than INT_MAX+1.
46913 (__strncmp_g): Likewise.
46915 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46917 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46918 * libio/stido.h: Likewise.
46920 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46925 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46928 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46932 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46937 (_dl_x86_64_save_sse): Likewise.
46939 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46943 (_dl_x86_64_save_sse): Likewise.
46945 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46947 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46949 2011-07-21 Andreas Schwab <schwab@redhat.com>
46951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46953 (_dl_x86_64_save_sse): Use correct AVX check.
46955 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46958 bug in strncpy/strncat.
46959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46961 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46963 * string/tester.c (test_strcat): Add tests for different alignments
46964 of source and destination.
46965 (test_strncat): Likewise.
46967 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46970 * posix/glob.c (glob): Check passed in values before using them in
46971 expressions to avoid some overflows.
46972 (glob_in_dir): Likewise.
46975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46976 check for AVX enablement so that we don't crash with old kernels and
46978 * elf/tst-audit4.c: Add same checks here.
46979 * elf/tst-audit6.c: Likewise.
46981 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46983 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46985 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46987 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46989 * po/cs.po: Update from translation team.
46990 * po/bg.po: Likewise.
46992 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46994 * misc/sys/cdefs.h: Add support for const attribute.
46995 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46996 to gnu_dev_{major,minor,makedev} functions.
46998 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47000 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47002 2011-07-20 Andreas Schwab <schwab@redhat.com>
47004 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47007 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47010 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47011 register in order to avoid conflicts with the soft frame pointer
47012 being held in r11 when necessary.
47013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47014 (INTERNAL_VSYSCALL_NCS): Likewise.
47016 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47018 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47019 * elf/dl-fini.c (_dl_fini): Adjust caller.
47020 * elf/dl-close.c (_dl_close_worker): Likewise.
47021 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47025 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47026 "aux_cache->nlibs < 0".
47028 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47029 in the reload-count case.
47031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47034 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47035 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47036 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47037 * sysdeps/x86_64/multiarch/strcat.S: New file.
47038 * sysdeps/x86_64/multiarch/strncat.S: New file.
47039 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47041 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47042 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47043 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47044 (USE_AS_STRCAT): Define.
47045 Add strcat and strncat support.
47046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47049 * string/strncat.c: Update.
47050 (USE_AS_STRNCAT): Define.
47051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47052 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47054 * sysdeps/x86_64/multiarch/init-arch.h
47055 (bit_Prefer_PMINUB_for_stringop): New.
47056 (index_Prefer_PMINUB_for_stringop): Likewise.
47057 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47058 bit_Prefer_PMINUB_for_stringop.
47060 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47062 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47064 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47065 of casting of buffer.
47066 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47067 buffer32 and buffer64.
47068 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47069 writes instead of casting of buffer.
47070 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47072 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47075 2011-07-19 Andreas Schwab <schwab@redhat.com>
47077 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47079 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47081 * nscd/nscd.c (termination_handler): Don't do anything for a database
47082 if it has not yet been initialized.
47084 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47086 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47088 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47090 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47092 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47094 * po/nl.po: Update from translation team.
47095 * po/sv.po: Likewise.
47097 2011-07-16 Roland McGrath <roland@hack.frob.com>
47099 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47100 now disallowed by GCC.
47102 * configure.in (use-default-link): Default to yes if a test -shared
47103 link meets our qualifications.
47104 * configure: Regenerated.
47106 * config.make.in (output-format): New variable.
47107 * configure.in: Check for ld --print-output-format support.
47108 * configure: Regenerated.
47109 * Makerules ($(common-objpfx)format.lds)
47110 [$(output-format) != unknown]: Just use $(output-format),
47111 instead of the linker-script munging.
47113 2011-07-14 Roland McGrath <roland@hack.frob.com>
47115 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47116 of $(common-objpfx)shlib.lds.
47117 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47119 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47120 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47122 * configure.in (-z relro check): Adjust test code to add a large
47123 writable data section after it.
47124 * configure: Regenerated.
47126 2011-07-11 Roland McGrath <roland@hack.frob.com>
47128 * configure.in (-z relro check): Fix test code to make the variable
47130 * configure: Regenerated.
47132 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47134 * nscd/nscd.h (struct traced_file): Define.
47135 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47136 elements. Add traced_files.
47137 (inotify_fd): Declare.
47138 (register_traced_file): Declare.
47139 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47140 (inotify_fd): Export.
47141 (resolv_conf_descr): Remove.
47142 (nscd_init): Move inotify descriptor creation to main.
47143 Don't register files for notification here.
47144 (register_traced_file): New function.
47145 (invalidate_cache): Don't use reset_res to determine whether to call
47146 res_init, go through the list of registered files.
47147 (main_loop_poll): The inotify descriptors are now stored in the
47148 structures for the traced files.
47149 (main_loop_epoll): Likewise
47150 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47151 to __nss_disable_nscd.
47152 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47153 for a database anymore. Check the records for all the registered
47155 * nss/Makefile (libnss_files-routines): Add files-init.
47156 (libnss_db-routines): Add db-init.
47157 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47158 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47159 * nss/nss_db/db-init.c: New file.
47160 * nss/nss_files/files-init.c: New file.
47161 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47162 __nss_lookup_function.
47163 (__nss_lookup_function): Call nss_load_library.
47164 (nss_load_all_libraries): New function.
47165 (__nss_disable_nscd): Take parameter with callback function for files
47166 to register. Set is_nscd. Load all the DSOs for the NSS modules
47167 used for the cached services.
47168 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47170 options for features to all the files in nscd.
47172 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47174 2011-07-10 Roland McGrath <roland@hack.frob.com>
47176 * csu/elf-init.c (__libc_csu_init): Comment typo.
47178 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47180 * po/pl.po: Update from translation team.
47181 * po/ja.po: Likewise.
47182 * po/ru.po: Likewise.
47183 * po/ko.po: Likewise.
47184 * po/fr.po: Likewise.
47186 2011-07-09 Roland McGrath <roland@hack.frob.com>
47188 * configure.in (.ctors/.dtors header and trailer check):
47189 Use an empirical test on a built program.
47190 * configure: Regenerated.
47192 * configure.in (-z relro check): Use an empirical test on a built DSO.
47193 Detect, but do not require, on ia64.
47194 * configure: Regenerated.
47196 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47197 Update tests that use readelf to use $READELF instead.
47198 * configure: Regenerated.
47200 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47202 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47203 if the result is not used.
47205 2011-07-05 Andreas Jaeger <aj@suse.de>
47208 * stdlib/tst-strtod.c: Add testcase.
47210 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47212 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47213 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47214 The latter has a higher limit. Take additional parameter to pass to
47216 (__pathconf): Pass file to __statfs_link_max.
47217 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47219 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47223 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47227 (__statfs_filesize_max): Likewise.
47228 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47230 2011-07-05 Andreas Jaeger <aj@suse.de>
47232 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47234 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47236 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47238 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47241 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47243 * Makefile (strop-tests): Add strncat.
47244 * string/test-strncat.c: New file.
47246 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47248 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47250 2011-06-21 Andreas Jaeger <aj@suse.de>
47252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47253 Copy rule from iconvdata/Makefile.
47255 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47258 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47259 but no long options are defined, just return 'W'.
47261 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47264 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47266 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47268 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47270 (innetgr): Likewise.
47272 2011-07-05 Roland McGrath <roland@hack.frob.com>
47274 * config.make.in (install_root): Default to $(DESTDIR).
47276 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47280 2011-07-02 Roland McGrath <roland@hack.frob.com>
47282 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47284 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47285 containing directory rather than embedding absolute directory names.
47287 * scripts/check-local-headers.sh: Rewritten using awk.
47288 Match by word, not by line. Print error messages for matches.
47289 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47291 * Makerules [shlib-lds-flags empty]:
47292 ($(common-objpfx)libc_pic.opts): New target.
47293 ($(common-objpfx)libc_pic.os.clean): New target.
47294 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47296 * config.make.in (OBJCOPY): New variable.
47297 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47298 * configure: Regenerated.
47300 * config.make.in (use-default-link): New variable.
47301 * configure.in (use_default_link): Grok --with-default-link to set it.
47302 * configure: Regenerated.
47303 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47304 (shlib-lds, shlib-lds-flags): Define to empty.
47306 * Makerules (shlib-lds): New variable.
47307 (shlib-lds-flags): New variable.
47308 (build-shlib, build-moduile, build-module-asneeded): Use it.
47309 ($(common-objpfx)libc.so): Use $(shlib-lds).
47310 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47311 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47313 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47314 DT_FLAGS/DT_FLAGS_1 with zero flags.
47316 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47317 linker script munging.
47319 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47321 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47323 * crypt/sha512.c (sha512_process_block): Perform total addition using
47324 128-bit if possible.
47325 (__sha512_finish_ctx): Likewise.
47326 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47328 * crypt/sha256.c (SWAP64): Define.
47329 (sha256_process_block): Perform total addition using 64-bit if
47331 (__sha256_finish_ctx): Likewise.
47333 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47335 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47337 * nscd/hstcache.c (cache_addhst): Likewise.
47338 * nscd/grpcache.c (cache_addgr): Likewise.
47339 * nscd/aicache.c (addhstaiX): Likewise
47340 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47342 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47344 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47346 * nscd/hstcache.c (cache_addhst): Likewise.
47347 * nscd/grpcache.c (cache_addgr): Likewise.
47348 * nscd/aicache.c (addhstaiX): Likewise
47350 2011-07-01 Andreas Schwab <schwab@redhat.com>
47352 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47353 domain only when needed.
47355 2011-06-30 Andreas Schwab <schwab@redhat.com>
47357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47358 is always restored.
47360 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47362 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47363 are re-adding the entry.
47364 * nscd/servicescache.c (cache_addserv): Likewise.
47366 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47368 * sysdeps/generic/dl-irel.h: fix protection against multiple
47370 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47372 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47375 * malloc/memusage.sh: Fix quoting in message.
47376 * debug/xtrace.sh: Likewise.
47378 * configure.in: Remove support for --experimental-malloc option, make
47380 * config.make.in: Likewise.
47381 * malloc/Makefile: Likewise.
47383 2011-06-27 Andreas Schwab <schwab@redhat.com>
47385 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47386 two-byte characters.
47388 2011-06-27 Roland McGrath <roland@hack.frob.com>
47390 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47391 AC_CACHE_CHECK invocation.
47392 * configure: Regenerated.
47394 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47396 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47399 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47400 bit from old_res_options.
47402 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47404 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47405 value type for setfct.
47407 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47409 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47410 __gettimeofday instead of gettimeofday.
47412 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47414 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47416 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47423 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47426 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47427 strcpy-sse2-unaligned strncpy-sse2-unaligned
47428 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47429 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47430 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47431 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47432 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47433 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47434 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47435 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47436 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47437 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47438 (STRCPY): Support SSE2 and SSSE3 versions.
47440 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47444 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47445 kernels which artificially limit size of requests.
47447 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47450 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47451 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47452 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47453 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47454 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47455 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47456 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47459 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47460 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47461 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47462 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47463 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47465 Enable unaligned load optimization for Intel Core i3, i5 and i7
47467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47469 (index_Fast_Unaligned_Load): Define.
47470 (HAS_FAST_UNALIGNED_LOAD): Define.
47472 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47474 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47476 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47480 until it is clear that the information is realy needed.
47481 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47483 2011-06-22 Andreas Schwab <schwab@redhat.com>
47485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47487 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47490 /sys/devices/system/cpu/online if it is usable.
47492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47493 reading the information from the /proc filesystem to once a second.
47495 2011-06-21 Andreas Jaeger <aj@suse.de>
47497 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47498 NULL after inclusion of kernel headers.
47500 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47502 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47503 calls to internal_setent.
47506 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47507 addresses using gethostbyname4_r ignore IPv4 addresses.
47509 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47510 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47512 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47514 2011-06-20 David S. Miller <davem@davemloft.net>
47516 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47518 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47520 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47521 (elf_irel): Use it.
47522 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47523 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47524 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47525 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47526 * sysdeps/x86_64/dl-irel.h: Likewise.
47528 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47529 * elf/dl-sym.c: Likewise.
47531 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47533 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47534 need to dereference resplen2.
47536 2011-06-14 Andreas Schwab <schwab@redhat.com>
47538 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47540 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47542 * Makeconfig: Define vardbdir and inst_vardbdir.
47543 * nss/Makefile: Add rules to install db-Makefile.
47545 * nss/nss_db/db-XXX.c: Cleanup.
47547 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47548 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47550 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47551 * nss/makedb.c: Implement -g option to specify that value strings
47552 are generated and should not be added to table iterated over for
47554 * nss/nss_db/db-initgroups.c: New file.
47556 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47559 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47560 (internal_getgrouplist): Adjust to name change.
47561 Update use_initgroups_entry if this is not the first call.
47562 * nss/databases.def: Add initgroups entry.
47564 * nss/makedb.c (compute_tables): Check result of multiple hash table
47565 sizes to minimize maximum chain length.
47567 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47569 * Versions.def: Add entry for libnss_db.
47570 * shlib-versions: Likewise.
47571 * nss/Makefile: Add rules to build libnss_db.
47572 * nss/Versions: Add libnss_db information. Organize libnss_files
47574 * nss/db-Makefile: Add gshadow support. Change rules for the new
47575 makedb progra. Some minor improvements to generate smaller files.
47576 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47578 * nss/makedb.c: ...here.
47579 Improve database format to be smaller and require less memory at
47581 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47583 * nss/nss_db/db-netgrp.c: Likewise.
47584 * nss/nss_db/db-open.c: Likewise.
47585 * nss/nss_files/flies-XXX.x: Adjust comments.
47586 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47587 * nss/nss_files/files-grp.c: Likewise.
47588 * nss/nss_files/files-hosts.c: Likewise.
47589 * nss/nss_files/files-network.c: Likewise.
47590 * nss/nss_files/files-proto.c: Likewise.
47591 * nss/nss_files/files-pwd.c: Likewise.
47592 * nss/nss_files/files-rpc.c: Likewise.
47593 * nss/nss_files/files-service.c: Likewise.
47594 * nss/nss_files/files-sgrp.c: Likewise.
47595 * nss/nss_files/files-spwd.c: Likewise.
47596 * nss/nss_db/db-alias.c: Removed.
47597 * nss/nss_db/dummy-db.h: Removed.
47599 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47601 * nss/makedb.c: Rewritten to not use database library.
47602 * nss/Makefile: Update to build new makedb program.
47604 2011-06-14 Andreas Jaeger <aj@suse.de>
47606 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47607 memset declaration.
47609 2011-06-10 Andreas Schwab <schwab@redhat.com>
47611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47614 2011-06-10 Roland McGrath <roland@hack.frob.com>
47616 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47617 * elf/Makefile ($(objpfx)ld.so): Likewise.
47619 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47620 Don't list ld.so twice in dependencies.
47622 * posix/bug-regex31.c: Include <stdlib.h>.
47624 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47626 * nis/nss_compat/compat-spwd.c
47627 (getspent_next_nss_netgr): Remove unused variable.
47628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47630 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47631 nonmembers" output to use the right array.
47633 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47635 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47637 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47638 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47639 * catgets/gencat.c (read_input_file): Likewise.
47640 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47643 variable definition inside #if's controlling its use.
47645 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47647 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47649 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47651 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47654 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47656 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47657 * configure: Regenerated.
47659 * Makerules: Revert last change.
47660 * elf/Makefile: Likewise.
47662 2011-06-09 Roland McGrath <roland@hack.frob.com>
47664 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47665 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47666 (reloc-link): Likewise.
47668 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47670 * elf/Makefile: Add rules to build pldd.
47671 * elf/pldd.c: New file.
47672 * elf/pldd-xx.c: New file.
47674 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47676 * version.h: Update for 2.15 development version.
47678 2011-06-07 David S. Miller <davem@davemloft.net>
47680 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47683 elf_machine_lazy_rel): Likewise.
47684 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47686 elf_machine_lazy_rel): Likewise.
47687 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47688 dl_hwcap via passed in argument.
47689 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47692 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47694 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47696 2011-06-06 Roland McGrath <roland@hack.frob.com>
47699 * manual/fdl-1.1.texi: New file, verbatim from:
47700 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47701 * manual/lgpl-2.1.texi: New file, verbatim from:
47702 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47703 * manual/Makefile (licenses): New variable, list those new file names.
47705 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47707 * manual/fdl.texi: File removed.
47708 * manual/lesser.texi: File removed.
47709 * manual/libc.texinfo (Copying, Documentation License):
47710 Use new @include file names, put @appendix directive before @include.
47712 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47715 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47716 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47717 (mq_open): Add __NTH.
47719 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47722 Assume Intel Core i3/i5/i7 processor if AVX is available.
47724 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47729 2011-05-31 Andreas Schwab <schwab@redhat.com>
47731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47732 memory. Use alloca_account. Fix memory leak when retrying.
47734 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47736 * version.h (RELEASE): Bump for 2.14 release.
47737 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47739 * config.make.in (RANLIB): Remove entry.
47741 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47743 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47744 (libc.pot): Work around missing support for .ksh extension in xgettext.
47747 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47748 if both request failed.
47749 (send_dg): In case of server errors clear resplen or *resplen2.
47752 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47753 when there are multiple maps.
47754 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47755 (_dl_fini): Remove test here.
47757 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47759 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47762 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47763 bit from old_res_options.
47764 (gaih_inet): Likewise.
47767 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47770 * resolv/res_init.c (res_setoptions): Make the code more compact.
47773 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47777 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47779 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47782 * malloc/malloc.h: Declare malloc hook variables as volatile.
47784 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47788 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47789 raise in the comment.
47790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47792 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47794 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47797 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47798 grow the buffers more if it already has to be sufficient.
47799 (build_wcs_upper_buffer): Likewise.
47800 * posix/regexec.c (check_matching): Likewise.
47801 (clean_state_log_if_needed): Likewise.
47802 (extend_buffers): Don't enlarge buffers beyond size of the input
47804 Patches mostly by Emil Wojak <emil@wojak.eu>.
47805 * posix/bug-regex32.c: New file.
47806 * posix/Makefile (tests): Add bug-regex32.
47808 * locale/findlocale.c (_nl_find_locale): Return right away if
47809 _nl_explode_name failed.
47810 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47812 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47814 * debug/xtrace.sh: Unify messages.
47815 * malloc/memusage.sh: Likewise.
47818 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47819 time symbol from vDSO. Substitute with vsyscall if not available.
47820 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47823 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47824 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47825 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47826 Add sendmmsg and internal_sendmmsg.
47827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47831 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47832 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47835 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47838 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47839 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47845 * iconvdata/Makefile (tests): Add bug-iconv9.
47846 * iconvdata/bug-iconv9.c: New file.
47848 2011-05-27 Andreas Schwab <schwab@redhat.com>
47851 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47853 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47856 (struct user_regs_struct): Change intcs field back to cs.
47858 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47860 * po/ja.po: Update from translation team.
47862 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47865 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47866 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47868 2011-05-20 Andreas Schwab <schwab@redhat.com>
47870 * stdlib/longlong.h: Update from GCC.
47872 2011-05-23 Andreas Schwab <schwab@redhat.com>
47874 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47876 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47877 Add parameter name.
47878 (__sysconf): Pass it down.
47880 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47883 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47886 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47887 add in in __libc_use_alloca calls. Adjust callers.
47888 (glob): Use malloc in some situations.
47890 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47891 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47894 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47896 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47897 and CLOCK_BOOTTIME_ALARM.
47900 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47903 * string/_strerror.c (__strerror_r): Print negative errors as signed
47907 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47908 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47909 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47911 * configure.in: Fix typo in redirection and correct removal of test
47912 files in two cases.
47915 * locale/setlocale.c (new_composite_name): Fix test to check for
47916 identical name of all categories.
47919 * libio/filedoalloc.c (local_isatty): New function.
47920 (_IO_file_doallocate): Use local_isatty.
47921 * stdio-common/perror.c (perror): In case a new stream is used
47922 forward the stream error.
47923 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47926 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47931 * include/alloca.h (extend_alloca_account): Define.
47934 * posix/regex.h: Fix comments with documentation of user-accessible
47935 fields after compilation and describe correct free'ing of pattern
47936 after re_compile_pattern.
47937 Patch by Reuben Thomas <rrt@sc3d.org>.
47939 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47941 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47942 and -mno-altivec to prevent the compiler from using Altivec and/or
47943 VSX instructions when the corresponding registers are not available.
47945 2011-05-19 Andreas Schwab <schwab@redhat.com>
47947 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47949 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47951 * libio/freopen.c (freopen): Use __dup2, not dup2.
47952 * libio/freopen64.c (freopen64): Likewise.
47954 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47957 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47958 * math/Makefile (tests): Add test-powl.
47959 (CFLAGS-test-powl.c): Define.
47960 * math/test-powl.c: New file.
47962 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47964 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47966 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47969 * iconvdata/gb18030.c: Update to GB18020-2005.
47971 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47973 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47974 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47975 Patch by Aharon Robbins <arnold@skeeve.com>.
47978 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47982 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47983 through underflows.
47986 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47987 point to strings before performing equality test for error_one_per_line
47991 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47995 (struct user_fpregs_struct): Avoid __uint*_t types.
47998 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47999 symbol info. Use it instead of calling _dl_addr locally.
48000 (lock_and_info): New function.
48001 (tr_freehook): Call lock_and_info and pass symbol info as additional
48002 parameter to tr_where.
48003 (tr_mallochook): Likewise.
48004 (tr_reallochook): Likewise.
48005 (tr_memalignhook): Likewise.
48007 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48008 used and couldn't be at all thread-safe.
48010 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48012 * libio/freopen.c (freopen): Don't close old file descriptor
48013 before the new one is opened. Instead dup the new file descriptor
48014 to the old one after the new stream is created.
48015 * libio/freopen64.c (freopen64): Likewise.
48016 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48017 * libio/fileops.c (_IO_new_file_close_it): Handle new
48018 _IO_FLAGS2_NOCLOSE flag.
48019 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48020 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48021 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48022 _IO_FLAGS2_NOCLOSE flag.
48023 * include/unistd.h: Add hidden_proto for dup3.
48024 Define __have_dup3.
48025 * io/dup3.c: Define hidden symbol.
48026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48029 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48030 when an incomplete long option is used.
48031 * posix/tst-getopt_long1.c: New file.
48032 * posix/Makefile (tests): Add tst-getopt_long1.
48035 * scripts/config.guess: Update from autoconf-2.68.
48036 * scripts/config.sub: Likewise.
48039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48041 (has_cpuclock): ...this. New function.
48042 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48043 macro here based on has_cpuclock code.
48046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48047 First byte (not low byte) is now always NUL.
48048 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48051 Use non-cancelable interfaces.
48054 * locale/iso-639.def: Add entry for Sorani.
48057 * include/stdlib.h: Move include protection to the right place.
48058 Define abort_msg_s. Declare __abort_msg with it.
48059 * stdlib/abort.c (__abort_msg): Adjust type.
48060 * assert/assert.c (__assert_fail_base): New function. Majority
48061 of code from __assert_fail. Allocate memory for __abort_msg with
48063 (__assert_fail): Now call __assert_fail_base.
48064 * assert/assert-perr.c: Remove bulk of implementation. Use
48065 __assert_fail_base.
48066 * include/assert.hL Declare __assert_fail_base.
48067 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48069 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48071 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48075 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48076 until all modules are registered in the DTV.
48077 * elf/Makefile: Add rules to build and run tst-tls19.
48078 * elf/tst-tls19.c: New file.
48079 * elf/tst-tls19mod1.c: New file.
48080 * elf/tst-tls19mod2.c: New file.
48081 * elf/tst-tls19mod3.c: New file.
48082 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48085 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48089 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48090 two-byte sequence errors.
48091 * iconvdata/Makefile (tests): Add bug-iconv8.
48092 * iconvdata/bug-iconv8.c: New file.
48095 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48098 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48101 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48102 (dummy_getcfa): New function.
48103 (init): Get _Unwind_GetCFA address, use dummy if not found.
48104 (backtrace_helper): In recursion check, also check whether CFA changes.
48105 (__backtrace): Completely initialize arg.
48107 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48108 storing incomplete byte sequence in state object. Avoid testing for
48109 guaranteed too small input if we know there is enough data available.
48111 2011-05-11 Andreas Schwab <schwab@redhat.com>
48113 * Makeconfig (+link-pie): Indent.
48114 * Rules (binaries-pie): Define if $(have-fpie) and
48116 (binaries-shared): Also filter out $(binaries-pie).
48117 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48118 * nscd/Makefile (others-pie): Add nscd.
48119 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48120 ($(objpfx)nscd): Remove command override.
48121 * login/Makefile (others-pie): Add pt_chown.
48122 ($(objpfx)pt_chown): Remove command override.
48123 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48124 remove command overrides.
48126 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48128 * libio/tst_putwc.c: Fix error messages.
48131 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48132 currently writing and seek to current position when not.
48133 * libio/Makefile (tests): Add bug-fclose1.
48134 * libio/bug-fclose1.c: New file.
48136 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48139 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48140 don't set DF_1_NODELETE here.
48141 (do_lookup_x): When entering new entry test for copy relocation
48142 and if necessary set DF_1_NODELETE flag.
48143 * elf/tst-unique4.cc: New file.
48144 * elf/tst-unique4.h: New file.
48145 * elf/tst-unique4lib.cc: New file.
48146 * elf/Makefile: Add rules to build and run tst-unique4.
48147 Patch by Piotr Bury <pbury@goahead.com>.
48149 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48152 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48155 * misc/mntent_r.c (addmntent): Flush the stream after the output
48158 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48159 (is_trusted_path_normalize): Skip initial colon. Append slash
48160 to empty buffer. Duplicate is_trusted_path code but allow
48161 constructed patch to be prefix.
48162 (is_dst): Allow $ORIGIN followed by /.
48163 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48164 Correct testing of result of is_trusted_path_normalize
48165 (decompose_rpath): Fix warning.
48167 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48170 * grp/initgroups.c (internal_getgrouplist): When we found the service
48171 list through the initgroups entry in nsswitch.conf do not always
48172 continue on a successful lookup. Don't always use the
48173 __nss_group_database value if it is set.
48174 * nss/nsswitch.conf (initgroups): Change action for successful db
48175 lookup to continue for compatibility.
48177 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48180 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48182 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48184 * iconvdata/tst-tables.sh: Likewise.
48185 * iconvdata/cp770.c: New file.
48186 * iconvdata/cp771.c: New file.
48187 * iconvdata/cp772.c: New file.
48188 * iconvdata/cp773.c: New file.
48189 * iconvdata/cp774.c: New file.
48190 * iconvdata/testdata/CP770: New file.
48191 * iconvdata/testdata/CP770..UTF8: New file.
48192 * iconvdata/testdata/CP771: New file.
48193 * iconvdata/testdata/CP771..UTF8: New file.
48194 * iconvdata/testdata/CP772: New file.
48195 * iconvdata/testdata/CP772..UTF8: New file.
48196 * iconvdata/testdata/CP773: New file.
48197 * iconvdata/testdata/CP773..UTF8: New file.
48198 * iconvdata/testdata/CP774: New file.
48199 * iconvdata/testdata/CP774..UTF8: New file.
48201 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48203 * iconvdata/gen-8bit-gap.sh: Likewise.
48204 * iconvdata/gen-8bit.sh: Likewise.
48206 * locale/iso-639.def: Add ary entry.
48209 * locale/C-translit.h.in: Add U20A1 transliteration.
48212 * locale/iso-639.def: Add wae entry.
48213 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48216 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48220 * locale/C-translit.h.in: Add entry for U20B9.
48221 Patch by pravin.d.s@gmail.com.
48223 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48226 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48227 ENAMETOOLONG use generic getcwd.
48228 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48229 in rtld. Use *stat64.
48230 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48231 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48232 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48233 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48234 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48235 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48236 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48237 __fstatat64 macros.
48238 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48239 * dirent/rewinddir.c: Add libc_hidden_def.
48240 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48241 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48243 * include/dirent.h (__alloc_dir): Add flags parameter.
48244 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48245 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48247 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48248 from fdopendir if O_CLOEXEC is already set.
48250 2011-03-15 Alan Modra <amodra@gmail.com>
48252 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48253 l_tls_firstbyte_offset non-zero. Save padding offset in
48254 l_tls_firstbyte_offset for later use.
48255 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48256 freeing static tls block.
48258 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48260 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48261 where #ifdef was intended. The intent is to prevent ARG_MAX from
48262 being defined by the kernel headers.
48264 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48267 * resolv/resolv.h: Define RES_NOTLDQUERY.
48268 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48269 no-tld-query and set RES_NOTLDQUERY.
48270 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48271 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48272 modern BIND to search name as TLD unless forbidden.
48274 2011-05-07 Petr Baudis <pasky@suse.cz>
48275 Ulrich Drepper <drepper@gmail.com>
48278 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48279 (is_trusted_path): ...to here.
48280 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48281 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48282 using is_trusted_path_normalize() in setuid scripts.
48284 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48286 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48287 __BEGIN/__END_DECLS.
48289 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48292 NSS_STATUS_NOTFOUND if no record was found.
48294 2011-05-05 Andreas Schwab <schwab@redhat.com>
48296 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48297 (headers-not-in-tirpc): Remove rpc/netdb.h
48298 * resolv/netdb.h: Revert last change.
48300 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48302 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48303 circular dependency between libgcc.a and libc.a.
48305 2011-05-05 Andreas Schwab <schwab@redhat.com>
48307 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48308 * nis/Makefile: Don't install rpcsvc/*.
48309 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48310 instead of <rpc/types.h>.
48311 (MAXHOSTNAMELEN): Define.
48313 2011-05-03 Andreas Schwab <schwab@redhat.com>
48315 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48317 2011-04-28 Maciej Babinski <mbabinski@google.com>
48320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48321 gethostbyname4_r when IPv6 results are possible.
48323 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48326 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48327 _PC_PIPE_BUF handling.
48329 2011-04-30 Bruno Haible <bruno@clisp.org>
48332 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48333 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48335 * inet/getnameinfo.c (getnameinfo): Likewise.
48337 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48339 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48340 to groups setting in database lookup.
48341 * nss/nsswitch.conf: Add initgroups entry.
48343 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48346 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48348 Patch by Eric Blake <eblake@redhat.com>.
48350 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48352 * sunrpc/Makefile (need-export-routines): Add svc_run.
48353 (routines): Remove svc_run.
48354 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48355 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48356 * sunrpc/svc_run.c (svc_run): Likewise.
48357 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48359 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48362 problem in reallocation in last patch.
48364 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48366 * sunrpc/Makefile: Move inclusion of Rules.
48368 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48370 * nss/nss_files/files-initgroups.c: New file.
48371 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48372 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48373 _nss_files_initgroups_dyn.
48375 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48377 * elf/elf.h (R_ARM_IRELATIVE): Define.
48379 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48381 * po/ru.po: Update from translation team.
48383 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48385 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48388 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48391 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48392 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48397 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48399 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48401 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48405 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48408 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48410 * stdlib/bug-getcontext.c: New file.
48411 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48413 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48415 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48416 instructions into .machine "z9-109".
48417 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48418 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48420 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48422 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48423 between environment variables and auxiliary vector.
48425 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48427 * Makefile: Add rules to build linkobj/libc.so.
48428 * include/libc-symbols.h: Define libc_hidden_nolink.
48429 * include/rpc/auth.h: Mark functions which are to be hidden.
48430 * include/rpc/auth_des.h: Likewise.
48431 * include/rpc/auth_unix.h: Likewise.
48432 * include/rpc/clnt.h: Likewise.
48433 * include/rpc/des_crypt.h: Likewise.
48434 * include/rpc/key_prot.h: Likewise.
48435 * include/rpc/pmap_clnt.h: Likewise.
48436 * include/rpc/pmap_prot.h: Likewise.
48437 * include/rpc/pmap_rmt.h: Likewise.
48438 * include/rpc/rpc_msg.h: Likewise.
48439 * include/rpc/svc.h: Likewise.
48440 * include/rpc/svc_auth.h: Likewise.
48441 * include/rpc/xdr.h: Likewise.
48442 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48443 * nss/Makefile: Likewise.
48444 * sunrpc/Makefile: Don't install headers. Build library with normal
48445 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48446 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48447 for the compat linking library. Remove use of INTDEF/INTUSE.
48448 * sunrpc/auth_none.c: Likewise.
48449 * sunrpc/auth_unix.c: Likewise.
48450 * sunrpc/authdes_prot.c: Likewise.
48451 * sunrpc/authuxprot.c: Likewise.
48452 * sunrpc/clnt_gen.c: Likewise.
48453 * sunrpc/clnt_perr.c: Likewise.
48454 * sunrpc/clnt_raw.c: Likewise.
48455 * sunrpc/clnt_simp.c: Likewise.
48456 * sunrpc/clnt_tcp.c: Likewise.
48457 * sunrpc/clnt_udp.c: Likewise.
48458 * sunrpc/clnt_unix.c: Likewise.
48459 * sunrpc/des_crypt.c: Likewise.
48460 * sunrpc/des_soft.c: Likewise.
48461 * sunrpc/get_myaddr.c: Likewise.
48462 * sunrpc/key_call.c: Likewise.
48463 * sunrpc/key_prot.c: Likewise.
48464 * sunrpc/netname.c: Likewise.
48465 * sunrpc/pm_getmaps.c: Likewise.
48466 * sunrpc/pm_getport.c: Likewise.
48467 * sunrpc/pmap_clnt.c: Likewise.
48468 * sunrpc/pmap_prot.c: Likewise.
48469 * sunrpc/pmap_prot2.c: Likewise.
48470 * sunrpc/pmap_rmt.c: Likewise.
48471 * sunrpc/publickey.c: Likewise.
48472 * sunrpc/rpc_cmsg.c: Likewise.
48473 * sunrpc/rpc_common.c: Likewise.
48474 * sunrpc/rpc_dtable.c: Likewise.
48475 * sunrpc/rpc_prot.c: Likewise.
48476 * sunrpc/rpc_thread.c: Likewise.
48477 * sunrpc/rtime.c: Likewise.
48478 * sunrpc/svc.c: Likewise.
48479 * sunrpc/svc_auth.c: Likewise.
48480 * sunrpc/svc_authux.c: Likewise.
48481 * sunrpc/svc_raw.c: Likewise.
48482 * sunrpc/svc_run.c: Likewise.
48483 * sunrpc/svc_simple.c: Likewise.
48484 * sunrpc/svc_tcp.c: Likewise.
48485 * sunrpc/svc_udp.c: Likewise.
48486 * sunrpc/svc_unix.c: Likewise.
48487 * sunrpc/svcauth_des.c: Likewise.
48488 * sunrpc/xcrypt.c: Likewise.
48489 * sunrpc/xdr.c: Likewise.
48490 * sunrpc/xdr_array.c: Likewise.
48491 * sunrpc/xdr_float.c: Likewise.
48492 * sunrpc/xdr_intXX_t.c: Likewise.
48493 * sunrpc/xdr_mem.c: Likewise.
48494 * sunrpc/xdr_rec.c: Likewise.
48495 * sunrpc/xdr_ref.c: Likewise.
48496 * sunrpc/xdr_sizeof.c: Likewise.
48497 * sunrpc/xdr_stdio.c: Likewise.
48499 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48502 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48503 * sysdeps/ia64/dl-tls.h: Likewise.
48504 * sysdeps/powerpc/dl-tls.h: Likewise.
48505 * sysdeps/s390/dl-tls.h: Likewise.
48506 * sysdeps/sh/dl-tls.h: Likewise.
48507 * sysdeps/sparc/dl-tls.h: Likewise.
48508 * sysdeps/x86_64/dl-tls.h: Likewise.
48509 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48511 2011-03-14 Andreas Schwab <schwab@redhat.com>
48513 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48514 rpath element also skip the following colon.
48515 (expand_dynamic_string_token): Add is_path parameter and pass
48516 down to DL_DST_REQUIRED and _dl_dst_substitute.
48517 (decompose_rpath): Call expand_dynamic_string_token with
48518 non-zero is_path. Ignore empty rpaths.
48519 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48522 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48527 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48530 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48531 Patch by Filipe David Manana <fdmanana@apache.org>.
48533 2011-04-07 Andreas Schwab <schwab@redhat.com>
48535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48536 Maintain aligned stack.
48537 (CHECK_RSP): Remove unused macro.
48539 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48541 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48544 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48546 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48548 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48550 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48553 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48554 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48555 * sysdeps/x86_64/memmove.c: New file.
48556 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48557 (memcpy): Renamed to ...
48558 (__new_memcpy): This.
48559 (memcpy): Provide GLIBC_2_14 memcpy.
48560 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48561 (memcpy): Provide GLIBC_2_2_5 memcpy.
48563 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48566 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48568 2011-03-30 Andreas Schwab <schwab@redhat.com>
48570 * misc/syncfs.c: New file.
48571 * misc/Makefile (routines): Add syncfs.
48572 * posix/unistd.h: Declare syncfs.
48573 * sysdeps/unix/syscalls.list: Add syncfs.
48575 2011-04-01 Andreas Schwab <schwab@redhat.com>
48577 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48584 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48587 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48591 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48597 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48598 sync_file_range.c with -fexceptions.
48599 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48600 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48601 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48602 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48603 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48604 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48606 sync_file_range as cancellation point
48607 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48608 now a wrapper around __call_sync_file_range with cancellation handling.
48609 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48610 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48611 function name to __call_sync_file_range.
48612 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48613 Add call_sync_file_range.
48615 2011-04-01 Andreas Schwab <schwab@redhat.com>
48617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48620 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48622 * iconv/iconv.h: Fix typo in comment.
48623 * io/fcntl.h: Likewise.
48624 * libio/stdio.h: Likewise.
48625 * posix/spawn.h: Likewise.
48626 * posix/unistd.h: Likewise.
48627 * stdlib/stdlib.h: Likewise.
48628 * time/time.h: Likewise.
48629 * wcsmbs/wchar.h: Likewise.
48631 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48632 open_by_handle): Add.
48633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48634 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48635 Augment a few comments.
48636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48641 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48644 * io/fcntl.h (AT_EMPTY_PATH): Define.
48646 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48648 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48649 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48650 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48652 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48653 * Versions.def: Add GLIBC_2.14.
48654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48657 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48659 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48661 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48663 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48666 * string/test-strncmp.c (do_page_test): New function.
48667 (check2): Likewise.
48668 (test_main): Call check2.
48669 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48671 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48674 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48675 Handle cache information in CPU leaf 4.
48676 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48678 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48681 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48682 character representation.
48683 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48685 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48688 END(__isnan) to END(__isnanf) to match function entry point/label
48689 EALIGN(__isnanf,...).
48691 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48693 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48695 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48698 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48699 copy from the symbol referenced in the relocation to initialize the
48701 Patch by Piotr Bury <pbury@goahead.com>.
48702 * elf/Makefile: Add rules to build and tst-unique3.
48703 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48704 * elf/tst-unique3.cc: New file.
48705 * elf/tst-unique3.h: New file.
48706 * elf/tst-unique3lib.cc: New file.
48707 * elf/tst-unique3lib2.cc: New file.
48709 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48711 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48713 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48714 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48717 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48719 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48720 to-be-loaded object along a path to loader is ld.so.
48722 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48723 Ulrich Drepper <drepper@gmail.com>
48725 * sysdeps/x86_64/memset.S: After aligning destination, code
48726 branches to different locations depending on the value of
48727 misalignment, when multiarch is enabled. Fix this.
48729 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48731 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48732 Set _x86_64_preferred_memory_instruction for AMD processsors.
48733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48734 Set bit_Prefer_SSE_for_memop for AMD processors.
48736 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48738 * libio/fmemopen.c (fmemopen): Optimize a bit.
48740 2011-03-03 Andreas Schwab <schwab@redhat.com>
48742 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48744 2011-03-03 Roland McGrath <roland@redhat.com>
48746 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48748 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48750 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48751 __bzero_ultra1 instead of __memset_ultra1.
48753 2011-02-23 Andreas Schwab <schwab@redhat.com>
48754 Ulrich Drepper <drepper@gmail.com>
48757 * include/link.h (struct link_map): Add l_orig_initfini.
48758 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48759 returning unsuccessfully.
48760 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48761 close of a file loaded at startup, restore the original l_initfini
48763 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48764 list, store the pointer.
48765 * elf/Makefile ($(objpfx)noload-mem): New rule.
48766 (noload-ENV): Define.
48767 (tests): Add $(objpfx)noload-mem.
48768 * elf/noload.c: Include <memcheck.h>.
48769 (main): Call mtrace. Close all opened handles.
48771 2011-02-17 Andreas Schwab <schwab@redhat.com>
48774 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48775 dependencies are missing.
48777 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48779 Fix __if_freereq crash: Unlike the generic version which uses free,
48781 * sysdeps/mach/hurd/ifreq.h: New file.
48783 2011-01-27 Petr Baudis <pasky@suse.cz>
48784 Ulrich Drepper <drepper@gmail.com>
48787 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48788 to extend_alloca().
48789 * stdio-common/bug23.c: New file.
48790 * stdio-common/Makefile (tests): Add bug23.
48792 2010-09-28 Andreas Schwab <schwab@redhat.com>
48793 Ulrich Drepper <drepper@gmail.com>
48796 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48797 before performing relro protection. At old place add assertion
48798 to make sure nothing changed.
48800 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48801 Glauber de Oliveira Costa <glommer@gmail.com>
48803 * elf/elf.h: Add new ARM TLS relocs.
48805 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48808 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48810 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48812 * sysdeps/wordsize-64/tst-writev.c: New file.
48814 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48816 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48817 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48818 insns in _dl_start to prevent a TOC reference before relocs are
48821 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48824 * Makeconfig: Remove RANLIB definition.
48825 * Makerules: Don't use RANLIB.
48826 * aclocal.m4: Remove ranlib test.
48827 * configure.in: No need to check for ranlib.
48828 * elf/rtld-Rules: Don't use RANLIB.
48830 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48832 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48834 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48835 inclusion protection macro.
48837 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48838 SIGRTMIN and SIGRTMAX and print information in that case only when
48839 SIGRTMIN is defined.
48841 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48843 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48844 arginfo fn returning -1.
48846 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48847 and thousands string is zero terminated.
48849 2011-02-03 Andreas Schwab <schwab@redhat.com>
48851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48852 sysdeps/unix/sysv/linux/bits/socket.h.
48854 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48856 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48857 (__CPU_COUNT): Remove old macros.
48858 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48859 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48860 (__CPU_ALLOC, __CPU_FREE): Add macros.
48861 (__sched_cpualloc, __sched_cpufree): Add declarations.
48863 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48865 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48866 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48867 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48868 (readdhstai): Return value of addhstaiX call.
48869 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48870 (addgrbyX): Return value returned by cache_addgr.
48871 (readdgrbyname): Return value returned by addgrbyX.
48872 (readdgrbygid): Likewise.
48873 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48874 (addpwbyX): Return value returned by cache_addpw.
48875 (readdpwbyname): Return value returned by addhstbyX.
48876 (readdpwbyuid): Likewise.
48877 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48878 (addservbyX): Return value returned by cache_addserv.
48879 (readdservbyname): Return value returned by addservbyX:
48880 (readdservbyport): Likewise.
48881 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48882 (addhstbyX): Return value returned by cache_addhst.
48883 (readdhstbyname): Return value returned by addhstbyX.
48884 (readdhstbyaddr): Likewise.
48885 (readdhstbynamev6): Likewise.
48886 (readdhstbyaddrv6): Likewise.
48887 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48888 (readdinitgroups): Return value returned by addinitgroupsX.
48889 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48890 (prune_cache): Keep track of timeout value of re-added entries.
48891 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48892 * nscd/nscd.h: Adjust prototypes of readd* functions.
48894 2011-02-04 Roland McGrath <roland@redhat.com>
48896 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48897 (nis_stats): Likewise.
48898 * nis/nis_modify.c (nis_modify): Likewise.
48899 * nis/nis_remove.c (nis_remove): Likewise.
48900 * nis/nis_add.c (nis_add): Likewise.
48902 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48904 * posix/fnmatch_loop.c: Add some consts.
48906 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48908 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48911 * config.make.in (config-cflags-novzeroupper): Define.
48912 * configure.in: Substitute libc_cv_cc_novzeroupper.
48913 * elf/Makefile (AVX-CFLAGS): Define.
48914 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48915 (CFLAGS-tst-auditmod4a.c): Likewise.
48916 (CFLAGS-tst-auditmod4b.c): Likewise.
48917 (CFLAGS-tst-auditmod6b.c): Likewise.
48918 (CFLAGS-tst-auditmod6c.c): Likewise.
48919 (CFLAGS-tst-auditmod7b.c): Likewise.
48920 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48922 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48924 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48925 function to the callback.
48926 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48928 2011-02-02 Andreas Schwab <schwab@redhat.com>
48930 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48933 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48936 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48938 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48940 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48943 * elf/Makefile: Add rules to build and run new test.
48944 * elf/tst-initorder.c: New file.
48945 * elf/tst-initorder.exp: New file.
48946 * elf/tst-initordera1.c: New file.
48947 * elf/tst-initordera2.c: New file.
48948 * elf/tst-initordera3.c: New file.
48949 * elf/tst-initordera4.c: New file.
48950 * elf/tst-initorderb1.c: New file.
48951 * elf/tst-initorderb2.c: New file.
48952 * elf/tst-order-a1.c: New file.
48953 * elf/tst-order-a2.c: New file.
48954 * elf/tst-order-a3.c: New file.
48955 * elf/tst-order-a4.c: New file.
48956 * elf/tst-order-b1.c: New file.
48957 * elf/tst-order-b2.c: New file.
48958 * elf/tst-order-main.c: New file.
48959 New test case by George Gensure <werkt0@gmail.com>.
48961 2010-10-01 Andreas Schwab <schwab@redhat.com>
48963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48964 decoding ACE if AI_CANONIDN.
48966 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48968 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48970 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48972 * version.h (RELEASE): Bump for 2.13 release.
48973 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48975 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48977 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48979 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48981 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48983 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48986 * posix/getconf.c: Update copyright year.
48987 * catgets/gencat.c: Likewise.
48988 * csu/version.c: Likewise.
48989 * debug/catchsegv.sh: Likewise.
48990 * debug/xtrace.sh: Likewise.
48991 * elf/ldconfig.c: Likewise.
48992 * elf/ldd.bash.in: Likewise.
48993 * elf/sprof.c (print_version): Likewise.
48994 * iconv/iconv_prog.c: Likewise.
48995 * iconv/iconvconfig.c: Likewise.
48996 * locale/programs/locale.c: Likewise.
48997 * locale/programs/localedef.c: Likewise.
48998 * malloc/memusage.sh: Likewise.
48999 * malloc/mtrace.pl: Likewise.
49000 * nscd/nscd.c (print_version): Likewise.
49001 * nss/getent.c: Likewise.
49003 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49004 PF_CAIF, and PF_ALG.
49005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49007 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49009 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49010 (modules-names): Use them.
49011 (ifunc-test-modules, ifunc-pie-tests): Define.
49012 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49013 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49014 (test-extras): Likewise.
49015 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49016 $(compile-command.c).
49017 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49018 (all-built-dso): Define.
49019 (check-textrel.out, check-execstack.out): Depend on it.
49021 * configure.in: Don't override --enable-multi-arch.
49023 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49026 * nscd/hstcache.c (tryagain): Define.
49027 (cache_addhst): Return tryagain not notfound for temporary errors.
49028 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49031 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49035 to make the syscall.
49036 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49039 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49040 and fall back to matching as normal character if the string ends before
49041 the matching ']' is found. This is what POSIX requires.
49042 * posix/testfnm.c: Adjust test result.
49043 * posix/globtest.sh: Adjust test result. Add new test.
49044 * posix/tst-fnmatch.input: Likewise.
49045 * posix/tst-fnmatch2.c: Add new test.
49047 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49049 * elf/Makefile (check-execstack): Revert last change. Depend on
49051 (check-execstack.h): New target.
49052 (generated): Add check-execstack.h.
49053 * elf/check-execstack.c: Include "check-execstack.h".
49054 (main): Revert last change.
49055 (handle_file): Return zero if GNU_STACK is absent and
49056 DEFAULT_STACK_PERMS doesn't include PF_X.
49058 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49060 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49061 in child fails because the descriptor is already closed.
49062 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49063 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49064 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49067 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49071 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49072 temporary buffer used to handle multi lookups locally.
49073 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49075 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49077 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49080 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49082 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49083 alignment for SSE2.
49085 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49088 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49089 characters. When rounding increased number of integer digits recompute
49091 * stdio-common/tst-grouping.c: New file.
49092 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49094 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49096 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49097 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49099 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49101 * bits/select.h: Likewise.
49103 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49105 * po/ja.po: Update from translation team.
49107 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49110 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49111 implementation just like for lxstat, fxstatat, et al.
49113 2010-12-27 Jim Meyering <meyering@redhat.com>
49116 * posix/regexec.c (build_trtable): Return failure indication upon
49117 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49119 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49122 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49123 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49128 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49131 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49132 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49134 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49136 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49137 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49138 script has SORT_BY_INIT_PRIORITY.
49139 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49140 NO_CTORS_DTORS_SECTIONS is defined.
49141 * elf/soinit.c: Likewise.
49142 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49143 NO_CTORS_DTORS_SECTIONS is defined.
49144 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49145 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49146 * sysdeps/sh/init-first.c: Likewise.
49147 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49149 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49151 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49152 always use the slow path.
49154 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49156 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49157 similar rule which adds the sysdep directories to the header search in
49158 order to pick up the correct platform stackinfo.h.
49159 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49160 perform test if it is, otherwise return successfully without testing.
49161 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49162 DEFAULT_STACK_PERMS define in stackinfo.h.
49163 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49164 defined in stackinfo.h.
49165 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49166 DEFAULT_STACK_PERMS defined in stackinfo.h.
49167 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49168 * sysdeps/ia64/stackinfo.h: Likewise.
49169 * sysdeps/s390/stackinfo.h: Likewise.
49170 * sysdeps/sh/stackinfo.h: Likewise.
49171 * sysdeps/sparc/stackinfo.h: Likewise.
49172 * sysdeps/x86_64/stackinfo.h: Likewise.
49173 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49174 PF_X for powerpc64. Retain PF_X for powerpc32.
49176 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49178 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49180 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49181 GETDENTS_64BIT_ALIGNED.
49183 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49185 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49187 2010-12-10 Andreas Schwab <schwab@redhat.com>
49189 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49192 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49193 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49195 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49196 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49198 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49201 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49204 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49206 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49208 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49210 * po/it.po: Update from translation team.
49212 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49217 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49219 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49221 2010-11-24 Andreas Schwab <schwab@redhat.com>
49223 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49225 (gaih_getanswer_slice): Likewise.
49227 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49231 2010-05-31 Petr Baudis <pasky@suse.cz>
49234 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49235 silently even in the chroot mode.
49237 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49240 last patch a bit. Pretty printing
49242 2010-05-31 Petr Baudis <pasky@suse.cz>
49245 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49246 initialization of skip_initgroups_dyn.
49248 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49251 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49253 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49255 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49257 2010-11-11 Andreas Schwab <schwab@redhat.com>
49259 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49260 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49261 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49262 ($(objpfx)tst-fnmatch-mem): New rule.
49263 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49264 * posix/tst-fnmatch.c (main): Call mtrace.
49266 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49269 Support Intel processor model 6 and model 0x2c.
49271 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49276 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49279 * string/test-strncasecmp.c (check_result): New function.
49280 (do_one_test): Use it.
49281 (check1): New function.
49282 (test_main): Use it.
49283 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49284 Support strcasecmp and strncasecmp.
49286 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49289 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49292 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49294 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49298 * sysdeps/x86_64/multiarch/bzero.S: New file.
49299 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49300 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49301 * sysdeps/x86_64/multiarch/memset.S: New file.
49302 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49304 Set bit_Prefer_SSE_for_memop for Intel processors.
49305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49307 (index_Prefer_SSE_for_memop): Define.
49308 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49310 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49313 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49315 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49318 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49319 (__x86_64_raw_data_cache_size_half): Likewise.
49320 (__x86_64_raw_shared_cache_size): Likewise.
49321 (__x86_64_raw_shared_cache_size_half): Likewise.
49323 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49324 (__x86_64_raw_data_cache_size_half): Likewise.
49325 (__x86_64_raw_shared_cache_size): Likewise.
49326 (__x86_64_raw_shared_cache_size_half): Likewise.
49327 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49328 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49329 and __x86_64_raw_shared_cache_size_half. Round
49330 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49331 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49332 to multiple of 256 bytes.
49334 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49338 of inacessible symlinks. Verify result of symlink before returning it.
49339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49340 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49342 2010-10-28 Erich Ritz <erichritz@gmail.com>
49344 * math/math.h (isinf): Fix typo in comment.
49346 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49348 * po/da.po: Update from translation team.
49350 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49352 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49353 is added to the list.
49355 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49356 Ulrich Drepper <drepper@gmail.com>
49358 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49359 the global list here. Move code to...
49360 (_dl_add_to_namespace_list): ...here. New function.
49361 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49362 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49363 * elf/dl-load.c (lose): Don't remove the element from the list.
49364 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49365 (_dl_map_object): Likewise.
49367 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49370 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49371 into all bytes of SSE register.
49372 Patch by Richard Li <richardpku@gmail.com>.
49374 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49377 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49380 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49382 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49383 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49384 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49390 2010-10-22 Andreas Schwab <schwab@redhat.com>
49392 * include/dlfcn.h (__RTLD_SECURE): Define.
49393 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49394 mode & __RTLD_SECURE instead.
49395 (open_path): Rename preloaded parameter to secure.
49396 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49397 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49398 * elf/dl-deps.c (openaux): Likewise.
49399 * elf/rtld.c (struct map_args): Remove is_preloaded.
49400 (map_doit): Don't use it.
49401 (dl_main): Likewise.
49402 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49403 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49405 2010-09-09 Andreas Schwab <schwab@redhat.com>
49407 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49408 (sysd-rules-targets): Remove duplicates.
49409 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49410 rtld-%.$o dependency.
49412 2010-10-18 Andreas Schwab <schwab@redhat.com>
49414 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49415 _dl_map_object do it.
49417 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49419 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49420 fast fma builtins, define the macros in the C99 standard.
49421 (FP_FAST_FMAF): Likewise.
49422 (FP_FAST_FMAL): Likewise.
49423 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49425 * bits/mathdef.h: Update copyright year.
49426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49428 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49430 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49431 builtins, define the macros in the C99 standard.
49432 (FP_FAST_FMAF): Likewise.
49433 (FP_FAST_FMAL): Likewise.
49434 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49436 (FP_FAST_FMAF): Likewise.
49438 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49441 * math/libm-test.inc (fma_test): Some new testcases.
49442 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49444 y and infinite z. Do multiplication by C already in long double.
49445 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49447 y and infinite z. Do bitwise or of inexact bit into u.d.
49448 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49449 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49450 * sysdeps/i386/fpu/s_fma.S: Removed.
49451 * sysdeps/i386/fpu/s_fmal.S: Removed.
49453 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49456 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49458 computation is not scheduled after fetestexcept. Fix value
49459 of minimum denormal long double.
49461 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49464 * math/libm-test.inc (fma_test): Add some more tests.
49465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49468 2010-10-15 Andreas Schwab <schwab@redhat.com>
49470 * scripts/data/localplt-s390-linux-gnu.data: New file.
49471 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49473 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49476 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49477 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49479 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49481 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49483 if one of x and y is very large and the other is subnormal.
49484 * sysdeps/s390/fpu/s_fmaf.c: New file.
49485 * sysdeps/s390/fpu/s_fma.c: New file.
49486 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49487 * sysdeps/powerpc/fpu/s_fma.S: New file.
49488 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49489 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49490 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49492 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49495 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49497 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49498 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49499 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49500 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49501 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49502 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49503 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49505 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49508 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49509 * posix/bug-regex31.input: Add test case.
49511 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49513 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49514 * posix/bug-regex31.input: New file.
49517 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49518 (parse_sub_exp): Fix last change, use postorder.
49520 * posix/bug-regex31.c: New file.
49521 * posix/Makefile: Add rules to build and run bug-regex31.
49523 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49526 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49529 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49530 to have entries in sys_siglist.
49533 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49536 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49539 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49540 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49541 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49542 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49544 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49545 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49546 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49547 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49548 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49549 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49550 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49551 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49552 * math/ftestexcept.c (fetestexcept): Likewise.
49553 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49554 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49555 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49556 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49557 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49558 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49559 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49561 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49564 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49567 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49569 * string/bug-strstr1.c: New file.
49570 * string/Makefile: Add rules to build and run bug-strstr1.
49572 2010-10-05 Eric Blake <eblake@redhat.com>
49575 * string/str-two-way.h (two_way_long_needle): Always clear memory
49576 when skipping input due to the shift table.
49578 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49581 * malloc/mcheck.c: Handle large requests.
49584 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49585 for strncmp and strncasecmp.
49586 * string/stratcliff.c: Add tests for strcmp and strncmp.
49587 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49589 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49591 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49594 2010-09-30 Andreas Jaeger <aj@suse.de>
49596 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49597 (CGROUP_SUPER_MAGIC): Define.
49598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49599 Handle btrfs and cgroup file systems.
49600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49603 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49605 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49606 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49608 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49611 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49612 trying to locate the ELF header.
49614 2010-09-27 Andreas Schwab <schwab@redhat.com>
49617 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49618 Mask out sign-bit copies when constructing f_fsid.
49620 2010-09-24 Petr Baudis <pasky@suse.cz>
49622 * debug/stack_chk_fail_local.c: Add missing licence exception.
49623 * debug/warning-nop.c: Likewise.
49625 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49627 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49628 implementing getdents64 using getdents syscall, set d_type if
49629 __ASSUME_GETDENTS32_D_TYPE.
49631 2010-09-16 Andreas Schwab <schwab@redhat.com>
49633 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49634 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49636 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49639 * posix/unistd.h: Undo change of feature selection for ftruncate from
49642 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49644 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49647 2010-09-20 Andreas Schwab <schwab@redhat.com>
49649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49651 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49653 2010-09-14 Andreas Schwab <schwab@redhat.com>
49655 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49656 variables after CHECK_SP call.
49657 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49659 2010-09-13 Andreas Schwab <schwab@redhat.com>
49660 Ulrich Drepper <drepper@redhat.com>
49662 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49663 re-relocationg ld.so.
49664 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49665 _dl_init_paths call.
49666 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49669 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49671 * resolv/res_init.c (__res_vinit): Count the default server we added.
49673 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49674 Ulrich Drepper <drepper@redhat.com>
49677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49678 (____longjmp_chk): Use %ebx for saving value across system call.
49681 2010-09-06 Andreas Schwab <schwab@redhat.com>
49683 * manual/Makefile: Don't mix pattern rules with normal rules.
49685 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49687 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49689 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49690 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49691 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49692 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49696 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49699 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49700 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49702 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49704 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49705 * sysdeps/x86_64/addmul_1.S: Likewise.
49706 * sysdeps/x86_64/lshift.S: Likewise.
49707 * sysdeps/x86_64/mul_1.S: Likewise.
49708 * sysdeps/x86_64/rshift.S: Likewise.
49709 * sysdeps/x86_64/sub_n.S: Likewise.
49710 * sysdeps/x86_64/submul_1.S: Likewise.
49712 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49714 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49715 Define __sched_param instead of SCHED_* and sched_param when
49716 <bits/sched.h> is included with __need_schedparam defined.
49717 * bits/sched.h [__need_schedparam]
49718 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49719 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49720 (__defined_schedparam): Define to 1.
49721 (__sched_param): New structure, identical to sched_param.
49722 (__need_schedparam): Undefine.
49724 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49727 (epoll_create1): Declare.
49729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49731 2010-08-31 Andreas Schwab <schwab@redhat.com>
49734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49735 shifting retval into place.
49737 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49739 * nis/rpcsvc/nis.h: Update copyright notice.
49740 * nis/rpcsvc/nis.x: Likewise.
49741 * nis/rpcsvc/nis_callback.h: Likewise.
49742 * nis/rpcsvc/nis_callback.x: Likewise.
49743 * nis/rpcsvc/nis_object.x: Likewise.
49744 * nis/rpcsvc/nis_tags.h: Likewise.
49745 * nis/rpcsvc/yp.h: Likewise.
49746 * nis/rpcsvc/yp.x: Likewise.
49747 * nis/rpcsvc/ypupd.h: Likewise.
49748 * nis/yp_xdr.c: Likewise.
49749 * nis/ypupdate_xdr.c: Likewise.
49751 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49752 mainly the body of pmap_getport. Add parameters to specify timeouts.
49753 (pmap_getport): Use __libc_rpc_getport.
49754 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49755 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49756 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49758 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49763 2010-08-27 Roland McGrath <roland@redhat.com>
49765 * sysdeps/i386/i686/multiarch/Makefile
49766 (CFLAGS-varshift.c): New variable.
49768 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49770 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49771 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49775 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49777 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49779 * sysdeps/x86_64/strlen.S: Unroll the loop.
49780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49781 strlen-sse2 strlen-sse2-bsf.
49782 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49783 __strlen_no_bsf if bit_Slow_BSF is set.
49784 (__strlen_sse42): Removed.
49785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49786 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49788 2010-08-25 Roland McGrath <roland@redhat.com>
49790 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49791 * sysdeps/x86_64/multiarch/varshift.c: New file.
49792 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49793 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49794 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49797 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49800 strlen-sse2 strlen-sse2-bsf.
49801 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49802 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49803 (__strlen_sse2): Removed.
49804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49807 bit_Slow_BSF for Atom.
49808 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49809 (index_Slow_BSF): Define.
49810 (HAS_SLOW_BSF): Define.
49812 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49815 * resolv/res_init.c (__res_vinit): When no server address at all
49816 is given default to loopback.
49818 2010-08-24 Roland McGrath <roland@redhat.com>
49820 * configure.in: Remove config-name.h generation.
49821 * configure: Regenerated.
49822 * config-name.in: File removed.
49823 * scripts/config-uname.sh: New file.
49824 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49825 ($(objdir)config-name.h): New target.
49827 * sunrpc/rpc_parse.h: Avoid nested comment.
49829 2010-08-24 Richard Henderson <rth@redhat.com>
49830 Ulrich Drepper <drepper@redhat.com>
49831 H.J. Lu <hongjiu.lu@intel.com>
49833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49835 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49836 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49837 _mm_alignr_epi8 with _mm_loadu_si128.
49838 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49839 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49840 (__m128i_shift_right): Removed.
49841 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49842 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49843 * sysdeps/x86_64/multiarch/varshift.h: New file.
49844 * sysdeps/x86_64/multiarch/varshift.S: New file.
49846 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49848 * configure.in: Move assembler checks to before sysdep dir checking.
49850 2010-08-20 Petr Baudis <pasky@suse.cz>
49852 * LICENSES: Sync the sunrpc license.
49854 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49856 * sunrpc/auth_des.c: Update copyright notice once again.
49857 * sunrpc/auth_none.c: Likewise.
49858 * sunrpc/auth_unix.c: Likewise.
49859 * sunrpc/authdes_prot.c: Likewise.
49860 * sunrpc/authuxprot.c: Likewise.
49861 * sunrpc/bindrsvprt.c: Likewise.
49862 * sunrpc/clnt_gen.c: Likewise.
49863 * sunrpc/clnt_perr.c: Likewise.
49864 * sunrpc/clnt_raw.c: Likewise.
49865 * sunrpc/clnt_simp.c: Likewise.
49866 * sunrpc/clnt_tcp.c: Likewise.
49867 * sunrpc/clnt_udp.c: Likewise.
49868 * sunrpc/clnt_unix.c: Likewise.
49869 * sunrpc/des_crypt.c: Likewise.
49870 * sunrpc/des_soft.c: Likewise.
49871 * sunrpc/get_myaddr.c: Likewise.
49872 * sunrpc/getrpcport.c: Likewise.
49873 * sunrpc/key_call.c: Likewise.
49874 * sunrpc/key_prot.c: Likewise.
49875 * sunrpc/openchild.c: Likewise.
49876 * sunrpc/pm_getmaps.c: Likewise.
49877 * sunrpc/pm_getport.c: Likewise.
49878 * sunrpc/pmap_clnt.c: Likewise.
49879 * sunrpc/pmap_prot.c: Likewise.
49880 * sunrpc/pmap_prot2.c: Likewise.
49881 * sunrpc/pmap_rmt.c: Likewise.
49882 * sunrpc/rpc/auth.h: Likewise.
49883 * sunrpc/rpc/auth_unix.h: Likewise.
49884 * sunrpc/rpc/clnt.h: Likewise.
49885 * sunrpc/rpc/des_crypt.h: Likewise.
49886 * sunrpc/rpc/key_prot.h: Likewise.
49887 * sunrpc/rpc/netdb.h: Likewise.
49888 * sunrpc/rpc/pmap_clnt.h: Likewise.
49889 * sunrpc/rpc/pmap_prot.h: Likewise.
49890 * sunrpc/rpc/pmap_rmt.h: Likewise.
49891 * sunrpc/rpc/rpc.h: Likewise.
49892 * sunrpc/rpc/rpc_des.h: Likewise.
49893 * sunrpc/rpc/rpc_msg.h: Likewise.
49894 * sunrpc/rpc/svc.h: Likewise.
49895 * sunrpc/rpc/svc_auth.h: Likewise.
49896 * sunrpc/rpc/types.h: Likewise.
49897 * sunrpc/rpc/xdr.h: Likewise.
49898 * sunrpc/rpc_clntout.c: Likewise.
49899 * sunrpc/rpc_cmsg.c: Likewise.
49900 * sunrpc/rpc_common.c: Likewise.
49901 * sunrpc/rpc_cout.c: Likewise.
49902 * sunrpc/rpc_dtable.c: Likewise.
49903 * sunrpc/rpc_hout.c: Likewise.
49904 * sunrpc/rpc_main.c: Likewise.
49905 * sunrpc/rpc_parse.c: Likewise.
49906 * sunrpc/rpc_parse.h: Likewise.
49907 * sunrpc/rpc_prot.c: Likewise.
49908 * sunrpc/rpc_sample.c: Likewise.
49909 * sunrpc/rpc_scan.c: Likewise.
49910 * sunrpc/rpc_scan.h: Likewise.
49911 * sunrpc/rpc_svcout.c: Likewise.
49912 * sunrpc/rpc_tblout.c: Likewise.
49913 * sunrpc/rpc_util.c: Likewise.
49914 * sunrpc/rpc_util.h: Likewise.
49915 * sunrpc/rpcinfo.c: Likewise.
49916 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49917 * sunrpc/rpcsvc/key_prot.x: Likewise.
49918 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49919 * sunrpc/rpcsvc/mount.x: Likewise.
49920 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49921 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49922 * sunrpc/rpcsvc/rex.x: Likewise.
49923 * sunrpc/rpcsvc/rstat.x: Likewise.
49924 * sunrpc/rpcsvc/rusers.x: Likewise.
49925 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49926 * sunrpc/rpcsvc/spray.x: Likewise.
49927 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49928 * sunrpc/rtime.c: Likewise.
49929 * sunrpc/svc.c: Likewise.
49930 * sunrpc/svc_auth.c: Likewise.
49931 * sunrpc/svc_authux.c: Likewise.
49932 * sunrpc/svc_raw.c: Likewise.
49933 * sunrpc/svc_run.c: Likewise.
49934 * sunrpc/svc_simple.c: Likewise.
49935 * sunrpc/svc_tcp.c: Likewise.
49936 * sunrpc/svc_udp.c: Likewise.
49937 * sunrpc/svc_unix.c: Likewise.
49938 * sunrpc/svcauth_des.c: Likewise.
49939 * sunrpc/xcrypt.c: Likewise.
49940 * sunrpc/xdr.c: Likewise.
49941 * sunrpc/xdr_array.c: Likewise.
49942 * sunrpc/xdr_float.c: Likewise.
49943 * sunrpc/xdr_mem.c: Likewise.
49944 * sunrpc/xdr_rec.c: Likewise.
49945 * sunrpc/xdr_ref.c: Likewise.
49946 * sunrpc/xdr_sizeof.c: Likewise.
49947 * sunrpc/xdr_stdio.c: Likewise.
49949 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49952 2010-08-19 Andreas Schwab <schwab@redhat.com>
49954 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49956 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49958 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49960 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49961 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49962 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49963 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49964 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49965 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49967 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49968 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49970 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49971 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49973 2010-07-26 Anton Blanchard <anton@samba.org>
49975 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49976 * malloc/arena.c (heap_trim): Likewise.
49978 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49980 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49983 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49985 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49987 * sysdeps/i386/elf/Makefile: New file.
49989 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49991 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49992 from fanotify_init.
49993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49996 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49998 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50000 * sysdeps/multiarch/strcmp.S: Likewise.
50002 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50004 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50005 strncase_l-nonascii.
50006 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50007 Add strncase_l-ssse3.
50008 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50009 * sysdeps/x86_64/strcmp.S: Likewise.
50010 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50011 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50012 * sysdeps/x86_64/strncase.S: New file.
50013 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50014 * sysdeps/x86_64/strncase_l.S: New file.
50015 * string/Makefile (strop-tests): Add strncasecmp.
50016 * string/test-strncasecmp.c: New file.
50018 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50021 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50022 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50024 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50026 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50028 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50030 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50034 2010-05-01 Alan Modra <amodra@gmail.com>
50036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50037 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50038 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50039 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50040 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50041 tidying. Don't tail-call __sigjmp_save for static lib.
50042 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50044 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50045 (CALL_MCOUNT): Add eh info, and nop after bl.
50046 (TAIL_CALL_SYSCALL_ERROR): New macro.
50047 (PSEUDO_RET): Use it.
50048 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50049 Correct save location of integer regs and cr.
50050 (_dl_profile_resolve): Correct cr save location. Delete nops
50051 after bl when SHARED. Reduce cfi size a little by better
50052 placement of cfi directives.
50053 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50054 make a stack frame. Instead use parm save area as a temp.
50055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50056 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50058 Don't make a stack frame for parent, use parm save area.
50059 Increase child stack frame to 112 bytes. Don't save unused reg,
50060 and adjust reg usage. Set up cfi on error recovery and
50061 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50063 (__makecontext): Add dummy nop after jump to exit.
50064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50065 Use correct parm save area and cr save, reduce stack frame.
50066 Correct cfi for possible PSEUDO_RET frame setup.
50067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50068 Branch to local label emitted by PSEUDO_RET rather than
50071 2010-08-12 Andreas Schwab <schwab@redhat.com>
50074 * locale/programs/locale.c (print_assignment): New function.
50075 (show_locale_vars): Use it.
50077 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50079 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50081 (struct statfs64): Likewise.
50082 (_STATFS_F_FLAGS): Define.
50083 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50085 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50086 (ST_VALID): Define locally.
50087 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50088 __statvfs_getflags, use the provided value.
50089 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50090 __ASSUME_STATFS_F_FLAGS.
50092 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50095 Add sys/fanotify.h.
50096 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50097 fanotify_mask for GLIBC_2.13.
50098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50099 fanotify_init and fanotify_mark.
50100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50101 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50103 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50105 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50106 prlimit64 for GLIBC_2.13.
50107 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50113 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50117 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50120 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50121 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50123 * nss/Makefile: Add rules to build and run tst-nss-test1.
50124 * shlib-versions: Add entry for libnss_test1.
50125 * nss/nss_test1.c: New file.
50126 * nss/tst-nss-test1.c: New file.
50128 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50129 (__nss_configure_lookup): Set appropriate entry in
50130 __nss_configure_lookup to true.
50131 * nss/nsswitch.h: Define enum with indeces of databases in
50132 databases and __nss_database_custom arrays. Declare
50133 __nss_database_custom.
50134 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50135 to avoid using nscd when custom rules are installed.
50136 * nss/getXXbyYY_r.c: Likewise.
50137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50139 * nss/nss_files/files-parse.c: Whitespace fixes.
50141 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50144 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50145 * posix/fnmatch_loop.c: Likewise.
50147 2010-07-17 Andi Kleen <ak@linux.intel.com>
50149 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50150 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50151 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50152 * Versions.def [GLIBC_2.13]: Add.
50154 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50157 Also fail if tpwd after pwuid call is NULL.
50159 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50161 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50162 when converting to ms.
50164 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50166 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50167 EOPNOTSUPP errors with ENOTTY.
50168 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50169 EOPNOTSUPP errors with ENOTTY.
50171 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50173 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50174 Add strcasecmp_l-ssse3.
50175 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50177 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50178 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50179 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50181 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50183 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50185 * string/Makefile (strop-tests): Add strcasecmp.
50186 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50187 strcasecmp_l-nonascii.
50188 (gen-as-const-headers): Add locale-defines.sym.
50189 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50190 * sysdeps/x86_64/strcasecmp.S: New file.
50191 * sysdeps/x86_64/strcasecmp_l.S: New file.
50192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50193 * sysdeps/x86_64/locale-defines.sym: New file.
50194 * string/test-strcasecmp.c: New file.
50196 * string/test-strcasestr.c: Test both ends of the range of characters.
50197 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50199 2010-07-29 Roland McGrath <roland@redhat.com>
50202 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50204 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50206 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50209 2010-07-27 Andreas Schwab <schwab@redhat.com>
50211 * manual/memory.texi (Malloc Tunable Parameters): Document
50214 2010-07-26 Roland McGrath <roland@redhat.com>
50217 * configure.in (-fgnu89-inline check): Set and substitute
50218 gnu89_inline, not libc_cv_gnu89_inline.
50219 * configure: Regenerated.
50220 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50222 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50224 * string/test-strnlen.c: New file.
50225 * string/Makefile (strop-tests): Add strnlen.
50226 * string/tester.c (test_strnlen): Add a few more test cases.
50227 * string/tst-strlen.c: Better error reporting.
50229 * sysdeps/x86_64/strnlen.S: New file.
50231 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50234 lower-latency instructions.
50236 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50238 * string/test-strcasestr.c: New file.
50239 * string/test-strstr.c: New file.
50240 * string/Makefile (strop-tests): Add strstr and strcasestr.
50241 * string/str-two-way.h: Don't undefine MAX.
50242 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50244 2010-07-21 Andreas Schwab <schwab@redhat.com>
50246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50247 strcasestr-nonascii.
50248 (CFLAGS-strcasestr-nonascii.c): Define.
50249 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50251 Remove unused attribute.
50253 2010-07-20 Roland McGrath <roland@redhat.com>
50255 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50256 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50257 ld.so.cache was broken. With it, there is no way to disable dsocaps
50258 like LD_HWCAP_MASK can disable hwcaps.
50260 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50262 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50264 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50266 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50267 call in strcasestr.
50268 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50269 __strcasestr_sse42_nonascii.
50270 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50271 strcasestr-nonascii.c.
50272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50274 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50281 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50286 2010-07-06 Andreas Schwab <schwab@redhat.com>
50289 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50292 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50294 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50295 _PC_PIPE_BUF using F_GETPIPE_SZ.
50297 2010-07-05 Roland McGrath <roland@redhat.com>
50299 * manual/arith.texi (Rounding Functions): Fix rint description
50300 implicit in round description.
50302 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50304 * elf/Makefile: Fix linking for a few tests to make recent linker
50307 2010-06-30 Andreas Schwab <schwab@redhat.com>
50309 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50310 $(common-objpfx)libc_nonshared.a.
50312 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50314 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50315 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50316 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50317 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50318 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50319 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50320 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50321 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50336 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50337 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50338 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50339 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50340 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50341 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50342 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50343 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50344 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50345 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50346 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50347 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50363 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50365 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50366 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50367 * string/memmove.c (memmove): Renamed to ...
50368 (MEMMOVE): ...this. Default to memmove.
50369 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50370 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50373 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50374 mempcpy-ssse3-back memmove-ssse3-back.
50375 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50378 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50379 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50380 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50381 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50382 * sysdeps/x86_64/multiarch/memmove.c: New file.
50383 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50384 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50385 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50386 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50390 (index_Fast_Copy_Backward): Define.
50391 (HAS_ARCH_FEATURE): Define.
50392 (HAS_FAST_REP_STRING): Define.
50393 (HAS_FAST_COPY_BACKWARD): Define.
50395 2010-06-21 Andreas Schwab <schwab@redhat.com>
50397 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50398 Restore proper fallback handling.
50400 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50403 * posix/group_member.c (__group_member): Correct checking loop.
50405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50406 OOM in getpwuid_r correctly. Return error number when the caller
50407 should return, otherwise -1.
50408 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50409 call returning > 0 value.
50410 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50412 2010-06-07 Andreas Schwab <schwab@redhat.com>
50414 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50415 libc_nonshared.a from targets in modules-names.
50417 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50419 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50422 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50429 2010-06-02 Andreas Schwab <schwab@redhat.com>
50431 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50433 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50435 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50441 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50442 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50444 2010-06-14 Roland McGrath <roland@redhat.com>
50446 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50448 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50450 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50451 __REDIRECT followed by __THROW.
50452 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50453 * posix/getopt.h (getopt): Likewise.
50455 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50457 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50458 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50459 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50461 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50462 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50464 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50466 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50468 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50472 Properly check family and model.
50474 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50476 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50478 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50480 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50482 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50484 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50487 2010-05-19 Andreas Schwab <schwab@redhat.com>
50489 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50492 2010-05-21 Andreas Schwab <schwab@redhat.com>
50494 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50495 and internal_recvmmsg.
50496 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50497 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50498 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50499 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50501 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50502 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50503 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50505 2010-05-20 Andreas Schwab <schwab@redhat.com>
50507 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50509 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50511 POWER7 optimizations.
50512 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50513 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50515 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50517 * version.h: Update for 2.13 development version.
50519 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50521 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50522 exceptions. Return 0.
50524 2010-05-07 Roland McGrath <roland@redhat.com>
50526 * elf/ldconfig.c (main): Add a const.
50528 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50530 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50531 (args_options): Add no-idn option.
50532 (ahosts_keys_int): Add idn_flags to ai_flags.
50533 (parse_option): Handle 'i' option to clear idn_flags.
50535 * malloc/malloc.c (_int_free): Possible race in the most recently
50536 added check. Only act on the data if no current modification
50539 See ChangeLog.17 for earlier changes.