1 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2 Matthew LeGendre <legendre1@llnl.gov>
5 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10 * stdio-common/printf_fp.c
11 (hack_digit): New function, broken out of ...
12 (__printf_fp): ... local function here. Update call sites.
13 hack_digit now takes an additional parameter that is a pointer
14 to a struct of the referenced locals. Those locals moved inside
15 the struct and references updated.
17 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
19 * aclocal.m4: Require autoconf 2.69.
20 * configure: Regenerated.
21 * sysdeps/aarch64/configure: Likewise.
22 * sysdeps/alpha/configure: Likewise.
23 * sysdeps/arm/armv7/configure: Likewise.
24 * sysdeps/arm/configure: Likewise.
25 * sysdeps/ia64/configure: Likewise.
26 * sysdeps/mach/configure: Likewise.
27 * sysdeps/mips/configure: Likewise.
28 * sysdeps/s390/configure: Likewise.
29 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34 * sysdeps/ia64/configure.ac: Likewise.
36 2014-09-26 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39 specify symbol version for ld.so. Do not include entry for
41 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46 * Makeconfig [$(build-shared) = yes]
47 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
49 [$(build-shared) = yes && $(soversions.mk-done) = t]
50 ($(common-objpfx)gnu/lib-names.h): Remove rule.
51 [$(build-shared) = yes && $(soversions.mk-done) = t]
52 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
54 [$(build-shared) = yes && $(soversions.mk-done) = t]
55 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
57 [$(build-shared) = yes && $(soversions.mk-done) = t]
58 (common-generated): Don't append gnu/lib-names.h and
59 gnu/lib-names.stmp here.
60 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
61 (lib-names-h-abi): New variable.
62 [$(build-shared) = yes && $(soversions.mk-done) = t]
63 (lib-names-stmp-abi): Likewise.
64 [$(build-shared) = yes && $(soversions.mk-done) = t &&
65 abi-variants] (before-compile): Append
66 $(common-objpfx)$(lib-names-h-abi).
67 [$(build-shared) = yes && $(soversions.mk-done) = t &&
68 abi-variants] (common-generated): Append gnu/lib-names.h.
69 [$(build-shared) = yes && $(soversions.mk-done) = t &&
70 abi-variants] (install-others-nosubdir): Depend on
71 $(inst_includedir)/$(lib-names-h-abi).
72 [$(build-shared) = yes && $(soversions.mk-done) = t &&
73 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
74 [$(build-shared) = yes && $(soversions.mk-done) = t]
75 ($(common-objpfx)$(lib-names-h-abi)): New rule.
76 [$(build-shared) = yes && $(soversions.mk-done) = t]
77 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
78 [$(build-shared) = yes && $(soversions.mk-done) = t]
79 (common-generated): Append $(lib-names-h-abi) and
80 $(lib-names-stmp-abi).
81 * scripts/lib-names.awk: Do not handle multi being set.
82 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
84 (abi-lp64_be-ld-soname): Likewise.
85 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
87 (abi-hard-ld-soname): Likewise.
88 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
89 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
91 (abi-o32_hard-ld-soname): Likewise.
92 (abi-o32_soft_2008-ld-soname): Likewise.
93 (abi-o32_hard_2008-ld-soname): Likewise.
94 (abi-n32_soft-ld-soname): Likewise.
95 (abi-n32_hard-ld-soname): Likewise.
96 (abi-n32_soft_2008-ld-soname): Likewise.
97 (abi-n32_hard_2008-ld-soname): Likewise.
98 (abi-n64_soft-ld-soname): Likewise.
99 (abi-n64_hard-ld-soname): Likewise.
100 (abi-n64_soft_2008-ld-soname): Likewise.
101 (abi-n64_hard_2008-ld-soname): Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
104 (abi-64-v2-ld-soname): Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
107 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
109 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
111 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
113 (abi-64-ld-soname): Likewise.
114 (abi-x32-ld-soname): Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
117 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
119 2014-09-23 Joseph Myers <joseph@codesourcery.com>
122 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
123 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
124 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
126 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
127 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
128 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
129 syscall entry for GLIBC_2.2 symbol version.
130 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
133 (setrlimit): Likewise.
134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
137 2014-09-23 Will Newton <will.newton@linaro.org>
139 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
140 _LINUX_ARM_SYSDEP_H include guard too.
141 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
144 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
146 * sysdeps/unix/sysv/linux/eventfd.c:
147 Make first argument unsigned.
148 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
149 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
151 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
153 * socket/recvmmsg.c (recvmmsg): Drop const argument.
154 * socket/sys/socket.h: Likewise
155 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
157 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
159 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
161 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
163 * time/tst-ftime.c: New test.
164 * time/Makefile (tests): Add tst-ftime.
166 2014-09-17 Joseph Myers <joseph@codesourcery.com>
168 * soft-fp/extended.h: Fix comment formatting.
169 * soft-fp/op-1.h: Likewise.
170 * soft-fp/op-2.h: Likewise.
171 * soft-fp/op-4.h: Likewise.
172 * soft-fp/op-8.h: Likewise.
173 * soft-fp/op-common.h: Likewise.
174 * soft-fp/soft-fp.h: Likewise.
176 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
178 2014-09-16 Joseph Myers <joseph@codesourcery.com>
181 * Makeconfig (soversions-default-setname): Remove variable.
182 ($(common-objpfx)soversions.i): Don't pass default_setname to
184 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
185 oldest_abi to abi-versions.awk.
186 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
187 * config.make.in (oldest-abi): Remove variable.
188 * configure.ac (--enable-oldest-abi): Remove configure option.
189 * configure: Regenerated.
190 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
192 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
193 * scripts/soversions.awk: Do not handle default_setname variable.
194 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
196 * sysdeps/mach/hurd/configure: Regenerated.
197 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
199 * sysdeps/unix/sysv/linux/configure: Regenerated.
201 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
203 * elf/Makefile (CFLAGS-interp.c): Remove.
204 ($(elf-objpfx)runtime-linker.h): Generate header with linker
206 * elf/interp.c: Include generated runtime-linker.h
208 * Makerules (lib%.so): Don't include $(+interp) in
210 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
211 * dlfcn/eval.c: Remove file.
213 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
217 * misc/sys/cdefs.h: Define __extern_always_inline for clang
221 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
223 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
224 Jakub Jelinek <jakub@redhat.com>
227 * libio/stdio.h: Check definition of __fortify_function
228 instead of __extern_always_inline to include bits/stdio2.h.
229 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
230 check if __extern_always_inline is defined.
231 [__USE_MISC || __USE_XOPEN]: Likewise.
232 [__USE_ISOC99] Likewise.
233 * misc/sys/cdefs.h (__fortify_function): Define only if
234 __extern_always_inline is defined.
235 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
236 __extern_always_inline and __extern_inline only for g++-4.3
237 and newer or a compatible gcc.
239 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
242 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
243 last change to handle zero prefix length.
245 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
247 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
250 * posix/getconf.c (vars): Add _POSIX_IPV6 and
253 2014-09-13 Allan McRae <allan@archlinux.org>
255 * po/ru.po: Update Russian translation from translation project.
257 2014-09-12 Roland McGrath <roland@hack.frob.com>
259 * locale/programs/locale.c (show_locale_vars): Inline local function
260 into its sole call site. Clean up some style nits.
261 (print_item): New function, broken out of ...
262 (show_info): ... local function here. Clean up style nits.
264 * locale/programs/ld-ctype.c (set_one_default): New function, broken
266 (set_class_defaults): ... local function set_default here.
267 Define set_default as a macro locally to pass constant parameters.
268 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
269 rather than a shared local.
271 * stdlib/rpmatch.c (try): New function, broken out of ...
272 (rpmatch): ... local function here. Also, prototypify definition.
274 2014-09-12 Joseph Myers <joseph@codesourcery.com>
276 * scripts/soversions.awk: Do not handle configuration names.
277 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
278 vendor and os variables to soversions.awk.
279 * configure.ac: Do not modify gnu-* host_os.
280 * configure: Regenerated
281 * shlib-versions: Remove first column with configuration names.
282 * nptl/shlib-versions: Likewise.
283 * nptl_db/shlib-versions: Likewise.
284 * sysdeps/hppa/shlib-versions: Likewise.
285 * sysdeps/m68k/shlib-versions: Likewise.
286 * sysdeps/mach/hurd/shlib-versions: Likewise.
287 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
288 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
289 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
290 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
291 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
292 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
293 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
294 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
297 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
298 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
299 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
300 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
301 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
302 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
304 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
307 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
310 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
312 Condition symbol version definitions on [HAVE_ELFV2_ABI].
314 * shlib-versions: Remove OS-specific entries. Moved to files in
316 * sysdeps/mach/hurd/shlib-versions: New file.
317 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
319 * nptl/shlib-versions: Remove architecture-specific entries.
320 Moved to files in sysdeps.
321 * shlib-versions: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
324 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
325 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
326 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
329 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
330 (UDP_NO_CHECK6_RX): Likewise.
332 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
334 * sysdeps/posix/sysconf.c (__sysconf): Spell
335 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
337 2014-08-12 Florian Weimer <fweimer@redhat.com>
339 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
341 * iconv/Versions (__gconv_transliterate): Export for use from
343 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
344 (struct __gconv_trans_data, __gconv_trans_fct,
345 __gconv_trans_context_fct, __gconv_trans_query_fct,
346 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
348 (struct __gconv_step_data): Remove __trans member.
349 (__gconv_transliterate): Declaration moved from gconv_int.h. No
350 longer hidden. Remove unused trans_data argument.
351 * iconv/gconv_int.h (struct trans_struct): Remove definition.
352 (__gconv_translit_find): Remove declaration.
353 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
355 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
356 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
357 trans_data argument. Add hidden definition.
358 (__gconv_translit_find): Remove.
359 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
360 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
361 * iconv/skeleton.c: Remove transliteration initialization.
362 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
363 __gconv_step_data initialization.
364 * libio/iofwide.c (__libio_translit_): Remove.
365 (_IO_fwide): Adjust struct __gconv_step_data initialization.
366 * wcsmbs/btowc.c (__btowc): Likewise.
367 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
368 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
369 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
370 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
371 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
372 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
373 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
374 * wcsmbs/wctob.c (wctob): Likewise.
376 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
379 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
380 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
382 * sysdeps/x86/Makefile: Adjust.
384 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
385 Roland McGrath <roland@hack.frob.com>
387 * locale/weight.h: Add include guard.
388 (findidx): Make static rather than auto; take new parameters
389 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
390 * locale/weightwc.h: Likewise.
391 * posix/fnmatch_loop.c
392 (FCT): Change type of EXTRA from int32_t to wint_t.
393 Don't include either header inside the function.
394 Call FINDIDX rather than findidx, and pass new arguments.
395 #undef FINDIDX at the end of the file.
396 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
397 FINDIDX before including fnmatch_loop.c for the non-wide version.
398 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
399 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
400 for the wide version.
401 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
402 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
403 Pass new arguments to findidx.
404 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
405 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
406 Don't #include it inside the function. Pass new arguments to findidx.
407 * posix/regex_internal.h
408 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
409 (re_string_elem_size_at): Don't #include it inside the function.
410 Pass new arguments to findidx.
411 * string/strcoll_l.c: #include WEIGHT_H at top level.
412 (get_next_seq): Don't #include it inside the function.
413 Pass new arguments to findidx.
414 (get_next_seq_nocache): Likewise.
415 * string/strxfrm_l.c: #include WEIGHT_H at top level.
416 (STRXFRM): Don't #include it inside the function.
417 Pass new arguments to findidx.
419 2014-09-11 Florian Weimer <fweimer@redhat.com>
422 * malloc/malloc.c (unlink): Turn asserts into a call to
425 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
428 * libio/wfileops (do_ftell_wide): Free OUT.
430 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
434 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
438 group if the current group is empty.
440 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442 * benchtests/bench-memset.c (test_main): Add more test from size
443 from 32 to 512 bytes.
444 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
445 Add POWER8 memset object.
446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
447 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
448 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
450 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
452 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
453 multiarch POWER8 memset optimization.
454 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
455 POWER8 memset optimization.
457 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
458 Remove bzero multiarch objects.
459 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
460 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
462 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
464 [__bzero]: Redefine to specific name.
465 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
466 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
469 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
470 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
472 2014-09-10 Florian Weimer <fweimer@redhat.com>
474 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
475 warnings into errors.
477 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
478 __cxa_thread_atexit_impl prototype.
480 2014-09-09 Steve Ellcey <sellcey@mips.com>
482 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
483 Fix capitalization of error message.
485 2014-09-09 Steve Ellcey <sellcey@mips.com>
487 * sysdeps/mips/preconfigure: Modify ABI tests.
489 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
491 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
493 2014-09-07 Roland McGrath <roland@hack.frob.com>
494 Carlos O'Donell <carlos@systemhalted.org>
496 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
498 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
499 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
500 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
501 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
502 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
503 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
504 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
505 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
506 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
507 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
508 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
509 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
510 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
511 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
512 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
515 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
517 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
518 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
519 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
520 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
521 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
522 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
523 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
524 Deconditionalize the code that was previously under [RESET_PID].
525 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
526 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
527 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
528 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
531 2014-09-08 Allan McRae <allan@archlinux.org>
533 * version.h (RELEASE): Set to "development".
534 (VERSION): Set to "2.20.90"
536 2014-09-07 Allan McRae <allan@archlinux.org
538 * version.h (RELEASE): Set to "stable".
539 (VERSION): Set to "2.20"
540 * include/features.h (__GLIBC_MINOR__): Set to 20.
542 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
545 * po/ko.po: Update Korean translation from translation project.
547 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
550 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
551 macro for handling signed relocations.
553 2014-09-03 Florian Weimer <fweimer@redhat.com>
556 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
557 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
559 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
560 * iconvdata/ibm935.c (BODY): Likewise.
561 * iconvdata/ibm937.c (BODY): Likewise.
562 * iconvdata/ibm939.c (BODY): Likewise.
563 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
565 * iconvdata/Makefile (iconv-test.out): Pass module list to test
567 * iconvdata/run-iconv-test.sh: New test loop for checking for
570 2014-09-02 Khem Raj <raj.khem@gmail.com>
572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
575 2014-09-01 Allan McRae <allan@archlinux.org>
577 * po/eo.po: Update Esperanto translation from translation project.
579 * po/ca.po: Update Catalan translation from translation project.
581 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
583 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
586 2014-08-27 Mark Wielaard <mjw@redhat.com>
589 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
590 to call set_thread_area instead of hand written asm.
591 (__NR_set_thread_area): Removed define.
592 (TLS_FLAG_WRITABLE): Likewise.
593 (__ASSUME_SET_THREAD_AREA): Remove check.
594 (TLS_EBX_ARG): Remove define.
595 (TLS_LOAD_EBX): Likewise.
597 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
599 Simplify atomicity of socket creation in bind.
601 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
602 looking up the name after linking the file.
604 2014-08-27 Allan McRae <allan@archlinux.org>
606 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
608 2014-08-26 Florian Weimer <fweimer@redhat.com>
611 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
612 trans_compare, open_translit, __gconv_translit_find):
613 Remove module loading code.
615 2014-08-26 Allan McRae <allan@archlinux.org>
617 * po/vi.po: Update Vietnamese translation from translation project.
619 * po/uk.po: Update Ukrainian translation from translation project.
621 * po/fr.po: Update French translation from translation project.
623 * po/ru.po: Update Russian translation from translation project.
625 * po/pl.po: Update Polish translation from translation project.
627 * po/cs.po: Update Czech translation from translation project.
629 * po/de.po: Update German translation from translation project.
631 * po/bg.po: Update Bulgarian translation from translation project.
633 * po/sv.po: Update Sweedish translation from translation project.
635 * po/nl.po: Update Dutch translation from translation project.
637 * po/es.po: Update Spanish translation from translation project.
639 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
641 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
643 * catgets/Makefile (CPPFLAGS-gencat): Remove.
644 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
645 (CPPFLAGS-iconvconfig): Likewise.
646 * timezone/Makefile (CPPFLAGS-zic): Likewise.
648 * include/libc-symbols.h: Remove unnecessary check for
650 * nptl/pthreadP.h: Likewise.
651 * sysdeps/aarch64/setjmp.S: Likewise.
652 * sysdeps/alpha/setjmp.S: Likewise.
653 * sysdeps/arm/sysdep.h: Likewise.
654 * sysdeps/i386/setjmp.S: Likewise.
655 * sysdeps/m68k/setjmp.c: Likewise.
656 * sysdeps/posix/getcwd.c: Likewise.
657 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
658 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
659 * sysdeps/s390/s390-32/setjmp.S: Likewise.
660 * sysdeps/s390/s390-64/setjmp.S: Likewise.
661 * sysdeps/sh/sh3/setjmp.S: Likewise.
662 * sysdeps/sh/sh4/setjmp.S: Likewise.
663 * sysdeps/unix/alpha/sysdep.h: Likewise.
664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
666 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
667 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
672 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
675 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
677 * sysdeps/x86_64/setjmp.S: Likewise.
679 2014-08-13 Joseph Myers <joseph@codesourcery.com>
682 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
684 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
685 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
687 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
689 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
692 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
693 and __x86_64__ when disabling x87 inline functions.
695 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
698 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
699 asm statement with __cpuid_count.
701 2014-08-12 Mike Frysinger <vapier@gentoo.org>
703 * configure.ac: Change __ehdr_start code to dereference the struct.
704 Run readelf on the output to look for relocations.
705 * configure: Regenerated.
707 2014-08-12 Joseph Myers <joseph@codesourcery.com>
710 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
712 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
714 2014-08-12 Roland McGrath <roland@hack.frob.com>
716 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
718 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
721 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
722 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
724 2014-08-12 Sean Anderson <seanga2@gmail.com>
726 * malloc/malloc.c: Fix typo in comment.
728 2014-08-09 Allan McRae <allan@archlinux.org>
730 * Regenerate libc.po.
732 2014-08-08 Mike Frysinger <vapier@gentoo.org>
734 * intl/tst-gettext2.sh: Check every lang file for creation.
736 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
738 * sysdeps/aarch64/fpu/math_private.h
739 (libc_feholdsetround_noex_aarch64_ctx): New function.
741 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
743 * sysdeps/arm/armv6/strcpy.S (strcpy):
744 Fix performance issue in misaligned cases.
746 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
749 Move definition from termios.h.
750 (struct termio): Likewise.
751 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
752 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
753 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
754 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
757 Move definition to ioctl-types.h
758 (struct termio): Likewise.
759 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
760 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
761 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
762 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
765 2014-08-05 Richard Henderson <rth@redhat.com>
767 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
769 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
771 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
773 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
774 Protect libm symbols with IS_IN_libm.
776 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
778 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
780 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
782 2014-08-04 Will Newton <will.newton@linaro.org>
784 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
787 2014-08-04 Mike Frysinger <vapier@gentoo.org>
789 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
790 variants for each function.
792 2014-08-04 Roland McGrath <roland@hack.frob.com>
794 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
796 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
797 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
799 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
800 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
801 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
802 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
803 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
804 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
805 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
806 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
807 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
808 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
810 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
812 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
814 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
816 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
818 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
820 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
822 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
823 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
824 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
826 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
828 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
830 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
832 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
834 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
835 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
836 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
838 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
839 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
840 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
841 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
842 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
843 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
844 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
845 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
846 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
847 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
849 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
850 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
851 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
853 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
854 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
856 2014-08-04 Roland McGrath <roland@hack.frob.com>
858 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
859 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
861 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
862 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
863 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
865 2014-08-04 Roland McGrath <roland@hack.frob.com>
867 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
868 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
869 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
870 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
872 2014-08-04 Roland McGrath <roland@hack.frob.com>
874 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
875 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
876 (__libc_vfork): Define function under this name.
877 (__vfork): Define as an alias.
878 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
879 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
881 2014-08-04 Roland McGrath <roland@hack.frob.com>
883 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
884 that was previously under [RESET_PID].
885 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
887 2014-08-04 Andreas Schwab <schwab@suse.de>
889 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
891 2014-08-03 Mike Frysinger <vapier@gentoo.org>
893 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
896 2014-08-01 Roland McGrath <roland@hack.frob.com>
898 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
900 2014-08-01 Richard Henderon <rth@redhat.com>
902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
903 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
904 typo in exact zero test.
905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
906 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
909 2014-08-01 Roland McGrath <roland@hack.frob.com>
911 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
912 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
913 * sysdeps/arm/sysdep.h: ... here.
914 [!__ASSEMBLER__]: Include <stdint.h>.
916 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
918 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
919 (HAVE_WCTYPE_H): Likewise.
920 (HAVE_ISWCTYPE): Likewise.
921 (ENABLE_NLS): Likewise.
922 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
923 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
925 * posix/regex_internal.c: Check if DEBUG is defined and is
928 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
929 (HAVE_MBSRTOWCS): Likewise.
930 * posix/fnmatch.c: Include string.h unconditionally.
932 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
934 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
937 2014-07-31 Roland McGrath <roland@hack.frob.com>
939 * sysdeps/generic/safe-fatal.h: New file.
940 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
941 * nptl/forward.c: Include it.
942 (__pthread_unwind): Use __safe_fatal as default action, rather
943 than a bogus use of INTERNAL_SYSCALL that could never work.
945 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
946 * configure.ac (libc_cv_builtin_trap): New test.
947 * configure: Regenerated.
948 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
949 (ABORT_INSTRUCTION): Define using __builtin_trap.
951 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
952 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
953 * sysdeps/nptl/nptl-signals.h: New file.
954 * nptl/pthreadP.h: Include <nptl-signals.h>.
956 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
958 * sysdeps/s390/s390-64/utf16-utf32-z9.c
959 (ONE_DIRECTION): Define.
960 * sysdeps/s390/s390-64/utf8-utf16-z9.c
961 (ONE_DIRECTION): Define.
962 * sysdeps/s390/s390-64/utf8-utf32-z9.c
963 (ONE_DIRECTION): Define.
965 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
967 * sysdeps/s390/Makefile: Delete file.
968 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
969 * sysdeps/s390/__longjmp.c: Delete file.
970 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
971 Remove fields __flags and __reserved.
972 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
974 * sysdeps/s390/rtld-__longjmp.c: Delete file.
975 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
976 * sysdeps/s390/rtld-setjmp.S: Likewise.
977 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
978 * sysdeps/s390/s390-32/__longjmp.c: ... here.
979 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
980 * sysdeps/s390/s390-32/setjmp.S: ... here.
982 (__sigsetjmp): Remove setting __flags field.
983 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
984 * sysdeps/s390/s390-64/__longjmp.c: ... here.
985 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
986 * sysdeps/s390/s390-64/setjmp.S: ... here.
988 (__sigsetjmp): Remove setting __flags field.
989 * sysdeps/s390/setjmp.S: Delete file.
990 * sysdeps/s390/sigjmp.c: Likewise.
991 * sysdeps/s390/v1-longjmp.c: Likewise.
992 * sysdeps/s390/v1-setjmp.h: Likewise.
993 * sysdeps/s390/v1-sigjmp.c: Likewise.
994 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
995 Remove v1-longjmp_chk.
996 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
997 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
998 Include debug/longjmp_chk.c and add versioning.
999 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1000 Include nptl/pt-longjmp.c and add versioning.
1001 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1003 Include __longjmp.c.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1007 (__getcontext): Remove setting __flags field.
1009 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1010 Don't restore upper high grps.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1013 (__swapcontext): Remove setting uc_flags field.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1016 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1017 Include __longjmp.c.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1021 (__getcontext): Remove setting __flags field.
1023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1024 (__swapcontext): Remove setting uc_flags field.
1025 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1027 Remove fields uc_high_gprs and __reserved.
1028 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1029 New file with reverted content.
1030 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1033 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1036 2014-07-31 Andreas Schwab <schwab@suse.de>
1038 * config.h.in (HAVE_IFUNC): Define to 0.
1039 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1042 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1045 memmove-avx-unaligned, memcpy-avx-unaligned and
1046 mempcpy-avx-unaligned.
1047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1048 Add tests for AVX memcpy functions.
1049 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1050 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1052 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1053 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1055 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1058 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1059 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1060 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1062 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1068 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1071 * manual/llio.texi: Add section about open file description locks.
1072 * manual/examples/ofdlocks.c: Example of open file description
1074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1075 F_OFD_SETLK, and F_OFD_SETLKW.
1077 2014-07-23 Allan McRae <allan@archlinux.org>
1079 * po/es.po: Update Spanish translation from translation project.
1081 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1083 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1085 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1088 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1089 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1090 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1092 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1095 * math/fesetenv.c (__fesetenv)
1096 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1097 * math/feupdateenv.c (__feupdateenv)
1098 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1101 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1102 (__ASSUME_SOCKETCALL): Do not define.
1104 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1105 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1106 (__ASSUME_SOCKETCALL): Do not define.
1107 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1108 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1109 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1110 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1111 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1112 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1113 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1114 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1116 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1117 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1118 (__ASSUME_SOCKETCALL): Do not define.
1119 (__ASSUME_IPC64): Define unconditionally.
1120 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1121 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1122 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1123 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1124 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1125 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1126 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1129 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1130 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1131 (__ASSUME_SOCKETCALL): Do not define.
1132 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1133 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1134 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1135 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1136 (__ASSUME_REQUEUE_PI): Define unconditionally.
1137 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1138 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1139 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1140 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1141 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1142 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1144 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1145 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1146 (__ASSUME_SOCKETCALL): Do not define.
1147 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1148 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1149 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1150 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1151 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1152 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1155 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1156 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1157 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1158 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1159 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1160 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1161 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1162 (__ASSUME_GETCPU_SYSCALL): Likewise.
1164 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1165 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1166 cases for individual architectures.
1167 * sysdeps/gnu/configure: Regenerated.
1168 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1169 LIBC_SLIBDIR_RTLDDIR.
1170 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1171 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1172 LIBC_SLIBDIR_RTLDDIR.
1173 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1175 LIBC_SLIBDIR_RTLDDIR.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1178 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1179 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1184 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1185 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1187 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1189 * sysdeps/aarch64/shlib-versions: Move to ...
1190 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1191 * sysdeps/alpha/shlib-versions: Move to ...
1192 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1193 * sysdeps/arm/shlib-versions: Move to ...
1194 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1195 * sysdeps/hppa/shlib-versions: Move all contents except for
1196 libgcc_s entry to ...
1197 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1199 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1200 * sysdeps/ia64/shlib-versions: Move to ...
1201 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1203 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1204 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1205 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1206 * sysdeps/microblaze/shlib-versions: Move to ...
1207 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1208 * sysdeps/mips/shlib-versions: Move to ...
1209 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1211 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1212 * sysdeps/tile/shlib-versions: Move to ...
1213 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1214 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1216 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1217 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1219 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1221 2014-07-17 Will Newton <will.newton@linaro.org>
1223 * sysdeps/arm/bits/atomic.h
1224 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1225 (__arch_compare_and_exchange_bool_16_int): Likewise.
1226 (__arch_compare_and_exchange_bool_64_int): Likewise.
1228 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1229 into an #else block.
1231 2014-07-16 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1234 just Linux configurations. Test empirically that the compiler sets
1235 __ARM_EABI__, rather than using the tuple to decide.
1236 * sysdeps/arm/preconfigure: Regenerated.
1237 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1238 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1239 contents appended ...
1240 * sysdeps/arm/configure.ac: ... here.
1241 * sysdeps/arm/configure: Regenerated.
1243 2014-07-15 Roland McGrath <roland@hack.frob.com>
1245 * nptl/pthread_kill.c: New file.
1246 * nptl/pthread_sigmask.c: New file.
1247 * nptl/pthread_sigqueue.c: New file.
1249 * sysdeps/nptl/lowlevellock.h: New file.
1250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1251 * sysdeps/nptl/lowlevellock-futex.h: New file.
1253 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1254 Remove dead declarations.
1256 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1258 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1259 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1261 * sysdeps/x86_64/configure.ac: Likewise.
1262 * sysdeps/i386/configure: Regenerated.
1263 * sysdeps/x86_64/configure: Likewise.
1264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1265 memset-avx2 only if config-cflags-avx2 is yes.
1266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1267 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1269 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1270 only if HAVE_AVX2_SUPPORT is defined.
1271 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1273 2014-07-14 Alan Modra <amodra@gmail.com>
1276 * elf/elf.h (DT_PPC64_NUM): Correct value.
1277 * NEWS: Add to fixed bug list.
1279 2014-07-13 Jim Meyering <meyering@fb.com>
1282 regex: don't deref NULL upon heap allocation failure
1283 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1284 failure in one more place.
1285 To trigger the segfault, configure grep -with-included-regex,
1286 build it, and run these commands:
1287 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1289 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1291 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1293 2014-07-11 Richard Henderson <rth@redhat.com>
1295 * sysdeps/aarch64/libm-test-ulps: Update.
1297 2014-07-10 Florian Weimer <fweimer@redhat.com>
1300 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1301 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1302 (__nptl_setxid): Initialize error member. Call
1303 __nptl_setxid_error.
1304 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1305 * nptl/descr.h (struct xid_command): Add error member.
1306 * nptl/tst-setuid3.c: New file.
1307 * nptl/Makefile (tests): Add it.
1309 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1313 (__lll_trylock): Use __lll_base_trylock.
1314 (__lll_cond_trylock): Likewise.
1316 2014-07-10 Roland McGrath <roland@hack.frob.com>
1318 * nptl/pthread_create.c (start_thread): Use atomic_or and
1319 lll_futex_wake directly rather than lll_robust_dead.
1320 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1321 (lll_robust_dead): Macro removed.
1322 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1323 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1324 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1325 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1327 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1328 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1329 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1330 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1331 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1332 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1333 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1335 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1338 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1339 Use atomic_compare_and_exchange_val_acq directly rather than
1341 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1342 (__lll_robust_trylock, lll_robust_trylock): Removed.
1343 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1344 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1345 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1347 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1349 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1352 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1355 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1356 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1358 2014-07-02 Florian Weimer <fweimer@redhat.com>
1360 * manual/locale.texi (Locale Names): New section documenting
1361 locale name syntax. Adjust menu and node chaining accordingly.
1362 (Choosing Locale): Reference Locale Names, Locale Categories.
1363 Mention setting LC_ALL=C. Reflect that name syntax is now
1365 (Locale Categories): New section title. Reference Locale Names.
1366 LC_ALL is an environment variable, but not a category.
1367 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1368 description, now in Locale Name. Reference that section. Locale
1369 name syntax is now documented.
1371 2014-07-02 Florian Weimer <fweimer@redhat.com>
1374 * locale/findlocale.c (name_present, valid_locale_name): New
1376 (_nl_find_locale): Use the loc_name variable to store name
1377 candidates. Call name_present and valid_locale_name to check and
1378 validate locale names. Return an error if the locale is invalid.
1380 2014-07-02 Florian Weimer <fweimer@redhat.com>
1382 * locale/setlocale.c (setlocale): Use strdup for allocating
1383 composite name copy.
1385 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1387 Sync up with gnulib.
1388 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1389 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1390 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1391 and _GL_ARG_NONNULL.
1392 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1393 [!_LIBC]: Include code for Windows and Cygwin.
1394 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1395 Include prototype for int strerror_r.
1396 [!_LIBC] (is_open): New function.
1397 (flush_stdout): New function.
1398 (print_errno_message): Use it.
1400 (error_at_line): Likewise.
1401 (error_tail) Add function attribute macros. Use
1404 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1406 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1408 * io/ftw.c: Include sys/param.h unconditionally.
1410 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1413 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1415 (freecache): New function to free CACHE on exit.
1417 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1420 2014-07-09 David S. Miller <davem@davemloft.net>
1422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1424 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1425 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1426 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1427 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1428 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1429 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1430 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1431 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1432 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1433 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1434 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1435 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1436 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1438 2014-07-09 Andreas Schwab <schwab@suse.de>
1440 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1442 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1443 (do_test): Likewise.
1445 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1447 2014-07-09 Will Newton <will.newton@linaro.org>
1449 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1450 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1451 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1452 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1453 * sysdeps/hppa/start.S (_start): Likewise.
1455 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1457 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1459 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1462 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1464 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1465 after checking that it is non-NULL.
1467 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1469 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471 * sysdeps/powerpc/memmove.c: Remove file.
1472 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1473 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1474 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1475 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1476 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1477 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1478 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1479 string memmove instead of removed powerpc one.
1481 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1482 [weak_alias]: Fix compiler warning due trailing data.
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1484 [weak_alias]: Likewise.
1485 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1486 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1489 (__libc_ifunc_impl_list): Add memmove functions.
1491 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1493 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1495 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1497 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1499 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1501 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1503 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1505 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1507 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1509 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1511 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1513 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1515 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1517 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1519 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1521 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1523 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1525 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1528 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1531 to avoid alignment traps in non-cacheable memory.
1532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1536 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1537 file: multiarch power7 memmove.
1538 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1539 multiarch default memmove.
1540 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1541 multiarch memove for powerpc32/power4.
1543 * string/bcopy.c: Use full path to include memmove.c.
1544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1546 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1547 bcopy for powerpc64.
1548 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1549 bcopy for powerpc64.
1550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1551 and memmove implementations.
1552 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1553 optimized multiarch memmove for POWER7/powerpc64.
1554 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1555 default multiarch memmove for powerpc64.
1556 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1557 multiarch for powerpc64.
1558 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1559 for POWER7/powerpc64.
1560 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1561 memmove for POWER7/powerpc64.
1563 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1566 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1567 __ELF_NATIVE_CLASS equal to 64.
1569 2014-07-07 Roland McGrath <roland@hack.frob.com>
1571 * sysdeps/nptl/lowlevellock.h: File removed.
1573 * NEWS: NPTL is no longer an add-on!
1574 * nptl/internaltypes.h: Moved ...
1575 * sysdeps/nptl/internaltypes.h: ... here.
1576 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1577 * sysdeps/nptl/fork.c: Likewise.
1578 * sysdeps/nptl/gai_misc.h: Likewise.
1579 * sysdeps/nptl/librt-cancellation.c: Likewise.
1580 * sysdeps/nptl/jmp-unwind.c: Likewise.
1581 * sysdeps/nptl/setxid.h: Likewise.
1582 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1583 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1584 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1585 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1586 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1587 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1588 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1589 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1590 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1591 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1592 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1593 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1594 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1595 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1596 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1597 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1598 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1599 * nptl/Makeconfig: Moved ...
1600 * sysdeps/nptl/Makeconfig: ... here.
1601 * nptl/configure: File removed.
1602 * nptl/ANNOUNCE: File removed.
1603 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1604 * sysdeps/unix/sysv/linux/configure: Regenerated.
1606 * nptl/Makefile (routines): Add libc_pthread_init,
1607 libc_multiple_threads, register-atfork and unregister-atfork.
1608 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1609 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1610 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1611 pthread-pi-defines.sym, structsem.sym.
1612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1613 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1614 [$(subdir) = nptl] (tests): Add tst-setgetname.
1615 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1616 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1617 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1618 [!LIBC_SIGACTION]: Remove aliases.
1619 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1620 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1621 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1622 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1623 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1628 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1629 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1630 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1631 __libc_allocate_rtsig_private.
1632 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1633 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1634 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1635 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1636 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1637 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1638 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1639 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1640 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1641 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1642 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1643 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1644 * nptl/internaltypes.h: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1646 * sysdeps/nptl/jmp-unwind.c: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1648 * nptl/libc-lowlevellock.c: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1650 * nptl/libc_multiple_threads.c: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1652 * nptl/libc_pthread_init.c: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1654 * nptl/lowlevelbarrier.sym: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1656 * nptl/lowlevelcond.sym: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1658 * nptl/lowlevellock.c: ... here.
1659 * nptl/lowlevellock.h: Moved ...
1660 * sysdeps/nptl/lowlevellock.h: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1662 * nptl/lowlevelrobustlock.c: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1664 * nptl/lowlevelrobustlock.sym: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1666 * nptl/lowlevelrwlock.sym: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1668 * nptl/pt-fork.c: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1670 * nptl/pthread-pi-defines.sym: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1672 * nptl/pthread_attr_getaffinity.c: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1674 * nptl/pthread_attr_setaffinity.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1676 * nptl/pthread_mutex_cond_lock.c: ... here.
1677 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1679 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1680 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1681 * nptl/pthread_once.c: ... here, replacing old file.
1682 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1683 * nptl/pthread_yield.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1685 * nptl/register-atfork.c: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1687 * nptl/sem_post.c: ... here.
1688 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1689 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1690 * nptl/sem_timedwait.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1692 * nptl/sem_trywait.c: ... here.
1693 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1694 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1695 * nptl/sem_wait.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1697 * nptl/structsem.sym: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1699 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1700 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1701 * nptl/unregister-atfork.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1703 * nptl/unwindbuf.sym: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1705 * sysdeps/nptl/fork.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1707 * sysdeps/nptl/fork.h: ... here.
1708 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1709 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1710 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1712 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1713 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1714 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1716 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1718 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1719 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1720 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1722 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1724 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1726 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1728 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1730 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1732 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1734 * sysdeps/unix/sysv/linux/raise.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1736 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1738 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1740 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1742 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1744 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1746 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1748 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1749 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1751 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1753 * sysdeps/generic/memcopy.h: Add comment for
1754 MEMCPY_OK_FOR_FWD_MEMMOVE.
1756 2014-07-04 Will Newton <will.newton@linaro.org>
1758 * string/memchr.c: Merge from gnulib.
1759 [_LIBC]: Remove conditionals.
1760 (__ptr_t): Remove define.
1761 (LONG_MAX_32_BITS): Likewise.
1762 (LONG_MAX): Likewise.
1763 (MEMCHR): Use ANSI prototype and optimize algorithm.
1765 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1767 2014-07-03 Roland McGrath <roland@hack.frob.com>
1769 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1770 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1772 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1773 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1774 in a bare environment with no <stdlib.h> installed.
1775 * sysdeps/nptl/configure: Regenerated.
1777 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1779 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1780 AC_EGREP_CPP for kernel header checks, so they only succeed if
1781 including <linux/version.h> actually works right.
1782 * sysdeps/unix/sysv/linux/configure: Regenerated.
1784 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1785 value so it's not diagnosed as unused.
1787 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1788 thing) with "ifeq ($(subdir),rt)".
1790 2014-07-03 Richard Henderson <rth@redhat.com>
1792 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1793 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1794 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1796 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1797 (math_force_eval): New.
1799 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1800 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1802 * sysdeps/alpha/fpu/s_round.c: Remove file.
1803 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1805 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1806 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1807 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1808 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1809 (_dl_start, print_statistics): Likewise.
1810 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1811 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1813 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1814 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1815 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1816 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1818 (HP_SMALL_TIMING_AVAIL): Define.
1819 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1820 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1821 (HP_SMALL_TIMING_AVAIL): Define.
1822 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1823 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1825 * sysdeps/aarch64/hp-timing.h: New file.
1827 * sysdeps/generic/hp-timing.h: Remove dead comment.
1828 * sysdeps/generic/hp-timing-common.h: New file.
1829 * sysdeps/alpha/hp-timing.h: Include it.
1830 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1831 * sysdeps/i386/i686/hp-timing.h: Likewise.
1832 * sysdeps/ia64/hp-timing.h: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1834 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1835 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1836 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1837 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1838 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1841 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1842 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1843 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1844 * elf/rtld.c (_dl_start_final): Likewise.
1845 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1846 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1847 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1848 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1849 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1850 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1851 (HP_TIMING_DIFF_INIT): Remove.
1852 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1853 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1854 (HP_TIMING_DIFF_INIT): Remove.
1855 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1856 * sysdeps/i386/i686/hp-timing.c: Remove file.
1857 * sysdeps/x86_64/hp-timing.c: Remove file.
1858 * sysdeps/ia64/hp-timing.c: Remove file.
1859 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1860 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1862 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1864 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1865 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1866 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1867 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1868 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1869 (HP_TIMING_ACCUM): Remove.
1870 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1871 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1872 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1874 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1875 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1876 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1877 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1879 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1880 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1881 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1883 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1885 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1887 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1889 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1891 Sync up with gettext.
1892 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1893 [_MSC_VER]: Include malloc.h
1894 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1895 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1896 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1897 TEMP_FAILURE_RETRY. Cast return of alloca.
1898 [!_LIBC] Call gl_rwlock_init.
1899 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1901 2014-07-02 Roland McGrath <roland@hack.frob.com>
1903 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1904 before checking its value.
1906 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1908 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1910 * debug/memcpy_chk.c: Don't include pagecopy.h.
1911 * debug/mempcpy_chk.c: Likewise.
1912 * string/memcpy.c: Likewise.
1913 * string/memmove.c: Likewise.
1914 * sysdeps/powerpc/memmove.c: Likewise.
1915 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1916 definition of PAGE_COPY_FWD_MAYBE here...
1917 * sysdeps/generic/pagecopy.h: ... from here.
1918 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1920 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1921 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1927 (__libc_ifunc_impl_list): Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1929 multiarch strcat for PPC64.
1930 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1931 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1933 2014-07-02 Roland McGrath <roland@hack.frob.com>
1935 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1937 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1939 * intl/loadmsgcat.c: Remove declaration of
1940 get_sysdep_segment_value.
1941 (get_sysdep_segment_value): Use ISO C style.
1942 (_nl_load_domain): Use ISO C style. Get rid of redundant
1943 semicolon. Fix typo and formatting in comment.
1944 (_nl_unload_domain): Use ISO C style.
1946 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1948 2014-07-02 Will Newton <will.newton@linaro.org>
1950 * malloc/obstack.c: Merge from gnulib master.
1951 [HAVE_CONFIG_H]: Remove conditional code.
1952 [!_LIBC]: Include config.h.
1953 [!ELIDE_CODE]: Don't include inttypes.h, include
1954 stdint.h unconditionally.
1955 (print_and_abort): Mark as _Noreturn.
1956 (_obstack_allocated_p): Mark as __attribute_pure__.
1957 (obstack_free): Rename to __obstack_free.
1958 [!__attribute__]: Remove conditional code.
1959 * malloc/obstack.h: Merge from gnulib master.
1960 [__cplusplus]: Move conditional down.
1961 [!__attribute_pure__]: Define __attribute_pure__ here
1962 if it is not already defined.
1963 (_obstack_memory_used): Mark as __attribute_pure__.
1964 [!__obstack_free]: Define as obstack_free.
1965 [__GNUC__]: Remove check for ancient NeXT gcc.
1967 2014-07-02 Will Newton <will.newton@linaro.org>
1968 Paul Eggert <eggert@cs.ucla.edu>
1970 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1972 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 * resolv/gethnamaddr.c: Add comment warning that the file is
1977 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1979 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1982 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1983 entry for aio_cancel and aio_cancel64.
1984 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1985 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1986 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1987 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1988 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1989 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1991 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1992 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1993 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1994 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1995 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1996 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1998 2014-07-01 Roland McGrath <roland@hack.frob.com>
2000 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2001 * nptl/pthread_mutex_lock.c: Likewise.
2002 * nptl/pthread_mutex_timedlock.c: Likewise.
2003 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2005 2014-07-01 Richard henderson <rth@redhat.com>
2007 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2008 (__isnan, __isnanl): Remove.
2009 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2011 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2013 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2015 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2017 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2019 * resolv/nss_dns/dns-host.c (getanswer_r)
2020 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2022 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2024 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2025 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2027 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2028 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2030 2014-07-01 Roland McGrath <roland@hack.frob.com>
2032 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2033 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2035 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2036 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2038 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2039 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2041 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2042 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2044 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2045 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2046 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2047 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2049 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2050 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2051 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2055 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2057 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2058 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2060 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2061 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2062 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2066 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2067 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2068 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2070 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2072 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2078 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2079 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2081 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2083 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2084 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2085 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2087 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2089 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2090 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2091 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2094 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2098 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2100 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2101 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2105 * sysdeps/arm/libm-test-ulps: Regenerated.
2107 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2108 Roland McGrath <roland@hack.frob.com>
2110 * test-skeleton.c (signal_handler): Kill the whole process group
2111 before killing the child individually.
2112 (main): Report any failure on `setpgid'.
2114 2014-06-30 Roland McGrath <roland@hack.frob.com>
2116 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2117 from _TLS_H to _ARM_NPTL_TLS_H.
2118 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2119 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2121 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2125 (__expm1l): Return argument unchanged when small but not
2128 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2130 (_FP_UNPACK_RAW_1_P): Likewise.
2131 (_FP_PACK_RAW_1): Likewise.
2132 (_FP_PACK_RAW_1_P): Likewise.
2133 (_FP_MUL_MEAT_1_wide): Likewise.
2134 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2135 (_FP_MUL_MEAT_1_hard): Likewise.
2136 (_FP_DIV_MEAT_1_imm): Likewise.
2137 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2138 (_FP_DIV_MEAT_1_udiv): Likewise.
2139 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2140 (_FP_UNPACK_RAW_2): Likewise.
2141 (_FP_UNPACK_RAW_2_P): Likewise.
2142 (_FP_PACK_RAW_2): Likewise.
2143 (_FP_PACK_RAW_2_P): Likewise.
2144 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2145 (_FP_MUL_MEAT_2_wide): Likewise.
2146 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2147 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2148 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2149 (_FP_MUL_MEAT_2_gmp): Likewise.
2150 (_FP_DIV_MEAT_2_udiv): Likewise.
2151 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2152 (_FP_FRAC_SRL_4): Likewise.
2153 (_FP_FRAC_SRST_4): Likewise.
2154 (_FP_FRAC_SRS_4): Likewise.
2155 (_FP_UNPACK_RAW_4): Likewise.
2156 (_FP_UNPACK_RAW_4_P): Likewise.
2157 (_FP_PACK_RAW_4): Likewise.
2158 (_FP_PACK_RAW_4_P): Likewise.
2159 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2160 (_FP_MUL_MEAT_4_wide): Likewise.
2161 (_FP_MUL_MEAT_4_gmp): Likewise.
2162 (umul_ppppmnnn): Likewise.
2163 (_FP_DIV_MEAT_4_udiv): Likewise.
2164 (__FP_FRAC_ADD_4): Likewise.
2165 (__FP_FRAC_SUB_3): Likewise.
2166 (__FP_FRAC_SUB_4): Likewise.
2167 (__FP_FRAC_DEC_3): Likewise.
2168 (__FP_FRAC_DEC_4): Likewise.
2169 (__FP_FRAC_ADDI_4): Likewise.
2170 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2171 (_FP_FRAC_SRL_8): Likewise.
2172 (_FP_FRAC_SRS_8): Likewise.
2174 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2176 (FP_UNPACK_RAW_EP): Likewise.
2177 (FP_PACK_RAW_E): Likewise.
2178 (FP_PACK_RAW_EP): Likewise.
2179 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2180 (_FP_ISSIGNAN): Likewise.
2181 (_FP_ADD_INTERNAL): Likewise.
2182 (_FP_FMA): Likewise.
2183 (_FP_CMP): Likewise.
2184 (_FP_SQRT): Likewise.
2185 (_FP_TO_INT): Likewise.
2186 (_FP_FROM_INT): Likewise.
2187 (FP_EXTEND): Likewise.
2188 (_FP_DIV_MEAT_N_loop): Likewise.
2190 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2192 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2195 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2198 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2199 result with correct sign in case of exponents that produce
2200 overflow except for X very close to 1.
2202 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2204 mktime: merge #if/#ifdef usage from glibc
2205 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2206 as that works with both Glibc's and Gnulib's style.
2207 See thread starting at Siddhesh Poyarekar's bug report at:
2208 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2210 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2212 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2213 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2214 * sysdeps/tile/tilegx/memmove.c: Remove file.
2216 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2218 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2219 abi-name definition.
2220 * scripts/soversions.awk: Do not handle or generate ABI lines.
2221 * shlib-versions: Remove ABI entries.
2222 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2223 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2225 2014-06-27 Roland McGrath <roland@hack.frob.com>
2227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2228 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2229 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2235 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2237 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2244 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2246 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2251 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2261 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2275 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2283 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2288 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2290 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2291 Identical file removed.
2292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2294 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2296 Identical file removed.
2297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2301 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2303 Identical file removed.
2304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2307 Identical file removed.
2308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2311 Identical file removed.
2312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2315 Identical file removed.
2316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2318 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2320 Identical file removed.
2321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2327 Identical file removed.
2328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2330 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2333 Identical file removed.
2334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2336 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2338 Identical file removed.
2339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2341 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2348 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2350 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2352 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2353 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2354 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2355 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2356 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2358 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2361 * nscd/nscd.c (monitor_child): Return exit status of child
2362 instead of return value from wait syscall.
2364 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2366 * configure.ac (libc_commonpagesize): Remove variable.
2367 (libc_relro_required): Likewise.
2368 (libc_cv_z_relro): Remove configure test.
2369 * configure: Regenerated.
2370 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2372 (libc_relro_required): Likewise.
2373 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2374 (libc_relro_required): Likewise.
2375 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2376 (libc_relro_required): Likewise.
2377 * sysdeps/arm/preconfigure: Regenerated.
2378 * sysdeps/ia64/preconfigure: Remove file.
2379 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2381 (libc_relro_required): Likewise.
2385 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2386 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2387 recompute overflowing results in original rounding mode.
2388 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2389 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2390 recompute overflowing results in original rounding mode.
2391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2392 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2393 recompute overflowing results in original rounding mode.
2394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2395 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2396 recompute overflowing results in original rounding mode.
2397 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2398 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2399 recompute overflowing results in original rounding mode.
2400 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2401 (libc_feholdsetround_ctx): New macro.
2402 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2406 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2408 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2409 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2410 corresponding .cpsetup call.
2412 2014-06-26 Roland McGrath <roland@hack.frob.com>
2414 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2415 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2416 * sysdeps/arm/Makefile [$(subdir) = csu]
2417 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2418 (static-only-routines): Add aeabi_read_tp here.
2419 (shared-only-routines): Add libc-aeabi_read_tp here.
2420 (CFLAGS-libc-start.c): Add -fexceptions here.
2421 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2422 (sysdep_routines, static-only-routines, shared-only-routines):
2423 Don't add to these here.
2424 (CFLAGS-libc-start.c): Likewise.
2426 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2427 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2428 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2429 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2430 * sysdeps/arm/Makefile [$(subdir) = rt]
2431 (librt-sysdep_routines, librt-shared-only-routines):
2432 Append rt-aeabi_unwind_cpp_pr1 here.
2433 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2434 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2435 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2436 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2437 Append nptl-aeabi_unwind_cpp_pr1 here.
2438 (tests): Filter out tst-cleanupx4 here.
2439 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2440 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2441 Don't do those here.
2443 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2445 * scripts/list-sources.sh: Do not handle ports specially.
2447 2014-06-26 Roland McGrath <roland@hack.frob.com>
2449 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2450 * sysdeps/arm/feupdateenv.c: Likewise.
2452 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2454 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2456 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2457 trailing whitespace removed.
2458 * scripts/config.guess: Update to version 2014-03-23.
2459 * scripts/config.sub: Update to version 2014-05-01
2460 * scripts/install-sh: Update to version 2013-12-25.23.
2461 * scripts/move-if-change: Update from gnulib.
2463 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2465 * debug/memmove_chk.c: Remove pagecopy.h include.
2467 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2469 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2470 identical to gnulib mktime.
2472 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2474 * configure.ac: Do not test for machine being rs6000. Do not test
2476 * configure: Regenerated.
2478 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2480 * configure: Regenerated.
2481 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2482 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2483 Remove configure test.
2484 * sysdeps/arm/configure: Regenerated.
2485 * sysdeps/nptl/configure.ac: Do not check
2486 libc_cv_asm_cfi_directives.
2487 * sysdeps/nptl/configure: Regenerated.
2488 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2489 * sysdeps/x86_64/nptl/configure: Remove generated file.
2490 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2492 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2494 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2496 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2497 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2498 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2501 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2502 instead of whether it is defined.
2503 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2504 * sysdeps/hppa/dl-machine.h: Likewise.
2505 * sysdeps/ia64/dl-machine.h: Likewise.
2506 * sysdeps/m68k/dl-machine.h: Likewise.
2507 * sysdeps/microblaze/dl-machine.h: Likewise.
2508 * sysdeps/mips/dl-machine.: Likewise.
2509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2513 * sysdeps/sh/dl-machine.h: Likewise.
2514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2516 * sysdeps/tile/dl-machine.h: Likewise.
2517 * sysdeps/x86_64/dl-machine.h: Likewise.
2519 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2521 (verify_persistent_db): Likewise.
2523 2014-06-26 Roland McGrath <roland@hack.frob.com>
2525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2526 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2528 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2531 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2534 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2536 Identical file removed.
2537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2538 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2544 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2549 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2551 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2556 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2560 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2562 Identical file removed.
2563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2564 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2566 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2569 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2572 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2574 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2576 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2580 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2583 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2586 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2588 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2591 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2593 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2597 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2598 * sysdeps/unix/sysv/linux/s390/Versions
2599 (libpthread: GLIBC_2.19): New version set.
2600 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2601 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2602 (librt: GLIBC_2.3.3): New version set.
2603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2604 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2605 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2607 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2609 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2611 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2613 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2617 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2619 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2620 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2621 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2623 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2625 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2627 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2629 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2631 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2633 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2639 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2641 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2643 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2645 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2647 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2650 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2651 (__libc_vfork): Define the function under this name.
2652 [!NOT_IN_libc] (__vfork): Make this an alias.
2653 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2655 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2656 (__libc_vfork): Define the function under this name.
2657 [!NOT_IN_libc] (__vfork): Make this an alias.
2658 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2659 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2660 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2665 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2666 code that was previously under [RESET_PID].
2667 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2671 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2672 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2673 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2674 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2675 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2676 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2677 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2678 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2679 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2683 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2693 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2707 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2708 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2709 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2710 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2713 2014-06-25 Roland McGrath <roland@hack.frob.com>
2715 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2716 that was previously under [RESET_PID].
2717 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2719 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2721 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2722 not undefine and redefine.
2723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2724 [O_CLOEXEC]: Make code unconditional.
2725 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2726 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2727 <kernel-features.h>.
2728 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2729 conditional variable definition.
2730 (shm_open) [O_CLOEXEC]: Make code unconditional.
2731 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2734 * configure.ac (USE_REGPARMS): Don't define here.
2735 * configure: Regenerated.
2736 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2737 * sysdeps/i386/configure: Regenerated.
2739 * nptl/createthread.c: Don't include kernel-features.h.
2740 * nptl/pthread_cancel.c: Likewise.
2741 * nptl/pthread_condattr_setclock.c: Likewise.
2742 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2743 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2744 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2745 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2746 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2747 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2751 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2752 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2753 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2754 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2755 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2756 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2757 * nscd/gai.c: Likewise.
2758 * nss/nss_db/db-open.c: Likewise.
2759 * sysdeps/generic/ldsodefs.h: Likewise.
2760 * sysdeps/sh/nptl/tls.h: Likewise.
2761 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2762 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2763 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2764 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2765 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2766 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2767 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2768 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2770 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2771 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2772 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2773 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2774 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2775 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2776 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2777 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2778 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2779 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2780 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2782 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2783 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2784 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2785 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2786 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2787 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2788 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2789 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2790 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2791 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2792 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2794 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2795 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2796 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2798 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2799 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2800 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2801 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2802 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2803 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2804 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2805 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2806 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2807 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2808 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2809 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2810 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2811 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2812 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2813 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2814 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2815 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2816 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2817 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2841 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2842 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2843 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2844 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2845 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2847 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2848 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2849 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2850 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2851 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2852 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2853 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2854 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2855 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2856 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2859 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2860 * sysdeps/unix/sysv/linux/system.c: Likewise.
2861 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2862 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2863 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2864 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2865 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2867 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2869 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2870 * configure: Regenerated.
2871 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2873 * configure.ac (base_machine): Do not set specially for particular
2875 * configure: Regenerated.
2876 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2877 settings from configure.ac.
2878 * sysdeps/i386/preconfigure: New file.
2879 * sysdeps/s390/preconfigure: Likewise.
2880 * sysdeps/sh/preconfigure: Likewise.
2881 * sysdeps/sparc/preconfigure: Likewise.
2883 2014-06-25 Roland McGrath <roland@hack.frob.com>
2885 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2886 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2887 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2888 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2889 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2890 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2891 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2892 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2893 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2894 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2895 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2896 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2897 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2898 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2899 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2900 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2901 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2902 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2903 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2905 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2906 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2907 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2908 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2909 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2910 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2911 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2912 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2913 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2914 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2915 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2916 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2917 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2918 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2919 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2920 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2921 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2922 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2923 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2924 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2926 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2927 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2928 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2929 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2934 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2935 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2936 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2937 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2938 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2939 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2940 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2941 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2942 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2945 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2967 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2975 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2979 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3006 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3015 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3017 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3019 * timezone/checktab.awk: Update from tzcode 2014e.
3020 * timezone/private.h: Likewise.
3021 * timezone/tzfile.h: Likewise.
3022 * timezone/zdump.c: Likewise.
3023 * timezone/zic.c: Likewise.
3025 * sysdeps/unix/sysv/linux/kernel-features.h
3026 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3027 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3028 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3029 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3030 Remove conditional code.
3032 2014-06-25 Will Newton <will.newton@linaro.org>
3034 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3035 (_dl_arm_cap_flags): Add HWCAP2 values.
3036 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3037 (_DL_HWCAP_COUNT): Increase to 37.
3038 (_DL_HWCAP_LAST): New define.
3039 (_DL_HWCAP2_LAST): New define.
3040 (_dl_procinfo): Add support for printing
3042 (_dl_string_hwcap): Use _dl_hwcap_string.
3044 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3048 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3050 * README: Do not mention ports directory.
3052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3054 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3055 <kernel-features.h>.
3056 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3057 conditional variable definition.
3058 (__futimes): Update comment.
3059 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3060 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3063 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3064 arguments close to 0.
3065 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3067 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3069 * math/auto-libm-test-in: Add more tests of exp10.
3070 * math/auto-libm-test-out: Regenerated.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3073 * sysdeps/unix/sysv/linux/kernel-features.h
3074 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3075 * sysdeps/unix/sysv/linux/readv.c: Do not include
3076 <kernel-features.h>.
3077 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3078 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3079 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3081 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3083 * sysdeps/unix/sysv/linux/writev.c: Do not include
3084 <kernel-features.h>.
3085 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3086 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3087 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3089 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3092 2014-06-25 Will Newton <will.newton@linaro.org>
3094 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3095 comment changes throughout the file. Remove checks
3096 for HAVE_*_H definitions that are not required.
3097 (__gen_tempname): Call abort if an unknown kind value is
3100 2014-06-25 Andreas Schwab <schwab@suse.de>
3103 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3104 scalbln, scalblnf, scalblnl in libc.
3106 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3109 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3110 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3111 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3113 2014-06-24 Roland McGrath <roland@hack.frob.com>
3115 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3116 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3117 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3118 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3120 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3121 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3123 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3124 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3125 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3126 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3127 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3128 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3129 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3130 * sysdeps/x86/bits/semaphore.h: ... here.
3131 * sysdeps/x86/nptl/elide.h: Moved ...
3132 * sysdeps/x86/elide.h: ... here.
3133 * sysdeps/x86_64/nptl/Implies: File removed.
3134 * sysdeps/i386/nptl/Implies: File removed.
3136 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3140 return the argument for normal arguments with exponent below -64.
3141 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3143 * math/auto-libm-test-in: Add another test of expm1.
3144 * math/auto-libm-test-out: Regenerated.
3147 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3148 calling __erfcl for arguments at least 16.
3149 * math/auto-libm-test-in: Add more tests of erf.
3150 * math/auto-libm-test-out: Regenerated.
3152 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3153 individual architectures.
3154 * sysdeps/unix/sysv/linux/configure: Regenerated.
3155 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3156 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3157 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3158 (ldd_rewrite_script): Define variable.
3159 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3164 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3165 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3166 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3167 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3168 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3169 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3170 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3171 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3173 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3176 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3177 Rename member __data.d to __data.__elision_data.
3179 2014-06-24 Wilco <wdijkstr@arm.com>
3181 * NEWS: Add 16918 to fixed bug list.
3183 2014-06-24 Wilco <wdijkstr@arm.com>
3185 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3187 2014-06-24 Wilco <wdijkstr@arm.com>
3189 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3190 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3191 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3192 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3193 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3194 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3195 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3198 2014-06-24 Wilco <wdijkstr@arm.com>
3200 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3202 2014-06-24 Wilco <wdijkstr@arm.com>
3204 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3205 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3206 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3207 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3209 2014-06-24 Wilco <wdijkstr@arm.com>
3212 * sysdeps/arm/feupdateenv.c (feupdateenv):
3213 Rewrite to reduce FPSCR accesses and fix return value.
3215 2014-06-24 Wilco <wdijkstr@arm.com>
3217 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3218 Optimize to avoid unnecessary FPSCR writes.
3219 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3220 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3221 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3222 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3224 2014-06-24 Wilco <wdijkstr@arm.com>
3226 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3227 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3228 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3229 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3230 Call libc_fetestexcept_vfp.
3231 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3232 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3233 __SOFTFP__ ifdef so that they can be built for softfp.
3235 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3237 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3238 argument type signed char.
3240 * Makerules (check-abi): Dump diff of symlist if the test
3243 2014-06-23 Roland McGrath <roland@hack.frob.com>
3245 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3248 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3249 Remove unused variable ST.
3251 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3255 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3256 small arguments before calling __expm1.
3257 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3258 small arguments before calling __expm1f.
3259 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3260 small arguments before calling __expm1l.
3261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3263 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3264 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3265 spurious underflow for some cosh tests.
3266 * math/auto-libm-test-out: Regenerated.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3270 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3271 (__ieee754_y1): Set errno if return value overflows.
3272 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3273 (__ieee754_y1f): Set errno if return value overflows.
3274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3275 (__ieee754_y1l): Set errno if return value overflows.
3276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3277 (__ieee754_y1l): Set errno if return value overflows.
3278 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3279 * math/auto-libm-test-out: Regenerated.
3281 * math/gen-auto-libm-tests.c: Document use of
3282 ignore-zero-inf-sign.
3283 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3284 (input_flags): Add ignore-zero-inf-sign.
3285 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3286 * math/gen-libm-test.pl (generate_testfile): Handle
3287 ignore-zero-inf-sign.
3288 * math/auto-libm-test-in: Mark some cpow tests with
3289 ignore-zero-inf-sign and some with xfail-rounding.
3290 * math/auto-libm-test-out: Regenerated.
3291 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3292 * sysdeps/i386/fpu/libm-test-ulps: Update.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3297 overflowing or underflowing operations take place with sign of
3299 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3300 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3301 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3302 (__ieee754_pow): Recompute overflowing and underflowing results in
3303 original rounding mode.
3304 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3305 (__powl_helper): Allow negative argument X and scale negated value
3306 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3307 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3308 overflowing or underflowing operations take place with sign of
3310 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3312 * math/auto-libm-test-in: Add more tests of pow.
3313 * math/auto-libm-test-out: Regenerated.
3314 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3315 (pow_tonearest_test_data): Remove.
3316 (pow_test_tonearest): Likewise.
3317 (pow_towardzero_test_data): Likewise.
3318 (pow_test_towardzero): Likewise.
3319 (pow_downward_test_data): Likewise.
3320 (pow_test_downward): Likewise.
3321 (pow_upward_test_data): Likewise.
3322 (pow_test_upward): Likewise.
3323 (main): Don't call removed functions.
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3327 2014-06-23 Roland McGrath <roland@hack.frob.com>
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3503 2014-06-23 Will Newton <will.newton@linaro.org>
3504 Wilco <wdijkstr@arm.com>
3506 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3507 implementation. Include get-rounding-mode.h.
3508 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3509 [!libc_feholdsetround_noex_ctx]: Define
3510 libc_feholdsetround_noex_ctx.
3511 [!libc_feholdsetround_noexf_ctx]: Define
3512 libc_feholdsetround_noexf_ctx.
3513 [!libc_feholdsetround_noexl_ctx]: Define
3514 libc_feholdsetround_noexl_ctx.
3515 (libc_feholdsetround_ctx): New function.
3516 (libc_feresetround_ctx): New function.
3517 (libc_feholdsetround_noex_ctx): New function.
3518 (libc_feresetround_noex_ctx): New function.
3520 2014-06-23 Roland McGrath <roland@hack.frob.com>
3522 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3523 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3524 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3525 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3526 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3527 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3529 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3530 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3531 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3532 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3533 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3534 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3536 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3539 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3541 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3549 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3558 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3561 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3566 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3570 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3571 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3572 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3577 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3593 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3597 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3598 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3600 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3602 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3603 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3604 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3606 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3607 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3635 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3638 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3639 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3640 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3641 (IPV6_PMTUDISC_INTERFACE): Likewise.
3642 (IPV6_PMTUDISC_OMIT): Likewise.
3644 2014-06-23 Andreas Schwab <schwab@suse.de>
3646 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3647 Remove unused errout label.
3649 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3652 macro: hardware supports Vector Crypto instructions.
3654 2014-06-23 Will Newton <will.newton@linaro.org>
3656 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3657 rather than __builtin_expect.
3659 * elf/dl-lookup.c (undefined_msg): Remove variable.
3660 (_dl_lookup_symbol_x): Replace undefined_msg with string
3663 * elf/dl-lookup.c (do_lookup_unique): New function.
3664 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3665 to a separate function.
3667 2014-06-23 Andreas Schwab <schwab@suse.de>
3670 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3671 before reading the next line.
3673 2014-06-23 Will Newton <will.newton@linaro.org>
3675 * test-skeleton.c (signal_handler): Use printf and %m
3676 rather than perror. Use printf rather than fprintf to
3677 stderr. Use puts rather than fputs to stderr.
3680 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3682 * nscd/nscd.c (thread_info_t): Remove typedef.
3683 (thread_info): Remove variable.
3685 2014-06-21 Allan McRae <allan@archlinux.org>
3687 * NEWS: Mention CVE-2014-4043.
3689 2014-06-20 Roland McGrath <roland@hack.frob.com>
3691 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3692 * nptl/smp.h: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3696 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3697 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3698 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3699 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3701 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3702 * nptl/stack-aliasing.h: New file.
3703 * sysdeps/i386/i686/stack-aliasing.h: New file.
3704 * sysdeps/i386/i686/nptl/Makefile: File removed.
3705 * sysdeps/x86_64/stack-aliasing.h: New file.
3706 * sysdeps/x86_64/nptl/Makefile
3707 (CFLAGS-pthread_create.c): Variable removed.
3709 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3710 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3712 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3713 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3716 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3719 (__ASSUME_SIGFRAME_V2): Remove macro.
3720 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3721 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3722 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3723 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3724 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3725 Declare as function. Remove conditional macro definitions.
3726 (__default_rt_sa_restorer): Likewise.
3727 (__default_sa_restorer_v1): Remove declaration.
3728 (__default_sa_restorer_v2): Likewise.
3729 (__default_rt_sa_restorer_v1): Likewise.
3730 (__default_rt_sa_restorer_v2): Likewise.
3731 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3732 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3733 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3735 2014-06-20 Roland McGrath <roland@hack.frob.com>
3737 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3738 (libpthread-routines): Add sysdep.
3739 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3740 * sysdeps/unix/sysv/linux/sparc/Versions
3741 (libpthread: GLIBC_2.3.3): New version set.
3742 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3743 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3744 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3746 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3747 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3749 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3751 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3753 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3755 * sysdeps/sparc/nptl/sem_init.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3757 * sysdeps/sparc/nptl/sem_post.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3759 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3761 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3763 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3764 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3765 (libpthread-routines): Add cpu_relax.
3766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3768 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3769 (librt: GLIBC_2.3.3): New version set.
3770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3771 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3772 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3773 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3776 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3779 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3781 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3783 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3785 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3787 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3790 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3794 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3813 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3821 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3824 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3828 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3830 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3832 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3833 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3834 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3836 * nscd/nscd.c: Likewise.
3837 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3838 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3839 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3840 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3842 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3843 <kernel-features.h>.
3844 (init_mq_netlink): Remove conditional have_sock_cloexec
3845 definitions. Remove code conditional on have_sock_cloexec < 0.
3846 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3847 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3848 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3849 <kernel-features.h>.
3850 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3851 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3853 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3856 Add tests for memset_chk and memset.
3858 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3861 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3864 * elf/tst-dl-iter-static.c: New file.
3865 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3867 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3870 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3872 * sysdeps/unix/sysv/linux/kernel-features.h
3873 (__ASSUME_F_GETOWN_EX): Remove macro.
3874 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3875 <kernel-features.h>.
3876 (miss_F_GETOWN_EX): Remove variable or macro.
3877 (do_fcntl): Do not check miss_F_GETOWN_EX.
3878 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3883 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3884 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3886 * sysdeps/unix/sysv/linux/kernel-features.h
3887 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3888 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3889 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3890 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3892 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3895 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3896 Fix calculation of the symbol's value.
3897 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3898 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3899 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3900 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3901 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3902 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3903 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3904 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3905 (modules-names): Add `tst-armtlsdescmod',
3906 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3907 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3908 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3909 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3910 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3911 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3912 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3913 ($(objpfx)tst-armtlsdescloc): New dependency.
3914 ($(objpfx)tst-armtlsdescextnow): Likewise.
3915 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3916 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3918 * sysdeps/arm/configure: Regenerate.
3920 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3922 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3923 (__atfct_seterrno_2): Likewise.
3924 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3925 <kernel-features.h>.
3926 (__ASSUME_ATFCTS): Do not undefine and redefine.
3927 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3928 (__have_atfcts): Remove conditional definition.
3929 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3930 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3931 unreachable if [__ASSUME_ATFCTS].
3932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3933 not undefine and redefine.
3934 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3935 <kernel-features.h>.
3936 (faccessat) [__NR_faccessat]: Make code unconditional.
3937 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3938 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3939 <kernel-features.h>.
3940 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3941 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3942 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3943 <kernel-features.h>.
3944 (fchownat) [__NR_fchownat]: Make code unconditional.
3945 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3946 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3947 <kernel-features.h>.
3948 (futimesat) [__NR_futimesat]: Make code unconditional.
3949 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3950 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3951 <kernel-features.h>.
3952 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3953 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3954 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3955 <kernel-features.h>.
3956 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3957 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3958 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3959 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3960 <kernel-features.h>.
3961 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3964 <kernel-features.h>.
3965 (linkat) [__NR_linkat]: Make code unconditional.
3966 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3967 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3968 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3969 <kernel-features.h>.
3970 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3971 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3972 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3973 <kernel-features.h>.
3974 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3975 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3976 * sysdeps/unix/sysv/linux/openat.c: Do not include
3977 <kernel-features.h>.
3978 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3979 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3980 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3981 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3982 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3983 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3984 <kernel-features.h>.
3985 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3986 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3987 result of INLINE_SYSCALL directly, not via int variable.
3988 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3989 <kernel-features.h>.
3990 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3991 (renameat) [__NR_renameat]: Make code unconditional.
3992 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3994 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3995 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3997 (__ASSUME_ATFCTS): Do not undefine and redefine.
3998 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3999 <kernel-features.h>.
4000 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4001 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4002 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4003 <kernel-features.h>.
4004 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4005 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4006 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4007 (__ASSUME_ATFCTS): Do not undefine and redefine.
4008 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4009 <kernel-features.h>.
4010 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4011 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4012 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4013 <kernel-features.h>.
4014 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4015 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4017 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4019 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4021 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4024 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4025 constructed tree before returning error.
4026 * posix/bug-regexp36.c: Expand test case.
4028 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4031 * math/libm-test.inc (scalbln_test_date):
4032 Add errno expectations.
4033 * math/w_scalblnf.c: New File.
4034 Add wrapper which checks for setting errno to ERANGE.
4035 Add weak_alias for corresponding scalbln function.
4036 * math/w_scalbln.c: Likewise.
4037 * math/w_scalblnl.c: Likewise.
4038 * math/Makefile (libm-calls): Add w_scalbln.
4039 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4040 Remove weak_alias for corresponding scalbln function.
4041 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4045 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4046 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4047 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4048 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4049 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4050 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4051 Remove long_double_symbol for scalblnl function in libm, libc.
4052 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4053 Add wrapper which checks for setting errno to ERANGE.
4054 Add long_double_symbol for scalblnl function in libm, libc.
4055 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4056 Remove long_double_symbol for scalblnl in libm.
4057 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4058 Add wrapper which checks for setting errno to ERANGE.
4059 Add long_double_symbol for scalblnl function in libm.
4060 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4061 Do not use wrapper because of own implementation.
4063 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4065 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4066 3 bytes for __pad1 for x32.
4067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4069 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4070 H.J. Lu <hongjiu.lu@intel.com>
4072 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4073 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4076 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4078 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4081 * posix/regcomp.c (parse_expression): Deallocate partially
4082 constructed tree before returning error.
4083 * posix/Makefile.c (tests): Add bug-regex36.
4084 (generated): Add bug-regex36.mtrace.
4085 (tests-special): Add $(objpfx)bug-regex36-mem.out
4086 (bug-regex36-ENV): New variable.
4087 ($(objpfx)bug-regex36-mem.out): New rule.
4088 * posix/bug-regex36.c: New file.
4090 2014-06-19 Will Newton <will.newton@linaro.org>
4092 * malloc/malloc.c (systrim): If extra is zero then return
4095 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4097 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4099 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4101 * sysdeps/aarch64/strchr.S: New file.
4103 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4107 from arguments -2 or below.
4108 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4109 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4111 2014-06-18 Andreas Schwab <schwab@suse.de>
4114 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4115 of a bracket expr not to run off the end of the string.
4116 * posix/Makefile (tests): Add tst-fnmatch3.
4117 * posix/tst-fnmatch3.c: New file.
4119 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4121 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4122 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4123 [$(cross-compiling) = no]: Likewise.
4124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4125 [$(cross-compiling) = no]: Likewise.
4127 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4131 double, adjusted for any remainder from the high double.
4132 * math/libm-test.inc (nearbyint): Add tests.
4135 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137 * nptl/sysdeps/powerpc/Makefile: Moved ...
4138 * sysdeps/powerpc/nptl/Makefile: ... here.
4139 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4140 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4141 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4142 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4143 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4144 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4145 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4146 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4147 * nptl/sysdeps/powerpc/tls.h: Moved ...
4148 * sysdeps/powerpc/nptl/tls.h: ... here.
4150 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4153 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4154 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4155 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4156 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4157 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4158 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4159 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4160 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4161 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4163 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4165 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4167 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4169 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4172 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4175 2014-06-16 Florian Weimer <fweimer@redhat.com>
4178 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4179 non-executed part of the test.
4181 2014-06-16 Andreas Schwab <schwab@suse.de>
4183 * string/bits/string2.h (strdup, strndup): Update feature guard.
4185 2014-06-14 David S. Miller <davem@davemloft.net>
4187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4189 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4191 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4192 that was previously under [RESET_PID].
4193 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4195 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4196 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4197 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4198 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4199 (__libc_vfork): New strong alias.
4200 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4202 2014-06-14 Andi Kleen <ak@linux.intel.com>
4204 * sysdeps/generic/elide.h: New file.
4206 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4208 * Makefile (installed-headers): Adjust path of pthread.h header.
4210 2014-06-13 Roland McGrath <roland@hack.frob.com>
4212 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4213 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4214 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4215 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4217 * nptl/sysdeps/s390/Makefile: Moved ...
4218 * sysdeps/s390/nptl/Makefile: ... here.
4219 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4220 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4221 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4222 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4223 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4224 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4225 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4226 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4227 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4228 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4229 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4230 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4231 * nptl/sysdeps/s390/tls.h: Moved ...
4232 * sysdeps/s390/nptl/tls.h: ... here.
4234 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4235 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4237 2014-06-13 David S. Miller <davem@davemloft.net>
4239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4242 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4247 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4248 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4250 Remove RESET_PID cpp guards.
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4252 Remove RESET_PID cpp guards.
4253 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4255 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4257 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4260 2014-06-13 Andi Kleen <ak@linux.intel.com>
4262 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4263 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4264 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4268 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4269 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4273 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4274 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4275 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4276 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4277 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4278 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4280 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4281 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4283 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4284 (pthread_rwlock_rdlock): Add elision.
4285 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4286 (pthread_rwlock_wrlock): Add elision.
4287 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4288 (pthread_rwlock_trywrlock): Add elision.
4289 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4290 (pthread_rwlock_tryrdlock): Add elision.
4291 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4292 (pthread_rwlock_tryrdlock): Add elision unlock.
4293 * nptl/sysdeps/pthread/pthread.h:
4294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4295 (PTHREAD_RWLOCK_INITIALIZER,
4296 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4297 Handle new elision field.
4298 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4299 * sysdeps/arm/nptl/bits/pthreadtypes.h
4300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4301 * sysdeps/sh/nptl/bits/pthreadtypes.h
4302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4303 * sysdeps/tile/nptl/bits/pthreadtypes.h
4304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4305 * sysdeps/a/nptl/bits/pthreadtypes.h
4306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4307 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4309 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4311 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4313 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4315 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4317 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4319 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4321 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4323 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4324 (elision_init): Set try_xbegin to zero when no RTM.
4325 * sysdeps/x86/nptl/bits/pthreadtypes.h
4326 (pthread_rwlock_t): Change __pad1 to __rwelision.
4327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4329 2014-06-13 Andi Kleen <ak@linux.intel.com>
4331 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4332 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4333 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4334 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4336 2014-06-13 Meador Inge <meadori@codesourcery.com>
4339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4340 that the cached result has been set before returning it.
4342 2014-06-12 Roland McGrath <roland@hack.frob.com>
4344 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4345 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4347 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4349 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4351 * nptl/sysdeps/sparc/Makefile: Moved ...
4352 * sysdeps/sparc/nptl/Makefile: ... here.
4353 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4354 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4355 * nptl/sysdeps/sparc/tls.h: Moved ...
4356 * sysdeps/sparc/nptl/tls.h: ... here.
4357 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4358 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4359 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4360 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4361 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4362 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4363 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4364 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4365 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4366 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4367 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4368 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4369 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4370 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4371 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4372 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4373 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4374 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4376 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4377 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4379 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4382 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4386 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4388 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4389 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4391 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4392 (struct list_links): Type removed.
4393 (struct thread_node, struct timer_node): Replace struct list_links
4394 with struct list_head.
4395 (list_unlink_ip): Likewise.
4396 * sysdeps/pthread/timer_routines.c
4397 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4398 (list_append, list_insbefore): Likewise.
4399 (list_init): Function removed.
4400 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4401 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4402 * sysdeps/pthread/Makefile: ... here, new file.
4404 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4405 * sysdeps/nptl/Implies: ... here.
4406 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4407 * nptl/sysdeps/pthread/list.h: Moved ...
4408 * include/list.h: ... here.
4409 * nptl/sysdeps/pthread/createthread.c: Moved ...
4410 * nptl/createthread.c: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4412 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4413 * nptl/pt-longjmp.c: ... here.
4414 * nptl/sysdeps/pthread/Makefile: Moved ...
4415 * sysdeps/nptl/Makefile: ... here.
4416 * nptl/sysdeps/pthread/Subdirs: Moved ...
4417 * sysdeps/nptl/Subdirs: ... here.
4418 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4419 * sysdeps/nptl/aio_misc.h: ... here.
4420 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4421 * sysdeps/nptl/bits/libc-lock.h: ... here.
4422 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4423 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4424 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4425 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4426 * nptl/sysdeps/pthread/configure: Moved ...
4427 * sysdeps/nptl/configure: ... here.
4428 * nptl/sysdeps/pthread/configure.ac: Moved ...
4429 * sysdeps/nptl/configure.ac: ... here.
4430 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4431 * sysdeps/nptl/gai_misc.h: ... here.
4432 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4433 * sysdeps/nptl/librt-cancellation.c: ... here.
4434 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4435 * sysdeps/nptl/malloc-machine.h: ... here.
4436 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4437 * sysdeps/nptl/pthread-functions.h: ... here.
4438 * nptl/sysdeps/pthread/pthread.h: Moved ...
4439 * sysdeps/nptl/pthread.h: ... here.
4440 * nptl/sysdeps/pthread/setxid.h: Moved ...
4441 * sysdeps/nptl/setxid.h: ... here.
4442 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4443 * sysdeps/nptl/sigfillset.c: ... here.
4444 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4445 * sysdeps/nptl/tcb-offsets.h: ... here.
4446 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4447 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4448 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4449 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4450 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4451 * sysdeps/pthread/allocalim.h: ... here.
4452 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4453 * sysdeps/pthread/bits/sigthread.h: ... here.
4454 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4455 * sysdeps/pthread/flockfile.c: ... here.
4456 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4457 * sysdeps/pthread/ftrylockfile.c: ... here.
4458 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4459 * sysdeps/pthread/funlockfile.c: ... here.
4460 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4461 * sysdeps/pthread/posix-timer.h: ... here.
4462 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4463 * sysdeps/pthread/timer_create.c: ... here.
4464 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4465 * sysdeps/pthread/timer_delete.c: ... here.
4466 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4467 * sysdeps/pthread/timer_getoverr.c: ... here.
4468 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4469 * sysdeps/pthread/timer_gettime.c: ... here.
4470 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4471 * sysdeps/pthread/timer_routines.c: ... here.
4472 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4473 * sysdeps/pthread/timer_settime.c: ... here.
4474 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4475 * sysdeps/pthread/tst-timer.c: ... here.
4476 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4477 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4479 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4480 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4482 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4483 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4484 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4485 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4486 Update #include target.
4487 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4488 * sysdeps/i386/i686/nptl/Makefile: ... here.
4489 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4490 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4491 Update #include target.
4492 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4493 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4494 * nptl/sysdeps/i386/Makefile: Moved ...
4495 * sysdeps/i386/nptl/Makefile: ... here.
4496 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4497 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4498 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4499 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4500 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4501 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4502 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4503 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4504 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4505 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4506 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4507 * nptl/sysdeps/i386/tls.h: Moved ...
4508 * sysdeps/i386/nptl/tls.h: ... here.
4510 * sysdeps/sh/Makefile [$(subdir) = csu]
4511 (gen-as-const-headers): Add tcb-offsets.sym.
4512 * nptl/sysdeps/sh/Makefile: File removed.
4513 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4514 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4515 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4516 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4517 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4518 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4519 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4520 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4521 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4522 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4523 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4524 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4525 * nptl/sysdeps/sh/tls.h: Moved ...
4526 * sysdeps/sh/nptl/tls.h: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4528 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4530 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4531 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4532 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4536 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4538 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4540 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4542 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4544 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4546 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4548 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4553 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4554 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4556 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4558 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4560 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4562 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4563 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4564 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4565 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4566 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4567 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4568 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4569 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4570 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4571 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4572 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4573 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4574 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4576 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4578 * posix/spawn_faction_addopen.c: Include string.h.
4580 2014-06-11 Roland McGrath <roland@hack.frob.com>
4582 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4583 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4584 * nptl/sysdeps/x86_64/Makefile: Moved ...
4585 * sysdeps/x86_64/nptl/Makefile: ... here.
4586 * nptl/sysdeps/x86_64/configure: Moved ...
4587 * sysdeps/x86_64/nptl/configure: ... here.
4588 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4589 * sysdeps/x86_64/nptl/configure.ac: ... here.
4590 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4591 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4592 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4593 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4594 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4595 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4596 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4597 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4598 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4599 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4600 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4601 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4602 * nptl/sysdeps/x86_64/tls.h: Moved ...
4603 * sysdeps/x86_64/nptl/tls.h: ... here.
4604 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4605 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4606 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4607 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4609 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4611 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4615 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4617 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4619 [POSIX] (off_t): Likewise.
4620 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4621 [POSIX] (S_ISBLK): Require macro.
4622 [POSIX] (S_ISCHR): Likewise.
4623 [POSIX] (S_ISDIR): Likewise.
4624 [POSIX] (S_ISFIFO): Likewise.
4625 [POSIX] (S_ISREG): Likewise.
4626 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4628 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4630 [POSIX] (time_t): Likewise.
4631 [POSIX] (timer_t): Likewise.
4633 2014-06-11 Florian Weimer <fweimer@redhat.com>
4636 * posix/spawn_int.h (struct __spawn_action): Make the path string
4637 non-const to support deallocation.
4638 * posix/spawn_faction_addopen.c
4639 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4640 * posix/spawn_faction_destroy.c
4641 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4642 path in all spawn_do_open actions.
4643 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4644 posix_spawn_file_actions_addopen.
4646 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4648 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4649 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4650 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4651 conditional code always true.
4652 (__libc_vfork): New alias.
4654 2014-06-11 Roland McGrath <roland@hack.frob.com>
4656 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4657 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4659 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4661 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4662 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4664 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4665 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4667 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4668 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4670 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4672 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4673 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4674 multiarch strcmp for PPC64.
4675 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4678 multiarch optimizations.
4679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4680 (__libc_ifunc_impl_list): Likewise.
4682 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4684 * benchtests/scripts/validate_benchout.py: New script.
4685 * benchtests/Makefile (bench-func): Call it.
4686 * benchtests/scripts/benchout.schema.json: New file.
4688 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4690 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4691 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4692 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4693 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4694 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4695 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4696 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4697 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4698 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4699 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4700 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4701 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4702 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4703 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4704 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4705 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4810 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4812 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4815 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4818 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4820 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4831 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4834 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4839 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4841 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4843 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4844 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4845 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4847 2014-06-10 Wilco <wdijkstr@arm.com>
4849 * math/test-fenv-return.c: New file.
4850 * math/Makefile: Add new test test-fenv-return.
4852 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4855 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4857 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4858 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4859 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4860 0.0L for an argument of 1.0L.
4861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4863 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4864 value when x - 1 is zero.
4865 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4869 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4872 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4874 2014-06-09 Roland McGrath <roland@hack.frob.com>
4876 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4877 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4879 2014-06-09 Roland McGrath <roland@hack.frob.com>
4881 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4882 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4884 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4885 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4887 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4888 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4890 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4891 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4893 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4894 if not already defined.
4895 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4896 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4897 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4898 (TLS_INIT_TP): Use it.
4899 (TLS_DEFINE_INIT_TP): New macro.
4900 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4902 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4904 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4906 [POSIX] (IXANY): Likewise.
4907 [POSIX] (OLCUC): Likewise.
4908 [POSIX || POSIX2008] (CBAUD): Do not allow.
4909 [POSIX || POSIX2008] (DEFECHO): Likewise.
4910 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4911 [POSIX || POSIX2008] (ECHOKE): Likewise.
4912 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4913 [POSIX || POSIX2008] (EXTA): Likewise.
4914 [POSIX || POSIX2008] (EXTB): Likewise.
4915 [POSIX || POSIX2008] (FLUSHO): Likewise.
4916 [POSIX || POSIX2008] (LOBLK): Likewise.
4917 [POSIX || POSIX2008] (PENDIN): Likewise.
4918 [POSIX || POSIX2008] (SWTCH): Likewise.
4919 [POSIX || POSIX2008] (VDISCARD): Likewise.
4920 [POSIX || POSIX2008] (VDSUSP): Likewise.
4921 [POSIX || POSIX2008] (VLNEXT): Likewise.
4922 [POSIX || POSIX2008] (VREPRINT): Likewise.
4923 [POSIX || POSIX2008] (VSTATUS): Likewise.
4924 [POSIX || POSIX2008] (VWERASE): Likewise.
4925 (B*): Change to B[0123456789]*.
4926 * conform/data/time.h-data [POSIX || UNIX98]
4927 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4928 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4929 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4930 [POSIX] (tm_*): Do not allow.
4932 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4934 * Makefile (install): Don't set LANGUAGE.
4935 * Makefile.in (install): Likewise.
4936 * assert/Makefile (test-assert-ENV): Remove variable.
4937 (test-assert-perr-ENV): Likewise.
4938 * elf/Makefile (neededtest4-ENV): Likewise.
4939 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4940 [$(cross-compiling) = no]: Don't set LANGUAGE.
4941 * io/ftwtest-sh (LANG): Remove variable.
4942 * libio/Makefile (tst-widetext-ENV): Likewise.
4943 * manual/install.texi (Running make install): Don't refer to
4944 environment settings for make install.
4945 * INSTALL: Regenerated.
4946 * nptl/tst-tls6.sh: Don't set LANG.
4947 * posix/globtest.sh (LANG): Remove variable.
4948 * string/Makefile (tester-ENV): Likewise.
4949 (inl-tester-ENV): Likewise.
4950 (noinl-tester-ENV): Likewise.
4951 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4952 [$(cross-compiling) = no]: Don't set LANGUAGE.
4953 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4954 without explicit environment settings.
4956 2014-06-06 Roland McGrath <roland@hack.frob.com>
4958 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4959 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4961 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4963 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4965 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4966 other files in the crypt directory.
4967 * crypt/crypt.c: Remove duplicate includes.
4968 * crypt/crypt-entry.c: Likewise.
4969 * crypt/crypt_util.c: Likewise.
4971 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4973 * Makeconfig (run-program-env): New variable.
4974 (run-program-prefix-before-env): Likewise.
4975 (run-program-prefix-after-env): Likewise.
4976 (run-program-prefix): Define in terms of new variables.
4977 (built-program-cmd-before-env): New variable.
4978 (built-program-cmd-after-env): Likewise.
4979 (built-program-cmd): Define in terms of new variables.
4980 (test-program-prefix-before-env): New variable.
4981 (test-program-prefix-after-env): Likewise.
4982 (test-program-prefix): Define in terms of new variables.
4983 (test-program-cmd-before-env): New variable.
4984 (test-program-cmd-after-env): Likewise.
4985 (test-program-cmd): Define in terms of new variables.
4986 * Rules (make-test-out): Use $(run-program-env).
4987 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4988 (help): Do not mention environment variables. Mention
4989 --timeoutfactor option.
4990 (timeoutfactor): New variable.
4991 (blacklist_exports): Remove function.
4992 (exports): Remove variable.
4993 (command): Do not include ${exports}.
4994 * manual/install.texi (Configuring and compiling): Do not mention
4995 test wrappers preserving environment variables. Mention that last
4996 assignment to a variable must take precedence.
4997 * INSTALL: Regenerated.
4998 * benchtests/Makefile (run-bench): Use $(run-program-env).
4999 * catgets/Makefile ($(objpfx)test1.cat): Use
5000 $(built-program-cmd-before-env), $(run-program-env) and
5001 $(built-program-cmd-after-env).
5002 ($(objpfx)test2.cat): Do not specify environment variables
5004 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5005 $(run-program-env) and $(built-program-cmd-after-env).
5006 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5007 $(run-program-env) and $(test-program-cmd-after-env).
5008 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5010 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5011 run_program_env and test_program_cmd_after_env arguments.
5012 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5013 * elf/tst-pathopt.sh: Use run_program_env argument.
5014 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5015 $(test-wrapper-env) and $(run-program-env).
5016 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5017 run_program_env arguments.
5018 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5019 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5020 $(test-program-prefix-before-env), $(run-program-env) and
5021 $(test-program-prefix-after-env).
5022 ($(objpfx)tst-gettext2.out): Likewise.
5023 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5024 run_program_env and test_program_prefix_after_env arguments.
5025 * intl/tst-gettext2.sh: Likewise.
5026 * intl/tst-gettext4.sh: Do not set environment variables
5028 * intl/tst-gettext6.sh: Likewise.
5029 * intl/tst-translit.sh: Likewise.
5030 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5031 $(test-program-prefix-before-env), $(run-program-env) and
5032 $(test-program-prefix-after-env).
5033 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5034 run_program_env and test_program_prefix_after_env arguments.
5035 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5036 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5037 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5038 explicitly with each use of ${test_wrapper_env}.
5039 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5040 $(test-program-prefix-before-env), $(run-program-env) and
5041 $(test-program-prefix-after-env).
5042 * posix/tst-getconf.sh: Do not set environment variables
5044 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5045 run_program_env and test_program_prefix_after_env arguments.
5046 * stdio-common/tst-printf.sh: Do not set environment variables
5048 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5049 $(test-program-prefix-before-env), $(run-program-env) and
5050 $(test-program-prefix-after-env).
5051 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5052 run_program_env and test_program_prefix_after_env arguments.
5053 Split $test calls into $test_pre and $test.
5054 * timezone/Makefile (build-testdata): Use
5055 $(built-program-cmd-before-env), $(run-program-env) and
5056 $(built-program-cmd-after-env).
5058 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5060 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5061 strlen for non SHARED builds.
5063 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * nptl/allocatestack.c (check_list): Inlined function...
5066 (__reclaim_stacks): ... here.
5068 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5071 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5074 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5076 * Rules (make-test-out): Include
5077 LOCPATH=$(common-objpfx)localedata in default environment.
5078 * debug/Makefile (tst-chk1-ENV): Remove variable.
5079 (tst-chk2-ENV): Likewise.
5080 (tst-chk3-ENV): Likewise.
5081 (tst-chk4-ENV): Likewise.
5082 (tst-chk5-ENV): Likewise.
5083 (tst-chk6-ENV): Likewise.
5084 (tst-lfschk1-ENV): Likewise.
5085 (tst-lfschk2-ENV): Likewise.
5086 (tst-lfschk3-ENV): Likewise.
5087 (tst-lfschk4-ENV): Likewise.
5088 (tst-lfschk5-ENV): Likewise.
5089 (tst-lfschk6-ENV): Likewise.
5090 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5091 (tst-iconv7-ENV): Likewise.
5092 * intl/Makefile (LOCPATH-ENV): Likewise.
5093 (tst-codeset-ENV): Likewise.
5094 (tst-gettext3-ENV): Likewise.
5095 (tst-gettext5-ENV): Likewise.
5096 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5097 (tst-fopenloc-ENV): Likewise.
5098 (tst-fgetws-ENV): Remove variable.
5099 (tst-ungetwc1-ENV): Likewise.
5100 (tst-ungetwc2-ENV): Likewise.
5101 (bug-ungetwc2-ENV): Likewise.
5102 (tst-swscanf-ENV): Likewise.
5103 (bug-ftell-ENV): Likewise.
5104 (tst-fgetwc-ENV): Likewise.
5105 (tst-fseek-ENV): Likewise.
5106 (tst-ftell-partial-wide-ENV): Likewise.
5107 (tst-ftell-active-handler-ENV): Likewise.
5108 (tst-ftell-append-ENV): Likewise.
5109 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5110 (tst-regexloc-ENV): Likewise.
5111 (bug-regex1-ENV): Likewise.
5112 (tst-regex-ENV): Likewise.
5113 (tst-regex2-ENV): Likewise.
5114 (bug-regex5-ENV): Likewise.
5115 (bug-regex6-ENV): Likewise.
5116 (bug-regex17-ENV): Likewise.
5117 (bug-regex18-ENV): Likewise.
5118 (bug-regex19-ENV): Likewise.
5119 (bug-regex20-ENV): Likewise.
5120 (bug-regex22-ENV): Likewise.
5121 (bug-regex23-ENV): Likewise.
5122 (bug-regex25-ENV): Likewise.
5123 (bug-regex26-ENV): Likewise.
5124 (bug-regex30-ENV): Likewise.
5125 (bug-regex32-ENV): Likewise.
5126 (bug-regex33-ENV): Likewise.
5127 (bug-regex34-ENV): Likewise.
5128 (bug-regex35-ENV): Likewise.
5129 (tst-rxspencer-ENV): Likewise.
5130 (tst-rxspencer-no-utf8-ENV): Likewise.
5131 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5132 (tst-sscanf-ENV): Likewise.
5133 (tst-swprintf-ENV): Likewise.
5134 (tst-swscanf-ENV): Likewise.
5135 (test-vfprintf-ENV): Likewise.
5136 (scanf13-ENV): Likewise.
5137 (bug14-ENV): Likewise.
5138 (tst-grouping-ENV): Likewise.
5139 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5140 (tst-strtod3-ENV): Likewise.
5141 (tst-strtod4-ENV): Likewise.
5142 (tst-strtod5-ENV): Likewise.
5143 (testmb2-ENV): Likewise./
5144 * string/Makefile (tst-strxfrm-ENV): Likewise.
5145 (tst-strxfrm2-ENV): Likewise.
5146 (bug-strcoll1-ENV): Likewise.
5147 (test-strcasecmp-ENV): Likewise.
5148 (test-strncasecmp-ENV): Likewise.
5149 * time/Makefile (tst-strptime-ENV): Likewise.
5150 (tst-ftime_l-ENV): Likewise.
5151 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5152 (tst-mbrtowc-ENV): Likewise.
5153 (tst-wcrtomb-ENV): Likewise.
5154 (tst-mbrtowc2-ENV): Likewise.
5155 (tst-c16c32-1-ENV): Likewise.
5156 (tst-mbsnrtowcs-ENV): Likewise.
5158 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5160 * manual/resource.texi (How to get information about the memory
5161 subsystem?): Fix typo.
5162 Reported by Peon de la Parra Ivan <peon@keba.com>
5164 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5167 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5168 (pthread_spin_lock): Branch out of spin loop to proper location.
5169 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5170 (pthread_spin_lock): Likewise.
5172 * nptl/tst-spin4.c: New test.
5173 * nptl/Makefile (tests): Add tst-spin4.
5175 2014-06-03 Andreas Schwab <schwab@suse.de>
5178 * resolv/res_send.c (send_dg): Reload file descriptor after
5181 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5185 2014-06-03 Richard Henderson <rth@redhat.com>
5187 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5188 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5189 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5190 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5191 in the SAVE_PID block.
5192 (__libc_vfork): New alias.
5193 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5195 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5196 child in registers, not on the stack. Remove RESET_PID conditionals.
5197 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5199 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5201 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5203 2014-06-03 Wilco <wdijkstr@arm.com>
5205 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5206 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5207 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5208 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5209 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5212 2014-06-03 Wilco <wdijkstr@arm.com>
5214 * sysdeps/aarch64/fpu/math_private.h
5215 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5216 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5217 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5218 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5221 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5223 * crypt/crypt-private.h: Include ufc-crypt.h.
5224 (__b64_from_24bit): Declare extern.
5225 * crypt/crypt_util.c(__b64_from_24bit): New function.
5226 (b64t): New static const variable.
5227 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5228 (b64t): Remove variable.
5229 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5230 * crypt/sha256-crypt.c: Include crypt-private.h.
5231 (b64t): Remove variable.
5232 (__sha256_crypt_r): Remove b64_from_24bit and replace
5233 with __b64_from_24bit.
5234 * crypt/sha512-crypt.c: Likewise.
5236 2014-06-02 Roland McGrath <roland@hack.frob.com>
5238 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5239 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5240 Label the code __libc_vfork rather than __vfork.
5241 [!NOT_IN_libc] (vfork): Define as weak alias.
5242 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5243 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5244 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5246 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5248 * malloc/malloc.c (malloc_info): Fix format specifier for
5251 2014-06-02 Wilco <wdijkstr@arm.com>
5253 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5256 2014-06-02 Wilco <wdijkstr@arm.com>
5259 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5260 Rewrite to reduce FPCR/FPSR accesses.
5262 2014-06-01 David S. Miller <davem@davemloft.net>
5264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5266 2014-05-31 David S. Miller <davem@davemloft.net>
5268 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5269 to occur in round to nearest mode when |x| >= 2.0
5271 2014-05-30 Richard Henderson <rth@twiddle.net>
5273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5274 (PSEUDO_RET_NOERRNO): Remove.
5275 (ret): Don't redefine.
5276 (ret_NOERRNO): Define in terms of ret.
5277 (ret_ERRVAL): Likewise.
5279 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5280 use of PSEUDO_RET; perform the error check directly.
5282 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5284 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5287 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5289 * malloc/malloc (malloc_info): Fix formatting.
5291 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 Roland McGrath <roland@hack.frob.com>
5294 * malloc/malloc (malloc_info): Also print mmapped statistics.
5296 2014-05-30 Roland McGrath <roland@hack.frob.com>
5298 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5299 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5301 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5303 * malloc/malloc.c (malloc_info): Inline mi_arena.
5305 2014-05-29 Richard Henderson <rth@twiddle.net>
5307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5308 Remove comma before expanding ASM_ARGS_##nr.
5309 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5310 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5312 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5313 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5314 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5315 (ASM_ARGS_1): Add leading comma.
5317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5318 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5319 to __errno_location.
5320 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5321 Remove the expected plt for __errno_location.
5323 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5324 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5327 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5328 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5329 it and break it down.
5330 (DOCARGS_0, DOCARGS_1): Do nothing.
5331 (DOCARGS_2): Update to store into the new stack frame.
5332 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5333 (UNDOCARGS_1): Update to restore from the new stack frame.
5334 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5335 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5337 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5338 (SINGLE_THREAD_P): New parameter for result regno.
5339 (PSEUDO): Update to match; use cbz instead of beq.
5341 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5342 Use ENTRY to define the _nocancel entry point. Share the syscall
5343 and syscall error check paths with the cancel path.
5346 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5347 whitespace; tabs before and after asm mnemonics.
5349 2014-05-29 Eric Wong <normalperson@yhbt.net>
5352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5353 Call fstat64 or stat64 internally, depending on arguments passed.
5354 Replace stat buffer argument with file descriptor argument.
5355 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5356 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5357 Pass fd to __internal_statvfs instead of calling fstat64.
5358 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5359 Pass fd to __internal_statvfs64 instead of calling fstat64.
5360 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5361 Pass -1 to __internal_statvfs instead of calling stat64.
5362 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5363 Pass -1 to __internal_statvfs64 instead of calling stat64.
5365 2014-05-28 Roland McGrath <roland@hack.frob.com>
5367 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5368 that was previously under [RESET_PID].
5369 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5371 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5372 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5374 2014-05-27 Roland McGrath <roland@hack.frob.com>
5376 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5378 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5379 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5381 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5383 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5385 2014-05-27 Andreas Schwab <schwab@suse.de>
5387 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5389 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5390 * elf/rtld.c (init_tls, dl_main): Likewise.
5391 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5392 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5393 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5394 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5395 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5396 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5397 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5398 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5399 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5400 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5401 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5402 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5403 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5404 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5405 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5406 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5407 * sysdeps/generic/tls.h: Update description.
5409 2014-05-27 Will Newton <will.newton@linaro.org>
5412 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5413 and restore r2 rather than just restoring.
5415 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5418 * libio/tst-ftell-append.c: New test case.
5419 * libio/Makefile (tests): Add test case.
5420 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5422 * libio/wfileops.c (do_ftell_wide): Likewise.
5424 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5428 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5432 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5433 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5435 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5437 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5445 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5447 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5448 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5450 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5453 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5455 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5457 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5459 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5462 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5464 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5487 conditional [RESET_PID].
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5496 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5497 (__libc_vfork): New strong alias.
5498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5505 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5506 (__libc_vfork): New strong alias.
5507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5512 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5514 * malloc/malloc.c (mi_arena): New function.
5515 (malloc_info): Remove nested function mi_arena. Call non-nosted
5518 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5522 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5523 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5524 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5526 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5527 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5528 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5530 2014-05-26 Andreas Schwab <schwab@suse.de>
5533 * locale/programs/repertoire.c (repertoire_read): Add slash
5534 between I18NPATH element and file name.
5535 * locale/programs/locfile.c (locfile_read): Likewise.
5537 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5539 * nptl/pthread_mutexattr_settype.c
5540 (__pthread_mutexattr_settype):
5541 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5543 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5545 * nptl/tst-mutex5 (do_test):
5546 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5548 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5550 * benchtests/README: Document 'init' directive.
5551 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5553 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5554 (parse_file): Recognize 'init' directive.
5556 2014-05-26 Kyle McMartin <kyle@redhat.com>
5559 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5560 alignment of struct pthread.
5562 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5565 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5566 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5567 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5568 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5570 2014-05-25 Richard Henderson <rth@twiddle.net>
5572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5573 (SINGLE_THREAD_P_PIC): Remove.
5574 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5575 (SINGLE_THREAD_P_PIC): Remove.
5577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5578 branch to syscall error ...
5580 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5581 from __local_syscall_error to .Lsyscall_error.
5582 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5583 (SYSCALL_ERROR): Update label name.
5585 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5586 Do not use DOARGS/UNDOARGS.
5587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5588 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5589 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5590 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5591 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5596 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5597 define if !NOT_IN_libc.
5598 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5599 define with non-default symbol versions.
5601 2014-05-23 Richard Henderson <rth@twiddle.net>
5603 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5604 (vfork, __vfork): Define via compat_symbol.
5606 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5607 [!HAVE_IFUNC] (vfork_compat): Remove.
5608 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5610 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5613 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5614 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5617 2014-05-23 Richard Henderson <rth@twiddle.net>
5619 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5620 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5621 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5622 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5624 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5625 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5626 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5627 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5628 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5629 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5630 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5631 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5632 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5633 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5634 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5635 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5636 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5651 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5653 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5658 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5659 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5663 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5664 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5665 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5666 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5667 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5668 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5669 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5671 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5672 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5673 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5674 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5675 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5676 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5677 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5678 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5679 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5681 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5682 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5683 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5684 before exiting on error.
5685 (__libc_vfork): New strong alias.
5686 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5687 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5689 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5690 that was previously under [RESET_PID].
5691 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5693 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5695 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5698 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5699 value when x - 1 is zero.
5700 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5701 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5702 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5703 0.0L for an argument of 1.0L.
5704 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5706 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5707 value when x - 1 is zero.
5708 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5709 * sysdeps/i386/fpu/libm-test-ulps: Update.
5710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5712 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5714 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5715 alphasort and versionsort.
5717 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5721 [copysignf]: Likewise.
5723 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5725 * crypt/md5-crypt.c: Fix formatting.
5727 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5729 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5730 (b64_from_24bit): New function.
5732 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5735 libc_hidden_builtin_def to ifunc.
5736 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5737 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5739 2014-05-21 Roland McGrath <roland@hack.frob.com>
5741 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5742 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5744 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5746 * nscd/Depend (linuxthreads): Remove.
5748 * resolv/Depend (linuxthreads): Remove.
5749 * rt/Depend (linuxthreads): Remove.
5751 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5752 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5753 $(common-objpfx)elf/.
5754 (link-libc-before-gnulib): Likewise.
5755 (elfobjdir): Remove variable.
5756 * Makefile (install): Use $(elf-objpfx) instead of
5757 $(common-objpfx)elf/.
5758 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5760 (link-libc-deps): Likewise.
5761 ($(common-objpfx)libc.so): Likewise.
5762 ($(common-objpfx)linkobj/libc.so): Likewise.
5763 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5764 instead of $(common-objpfx)elf/.
5765 (symbolic-link-list): Likewise.
5766 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5767 [$(cross-compiling) = no]: Likewise.
5768 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5770 (static-gnulib-arch): Likewise.
5771 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5772 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5773 $(common-objpfx)elf/.
5775 2014-05-21 Richard Henderson <rth@redhat.com>
5777 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5778 (SINGLE_THREAD_P): Use the correct width load. Fold
5779 into the ldr offset.
5781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5782 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5784 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5787 (libgcc_s_resume): Use __attribute_used__.
5788 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5791 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5793 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5794 optimization when used with float constants.
5796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5798 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5801 * locale/nl_langinfo_l.c: Make direct reference to every
5802 _nl_current_CATEGORY symbol.
5803 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5804 (tests-static): Add tst-langinfo-static.
5805 (tests-special): Add tst-langinfo-static.out.
5806 ($(objpfx)tst-langinfo.out): Redirect output.
5807 ($(objpfx)tst-langinfo-static.out): New.
5808 * localedata/tst-langinfo.sh: Send output to stdout.
5809 * localedata/tst-langinfo-static.c: New file.
5812 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5813 when the shift amount is modulo the limb size.
5815 2014-05-20 Richard Henderson <rth@redhat.com>
5818 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5819 Change type of sa_flags from unsigned int to int.
5822 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5824 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5826 2014-05-20 Will Newton <will.newton@linaro.org>
5828 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5829 Test the return value of the system call in the nocancel case.
5831 2014-05-20 Will Newton <will.newton@linaro.org>
5832 Yvan Roux <yvan.roux@linaro.org>
5834 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5835 #include of asm/ptrace.h.
5836 (PTRACE_GET_THREAD_AREA): Remove #undef.
5837 (PTRACE_GETHBPREGS): Likewise.
5838 (PTRACE_SETHBPREGS): Likewise.
5839 (struct user_regs_struct): New structure.
5840 (struct user_fpsimd_struct): New structure.
5841 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5842 #include of asm/ptrace.h and second #include of sys/user.h.
5843 (PTRACE_GET_THREAD_AREA): Remove #undef.
5844 (PTRACE_GETHBPREGS): Likewise.
5845 (PTRACE_SETHBPREGS): Likewise.
5846 (ELF_NGREG): Use new struct user_regs_struct.
5847 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5849 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5854 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5858 membar to avoid block loads/stores to overlap previous stores.
5860 2014-05-17 Richard Henderson <rth@redhat.com>
5862 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5863 Create the __##syscall_name##_nocancel entry point.
5864 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5865 Remove; let the sysdep-cancel.h code create it.
5867 2014-05-17 David S. Miller <davem@davemloft.net>
5869 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5870 Protect with __USE_GNU.
5871 (TIOCSET_TEMPT): Likewise.
5872 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5873 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5874 these are already provided in bits/ioctl-types.h
5876 2014-05-16 Roland McGrath <roland@hack.frob.com>
5878 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5879 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5881 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5882 Use wait4 regardless of [__NR_waitpid].
5884 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5887 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5888 (_FP_NANSIGN_Q): Set the quiet bit.
5890 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5892 * benchtests/Makefile
5893 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5894 not $(common-objpfx)math/libm.so.
5895 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5896 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5897 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5898 $(common-objpfx)dlfcn/libdl.so.
5899 ($(objpfx)tst-audit8): Depend on $(libm), not
5900 $(common-objpfx)math/libm.so.
5901 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5902 not $(common-objpfx)dlfcn/libdl.so.
5904 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5905 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5906 [$(build-shared) = yes].
5907 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5908 $(common-objpfx)nptl/libpthread.so.
5909 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5910 $(common-objpfx)math/libm.so$(libm.so-version) or
5911 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5912 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5913 $(common-objpfx)dlfcn/libdl.so.
5914 * setjmp/Makefile (link-libm): Remove variable.
5915 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5916 * stdio-common/Makefile (link-libm): Remove variable.
5917 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5918 * stdlib/Makefile (link-libm): Remove variable.
5919 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5920 ($(objpfx)tst-strtod-round): Likewise.
5921 ($(objpfx)tst-tininess): Likewise.
5922 ($(objpfx)tst-strtod-underflow): Likewise.
5923 ($(objpfx)tst-strtod6): Likewise.
5924 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5925 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5926 $(common-objpfx)dlfcn/libdl.so.
5928 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5931 BSD terminal modes definitions.
5933 2014-05-16 Roland McGrath <roland@hack.frob.com>
5935 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5936 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5938 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5939 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5940 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5941 Don't do #include_next.
5942 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5943 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5944 Don't do #include_next.
5945 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5946 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5947 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5948 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5950 2014-05-16 Allan McRae <allan@archlinux.org>
5952 * po/sv.po: Update Swedish translation from translation project.
5954 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5957 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5960 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5961 errno if the TIOCGPTN ioctl fails with an error different than
5963 * login/tst-ptsname.c: New file.
5964 * login/Makefile (tests): Add tst-ptsname.
5967 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5970 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5974 herrno to return EAI_AGAIN.
5976 2014-05-14 Roland McGrath <roland@hack.frob.com>
5978 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5979 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5980 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6007 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6009 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6014 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6016 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6020 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6028 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6038 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6043 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6045 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6047 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6049 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6053 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6064 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6066 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6069 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6070 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6071 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6072 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6074 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6076 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6077 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6078 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6080 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6081 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6082 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6084 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6086 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6088 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6090 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6092 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6094 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6096 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6097 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6098 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6100 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6101 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6103 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6104 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6105 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6107 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6108 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6111 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6113 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6116 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6117 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6119 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6120 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6121 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6124 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6125 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6126 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6128 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6129 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6130 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6131 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6133 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6138 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6139 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6141 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6149 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6150 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6151 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6152 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6153 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6155 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6158 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6161 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6166 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6169 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6170 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6171 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6173 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6175 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6178 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6183 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6184 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6185 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6186 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6195 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6197 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6199 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6201 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6204 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6207 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6210 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6213 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6215 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6217 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6220 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6221 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6222 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6224 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6225 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6226 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6227 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6229 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6234 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6235 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6237 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6240 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6244 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6246 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6247 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6248 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6249 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6250 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6256 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6257 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6259 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6260 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6262 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6263 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6264 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6266 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6267 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6268 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6269 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6270 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6273 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6276 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6278 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6281 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6283 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6288 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6290 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6295 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6298 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6302 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6304 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6306 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6308 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6310 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6312 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6314 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6316 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6317 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6318 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6319 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6320 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6322 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6323 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6325 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6326 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6327 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6328 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6329 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6330 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6331 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6336 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6337 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6338 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6339 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6340 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6341 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6342 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6343 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6344 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6345 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6346 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6347 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6375 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6376 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6377 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6379 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6380 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6381 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6382 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6383 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6384 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6387 that was previously under [RESET_PID].
6388 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6389 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6390 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6392 * sysdeps/i386/nptl/Implies: New file.
6393 * sysdeps/x86_64/nptl/Implies: New file.
6394 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6395 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6396 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6397 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6399 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6400 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6401 (__libc_vfork): New strong alias.
6402 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6403 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6405 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6406 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6407 (__libc_vfork): New strong alias.
6408 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6409 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6411 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6412 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6413 (__libc_vfork): New strong alias.
6414 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6415 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6416 * nptl/pt-vfork.c: New file.
6417 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6418 (libpthread: GLIBC_2.20): New version set (empty).
6420 2014-05-14 Will Newton <will.newton@linaro.org>
6422 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6425 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6428 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6429 arguments with exponent 65 or above.
6430 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6431 arguments 0x1p113L or above.
6432 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6433 to arguments 0x1p107L or above.
6434 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6435 positive arguments with exponent 65 or above.
6436 * math/auto-libm-test-in: Add more tests of log1p.
6437 * math/auto-libm-test-out: Regenerated.
6440 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6441 non-finite arguments is +0.
6442 * math/s_cacosf.c (__cacosf): Likewise.
6443 * math/s_cacosl.c (__cacosl): Likewise.
6444 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6449 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6451 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6452 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6453 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6454 for explicit high bit of mantissa when testing for argument equal
6456 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6457 * sysdeps/i386/fpu/libm-test-ulps: Update.
6458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6461 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6462 (__erf): Scale by 16 instead of 8 in potentially underflowing
6463 case. Ensure exception if result actually underflows.
6464 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6465 (__erff): Scale by 16 instead of 8 in potentially underflowing
6466 case. Ensure exception if result actually underflows.
6467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6468 (efx8): Remove variable.
6469 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6470 case. Ensure exception if result actually underflows.
6471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6472 (efx8): Remove variable.
6473 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6474 case. Ensure exception if result actually underflows.
6475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6476 (efx8): Remove variable.
6477 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6478 case. Ensure exception if result actually underflows.
6479 * math/auto-libm-test-in: Add more tests of erf.
6480 * math/auto-libm-test-out: Regenerated.
6482 2014-05-14 Andreas Schwab <schwab@suse.de>
6484 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6485 Remove code conditionalized on USE___THREAD.
6487 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6488 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6491 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6494 Define unconditionally.
6495 (__ASSUME_O_CLOEXEC): Likewise.
6496 (__ASSUME_SOCK_CLOEXEC): Likewise.
6497 (__ASSUME_IN_NONBLOCK): Likewise.
6498 (__ASSUME_PIPE2): Likewise.
6499 (__ASSUME_EVENTFD2): Likewise.
6500 (__ASSUME_SIGNALFD4): Likewise.
6501 (__ASSUME_DUP3): Likewise.
6502 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6503 (__ASSUME_DUP3): Do not define.
6504 (__ASSUME_EVENTFD2): Likewise.
6505 (__ASSUME_IN_NONBLOCK): Likewise.
6506 (__ASSUME_O_CLOEXEC): Likewise.
6507 (__ASSUME_PIPE2): Likewise.
6508 (__ASSUME_SIGNALFD4): Likewise.
6509 (__ASSUME_SOCK_CLOEXEC): Likewise.
6510 (__ASSUME_UTIMES): Undefine.
6511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6512 (__ASSUME_UTIMES): Do not define.
6513 (__ASSUME_O_CLOEXEC): Likewise.
6514 (__ASSUME_SOCK_CLOEXEC): Likewise.
6515 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6516 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6518 (__ASSUME_PIPE2): Likewise.
6519 (__ASSUME_EVENTFD2): Likewise.
6520 (__ASSUME_SIGNALFD4): Likewise.
6521 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6522 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6524 (__ASSUME_EVENTFD2): Likewise.
6525 (__ASSUME_SIGNALFD4): Likewise.
6526 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6527 (__ASSUME_32BITUIDS): Likewise.
6528 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6529 (__ASSUME_IPC64): Likewise.
6530 (__ASSUME_ST_INO_64_BIT): Likewise.
6531 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6532 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6533 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6534 (__ASSUME_UTIMES): Do not define.
6535 (__ASSUME_PSELECT): Likewise.
6536 (__ASSUME_PPOLL): Likewise.
6537 (__ASSUME_O_CLOEXEC): Likewise.
6538 (__ASSUME_SOCK_CLOEXEC): Likewise.
6539 (__ASSUME_IN_NONBLOCK): Likewise.
6540 (__ASSUME_PIPE2): Likewise.
6541 (__ASSUME_EVENTFD2): Likewise.
6542 (__ASSUME_SIGNALFD4): Likewise.
6543 (__ASSUME_DUP3): Likewise.
6544 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6545 (__ASSUME_UTIMES): Likewise.
6546 (__ASSUME_O_CLOEXEC): Likewise.
6547 (__ASSUME_SOCK_CLOEXEC): Likewise.
6548 (__ASSUME_IN_NONBLOCK): Likewise.
6549 (__ASSUME_PIPE2): Likewise.
6550 (__ASSUME_EVENTFD2): Likewise.
6551 (__ASSUME_SIGNALFD4): Likewise.
6552 (__ASSUME_DUP3): Likewise.
6553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6554 (__ASSUME_UTIMES): Likewise.
6555 (__ASSUME_O_CLOEXEC): Likewise.
6556 (__ASSUME_SOCK_CLOEXEC): Likewise.
6557 (__ASSUME_IN_NONBLOCK): Likewise.
6558 (__ASSUME_PIPE2): Likewise.
6559 (__ASSUME_EVENTFD2): Likewise.
6560 (__ASSUME_SIGNALFD4): Likewise.
6561 (__ASSUME_DUP3): Likewise.
6562 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6564 (__ASSUME_UTIMES): Likewise.
6565 (__ASSUME_EVENTFD2): Likewise.
6566 (__ASSUME_SIGNALFD4): Likewise.
6567 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6568 (__ASSUME_O_CLOEXEC): Likewise.
6569 (__ASSUME_SOCK_CLOEXEC): Likewise.
6570 (__ASSUME_IN_NONBLOCK): Likewise.
6571 (__ASSUME_PIPE2): Likewise.
6572 (__ASSUME_EVENTFD2): Likewise.
6573 (__ASSUME_SIGNALFD4): Likewise.
6574 (__ASSUME_DUP3): Likewise.
6575 (__ASSUME_UTIMES): Undefine.
6577 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6578 feclearexcept. Remove symbol versioning code.
6579 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6580 symbol versioning code.
6581 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6582 symbol versioning code.
6583 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6584 feupdateenv. Remove symbol versioning code.
6585 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6586 fegetexceptflag. Remove symbol versioning code.
6587 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6588 fesetexceptflag. Remove symbol versioning code.
6589 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6590 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6591 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6592 (__posix_fadvise64_l32): Remove prototype.
6593 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6596 2014-05-13 Roland McGrath <roland@hack.frob.com>
6598 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6599 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6600 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6601 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6603 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6605 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6606 current working directory
6608 2014-05-13 Roland McGrath <roland@hack.frob.com>
6610 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6611 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6612 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6613 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6614 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6615 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6616 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6617 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6619 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6621 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6622 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6623 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6625 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6627 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6631 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6632 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6633 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6637 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6638 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6639 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6643 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6644 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6645 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6646 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6647 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6648 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6649 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6650 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6651 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6653 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6654 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6656 * sysdeps/unix/sysv/linux/arm/Makefile
6657 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6658 Add rt-aeabi_unwind_cpp_pr1.
6659 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6660 Add nptl-aeabi_unwind_cpp_pr1.
6661 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6662 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6663 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6664 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6665 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6666 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6668 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6669 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6670 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6671 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6673 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6674 Deconditionalize the code that was previously under [RESET_PID].
6675 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6677 * sysdeps/generic/exit-thread.h: New file.
6678 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6679 * include/unistd.h (__exit_thread): Remove declaration.
6680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6681 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6682 * csu/libc-start.c: Include <exit-thread.h>.
6683 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6684 * nptl/pthread_create.c: Include <exit-thread.h>.
6685 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6686 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6687 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6688 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6689 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6690 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6691 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6692 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6693 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6694 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6695 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6696 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6697 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6698 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6699 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6700 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6701 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6703 2014-05-13 Andreas Schwab <schwab@suse.de>
6705 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6707 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6710 (__ASSUME_UTIMES): Do not condition on kernel version.
6711 (__ASSUME_PSELECT): Define unconditionally.
6712 (__ASSUME_PPOLL): Likewise.
6713 (__ASSUME_ATFCTS): Likewise.
6714 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6715 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6716 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6717 (__ASSUME_UTIMENSAT): Define unconditionally.
6718 (__ASSUME_PRIVATE_FUTEX): Likewise.
6719 (__ASSUME_FALLOCATE): Likewise.
6720 (__ASSUME_O_CLOEXEC): Likewise.
6721 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6722 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6723 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6724 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6725 (__ASSUME_IN_NONBLOCK): Likewise.
6726 (__ASSUME_PIPE2): Likewise.
6727 (__ASSUME_EVENTFD2): Likewise.
6728 (__ASSUME_SIGNALFD4): Likewise.
6729 (__ASSUME_DUP3): Likewise.
6730 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6731 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6732 (__ASSUME_AT_RANDOM): Likewise.
6733 (__ASSUME_PREADV): Likewise.
6734 (__ASSUME_PWRITEV): Likewise.
6735 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6736 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6737 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6738 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6739 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6741 (__ASSUME_O_CLOEXEC): Define unconditionally.
6742 (__ASSUME_PSELECT): Do not undefine conditionally.
6743 (__ASSUME_PPOLL): Likewise.
6744 (__ASSUME_ATFCTS): Likewise.
6745 (__ASSUME_SET_ROBUST_LIST): Likewise.
6746 (__ASSUME_UTIMENSAT): Likewise.
6747 (__ASSUME_FDATASYNC): Define unconditionally.
6748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6749 (__ASSUME_SIGFRAME_V2): Likewise.
6750 )__ASSUME_EVENTFD2): Likewise.
6751 (__ASSUME_SIGNALFD4): Likewise.
6752 (__ASSUME_PSELECT): Do not undefine conditionally.
6753 (__ASSUME_PPOLL): Likewise.
6754 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6755 (__ASSUME_PSELECT): Define unconditionally.
6756 (__ASSUME_PPOLL): Likewise.
6757 (__ASSUME_O_CLOEXEC): Likewise.
6758 (__ASSUME_SOCK_CLOEXEC): Likewise.
6759 (__ASSUME_IN_NONBLOCK): Likewise.
6760 (__ASSUME_PIPE2): Likewise.
6761 (__ASSUME_EVENTFD2): Likewise.
6762 (__ASSUME_SIGNALFD4): Likewise.
6763 (__ASSUME_DUP3): Likewise.
6764 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6765 (__ASSUME_O_CLOEXEC): Likewise.
6766 (__ASSUME_SOCK_CLOEXEC): Likewise.
6767 (__ASSUME_IN_NONBLOCK): Likewise.
6768 (__ASSUME_PIPE2): Likewise.
6769 (__ASSUME_EVENTFD2): Likewise.
6770 (__ASSUME_SIGNALFD4): Likewise.
6771 (__ASSUME_DUP3): Likewise.
6772 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6773 (__ASSUME_EVENTFD2): Likewise.
6774 (__ASSUME_SIGNALFD4): Likewise.
6775 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6777 2014-05-12 Andreas Schwab <schwab@suse.de>
6780 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6781 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6782 than maximum RPC packet size.
6783 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6784 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6785 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6786 (_nss_nis_getservbyport_r): Likewise.
6788 2014-05-12 Will Newton <will.newton@linaro.org>
6790 * malloc/Makefile (tests): Add tst-mallopt.
6791 * malloc/tst-mallopt.c: New file.
6793 2014-05-09 Roland McGrath <roland@hack.frob.com>
6795 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6796 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6798 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6800 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6801 (tst-tlsmod6.so): Likewise.
6803 2014-05-09 Roland McGrath <roland@hack.frob.com>
6805 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6807 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6810 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6811 and <dl-procinfo.h>.
6812 (__fegetenv): Save SSE state in envp->__eip if supported.
6813 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6814 envp->__eip if supported.
6815 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6816 and <dl-procinfo.h>.
6817 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6818 __data_offset and __data_selector in environment to 0. Set SSE
6820 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6822 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6824 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6826 2014-05-09 Will Newton <will.newton@linaro.org>
6828 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6829 and libc_relro_required for ARM.
6830 * sysdeps/arm/preconfigure: Regenerate.
6832 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6833 Stefan Liebler <stli@linux.vnet.ibm.com>
6835 * config.make.in (enable-lock-elision): New Makefile variable.
6836 * configure.ac: Likewise.
6837 * configure: Regenerate.
6838 * sysdeps/s390/configure.ac:
6839 Add check for gcc transactions support.
6840 * sysdeps/s390/configure: Regenerate.
6841 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6842 Build elision files if enabled.
6843 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6844 Add lock elision support for s390.
6845 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6846 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6847 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6848 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6849 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6850 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6851 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6853 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6855 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6857 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6859 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6860 (__lll_timedlock_elision, __lll_lock_elision)
6861 (__lll_unlock_elision, __lll_trylock_elision)
6862 (lll_timedlock_elision, lll_lock_elision)
6863 (lll_unlock_elision, lll_trylock_elision): Add.
6864 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6865 (pthread_mutex_t): Add lock elision support for s390.
6867 2014-05-14 Wilco <wdijkstr@arm.com>
6869 * sysdeps/arm/fclrexcpt.c: Cleanup.
6870 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6871 * sysdeps/arm/feenablxcpt.c: Cleanup.
6872 * sysdeps/arm/fegetenv.c: Cleanup.
6873 * sysdeps/arm/fegetexcept.c: Cleanup.
6874 * sysdeps/arm/fegetround.c: Cleanup.
6875 * sysdeps/arm/feholdexcpt.c: Cleanup.
6876 * sysdeps/arm/fesetenv.c: Cleanup.
6877 * sysdeps/arm/fesetround.c: Cleanup.
6878 * sysdeps/arm/feupdateenv.c: Cleanup.
6879 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6880 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6881 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6882 * sysdeps/arm/ftestexcept.c: Cleanup.
6883 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6884 * sysdeps/arm/setfpucw.c: Cleanup.
6886 2014-05-09 Will Newton <will.newton@linaro.org>
6888 * sysdeps/arm/armv7/strcmp.S: New file.
6889 * NEWS: Mention addition of ARMv7 optimized strcmp.
6891 2014-05-08 Roland McGrath <roland@hack.frob.com>
6893 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6894 look for %.ac rather than %.in.
6896 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6897 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6898 * sysdeps/mach/hurd/configure: Regenerated.
6899 * sysdeps/unix/sysv/linux/configure: Regenerated.
6901 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6903 2014-05-07 Steve Ellcey <sellcey@mips.com>
6906 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6910 2014-05-07 Andreas Schwab <schwab@suse.de>
6912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6913 when skipping over non-matching result from nscd.
6915 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6918 * nptl/sockperf.c (client): Check socket return value.
6921 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6922 nscd security class.
6924 2014-05-06 Roland McGrath <roland@hack.frob.com>
6926 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6927 * sysdeps/arm/unwind.h: ... here.
6929 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6932 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6935 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6937 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6938 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6939 multiarch strncpy for PPC64.
6940 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6941 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6943 multiarch optimizations.
6944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6945 (__libc_ifunc_impl_list): Likewise.
6946 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6947 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6948 multiarch stpncpy for PPC64.
6949 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6950 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6952 2014-05-06 Andreas Schwab <schwab@suse.de>
6955 * gmon/mcount.c (_MCOUNT_DECL): Use
6956 atomic_compare_and_exchange_bool_acq instead of
6957 catomic_compare_and_exchange_bool_acq.
6959 2014-05-05 Roland McGrath <roland@hack.frob.com>
6961 * elf/Makefile (others, install-bin): Remove pldd.
6962 (pldd-modules): Variable removed.
6963 ($(objpfx)pldd): Target removed.
6964 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6965 (others, install-bin): Append pldd here.
6966 ($(objpfx)pldd): New target.
6968 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6969 to 0, so the first #if test emitted later doesn't see it undefined.
6970 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6971 * sysdeps/gnu/errlist.c: Regenerated.
6973 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6976 [libc_hidden_builtin_def]: Define to empty value.
6977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6978 [libc_hidden_builtin_def]: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6980 [libc_hidden_builtin_def]: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6982 [libc_hidden_builtin_def]: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6984 __redirect_memcpy and define ifunc as default hidden symbol.
6985 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6986 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6988 2014-05-04 Adam Conrad <adconrad@0c3.net>
6990 * locale/iso-4217.def: Reintroduce XDR currency.
6992 2014-05-04 Allan McRae <allan@archlinux.org>
6994 * po/eo.po: Update Esperanto translation from translation project.
6996 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6998 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6999 and FEATURE_INDEX_MAX to 1.
7000 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7002 2014-05-01 Steve Ellcey <sellcey@mips.com>
7004 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7005 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7006 * iconvdata/big5.c (ONE_DIRECTION): Define.
7007 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7008 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7009 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7010 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7011 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7012 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7013 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7014 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7015 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7016 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7017 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7018 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7019 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7020 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7021 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7022 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7023 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7024 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7025 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7026 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7027 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7028 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7029 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7030 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7031 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7032 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7033 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7034 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7035 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7036 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7037 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7038 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7039 * iconvdata/johab.c (ONE_DIRECTION): Define.
7040 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7041 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7042 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7043 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7044 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7045 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7046 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7047 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7048 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7049 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7051 2014-05-01 Roland McGrath <roland@hack.frob.com>
7053 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7054 (_IO_JUMPS_OFFSET): Define to 0.
7056 * nptl/sysdeps/pthread/bits/libc-lock.h
7057 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7058 (__libc_lock_define_initialized_recursive): Always define using
7059 initializer. Modern compilers treat uninitialized (implicit zero) and
7060 explicit zero initializers the same (i.e. put the datum in bss).
7062 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7064 * nscd/nscd-client.h: Include <string.h>.
7066 2014-05-01 David S. Miller <davem@davemloft.net>
7069 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7070 multiple zero bytes exist at the end of a string.
7071 Reported by Aurelien Jarno <aurelien@aurel32.net>
7073 * string/test-strcmp.c (check): Add explicit test for situations where
7074 there are multiple zero bytes after the first.
7076 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7079 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7080 when compiling wprintf.
7081 * stdio-common/tstdiomisc.c (t3): New function.
7084 2014-05-01 Steve Ellcey <sellcey@mips.com>
7086 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7087 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7088 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7089 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7091 2014-05-01 Steve Ellcey <sellcey@mips.com>
7093 * stdlib/longlong.h: Updated from GCC.
7095 2014-05-01 Will Newton <will.newton@linaro.org>
7096 Bernard Ogden <bernie.ogden@linaro.org>
7098 * NEWS: Update fixed bug list.
7101 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7103 2014-04-30 David S. Miller <davem@davemloft.net>
7105 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7106 (libc_feholdexcept_setround_sparc_ctx): New function.
7107 (libc_fesetenv_sparc_ctx): Likewise.
7108 (libc_feupdateenv_sparc_ctx): Likewise.
7109 (libc_feholdsetround_sparc_ctx): Likewise.
7110 (libc_feholdexcept_setround_ctx): Define.
7111 (libc_feholdexcept_setroundf_ctx): Likewise.
7112 (libc_feholdexcept_setroundl_ctx): Likewise.
7113 (libc_fesetenv_ctx): Likewise.
7114 (libc_fesetenvf_ctx): Likewise.
7115 (libc_fesetenvl_ctx): Likewise.
7116 (libc_feupdateenv_ctx): Likewise.
7117 (libc_feupdateenvf_ctx): Likewise.
7118 (libc_feupdateenvl_ctx): Likewise.
7119 (libc_feresetround_ctx): Likewise.
7120 (libc_feresetroundf_ctx): Likewise.
7121 (libc_feresetroundl_ctx): Likewise.
7122 (libc_feholdsetround_ctx): Likewise.
7123 (libc_feholdsetroundf_ctx): Likewise.
7124 (libc_feholdsetroundl_ctx): Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7127 with __USE_GNU instead of XOPEN cpp guards.
7129 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7133 with XOPEN cpp guards.
7135 2014-04-30 Julian Brown <julian@codesourcery.com>
7138 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7141 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7146 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7147 * sysdeps/unix/sysv/linux/configure: Regenerated.
7148 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7149 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7150 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7151 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7152 * README: Update reference to required Linux kernel version.
7153 * manual/install.texi (Linux): Update reference to required Linux
7154 kernel headers version.
7155 * INSTALL: Regenerated.
7157 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7159 [POSIX] (limits.h): Likewise.
7160 [POSIX] (math.h): Likewise.
7161 [POSIX] (sys/wait.h): Likewise.
7162 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7164 [POSIX] (stddef.h): Do not allow header inclusion.
7166 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7168 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7170 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7172 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7173 Return immediately after lll_futex_wake.
7175 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7180 (datahead_init_pos): Call datahead_init_common early.
7181 (datahead_init_neg): Likewise.
7183 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7184 datahead_init_neg): New functions.
7185 * nscd/aicache.c (addhstaiX): Use them.
7186 * nscd/grpcache.c (cache_addgr): Likewise.
7187 * nscd/hstcache.c (cache_addhst): Likewise.
7188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7189 * nscd/netgroupcache.c (do_notfound): Likewise.
7190 (addgetnetgrentX): Likewise.
7191 (addinnetgrX): Likewise.
7192 * nscd/pwdcache.c (cache_addpw): Likewise.
7193 * nscd/servicescache.c (cache_addserv): Likewise.
7195 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7196 Atsushi Onoe <atsushi@onoe.org>
7201 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7202 one response is valid.
7203 * resolv/res_send.c (send_dg): Check for validity of other
7204 response if the current response is a referral.
7206 2014-04-29 Steve Ellcey <sellcey@mips.com>
7208 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7210 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7213 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7214 Always divide by positive zero when computing -Inf result.
7215 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7216 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7218 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7220 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7221 FPSCR if value do not change.
7222 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7223 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7224 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7225 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7226 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7227 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7230 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7232 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7233 * sysdeps/unix/sysv/linux/hppa: Move directory from
7234 ports/systeps/unix/sysv/linux/hppa.
7235 * README: Update listing for hppa-*-linux-gnu.
7237 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7240 * manual/stdio.texi (Hook functions): Fix types of stream hook
7243 * socket/sys/socket.h: Fix typo in comment.
7245 2014-04-28 Wilco <wdijkstr@arm.com>
7247 * sysdeps/arm/fenv_private.h: New file.
7248 * sysdeps/arm/math_private.h: New file.
7249 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7251 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7253 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7255 (La_x86_64_retval): Likewise.
7257 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7259 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7260 fpsr if value didn't change.
7261 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7262 to fpcr if value didn't change.
7263 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7264 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7265 fpsr or fpcr if value didn't change.
7266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7267 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7268 fpcr if value didn't change.
7269 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7270 to fpsr if value didn't change.
7272 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7274 * nptl/tst-sem3.c: Use test-skeleton.c
7275 (main): Rename to do_test. Use return instead of
7277 * nptl/tst-sem4.c: Use test-skeleton.c
7278 (main): Rename to do_test.
7280 2014-04-22 David S. Miller <davem@davemloft.net>
7282 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7283 (struct sigaction): New struct member __glibc_reserved0, change
7284 type of sa_flags to int.
7286 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7288 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7289 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7291 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7293 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7294 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7296 2014-04-22 Will Newton <will.newton@linaro.org>
7297 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7299 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7300 (__longjmp): Add longjmp and longjmp_target SystemTap
7302 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7303 (__sigsetjmp): Add setjmp SystemTap probe.
7305 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7307 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7310 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7314 * sysdeps/powerpc/fpu/fenv_private.h
7315 (libc_feholdexcept_setroundl_ctx): Define to
7316 libc_feholdexcept_setround_ppc_ctx.
7317 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7318 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7319 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7320 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7322 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7324 * sysdeps/aarch64/math-tests.h: New file.
7326 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7328 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7331 Check and set bit_AVX2_Usable.
7332 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7334 (bit_AVX2): Likewise.
7335 (index_AVX2_Usable): Likewise.
7336 (CPUID_AVX2): Likewise.
7337 (HAS_AVX2): Likewise.
7339 2014-04-17 Will Newton <will.newton@linaro.org>
7341 * manual/setjmp.texi (System V contexts): Add note that
7342 calling setcontext on a context created by a call to a
7343 signal handler is undefined. Update text to note that
7344 setcontext from a signal handler is possible but not
7348 * stdlib/tst-setcontext.c: Include signal.h.
7349 (main): Check that the signal stack before and
7350 after swapcontext is the same.
7352 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7353 Re-implement to restore registers in user code and avoid
7354 rt_sigreturn system call.
7356 2014-04-17 Wilco <wdijkstr@arm.com>
7358 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7359 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7360 * math/test-fenv.c: Skip exception trap tests on targets which only
7361 support non-stop mode.
7363 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7364 Wilco Dijkstra <wilco.dijkstra@arm.com>
7366 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7367 (libc_feholdsetround_aarch64_ctx)
7368 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7369 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7370 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7371 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7372 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7373 (libc_feresetround_noexl_ctx): Define.
7375 2014-04-16 Richard Henderson <rth@redhat.com>
7377 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7379 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7382 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7383 const from the non-libc, non-ldso copy.
7385 * sysdeps/alpha/libm-test-ulps: Regenerate.
7387 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7388 Wilco Dijkstra <wilco.dijkstra@arm.com>
7390 * sysdeps/aarch64/fpu/math_private.h: New file.
7392 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7394 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7396 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7399 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7400 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7402 Intel MPX bound registers before _dl_profile_fixup.
7403 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7404 registers after _dl_profile_fixup. Save and restore bound
7405 registers bnd0/bnd1 when calling _dl_call_pltexit.
7406 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7407 (LR_BND_OFFSET): Likewise.
7408 (LRV_BND0_OFFSET): Likewise.
7409 (LRV_BND1_OFFSET): Likewise.
7411 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7413 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7415 * sysdeps/mach/hurd/i386/tls.h: ... here.
7416 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7417 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7420 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7424 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7426 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7428 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7431 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7432 * sysdeps/s390/configure: Regenerate.
7435 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7436 Set round-to-nearest internally to reduce error accumulation.
7438 2014-04-16 Alan Modra <amodra@gmail.com>
7442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7443 * math/libm-test.inc (frexp_test_data): Add tests.
7444 * NEWS: Update fixed bug list.
7446 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7448 * benchtests/Makefile: Depend on libraries in build directory.
7449 (bench-math): Separate out math tests.
7450 (bench-pthread): Separate out pthread tests.
7451 (bench): Include math and pthread tests.
7453 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7456 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7457 _dl_debug_initialize.
7459 * configure.ac: Remove SELinux header check.
7460 * configure: Regenerate.
7461 * nscd/selinux.c (perms): Array of const char* to permission names.
7462 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7463 default policy. Call string_to_security_class and string_to_av_perm to
7464 translate strings. Enforce default policy and call avs_has_perm with
7465 results of translated strings.
7467 2014-04-13 David S. Miller <davem@davemloft.net>
7469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7471 2014-04-12 Allan McRae <allan@archlinux.org>
7474 * manual/string.texi (Collation Functions): Fix qsort argument
7476 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7478 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7480 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7481 Make the test a no-op if there are no exceptions defined.
7483 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7485 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7486 enable-hardcoded-path-in-tests
7488 2014-04-11 Will Newton <will.newton@linaro.org>
7490 * benchtests/Makefile (extra-objs): Add json-lib.o.
7491 (bench-func): Tidy up JSON output.
7492 * benchtests/bench-skeleton.c: Include json-lib.h.
7493 (main): Use JSON library functions to do output of
7495 * benchtests/bench-timing-type.c (main): Output the
7496 timing type simply, leaving formatting to the user.
7497 * benchtests/json-lib.c: New file.
7498 * benchtests/json-lib.h: Likewise.
7500 2014-04-11 Torvald Riegel <triegel@redhat.com>
7503 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7504 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7505 memory barriers. Add comments.
7506 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7507 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7508 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7509 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7510 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7511 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7513 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7515 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7516 * sysdeps/s390/s390-64/configure.ac: ... this ...
7517 * sysdeps/s390/configure.ac: ... to here.
7518 * sysdeps/s390/s390-32/configure: Delete file.
7519 * sysdeps/s390/s390-64/configure: Delete file.
7520 * sysdeps/s390/configure: Regenerate.
7522 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7524 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7526 2014-04-11 Will Newton <will.newton@linaro.org>
7528 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7529 to zero if it is not defined elsewhere. (mtrim): Test
7530 the value of MALLOC_DEBUG with #if rather than #ifdef.
7532 2014-04-10 Torvald Riegel <triegel@redhat.com>
7534 * benchtests/pthread_once-inputs: New file.
7535 * benchtests/pthread_once-source.c: New file.
7536 * benchtests/README: Update documentation.
7538 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7539 H.J. Lu <hongjiu.lu@intel.com>
7542 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7543 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7544 * sysdeps/x86_64/configure: Regenerated.
7545 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7547 (REGISTER_SAVE_RAX): Likewise.
7548 (REGISTER_SAVE_RCX): Likewise.
7549 (REGISTER_SAVE_RDX): Likewise.
7550 (REGISTER_SAVE_RSI): Likewise.
7551 (REGISTER_SAVE_RDI): Likewise.
7552 (REGISTER_SAVE_R8): Likewise.
7553 (REGISTER_SAVE_R9): Likewise.
7554 (REGISTER_SAVE_BND0): Likewise.
7555 (REGISTER_SAVE_BND1): Likewise.
7556 (REGISTER_SAVE_BND2): Likewise.
7557 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7558 bound registers when calling _dl_fixup.
7560 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7562 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7563 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7565 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7566 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7567 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7568 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7569 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7570 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7571 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7573 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7576 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7577 pathconf(_PC_NAME_MAX).
7579 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7581 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7583 (__PTHREAD_SPINS): Move definition to ...
7584 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7585 (__PTHREAD_SPINS): ... here.
7586 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7587 (__PTHREAD_SPIN): Likewise.
7588 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7589 (__PTHREAD_SPIN): Likewise.
7590 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7591 (__PTHREAD_SPIN): Likewise.
7592 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7593 (__PTHREAD_SPIN): Likewise.
7594 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7595 (__PTHREAD_SPIN): Likewise.
7596 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7597 (__PTHREAD_SPIN): Likewise.
7598 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7599 (__PTHREAD_SPIN): Likewise.
7600 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7601 (__PTHREAD_SPIN): Likewise.
7602 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7603 (__PTHREAD_SPIN): Likewise.
7604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7605 (__PTHREAD_SPIN): Likewise.
7606 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7607 (__PTHREAD_SPIN): Likewise.
7608 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7609 (__PTHREAD_SPIN): Likewise.
7611 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7612 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7613 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7614 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7616 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7617 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7618 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7619 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7621 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7622 strlen symbol for non multi-arch builds.
7623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7624 missing hidden_def and weak_alias.
7626 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7628 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7630 2014-04-07 Will Newton <will.newton@linaro.org>
7632 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7633 and contents. [!_LIBC] Remove #ifndef and contents.
7634 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7635 * string/memccpy.c (__memccpy): Use ANSI prototype.
7636 * string/memfrob.c (memfrob): Likewise.
7637 * string/strcoll.c (STRCOLL): Likewise.
7638 * string/strlen.c (strlen): Likewise.
7639 * string/strtok.c (STRTOK): Likewise.
7640 * string/strcat.c: Remove unused #include of memcopy.h.
7641 (strcat): Use ANSI prototype.
7642 * string/strchr.c: Remove unused #include of memcopy.h.
7643 (strchr): Use ANSI prototype.
7644 * string/strcmp.c: Remove unused #include of memcopy.h.
7645 (strcmp): Use ANSI prototype.
7646 * string/strcpy.c: Remove unused #include of memcopy.h.
7647 (strcpy): Use ANSI prototype.
7649 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7651 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7652 * config.make.in (config-extra-cppflags): Set it from
7653 libc_extra_cppflags.
7654 * configure.ac (libc_extra_cflags): Make it accumulate over
7655 configure fragments.
7656 (libc_extra_cppflags): New flag.
7657 * configure. Regenerate.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7659 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7660 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7665 result for FE_DOWNWARD rounding mode.
7666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7670 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7672 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7673 in function argument name.
7675 2014-04-03 David Svoboda <svoboda@cert.org>
7678 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7681 2014-04-03 Roland McGrath <roland@hack.frob.com>
7683 * elf/dl-unmap-segments.h: New file.
7684 * sysdeps/generic/ldsodefs.h
7685 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7686 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7687 * elf/dl-fptr.c: Likewise.
7688 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7689 * sysdeps/aarch64/tlsdesc.c: Likewise.
7690 * sysdeps/arm/tlsdesc.c: Likewise.
7691 * sysdeps/i386/tlsdesc.c: Likewise.
7692 * sysdeps/tile/dl-runtime.c: Likewise.
7693 * sysdeps/x86_64/tlsdesc.c: Likewise.
7694 * elf/dl-load.h: New file.
7695 * elf/dl-load.c: Include it.
7696 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7697 Macros moved to dl-load.h.
7698 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7699 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7700 Use _dl_unmap_segments in place of __munmap.
7701 Break out segment-mapping loop into ...
7702 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7704 2014-04-03 Will Newton <will.newton@linaro.org>
7706 * elf/dl-lookup.c (do_lookup_x): Remove comment
7707 referring to nested function and move variable
7708 declarations down to before first use.
7710 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7714 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7716 * math/s_catanf.c (__catanf): Likewise.
7717 * math/s_catanh.c (__catanh): Likewise.
7718 * math/s_catanhf.c (__catanhf): Likewise.
7719 * math/s_catanhl.c (__catanhl): Likewise.
7720 * math/s_catanl.c (__catanl): Likewise.
7721 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7722 by positive zero when computing -Inf result.
7723 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7724 (catanh_test): Likewise.
7725 * sysdeps/i386/fpu/libm-test-ulps: Update.
7726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7730 instead of using underflowing value in computing result.
7731 * math/s_clog10.c (__clog10): Likewise.
7732 * math/s_clog10f.c (__clog10f): Likewise.
7733 * math/s_clog10l.c (__clog10l): Likewise.
7734 * math/s_clogf.c (__clogf): Likewise.
7735 * math/s_clogl.c (__clogl): Likewise.
7736 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7737 (clog10_test): Likewise.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7741 2014-04-02 Alan Modra <amodra@gmail.com>
7744 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7745 output when value is near a power of two. Use int64_t for lx and
7746 remove casts. Use decimal rather than hex exponent constants.
7747 Don't use long double multiplication when double will suffice.
7748 * math/libm-test.inc (nextafter_test_data): Add tests.
7749 * NEWS: Add 16739 and 16786 to bug list.
7751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7753 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7755 2014-04-01 Will Newton <will.newton@linaro.org>
7757 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7758 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7760 2014-04-01 Florian Weimer <fweimer@redhat.com>
7763 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7764 * nptl/tst-setuid2.c: New file.
7765 * nptl/Makefile (xtests): Add tst-setuid2.
7767 2014-04-01 Alan Modra <amodra@gmail.com>
7770 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7772 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7776 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7777 set errno as appropriate.
7778 * math/w_scalbf.c (__scalbf): Likewise.
7779 * math/w_scalbl.c (__scalbl): Likewise.
7780 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7781 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7782 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7786 * math/w_atan2.c: Include <errno.h>.
7787 (__atan2): Set errno for result underflowing to zero.
7788 * math/w_atan2f.c: Include <errno.h>.
7789 (__atan2f): Set errno for result underflowing to zero.
7790 * math/w_atan2l.c: Include <errno.h>.
7791 (__atan2l): Set errno for result underflowing to zero.
7792 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7794 * math/auto-libm-test-out: Regenerated.
7796 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7798 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7799 Encode instruction correctly in little endian.
7800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7802 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7804 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7806 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7809 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7812 * sysdeps/unix/sysv/linux/kernel-features.h
7813 [__sparc__ && !__arch64__ && !__sparc_v9__]
7814 (__ASSUME_SET_ROBUST_LIST): Do not define.
7815 [__sparc__ && !__arch64__ && !__sparc_v9__]
7816 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7817 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7820 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7821 (__ASSUME_REQUEUE_PI): Likewise.
7822 (__ASSUME_SET_ROBUST_LIST): Likewise.
7823 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7824 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7826 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7827 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7829 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7831 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7833 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7834 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7836 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7837 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7843 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7845 2014-03-31 Will Newton <will.newton@linaro.org>
7847 * benchtests/Makefile (bench): Add ffs and ffsll to list
7849 * benchtests/ffs-inputs: New file.
7850 * benchtests/ffsll-inputs: Likewise.
7852 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7855 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7856 too large before casting to int.
7857 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7858 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7859 * math/libm-test.inc (scalb_test_data): Add more tests.
7861 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7863 * benchtests/Makefile (DETAILED_OPT): New make option.
7864 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7866 * benchtests/bench-skeleton.c: Include stdbool.h.
7867 (main): Store and print timings per input.
7868 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7869 member to each argument value.
7870 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7871 (_print_arg_data): Initialize per-input timing to 0.
7873 * benchtests/Makefile (timing-type): New binary.
7874 (bench-clean): Also remove bench-timing-type.
7875 (bench): New target for timing-type.
7876 (bench-func): Print output in JSON format.
7877 * benchtests/bench-skeleton.c (main): Print output in JSON
7879 * benchtests/bench-timing-type.c: New file.
7880 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7881 (TIMING_PRINT_STATS): Remove.
7882 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7885 * benchtests/bench-modf.c: Remove.
7886 * benchtests/modf-inputs: New inputs file.
7888 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7891 * math/s_clog10.c (M_PI_LOG10E): New macro.
7892 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7893 imaginary parts are 0.
7894 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7895 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7896 imaginary parts are 0.
7897 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7898 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7899 imaginary parts are 0.
7900 * math/libm-test.inc (clog10_test_data): Update expected results
7901 for when real and imaginary parts are 0.
7903 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7905 * elf/dl-load.c: Finish conversion of __builtin_expect into
7908 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7912 1+x for argument with exponent below -67.
7913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7915 * math/auto-libm-test-in: Add more tests of exp.
7916 * math/auto-libm-test-out: Regenerated.
7918 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7921 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7922 (nscd_getnetgrent): Use it.
7925 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7928 2014-03-27 Andi Kleen <ak@linux.intel.com>
7930 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7931 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7932 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7933 (lll_robust_unlock): Remove out of line section. Use cfi
7935 (LLL_STUB_UNWIND_INFO*): Remove.
7936 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7937 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7938 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7939 (lll_robust_unlock): Remove out of line section. Use cfi
7941 (LLL_STUB_UNWIND_INFO*): Remove.
7943 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7946 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7949 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7951 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7953 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7956 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7958 * math/test-fenv-preserve.c: New file.
7959 * math/Makefile (tests): Add test-fenv-preserve.
7961 2014-03-26 Will Newton <will.newton@linaro.org>
7963 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7965 2014-03-25 Roland McGrath <roland@hack.frob.com>
7967 * scripts/versionlist.awk: Partition the version sets and emit all
7968 GLIBC_* (sorted) before all others (sorted).
7970 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7972 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7973 GLIBC_2.2.5 version.
7975 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7980 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7985 2014-03-25 Andreas Schwab <schwab@suse.de>
7987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7988 label to be used after in6ailist is initialized.
7990 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7993 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7995 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7999 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8001 (fp_formats): Update initializers.
8002 (init_fp_formats): Initialize new field.
8003 (output_for_one_input_case): Allow underflow for results up to
8005 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8006 * math/auto-libm-test-in: Don't mark some underflows from asin and
8008 * math/auto-libm-test-out: Regenerated.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8012 2014-03-25 Andreas Schwab <schwab@suse.de>
8014 * libio/Makefile (tst-ftell-partial-wide-ENV)
8015 (tst-ftell-active-handler-ENV): Define.
8017 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8019 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8021 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8023 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8025 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8027 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8028 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8029 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8031 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8034 * elf/dl-load.c (open_verify): Add mode parameter.
8035 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8036 (open_path): Change from boolean 'secure' to complete flag 'mode'
8037 (_dl_map_object): Adjust.
8038 * elf/Makefile (tests): Add tst-dlopen-aout.
8039 * elf/tst-dlopen-aout.c: New test.
8041 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8044 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8045 (struct stat): Rename member pad0 to __glibc_reserved0.
8048 * sysdeps/s390/s390-32/bits/wordsize.h
8049 (__WORDSIZE32_SIZE_ULONG): New define.
8050 * sysdeps/s390/s390-64/bits/wordsize.h
8051 (__WORDSIZE32_SIZE_ULONG): Likewise.
8052 * sysdeps/generic/stdint.h (SIZE_MAX):
8053 Define as UL if __WORDSIZE32_SIZE_ULONG.
8056 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8057 (__glibc_reserved0): New variable.
8058 (sa_flags): Change type to int.
8060 * posix/Makefile (before-compile): Use += before-compile instead
8063 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8064 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8066 2014-03-20 Andreas Schwab <schwab@suse.de>
8069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8070 non-matching result from nscd.
8072 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8074 * scripts/bench.py: Moved to ...
8075 * benchtests/scripts/bench.py: ... here.
8076 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8078 2014-03-24 Andreas Schwab <schwab@suse.de>
8081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8082 alloca_account and account alloca use for struct in6ailist.
8084 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8087 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8088 rounding mode to recompute results that overflow to infinity or
8090 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8092 * math/auto-libm-test-out: Regenerated.
8093 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8094 (ccosh_test): Likewise.
8095 (csin_test_data): Use plus_oflow.
8096 (csin_test): Use ALL_RM_TEST.
8097 (csinh_test_data): Use plus_oflow.
8098 (csinh_test): Use ALL_RM_TEST.
8099 * sysdeps/i386/fpu/libm-test-ulps: Update.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8102 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8104 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8105 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8106 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8109 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8111 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8112 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8113 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8116 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8117 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8119 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8125 * scripts/bench.pl: Remove file.
8126 * scripts/bench.py: New benchmark script.
8127 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8128 * benchtests/README: Mention python dependency.
8129 * scripts/pylintrc: New file.
8130 * scripts/pylint: New file.
8132 * bits/mathdef.h: Use #ifdef instead of #if.
8133 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8134 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8135 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8136 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8137 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8138 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8140 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8141 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8143 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8145 and strpbrk-ppc64 objects.
8146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8147 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8148 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8149 multiarch strpbrk for POWER7.
8150 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8151 multiarch strpbrk for PPC64.
8152 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8154 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8157 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8159 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8160 (atan_test): Likewise.
8161 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8162 (atanh_test): Use ALL_RM_TEST.
8163 (atan2_test_data): Likewise.
8164 (cabs_test): Likewise.
8165 (cacosh_test): Likewise.
8166 (carg_test): Likewise.
8167 (casin_test): Likewise.
8168 (casinh_test): Likewise.
8169 (cbrt_test): Likewise.
8170 (csqrt_test): Likewise.
8171 (erf_test): Likewise.
8172 (erfc_test): Likewise.
8173 (pow10_test): Likewise.
8174 (exp2_test): Likewise.
8175 (hypot_test): Likewise.
8176 (j0_test): Likewise.
8177 (j1_test): Likewise.
8178 (lgamma_test): Likewise.
8179 (gamma_test): Likewise.
8180 (sincos_test): Likewise.
8181 (tanh_test): Likewise.
8182 (y0_test): Likewise.
8183 (y1_test): Likewise.
8184 * sysdeps/i386/fpu/libm-test-ulps: Update.
8185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8191 and strcspn-ppc64 objects.
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8193 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8194 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8195 multiarch strcspn for POWER7.
8196 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8197 multiarch strcspn for PPC64.
8198 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8203 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8205 * math/gen-libm-test.pl (generate_testfile): Expect only function
8206 name as argument to AUTO_TESTS_* and pass results for all rounding
8207 modes to parse_args.
8208 (parse_auto_input): Separate inputs of automatic tests from
8209 outputs before storing in %auto_tests.
8210 * math/libm-test.inc (acos_test_data): Update call to
8212 (acos_test): Use ALL_RM_TEST.
8213 (acos_tonearest_test_data): Remove.
8214 (acos_test_tonearest): Likewise.
8215 (acos_towardzero_test_data): Likewise.
8216 (acos_test_towardzero): Likewise.
8217 (acos_downward_test_data): Likewise.
8218 (acos_test_downward): Likewise.
8219 (acos_upward_test_data): Likewise.
8220 (acos_test_upward): Likewise.
8221 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8222 (asin_test_data): Likewise.
8223 (asin_test): Use ALL_RM_TEST.
8224 (asin_tonearest_test_data): Remove.
8225 (asin_test_tonearest): Likewise.
8226 (asin_towardzero_test_data): Likewise.
8227 (asin_test_towardzero): Likewise.
8228 (asin_downward_test_data): Likewise.
8229 (asin_test_downward): Likewise.
8230 (asin_upward_test_data): Likewise.
8231 (asin_test_upward): Likewise.
8232 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8233 (atan_test_data): Likewise.
8234 (atanh_test_data): Likewise.
8235 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8236 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8237 (carg_test_data): Likewise.
8238 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8239 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8240 (ccosh_test_data): Likewise.
8241 (cexp_test_data): Likewise.
8242 (clog_test_data): Likewise.
8243 (clog10_test_data): Likewise.
8244 (cos_test_data): Update call to AUTO_TESTS_f_f.
8245 (cos_test): Use ALL_RM_TEST.
8246 (cos_tonearest_test_data): Remove.
8247 (cos_test_tonearest): Likewise.
8248 (cos_towardzero_test_data): Likewise.
8249 (cos_test_towardzero): Likewise.
8250 (cos_downward_test_data): Likewise.
8251 (cos_test_downward): Likewise.
8252 (cos_upward_test_data): Likewise.
8253 (cos_test_upward): Likewise.
8254 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8255 (cosh_test): Use ALL_RM_TEST.
8256 (cosh_tonearest_test_data): Remove.
8257 (cosh_test_tonearest): Likewise.
8258 (cosh_towardzero_test_data): Likewise.
8259 (cosh_test_towardzero): Likewise.
8260 (cosh_downward_test_data): Likewise.
8261 (cosh_test_downward): Likewise.
8262 (cosh_upward_test_data): Likewise.
8263 (cosh_test_upward): Likewise.
8264 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8265 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8266 (ctan_test_data): Likewise.
8267 (ctan_test): Use ALL_RM_TEST.
8268 (ctan_tonearest_test_data): Remove.
8269 (ctan_test_tonearest): Likewise.
8270 (ctan_towardzero_test_data): Likewise.
8271 (ctan_test_towardzero): Likewise.
8272 (ctan_downward_test_data): Likewise.
8273 (ctan_test_downward): Likewise.
8274 (ctan_upward_test_data): Likewise.
8275 (ctan_test_upward): Likewise.
8276 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8277 (ctanh_test): Use ALL_RM_TEST.
8278 (ctanh_tonearest_test_data): Remove.
8279 (ctanh_test_tonearest): Likewise.
8280 (ctanh_towardzero_test_data): Likewise.
8281 (ctanh_test_towardzero): Likewise.
8282 (ctanh_downward_test_data): Likewise.
8283 (ctanh_test_downward): Likewise.
8284 (ctanh_upward_test_data): Likewise.
8285 (ctanh_test_upward): Likewise.
8286 (erf_test_data): Update call to AUTO_TESTS_f_f.
8287 (erfc_test_data): Likewise.
8288 (exp_test_data): Likewise.
8289 (exp_test): Use ALL_RM_TEST.
8290 (exp_tonearest_test_data): Remove.
8291 (exp_test_tonearest): Likewise.
8292 (exp_towardzero_test_data): Likewise.
8293 (exp_test_towardzero): Likewise.
8294 (exp_downward_test_data): Likewise.
8295 (exp_test_downward): Likewise.
8296 (exp_upward_test_data): Likewise.
8297 (exp_test_upward): Likewise.
8298 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8299 (exp10_test): Use ALL_RM_TEST.
8300 (exp10_tonearest_test_data): Remove.
8301 (exp10_test_tonearest): Likewise.
8302 (exp10_towardzero_test_data): Likewise.
8303 (exp10_test_towardzero): Likewise.
8304 (exp10_downward_test_data): Likewise.
8305 (exp10_test_downward): Likewise.
8306 (exp10_upward_test_data): Likewise.
8307 (exp10_test_upward): Likewise.
8308 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8309 (expm1_test_data): Likewise.
8310 (expm1_test): Use ALL_RM_TEST.
8311 (expm1_tonearest_test_data): Remove.
8312 (expm1_test_tonearest): Likewise.
8313 (expm1_towardzero_test_data): Likewise.
8314 (expm1_test_towardzero): Likewise.
8315 (expm1_downward_test_data): Likewise.
8316 (expm1_test_downward): Likewise.
8317 (expm1_upward_test_data): Likewise.
8318 (expm1_test_upward): Likewise.
8319 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8320 (fma_test): Use ALL_RM_TEST.
8321 (fma_towardzero_test_data): Remove.
8322 (fma_test_towardzero): Likewise.
8323 (fma_downward_test_data): Likewise.
8324 (fma_test_downward): Likewise.
8325 (fma_upward_test_data): Likewise.
8326 (fma_test_upward): Likewise.
8327 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8328 (j0_test_data): Update call to AUTO_TESTS_f_f.
8329 (j1_test_data): Likewise.
8330 (jn_test_data): Update call to AUTO_TESTS_if_f.
8331 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8332 (log_test_data): Update call to AUTO_TESTS_f_f.
8333 (log10_test_data): Likewise.
8334 (log1p_test_data): Likewise.
8335 (log2_test_data): Likewise.
8336 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8337 (pow_tonearest_test_data): Likewise.
8338 (sin_test_data): Update call to AUTO_TESTS_f_f.
8339 (sin_test): Use ALL_RM_TEST.
8340 (sin_tonearest_test_data): Remove.
8341 (sin_test_tonearest): Likewise.
8342 (sin_towardzero_test_data): Likewise.
8343 (sin_test_towardzero): Likewise.
8344 (sin_downward_test_data): Likewise.
8345 (sin_test_downward): Likewise.
8346 (sin_upward_test_data): Likewise.
8347 (sin_test_upward): Likewise.
8348 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8349 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8350 (sinh_test): Use ALL_RM_TEST.
8351 (sinh_tonearest_test_data): Remove.
8352 (sinh_test_tonearest): Likewise.
8353 (sinh_towardzero_test_data): Likewise.
8354 (sinh_test_towardzero): Likewise.
8355 (sinh_downward_test_data): Likewise.
8356 (sinh_test_downward): Likewise.
8357 (sinh_upward_test_data): Likewise.
8358 (sinh_test_upward): Likewise.
8359 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8360 (sqrt_test): Use ALL_RM_TEST.
8361 (sqrt_tonearest_test_data): Remove.
8362 (sqrt_test_tonearest): Likewise.
8363 (sqrt_towardzero_test_data): Likewise.
8364 (sqrt_test_towardzero): Likewise.
8365 (sqrt_downward_test_data): Likewise.
8366 (sqrt_test_downward): Likewise.
8367 (sqrt_upward_test_data): Likewise.
8368 (sqrt_test_upward): Likewise.
8369 (tan_test_data): Update call to AUTO_TESTS_f_f.
8370 (tan_test): Use ALL_RM_TEST.
8371 (tan_tonearest_test_data): Remove.
8372 (tan_test_tonearest): Likewise.
8373 (tan_towardzero_test_data): Likewise.
8374 (tan_test_towardzero): Likewise.
8375 (tan_downward_test_data): Likewise.
8376 (tan_test_downward): Likewise.
8377 (tan_upward_test_data): Likewise.
8378 (tan_test_upward): Likewise.
8379 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8380 (tgamma_test_data): Likewise.
8381 (y0_test_data): Likewise.
8382 (y1_test_data): Likewise.
8383 (yn_test_data): Update call to AUTO_TESTS_if_f.
8384 (main): Do not call removed functions.
8386 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8388 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8389 (ldexp_test_data): Remove.
8390 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8392 (scalb_test): Use ALL_RM_TEST.
8394 2014-03-19 Andreas Schwab <schwab@suse.de>
8396 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8398 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8402 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8403 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8405 (__ASSUME_PREADV): Undefine.
8406 (__ASSUME_PWRITEV): Likewise.
8408 2014-03-18 Roland McGrath <roland@hack.frob.com>
8410 * bits/mman-linux.h: Add comment about non-Linux use.
8411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8412 bits/mman-linux.h resting place.
8414 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8415 * bits/mman-linux.h: ... here.
8417 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8419 * conform/conformtest.pl: Add standard definition when calling C
8420 preprocessor on data files.
8421 (checknamespace): Remove unused variable.
8423 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8425 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8426 minus_oflow, plus_uflow and minus_uflow in expected results.
8427 * math/libm-test.inc (scalbn_test_data): Add more tests of
8428 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8430 (scalbn_test): Use ALL_RM_TEST.
8431 (scalbln_test_data): Add more tests of negative arguments. Use
8432 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8433 (scalbln_test): Use ALL_RM_TEST.
8435 2014-03-18 Roland McGrath <roland@hack.frob.com>
8437 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8439 2014-03-18 Will Newton <will.newton@linaro.org>
8441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8444 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8446 * Makerules [!subdir] (check-abi): Exit with error status if a
8449 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8451 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8452 for rint. Include results for all rounding modes.
8453 (nearbyint_test): Use ALL_RM_TEST.
8454 (rint_test_data): Include all tests used for nearbyint.
8456 2014-03-17 Will Newton <will.newton@linaro.org>
8458 * nptl/sysdeps/pthread/pthread.h: Revert previous
8461 * sysdeps/generic/ldsodefs.h: Revert previous
8464 * libio/genops.c: Revert previous change.
8465 * libio/libioP.h: Likewise.
8466 * stdio-common/vfprintf.c: Likewise.
8468 * sysdeps/generic/math_private.h: Revert previous
8471 * sysdeps/generic/math_private.h: Check whether
8472 HAVE_RM_CTX is defined with #ifdef rather
8475 * argp/argp-fmtstream.h: Check whether
8476 __STRICT_ANSI__ is defined with #ifdef rather
8478 * argp/argp.h: Likewise.
8480 * libio/genops.c: Check whether
8481 _IO_JUMPS_OFFSET is defined with #ifdef rather
8483 * libio/libioP.h: Likewise.
8484 * stdio-common/vfprintf.c: Likewise.
8486 * sysdeps/generic/ldsodefs.h: Check whether
8487 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8490 * nptl/sysdeps/pthread/pthread.h: Check
8491 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8494 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8496 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8498 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8502 * libio/fileops.c (_IO_file_open): Seek to end of file but
8503 don't cache the offset.
8504 (get_file_offset): Remove function.
8505 (do_ftell): Use cached offset when available.
8506 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8507 don't cache the offset.
8508 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8510 (do_one_test): Call it.
8511 (do_ftell_test): Fix up expected old offset for a+ mode.
8512 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8515 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8516 up test status with function return status.
8517 (do_write_test): Likewise.
8518 (do_append_test): Likewise.
8520 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8521 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8524 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8526 * math/gen-libm-test.pl (parse_args): Handle results specified for
8527 each rounding mode separately.
8528 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8529 tests and results from lrint_tonearest_test_data,
8530 lrint_towardzero_test_data, lrint_downward_test_data and
8531 lrint_upward_test_data.
8532 (lrint_test): Use ALL_RM_TEST.
8533 (lrint_tonearest_test_data): Remove.
8534 (lrint_test_tonearest): Likewise.
8535 (lrint_towardzero_test_data): Likewise.
8536 (lrint_test_towardzero): Likewise.
8537 (lrint_downward_test_data): Likewise.
8538 (lrint_test_downward): Likewise.
8539 (lrint_upward_test_data): Likewise.
8540 (lrint_test_upward): Likewise.
8541 (llrint_test_data): Merge in per-rounding-mode tests and results
8542 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8543 llrint_downward_test_data and llrint_upward_test_data.
8544 (llrint_test): Use ALL_RM_TEST.
8545 (llrint_tonearest_test_data): Remove.
8546 (llrint_test_tonearest): Likewise.
8547 (llrint_towardzero_test_data): Likewise.
8548 (llrint_test_towardzero): Likewise.
8549 (llrint_downward_test_data): Likewise.
8550 (llrint_test_downward): Likewise.
8551 (llrint_upward_test_data): Likewise.
8552 (llrint_test_upward): Likewise.
8553 (rint_test_data): Merge in per-rounding-mode tests and results
8554 from rint_tonearest_test_data, rint_towardzero_test_data,
8555 rint_downward_test_data and rint_upward_test_data. Add
8556 per-rounding-mode results for tests not in those arrays.
8557 (rint_test): Use ALL_RM_TEST.
8558 (rint_tonearest_test_data): Remove.
8559 (rint_test_tonearest): Likewise.
8560 (rint_towardzero_test_data): Likewise.
8561 (rint_test_towardzero): Likewise.
8562 (rint_downward_test_data): Likewise.
8563 (rint_test_downward): Likewise.
8564 (rint_upward_test_data): Likewise.
8565 (rint_test_upward): Likewise.
8566 (main): Don't call removed functions.
8568 2014-03-14 Roland McGrath <roland@hack.frob.com>
8570 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8571 "Compiled on ..." crapola. It is anti-useful.
8573 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8575 * scripts/evaluate-test.sh: Handle fourth argument to determine
8576 whether test run should stop on failure.
8577 * Makeconfig (stop-on-test-failure): New variable.
8578 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8579 $(stop-on-test-failure).
8580 * Makefile (tests): Give a summary of results from testing and
8581 exit with failure status if they include an ERROR or FAIL.
8583 * manual/install.texi (Configuring and compiling): Mention
8584 stop-on-test-failure=y.
8585 * INSTALL: Regenerated.
8587 2014-03-14 Roland McGrath <roland@hack.frob.com>
8589 * scripts/versionlist.awk: New file.
8590 * Makerules [$(build-shared) = yes]
8591 (postclean-generated): Add Versions.def, not Versions.def.v and
8593 ($(common-objpfx)Versions.def.v.i): Target removed.
8594 ($(common-objpfx)Versions.def): New target.
8595 ($(common-objpfx)Versions.all): Depend on that rather that
8596 $(common-objpfx)Versions.def.v.
8597 * Versions.def: File removed.
8599 * Makeconfig (+gccwarn): Add -Wundef.
8600 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8601 a dl-sysdep.h breaking its contract.
8602 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8603 * include/stackinfo.h: New file.
8604 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8605 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8606 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8607 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8608 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8609 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8610 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8611 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8612 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8613 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8614 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8615 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8616 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8617 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8618 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8620 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8623 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8625 * math/libm-test.inc (round_test_data): Add more tests.
8628 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8630 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8633 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8635 * math/libm-test.inc (ceil_test_data): Add more tests.
8637 * math/libm-test.inc (trunc_test_data): Add more tests related to
8640 2014-03-14 Roland McGrath <roland@hack.frob.com>
8642 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8643 with #if rather than #ifdef.
8644 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8646 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8648 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8649 first. Disable AVX-512 GCC support if assembler doesn't support
8651 * sysdeps/x86_64/configure: Regenerated.
8653 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8655 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8656 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8657 (__old_pthread_attr_setstack): Likewise.
8658 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8659 [!_STACK_GROWS_DOWN]: Likewise.
8661 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8663 * config.make.in (have-bash2): Delete.
8664 * configure.ac (libc_cv_have_bash2): Delete.
8665 * configure: Regenerate.
8666 * elf/Makefile (common-ldd-rewrite): Rename to ...
8667 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8668 (sh-ldd-rewrite): Delete.
8669 (bash-ldd-rewrite): Delete.
8670 (have-bash2): Delete checks.
8671 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8674 * config.make.in (have-ksh): Delete.
8676 * configure.ac (libc_cv_have_ksh): Delete.
8677 * configure: Regenerate.
8679 * elf/Makefile: Delete $(have-ksh) check.
8680 ($(objpfx)sotruss): Change KSH to BASH.
8681 * elf/sotruss.ksh: Rename to ...
8682 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8683 function style to match POSIX. Drop ksh vim mode setting.
8685 * manual/time.texi (Specifying the Time Zone with TZ): Change
8686 Tuesday to Thursday.
8688 * debug/tst-longjmp_chk2.c: Update header comment.
8689 (stackoverflow_handler): Add comment. Call assert on pass value.
8691 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8694 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8695 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8696 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8697 (La_x86_64_vector): Add zmm.
8698 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8699 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8700 ($(objpfx)tst-audit10): New target.
8701 ($(objpfx)tst-audit10.out): Likewise.
8702 (tst-audit10-ENV): New.
8703 (AVX512-CFLAGS): Likewise.
8704 (CFLAGS-tst-audit10.c): Likewise.
8705 (CFLAGS-tst-auditmod10a.c): Likewise.
8706 (CFLAGS-tst-auditmod10b.c): Likewise.
8707 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8708 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8709 * sysdeps/x86_64/configure: Regenerated.
8710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8711 AVX-512 zmm register support.
8712 (_dl_x86_64_save_sse): Likewise.
8713 (_dl_x86_64_restore_sse): Likewise.
8714 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8715 size vector registers.
8716 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8717 (ZMM_SIZE): Likewise.
8718 * sysdeps/x86_64/tst-audit10.c: New file.
8719 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8720 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8722 2014-03-13 Roland McGrath <roland@hack.frob.com>
8724 * configure.ac (HAVE_EHDR_START): New check.
8725 * configure: Regenerated.
8726 * config.h.in (HAVE_EHDR_START): New #undef.
8727 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8728 assuming the lowest-addressed segment maps the start of the file.
8730 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8732 * INSTALL: Regenerated.
8734 2014-03-13 Will Newton <will.newton@linaro.org>
8736 * manual/setjmp.texi (System V contexts): Improve
8737 clarity and grammar of documentation.
8739 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8742 * elf/Makefile (tests): Add tst-pie2.
8743 (tests-pie): Add tst-pie2.
8744 * elf/tst-pie2.c: New file.
8745 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8747 * elf/rtld.c (map_doit): Load executable as lt_executable.
8748 (dl_main): Likewise.
8750 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8754 (__ASSUME_PSELECT): Undefine.
8756 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8760 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8763 selector for static builds.
8765 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8768 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8771 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8773 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8774 IFUNC selector for static builds.
8776 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8778 * sysdeps/mips/math_private.h [__mips_hard_float]
8779 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8780 libc_feresetround_mips_ctx.
8781 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8782 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8783 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8786 * math/s_nextafter.c (__nextafter): Do not return value from
8787 overflowing computation.
8788 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8789 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8794 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8795 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8797 2014-03-11 Roland McGrath <roland@hack.frob.com>
8799 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8800 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8801 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8802 the new mov targetting sp.
8804 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8807 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8808 Define it for static builds as well.
8809 (NO_BZERO_IMPL): Likewise.
8811 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8813 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8814 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8815 multiarch strspn for PPC64.
8816 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8817 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8819 (__libc_ifunc_impl_list): Likewise.
8820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8821 multiarch optimizations
8822 * string/strspn.c (strspn): Using macro to redefine symbol name.
8824 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8825 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8827 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8828 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8829 multiarch strncat for PPC64.
8830 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8831 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8833 (__libc_ifunc_impl_list): Likewise.
8834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8835 multiarch optimizations
8837 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8840 * nscd/nscd.service: Make service type forking.
8842 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8844 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8845 sign in non default rounding modes.
8846 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8848 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8850 * math/libm-test.inc (ALL_RM_TEST): New macro.
8851 (ceil_test): Use ALL_RM_TEST.
8852 (cimag_test): Likewise.
8853 (conj_test): Likewise.
8854 (copysign_test): Likewise.
8855 (cproj_test): Likewise.
8856 (creal_test): Likewise.
8857 (fabs_test): Likewise.
8858 (floor_test): Likewise.
8859 (fmax_test): Likewise.
8860 (fmin_test): Likewise.
8861 (fmod_test): Likewise.
8862 (fpclassify_test): Likewise.
8863 (frexp_test): Likewise.
8864 (ilogb_test): Likewise.
8865 (isfinite_test): Likewise.
8866 (finite_test): Likewise.
8867 (isgreater_test): Likewise.
8868 (isgreaterequal_test): Likewise.
8869 (isinf_test): Likewise.
8870 (isless_test): Likewise.
8871 (islessequal_test): Likewise.
8872 (islessgreater_test): Likewise.
8873 (isnan_test): Likewise.
8874 (isnormal_test): Likewise.
8875 (issignaling_test): Likewise.
8876 (isunordered_test): Likewise.
8877 (logb_test): Likewise.
8878 (logb_downward_test_data): Remove.
8879 (logb_test_downward): Likewise.
8880 (lround_test): Use ALL_RM_TEST.
8881 (llround_test): Likewise.
8882 (modf_test): Likewise.
8883 (nexttoward_test): Likewise.
8884 (remainder_test): Likewise.
8885 (drem_test): Likewise.
8886 (remainder_tonearest_test_data): Likewise.
8887 (remainder_test_tonearest): Likewise.
8888 (drem_test_tonearest): Likewise.
8889 (remainder_towardzero_test_data): Likewise.
8890 (remainder_test_towardzero): Likewise.
8891 (drem_test_towardzero): Likewise.
8892 (remainder_downward_test_data): Likewise.
8893 (remainder_test_downward): Likewise.
8894 (drem_test_downward): Likewise.
8895 (remainder_upward_test_data): Likewise.
8896 (remainder_test_upward): Likewise.
8897 (drem_test_upward): Likewise.
8898 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8899 (round_test): Use ALL_RM_TEST.
8900 (signbit_test): Likewise.
8901 (trunc_test): Likewise.
8902 (significand_test): Likewise.
8903 (main): Don't call removed functions.
8905 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8908 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8910 (ILL_ILLOPN): Likewise.
8911 (ILL_ILLADR): Likewise.
8912 (ILL_ILLTRP): Likewise.
8913 (ILL_PRVOPC): Likewise.
8914 (ILL_PRVREG): Likewise.
8915 (ILL_COPROC): Likewise.
8916 (ILL_BADSTK): Likewise.
8917 (FPE_INTDIV): Likewise.
8918 (FPE_INTOVF): Likewise.
8919 (FPE_FLTDIV): Likewise.
8920 (FPE_FLTOVF): Likewise.
8921 (FPE_FLTUND): Likewise.
8922 (FPE_FLTRES): Likewise.
8923 (FPE_FLTINV): Likewise.
8924 (FPE_FLTSUB): Likewise.
8925 (SEGV_MAPERR): Likewise.
8926 (SEGV_ACCERR): Likewise.
8927 (BUS_ADRALN): Likewise.
8928 (BUS_ADRERR): Likewise.
8929 (BUS_OBJERR): Likewise.
8930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8931 (TRAP_TRACE): Likewise.
8932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8934 (CLD_KILLED): Likewise.
8935 (CLD_DUMPED): Likewise.
8936 (CLD_TRAPPED): Likewise.
8937 (CLD_STOPPED): Likewise.
8938 (CLD_CONTINUED): Likewise.
8939 (POLL_IN): Likewise.
8940 (POLL_OUT): Likewise.
8941 (POLL_MSG): Likewise.
8942 (POLL_ERR): Likewise.
8943 (POLL_PRI): Likewise.
8944 (POLL_HUP): Likewise.
8945 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8947 (ILL_ILLOPN): Likewise.
8948 (ILL_ILLADR): Likewise.
8949 (ILL_ILLTRP): Likewise.
8950 (ILL_PRVOPC): Likewise.
8951 (ILL_PRVREG): Likewise.
8952 (ILL_COPROC): Likewise.
8953 (ILL_BADSTK): Likewise.
8954 (FPE_INTDIV): Likewise.
8955 (FPE_INTOVF): Likewise.
8956 (FPE_FLTDIV): Likewise.
8957 (FPE_FLTOVF): Likewise.
8958 (FPE_FLTUND): Likewise.
8959 (FPE_FLTRES): Likewise.
8960 (FPE_FLTINV): Likewise.
8961 (FPE_FLTSUB): Likewise.
8962 (SEGV_MAPERR): Likewise.
8963 (SEGV_ACCERR): Likewise.
8964 (BUS_ADRALN): Likewise.
8965 (BUS_ADRERR): Likewise.
8966 (BUS_OBJERR): Likewise.
8967 (BUS_MCEERR_AR): Likewise.
8968 (BUS_MCEERR_AO): Likewise.
8969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8970 (TRAP_TRACE): Likewise.
8971 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8973 (CLD_KILLED): Likewise.
8974 (CLD_DUMPED): Likewise.
8975 (CLD_TRAPPED): Likewise.
8976 (CLD_STOPPED): Likewise.
8977 (CLD_CONTINUED): Likewise.
8978 (POLL_IN): Likewise.
8979 (POLL_OUT): Likewise.
8980 (POLL_MSG): Likewise.
8981 (POLL_ERR): Likewise.
8982 (POLL_PRI): Likewise.
8983 (POLL_HUP): Likewise.
8984 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8985 (ILL_ILLOPN): Likewise.
8986 (ILL_ILLADR): Likewise.
8987 (ILL_ILLTRP): Likewise.
8988 (ILL_PRVOPC): Likewise.
8989 (ILL_PRVREG): Likewise.
8990 (ILL_COPROC): Likewise.
8991 (ILL_BADSTK): Likewise.
8992 (FPE_INTDIV): Likewise.
8993 (FPE_INTOVF): Likewise.
8994 (FPE_FLTDIV): Likewise.
8995 (FPE_FLTOVF): Likewise.
8996 (FPE_FLTUND): Likewise.
8997 (FPE_FLTRES): Likewise.
8998 (FPE_FLTINV): Likewise.
8999 (FPE_FLTSUB): Likewise.
9000 (SEGV_MAPERR): Likewise.
9001 (SEGV_ACCERR): Likewise.
9002 (BUS_ADRALN): Likewise.
9003 (BUS_ADRERR): Likewise.
9004 (BUS_OBJERR): Likewise.
9005 (BUS_MCEERR_AR): Likewise.
9006 (BUS_MCEERR_AO): Likewise.
9007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9008 (TRAP_TRACE): Likewise.
9009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9011 (CLD_KILLED): Likewise.
9012 (CLD_DUMPED): Likewise.
9013 (CLD_TRAPPED): Likewise.
9014 (CLD_STOPPED): Likewise.
9015 (CLD_CONTINUED): Likewise.
9016 (POLL_IN): Likewise.
9017 (POLL_OUT): Likewise.
9018 (POLL_MSG): Likewise.
9019 (POLL_ERR): Likewise.
9020 (POLL_PRI): Likewise.
9021 (POLL_HUP): Likewise.
9022 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9024 (ILL_ILLOPN): Likewise.
9025 (ILL_ILLADR): Likewise.
9026 (ILL_ILLTRP): Likewise.
9027 (ILL_PRVOPC): Likewise.
9028 (ILL_PRVREG): Likewise.
9029 (ILL_COPROC): Likewise.
9030 (ILL_BADSTK): Likewise.
9031 (ILL_BADIADDR): Likewise.
9032 (ILL_BREAK): Likewise.
9033 (FPE_INTDIV): Likewise.
9034 (FPE_INTOVF): Likewise.
9035 (FPE_FLTDIV): Likewise.
9036 (FPE_FLTOVF): Likewise.
9037 (FPE_FLTUND): Likewise.
9038 (FPE_FLTRES): Likewise.
9039 (FPE_FLTINV): Likewise.
9040 (FPE_FLTSUB): Likewise.
9041 (FPE_DECOVF): Likewise.
9042 (FPE_DECDIV): Likewise.
9043 (FPE_DECERR): Likewise.
9044 (FPE_INVASC): Likewise.
9045 (FPE_INVDEC): Likewise.
9046 (SEGV_MAPERR): Likewise.
9047 (SEGV_ACCERR): Likewise.
9048 (SEGV_PSTKOVF): Likewise.
9049 (BUS_ADRALN): Likewise.
9050 (BUS_ADRERR): Likewise.
9051 (BUS_OBJERR): Likewise.
9052 (BUS_MCEERR_AR): Likewise.
9053 (BUS_MCEERR_AO): Likewise.
9054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9055 (TRAP_TRACE): Likewise.
9056 (TRAP_BRANCH): Likewise.
9057 (TRAP_HWBKPT): Likewise.
9058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9060 (CLD_KILLED): Likewise.
9061 (CLD_DUMPED): Likewise.
9062 (CLD_TRAPPED): Likewise.
9063 (CLD_STOPPED): Likewise.
9064 (CLD_CONTINUED): Likewise.
9065 (POLL_IN): Likewise.
9066 (POLL_OUT): Likewise.
9067 (POLL_MSG): Likewise.
9068 (POLL_ERR): Likewise.
9069 (POLL_PRI): Likewise.
9070 (POLL_HUP): Likewise.
9071 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9072 (ILL_ILLOPN): Likewise.
9073 (ILL_ILLADR): Likewise.
9074 (ILL_ILLTRP): Likewise.
9075 (ILL_PRVOPC): Likewise.
9076 (ILL_PRVREG): Likewise.
9077 (ILL_COPROC): Likewise.
9078 (ILL_BADSTK): Likewise.
9079 (FPE_INTDIV): Likewise.
9080 (FPE_INTOVF): Likewise.
9081 (FPE_FLTDIV): Likewise.
9082 (FPE_FLTOVF): Likewise.
9083 (FPE_FLTUND): Likewise.
9084 (FPE_FLTRES): Likewise.
9085 (FPE_FLTINV): Likewise.
9086 (FPE_FLTSUB): Likewise.
9087 (SEGV_MAPERR): Likewise.
9088 (SEGV_ACCERR): Likewise.
9089 (BUS_ADRALN): Likewise.
9090 (BUS_ADRERR): Likewise.
9091 (BUS_OBJERR): Likewise.
9092 (BUS_MCEERR_AR): Likewise.
9093 (BUS_MCEERR_AO): Likewise.
9094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9095 (TRAP_TRACE): Likewise.
9096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9098 (CLD_KILLED): Likewise.
9099 (CLD_DUMPED): Likewise.
9100 (CLD_TRAPPED): Likewise.
9101 (CLD_STOPPED): Likewise.
9102 (CLD_CONTINUED): Likewise.
9103 (POLL_IN): Likewise.
9104 (POLL_OUT): Likewise.
9105 (POLL_MSG): Likewise.
9106 (POLL_ERR): Likewise.
9107 (POLL_PRI): Likewise.
9108 (POLL_HUP): Likewise.
9109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9110 (ILL_ILLOPN): Likewise.
9111 (ILL_ILLADR): Likewise.
9112 (ILL_ILLTRP): Likewise.
9113 (ILL_PRVOPC): Likewise.
9114 (ILL_PRVREG): Likewise.
9115 (ILL_COPROC): Likewise.
9116 (ILL_BADSTK): Likewise.
9117 (FPE_INTDIV): Likewise.
9118 (FPE_INTOVF): Likewise.
9119 (FPE_FLTDIV): Likewise.
9120 (FPE_FLTOVF): Likewise.
9121 (FPE_FLTUND): Likewise.
9122 (FPE_FLTRES): Likewise.
9123 (FPE_FLTINV): Likewise.
9124 (FPE_FLTSUB): Likewise.
9125 (SEGV_MAPERR): Likewise.
9126 (SEGV_ACCERR): Likewise.
9127 (BUS_ADRALN): Likewise.
9128 (BUS_ADRERR): Likewise.
9129 (BUS_OBJERR): Likewise.
9130 (BUS_MCEERR_AR): Likewise.
9131 (BUS_MCEERR_AO): Likewise.
9132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9133 (TRAP_TRACE): Likewise.
9134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9136 (CLD_KILLED): Likewise.
9137 (CLD_DUMPED): Likewise.
9138 (CLD_TRAPPED): Likewise.
9139 (CLD_STOPPED): Likewise.
9140 (CLD_CONTINUED): Likewise.
9141 (POLL_IN): Likewise.
9142 (POLL_OUT): Likewise.
9143 (POLL_MSG): Likewise.
9144 (POLL_ERR): Likewise.
9145 (POLL_PRI): Likewise.
9146 (POLL_HUP): Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9148 (ILL_ILLOPN): Likewise.
9149 (ILL_ILLADR): Likewise.
9150 (ILL_ILLTRP): Likewise.
9151 (ILL_PRVOPC): Likewise.
9152 (ILL_PRVREG): Likewise.
9153 (ILL_COPROC): Likewise.
9154 (ILL_BADSTK): Likewise.
9155 (FPE_INTDIV): Likewise.
9156 (FPE_INTOVF): Likewise.
9157 (FPE_FLTDIV): Likewise.
9158 (FPE_FLTOVF): Likewise.
9159 (FPE_FLTUND): Likewise.
9160 (FPE_FLTRES): Likewise.
9161 (FPE_FLTINV): Likewise.
9162 (FPE_FLTSUB): Likewise.
9163 (SEGV_MAPERR): Likewise.
9164 (SEGV_ACCERR): Likewise.
9165 (BUS_ADRALN): Likewise.
9166 (BUS_ADRERR): Likewise.
9167 (BUS_OBJERR): Likewise.
9168 (BUS_MCEERR_AR): Likewise.
9169 (BUS_MCEERR_AO): Likewise.
9170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9171 (TRAP_TRACE): Likewise.
9172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9174 (CLD_KILLED): Likewise.
9175 (CLD_DUMPED): Likewise.
9176 (CLD_TRAPPED): Likewise.
9177 (CLD_STOPPED): Likewise.
9178 (CLD_CONTINUED): Likewise.
9179 (POLL_IN): Likewise.
9180 (POLL_OUT): Likewise.
9181 (POLL_MSG): Likewise.
9182 (POLL_ERR): Likewise.
9183 (POLL_PRI): Likewise.
9184 (POLL_HUP): Likewise.
9185 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9186 (ILL_ILLOPN): Likewise.
9187 (ILL_ILLADR): Likewise.
9188 (ILL_ILLTRP): Likewise.
9189 (ILL_PRVOPC): Likewise.
9190 (ILL_PRVREG): Likewise.
9191 (ILL_COPROC): Likewise.
9192 (ILL_BADSTK): Likewise.
9193 (ILL_DBLFLT): Likewise.
9194 (ILL_HARDWALL): Likewise.
9195 (FPE_INTDIV): Likewise.
9196 (FPE_INTOVF): Likewise.
9197 (FPE_FLTDIV): Likewise.
9198 (FPE_FLTOVF): Likewise.
9199 (FPE_FLTUND): Likewise.
9200 (FPE_FLTRES): Likewise.
9201 (FPE_FLTINV): Likewise.
9202 (FPE_FLTSUB): Likewise.
9203 (SEGV_MAPERR): Likewise.
9204 (SEGV_ACCERR): Likewise.
9205 (BUS_ADRALN): Likewise.
9206 (BUS_ADRERR): Likewise.
9207 (BUS_OBJERR): Likewise.
9208 (BUS_MCEERR_AR): Likewise.
9209 (BUS_MCEERR_AO): Likewise.
9210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9211 (TRAP_TRACE): Likewise.
9212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9214 (CLD_KILLED): Likewise.
9215 (CLD_DUMPED): Likewise.
9216 (CLD_TRAPPED): Likewise.
9217 (CLD_STOPPED): Likewise.
9218 (CLD_CONTINUED): Likewise.
9219 (POLL_IN): Likewise.
9220 (POLL_OUT): Likewise.
9221 (POLL_MSG): Likewise.
9222 (POLL_ERR): Likewise.
9223 (POLL_PRI): Likewise.
9224 (POLL_HUP): Likewise.
9225 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9226 (ILL_ILLOPN): Likewise.
9227 (ILL_ILLADR): Likewise.
9228 (ILL_ILLTRP): Likewise.
9229 (ILL_PRVOPC): Likewise.
9230 (ILL_PRVREG): Likewise.
9231 (ILL_COPROC): Likewise.
9232 (ILL_BADSTK): Likewise.
9233 (FPE_INTDIV): Likewise.
9234 (FPE_INTOVF): Likewise.
9235 (FPE_FLTDIV): Likewise.
9236 (FPE_FLTOVF): Likewise.
9237 (FPE_FLTUND): Likewise.
9238 (FPE_FLTRES): Likewise.
9239 (FPE_FLTINV): Likewise.
9240 (FPE_FLTSUB): Likewise.
9241 (SEGV_MAPERR): Likewise.
9242 (SEGV_ACCERR): Likewise.
9243 (BUS_ADRALN): Likewise.
9244 (BUS_ADRERR): Likewise.
9245 (BUS_OBJERR): Likewise.
9246 (BUS_MCEERR_AR): Likewise.
9247 (BUS_MCEERR_AO): Likewise.
9248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9249 (TRAP_TRACE): Likewise.
9250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9252 (CLD_KILLED): Likewise.
9253 (CLD_DUMPED): Likewise.
9254 (CLD_TRAPPED): Likewise.
9255 (CLD_STOPPED): Likewise.
9256 (CLD_CONTINUED): Likewise.
9257 (POLL_IN): Likewise.
9258 (POLL_OUT): Likewise.
9259 (POLL_MSG): Likewise.
9260 (POLL_ERR): Likewise.
9261 (POLL_PRI): Likewise.
9262 (POLL_HUP): Likewise.
9263 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9264 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9267 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9268 before #include of <time.h>.
9269 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9270 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9271 (test-xfail-UNIX98/sched.h/conform): Likewise.
9273 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9275 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9276 error absence of trapping exception support.
9277 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9279 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9281 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9282 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9283 * timezone/Makefile (testdata): Move definition above include of
9285 (test-zones): New variable.
9286 (tests-special): Add zone files.
9287 (build-testdata): Use $(evaluate-test).
9289 * elf/Makefile (tests-special): Rename tests to end with .out.
9290 ($(objpfx)noload-mem): Likewise.
9291 ($(objpfx)tst-leaks1-mem): Likewise.
9292 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9293 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9294 $(objpfx)test-iconvconfig.out.
9295 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9296 set -e inside subshell and redirect output to file.
9297 * iconvdata/Makefile (generated): Rename tests to end with .out.
9299 (tests-special): Rename tests to end with .out.
9300 ($(objpfx)mtrace-tst-loading): Likewise.
9301 * intl/Makefile (generated): Likewise.
9302 (tests-special): Likewise.
9303 ($(objpfx)mtrace-tst-gettext): Likewise.
9304 * misc/Makefile (generated): Likewise.
9305 (tests-special): Likewise.
9306 ($(objpfx)tst-error1-mem): Likewise.
9307 * nptl/Makefile (tests-special): Likewise.
9308 ($(objpfx)tst-stack3-mem): Likewise.
9309 (generated): Likewise.
9310 * posix/Makefile (generated): Likewise.
9311 (tests-special): Likewise.
9312 (xtests-special): Likewise.
9313 ($(objpfx)tst-fnmatch-mem): Likewise.
9314 ($(objpfx)bug-regex2-mem): Likewise.
9315 ($(objpfx)bug-regex14-mem): Likewise.
9316 ($(objpfx)bug-regex21-mem): Likewise.
9317 ($(objpfx)bug-regex31-mem): Likewise.
9318 ($(objpfx)tst-vfork3-mem): Likewise.
9319 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9320 ($(objpfx)tst-pcre-mem): Likewise.
9321 ($(objpfx)tst-boost-mem): Likewise.
9322 ($(objpfx)bug-ga2-mem): Likewise.
9323 ($(objpfx)bug-glob2-mem): Likewise.
9324 * resolv/Makefile (generate): Likewise.
9325 (tests-special): Likewise.
9326 (xtests-special): Likewise.
9327 (generated): Likewise.
9328 ($(objpfx)mtrace-tst-leaks): Likewise.
9329 ($(objpfx)mtrace-tst-leaks2): Likewise.
9331 * scripts/merge-test-results.sh: New file.
9332 * Makefile (tests-special-notdir): New variable.
9333 (tests): Run merge-test-results.sh.
9335 * Rules (tests-special-notdir): New variable.
9336 (xtests-special-notdir): Likewise.
9337 (tests): Run merge-test-results.sh
9340 * Makeconfig (test-xfail-name): New variable.
9341 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9342 compute variable name for expected failures.
9343 * conform/Makefile (conformtest-headers-data): New variable.
9344 (conformtest-standards): Likewise.
9345 (conformtest-headers-ISO): Likewise.
9346 (conformtest-headers-ISO99): Likewise.
9347 (conformtest-headers-ISO11): Likewise.
9348 (conformtest-headers-POSIX): Likewise.
9349 (conformtest-headers-XPG3): Likewise.
9350 (conformtest-headers-XPG4): Likewise.
9351 (conformtest-headers-UNIX98): Likewise.
9352 (conformtest-headers-XOPEN2K): Likewise.
9353 (conformtest-headers-POSIX2008): Likewise.
9354 (conformtest-headers-XOPEN2K8): Likewise.
9355 (conformtest-header-list-base): Likewise.
9356 (conformtest-header-list-tests): Likewise.
9357 (conformtest-header-base): Likewise.
9358 (conformtest-header-tests): Likewise.
9359 (tests-special): Add $(conformtest-header-list-tests). If
9360 [$(fast-check) && !$(cross-compiling)], add
9361 $(conformtest-header-tests) instead of
9362 $(objpfx)run-conformtest.out.
9363 (generated): Add $(conformtest-header-list-base). If
9364 [$(fast-check) && !$(cross-compiling)], add
9365 $(conformtest-header-base). Remove previous setting.
9366 ($(conformtest-header-list-tests)): New target.
9367 (test-xfail-run-conformtest): Remove variable.
9368 ($(objpfx)run-conformtest.out): Remove target.
9369 (test-xfail-ISO11/complex.h/conform): New variable.
9370 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9371 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9372 (test-xfail-XPG3/varargs.h/conform): Likewise.
9373 (test-xfail-XPG4/varargs.h/conform): Likewise.
9374 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9375 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9376 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9377 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9378 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9379 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9380 (test-xfail-XPG3/ftw.h/conform): Likewise.
9381 (test-xfail-XPG3/grp.h/conform): Likewise.
9382 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9383 (test-xfail-XPG3/limits.h/conform): Likewise.
9384 (test-xfail-XPG3/pwd.h/conform): Likewise.
9385 (test-xfail-XPG3/search.h/conform): Likewise.
9386 (test-xfail-XPG3/signal.h/conform): Likewise.
9387 (test-xfail-XPG3/stdio.h/conform): Likewise.
9388 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9389 (test-xfail-XPG3/string.h/conform): Likewise.
9390 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9391 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9392 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9393 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9394 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9395 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9396 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9397 (test-xfail-XPG3/termios.h/conform): Likewise.
9398 (test-xfail-XPG3/time.h/conform): Likewise.
9399 (test-xfail-XPG3/unistd.h/conform): Likewise.
9400 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9401 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9402 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9403 (test-xfail-XPG4/netdb.h/conform): Likewise.
9404 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9405 (test-xfail-XPG4/signal.h/conform): Likewise.
9406 (test-xfail-XPG4/stdio.h/conform): Likewise.
9407 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9408 (test-xfail-XPG4/stropts.h/conform): Likewise.
9409 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9410 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9411 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9412 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9413 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9414 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9415 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9416 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9417 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9418 (test-xfail-XPG4/termios.h/conform): Likewise.
9419 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9420 (test-xfail-XPG4/unistd.h/conform): Likewise.
9421 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9422 (test-xfail-POSIX/sched.h/conform): Likewise.
9423 (test-xfail-POSIX/signal.h/conform): Likewise.
9424 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9425 (test-xfail-POSIX/tar.h/conform): Likewise.
9426 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9427 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9428 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9429 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9430 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9431 (test-xfail-UNIX98/sched.h/conform): Likewise.
9432 (test-xfail-UNIX98/signal.h/conform): Likewise.
9433 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9434 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9435 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9436 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9437 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9438 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9439 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9440 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9441 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9442 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9443 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9444 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9445 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9446 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9447 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9448 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9449 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9450 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9451 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9452 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9453 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9454 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9455 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9456 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9457 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9458 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9459 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9460 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9461 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9462 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9463 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9464 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9465 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9466 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9467 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9468 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9469 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9470 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9471 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9472 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9473 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9474 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9475 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9476 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9477 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9478 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9479 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9480 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9481 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9482 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9483 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9484 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9485 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9486 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9487 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9488 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9489 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9490 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9491 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9492 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9493 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9494 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9495 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9496 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9497 (conformtest-cc-flags): Likewise.
9498 ($(conformtest-header-tests): New target.
9499 * conform/check-header-lists.sh: New file.
9500 * conform/run-conformtest.sh: Remove.
9502 * conform/conformtest.pl: Allow ' and \ in values given for
9504 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9506 [POSIX] (sys/types.h): Likewise.
9507 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9509 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9511 * conform/data/signal.h-data (SIGIO): Remove expectation.
9512 [XPG3] (SIGBUS): Do not expect.
9513 [POSIX || XPG3] (SIGPOLL): Likewise.
9514 [POSIX || XPG3] (SIGPROF): Likewise.
9515 [POSIX || XPG3] (SIGSYS): Likewise.
9516 [XPG3] (SIGTRAP): Likewise.
9517 [POSIX || XPG3] (SIGURG): Likewise.
9518 [POSIX || XPG3] (SIGVTALRM): Likewise.
9519 [POSIX || XPG3] (SIGXCPU): Likewise.
9520 [POSIX || XPG3] (SIGXFSZ): Likewise.
9521 [POSIX] (SA_SIGINFO): Expect.
9522 [XPG3] (siginfo_t): Do not expect type or contents.
9523 [POSIX] (si_pid): Do not expect element.
9524 [POSIX] (si_uid): Likewise.
9525 [POSIX] (si_addr): Likewise.
9526 [POSIX] (si_status): Likewise.
9527 [POSIX] (si_band): Likewise.
9528 [XPG4] (si_value): Likewise.
9529 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9530 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9531 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9532 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9533 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9534 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9535 [POSIX || XPG3] (ILL_COPROC): Likewise.
9536 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9537 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9538 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9539 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9540 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9541 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9542 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9543 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9544 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9545 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9546 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9547 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9548 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9549 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9550 [POSIX || XPG3] (CLD_EXITED): Likewise.
9551 [POSIX || XPG3] (CLD_KILLED): Likewise.
9552 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9553 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9554 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9555 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9556 [POSIX || XPG3] (POLL_IN): Likewise.
9557 [POSIX || XPG3] (POLL_OUT): Likewise.
9558 [POSIX || XPG3] (POLL_MSG): Likewise.
9559 [POSIX || XPG3] (POLL_ERR): Likewise.
9560 [POSIX || XPG3] (POLL_PRI): Likewise.
9561 [POSIX || XPG3] (POLL_HUP): Likewise.
9562 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9563 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9564 (SIG*): Do not allow.
9565 [XPG3] (si_*): Likewise.
9566 [XPG3] (SI_*): Likewise.
9567 [XPG3 || XPG4] (sigev_*): Likewise.
9568 [XPG3 || XPG4] (SIGEV_*): Likewise.
9569 [XPG3 || XPG4] (sival_*): Likewise.
9570 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9571 [POSIX || XPG3] (BUS_*): Likewise.
9572 [POSIX || XPG3] (CLD_*): Likewise.
9573 [POSIX || XPG3] (FPE_*): Likewise.
9574 [POSIX || XPG3] (ILL_*): Likewise.
9575 [POSIX || XPG3] (POLL_*): Likewise.
9576 [POSIX || XPG3] (SEGV_*): Likewise.
9577 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9578 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9579 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9580 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9581 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9582 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9583 Specify type and value.
9584 (TVERSLEN): Likewise.
9585 (REGTYPE): Likewise.
9586 (AREGTYPE): Likewise.
9587 (LNKTYPE): Likewise.
9588 (SYMTYPE): Likewise.
9589 (CHRTYPE): Likewise.
9590 (BLKTYPE): Likewise.
9591 (DIRTYPE): Likewise.
9592 (FIFOTYPE): Likewise.
9593 (CONTTYPE): Likewise.
9598 (TUWRITE): Likewise.
9601 (TGWRITE): Likewise.
9604 (TOWRITE): Likewise.
9606 [POSIX] (TSVTX): Expect constant.
9608 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9610 * Makefile (tests): Change dependencies to ....
9611 (tests-special): ... additions to this variable.
9612 (tests): Depend on $(tests-special).
9613 * Makerules (check-abi-list): New variable.
9614 (check-abi): Depend on $(check-abi-list).
9615 [$(subdir) = elf] (tests-special): Add
9616 $(objpfx)check-abi-libc.out.
9617 [$(build-shared) = yes && subdir] (tests-special): Add
9619 [$(build-shared) = yes && subdir] (tests): Do not depend on
9621 * Rules (tests): Depend on $(tests-special).
9622 (xtests): Depend on $(xtests-special).
9623 * catgets/Makefile (tests): Change dependencies to ....
9624 (tests-special): ... additions to this variable.
9625 * conform/Makefile (tests): Change dependencies to ....
9626 (tests-special): ... additions to this variable.
9627 * elf/Makefile (tests): Change dependencies to ....
9628 (tests-special): ... additions to this variable.
9629 * grp/Makefile (tests): Change dependencies to ....
9630 (tests-special): ... additions to this variable.
9631 * iconv/Makefile (xtests): Change dependencies to ....
9632 (xtests-special): ... additions to this variable.
9633 * iconvdata/Makefile (tests): Change dependencies to ....
9634 (tests-special): ... additions to this variable.
9635 * intl/Makefile (tests): Change dependencies to ....
9636 (tests-special): ... additions to this variable. Also add
9637 $(objpfx)tst-gettext.out.
9638 * io/Makefile (tests): Change dependencies to ....
9639 (tests-special): ... additions to this variable.
9640 * libio/Makefile (tests): Change dependencies to ....
9641 (tests-special): ... additions to this variable.
9642 * malloc/Makefile (tests): Change dependencies to ....
9643 (tests-special): ... additions to this variable.
9644 * misc/Makefile (tests): Change dependencies to ....
9645 (tests-special): ... additions to this variable.
9646 * nptl/Makefile (tests): Change dependencies to ....
9647 (tests-special): ... additions to this variable.
9648 * nptl_db/Makefile (tests): Change dependencies to ....
9649 (tests-special): ... additions to this variable.
9650 * posix/Makefile (tests): Change dependencies to ....
9651 (tests-special): ... additions to this variable.
9652 (xtests): Change dependencies to ....
9653 (xtests-special): ... additions to this variable.
9654 * resolv/Makefile (tests): Change dependencies to ....
9655 (tests-special): ... additions to this variable.
9656 (xtests): Change dependencies to ....
9657 (xtests-special): ... additions to this variable.
9658 * stdio-common/Makefile (tests): Change dependencies to ....
9659 (tests-special): ... additions to this variable.
9660 (do-tst-unbputc): Remove target.
9661 (do-tst-printf): Likewise.
9662 * stdlib/Makefile (tests): Change dependencies to ....
9663 (tests-special): ... additions to this variable.
9664 * string/Makefile (tests): Change dependencies to ....
9665 (tests-special): ... additions to this variable.
9666 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9667 (tests-special): ... additions to this variable.
9669 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9671 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9673 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9674 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9676 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9677 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9678 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9679 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9680 * conform/data/libgen.h-data [XPG3]: Likewise.
9681 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9682 * conform/data/ndbm.h-data [XPG3]: Likewise.
9683 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9684 * conform/data/netdb.h-data [XPG3]: Likewise.
9685 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9686 * conform/data/poll.h-data [XPG3]: Likewise.
9687 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9688 * conform/data/strings.h-data [XPG3]: Likewise.
9689 * conform/data/stropts.h-data [XPG3]: Likewise.
9690 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9691 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9692 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9694 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9695 * conform/data/sys/time.h-data [XPG3]: Likewise.
9696 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9697 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9698 * conform/data/sys/un.h-data [XPG3]: Likewise.
9699 * conform/data/syslog.h-data [XPG3]: Likewise.
9700 * conform/data/ucontext.h-data [XPG3]: Likewise.
9701 * conform/data/utmpx.h-data [XPG3]: Likewise.
9702 * conform/data/varargs.h-data [UNIX98]: Enable file.
9704 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9706 * math/libm-test.inc (struct test_f_f_data): Move expected results
9707 into structure for each rounding mode.
9708 (struct test_ff_f_data): Likewise.
9709 (struct test_ff_f_data_nexttoward): Likewise.
9710 (struct test_fi_f_data): Likewise.
9711 (struct test_fl_f_data): Likewise.
9712 (struct test_if_f_data): Likewise.
9713 (struct test_fff_f_data): Likewise.
9714 (struct test_c_f_data): Likewise.
9715 (struct test_f_f1_data): Likewise.
9716 (struct test_fF_f1_data): Likewise.
9717 (struct test_ffI_f1_data): Likewise.
9718 (struct test_c_c_data): Likewise.
9719 (struct test_cc_c_data): Likewise.
9720 (struct test_f_i_data): Likewise.
9721 (struct test_ff_i_data): Likewise.
9722 (struct test_f_l_data): Likewise.
9723 (struct test_f_L_data): Likewise.
9724 (struct test_fFF_11_data): Likewise.
9726 (RM_FE_DOWNWARD): Likewise.
9727 (RM_FE_TONEAREST): Likewise.
9728 (RM_FE_TOWARDZERO): Likewise.
9729 (RM_FE_UPWARD): Likewise.
9730 (RUN_TEST_LOOP_f_f): Update references to expected results.
9731 (RUN_TEST_LOOP_2_f): Likewise.
9732 (RUN_TEST_LOOP_fff_f): Likewise.
9733 (RUN_TEST_LOOP_c_f): Likewise.
9734 (RUN_TEST_LOOP_f_f1): Likewise.
9735 (RUN_TEST_LOOP_fF_f1): Likewise.
9736 (RUN_TEST_LOOP_fI_f1): Likewise.
9737 (RUN_TEST_LOOP_ffI_f1): Likewise.
9738 (RUN_TEST_LOOP_c_c): Likewise.
9739 (RUN_TEST_LOOP_cc_c): Likewise.
9740 (RUN_TEST_LOOP_f_i): Likewise.
9741 (RUN_TEST_LOOP_f_i_tg): Likewise.
9742 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9743 (RUN_TEST_LOOP_f_b): Likewise.
9744 (RUN_TEST_LOOP_f_b_tg): Likewise.
9745 (RUN_TEST_LOOP_f_l): Likewise.
9746 (RUN_TEST_LOOP_f_L): Likewise.
9747 (RUN_TEST_LOOP_fFF_11): Likewise.
9748 * math/gen-libm-test.pl (parse_args): Output four copies of
9749 expected results for each test.
9751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9752 (__ASSUME_UTIMES): Remove.
9753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9754 (__ASSUME_UTIMES): Likewise.
9756 * math/gen-auto-libm-tests.c: Update comment on output format.
9757 (output_for_one_input_case): Generate before-rounding and
9758 after-rounding information as conditions on output flags not
9759 floating-point format.
9760 * math/auto-libm-test-out: Regenerated.
9761 * math/gen-libm-test.pl (cond_value): New function.
9762 (or_cond_value): Use cond_value.
9763 (generate_testfile): Handle conditional exceptions.
9765 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9767 * math/libm-test.inc (max_valid_error): New variable.
9768 (init_max_error): Take new argument specifying whether function
9769 results are exactly determined. Set max_valid_error and bound
9770 other variables for errors based on this argument.
9771 (set_max_error): Do not record results above max_valid_error.
9772 (check_float_internal): Only accept errors of up to 0.5ulps if
9773 also at most max_valid_error.
9774 (START): Take new argument EXACT and pass it to init_max_error.
9775 (acos_test): Update call to START.
9776 (acos_test_tonearest): Likewise.
9777 (acos_test_towardzero): Likewise.
9778 (acos_test_downward): Likewise.
9779 (acos_test_upward): Likewise.
9780 (acosh_test): Likewise.
9781 (asin_test): Likewise.
9782 (asin_test_tonearest): Likewise.
9783 (asin_test_towardzero): Likewise.
9784 (asin_test_downward): Likewise.
9785 (asin_test_upward): Likewise.
9786 (asinh_test): Likewise.
9787 (atan_test): Likewise.
9788 (atanh_test): Likewise.
9789 (atan2_test): Likewise.
9790 (cabs_test): Likewise.
9791 (cacos_test): Likewise.
9792 (cacosh_test): Likewise.
9793 (carg_test): Likewise.
9794 (casin_test): Likewise.
9795 (casinh_test): Likewise.
9796 (catan_test): Likewise.
9797 (catanh_test): Likewise.
9798 (cbrt_test): Likewise.
9799 (ccos_test): Likewise.
9800 (ccosh_test): Likewise.
9801 (ceil_test): Likewise.
9802 (cexp_test): Likewise.
9803 (cimag_test): Likewise.
9804 (clog_test): Likewise.
9805 (clog10_test): Likewise.
9806 (conj_test): Likewise.
9807 (copysign_test): Likewise.
9808 (cos_test): Likewise.
9809 (cos_test_tonearest): Likewise.
9810 (cos_test_towardzero): Likewise.
9811 (cos_test_downward): Likewise.
9812 (cos_test_upward): Likewise.
9813 (cosh_test): Likewise.
9814 (cosh_test_tonearest): Likewise.
9815 (cosh_test_towardzero): Likewise.
9816 (cosh_test_downward): Likewise.
9817 (cosh_test_upward): Likewise.
9818 (cpow_test): Likewise.
9819 (cproj_test): Likewise.
9820 (creal_test): Likewise.
9821 (csin_test): Likewise.
9822 (csinh_test): Likewise.
9823 (csqrt_test): Likewise.
9824 (ctan_test): Likewise.
9825 (ctan_test_tonearest): Likewise.
9826 (ctan_test_towardzero): Likewise.
9827 (ctan_test_downward): Likewise.
9828 (ctan_test_upward): Likewise.
9829 (ctanh_test): Likewise.
9830 (ctanh_test_tonearest): Likewise.
9831 (ctanh_test_towardzero): Likewise.
9832 (ctanh_test_downward): Likewise.
9833 (ctanh_test_upward): Likewise.
9834 (erf_test): Likewise.
9835 (erfc_test): Likewise.
9836 (exp_test): Likewise.
9837 (exp_test_tonearest): Likewise.
9838 (exp_test_towardzero): Likewise.
9839 (exp_test_downward): Likewise.
9840 (exp_test_upward): Likewise.
9841 (exp10_test): Likewise.
9842 (exp10_test_tonearest): Likewise.
9843 (exp10_test_towardzero): Likewise.
9844 (exp10_test_downward): Likewise.
9845 (exp10_test_upward): Likewise.
9846 (pow10_test): Likewise.
9847 (exp2_test): Likewise.
9848 (expm1_test): Likewise.
9849 (expm1_test_tonearest): Likewise.
9850 (expm1_test_towardzero): Likewise.
9851 (expm1_test_downward): Likewise.
9852 (expm1_test_upward): Likewise.
9853 (fabs_test): Likewise.
9854 (fdim_test): Likewise.
9855 (floor_test): Likewise.
9856 (fma_test): Likewise.
9857 (fma_test_towardzero): Likewise.
9858 (fma_test_downward): Likewise.
9859 (fma_test_upward): Likewise.
9860 (fmax_test): Likewise.
9861 (fmin_test): Likewise.
9862 (fmod_test): Likewise.
9863 (fpclassify_test): Likewise.
9864 (frexp_test): Likewise.
9865 (hypot_test): Likewise.
9866 (ilogb_test): Likewise.
9867 (isfinite_test): Likewise.
9868 (finite_test): Likewise.
9869 (isgreater_test): Likewise.
9870 (isgreaterequal_test): Likewise.
9871 (isinf_test): Likewise.
9872 (isless_test): Likewise.
9873 (islessequal_test): Likewise.
9874 (islessgreater_test): Likewise.
9875 (isnan_test): Likewise.
9876 (isnormal_test): Likewise.
9877 (issignaling_test): Likewise.
9878 (isunordered_test): Likewise.
9879 (j0_test): Likewise.
9880 (j1_test): Likewise.
9881 (jn_test): Likewise.
9882 (ldexp_test): Likewise.
9883 (lgamma_test): Likewise.
9884 (gamma_test): Likewise.
9885 (lrint_test): Likewise.
9886 (lrint_test_tonearest): Likewise.
9887 (lrint_test_towardzero): Likewise.
9888 (lrint_test_downward): Likewise.
9889 (lrint_test_upward): Likewise.
9890 (llrint_test): Likewise.
9891 (llrint_test_tonearest): Likewise.
9892 (llrint_test_towardzero): Likewise.
9893 (llrint_test_downward): Likewise.
9894 (llrint_test_upward): Likewise.
9895 (log_test): Likewise.
9896 (log10_test): Likewise.
9897 (log1p_test): Likewise.
9898 (log2_test): Likewise.
9899 (logb_test): Likewise.
9900 (logb_test_downward): Likewise.
9901 (lround_test): Likewise.
9902 (llround_test): Likewise.
9903 (modf_test): Likewise.
9904 (nearbyint_test): Likewise.
9905 (nextafter_test): Likewise.
9906 (nexttoward_test): Likewise.
9907 (pow_test): Likewise.
9908 (pow_test_tonearest): Likewise.
9909 (pow_test_towardzero): Likewise.
9910 (pow_test_downward): Likewise.
9911 (pow_test_upward): Likewise.
9912 (remainder_test): Likewise.
9913 (drem_test): Likewise.
9914 (remainder_test_tonearest): Likewise.
9915 (drem_test_tonearest): Likewise.
9916 (remainder_test_towardzero): Likewise.
9917 (drem_test_towardzero): Likewise.
9918 (remainder_test_downward): Likewise.
9919 (drem_test_downward): Likewise.
9920 (remainder_test_upward): Likewise.
9921 (drem_test_upward): Likewise.
9922 (remquo_test): Likewise.
9923 (rint_test): Likewise.
9924 (rint_test_tonearest): Likewise.
9925 (rint_test_towardzero): Likewise.
9926 (rint_test_downward): Likewise.
9927 (rint_test_upward): Likewise.
9928 (round_test): Likewise.
9929 (scalb_test): Likewise.
9930 (scalbn_test): Likewise.
9931 (scalbln_test): Likewise.
9932 (signbit_test): Likewise.
9933 (sin_test): Likewise.
9934 (sin_test_tonearest): Likewise.
9935 (sin_test_towardzero): Likewise.
9936 (sin_test_downward): Likewise.
9937 (sin_test_upward): Likewise.
9938 (sincos_test): Likewise.
9939 (sinh_test): Likewise.
9940 (sinh_test_tonearest): Likewise.
9941 (sinh_test_towardzero): Likewise.
9942 (sinh_test_downward): Likewise.
9943 (sinh_test_upward): Likewise.
9944 (sqrt_test): Likewise.
9945 (sqrt_test_tonearest): Likewise.
9946 (sqrt_test_towardzero): Likewise.
9947 (sqrt_test_downward): Likewise.
9948 (sqrt_test_upward): Likewise.
9949 (tan_test): Likewise.
9950 (tan_test_tonearest): Likewise.
9951 (tan_test_towardzero): Likewise.
9952 (tan_test_downward): Likewise.
9953 (tan_test_upward): Likewise.
9954 (tanh_test): Likewise.
9955 (tgamma_test): Likewise.
9956 (trunc_test): Likewise.
9957 (y0_test): Likewise.
9958 (y1_test): Likewise.
9959 (yn_test): Likewise.
9960 (significand_test): Likewise.
9962 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9963 individual tests in comment.
9964 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9965 (prev_max_error): New variable.
9966 (prev_real_max_error): Likewise.
9967 (prev_imag_max_error): Likewise.
9968 (compare_ulp_data): Don't refer to test names in comment.
9969 (find_test_ulps): Remove function.
9970 (find_function_ulps): Likewise.
9971 (find_complex_function_ulps): Likewise.
9972 (init_max_error): Take function name as argument. Look up ulps
9974 (print_ulps): Remove function.
9975 (print_max_error): Use prev_max_error instead of calling
9977 (print_complex_max_error): Use prev_real_max_error and
9978 prev_imag_max_error instead of calling find_complex_function_ulps.
9979 (check_float_internal): Take max_ulp parameter instead of calling
9980 find_test_ulps. Don't call print_ulps.
9981 (check_float): Update call to check_float_internal.
9982 (check_complex): Update calls to check_float_internal.
9983 (START): Pass argument to init_max_error.
9984 * math/gen-libm-test.pl (%results): Don't include "kind"
9986 (parse_ulps): Don't handle ulps of individual tests.
9987 (print_ulps_file): Likewise.
9988 (output_ulps): Likewise.
9989 * math/README.libm-test: Update.
9990 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9992 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9993 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9994 * sysdeps/arm/libm-test-ulps: Likewise.
9995 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9996 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9997 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9998 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9999 * sysdeps/microblaze/libm-test-ulps: Likewise.
10000 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10001 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10003 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10005 * sysdeps/sh/libm-test-ulps: Likewise.
10006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10007 * sysdeps/tile/libm-test-ulps: Likewise.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10010 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10012 * math/libm-test.inc (print_complex_max_error): Check separately
10013 whether real and imaginary errors are within allowed range and
10014 pass 0 to print_complex_function_ulps instead of value within
10017 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10019 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10021 (get_handles_fopen): Likewise.
10022 (do_write_test): Likewise.
10024 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10026 * libio/fileops.c (do_ftell): Use cached offset when
10028 * libio/iofwide.c (do_ftell_wide): Likewise.
10029 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10031 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10034 * libio/libioP.h (get_file_offset): New function.
10035 * libio/fileops.c (get_file_offset): Likewise.
10036 (do_ftell): Likewise.
10037 (_IO_new_file_seekoff): Split out ftell logic.
10038 * libio/wfileops.c (do_ftell_wide): Likewise.
10039 (_IO_wfile_seekoff): Split out ftell logic.
10040 * libio/tst-ftell-active-handler.c: New test case.
10041 * libio/Makefile (tests): Add it.
10043 2014-03-03 Roland McGrath <roland@hack.frob.com>
10045 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10046 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10048 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * nscd/connections.c (nscd_init): Call do_exit.
10052 (start_threads): Call do_exit and notify_parent.
10053 (begin_drop_privileges): Call do_exit.
10054 (finish_drop_privileges): Likewise.
10055 * nscd/selinux.c (preserve_capabilities): Likewise.
10056 (install_real_capabilities): Likewise.
10057 (nscd_selinux_enabled): Likewise.
10058 (avc_create_thread): Likewise.
10059 (avc_alloc_lock): Likewise.
10060 (nscd_avc_init): Likewise.
10061 * nscd/nscd.c (parent_fd): New static variable.
10062 (main): Create a pipe between parent and child processes.
10063 Skip closing parent_fd.
10064 (monitor_child): New function.
10065 (do_exit): Likewise.
10066 (notify_parent): Likewise.
10067 * nscd/nscd.h (notify_parent): Likewise.
10068 (do_exit): Likewise.
10070 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10072 * malloc/malloc.c (__libc_calloc): Revert last change.
10074 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10078 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10080 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10084 (__libc_ifunc_impl_list): Likewise.
10085 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10086 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10087 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10088 * string/strrchr.c: Define STRRCHR.
10090 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10092 * benchtest/bench-strtok.c (simple_strtok): Delete.
10093 (strtok_string): Use as benchmark.
10094 * string/strtok (STRTOK): New macro.
10096 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10098 * manual/threads.texi: Add header and standard comments to all
10101 * elf/dl-lookup.c (check_match): New function.
10102 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10103 (do_lookup_x): Remove nested function check_match. Use non-nested
10104 function check_match.
10106 2014-02-28 Roland McGrath <roland@hack.frob.com>
10108 * csu/Makefile (generated, before-compile): Use += rather than =.
10109 * catgets/Makefile (generated, generated-dirs): Likewise.
10110 * debug/Makefile (generated): Likewise.
10111 * dlfcn/Makefile (generated): Likewise.
10112 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10113 * iconvdata/Makefile (before-compile, generated): Likewise.
10114 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10115 * libio/Makefile (generated): Likewise.
10116 * malloc/Makefile (generated): Likewise.
10117 * manual/Makefile (generated, generated-dirs): Likewise.
10118 * misc/Makefile (generated): Likewise.
10119 * posix/Makefile (generated): Likewise.
10120 * resolv/Makefile (generated): Likewise.
10121 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10122 * timezone/Makefile (generated, generated-dirs): Likewise.
10124 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10126 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10129 power8 implementation.
10130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10131 file: POWER8 llround ifunc implementation.
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10133 (__lllround): Add POWER8 implementation.
10134 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10135 POWER8 llround implementation.
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10138 power8 implementation.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10140 file: POWER8 llrint ifunc implementation.
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10142 Add POWER8 implementation.
10143 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10144 POWER8 llrint implementation.
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10147 power8 implementation.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10149 file: POWER8 finite ifunc implementation.
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10151 Add POWER8 implementation.
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10154 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10155 POWER8 finite implementation.
10156 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10159 power8 implementation.
10160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10161 file: POWER8 isinf ifunc implementation.
10162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10163 POWER8 implementation.
10164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10166 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10167 isinf implementation.
10168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10170 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10171 (INIT_ARCH): Add hwcap2 initialization.
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10173 power8 implementation.
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10175 file: POWER8 isnan ifunc implementation.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10177 POWER8 implementation.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10180 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10181 isnan implementation.
10182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10184 2014-02-27 Joey Ye <joey.ye@arm.com>
10186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10187 (_FP_NANFRAC_Q): Set to zero.
10189 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 * math/auto-libm-test-in: New test inputs.
10193 * math/auto-libm-test-out: Regenerate.
10194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10199 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10201 * scripts/evaluate-test.sh: Take new argument indicating whether
10202 failure is expected.
10203 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10204 indicating whether failure is expected.
10205 * conform/Makefile (test-xfail-run-conformtest): New variable.
10206 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10208 * posix/Makefile (test-xfail-annexc): New variable.
10209 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10211 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10213 * argp/Makefile: Include Makeconfig immediately after defining
10215 * assert/Makefile: Likewise.
10216 * benchtests/Makefile: Likewise.
10217 * catgets/Makefile: Likewise.
10218 * conform/Makefile: Likewise.
10219 * crypt/Makefile: Likewise.
10220 * csu/Makefile: Likewise.
10221 (all): Remove target.
10222 * ctype/Makefile: Include Makeconfig immediately after defining
10224 * debug/Makefile: Likewise.
10225 * dirent/Makefile: Likewise.
10226 * dlfcn/Makefile: Likewise.
10227 * gmon/Makefile: Likewise.
10228 * gnulib/Makefile: Likewise.
10229 * grp/Makefile: Likewise.
10230 * gshadow/Makefile: Likewise.
10231 * hesiod/Makefile: Likewise.
10232 * hurd/Makefile: Likewise.
10233 (all): Remove target.
10234 * iconvdata/Makefile: Include Makeconfig immediately after
10236 * inet/Makefile: Likewise.
10237 * intl/Makefile: Likewise.
10238 * io/Makefile: Likewise.
10239 * libio/Makefile: Likewise.
10240 (all): Remove target.
10241 * locale/Makefile: Include Makeconfig immediately after defining
10243 * login/Makefile: Likewise.
10244 * mach/Makefile: Likewise.
10245 (all): Remove target.
10246 * malloc/Makefile: Include Makeconfig immediately after defining
10248 (all): Remove target.
10249 * manual/Makefile: Include Makeconfig immediately after defining
10251 * math/Makefile: Likewise.
10252 * misc/Makefile: Likewise.
10253 * nis/Makefile: Likewise.
10254 * nss/Makefile: Likewise.
10255 * po/Makefile: Likewise.
10256 (all): Remove target.
10257 * posix/Makefile: Include Makeconfig immediately after defining
10259 * pwd/Makefile: Likewise.
10260 * resolv/Makefile: Likewise.
10261 * resource/Makefile: Likewise.
10262 * rt/Makefile: Likewise.
10263 * setjmp/Makefile: Likewise.
10264 * shadow/Makefile: Likewise.
10265 * signal/Makefile: Likewise.
10266 * socket/Makefile: Likewise.
10267 * soft-fp/Makefile: Likewise.
10268 * stdio-common/Makefile: Likewise.
10269 * stdlib/Makefile: Likewise.
10270 * streams/Makefile: Likewise.
10271 * string/Makefile: Likewise.
10272 * sunrpc/Makefile: Likewise.
10273 (all): Remove target.
10274 * sysvipc/Makefile: Include Makeconfig immediately after defining
10276 * termios/Makefile: Likewise.
10277 * time/Makefile: Likewise.
10278 * timezone/Makefile: Likewise.
10279 (all): Remove target.
10280 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10282 * wctype/Makefile: Likewise.
10284 2014-02-26 Steve Ellcey <sellcey@mips.com>
10286 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10287 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10288 (libc_feholdexcept_setround_mips): Ditto.
10289 (libc_feholdsetround): New.
10290 (libc_feholdsetroundf): New.
10291 (libc_feholdsetroundl): New.
10292 (libc_feupdateenv_test_mips): New.
10293 (libc_feupdateenv_test): New.
10294 (libc_feupdateenv_testf): New.
10295 (libc_feupdateenv_testl): New.
10296 (libc_feresetround): New.
10297 (libc_feresetroundf): New.
10298 (libc_feresetroundl): New.
10299 (libc_fetestexcept_mips): New.
10300 (libc_fetestexcept): New.
10301 (libc_fetestexceptf): New.
10302 (libc_fetestexceptl): New.
10303 (HAVE_RM_CTX): New.
10304 (libc_feholdexcept_setround_mips_ctx): New.
10305 (libc_feholdexcept_setround_ctx): New.
10306 (libc_feholdexcept_setroundf_ctx): New.
10307 (libc_feholdexcept_setroundl_ctx): New.
10308 (libc_fesetenv_mips_ctx): New.
10309 (libc_fesetenv_ctx): New.
10310 (libc_fesetenv_ctxf): New.
10311 (libc_fesetenv_ctxl): New.
10312 (libc_feupdateenv_mips_ctx): New.
10313 (libc_feupdateenv_ctx): New.
10314 (libc_feupdateenvf_ctx): New.
10315 (libc_feupdateenvl_ctx): New.
10316 (libc_feholdsetround_mips_ctx): New.
10317 (libc_feholdsetround_ctx): New.
10318 (libc_feholdsetroundf_ctx): New.
10319 (libc_feholdsetroundl_ctx): New.
10320 (libc_feresetround_mips_ctx): New.
10321 (libc_feresetround_ctx): New.
10322 (libc_feresetroundf_ctx): New.
10323 (libc_feresetroundl_ctx): New.
10325 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10327 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10329 * manual/ipc.texi: New file.
10330 * manual/Makefile (chapters): Add ipc.
10331 * manual/job.texi: Add "Inter-Process Communication" to next.
10332 * manual/process.texi: Add "Inter-Process Communication" to prev.
10334 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10338 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10340 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10342 * manual/arith.texi: Fix spaces after sentences.
10343 * manual/charset.texi: Likewise.
10344 * manual/errno.texi: Likewise.
10345 * manual/install.texi: Likewise.
10346 * manual/llio.texi: Likewise.
10347 * manual/locale.texi: Likewise.
10348 * manual/maint.texi: Likewise.
10349 * manual/math.texi: Likewise.
10350 * manual/memory.texi: Likewise.
10351 * manual/message.texi: Likewise.
10352 * manual/probes.texi: Likewise.
10353 * manual/resource.texi: Likewise.
10354 * manual/signal.texi: Likewise.
10355 * manual/socket.texi: Likewise.
10356 * manual/stdio.texi: Likewise.
10357 * manual/string.texi: Likewise.
10358 * manual/time.texi: Likewise.
10359 * manual/users.texi: Likewise.
10361 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10364 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10365 _DEFAULT_SOURCE is defined.
10367 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10368 Carlos O'Donell <carlos@redhat.com>
10371 * elf/dl-tls.c (_dl_count_modids): New function.
10372 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10373 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10374 audit library and increment generation counter.
10375 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10376 * elf/tst-audit9.c: New file.
10377 * elf/tst-auditmod9a.c: New file.
10378 * elf/tst-auditmod9b.c: New file.
10379 * elf/Makefile: Add rules to build and run tst-audit9.
10381 2014-02-25 Florian Weimer <fweimer@redhat.com>
10384 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10386 2014-02-25 Will Newton <will.newton@linaro.org>
10388 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10389 (__longjmp): Restore sp and lr before restoring callee
10390 saved registers. Add longjmp and longjmp_target
10391 SystemTap probe point.
10392 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10393 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10394 Define to zero to match jmpbuf layout.
10395 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10396 (__sigsetjmp): Save sp and lr before saving callee
10397 saved registers. Add setjmp SystemTap probe point.
10399 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10403 2014-02-24 Andreas Schwab <schwab@suse.de>
10406 * elf/pldd.c (wait_for_ptrace_stop): New function.
10407 (main): Call it after attaching.
10409 2014-02-22 Roland McGrath <roland@hack.frob.com>
10411 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10412 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10413 Versions files is now verboten.
10414 * hurd/Versions (libc: GLIBC_2.0):
10415 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10416 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10417 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10418 * mach/Versions: Likewise.
10420 * csu/Versions: Remove unused %include.
10421 * resolv/Versions: Likewise.
10423 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10425 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10426 ($(objpfx)check-local-headers.out): Likewise.
10427 ($(objpfx)begin-end-check.out): Likewise.
10428 * Makerules (check-abi-%.out): Likewise.
10429 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10430 ($(objpfx)test2.cat): Likewise.
10431 ($(objpfx)de/libc.cat): Likewise.
10432 ($(objpfx)test-gencat.out): Likewise.
10433 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10434 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10435 ($(objpfx)noload-mem): Likewise.
10436 ($(objpfx)tst-pathopt.out): Likewise.
10437 ($(objpfx)tst-rtld-load-self.out): Likewise.
10438 ($(objpfx)tst-array1-cmp.out): Likewise.
10439 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10440 ($(objpfx)tst-array2-cmp.out): Likewise.
10441 ($(objpfx)tst-array3-cmp.out): Likewise.
10442 ($(objpfx)tst-array4-cmp.out): Likewise.
10443 ($(objpfx)tst-array5-cmp.out): Likewise.
10444 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10445 ($(objpfx)check-textrel.out): Likewise.
10446 ($(objpfx)check-execstack.out): Likewise.
10447 ($(objpfx)check-localplt.out): Likewise.
10448 ($(objpfx)order2-cmp.out): Likewise.
10449 ($(objpfx)tst-leaks1-mem): Likewise.
10450 ($(objpfx)tst-leaks1-static-mem): Likewise.
10451 ($(objpfx)tst-initorder-cmp.out): Likewise.
10452 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10453 ($(objpfx)tst-unused-dep.out): Likewise.
10454 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10456 * iconv/Makefile (test-iconvconfig): Likewise.
10457 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10458 ($(objpfx)iconv-test.out): Likewise.
10459 ($(objpfx)tst-tables.out): Likewise.
10460 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10461 ($(objpfx)tst-gettext.out): Likewise.
10462 ($(objpfx)tst-translit.out): Likewise.
10463 ($(objpfx)tst-gettext2.out): Likewise.
10464 ($(objpfx)tst-gettext4.out): Likewise.
10465 ($(objpfx)tst-gettext6.out): Likewise.
10466 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10467 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10468 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10469 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10470 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10471 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10472 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10473 ($(objpfx)wordexp-tst.out): Likewise.
10474 ($(objpfx)annexc.out): Likewise.
10475 ($(objpfx)tst-fnmatch-mem): Likewise.
10476 ($(objpfx)bug-regex2-mem): Likewise.
10477 ($(objpfx)bug-regex14-mem): Likewise.
10478 ($(objpfx)bug-regex21-mem): Likewise.
10479 ($(objpfx)bug-regex31-mem): Likewise.
10480 ($(objpfx)tst-vfork3-mem): Likewise.
10481 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10482 ($(objpfx)tst-pcre-mem): Likewise.
10483 ($(objpfx)tst-boost-mem): Likewise.
10484 ($(objpfx)tst-getconf.out): Likewise.
10485 ($(objpfx)bug-ga2-mem): Likewise.
10486 ($(objpfx)bug-glob2-mem): Likewise.
10487 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10488 ($(objpfx)mtrace-tst-leaks2): Likewise.
10489 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10490 ($(objpfx)tst-printf.out): Likewise.
10491 ($(objpfx)tst-setvbuf1.out): Likewise.
10492 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10493 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10494 ($(objpfx)tst-fmtmsg.out): Likewise.
10495 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10496 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10498 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10499 * bits/sigaction.h [__USE_MISC]: Likewise.
10500 * bits/waitstatus.h: Update #endif comments.
10501 * ctype/ctype.h: Likewise.
10502 * dirent/dirent.h: Likewise.
10503 [__USE_MISC]: Remove redundant conditionals.
10504 * grp/grp.h: Update #endif comments.
10505 [__USE_GNU]: Remove redundant conditionals.
10506 [__USE_MISC]: Likewise.
10507 * inet/netinet/in.h [__USE_GNU]: Likewise.
10508 * io/sys/stat.h [__USE_MISC]: Likewise.
10509 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10510 * libio/bits/stdio.h: Update #endif comments.
10511 [__USE_MISC]: Remove redundant conditionals.
10512 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10513 * libio/stdio.h: Update #endif comments.
10514 [__USE_MISC]: Remove redundant conditionals.
10515 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10516 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10517 * math/math.h: Update #else and #endif comments.
10518 [__USE_MISC]: Remove redundant conditionals.
10519 * misc/sys/uio.h: Update #endif comments.
10520 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10521 * posix/glob.h [__USE_MISC]: Likewise.
10522 * posix/sys/types.h: Update #endif comments.
10523 [__USE_MISC]: Remove redundant conditionals.
10524 * posix/sys/wait.h: Update #endif comments.
10525 [__USE_MISC]: Remove redundant conditionals.
10526 * posix/unistd.h: Update #endif comments.
10527 [__USE_MISC]: Remove redundant conditionals.
10528 * pwd/pwd.h [__USE_GNU]: Likewise.
10529 [__USE_MISC]: Likewise.
10530 * resolv/netdb.h [__USE_GNU]: Likewise.
10531 * signal/signal.h: Update #endif comments.
10532 [__USE_MISC]: Remove redundant conditionals.
10533 * stdlib/stdlib.h: Update #else and #endif comments.
10534 [__USE_MISC]: Remove redundant conditionals.
10535 [__USE_GNU]: Likewise.
10536 * string/bits/string2.h [__USE_MISC]: Likewise.
10537 * string/string.h: Update #endif comments.
10538 [__USE_MISC]: Remove redundant conditionals.
10539 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10541 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10542 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10543 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10545 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10549 [__USE_MISC]: Remove redundant conditionals.
10550 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10551 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10552 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10553 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10554 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10556 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10557 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10559 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10560 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10562 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10564 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10565 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10567 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10569 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10570 * sysdeps/x86/bits/string.h: Update #endif comments.
10571 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10573 * time/sys/time.h: Update #endif comments.
10574 * time/time.h: Likewise.
10575 [__USE_MISC]: Remove redundant conditionals.
10577 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10580 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10582 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10584 * Versions.def (librt): Add GLIBC_2.17.
10586 2014-02-21 Adam Conrad <adconrad@0c3.net>
10588 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10589 synonym for _SYS_AUXV_H to allow direct inclusion.
10590 * sysdeps/sparc/bits/hwcap.h: Likewise.
10591 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10592 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10593 * sysdeps/sparc/sysdep.h: Likewise.
10595 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10597 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10599 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10601 * benchtests/bench-strrchr.c: Print length instead of position.
10603 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10606 * sysdeps/unix/sysv/linux/kernel-features.h
10607 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10608 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10609 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10610 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10612 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10613 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10614 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10615 (__ASSUME_SENDMMSG): Define instead of using previous
10616 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10617 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10618 (__ASSUME_SENDMMSG_SYSCALL): Define.
10619 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10620 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10622 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10623 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10626 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10629 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10630 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10631 [__ASSUME_SENDMMSG]: Change conditionals to
10632 [__ASSUME_SENDMMSG_SOCKETCALL].
10633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10634 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10637 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10639 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10640 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10641 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10642 [!__ASSUME_SENDMMSG]: Change conditional to
10643 [!__ASSUME_SENDMMSG_SOCKETCALL].
10644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10645 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10649 * sysdeps/unix/sysv/linux/kernel-features.h
10650 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10651 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10652 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10653 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10654 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10655 [__i386__ || __sparc__]
10656 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10657 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10658 (__ASSUME_RECVMMSG): Define instead of using previous
10659 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10660 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10661 (__ASSUME_RECVMMSG_SYSCALL): Define.
10662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10663 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10671 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10672 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10673 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10674 [__ASSUME_RECVMMSG]: Change condition to
10675 [__ASSUME_RECVMMSG_SOCKETCALL].
10676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10679 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10680 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10683 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10684 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10685 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10686 [!__ASSUME_RECVMMSG]: Change condition to
10687 [!__ASSUME_RECVMMSG_SOCKETCALL].
10688 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10689 (__ASSUME_RECVMMSG_SYSCALL): Define.
10692 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10693 __powerpc__ || __s390__ || __sh__ || __sparc__]
10694 (__ASSUME_SOCKETCALL): Define.
10695 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10696 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10697 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10698 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10699 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10700 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10701 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10702 (__ASSUME_ACCEPT4): Define instead of using previous
10703 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10704 __powerpc__ || __sparc__ || __s390__)] condition.
10705 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10706 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10707 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10708 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10709 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10710 [!__ASSUME_ACCEPT4]: Change condition to
10711 [!__ASSUME_ACCEPT4_SOCKETCALL].
10712 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10713 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10714 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10715 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10716 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10717 __ASSUME_ACCEPT4_SYSCALL.
10718 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10719 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10720 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10721 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10722 __ASSUME_ACCEPT4_SYSCALL.
10723 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10724 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10725 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10726 [__ASSUME_ACCEPT4]: Change condition to
10727 [__ASSUME_ACCEPT4_SOCKETCALL].
10728 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10729 (__ASSUME_SOCKETCALL): Define.
10730 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10732 (__ASSUME_SOCKETCALL): Define.
10733 (__ASSUME_ACCEPT4): Remove.
10734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10737 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10740 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10742 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10744 (HWCAP_ARM_LPAE): Likewise.
10745 (HWCAP_ARM_EVTSTRM): Likewise.
10746 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10747 Add vpfd32, lpae and evtstrm.
10748 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10751 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10753 * math/auto-libm-test-in: Add tests of clog10.
10754 * math/auto-libm-test-out: Regenerated.
10755 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10756 * sysdeps/i386/fpu/libm-test-ulps: Update.
10757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10759 2014-02-18 Andreas Schwab <schwab@suse.de>
10762 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10763 Store non-zero if the second buffer was newly allocated.
10764 (send_dg): Likewise.
10765 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10766 to send_vc and send_dg.
10767 (res_nsend): Pass NULL for ansp2_malloced.
10768 * resolv/res_query.c (__libc_res_nquery): Add parameter
10769 answerp2_malloced and pass it down to __libc_res_nsend.
10770 (res_nquery): Pass additional NULL to __libc_res_nquery.
10771 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10772 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10773 second answer buffer if answerp2_malloced was set.
10774 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10775 (__libc_res_nquerydomain): Add parameter
10776 answerp2_malloced and pass it down to __libc_res_nquery.
10777 (res_nquerydomain): Pass additional NULL to
10778 __libc_res_nquerydomain.
10779 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10780 additional NULL to __libc_res_nsend and __libc_res_nquery.
10781 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10782 additional NULL to __libc_res_nsearch.
10783 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10784 parameter of __libc_res_nsearch to check for separately allocated
10786 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10788 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10789 additional NULL to __libc_res_nquery.
10790 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10791 __libc_res_nsearch.
10792 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10793 * include/resolv.h: Update prototypes of __libc_res_nquery,
10794 __libc_res_nsearch, __libc_res_nsend.
10796 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10798 * math/auto-libm-test-in: Add tests of fma.
10799 * math/auto-libm-test-out: Regenerated.
10800 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10801 (fma_towardzero_test_data): Likewise.
10802 (fma_downward_test_data): Likewise.
10803 (fma_upward_test_data): Likewise.
10804 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10806 (rounding_modes): Add values for new field.
10807 (func_calc_method): Add value mpfr_fff_f.
10808 (func_calc_desc): Add mpfr_fff_f union field.
10809 (test_function): Add field exact_args.
10810 (FUNC): Add macro argument EXACT_ARGS.
10811 (FUNC_mpfr_f_f): Update call to FUNC.
10812 (FUNC_mpfr_f_f): Likewise.
10813 (FUNC_mpfr_ff_f): Likewise.
10814 (FUNC_mpfr_if_f): Likewise.
10815 (FUNC_mpc_c_f): Likewise.
10816 (FUNC_mpc_c_c): Likewise.
10817 (test_functions): Add fma. Update calls to FUNC.
10818 (handle_input_arg): Add argument exact_args.
10819 (add_test): Update call to handle_input_arg.
10820 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10821 (output_for_one_input_case): Update call to calc_generic_results.
10822 Recalculate exact zero results in each rounding mode.
10824 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10825 non-negative before setting low bit.
10826 * math/auto-libm-test-in: Mark one asin test possibly having
10827 spurious underflow.
10828 * math/auto-libm-test-out: Regenerated.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10832 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10834 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10835 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10836 ports/sysdeps/unix/sysv/linux/microblaze.
10837 * README: Add missing listing for microblaze*-*-linux-gnu.
10839 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10844 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10846 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10847 * sysdeps/unix/sysv/linux/ia64: Move directory from
10848 ports/sysdeps/unix/sysv/linux/ia64.
10849 * README: Update listing for ia64-*-linux-gnu.
10851 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10852 Joseph Myers <joseph@codesourcery.com>
10854 * Makeconfig (test-name): New variable.
10855 (evaluate-test): Likewise.
10856 * Makerules (do-test-clean): Remove .test-result files.
10857 (common-mostlyclean): Likewise.
10858 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10859 * scripts/evaluate-test.sh: New file.
10861 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10863 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10864 separate $(objpfx)tst-fopenloc-cmp.out and
10865 $(objpfx)tst-fopenloc-mem.out targets.
10866 (tests): Update dependencies.
10867 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10868 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10869 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10870 (tst-rxspencer-no-utf8-ARGS): New variable.
10871 (tst-rxspencer-no-utf8-ENV): Likewise.
10872 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10873 instead of $(objpfx)tst-rxspencer-mem.
10874 ($(objpfx)tst-rxspencer-mem): Change target to
10875 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10876 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10877 * posix/tst-rxspencer-no-utf8.c: New file.
10879 * elf/Makefile ($(objpfx)order.out): Remove rule.
10880 [$(run-built-tests) = yes] (tests): Depend on
10881 $(objpfx)order-cmp.out.
10882 ($(objpfx)order-cmp.out): New rule.
10883 [$(run-built-tests) = yes] (tests): Depend on
10884 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10885 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10886 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10887 $(objpfx)tst-array5-static-cmp.out.
10888 ($(objpfx)tst-array1.out): Remove rule.
10889 ($(objpfx)tst-array1-cmp.out): New rule.
10890 ($(objpfx)tst-array1-static.out): Remove rule.
10891 ($(objpfx)tst-array1-static-cmp.out): New rule.
10892 ($(objpfx)tst-array2.out): Remove rule.
10893 ($(objpfx)tst-array2-cmp.out): New rule.
10894 ($(objpfx)tst-array3.out): Remove rule.
10895 ($(objpfx)tst-array3-cmp.out): New rule.
10896 ($(objpfx)tst-array4.out): Remove rule.
10897 ($(objpfx)tst-array4-cmp.out): New rule.
10898 ($(objpfx)tst-array5.out): Remove rule.
10899 ($(objpfx)tst-array5-cmp.out): New rule.
10900 ($(objpfx)tst-array5-static.out): Remove rule.
10901 ($(objpfx)tst-array5-static-cmp.out): New rule.
10902 [$(run-built-tests) = yes] (tests): Depend on
10903 $(objpfx)order2-cmp.out.
10904 ($(objpfx)order2.out): Remove rule.
10905 ($(objpfx)order2-cmp.out): New rule.
10906 ($(objpfx)tst-initorder.out): Remove rule.
10907 [$(run-built-tests) = yes] (tests): Depend on
10908 $(objpfx)tst-initorder-cmp.out.
10909 ($(objpfx)tst-initorder-cmp.out): New rule.
10910 ($(objpfx)tst-initorder2.out): Remove rule.
10911 [$(run-built-tests) = yes] (tests): Depend on
10912 $(objpfx)tst-initorder2-cmp.out.
10913 ($(objpfx)tst-initorder2-cmp.out): New rule.
10914 [$(run-built-tests) = yes] (tests): Depend on
10915 $(objpfx)tst-unused-dep-cmp.out.
10916 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10917 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10918 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10919 on $(objpfx)tst-setvbuf1-cmp.out.
10920 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10921 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10922 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10923 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10924 ($(objpfx)tst-svc.out): Remove rule.
10925 ($(objpfx)tst-svc-cmp.out): New rule.
10927 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10929 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10930 * ctype/ctype.h [__USE_MISC]: Likewise.
10931 * dirent/dirent.h [__USE_MISC]: Likewise.
10932 * grp/grp.h [__USE_MISC]: Likewise.
10933 * io/fcntl.h [__USE_MISC]: Likewise.
10934 * io/sys/stat.h [__USE_MISC]: Likewise.
10935 * libio/stdio.h [__USE_MISC]: Likewise.
10936 * posix/unistd.h [__USE_MISC]: Likewise.
10937 * pwd/pwd.h [__USE_MISC]: Likewise.
10938 * stdlib.h [__USE_MISC]: Likewise.
10939 * string/bits/string2.h [__USE_MISC]: Likewise.
10940 * string/string.h [__USE_MISC]: Likewise.
10941 * time/time.h [__USE_MISC]: Likewise.
10943 2014-02-13 Andreas Schwab <schwab@suse.de>
10946 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10947 second answer buffer if it was separately allocated.
10949 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/mips/math-tests.h: Include <features.h>.
10952 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10953 (ROUNDING_TESTS_long_double): Do not define.
10954 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10955 (EXCEPTION_TESTS_long_double): Likewise.
10956 * sysdeps/mips/mips64/libm-test-ulps: Update.
10958 * include/features.h (__USE_BSD): Remove macro definitions.
10959 (__USE_SVID): Likewise.
10960 (_BSD_SOURCE): Likewise.
10961 (_SVID_SOURCE): Likewise.
10962 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10963 from definition of _DEFAULT_SOURCE.
10964 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10966 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10967 * bits/mman.h [__USE_BSD]: Likewise.
10968 * bits/termios.h [__USE_BSD]: Likewise.
10969 * bits/waitstatus.h [__USE_BSD]: Likewise.
10970 * ctype/ctype.h [__USE_SVID]: Likewise.
10971 * dirent/dirent.h [__USE_BSD]: Likewise.
10972 * grp/grp.h [__USE_SVID]: Likewise.
10973 [__USE_BSD]: Likewise.
10974 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10975 * io/fcntl.h [__USE_BSD]: Likewise.
10976 * io/ftw.h [__USE_BSD]: Likewise.
10977 * io/sys/stat.h [__USE_BSD]: Likewise.
10978 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10979 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10980 * libio/stdio.h [__USE_SVID]: Likewise.
10981 [__USE_BSD]: Likewise.
10982 * math/math.h [__USE_SVID]: Likewise.
10983 [__USE_BSD]: Likewise.
10984 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10985 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10986 * misc/search.h [__USE_SVID]: Likewise.
10987 * misc/sys/mman.h [__USE_BSD]: Likewise.
10988 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10989 * misc/sys/uio.h [__USE_BSD]: Likewise.
10990 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10991 * posix/glob.h [__USE_BSD]: Likewise.
10992 * posix/regex.h [__USE_BSD]: Likewise.
10993 * posix/sys/types.h [__USE_BSD]: Likewise.
10994 [__USE_SVID]: Likewise.
10995 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10996 * posix/sys/wait.h [__USE_BSD]: Likewise.
10997 [__USE_SVID]: Likewise.
10998 * posix/unistd.h [__USE_BSD]: Likewise.
10999 [__USE_SVID]: Likewise.
11000 * pwd/pwd.h [__USE_SVID]: Likewise.
11001 * resolv/netdb.h [__USE_BSD]: Likewise.
11002 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11003 * signal/signal.h [__USE_BSD]: Likewise.
11004 [__USE_SVID]: Likewise.
11005 * socket/sys/socket.h [__USE_BSD]: Likewise.
11006 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11007 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11008 [__USE_SVID]: Likewise.
11009 * string/bits/string2.h [__USE_BSD]: Likewise.
11010 [__USE_SVID]: Likewise.
11011 * string/bits/string3.h [__USE_BSD]: Likewise.
11012 * string/endian.h [__USE_BSD]: Likewise.
11013 * string/string.h [__USE_SVID]: Likewise.
11014 [__USE_BSD]: Likewise.
11015 * string/strings.h [__USE_BSD]: Likewise.
11016 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11017 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11018 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11019 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11020 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11021 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11026 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11028 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11029 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11031 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11033 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11034 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11039 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11040 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11041 * termios/termios.h [__USE_BSD]: Likewise.
11042 * time/sys/time.h [__USE_BSD]: Likewise.
11043 * time/time.h [__USE_BSD]: Likewise.
11044 [__USE_SVID]: Likewise.
11046 * Makefile (subdir_targets): Remove subdir_lint.out.
11048 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11049 (do-tst-printf): Likewise.
11050 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11051 $(objpfx)tst-printf.out.
11053 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11055 * Makerules (check-abi-%): Change target to
11056 $(objpfx)check-abi-%.out.
11057 (check-abi target): Update dependencies.
11058 (check-abi-pattern variable): Redirect output of diff to $@.
11059 (check-abi variable): Likewise.
11060 * elf/Makefile (check-abi): Update dependencies.
11062 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11064 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11065 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11067 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11068 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11069 value has largest subnormal exponent.
11070 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11071 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11072 * sysdeps/aarch64/soft-fp/sfp-machine.h
11073 (_FP_TININESS_AFTER_ROUNDING): New macro.
11074 * sysdeps/alpha/soft-fp/sfp-machine.h
11075 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11076 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11078 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11079 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11080 * sysdeps/mips/soft-fp/sfp-machine.h
11081 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11082 * sysdeps/powerpc/soft-fp/sfp-machine.h
11083 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11084 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11086 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11088 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11089 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11090 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11093 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11096 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11099 2014-02-12 Richard Henderson <rth@redhat.com>
11101 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11102 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11103 * sysdeps/unix/sysv/linux/alpha: Move directory from
11104 ports/sysdeps/unix/sysv/linux/alpha.
11105 * README: Update listing for alpha-*-linux-gnu.
11107 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11109 * include/features.h: Update comment documenting feature test
11111 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11113 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11114 (_SVID_SOURCE): Likewise.
11115 (_DEFAULT_SOURCE): Update description of default features.
11116 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11118 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11119 (S_ISVTX): Likewise.
11120 * manual/math.texi (Mathematical Constants): Likewise.
11121 * manual/signal.texi (Interrupted Primitives): Likewise.
11122 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11123 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11124 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11125 Don't refer to _SVID_SOURCE in warning text.
11127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11129 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11131 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11132 * sysdeps/mips/dl-lookup.c: Remove.
11133 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11135 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11138 * math/auto-libm-test-in: Add testcase for expl.
11139 * math/auto-libm-test-out: Regenerate.
11140 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11141 calculation of unsafe.
11142 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11144 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11146 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11147 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11148 ports/sysdeps/unix/sysv/linux/aarch64.
11149 * README: Update listing for aarch64*-*-linux-gnu.
11151 2014-02-11 Will Newton <will.newton@linaro.org>
11153 * manual/probes.texi (Mathematical Function Probes): Use
11154 "triggered" instead of "hit".
11156 * manual/probes.texi (Internal Probes): Add documentation
11157 of setjmp, longjmp and longjmp_target probes.
11159 * include/stap-probe.h: Add comment about probe argument
11162 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11163 definition. (tr_where, tr_freehook, tr_mallochook,
11164 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11166 2014-02-11 David S. Miller <davem@davemloft.net>
11168 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11169 processing int_tests.
11171 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11174 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11175 * sysdeps/unix/sysv/linux/mips: Move directory from
11176 ports/sysdeps/unix/sysv/linux/mips.
11177 * README: Update listing for mips-*-linux-gnu and
11178 mips64-*-linux-gnu.
11180 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11182 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11183 * sysdeps/unix/sysv/linux/m68k: Move directory from
11184 ports/sysdeps/unix/sysv/linux/m68k.
11185 * README: Update listing for m68k-*-linux-gnu.
11187 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11189 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11190 * sysdeps/unix/sysv/linux/generic: Move directory from
11191 ports/sysdeps/unix/sysv/linux/generic.
11192 * sysdeps/unix/sysv/linux/tile: Move directory from
11193 ports/sysdeps/unix/sysv/linux/tile.
11194 * README: Update listing for tile*-*-linux-gnu.
11196 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11198 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11200 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11201 * catgets/open_catalog.c (__open_catalog): Likewise.
11202 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11203 * debug/confstr_chk.c: Likewise.
11204 * debug/fread_chk.c (__fread_chk): Likewise.
11205 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11206 * debug/getgroups_chk.c: Likewise.
11207 * debug/mbsnrtowcs_chk.c: Likewise.
11208 * debug/mbsrtowcs_chk.c: Likewise.
11209 * debug/mbstowcs_chk.c: Likewise.
11210 * debug/memcpy_chk.c: Likewise.
11211 * debug/memmove_chk.c: Likewise.
11212 * debug/mempcpy_chk.c: Likewise.
11213 * debug/memset_chk.c: Likewise.
11214 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11215 * debug/strcat_chk.c (__strcat_chk): Likewise.
11216 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11217 * debug/strncat_chk.c (__strncat_chk): Likewise.
11218 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11219 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11220 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11221 * debug/wcpncpy_chk.c: Likewise.
11222 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11223 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11224 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11225 * debug/wcsncpy_chk.c: Likewise.
11226 * debug/wcsnrtombs_chk.c: Likewise.
11227 * debug/wcsrtombs_chk.c: Likewise.
11228 * debug/wcstombs_chk.c: Likewise.
11229 * debug/wmemcpy_chk.c: Likewise.
11230 * debug/wmemmove_chk.c: Likewise.
11231 * debug/wmempcpy_chk.c: Likewise.
11232 * debug/wmemset_chk.c: Likewise.
11233 * dirent/scandirat.c (SCANDIRAT): Likewise.
11234 * dlfcn/dladdr1.c (dladdr1): Likewise.
11235 * dlfcn/dladdr.c (dladdr): Likewise.
11236 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11237 * dlfcn/dlerror.c (__dlerror): Likewise.
11238 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11239 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11240 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11241 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11242 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11243 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11244 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11245 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11247 * elf/dl-conflict.c: Likewise.
11248 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11249 * elf/dl-dst.h: Likewise.
11250 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11251 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11252 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11253 * elf/dl-init.c (call_init, _dl_init): Likewise.
11254 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11255 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11256 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11258 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11260 * elf/dl-minimal.c (__libc_memalign): Likewise.
11261 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11262 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11263 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11264 * elf/dl-sym.c (do_sym): Likewise.
11265 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11266 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11267 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11268 * elf/dl-writev.h (_dl_writev): Likewise.
11269 * elf/ldconfig.c (search_dir): Likewise.
11270 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11271 (dl_main): Likewise.
11272 * elf/setup-vdso.h (setup_vdso): Likewise.
11273 * grp/compat-initgroups.c (compat_call): Likewise.
11274 * grp/fgetgrent.c (fgetgrent): Likewise.
11275 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11276 * grp/putgrent.c (putgrent): Likewise.
11277 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11279 * hurd/hurdinit.c: Likewise.
11280 * iconvdata/8bit-gap.c (struct): Likewise.
11281 * iconvdata/ansi_x3.110.c : Likewise.
11282 * iconvdata/big5.c : Likewise.
11283 * iconvdata/big5hkscs.c : Likewise.
11284 * iconvdata/cp1255.c: Likewise.
11285 * iconvdata/cp1258.c : Likewise.
11286 * iconvdata/cp932.c : Likewise.
11287 * iconvdata/euc-cn.c: Likewise.
11288 * iconvdata/euc-jisx0213.c : Likewise.
11289 * iconvdata/euc-jp.c: Likewise.
11290 * iconvdata/euc-jp-ms.c : Likewise.
11291 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11292 * iconvdata/gb18030.c : Likewise.
11293 * iconvdata/gbbig5.c (const): Likewise.
11294 * iconvdata/gbgbk.c: Likewise.
11295 * iconvdata/gbk.c : Likewise.
11296 * iconvdata/ibm1364.c : Likewise.
11297 * iconvdata/ibm930.c : Likewise.
11298 * iconvdata/ibm932.c: Likewise.
11299 * iconvdata/ibm933.c : Likewise.
11300 * iconvdata/ibm935.c : Likewise.
11301 * iconvdata/ibm937.c : Likewise.
11302 * iconvdata/ibm939.c : Likewise.
11303 * iconvdata/ibm943.c: Likewise.
11304 * iconvdata/iso_11548-1.c: Likewise.
11305 * iconvdata/iso-2022-cn.c : Likewise.
11306 * iconvdata/iso-2022-cn-ext.c : Likewise.
11307 * iconvdata/iso-2022-jp-3.c: Likewise.
11308 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11309 * iconvdata/iso-2022-kr.c : Likewise.
11310 * iconvdata/iso646.c (gconv_end): Likewise.
11311 * iconvdata/iso_6937-2.c : Likewise.
11312 * iconvdata/iso_6937.c : Likewise.
11313 * iconvdata/iso8859-1.c: Likewise.
11314 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11315 * iconvdata/shift_jisx0213.c : Likewise.
11316 * iconvdata/sjis.c : Likewise.
11317 * iconvdata/t.61.c : Likewise.
11318 * iconvdata/tcvn5712-1.c : Likewise.
11319 * iconvdata/tscii.c: Likewise.
11320 * iconvdata/uhc.c : Likewise.
11321 * iconvdata/unicode.c (gconv_end): Likewise.
11322 * iconvdata/utf-16.c (gconv_end): Likewise.
11323 * iconvdata/utf-32.c (gconv_end): Likewise.
11324 * iconvdata/utf-7.c (base64): Likewise.
11325 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11326 * iconv/gconv_close.c (__gconv_close): Likewise.
11327 * iconv/gconv_open.c (__gconv_open): Likewise.
11328 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11329 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11330 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11331 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11332 (ucs4le_internal_loop_single): Likewise.
11333 * iconv/iconv.c (iconv): Likewise.
11334 * iconv/iconv_close.c: Likewise.
11335 * iconv/loop.c (SINGLE): Likewise.
11336 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11337 * include/atomic.h: Likewise.
11338 * inet/inet6_option.c (option_alloc): Likewise.
11339 * intl/bindtextdom.c (set_binding_values): Likewise.
11340 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11341 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11342 * intl/localealias.c (read_alias_file): Likewise.
11343 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11344 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11345 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11346 * libio/fmemopen.c (fmemopen): Likewise.
11347 * libio/iofgets.c (_IO_fgets): Likewise.
11348 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11349 * libio/iofgetws.c (fgetws): Likewise.
11350 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11351 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11352 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11353 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11354 * locale/findlocale.c (_nl_find_locale): Likewise.
11355 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11356 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11358 * locale/setlocale.c (setlocale): Likewise.
11359 * login/programs/pt_chown.c (main): Likewise.
11360 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11361 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11362 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11363 (mmap, mmap64, mremap, munmap): Likewise.
11364 * math/e_exp2l.c: Likewise.
11365 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11366 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11367 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11368 * math/s_catan.c (__catan): Likewise.
11369 * math/s_catanf.c (__catanf): Likewise.
11370 * math/s_catanh.c (__catanh): Likewise.
11371 * math/s_catanhf.c (__catanhf): Likewise.
11372 * math/s_catanhl.c (__catanhl): Likewise.
11373 * math/s_catanl.c (__catanl): Likewise.
11374 * math/s_ccosh.c (__ccosh): Likewise.
11375 * math/s_ccoshf.c (__ccoshf): Likewise.
11376 * math/s_ccoshl.c (__ccoshl): Likewise.
11377 * math/s_cexp.c (__cexp): Likewise.
11378 * math/s_cexpf.c (__cexpf): Likewise.
11379 * math/s_cexpl.c (__cexpl): Likewise.
11380 * math/s_clog10.c (__clog10): Likewise.
11381 * math/s_clog10f.c (__clog10f): Likewise.
11382 * math/s_clog10l.c (__clog10l): Likewise.
11383 * math/s_clog.c (__clog): Likewise.
11384 * math/s_clogf.c (__clogf): Likewise.
11385 * math/s_clogl.c (__clogl): Likewise.
11386 * math/s_csin.c (__csin): Likewise.
11387 * math/s_csinf.c (__csinf): Likewise.
11388 * math/s_csinh.c (__csinh): Likewise.
11389 * math/s_csinhf.c (__csinhf): Likewise.
11390 * math/s_csinhl.c (__csinhl): Likewise.
11391 * math/s_csinl.c (__csinl): Likewise.
11392 * math/s_csqrt.c (__csqrt): Likewise.
11393 * math/s_csqrtf.c (__csqrtf): Likewise.
11394 * math/s_csqrtl.c (__csqrtl): Likewise.
11395 * math/s_ctan.c (__ctan): Likewise.
11396 * math/s_ctanf.c (__ctanf): Likewise.
11397 * math/s_ctanh.c (__ctanh): Likewise.
11398 * math/s_ctanhf.c (__ctanhf): Likewise.
11399 * math/s_ctanhl.c (__ctanhl): Likewise.
11400 * math/s_ctanl.c (__ctanl): Likewise.
11401 * math/w_pow.c: Likewise.
11402 * math/w_powf.c: Likewise.
11403 * math/w_powl.c: Likewise.
11404 * math/w_scalb.c (sysv_scalb): Likewise.
11405 * math/w_scalbf.c (sysv_scalbf): Likewise.
11406 * math/w_scalbl.c (sysv_scalbl): Likewise.
11407 * misc/error.c (error_tail): Likewise.
11408 * misc/pselect.c (__pselect): Likewise.
11409 * nis/nis_callback.c (__nis_create_callback): Likewise.
11410 * nis/nis_call.c (__nisfind_server): Likewise.
11411 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11412 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11413 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11414 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11415 * nis/nis_lookup.c (nis_lookup): Likewise.
11416 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11417 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11418 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11419 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11420 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11421 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11422 * nis/nss_compat/compat-initgroups.c (add_group)
11423 (internal_getgrent_r): Likewise.
11424 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11425 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11426 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11427 (internal_getspnam_r): Likewise.
11428 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11429 (_nss_nis_getaliasbyname_r): Likewise.
11430 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11431 (_nss_nis_getntohost_r): Likewise.
11432 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11433 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11434 (_nss_nis_getgrgid_r): Likewise.
11435 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11436 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11437 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11438 (_nss_nis_gethostbyname4_r): Likewise.
11439 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11440 (initgroups_netid): Likewise.
11441 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11442 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11443 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11444 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11445 (_nss_nis_getprotobynumber_r): Likewise.
11446 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11447 (_nss_nis_getsecretkey): Likewise.
11448 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11449 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11450 (_nss_nis_getpwuid_r): Likewise.
11451 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11452 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11453 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11454 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11455 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11456 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11457 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11459 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11460 (_nss_nisplus_getntohost_r): Likewise.
11461 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11462 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11463 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11464 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11466 * nis/nss_nisplus/nisplus-initgroups.c
11467 (_nss_nisplus_initgroups_dyn): Likewise.
11468 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11469 (_nss_nisplus_getnetbyaddr_r): Likewise.
11470 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11471 (_nss_nisplus_getprotobynumber_r): Likewise.
11472 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11473 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11474 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11476 * nis/nss_nisplus/nisplus-service.c
11477 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11478 (_nss_nisplus_getservbyport_r): Likewise.
11479 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11480 (_nss_nisplus_getspnam_r): Likewise.
11481 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11483 * nscd/aicache.c (addhstaiX): Likewise.
11484 * nscd/cache.c (cache_search, prune_cache): Likewise.
11485 * nscd/connections.c (register_traced_file, send_ro_fd)
11486 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11487 (main_loop_epoll): Likewise.
11488 * nscd/grpcache.c (addgrbyX): Likewise.
11489 * nscd/hstcache.c (addhstbyX): Likewise.
11490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11491 * nscd/mem.c (gc, mempool_alloc): Likewise.
11492 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11493 (addinnetgrX): Likewise.
11494 * nscd/nscd-client.h (__nscd_acquire_maplock)
11495 (__nscd_drop_map_ref): Likewise.
11496 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11497 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11498 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11500 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11502 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11503 (__nscd_get_map_ref): Likewise.
11504 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11505 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11507 * nscd/pwdcache.c (addpwbyX): Likewise.
11508 * nscd/selinux.c (preserve_capabilities): Likewise.
11509 * nscd/servicescache.c (addservbyX): Likewise.
11510 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11511 * posix/fnmatch.c (fnmatch): Likewise.
11512 * posix/getopt.c (_getopt_internal_r): Likewise.
11513 * posix/glob.c (glob, glob_in_dir): Likewise.
11514 * posix/wordexp.c (exec_comm_child): Likewise.
11515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11516 (getanswer_r, gaih_getanswer_slice): Likewise.
11517 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11518 * resolv/res_init.c: Likewise.
11519 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11520 * resolv/res_query.c (__libc_res_nquery): Likewise.
11521 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11523 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11524 * stdio-common/perror.c (perror): Likewise.
11525 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11526 * stdio-common/tmpnam.c (tmpnam): Likewise.
11527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11528 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11529 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11531 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11532 * stdlib/putenv.c (putenv): Likewise.
11533 * stdlib/setenv.c (__add_to_environ): Likewise.
11534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11535 * stdlib/strtol_l.c (INTERNAL): Likewise.
11536 * string/memmem.c (memmem): Likewise.
11537 * string/strerror.c (strerror): Likewise.
11538 * string/strnlen.c (__strnlen): Likewise.
11539 * string/test-memmem.c (simple_memmem): Likewise.
11540 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11541 * sunrpc/pm_getport.c (__get_socket): Likewise.
11542 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11543 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11544 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11545 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11547 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11548 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11549 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11550 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11551 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11552 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11554 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11556 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11557 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11559 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11560 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11562 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11564 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11565 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11566 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11571 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11577 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11578 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11579 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11588 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11590 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11598 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11600 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11601 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11602 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11603 * sysdeps/posix/sleep.c: Likewise.
11604 * sysdeps/posix/tempname.c: Likewise.
11605 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11606 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11608 * sysdeps/powerpc/powerpc32/dl-machine.h
11609 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11612 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11613 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11615 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11617 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11619 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11620 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11621 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11622 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11624 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11626 (elf_machine_lazy_rel): Likewise.
11627 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11629 (elf_machine_lazy_rel): Likewise.
11630 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11631 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11632 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11633 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11634 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11635 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11636 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11639 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11640 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11641 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11642 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11643 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11645 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11646 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11648 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11649 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11651 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11652 (__posix_fallocate64_l64): Likewise.
11653 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11654 (posix_fallocate): Likewise.
11655 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11657 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11658 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11659 (getifaddrs_internal): Likewise.
11660 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11661 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11662 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11663 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11664 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11665 (__posix_fallocate64_l64): Likewise.
11666 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11668 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11670 (__get_clockfreq): Likewise.
11671 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11672 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11673 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11676 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11677 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11678 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11680 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11681 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11682 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11684 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11685 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11686 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11688 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11689 (posix_fallocate): Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11691 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11692 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11693 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11694 (elf_machine_rela, elf_machine_rela_relative)
11695 (elf_machine_lazy_rel): Likewise.
11696 * time/asctime.c (asctime_internal): Likewise.
11697 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11698 * time/tzset.c (__tzset_parse_tz): Likewise.
11699 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11700 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11701 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11702 * wcsmbs/wcsmbsload.h: Likewise.
11705 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11707 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11708 (arena_get2): Remove THREAD_STATS conditionals.
11709 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11710 (__malloc_stats, int): Likewise.
11712 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11714 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11715 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11717 * manual/setjmp.texi: Fix typos/grammar errors.
11719 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11720 Only return early when n is <= 0. Delete unused return statement.
11722 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11723 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11724 * debug/tst-longjmp_chk3.c: New file.
11726 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11727 (test_main): Replace code with set_fortify_handler call.
11728 * debug/test-strcpy_chk.c: Likewise.
11729 * debug/tst-chk1.c: Likewise.
11730 * debug/tst-longjmp_chk.c: Likewise.
11731 * test-skeleton.c: Include fcntl.h & paths.h
11732 (set_fortify_handler): Define.
11734 * debug/tst-longjmp_chk.c: Add header comment and include
11735 ../test-skeleton.c.
11736 (do_test): Mark static.
11737 (TEST_FUNCTION): Define.
11739 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11740 (IP_PMTUDISC_INTERFACE): Likewise.
11741 (IP_MULTICAST_IF): Likewise.
11742 (IP_MULTICAST_TTL): Likewise.
11743 (IP_MULTICAST_LOOP): Likewise.
11744 (IP_ADD_MEMBERSHIP): Likewise.
11745 (IP_DROP_MEMBERSHIP): Likewise.
11746 (IP_UNBLOCK_SOURCE): Likewise.
11747 (IP_BLOCK_SOURCE): Likewise.
11748 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11749 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11750 (IP_MSFILTER): Likewise.
11751 (MCAST_JOIN_GROUP): Likewise.
11752 (MCAST_BLOCK_SOURCE): Likewise.
11753 (MCAST_UNBLOCK_SOURCE): Likewise.
11754 (MCAST_LEAVE_GROUP): Likewise.
11755 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11756 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11757 (MCAST_MSFILTER): Likewise.
11758 (IP_MULTICAST_ALL): Likewise.
11759 (IP_UNICAST_IF): Likewise.
11761 * timezone/Makefile: Delete $(have-ksh) check.
11762 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11763 * timezone/tzselect.ksh: Add +x mode bits.
11765 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11766 (ANON_INODE_FS_MAGIC): Likewise.
11767 (BDEVFS_MAGIC): Likewise.
11768 (BINFMTFS_MAGIC): Likewise.
11769 (BTRFS_TEST_MAGIC): Likewise.
11770 (CRAMFS_MAGIC_WEND): Likewise.
11771 (DEBUGFS_MAGIC): Likewise.
11772 (ECRYPTFS_SUPER_MAGIC): Likewise.
11773 (EXT3_SUPER_MAGIC): Likewise.
11774 (EXT4_SUPER_MAGIC): Likewise.
11775 (FUTEXFS_SUPER_MAGIC): Likewise.
11776 (HOSTFS_SUPER_MAGIC): Likewise.
11777 (HUGETLBFS_MAGIC): Likewise.
11778 (MINIX3_SUPER_MAGIC): Likewise.
11779 (MTD_INODE_FS_MAGIC): Likewise.
11780 (NILFS_SUPER_MAGIC): Likewise.
11781 (OPENPROM_SUPER_MAGIC): Likewise.
11782 (PIPEFS_MAGIC): Likewise.
11783 (PSTOREFS_MAGIC): Likewise.
11784 (QNX6_SUPER_MAGIC): Likewise.
11785 (RAMFS_MAGIC): Likewise.
11786 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11787 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11788 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11789 (SECURITYFS_MAGIC): Likewise.
11790 (SELINUX_MAGIC): Likewise.
11791 (SMACK_MAGIC): Likewise.
11792 (SOCKFS_MAGIC): Likewise.
11793 (SQUASHFS_MAGIC): Likewise.
11794 (STACK_END_MAGIC): Likewise.
11795 (TMPFS_MAGIC): Likewise.
11796 (USBDEVICE_SUPER_MAGIC): Likewise.
11797 (V9FS_MAGIC): Likewise.
11798 (XENFS_SUPER_MAGIC): Likewise.
11799 (CRAMFS_MAGIC): Fix typo in comment.
11800 (EXT2_SUPER_MAGIC): Update comment.
11801 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11803 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11805 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11806 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11807 * sysdeps/unix/sysv/linux/arm: Move directory from
11808 ports/sysdeps/unix/sysv/linux/arm.
11809 * README: Update listing for arm-*-linux-gnueabi.
11811 * README: Remove mention of am33.
11813 2014-02-07 Roland McGrath <roland@hack.frob.com>
11815 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11816 than the comma operator, to avoid "rhs of comma has no effect"
11818 (__sigfillset, __sigandset, __sigorset): Likewise.
11819 * include/signal.h (__sigemptyset): Likewise.
11820 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11822 2014-02-07 Allan McRae <allan@archlinux.org>
11824 * version.h (RELEASE): Set to "development".
11825 (VERSION): Set to "2.19.90"
11826 * NEWS: Add 2.20 section.
11828 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11831 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11833 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11835 * manual/contrib.texi: Update entry for Carlos O'Donell,
11836 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11838 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11840 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11842 * sysdeps/unix/sysv/linux/kernel-features.h
11843 [__LINUX_KERNEL_VERSION >= 0x020621]
11844 (__ASSUME_PROC_PID_TASK_COMM): Define.
11846 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11849 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11850 conversion when destination buffer does not have enough space.
11851 * libio/tst-ftell-partial-wide.c: New test case.
11852 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11854 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11855 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11856 Leonard and Allan McRae.
11858 2014-02-04 David S. Miller <davem@davemloft.net>
11860 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11863 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11892 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11894 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11895 * shlib-versions: Likewise.
11897 2014-02-04 Roland McGrath <roland@hack.frob.com>
11898 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11900 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11901 (abilist-pattern): New variable, set to %-le.abilist.
11903 * Makerules (abilist-pattern): New variable.
11904 (vpath): Use $(abilist-pattern) in place of %.abilist.
11905 (check-abi-% pattern rule): Likewise.
11906 (check-abi, update-abi): Likewise.
11908 2014-02-04 Eric Wong <normalperson@yhbt.net>
11910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11912 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11914 * manual/startup.texi: Add next, previous, and top entries for
11915 the `Program Arguments' and `Environment Variables' nodes.
11917 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11919 * manual/macros.texi: Add comments before MTASC-safety macros.
11921 * manual/users.texi: Document MTASC-safety properties.
11923 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11924 (pthread_getspecific, pthread_setspecific): Format with
11925 @deftypefun, and add @safety note.
11926 * manual/signal.texi: Move comments that analyze the above
11927 functions to their home place.
11929 2014-02-03 Allan McRae <allan@archlinux.org>
11931 * po/sl.po: Update Slovenian translation from translation project.
11933 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11935 * manual/time.texi (timegm): Add missing blank after @c.
11936 Reported by Joseph Myers <joseph@codesourcery.com>.
11938 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11940 * manual/check-safety.sh: New.
11941 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11943 * manual/terminal.texi: Document MTASC-safety properties.
11945 * manual/filesys.texi: Document MTASC-safety properties.
11947 * manual/errno.texi: Document MTASC-safety properties.
11949 * manual/intro.texi: Document safety identifiers and
11952 * manual/string.texi (wcstok): Fix prototype.
11953 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11955 * manual/time.texi: Document MTASC-safety properties.
11957 * manual/string.texi: Document MTASC-safety properties.
11959 * manual/threads.texi: Document MTASC-safety properties.
11961 * manual/stdio.texi: Document MTASC-safety properties.
11963 * manual/syslog.texi: Document MTASC-safety properties.
11965 * manual/sysinfo.texi: Document MTASC-safety properties.
11967 * manual/startup.texi: Document MTASC-safety properties.
11969 * manual/socket.texi: Document MTASC-safety properties.
11971 * manual/signal.texi: Document MTASC-safety properties.
11973 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11975 * manual/setjmp.texi: Document MTASC-safety properties.
11977 * manual/search.texi: Document MTASC-safety properties.
11979 * manual/resource.texi: Document MTASC-safety properties.
11981 * manual/process.texi: Document MTASC-safety properties.
11983 * manual/platform.texi: Document MTASC-safety properties.
11985 * manual/pipe.texi: Document MTASC-safety properties.
11987 * manual/pattern.texi: Document MTASC-safety properties.
11989 * manual/message.texi: Document MTASC-safety properties.
11992 * manual/memory.texi: Document MTASC-safety properties.
11994 * manual/math.texi: Document MTASC-safety properties.
11996 * manual/locale.texi: Document MTASC-safety properties.
11998 * manual/llio.texi: Document MTASC-safety properties.
12000 * manual/libdl.texi: New.
12002 * manual/lang.texi: Document MTASC-safety properties.
12004 * manual/job.texi: Document MTASC-safety properties.
12006 * manual/getopt.texi: Document MTASC-safety properties.
12008 * manual/ctype.texi: Document MTASC-safety properties.
12010 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12013 * csu/libc-tls.c (static_map): Remove variable.
12014 (__libc_setup_tls): Use main executable's link map for TLS data.
12015 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12016 casing for LM_ID_BASE and GL(dl_nns).
12017 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12018 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12019 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12020 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12021 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12023 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12026 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12028 * manual/debug.texi: Document MTASC-safety properties.
12030 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12033 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12034 of __x86_64__ when disabling x87 inline functions.
12036 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12038 * manual/charset.texi: Document MTASC-safety properties.
12040 * manual/crypt.texi: Document MTASC-safety properties.
12042 * manual/conf.texi: Document MTASC-safety properties.
12044 * manual/arith.texi: Document MTASC-safety properties.
12046 * manual/argp.texi: Document MTASC-safety properties.
12048 * manual/macros.texi: Introduce macros to document multi
12049 thread, asynchronous signal and asynchronous cancellation
12051 * manual/intro.texi: Introduce the properties themselves.
12053 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12055 * sysdeps/sh/sh4/Makefile: New file.
12057 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12059 * math/gen-libm-test.pl ($srcdir): New variable.
12060 ($auto_input): Use it.
12062 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12065 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12066 access beyond array bounds when parsing netgroups file.
12068 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12069 the old buffer before realloc.
12071 2014-01-27 Allan McRae <allan@archlinux.org>
12073 * po/fr.po: Update French translation from translation project.
12075 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12077 * sysdeps/sh/libm-test-ulps: Regenerate.
12079 2014-01-24 David S. Miller <davem@davemloft.net>
12081 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12083 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12085 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12086 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12088 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12091 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12092 string pointers after reallocation.
12094 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12096 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12097 __SH4A__ instead of __SH_FPU_ANY__.
12099 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12101 * sysdeps/sh/fpu_control.h: New file.
12102 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12103 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12104 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12105 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12106 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12107 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12108 * sysdeps/sh/sys/ucontext.h: Remove.
12109 * sysdeps/sh/sys: Remove directory.
12111 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12113 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12114 s390/sys/ucontext.h.
12115 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12118 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12121 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12123 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12127 Adjust the vDSO correctly for internal calls.
12128 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12130 2014-01-20 Allan McRae <allan@archlinux.org>
12132 * po/ca.po: Update Catalan translation from translation project.
12134 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12136 * sysdeps/s390/sotruss-lib.c: New file.
12138 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12142 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12143 local calls issues by not having a PLT stub required for IFUNC calls.
12144 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12146 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12148 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12149 * math/test-fpucw-static.c: Likewise.
12151 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12154 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12156 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12158 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12159 implementation for powerpc.
12161 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12164 * sysdeps/posix/system.c (__libc_system): Do not enable
12165 asynchronous cancellation.
12167 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12170 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12171 handling only for numbers special also in the IEEE case.
12173 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12177 2014-01-11 Allan McRae <allan@archlinux.org>
12179 * po/bg.po: Update Bulgarian translation from translation project.
12181 * po/de.po: Update German translation from translation project.
12183 2014-01-10 Roland McGrath <roland@hack.frob.com>
12185 * sysdeps/generic/gcc-compat.h: New file.
12187 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 * benchtests/asin-inputs: Correct slow inputs.
12190 * benchtests/acos-inputs: Likewise.
12192 2014-01-10 Allan McRae <allan@archlinux.org>
12194 * po:sv.po: Update Swedish translation from translation project.
12196 * po/vi.po: Update Vietnamese translation from translation project.
12198 * po/eo.po: Update Esperanto translation from translation project.
12200 * po/cs.po: Update Czech translation from translation project.
12202 * po/nl.po: Update Dutch translation from translation project.
12204 * po/pl.po: Update Polish translation from translation project.
12206 * po/ru.po: Update Russian translation from translation project.
12208 * po/uk.po: Update Ukrainian translation from translation project.
12210 2014-01-08 Brooks Moses <bmoses@google.com>
12212 * elf/dl-load.c: Fix comment typo.
12214 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12216 * po/header.pot: Rename to...
12217 * po/pot.header: ... this.
12218 * po/Makefile: Use pot.header.
12220 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12221 Maxim Kuvyrkov <maxim@kugelworks.com>
12224 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12225 SRC and DEST against LEN.
12227 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12230 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12232 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12234 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12238 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12241 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12242 for large positive arguments.
12244 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12246 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12248 * math/auto-libm-test-in: Mark various tests with
12249 xfail-rounding:ldbl-128ibm.
12250 * math/auto-libm-test-out: Regenerated.
12253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12254 Increase overflow threshold.
12256 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12259 * stdio-common/vfprintf.c: Check for integer overflow.
12261 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12263 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12264 the first argument and return value of __tls_get_addr_internal.
12266 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12268 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12269 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12271 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12273 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12274 * sysdeps/s390/rtld-global-offsets.sym: New file.
12275 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12277 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12279 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12281 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12289 halfs of GPRs for high_gprs contexts.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12291 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12293 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12295 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12297 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12298 for high GPRs (uc_high_gprs) and for future extensions
12300 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12301 for future extensions (__reserved).
12302 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12304 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12305 SC_HIGHGPRS offset definition.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12307 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12309 * Versions.def: Add GLIBC_2.19 for libpthread.
12310 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12311 siglongjmp for libpthread with GLIBC_2.19 symver.
12312 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12313 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12314 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12315 * sysdeps/s390/__longjmp.c: New file.
12316 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12317 * sysdeps/s390/longjmp.c: New file.
12318 * sysdeps/s390/setjmp.S: New file.
12319 * sysdeps/s390/sigjmp.S: New file.
12320 * sysdeps/s390/v1-longjmp.c: New file.
12321 * sysdeps/s390/v1-setjmp.h: New file.
12322 * sysdeps/s390/v1-sigjmp.c: New file.
12323 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12324 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12325 GLIBC_2.19 version.
12326 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12328 versioned symbols for ____longjmp_chk.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12339 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12340 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12341 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12342 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12343 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12344 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12345 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12346 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12347 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12348 * sysdeps/s390/rtld-__longjmp.c: New file.
12349 * sysdeps/s390/rtld-setjmp.S: New file.
12351 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12355 Return -__logl (x) for small positive arguments without evaluating
12358 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12360 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12362 (__ptrace_peeksiginfo_args): ... this.
12363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12367 2014-01-06 Allan McRae <allan@archlinux.org>
12369 * inet/netinet/in.h: Fix typo in comment.
12371 2014-01-05 Andreas Jaeger <aj@suse.de>
12373 * sysdeps/i386/fpu/libm-test-ulps: Update.
12375 2014-01-05 Allan McRae <allan@archlinux.org>
12377 * po/libc.pot: Regenerated.
12379 * malloc/memusagestat.c: Fix gettext call formatting.
12381 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12383 * nscd/nscd.c: Improve usage() output.
12385 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12387 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12388 * sysdeps/unix/sysv/linux/configure: Regenerated.
12389 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12390 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12392 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12395 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12396 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12398 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12401 extra tokens at end of #undef directive.
12402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12406 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12408 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12410 * math/auto-libm-test-in: Mark various tests with
12411 xfail-rounding:ldbl-128ibm.
12412 * math/auto-libm-test-out: Regenerated.
12414 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12418 numbers with subnormal high part when calculating exponent.
12421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12427 (__ieee754_acoshl): Use __log1pl not __log1p.
12429 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12431 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12432 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12433 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12434 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12435 (reused_arena, arena_get2): Convert to GNU style.
12436 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12437 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12438 (memalign_check, __malloc_set_state): Likewise.
12439 * malloc/mallocbug.c (main): Likewise.
12440 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12441 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12442 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12443 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12444 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12445 (__posix_memalign, malloc_info): Likewise.
12446 * malloc/malloc.h: Likewise.
12447 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12448 (mallochook, memalignhook, reallochook, mabort): Likewise.
12449 * malloc/mcheck.h: Likewise.
12450 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12451 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12452 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12453 * malloc/morecore.c (__default_morecore): Likewise.
12454 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12455 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12456 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12457 (print_and_abort): Likewise.
12458 * malloc/obstack.h: Likewise.
12459 * malloc/set-freeres.c (__libc_freeres): Likewise.
12460 * malloc/tst-mallocstate.c (main): Likewise.
12461 * malloc/tst-mtrace.c (main): Likewise.
12462 * malloc/tst-realloc.c (do_test): Likewise.
12464 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12467 * nscd/netgroupcache.c (do_notfound): New function.
12468 (addgetnetgrentX): Use it.
12471 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12472 NSS_STATUS_NOTFOUND.
12474 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12476 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12479 2014-01-01 Allan McRae <allan@archlinux.org>
12481 * scripts/update-copyrights: Update configure input file suffix.
12483 * NEWS: Update copyright year.
12484 * catgets/gencat.c: Likewise.
12485 * csu/version.c: Likewise.
12486 * debug/catchsegv.sh: Likewise.
12487 * debug/pcprofiledump.c: Likewise.
12488 * debug/xtrace.sh: Likewise.
12489 * elf/ldconfig.c: Likewise.
12490 * elf/ldd.bash.in: Likewise.
12491 * elf/pldd.c: Likewise.
12492 * elf/sotruss.ksh: Likewise.
12493 * elf/sprof.c: Likewise.
12494 * iconv/iconv_prog.c: Likewise.
12495 * iconv/iconvconfig.c: Likewise.
12496 * locale/programs/locale.c: Likewise.
12497 * locale/programs/localedef.c: Likewise.
12498 * login/programs/pt_chown.c: Likewise.
12499 * malloc/memusage.sh: Likewise.
12500 * malloc/memusagestat.c: Likewise.
12501 * malloc/mtrace.pl: Likewise.
12502 * manual/libc.texinfo: Likewise.
12503 * nscd/nscd.c: Likewise.
12504 * nss/getent.c: Likewise.
12505 * nss/makedb.c: Likewise.
12506 * posix/getconf.c: Likewise.
12507 * scripts/test-installation.pl: Likewise.
12509 * All files with FSF copyright notices: Update copyright dates
12510 using scripts/update-copyrights.
12511 * intl/plural.c: Regenerated.
12512 * locale/programs/charmap-kw.h: Likewise.
12513 * locale/programs/locfile-kw.h: Likewise.
12515 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12517 * sysdeps/unix/sysv/linux/configure: Regenerated.
12518 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12519 the linux/fanotify.h header.
12520 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12521 HAVE_LINUX_FANOTIFY_H is defined.
12523 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12525 * benchtests/cos-inputs: New inputs.
12526 * benchtests/sin-inputs: Likewise.
12528 * benchtests/atan-inputs: New inputs. Fix name of multiple
12529 precision fallback inputs.
12531 * benchtests/atanh-inputs: New inputs.
12532 * benchtests/tanh-inputs: Likewise.
12534 * benchtests/acosh-inputs: New inputs.
12535 * benchtests/asinh-inputs: Likewise.
12537 * benchtests/cosh-inputs: New inputs.
12538 * benchtests/sinh-inputs: Likewise.
12540 * benchtests/acos-inputs: Add more inputs.
12541 * benchtests/asin-inputs: Likewise.
12543 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12546 * manual/arith.texi: Fix spelling.
12547 * manual/charset.texi: Likewise.
12548 * manual/errno.texi: Likewise.
12549 * manual/filesys.texi: Likewise.
12550 * manual/lang.texi: Likewise.
12551 * manual/llio.texi: Likewise.
12552 * manual/locale.texi: Likewise.
12553 * manual/message.texi: Likewise.
12554 * manual/resource.texi: Likewise.
12555 * manual/search.texi: Likewise.
12556 * manual/setjmp.texi: Likewise.
12557 * manual/stdio.texi: Likewise.
12558 * manual/string.texi: Likewise.
12559 * manual/sysinfo.texi: Likewise.
12560 * manual/time.texi: Likewise.
12562 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12564 * po/sl.po: New file.
12566 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12568 * .gitignore: Add core/.gdbinit/.gdb_history.
12570 2013-12-27 Allan McRae <allan@archlinux.org>
12573 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12574 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12576 2013-12-24 Brooks Moses <bmoses@google.com>
12578 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12579 all compilers that claim C++98 compliance, not just GCC.
12580 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12583 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12585 * NEWS: Restore accidentally deleted bug-fix entries.
12587 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12588 Ondřej Bílka <neleai@seznam.cz>
12591 * malloc/malloc.c (_int_free): Perform sanity check only if we
12594 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12597 * manual/stdio.texi (String Input Conversions): Clarify that character
12598 classes are not supported.
12600 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12604 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12608 Calculate results for small negative arguments directly rather
12609 than using reflection formula with special underflow handling.
12611 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12612 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12613 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12614 (fchflags): Likewise.
12615 (revoke): Likewise.
12616 (setlogin): Likewise.
12617 (sigaltstack): Likewise.
12619 (sigblock): Remove.
12620 (sigsetmask): Likewise.
12622 (waitpid): Likewise.
12623 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12624 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12626 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12627 * sysdeps/unix/bsd/Makefile: ... here.
12628 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12629 * sysdeps/unix/bsd/Versions: ... here.
12630 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12631 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12632 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12633 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12634 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12635 * sysdeps/unix/bsd/sigblock.c: ... here.
12636 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12637 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12638 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12639 * sysdeps/unix/bsd/sigvec.c: ... here.
12640 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12641 * sysdeps/unix/bsd/tcdrain.c: ... here.
12642 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12643 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12644 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12645 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12646 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12647 * sysdeps/unix/bsd/wait.c: ... here.
12648 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12649 * sysdeps/unix/bsd/wait3.c: ... here.
12650 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12651 * sysdeps/unix/bsd/waitpid.c: ... here.
12653 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12656 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12657 round-to-nearest for [!USE_AS_EXPM1L].
12658 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12659 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12660 more tests of exp and exp10. Expect some exp10 tests to miss
12661 exceptions or fail in directed rounding modes.
12662 * math/auto-libm-test-out: Regenerated.
12663 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12664 (exp10_test_tonearest): New function.
12665 (exp10_towardzero_test_data): New array.
12666 (exp10_test_towardzero): New function.
12667 (exp10_downward_test_data): New array.
12668 (exp10_test_downward): New function.
12669 (exp10_upward_test_data): New array.
12670 (exp10_test_upward): New function.
12671 (main): Call the new functions.
12672 * sysdeps/i386/fpu/libm-test-ulps: Update.
12673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12675 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12677 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12678 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12679 * math/auto-libm-test-out: Regenerated.
12680 * math/libm-test.inc (acosh_test_data): Add more tests.
12681 (atanh_test_data): Likewise.
12682 (ceil_test_data): Likewise.
12683 (copysign_test_data): Likewise.
12684 * sysdeps/i386/fpu/libm-test-ulps: Update.
12685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687 * timezone/checktab.awk: Update from tzcode 2013i.
12688 * timezone/private.h: Likewise.
12689 * timezone/scheck.c: Likewise.
12690 * timezone/tzfile.h: Likewise.
12691 * timezone/tzselect.ksh: Likewise.
12692 * timezone/zdump.c: Likewise.
12693 * timezone/zic.c: Likewise.
12695 * math/auto-libm-test-in: Add tests of cpow.
12696 * math/auto-libm-test-out: Regenerated.
12697 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12698 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12700 (func_calc_desc): Add mpc_cc_c union field.
12701 (test_functions): Add cpow.
12702 (special_fill_2pi): New function.
12703 (special_real_inputs): Add 2pi.
12704 (calc_generic_results): Handle mpc_cc_c.
12705 * sysdeps/i386/fpu/libm-test-ulps: Update.
12706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12708 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12709 csqrt, ctan and ctanh.
12710 * math/auto-libm-test-out: Regenerated.
12711 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12712 (TEST_COND_x86): Likewise.
12713 (ccos_test_data): Use AUTO_TESTS_c_c.
12714 (ccosh_test_data): Likewise.
12715 (cexp_test_data): Likewise.
12716 (clog_test_data): Likewise.
12717 (csqrt_test_data): Likewise.
12718 (ctan_test_data): Likewise.
12719 (ctan_tonearest_test_data): Likewise.
12720 (ctan_towardzero_test_data): Likewise.
12721 (ctan_downward_test_data): Likewise.
12722 (ctan_upward_test_data): Likewise.
12723 (ctanh_test_data): Likewise.
12724 (ctanh_tonearest_test_data): Likewise.
12725 (ctanh_towardzero_test_data): Likewise.
12726 (ctanh_downward_test_data): Likewise.
12727 (ctanh_upward_test_data): Likewise.
12728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12730 (func_calc_desc): Add mpc_c_c union field.
12731 (FUNC_mpc_c_c): New macro.
12732 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12733 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12735 (special_fill_min_subnorm_p120): New function.
12736 (special_real_inputs): Add min_subnorm_p120.
12737 (calc_generic_results): Handle mpc_c_c.
12738 * sysdeps/i386/fpu/libm-test-ulps: Update.
12739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12741 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12743 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12744 (do_sin_slow): New functions.
12745 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12746 (cslow2, csloww1, csloww2): Use the new functions.
12748 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12749 Use M to change sign of result instead of X. Assume X is
12751 (csloww1): Likewise.
12755 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12756 arguments A and DA.
12760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12762 (sloww1): Don't adjust sign of DX.
12763 (csloww1): Likewise.
12764 (sloww2): Use X directly and don't adjust sign of DX.
12765 (csloww2): Likewise.
12767 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12769 * math/auto-libm-test-in: Add tests of cabs and carg.
12770 * math/auto-libm-test-out: Regenerated.
12771 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12772 (carg_test_data): Likewise.
12773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12775 (func_calc_desc): Add mpc_c_f union field.
12776 (test_functions): Add cabs and carg.
12777 (calc_generic_results): Handle mpc_c_f.
12779 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12780 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12781 as a macro and a compat symbol.
12782 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12783 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12784 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12785 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12786 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12787 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12789 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12791 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12793 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12795 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12797 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12799 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12800 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12803 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12807 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12809 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12810 trailing whitespace removed.
12811 * scripts/config.guess: Update to version 2013-11-29.
12812 * scripts/config.sub: Update to version 2013-10-01.
12814 * math/auto-libm-test-in: Add tests of sincos.
12815 * math/auto-libm-test-out: Regenerated.
12816 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12819 (func_calc_desc): Add mpfr_f_11 union field.
12820 (test_functions): Add sincos.
12821 (calc_generic_results): Handle mpfr_f_11.
12822 * sysdeps/i386/fpu/libm-test-ulps: Update.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 2013-12-19 Andreas Schwab <schwab@suse.de>
12827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12831 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12833 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12835 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12836 * sysdeps/i386/fpu/libm-test-ulps: Update.
12837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12841 round-to-nearest mode when using frndint.
12842 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12843 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12846 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12848 * math/auto-libm-test-out: Regenerated.
12849 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12850 (TEST_COND_x86): Likewise.
12851 (expm1_tonearest_test_data): New array.
12852 (expm1_test_tonearest): New function.
12853 (expm1_towardzero_test_data): New array.
12854 (expm1_test_towardzero): New function.
12855 (expm1_downward_test_data): New array.
12856 (expm1_test_downward): New function.
12857 (expm1_upward_test_data): New array.
12858 (expm1_test_upward): New function.
12859 (main): Run the new test functions.
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863 * include/features.h: Update comment documenting feature test
12864 macros. Mention _DEFAULT_SOURCE in comment.
12865 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12866 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12867 _BSD_SOURCE and _SVID_SOURCE.
12868 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12869 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12870 !_SVID_SOURCE]: Likewise.
12871 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12872 (__USE_POSIX_IMPLICITLY): Define.
12873 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12874 (_POSIX_SOURCE): Undefine and redefine.
12875 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12876 (_POSIX_C_SOURCE): Likewise.
12877 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12878 (Feature Test Macros): Update documentation of default features.
12880 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12882 * benchtests/Makefile: Add bench-strtok.
12883 * benchtests/bench-strtok.c: New file: strtok benchtest.
12885 2013-12-19 Allan McRae <allan@archlinux.org>
12887 * manual/install.texi: Suppress menu for plain text output.
12888 * INSTALL: Regenerated.
12890 2013-12-18 Brooks Moses <bmoses@google.com>
12893 * misc/getauxval.c: Include errno.h.
12894 (__getauxval): Set errno to ENOENT if the requested type is not
12896 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12897 don't declare with __attribute_const__.
12898 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12899 * manual/startup.texi: Document that getauxval sets errno.
12901 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12903 * math/auto-libm-test-in: Add tests of jn and yn.
12904 * math/auto-libm-test-out: Regenerated.
12905 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12906 (yn_test_data): Likewise.
12907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12909 (func_calc_desc): Add mpfr_if_f union field.
12910 (FUNC_mpfr_if_f): New macro.
12911 (test_functions): Add jn and yn.
12912 (calc_generic_results): Assert type of second input for
12913 mpfr_ff_f. Handle mpfr_if_f.
12914 (output_for_one_input_case): Disable all checking for arguments
12915 fitting floating-point types in case of an integer argument.
12916 * sysdeps/i386/fpu/libm-test-ulps: Update.
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12920 Don't expect fegetround reference in libm.so.
12922 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12924 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12925 $(config-cflags-nofma).
12927 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12929 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12930 * math/auto-libm-test-out: Regenerated.
12933 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12934 to determine exponent and adjust argument to have exponent of -1.
12935 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12937 * math/auto-libm-test-out: Regenerated.
12938 * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12941 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12943 * manual/probes.texi: Remove cases when per-thread arenas are
12946 2013-12-18 Andreas Schwab <schwab@suse.de>
12948 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12949 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12950 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12951 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12952 * sysdeps/i386/i686/multiarch/Makefile: Update.
12953 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12955 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12957 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12958 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12960 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12963 Support TZ transition times < 00:00:00.
12964 This is needed for version-3 tz-format files; it supports time
12965 stamps past 2037 for America/Godthab (the only entry in the tz
12966 database for which this change is relevant).
12967 * manual/time.texi (TZ Variable): Document transition times
12968 from -167:59:59 through -00:00:01.
12969 * time/tzset.c (tz_rule): Time of day is now signed.
12970 (__tzset_parse_tz): Parse negative time of day.
12972 Document TZ transition times >= 25:00:00.
12973 * manual/time.texi (TZ Variable): Document transition times from
12974 25:00:00 through 167:59:59. These are already supported, and this
12975 support will help with version-3 tz-format files.
12977 * manual/time.texi (TZ Variable): Modernize North America example
12978 to reflect current (i.e., 2007-and-later) daylight saving rules.
12980 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12982 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12984 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12985 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12988 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12989 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12990 * sysdeps/unix/bsd/clock.c: Likewise.
12991 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12992 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12993 * sysdeps/unix/bsd/init-posix.c: Likewise.
12994 * sysdeps/unix/bsd/poll.c: Likewise.
12995 * sysdeps/unix/bsd/ptsname.c: Likewise.
12996 * sysdeps/unix/bsd/seekdir.c: Likewise.
12997 * sysdeps/unix/bsd/setegid.c: Likewise.
12998 * sysdeps/unix/bsd/seteuid.c: Likewise.
12999 * sysdeps/unix/bsd/setgid.c: Likewise.
13000 * sysdeps/unix/bsd/setrgid.c: Likewise.
13001 * sysdeps/unix/bsd/setruid.c: Likewise.
13002 * sysdeps/unix/bsd/setsid.c: Likewise.
13003 * sysdeps/unix/bsd/setuid.c: Likewise.
13004 * sysdeps/unix/bsd/sigaction.c: Likewise.
13005 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13006 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13007 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13008 * sysdeps/unix/bsd/telldir.c: Likewise.
13009 * sysdeps/unix/bsd/times.c: Likewise.
13010 * sysdeps/unix/bsd/usleep.c: Likewise.
13012 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13013 ($(objpfx)libbsd-compat.a): Remove rule.
13015 * include/features.h (__FAVOR_BSD): Do not define.
13016 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13017 features conflicting with POSIX.
13018 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13019 (_BSD_SOURCE): Remove description of not being a subset of other
13020 feature test macros.
13021 * manual/job.texi (getpgrp): Do not document BSD version.
13022 (getpgid): Do not document by reference to BSD getpgrp.
13023 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13024 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13025 * signal/signal.h [__FAVOR_BSD]: Likewise.
13026 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13027 instead of making contents conditional on [__FAVOR_BSD].
13028 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13030 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13034 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13037 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13038 values below 2**-450, not 2**-500.
13039 * math/auto-libm-test-in: Don't allow spurious underflow from
13041 * math/auto-libm-test-out: Regenerated.
13045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13046 values of ha and hb and sort them after adjusting subnormal
13048 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13050 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13051 values of ea and eb and sort them after adjusting subnormal
13053 * math/auto-libm-test-in: Do not expect some hypot tests of
13054 subnormals to fail. Add more hypot tests.
13055 * math/auto-libm-test-out: Regenerated.
13057 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13060 * sysdeps/sh/s_fma.c: New file.
13061 * sysdeps/sh/s_fmaf.c: New file.
13062 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13064 * sysdeps/sh/Implies: Add sh/soft-fp.
13066 2013-12-16 Roland McGrath <roland@hack.frob.com>
13068 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13069 level of indirection to members `objname', `errstring', `malloced'.
13070 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13071 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13072 it as the __longjmp argument (just pass 1 instead).
13073 (_dl_catch_error): Initialize C with argument pointers and address of
13074 volatile local ERRCODE rather than copying values out of C at return.
13076 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13078 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13079 * math/auto-libm-test-out: Regenerated.
13080 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13081 (hypot_test_data): Likewise.
13082 (pow_test_data): Likewise.
13083 (pow_tonearest_test_data): Likewise.
13084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13086 (func_calc_desc): Add mpfr_ff_f union field.
13087 (FUNC_mpfr_ff_f): New macro.
13088 (test_functions): Add atan2, hypot and pow.
13089 (special_fill_min): New function.
13090 (special_fill_minus_min): Likewise.
13091 (special_fill_min_subnorm): Likewise.
13092 (special_fill_minus_min_subnorm): Likewise.
13093 (special_real_inputs): Add min, -min, min_subnorm and
13095 (calc_generic_results): Handle mpfr_ff_f.
13096 * sysdeps/i386/fpu/libm-test-ulps: Update.
13097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099 2013-12-16 Will Newton <will.newton@linaro.org>
13101 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13102 (Aligned Memory Blocks): Add documentation for aligned_alloc
13103 and suggest it as an alternative to posix_memalign.
13104 (Hooks for Malloc): Document __memalign_hook is also called
13105 for aligned_alloc. (Summary of Malloc): Add summary for
13106 aligned alloc. Document __memalign_hook is also called
13109 2013-12-16 Will Newton <will.newton@linaro.org>
13111 * manual/memory.texi (Malloc Examples): Clarify default
13112 alignment documentation. Suggest posix_memalign rather
13113 than memalign or valloc.
13114 (Aligned Memory Blocks): Remove suggestion to use memalign
13115 or valloc. Remove obsolete comment about BSD.
13116 Document memalign errno values and mark the function obsolete.
13117 Document posix_memalign returned error codes. Mark valloc
13118 as obsolete. (Hooks for Malloc): __memalign_hook is also
13119 called for posix_memalign and valloc.
13120 (Summary of Malloc): Add posix_memalign to function summary.
13121 __memalign_hook is also called for posix_memalign and valloc.
13123 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13125 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13129 (sloww): Use mynumber union. Expand ternary operator into
13130 if-else statements.
13131 (cslow): use mynumber union.
13133 2013-12-16 Allan McRae <allan@archlinux.org>
13135 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13136 * configure: Regenerated.
13138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13141 * configure.ac: Added --enable-maintainer-mode. Check for
13142 autoconf when enabled.
13143 * configure: Regenerated.
13145 * nscd/nscd.service: New file.
13146 * nscd/nscd.tmpfiles: New file.
13148 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13151 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13152 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13153 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13154 (strstr): Add __strstr_sse2_unaligned ifunc.
13155 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13156 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13157 (strcasestr): Remove __strcasestr_sse42 ifunc.
13158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13162 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13164 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13165 * sysdeps/sh/bits/fenv.h: ... here.
13166 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13168 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13170 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13173 hypotf multiarch implementations.
13174 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13175 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13176 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13177 multiarch hypot for PPC64.
13178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13180 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13181 multiarch hypotf for PPC64.
13183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13184 modff multiarch implementations.
13185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13188 multiarch modf for PPC64.
13189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13192 multiarch modff for PPC64.
13194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13195 and logl multiarch implementations.
13196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13199 multiarch logb for PPC64.
13200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13203 multiarch logb for PPC64.
13204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13207 multiarch logb for PPC64.
13209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13210 isinff multiarch implementation.
13211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13215 multiarch isinf for PPC64.
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13219 multiarch isinff for PPC64.
13221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13222 finitef multiarch implementation.
13223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13227 multiarch finite for PPC64.
13228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13231 multiarch finitef for PPC64.
13233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13234 lrint multiarch implementation.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13239 multiarch llrint for PPC64.
13240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13241 multiarch lrint for PPC64.
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13244 copysignf multiarch implementation.
13245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13250 multiarch copysign for PPC64.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13252 multiarch copysignf for PPC64.
13254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13255 multiarch implementation.
13256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13264 multiarch llround for PPC64.
13265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13266 multiarch trunc for PPC64.
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13268 multiarch truncf for PPC64.
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13271 multiarch implementation.
13272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13280 multiarch llround for PPC64.
13281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13282 multiarch round for PPC64.
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13284 multiarch roundf for PPC64.
13286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13287 multiarch implementation.
13288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13296 multiarch llround for PPC64.
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13298 multiarch floor for PPC64.
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13300 multiarch floorf for PPC64.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13303 multiarch implementation.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13312 multiarch llround for PPC64.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13314 multiarch ceil for PPC64.
13315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13316 multiarch ceilf for PPC64.
13318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13319 multiarch implementation.
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13327 multiarch llround for PPC64.
13328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13329 multiarch lround for PPC64.
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13332 multiarch implementation.
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13340 multiarch isnan for PPC64.
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13342 multiarch isnanf for PPC64.
13344 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13345 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13346 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13347 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13348 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13351 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13352 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13357 multiarch implementations.
13358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13359 (__libc_ifunc_impl_list): Likewise.
13360 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13361 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13362 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13363 multiarch stpcpy for PPC64.
13365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13366 multiarch implementations.
13367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13368 (__libc_ifunc_impl_list): Likewise.
13369 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13370 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13371 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13372 multiarch strcpy for PPC64.
13374 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13375 redefine function name.
13376 (_wordcopy_fwd_dest_aligned): Likewise.
13377 (_wordcopy_bwd_aligned): Likewise.
13378 (_wordcopy_bwd_dest_aligned): Likewise.
13379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13380 multiarch implementations.
13381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13382 (__libc_ifunc_impl_list): Likewise.
13383 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13384 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13385 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13386 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13387 multiarch wcscpy for PPC64.
13389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13390 multiarch implementations.
13391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13392 (__libc_ifunc_impl_list): Likewise.
13393 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13394 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13395 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13396 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13397 multiarch wcscpy for PPC64.
13399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13400 multiarch implementations.
13401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13402 (__libc_ifunc_impl_list): Likewise.
13403 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13404 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13405 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13406 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13407 multiarch wcsrchr for PPC64.
13409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13410 multiarch implementations.
13411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13412 (__libc_ifunc_impl_list): Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13414 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13415 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13416 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13417 multiarch wcschr for PPC64.
13419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13420 multiarch implementations.
13421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13422 (__libc_ifunc_impl_list): Likewise.
13423 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13424 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13425 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13426 multiarch strchrnul for PPC64.
13428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13431 (__libc_ifunc_impl_list): Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13433 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13434 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13435 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13441 (__libc_ifunc_impl_list): Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13444 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13445 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13449 multiarch implementations.
13450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13451 (__libc_ifunc_impl_list): Likewise.
13452 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13453 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13454 strncasecmp for PPC64.
13455 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13456 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13457 multiarch strncasecmp_l for PPC64.
13459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13460 multiarch implementations.
13461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13462 (__libc_ifunc_impl_list): Likewise.
13463 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13465 multiarch strcasecmp for PPC64.
13466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13469 multiarch strcasecmp_l for PPC64.
13471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13474 (__libc_ifunc_impl_list): Likewise.
13475 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13476 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13477 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13483 (__libc_ifunc_impl_list): Likewise.
13484 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13485 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13486 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13492 (__libc_ifunc_impl_list): Likewise.
13493 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13494 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13495 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13496 rawmemrchr for PPC64.
13498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13501 (__libc_ifunc_impl_list): Likewise.
13502 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13503 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13504 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13510 (__libc_ifunc_impl_list): Likewise.
13511 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13512 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13513 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13521 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13522 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13525 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13526 avoid cretion of __bzero symbol.
13527 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13529 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13531 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13534 multiarch implementations.
13535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13536 (__libc_ifunc_impl_list): Likewise.
13537 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13538 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13539 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13540 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13542 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13544 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13545 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13546 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13548 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13550 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13554 (__libc_ifunc_impl_list): Likewise.
13555 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13556 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13557 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13562 multiarch for POWER/PPC64.
13563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13564 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13566 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13567 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13568 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13569 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13571 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13574 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13575 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13576 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13577 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13578 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13579 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13580 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13581 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13582 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13583 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13584 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13585 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13586 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13587 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13588 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13597 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13599 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13601 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13603 * benchtests/Makefile (bench): Add exp2 and log2.
13604 (LDLIBS-bench-exp2): Add -lm.
13605 (LDLIBS-bench-log2): Likewise.
13606 * benchtests/exp2-inputs: New inputs file.
13607 * benchtests/log2-inputs: New inputs file.
13608 * benchtests/log-inputs: Add new inputs.
13609 * benchtests/tan-inputs: Likewise.
13611 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13615 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13616 (csloww2): ... from here.
13618 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13619 instead of structures.
13620 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13621 (POLYNOMIAL): Likewise.
13622 (TAYLOR_SLOW): Likewise.
13628 (sloww1); Likewise.
13629 (sloww2): Likewise.
13630 (bsloww1): Likewise.
13631 (bsloww2): Likewise.
13632 (cslow2): Likewise.
13633 (csloww): Likewise.
13634 (csloww1): Likewise.
13635 (csloww2): Likewise.
13637 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13639 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13640 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13641 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13642 * malloc/hooks.c (realloc_check): Likewise.
13644 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13645 * malloc/arena.c: Remove PER_THREAD conditional.
13646 [!PER_THREAD]: Remove code.
13647 (ptmalloc_unlock_all2): Likewise.
13648 (ptmalloc_init): Likewise.
13649 (_int_new_arena): Likewise.
13650 (arena_get2): Likewise.
13651 * malloc/hooks.c (__malloc_get_state): Likewise.
13652 (__malloc_set_state): Likewise.
13653 * malloc/malloc.c: Likewise.
13654 (struct malloc_state): Likewise.
13655 (struct malloc_par): Likewise.
13656 (__libc_realloc): Likewise.
13657 (__libc_mallopt): Likewise.
13659 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13661 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13663 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13665 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13666 macro to a function. Check for zero perturb_byte.
13667 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13669 * malloc/malloc.c: (force_reg): Remove.
13670 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13671 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13672 force_reg by atomic_forced_read.
13673 * malloc/arena.c (ptmalloc_init): Likewise.
13674 * malloc/hooks.c (top_check): Likewise.
13676 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13680 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13684 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13686 * math/auto-libm-test-in: Add tests of lgamma.
13687 * math/auto-libm-test-out: Regenerated.
13688 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13689 (M_LOG_2_SQRT_PIl): Likewise.
13690 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13693 (func_calc_desc): Add mpfr_f_f1 union field.
13694 (ARGS1): New macro.
13702 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13703 (test_functions): Add lgamma.
13704 (calc_generic_results): Handle mpfr_f_f1.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13710 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13711 __mpn_add_n for PowerPC64/POWER7.
13712 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13713 __mpn_sub_n for PowerPC64/POWER7.
13715 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13716 __mpn_addmul_1 for PowerPC64.
13717 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13718 __mpn_submul_1 for PowerPC64.
13719 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13721 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13724 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13727 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13729 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13731 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13733 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13734 add multiarch folders.
13735 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13736 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13737 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13738 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13739 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13740 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13741 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13742 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13743 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13744 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13745 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13754 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13760 multiarch __ieee754_hypot for PowerPC32.
13761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13766 multiarch __ieee754_hypotf for PowerPC32.
13768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13769 long_double_symbol only if __logbl is defined.
13770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13771 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13773 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13775 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13777 path for implementation.
13778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13781 logb, and logbl multiarch implementations for PowerPC32.
13782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13787 multiarch logb for PowerPC32.
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13793 multiarch logbf for PowerPC32.
13794 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13798 multiarch logbl implementation for PowerPC32.
13800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13801 and modff multiarch implementations.
13802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13807 multiarch modf for PowerPC32.
13808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13813 multiarch modff for PowerPC32.
13815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13816 and lrintf multiarch implementations.
13817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13822 multiarch lrint for PowerPC32.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13824 file: multiarch lrintf for PowerPC32.
13826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13827 and lroundf multiarch implementations.
13828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13835 multiarch lround for PowerPC32.
13836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13837 file: multiarch lroundf for PowerPC32.
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13840 copysign and copysignf multiarch implementations.
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13846 file: multiarch copysign for PowerPC32.
13847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13848 file: multiarch copysignf for PowerPC32.
13850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13851 and truncf multiarch implementations.
13852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13857 multiarch trunc for PowerPC32.
13858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13863 multiarch truncf for PowerPC32.
13865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13866 and roundf multiarch implementations.
13867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13872 multiarch round for PowerPC32.
13873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13878 multiarch roundf for PowerPC32.
13880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13881 and floorf multiarch implementations.
13882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13887 multiarch floor for PowerPC32.
13888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13893 multiarch floorf for PowerPC32.
13895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13896 and ceilf multiarch implementations.
13897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13902 multiarch ceil for PowerPC32.
13903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13908 multiarch ceilf for PowerPC32.
13910 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13912 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13913 FINITEF is defined.
13914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13915 and finitef multiarch implementations.
13916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13921 multiarch finite for PowerPC32.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13925 file: multiarch finitef for PowerPC32.
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13928 and isinff multiarch implementations.
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13934 multiarch isinf for PowerPC32.
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13938 multiarch isinff for PowerPC32.
13940 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13941 alias when __isnan is defined.
13942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13943 and isnanf multiarch implementations.
13944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13953 multiarch isnan for PowerPC32.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13959 multiarch isnanf for PowerPC32.
13961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13962 and sqrtf multiarch implementations.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13968 multiarch sqrt for PowerPC32.
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13974 multiarch sqrtf for PowerPC32.
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13977 and llroundf multiarch implementations.
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13985 file: multiarch llround for PowerPC32.
13986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13987 file: multiarch llroundf for PowerPC32.
13989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13990 multiarch PowerPC32 fpu implementations.
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13996 multiarch llrint for PowerPC32.
13997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14006 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14008 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14012 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14013 multiarch wordcopy for PPC32.
14014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14017 (__libc_ifunc_impl_list): Likewise.
14018 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14019 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14020 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14021 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14022 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14023 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14025 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14033 multiarch wcscpy for PPC32.
14034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14037 (__libc_ifunc_impl_list): Likewise.
14038 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14039 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14040 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14041 sysdeps/powerpc/power6/wcscpy.c.
14043 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14051 multiarch wcsrchr for PPC32.
14052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14055 (__libc_ifunc_impl_list): Likewise.
14056 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14057 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14058 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14059 sysdeps/powerpc/power6/wcsrchr.c.
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14067 multiarch wcschr for PPc32.
14068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14071 (__libc_ifunc_impl_list): Likewise.
14072 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14073 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14074 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14075 sysdeps/powerpc/power6/wcschr.c.
14077 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14080 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14081 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14082 file: multiarch strchr for PPC32.
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14086 (__libc_ifunc_impl_list): Likewise.
14088 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14090 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14092 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14095 multiarch strchrnul for PPC32.
14096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14099 (__libc_ifunc_impl_list): Likewise.
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14104 multiarch strncasecmp for PPC32.
14105 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14108 multiarch strncasecmp_l for PPC32.
14109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14110 strncasecmp multiarch objects.
14111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14112 (__libc_ifunc_impl_list): Likewise.
14114 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14116 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14117 multiarch strncasecmp for PPC32.
14118 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14120 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14121 multiarch strcasecmp_l for PPC32.
14122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14125 (__libc_ifunc_impl_list): Likewise.
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14132 multiarch strncmp for PPC32.
14133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14136 (__libc_ifunc_impl_list): Likewise.
14138 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14139 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14141 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14146 (__libc_ifunc_impl_list): Likewise.
14148 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14150 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14152 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14156 (__libc_ifunc_impl_list): Likewise.
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14160 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14162 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14163 multiarch rawmemchr for PPC32.
14164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14167 (__libc_ifunc_impl_list): Likewise.
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14174 file: memrchr multiarch for PPC32.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14178 (__libc_ifunc_impl_list): Likewise.
14180 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14181 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14185 multiarch memchr for PPC32.
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14189 (__libc_ifunc_impl_list): Likewise.
14191 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14194 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14196 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14197 file: multiarch mempcpy for PPC32.
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14201 (__libc_ifunc_impl_list): Likewise.
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14204 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14207 multiarch bzero for PPC32.
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14213 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14214 file: multiarch memset for PPC32.
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14217 memset multiarch objects.
14218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14219 (__libc_ifunc_impl_list): Likewise.
14221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14230 (__libc_ifunc_impl_list): Likewise.
14232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14241 multiarch memcpy for PPC32.
14242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14245 (__libc_ifunc_impl_list): Likewise.
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14248 support multiarch for POWER/PPC32.
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14251 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14253 Implies file to make multiarch folder appers before the fpu and
14254 default folder for power4 configuration.
14256 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14258 * scripts/bench.pl: Append volatile keyword to type.
14260 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14262 * sysdeps/sh/sotruss-lib.c: New file.
14263 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14265 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14269 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14272 * math/w_tgamma.c: Include <errno.h>.
14273 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14274 * math/w_tgammaf.c: Include <errno.h>.
14275 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14276 * math/w_tgammal.c: Include <errno.h>.
14277 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14278 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14279 underflow. Add more tgamma tests.
14280 * math/auto-libm-test-out: Regenerated.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14284 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14285 sin, sinh, tan, tanh, tgamma, y0 and y1.
14286 * math/auto-libm-test-out: Regenerated.
14287 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14288 (TEST_COND_x86): Likewise.
14289 (M_E2l): Remove macro.
14291 (M_2_SQRT_PIl): Likewise.
14292 (M_SQRT_PIl): Likewise.
14293 (M_1_DIV_El): Likewise.
14294 (log_test_data): Use AUTO_TESTS_f_f.
14295 (log10_test_data): Likewise.
14296 (log1p_test_data): Likewise.
14297 (log2_test_data): Likewise.
14298 (sin_test_data): Likewise.
14299 (sin_tonearest_test_data): Likewise.
14300 (sin_towardzero_test_data): Likewise.
14301 (sin_downward_test_data): Likewise.
14302 (sin_upward_test_data): Likewise.
14303 (sinh_test_data): Likewise.
14304 (sinh_tonearest_test_data): Likewise.
14305 (sinh_towardzero_test_data): Likewise.
14306 (sinh_downward_test_data): Likewise.
14307 (sinh_upward_test_data): Likewise.
14308 (tan_test_data): Likewise.
14309 (tan_tonearest_test_data): Likewise.
14310 (tan_towardzero_test_data): Likewise.
14311 (tan_downward_test_data): Likewise.
14312 (tan_upward_test_data): Likewise.
14313 (tanh_test_data): Likewise.
14314 (tgamma_test_data): Likewise.
14315 (y0_test_data): Likewise.
14316 (y1_test_data): Likewise.
14317 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14318 (special_real_inputs): Add pi/4.
14319 * sysdeps/i386/fpu/libm-test-ulps: Update.
14320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14322 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14324 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14325 "longjmp_target" static probes.
14326 (__longjmp): Rename to __longjmp_symbol.
14327 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14328 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14329 on which longjmp to generate.
14330 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14331 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14333 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14334 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14335 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14337 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14338 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14340 __longjmp_symbol based on which __longjmp to generate.
14341 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14343 (setjmp): Rename to setjmp_symbol.
14344 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14345 (_setjmp): Rename to _setjmp_symbol.
14346 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14347 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14348 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14349 which setjmp to generate.
14350 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14351 "longjmp_target" static probes.
14353 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14355 * benchtests/README: Add note about output arguments.
14356 * benchtests/bench-sincos.c: Remove file.
14357 * benchtests/sincos-inputs: New file.
14358 * scripts/bench.pl: Identify output arguments and define
14359 static variables for them.
14361 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14364 * Makefile (INSTALL): Add install-plain.texi as the primary
14366 * manual/install-plain.texi: New file.
14367 * manual/install.texi: Include node directive only for
14368 non-plaintext output.
14370 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14372 * stdlib/longlong.h: Update from GCC.
14376 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14377 * math/w_j0f.c (y0f): Likewise.
14378 * math/w_j0l.c (__y0l): Likewise.
14379 * math/w_j1.c (y1): Likewise.
14380 * math/w_j1f.c (y1f): Likewise.
14381 * math/w_j1l.c (__y1l): Likewise
14382 * math/w_jn.c (yn): Likewise.
14383 * math/w_jnf.c (ynf): Likewise.
14384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14385 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14386 value for Bessel function domain errors outside _SVID_ mode.
14387 Adjust sign of return value for yn (negative integer, 0).
14388 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14389 by zero in return for negative x and set sign appropriately for
14391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14392 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14393 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14394 expectations in error cases.
14395 (y1_test_data): Likewise.
14396 (yn_test_data): Likewise.
14397 * sysdeps/i386/fpu/libm-test-ulps: Update.
14398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14400 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14402 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14403 "64" to "64-v1". Add "64-v2".
14404 (abi-64-options): Rename to ...
14405 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14406 (abi-64-condition): Rename to ...
14407 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14408 (abi-64-ld-soname): Rename to ...
14409 (abi-64-v1-ld-soname): ... this.
14410 (abi-64-v2-options): Define.
14411 (abi-64-v2-condition): Likewise.
14412 (abi-64-v2-ld-soname): Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14414 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14419 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14420 Alan Modra <amodra@gmail.com>
14422 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14423 New versions for use with the ELFv2 ABI.
14424 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14425 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14427 (struct La_ppc64v2_retval): Likewise.
14428 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14429 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14430 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14431 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14432 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14434 Do not save or restore CR.
14435 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14436 (_dl_profile_resolve): Do no save or restore CR. Support extended
14437 return values for ELFv2 ABI. Fix location of FPR return registers.
14438 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14439 updated values for _CALL_ELF == 2.
14440 (La_regs, La_retval, int_retval): Likewise.
14442 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14444 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14445 (FRAME_MIN_SIZE_PARM): Likewise.
14446 (FRAME_BACKCHAIN): Likewise.
14447 (FRAME_CR_SAVE): Likewise.
14448 (FRAME_LR_SAVE): Likewise.
14449 (FRAME_TOC_SAVE): Likewise.
14450 (FRAME_PARM_SAVE): Likewise.
14451 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14452 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14453 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14454 (call_mcount_parm_offset): New macro.
14455 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14456 (PROF): Use symbolic stack frame offsets.
14457 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14458 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14459 Redefine in terms of FRAME_MIN_SIZE.
14460 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14461 (_dl_profile_resolve): Likewise. Update comment.
14462 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14463 symbols stack frame offsets.
14464 (__sigsetjmp): Likewise.
14465 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14466 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14467 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14468 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14471 (FRAME_BACKCHAIN): Remove.
14472 (FRAME_CR_SAVE): Likewise.
14473 (FRAME_LR_SAVE): Likewise.
14474 (FRAME_COMPILER_DW): Likewise.
14475 (FRAME_LINKER_DW): Likewise.
14476 (FRAME_TOC_SAVE): Likewise.
14477 (FRAME_PARM_SAVE): Likewise.
14478 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14479 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14480 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14482 (CHECK_SP): Use symbolic stack frame offsets.
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14484 zone" instead of caller's parameter save area for temp storage.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14486 Likewise. Also, use symbolic stack frame offsets.
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14488 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14489 our own stack frame instead of the caller's.
14490 (__socket): Use symbolic stack frame offsets.
14492 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14493 Alan Modra <amodra@gmail.com>
14495 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14497 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14498 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14499 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14501 (elf_machine_fixup_plt): Call it.
14502 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14504 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14505 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14506 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14507 r2 before calling target.
14509 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14510 Alan Modra <amodra@gmail.com>
14512 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14513 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14514 versions of macros to support ELFv2 ABI.
14515 (LOCALENTRY): New macro.
14516 (ENTRY, EALIGN): Use it.
14517 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14518 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14519 fall through into ENTRY entry point.
14520 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14521 Only define if _CALL_ELF != 2.
14523 (elf_machine_matches_host): Verify ABI version matches.
14524 (RTLD_START): Use LOCALENTRY.
14525 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14526 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14527 (PLT_ENTRY_WORDS): New macro.
14528 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14529 (elf_machine_runtime_setup): Support ELFv2 ABI.
14530 (elf_machine_fixup_plt): Likewise.
14531 (elf_machine_plt_conflict): Likewise.
14532 (resolve_ifunc): Likewise.
14533 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14537 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14539 (makecontext): Support ELFv2 ABI.
14540 * elf/elf.h (EF_PPC64_ABI): Define.
14542 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14544 * sysdeps/powerpc/powerpc64/sysdep.h
14545 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14546 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14547 (ENTRY) [ASSEMBLER]: ... but instead here ...
14548 (EALIGN) [ASSEMBLER]: ... and here.
14549 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14550 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14551 (ENTRY_2) [!ASSEMBLER]: Use it.
14552 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14553 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14555 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14556 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14558 Use PPC64_LOAD_FUNCPTR.
14560 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14562 2013-12-04 Alan Modra <amodra@gmail.com>
14564 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14565 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14566 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14567 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14569 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14570 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14571 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14572 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14573 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14574 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14576 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14579 (__makecontext): Fix incorrect CFI when backtracing out of
14580 context created via makecontext.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14582 (__setcontext): Fix incorrect CFI during switch to new context.
14583 (__novec_setcontext): Likewise.
14585 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14588 * time/strptime_l.c (__strptime_internal): Allow modifiers
14590 * time/tst-strptime.c (day_tests): Add testcase.
14592 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14594 * scripts/bench.pl: Skip over blank lines.
14596 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14599 * manual/time.texi (Calendar Time): Clarify what timezone functions
14602 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14606 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14608 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14610 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14611 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14612 * debug/memset_chk.c (__memset_chk): Likewise.
14613 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14614 * debug/strncpy_chk.c: Likewise.
14616 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14621 (__ieee754_exp): For possibly underflowing results, check size of
14622 result and force underflow exception if required.
14623 * math/auto-libm-test-in: Add more tests of exp.
14624 * math/auto-libm-test-out: Regenerated.
14625 * sysdeps/i386/fpu/libm-test-ulps: Update.
14626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14629 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14630 * math/w_exp2f.c (__exp2f): Likewise.
14631 * math/w_exp2l.c (__exp2l): Likewise.
14632 * math/auto-libm-test-in: Do not allow missing errno on exp2
14634 * math/auto-libm-test-out: Regenerated.
14636 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14639 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14640 handle filename validation.
14641 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14644 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14647 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14648 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14649 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14651 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14652 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14653 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14654 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14655 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14656 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14657 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14658 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14659 Add more erfc tests.
14660 * math/auto-libm-test-out: Regenerated.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14665 exp2, expm1, j0 and j1.
14666 * math/auto-libm-test-out: Regenerated.
14667 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14668 (erfc_test_data): Likewise.
14669 (exp_test_data): Likewise.
14670 (exp_tonearest_test_data): Likewise.
14671 (exp_towardzero_test_data): Likewise.
14672 (exp_downward_test_data): Likewise.
14673 (exp_upward_test_data): Likewise.
14674 (exp10_test_data): Likewise.
14675 (exp2_test_data): Likewise.
14676 (expm1_test_data): Likewise.
14677 (j0_test_data): Likewise.
14678 (j1_test_data): Likewise.
14679 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14680 (input_flag_type): Add flag_xfail_rounding.
14681 (input_flags): Add xfail-rounding.
14682 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14683 (output_for_one_input_case): Handle flag_xfail_rounding.
14684 * sysdeps/i386/fpu/libm-test-ulps: Update.
14685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14687 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14690 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14693 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14696 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14697 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14698 (STAP_PROBE0): New macro.
14699 (STAP_PROBE1): Likewise.
14700 (STAP_PROBE2): Likewise.
14701 (STAP_PROBE3): Likewise.
14702 (STAP_PROBE4): Likewise.
14704 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14706 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14708 2013-12-02 Steve Ellcey <sellcey@mips.com>
14710 * benchtests/Makefile (bench): Add sqrt.
14711 (LDLIBS-bench-sqrt): New.
14712 * benchtests/sqrt-input: New.
14714 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14716 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14717 (GAIH_EAI): Likewise.
14718 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14719 (gaih_inet): Likewise.
14720 (getaddrinfo): Don't use GAIH_EAI.
14722 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14723 (struct gaih): Remove definition.
14725 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14727 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14728 Use HERRNOP directly.
14730 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14734 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14736 * math/gen-auto-libm-tests.c (test_functions): Add more
14737 single-argument functions.
14738 (special_fill_pi_2): New function.
14739 (special_fill_minus_pi_2): Likewise.
14740 (special_fill_pi_6): Likewise.
14741 (special_fill_minus_pi_6): Likewise.
14742 (special_fill_pi_3): Likewise.
14743 (special_fill_2pi_3): Likewise.
14744 (special_fill_e): Likewise.
14745 (special_fill_1_e): Likewise.
14746 (special_fill_e_minus_1): Likewise.
14747 (special_real_inputs): Add more special inputs.
14748 (output_for_one_input_case): Do not require ERANGE on underflow to
14749 zero if round-to-nearest result does not underflow to zero, unless
14750 exact results required.
14751 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14752 atan, atanh, cbrt, cos and cosh.
14753 * math/auto-libm-test-out: Regenerated.
14754 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14755 (acos_tonearest_test_data): Likewise.
14756 (acos_towardzero_test_data): Likewise.
14757 (acos_downward_test_data): Likewise.
14758 (acos_upward_test_data): Likewise.
14759 (acosh_test_data): Likewise.
14760 (asin_test_data): Likewise.
14761 (asin_tonearest_test_data): Likewise.
14762 (asin_towardzero_test_data): Likewise.
14763 (asin_upward_test_data): Likewise.
14764 (asinh_test_data): Likewise.
14765 (atan_test_data): Likewise.
14766 (atanh_test_data): Likewise.
14767 (cbrt_test_data): Likewise.
14768 (cos_test_data): Likewise.
14769 (cos_tonearest_test_data): Likewise.
14770 (cos_towardzero_test_data): Likewise.
14771 (cos_downward_test_data): Likewise.
14772 (cos_upward_test_data): Likewise.
14773 (cosh_test_data): Likewise.
14774 (cosh_tonearest_test_data): Likewise.
14775 (cosh_towardzero_test_data): Likewise.
14776 (cosh_downward_test_data): Likewise.
14777 (cosh_upward_test_data): Likewise.
14778 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14781 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14784 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14785 * math/w_exp10f.c (__exp10f): Likewise.
14786 * math/w_exp10l.c (__exp10l): Likewise.
14787 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14788 errno settings in existing tests.
14791 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14792 precision control set to double precision.
14793 * sysdeps/i386/fpu/w_sqrt.c: New file.
14794 * math/auto-libm-test-in: Add more tests.
14795 * math/auto-libm-test-out: Update.
14797 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14798 (sqrt_test_tonearest): New function.
14799 (sqrt_towardzero_test_data): New variable.
14800 (sqrt_test_towardzero): New function.
14801 (sqrt_downward_test_data): New variable.
14802 (sqrt_test_downward): New function.
14803 (sqrt_upward_test_data): New variable.
14804 (sqrt_test_upward): New function.
14805 (main): Call the new functions.
14807 * math/gen-auto-libm-tests.c: New file.
14808 * math/auto-libm-test-in: Likewise.
14809 * math/auto-libm-test-out: New generated file.
14810 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14812 (%beautify): Add generated representations of zero.
14813 (top level): Set $auto_input and call parse_auto_input.
14814 (beautify): Remove trailing "f" from hex float constants.
14815 (parse_args): Handle XFAIL_TEST.
14816 (convert_condition): New function.
14817 (or_value): Likewise.
14818 (or_cond_value): Likewise.
14819 (generate_testfile): Handle AUTO_TESTS_* lines.
14820 (parse_auto_input): New function.
14821 * math/libm-test.inc (XFAIL_TEST): New macro.
14822 (ERRNO_UNCHANGED): Update value.
14823 (ERRNO_EDOM): Likewise.
14824 (ERRNO_ERANGE): Likewise.
14825 (IGNORE_RESULT): Likewise.
14826 (TEST_COND_flt_32): New macro.
14827 (TEST_COND_dbl_64): Likewise.
14828 (TEST_COND_ldbl_96_intel): Likewise.
14829 (TEST_COND_ldbl_96_m68k): Likewise.
14830 (TEST_COND_ldbl_128): Likewise.
14831 (TEST_COND_ldbl_128ibm): Likewise.
14832 (TEST_COND_long32): Likewise.
14833 (TEST_COND_long64): Likewise.
14834 (TEST_COND_before_rounding): Likewise.
14835 (TEST_COND_after_rounding): Likewise.
14836 (enable_test): Handle XFAIL_TEST flag.
14837 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14838 with finite results.
14839 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14840 auto-libm-test-out.
14842 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14843 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14846 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14847 __tls_get_addr_internal instead of __tls_get_offset in order to
14848 avoid GOT pointer dependency. Make rtld export
14849 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14850 __tls_get_addr since we are a __tls_get_offset platform.
14851 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14852 GOT pointer being set up before.
14853 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14855 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14857 * manual/math.texi (Errors in Math Functions): Document accuracy
14861 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14862 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14863 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14864 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14874 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14878 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14879 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14880 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14881 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14882 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14884 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14886 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14888 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14889 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14890 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14891 atomic-feupdateenv and flt-rounds.
14892 * sysdeps/powerpc/nofpu/Versions (libc): Add
14893 __atomic_feholdexcept, __atomic_feclearexcept,
14894 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14896 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14897 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14898 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14903 * manual/arith.texi (FP Exceptions): Document that exceptions may
14904 not be raised when matherr is used.
14905 (Math Error Reporting): Document overflow in directed rounding
14906 modes. Document that errno may not be set when finite values are
14907 returned on overflow. Document intent to set errno on underflow
14908 only for underflow to zero.
14911 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14912 round-to-nearest then adjust result for other rounding modes.
14913 * include/fenv.h (fegetround): Use libm_hidden_proto.
14914 * math/fegetround.c (fegetround): Use libm_hidden_def.
14915 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14916 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14917 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14920 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14921 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14922 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14923 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14925 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14928 * nss/Versions (libnss_files): Add
14929 _nss_files_gethostbyname3_r.
14930 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14932 (HOST_DB_LOOKUP): Remove macro.
14933 (_nss_files_gethostbyname_r): Implement function without the
14934 HOST_DB_LOOKUP macro.
14935 (_nss_files_gethostbyname2_r): Likewise.
14937 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14939 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14941 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14943 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14944 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14947 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14949 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14950 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14951 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14952 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14953 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14954 __fe_nomask_env_priv and attribute_hidden.
14955 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14956 (libc_feupdateenv_test_ppc): Likewise.
14957 (libc_feresetround_ppc): Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14959 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14960 compat_symbol macro.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14962 (__fe_nomask_env): Likewise.
14963 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14965 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14967 * string/Makefile: Remove ifunc tests.
14968 * string/test-string.h: Define TEST_IFUNC.
14969 * string/test-bcopy-ifunc.c: Remove.
14970 * string/test-bzero-ifunc.c: Likewise.
14971 * string/test-memccpy-ifunc.c: Likewise.
14972 * string/test-memchr-ifunc.c: Likewise.
14973 * string/test-memcmp-ifunc.c: Likewise.
14974 * string/test-memcpy-ifunc.c: Likewise.
14975 * string/test-memmem-ifunc.c: Likewise.
14976 * string/test-memmove-ifunc.c: Likewise.
14977 * string/test-mempcpy-ifunc.c: Likewise.
14978 * string/test-memrchr-ifunc.c: Likewise.
14979 * string/test-memset-ifunc.c: Likewise.
14980 * string/test-rawmemchr-ifunc.c: Likewise.
14981 * string/test-stpcpy-ifunc.c: Likewise.
14982 * string/test-stpncpy-ifunc.c: Likewise.
14983 * string/test-strcasecmp-ifunc.c: Likewise.
14984 * string/test-strcasestr-ifunc.c: Likewise.
14985 * string/test-strcat-ifunc.c: Likewise.
14986 * string/test-strchr-ifunc.c: Likewise.
14987 * string/test-strchrnul-ifunc.c: Likewise.
14988 * string/test-strcmp-ifunc.c: Likewise.
14989 * string/test-strcpy-ifunc.c: Likewise.
14990 * string/test-strcspn-ifunc.c: Likewise.
14991 * string/test-strlen-ifunc.c: Likewise.
14992 * string/test-strncasecmp-ifunc.c: Likewise.
14993 * string/test-strncat-ifunc.c: Likewise.
14994 * string/test-strncmp-ifunc.c: Likewise.
14995 * string/test-strncpy-ifunc.c: Likewise.
14996 * string/test-strnlen-ifunc.c: Likewise.
14997 * string/test-strpbrk-ifunc.c: Likewise.
14998 * string/test-strrchr-ifunc.c: Likewise.
14999 * string/test-strspn-ifunc.c: Likewise.
15000 * string/test-strstr-ifunc.c: Likewise.
15002 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15004 * benchtests/Makefile: Remove ifunc tests.
15005 * benchtests/bench-string.h: Define TEST_IFUNC.
15006 * benchtests/bench-bcopy-ifunc.c: Remove.
15007 * benchtests/bench-bzero-ifunc.c: Likewise.
15008 * benchtests/bench-memccpy-ifunc.c: Likewise.
15009 * benchtests/bench-memchr-ifunc.c: Likewise.
15010 * benchtests/bench-memcmp-ifunc.c: Likewise.
15011 * benchtests/bench-memcpy-ifunc.c: Likewise.
15012 * benchtests/bench-memmem-ifunc.c: Likewise.
15013 * benchtests/bench-memmove-ifunc.c: Likewise.
15014 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15015 * benchtests/bench-memrchr-ifunc.c: Likewise.
15016 * benchtests/bench-memset-ifunc.c: Likewise.
15017 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15018 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15019 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15020 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15021 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15022 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15023 * benchtests/bench-strcat-ifunc.c: Likewise.
15024 * benchtests/bench-strchr-ifunc.c: Likewise.
15025 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15026 * benchtests/bench-strcmp-ifunc.c: Likewise.
15027 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15028 * benchtests/bench-strcpy-ifunc.c: Likewise.
15029 * benchtests/bench-strcspn-ifunc.c: Likewise.
15030 * benchtests/bench-strlen-ifunc.c: Likewise.
15031 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15032 * benchtests/bench-strncat-ifunc.c: Likewise.
15033 * benchtests/bench-strncmp-ifunc.c: Likewise.
15034 * benchtests/bench-strncpy-ifunc.c: Likewise.
15035 * benchtests/bench-strnlen-ifunc.c: Likewise.
15036 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15037 * benchtests/bench-strrchr-ifunc.c: Likewise.
15038 * benchtests/bench-strsep-ifunc.c: Likewise.
15039 * benchtests/bench-strspn-ifunc.c: Likewise.
15040 * benchtests/bench-strstr-ifunc.c: Likewise.
15042 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15044 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15046 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15048 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15049 * rt/aio.h: Likewise.
15050 * sysdeps/gnu/bits/utmp.h: Likewise.
15051 * sysdeps/gnu/bits/utmpx.h: Likewise.
15052 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15053 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15054 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15055 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15056 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15057 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15058 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15059 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15063 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15067 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15068 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15069 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15070 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15073 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15074 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15075 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15076 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15078 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15083 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15084 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15087 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15088 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15089 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15090 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15091 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15092 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15093 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15095 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15098 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15099 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15101 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15103 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15107 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15110 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15111 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15112 (__fesetround): Remove define.
15113 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15114 rounding and exceptions handling.
15115 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15116 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15117 (__fe_nomask_env): Likewise.
15118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15119 __fegetround instead of fegetround.
15120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15121 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15123 2013-11-21 Roland McGrath <roland@hack.frob.com>
15125 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15128 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15130 2013-11-21 Meador Inge <meadori@codesourcery.com>
15133 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15134 (encrypt_r): Likewise.
15135 * malloc/obstack.h (obstack_free): Likewise.
15136 * posix/unistd.h (encrypt): Likewise.
15138 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15140 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15141 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15142 DL_CALL_DT_FINI() that call the functions directly.
15143 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15144 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15145 * elf/dl-fini.c: Likewise.
15147 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15149 * malloc/hooks.c (memalign_check): Add alignment rounding.
15150 * malloc/malloc.c (_mid_memalign): New function.
15151 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15152 Implement by calling _mid_memalign.
15153 * manual/probes.texi (Memory Allocation Probes): Remove
15154 memory_valloc_retry and memory_pvalloc_retry.
15156 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15158 * locale/programs/locarchive.c (open_archive): Add const
15159 qualifier to ARCHIVEFNAME and copy default fname to
15163 * libio/tst-widetext.input: Rename Oriya to Odia.
15164 * locale/iso-639.def: Likewise.
15166 * manual/probes.texi (Mathematical Function Probes): Add
15167 documentation for sin, cos, asin and acos probes.
15168 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15169 (__sin32): Add slowasin probe.
15170 (__cos32): Add slowacos probe.
15171 (__mpsin): Add slowsin probe.
15172 (__mpcos): Add slowcos probe.
15174 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15177 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15178 thread-local __sim_exceptions_thread and global
15179 __sim_exceptions_global.
15180 (__sim_disabled_exceptions): Change to thread-local
15181 __sim_disabled_exceptions_thread and global
15182 __sim_disabled_exceptions_global.
15183 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15184 and global __sim_round_mode_global.
15185 (__simulate_exceptions): Use thread-local floating-point state and
15186 set global state from it as needed.
15187 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15188 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15189 __sim_round_mode_thread.
15190 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15191 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15192 and global __sim_exceptions_global.
15193 (__sim_disabled_exceptions): Change to thread-local
15194 __sim_disabled_exceptions_thread and global
15195 __sim_disabled_exceptions_global.
15196 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15197 and global __sim_round_mode_global.
15198 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15199 (SIM_SET_GLOBAL): Likewise.
15200 * sysdeps/powerpc/soft-fp/sfp-machine.h
15201 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15202 __sim_round_mode_thread.
15203 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15204 __sim_disabled_exceptions_thread.
15205 (__sim_exceptions): Change to __sim_exceptions_thread.
15206 (__sim_disabled_exceptions): Change to
15207 __sim_disabled_exceptions_thread.
15208 (__sim_round_mode): Change to __sim_round_mode_thread.
15209 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15210 thread-local floating-point state and set global state from it as
15212 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15213 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15214 (__sim_disabled_exceptions): Remove extern declaration.
15215 (feenableexcept): Use thread-local floating-point state and set
15216 global state from it as needed.
15217 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15218 extern declaration.
15219 (__sim_disabled_exceptions): Likewise.
15220 (__sim_round_mode): Likewise.
15221 (__fegetenv): Use thread-local floating-point state.
15222 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15223 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15224 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15225 floating-point state and set global state from it as needed.
15226 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15227 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15228 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15230 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15231 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15233 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15234 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15235 Use __sim_round_mode_thread.
15236 * math/test-fenv-tls.c: New file.
15237 * math/Makefile (tests): Add test-fenv-tls.
15238 ($(objpfx)test-fenv-tls): Depend on
15239 $(common-objpfx)nptl/libpthread.so.
15241 2013-11-19 Andreas Schwab <schwab@suse.de>
15243 * locale/programs/locale.c (show_info): Decode wordarray elements.
15244 * locale/categories.def (LC_MONETARY): Add element for
15245 _NL_MONETARY_CRNCYSTR.
15246 * locale/C-monetary.c (conversion_rate): New variable.
15247 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15250 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15252 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15253 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15255 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15257 * elf/Makefile (tst-auxv): New test.
15258 * elf/tst-auxv.c: New
15259 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15261 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15263 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15264 (hidden_proto): Caller changed.
15265 (hidden_tls_proto): New macro.
15266 (libc_hidden_tls_proto): Likewise.
15267 (rtld_hidden_tls_proto): Likewise.
15268 (libm_hidden_tls_proto): Likewise.
15269 (libresolv_hidden_tls_proto): Likewise.
15270 (librt_hidden_tls_proto): Likewise.
15271 (libdl_hidden_tls_proto): Likewise.
15272 (libnss_files_hidden_tls_proto): Likewise.
15273 (libnsl_hidden_tls_proto): Likewise.
15274 (libnss_nisplus_hidden_tls_proto): Likewise.
15275 (libutil_hidden_tls_proto): Likewise.
15277 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15280 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15281 (decompose_rpath): Defer expansion to fillin_rpath.
15282 (_dl_init_paths): Pass linkmap to fillin_rpath.
15284 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15286 * benchtests/Makefile: Add strsep.
15287 * benchtests/bench-strsep.c: New file: strsep benchtest.
15288 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15290 2013-11-18 Andreas Schwab <schwab@suse.de>
15292 * locale/programs/locale.c (show_info) [case byte]: Check for
15293 '\377' instead of '\177'.
15294 * locale/C-monetary.c (not_available): Always use "\377".
15295 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15296 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15297 detect unavailable sign_posn locale elements.
15298 * locale/localeconv.c (__localeconv): For grouping and
15299 mon_grouping handle "\177" and "\377" like no grouping.
15300 (INT_ELEM): New macro. Use it to set all numeric members.
15301 * locale/programs/ld-monetary.c (monetary_read)
15302 <tok_mon_grouping>: Normalize single -1 to the empty string.
15303 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15306 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15310 when we match (nil).
15311 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15313 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15315 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15316 (NO_TEST_INLINE): Update value.
15317 (ERRNO_UNCHANGED): Likewise.
15318 (ERRNO_EDOM): Likewise.
15319 (ERRNO_ERANGE): Likewise.
15320 (IGNORE_RESULT): Likewise.
15321 (check_float_internal): Check signs of NaN results if
15322 TEST_NAN_SIGN used.
15323 (check_complex): Pass TEST_NAN_SIGN flag through to second
15324 check_float_internal call.
15325 (copysign_test_data): Add tests with quiet NaNs as second
15326 argument. Use TEST_NAN_SIGN.
15327 (fabs_test_data): Add test of negative quiet NaN argument. Use
15329 (signbit_test_data): Add tests of quiet NaN argument.
15330 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15332 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15334 (parse_args): Handle function results specified as IGNORE.
15335 * math/libm-test.inc (IGNORE_RESULT): New macro.
15336 (check_float_internal): Do not check numerical result if flag
15338 (check_complex): Pass through IGNORE_RESULT to second
15339 check_float_internal call.
15340 (check_int): Do not check numerical result if flag IGNORE_RESULT
15342 (check_long): Likewise.
15343 (check_bool): Likewise.
15344 (check_longlong): Likewise.
15345 (lrint_test_data): Add tests of infinite and NaN arguments.
15346 (lrint_tonearest_test_data): Likewise.
15347 (lrint_towardzero_test_data): Likewise.
15348 (lrint_downward_test_data): Likewise.
15349 (lrint_upward_test_data): Likewise.
15350 (llrint_test_data): Likewise.
15351 (llrint_tonearest_test_data): Likewise.
15352 (llrint_towardzero_test_data): Likewise.
15353 (llrint_downward_test_data): Likewise.
15354 (llrint_upward_test_data): Likewise.
15355 (lround_test_data): Likewise.
15356 (llround_test_data): Likewise.
15358 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15359 (ERRNO_UNCHANGED): Update value.
15360 (ERRNO_EDOM): Likewise.
15361 (ERRNO_ERANGE): Likewise.
15362 (NO_TEST_INLINE_FLOAT): New macro.
15363 (NO_TEST_INLINE_DOUBLE): Likewise.
15364 (enable_test): New function.
15365 (RUN_TEST_f_f): Check enable_test before running test.
15366 (RUN_TEST_2_f): Likewise.
15367 (RUN_TEST_fff_f): Likewise.
15368 (RUN_TEST_c_f): Likewise.
15369 (RUN_TEST_f_f1): Likewise.
15370 (RUN_TEST_fF_f1): Likewise.
15371 (RUN_TEST_fI_f1): Likewise.
15372 (RUN_TEST_ffI_f1): Likewise.
15373 (RUN_TEST_c_c): Likewise.
15374 (RUN_TEST_cc_c): Likewise.
15375 (RUN_TEST_f_i): Likewise.
15376 (RUN_TEST_f_i_tg): Likewise.
15377 (RUN_TEST_ff_i_tg): Likewise.
15378 (RUN_TEST_f_b): Likewise.
15379 (RUN_TEST_f_b_tg): Likewise.
15380 (RUN_TEST_f_l): Likewise.
15381 (RUN_TEST_f_L): Likewise.
15382 (RUN_TEST_fFF_11): Likewise.
15383 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15385 (cosh_test_data): Likewise.
15386 (exp_test_data): Likewise.
15387 (expm1_test_data): Likewise.
15388 (hypot_test_data): Likewise.
15389 (pow_test_data): Likewise.
15390 (sinh_test_data): Likewise.
15391 (tanh_test_data): Likewise.
15392 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15395 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15396 tests with quiet NaN input and output.
15397 (acosh_test_data): Likewise.
15398 (asin_test_data): Likewise.
15399 (asinh_test_data): Likewise.
15400 (atan_test_data): Likewise.
15401 (atanh_test_data): Likewise.
15402 (atan2_test_data): Likewise.
15403 (cbrt_test_data): Likewise.
15404 (cos_test_data): Likewise.
15405 (cosh_test_data): Likewise.
15406 (erf_test_data): Likewise.
15407 (erfc_test_data): Likewise.
15408 (exp_test_data): Likewise.
15409 (exp10_test_data): Likewise.
15410 (exp2_test_data): Likewise.
15411 (expm1_test_data): Likewise.
15412 (hypot_test_data): Likewise.
15413 (j0_test_data): Likewise.
15414 (j1_test_data): Likewise.
15415 (jn_test_data): Likewise.
15416 (lgamma_test_data): Likewise.
15417 (log_test_data): Likewise.
15418 (log10_test_data): Likewise.
15419 (log1p_test_data): Likewise.
15420 (log2_test_data): Likewise.
15421 (pow_test_data): Likewise.
15422 (scalb_test_data): Likewise.
15423 (sin_test_data): Likewise.
15424 (sincos_test_data): Likewise.
15425 (sinh_test_data): Likewise.
15426 (tan_test_data): Likewise.
15427 (tanh_test_data): Likewise.
15428 (tgamma_test_data): Likewise.
15429 (y0_test_data): Likewise.
15430 (y1_test_data): Likewise.
15431 (yn_test_data): Likewise.
15434 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15435 argument being NaN and avoid computations with second argument in
15437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15439 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15441 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15443 * locale/iso-639.def: Add Chitwani Tharu (the).
15445 2013-11-14 Andreas Schwab <schwab@suse.de>
15447 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15448 word instead of empty string.
15450 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15453 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15455 (__fe_nomask_env): Likewise.
15457 2013-11-13 Steve Ellcey <sellcey@mips.com>
15459 * benchtests/bench-timing.h: Include time.h.
15461 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15464 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15466 * sysdeps/unix/sysv/linux/configure: Regenerated.
15468 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15471 * stdlib/strtod_l.c (round_and_return): Do not consider
15472 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15473 exponent one less than half the least subnormal exponent.
15474 * stdlib/test-strtod-round-data: Add more tests.
15475 * stdlib/tst-strtod-round.c (tests): Regenerated.
15477 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15480 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15481 (__fe_mask_env): Likewise.
15482 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15483 libm_hidden_proto and add function prototype.
15484 (__fe_mask_env): Add function prototype.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15486 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15488 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15490 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15492 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15494 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15495 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15497 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15499 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15500 of htab_find_slot().
15502 2013-11-11 David S. Miller <davem@davemloft.net>
15505 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15506 symbol in the non-vis3 case in static builds.
15507 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15508 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15509 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15510 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15512 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15515 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15518 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15520 * benchtests/Makefile: Add bench-strtod.
15521 * benchtests/bench-strtod.c: New file: strtod benchtest
15523 2013-11-11 Andreas Schwab <schwab@suse.de>
15526 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15527 terminating NUL in key length.
15529 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15532 Add artificial ODP entry for vDSO symbol for PPC64.
15533 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15534 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15536 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15539 * nss/getent.c (services_keys): Recognize services starting with digit.
15541 2013-11-06 David S. Miller <davem@davemloft.net>
15544 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15545 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15547 2013-11-06 Will Newton <will.newton@linaro.org>
15549 * manual/memory.texi (Malloc Examples): Remove register
15550 keyword from examples.
15552 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15554 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15556 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15559 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15560 depending on [__GCC_IEC_559 > 0].
15561 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15562 depending on [__GCC_IEC_559_COMPLEX > 0].
15564 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15566 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15569 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15571 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15573 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15576 * malloc/malloc (malloc_info): Do not handle first bin as
15579 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15581 * locale/iso-639.def: Add Central Nahuatl (nhn).
15583 2013-11-01 Bruno Haible <bruno@clisp.org>
15586 * manual/math.texi (BSD Random): Specify range upper bound as
15589 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15591 * locale/iso-639.def: Add Meadow Mari (mhr).
15593 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15595 [BZ #14752], [BZ #15763]
15596 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15598 * rt/tst_shm.c: Add test for escaping directory.
15600 2013-10-31 Andreas Schwab <schwab@suse.de>
15603 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15604 followed by 'x' as part of digit sequence.
15605 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15607 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15610 * configure.ac: allow GNU Make 4.0 and greater.
15611 * configure: Regenerated.
15613 2013-10-30 Will Newton <will.newton@linaro.org>
15616 * malloc/hooks.c (memalign_check): Limit alignment to the
15617 maximum representable power of two.
15618 * malloc/malloc.c (__libc_memalign): Likewise.
15619 * malloc/tst-memalign.c (do_test): Add test for very
15620 large alignment values.
15621 * malloc/tst-posix_memalign.c (do_test): Likewise.
15623 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15626 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15627 (munmap_chunk): Likewise.
15628 (mremap_chunk): Likewise.
15630 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15633 * stdlib/div.c (div): Remove obsolete code.
15634 * stdlib/ldiv.c (ldiv): Likewise.
15635 * stdlib/lldiv.c (lldiv): Likewise.
15637 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15640 * nss/nss_files/files-XXX.c (get_contents_ret): New
15642 (get_contents): New function.
15643 (internal_getent): Use it. Expand size of LINEBUFLEN.
15645 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15647 * configure.in: Moved to ...
15648 * configure.ac: ... here. Change reference to configure.in
15650 * sysdeps/arm/preconfigure.ac: ... here.
15651 configure.in to configure.ac.
15652 * sysdeps/gnu/configure.in: Moved to ...
15653 * sysdeps/gnu/configure.ac: ... here.
15654 * sysdeps/i386/configure.in: Moved to ...
15655 * sysdeps/i386/configure.ac: ... here.
15656 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15657 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15658 * sysdeps/mach/configure.in: Moved to ...
15659 * sysdeps/mach/configure.ac: ... here.
15660 * sysdeps/mach/hurd/configure.in: Moved to ...
15661 * sysdeps/mach/hurd/configure.ac: ... here.
15662 * sysdeps/powerpc/configure.in: Moved to ...
15663 * sysdeps/powerpc/configure.ac: ... here.
15664 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15665 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15666 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15667 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15668 * sysdeps/s390/s390-32/configure.in: Moved to ...
15669 * sysdeps/s390/s390-32/configure.ac: ... here.
15670 * sysdeps/s390/s390-64/configure.in: Moved to ...
15671 * sysdeps/s390/s390-64/configure.ac: ... here.
15672 * sysdeps/sh/configure.in: Moved to ...
15673 * sysdeps/sh/configure.ac: ... here.
15674 * sysdeps/sparc/configure.in: Moved to ...
15675 * sysdeps/sparc/configure.ac: ... here.
15676 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15677 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15678 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15679 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15680 * sysdeps/x86_64/configure.in: Moved to ...
15681 * sysdeps/x86_64/configure.ac: ... here.
15682 * sysdeps/x86_64/preconfigure.in: Moved to ...
15683 * sysdeps/x86_64/preconfigure.ac: ... here.
15684 * aclocal.m4: Change reference to configure.in to configure.ac.
15685 * config.h.in: Likewise.
15686 * manual/install.texi: Likewise.
15687 * manual/maint.texi: Likewise.
15688 * Makefile: Likewise.
15689 * malloc/Makefile: Likewise.
15690 * nscd/Makefile: Likewise.
15691 * Makeconfig: Change reference to configure.in and
15692 preconfigure.in to configure.ac and preconfigure.ac
15694 * INSTALL: Regenerated.
15695 * configure: Likewise.
15696 * sysdeps/gnu/configure: Likewise.
15697 * sysdeps/i386/configure: Likewise.
15698 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15699 * sysdeps/mach/configure: Likewise.
15700 * sysdeps/mach/hurd/configure: Likewise.
15701 * sysdeps/powerpc/configure: Likewise.
15702 * sysdeps/powerpc/powerpc32/configure: Likewise.
15703 * sysdeps/powerpc/powerpc64/configure: Likewise.
15704 * sysdeps/s390/s390-32/configure: Likewise.
15705 * sysdeps/s390/s390-64/configure: Likewise.
15706 * sysdeps/sh/configure: Likewise.
15707 * sysdeps/sparc/configure: Likewise.
15708 * sysdeps/unix/sysv/linux/configure: Likewise.
15709 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15710 * sysdeps/x86_64/configure: Likewise.
15711 * sysdeps/x86_64/preconfigure: Likewise.
15713 2013-10-29 Andreas Schwab <schwab@suse.de>
15715 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15717 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * benchtests/pow-inputs: Add new inputs.
15721 * benchtests/exp-inputs: Add new inputs.
15723 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15724 conditional check for return value.
15725 (__cos32): Likewise.
15727 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15729 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15730 to provide a boost for large inputs with word alignment.
15731 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15732 implementation based on optimized PPC64 strcpy.
15733 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15734 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15735 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15736 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15738 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15741 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15743 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15746 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15747 * time/tst-strptime.c (day_tests): Add testcase.
15749 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15752 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15754 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15757 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15758 MAP_FAILED on error.
15760 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15763 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15764 heap for large requests.
15766 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15769 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15770 result if the result has no associated interface.
15771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15772 interface for all 127.X.Y.Z addresses.
15774 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15776 * locale/iso-639.def: Add Ligurian (lij)
15778 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15781 * sunrpc/rpc_main.c: Document rpcgen -5.
15783 2013-10-19 Michael Stahl <mstahl@redhat.com>
15785 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15787 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15790 * posix/glob.c: Match only directories when trailing slash is present.
15791 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15792 (main): Add testcase.
15794 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15797 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15799 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15801 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15802 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15803 AUTH_DES and cindex for FIPS 140-2.
15804 (DES Encryption): Add cindex FIPS 46-3.
15806 * locale/locarchive.h (struct locarhandle): Add fname.
15807 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15808 if an optional argument was specified to --list-archive,
15810 * locale/programs/locarchive.c (show_archive_content): Take new
15811 argument fname and pass it via ah.fname to open_archive.
15812 * locale/programs/localedef.h: Update decl.
15813 (open_archive): If AH->fname is non-null, open that file
15814 rather than the default file name, and don't ignore ENOENT.
15815 (create_archive): Set AH.fname to NULL.
15816 (delete_locales_from_archive): Likewise.
15817 (add_locales_to_archive): Likewise.
15818 * locale/programs/locfile.c (write_all_categories): Likewise.
15820 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15821 Aldy Hernandez <aldyh@redhat.com>
15823 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15824 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15825 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15826 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15827 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15828 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15829 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15830 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15831 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15832 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15833 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15834 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15835 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15836 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15837 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15839 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15841 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15843 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15845 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15846 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15848 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15849 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15850 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15851 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15853 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15854 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15855 * sysdeps/powerpc/preconfigure: Likewise.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15858 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15859 Replace contents of file by #include of <fenv_libc.h>.
15860 * sysdeps/powerpc/soft-fp/sfp-machine.h
15861 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15863 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15865 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15866 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15871 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15876 Allow copysignl PLT reference to be missing.
15878 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15879 Joseph Myers <joseph@codesourcery.com
15882 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15884 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15886 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15888 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15889 * elf/tst-tls1.c: Likewise.
15890 * elf/tst-tls10.h: Likewise.
15891 * elf/tst-tls14.c: Likewise.
15892 * elf/tst-tls2.c: Likewise.
15893 * elf/tst-tls3.c: Likewise.
15894 * elf/tst-tls4.c: Likewise.
15895 * elf/tst-tls5.c: Likewise.
15896 * elf/tst-tls6.c: Likewise.
15897 * elf/tst-tls7.c: Likewise.
15898 * elf/tst-tls8.c: Likewise.
15899 * elf/tst-tls9.c: Likewise.
15900 * elf/tst-tlsmod1.c: Likewise.
15901 * elf/tst-tlsmod13.c: Likewise.
15902 * elf/tst-tlsmod13a.c: Likewise.
15903 * elf/tst-tlsmod14a.c: Likewise.
15904 * elf/tst-tlsmod16a.c: Likewise.
15905 * elf/tst-tlsmod16b.c: Likewise.
15906 * elf/tst-tlsmod2.c: Likewise.
15907 * elf/tst-tlsmod3.c: Likewise.
15908 * elf/tst-tlsmod4.c: Likewise.
15909 * elf/tst-tlsmod5.c: Likewise.
15910 * elf/tst-tlsmod6.c: Likewise.
15912 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15915 * malloc/malloc.c: remove checks for statistics.
15917 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15920 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15921 * inet/tst-network.c: Add testcase.
15923 2013-10-17 Andreas Schwab <schwab@suse.de>
15926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15927 to determine canonical name.
15929 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15931 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15932 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15955 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15956 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15990 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15993 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15994 make result into a quiet NaN.
15996 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15998 * soft-fp/adddf3.c: Fix horizontal whitespace.
15999 * soft-fp/addsf3.c: Likewise.
16000 * soft-fp/addtf3.c: Likewise.
16001 * soft-fp/divdf3.c: Likewise.
16002 * soft-fp/divsf3.c: Likewise.
16003 * soft-fp/divtf3.c: Likewise.
16004 * soft-fp/double.h: Likewise.
16005 * soft-fp/eqdf2.c: Likewise.
16006 * soft-fp/eqsf2.c: Likewise.
16007 * soft-fp/eqtf2.c: Likewise.
16008 * soft-fp/extenddftf2.c: Likewise.
16009 * soft-fp/extended.h: Likewise.
16010 * soft-fp/extendsfdf2.c: Likewise.
16011 * soft-fp/extendsftf2.c: Likewise.
16012 * soft-fp/extendxftf2.c: Likewise.
16013 * soft-fp/fixdfdi.c: Likewise.
16014 * soft-fp/fixdfsi.c: Likewise.
16015 * soft-fp/fixdfti.c: Likewise.
16016 * soft-fp/fixsfdi.c: Likewise.
16017 * soft-fp/fixsfsi.c: Likewise.
16018 * soft-fp/fixsfti.c: Likewise.
16019 * soft-fp/fixtfdi.c: Likewise.
16020 * soft-fp/fixtfsi.c: Likewise.
16021 * soft-fp/fixtfti.c: Likewise.
16022 * soft-fp/fixunsdfdi.c: Likewise.
16023 * soft-fp/fixunsdfsi.c: Likewise.
16024 * soft-fp/fixunsdfti.c: Likewise.
16025 * soft-fp/fixunssfdi.c: Likewise.
16026 * soft-fp/fixunssfsi.c: Likewise.
16027 * soft-fp/fixunssfti.c: Likewise.
16028 * soft-fp/fixunstfdi.c: Likewise.
16029 * soft-fp/fixunstfsi.c: Likewise.
16030 * soft-fp/fixunstfti.c: Likewise.
16031 * soft-fp/floatdidf.c: Likewise.
16032 * soft-fp/floatdisf.c: Likewise.
16033 * soft-fp/floatditf.c: Likewise.
16034 * soft-fp/floatsidf.c: Likewise.
16035 * soft-fp/floatsisf.c: Likewise.
16036 * soft-fp/floatsitf.c: Likewise.
16037 * soft-fp/floattidf.c: Likewise.
16038 * soft-fp/floattisf.c: Likewise.
16039 * soft-fp/floattitf.c: Likewise.
16040 * soft-fp/floatundidf.c: Likewise.
16041 * soft-fp/floatundisf.c: Likewise.
16042 * soft-fp/floatunditf.c: Likewise.
16043 * soft-fp/floatunsidf.c: Likewise.
16044 * soft-fp/floatunsisf.c: Likewise.
16045 * soft-fp/floatunsitf.c: Likewise.
16046 * soft-fp/floatuntidf.c: Likewise.
16047 * soft-fp/floatuntisf.c: Likewise.
16048 * soft-fp/floatuntitf.c: Likewise.
16049 * soft-fp/fmadf4.c: Likewise.
16050 * soft-fp/fmasf4.c: Likewise.
16051 * soft-fp/fmatf4.c: Likewise.
16052 * soft-fp/gedf2.c: Likewise.
16053 * soft-fp/gesf2.c: Likewise.
16054 * soft-fp/getf2.c: Likewise.
16055 * soft-fp/ledf2.c: Likewise.
16056 * soft-fp/lesf2.c: Likewise.
16057 * soft-fp/letf2.c: Likewise.
16058 * soft-fp/muldf3.c: Likewise.
16059 * soft-fp/mulsf3.c: Likewise.
16060 * soft-fp/multf3.c: Likewise.
16061 * soft-fp/negdf2.c: Likewise.
16062 * soft-fp/negsf2.c: Likewise.
16063 * soft-fp/negtf2.c: Likewise.
16064 * soft-fp/op-1.h: Likewise.
16065 * soft-fp/op-2.h: Likewise.
16066 * soft-fp/op-4.h: Likewise.
16067 * soft-fp/op-8.h: Likewise.
16068 * soft-fp/op-common.h: Likewise.
16069 * soft-fp/quad.h: Likewise.
16070 * soft-fp/single.h: Likewise.
16071 * soft-fp/soft-fp.h: Likewise.
16072 * soft-fp/sqrtdf2.c: Likewise.
16073 * soft-fp/sqrtsf2.c: Likewise.
16074 * soft-fp/sqrttf2.c: Likewise.
16075 * soft-fp/subdf3.c: Likewise.
16076 * soft-fp/subsf3.c: Likewise.
16077 * soft-fp/subtf3.c: Likewise.
16078 * soft-fp/truncdfsf2.c: Likewise.
16079 * soft-fp/trunctfdf2.c: Likewise.
16080 * soft-fp/trunctfsf2.c: Likewise.
16081 * soft-fp/trunctfxf2.c: Likewise.
16082 * soft-fp/unorddf2.c: Likewise.
16083 * soft-fp/unordsf2.c: Likewise.
16084 * soft-fp/unordtf2.c: Likewise.
16086 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16088 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16089 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16091 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16093 * elf/dl-libc.c: Clear initfini list after freeing.
16095 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16097 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16098 * soft-fp/addsf3.c: Likewise.
16099 * soft-fp/addtf3.c: Likewise.
16100 * soft-fp/divdf3.c: Likewise.
16101 * soft-fp/divsf3.c: Likewise.
16102 * soft-fp/divtf3.c: Likewise.
16103 * soft-fp/double.h: Likewise.
16104 * soft-fp/eqdf2.c: Likewise.
16105 * soft-fp/eqsf2.c: Likewise.
16106 * soft-fp/eqtf2.c: Likewise.
16107 * soft-fp/extenddftf2.c: Likewise.
16108 * soft-fp/extended.h: Likewise.
16109 * soft-fp/extendsfdf2.c: Likewise.
16110 * soft-fp/extendsftf2.c: Likewise.
16111 * soft-fp/extendxftf2.c: Likewise.
16112 * soft-fp/fixdfdi.c: Likewise.
16113 * soft-fp/fixdfsi.c: Likewise.
16114 * soft-fp/fixdfti.c: Likewise.
16115 * soft-fp/fixsfdi.c: Likewise.
16116 * soft-fp/fixsfsi.c: Likewise.
16117 * soft-fp/fixsfti.c: Likewise.
16118 * soft-fp/fixtfdi.c: Likewise.
16119 * soft-fp/fixtfsi.c: Likewise.
16120 * soft-fp/fixtfti.c: Likewise.
16121 * soft-fp/fixunsdfdi.c: Likewise.
16122 * soft-fp/fixunsdfsi.c: Likewise.
16123 * soft-fp/fixunsdfti.c: Likewise.
16124 * soft-fp/fixunssfdi.c: Likewise.
16125 * soft-fp/fixunssfsi.c: Likewise.
16126 * soft-fp/fixunssfti.c: Likewise.
16127 * soft-fp/fixunstfdi.c: Likewise.
16128 * soft-fp/fixunstfsi.c: Likewise.
16129 * soft-fp/fixunstfti.c: Likewise.
16130 * soft-fp/floatdidf.c: Likewise.
16131 * soft-fp/floatdisf.c: Likewise.
16132 * soft-fp/floatditf.c: Likewise.
16133 * soft-fp/floatsidf.c: Likewise.
16134 * soft-fp/floatsisf.c: Likewise.
16135 * soft-fp/floatsitf.c: Likewise.
16136 * soft-fp/floattidf.c: Likewise.
16137 * soft-fp/floattisf.c: Likewise.
16138 * soft-fp/floattitf.c: Likewise.
16139 * soft-fp/floatundidf.c: Likewise.
16140 * soft-fp/floatundisf.c: Likewise.
16141 * soft-fp/floatunsidf.c: Likewise.
16142 * soft-fp/floatunsisf.c: Likewise.
16143 * soft-fp/floatuntidf.c: Likewise.
16144 * soft-fp/floatuntisf.c: Likewise.
16145 * soft-fp/floatuntitf.c: Likewise.
16146 * soft-fp/fmadf4.c: Likewise.
16147 * soft-fp/fmasf4.c: Likewise.
16148 * soft-fp/fmatf4.c: Likewise.
16149 * soft-fp/gedf2.c: Likewise.
16150 * soft-fp/gesf2.c: Likewise.
16151 * soft-fp/getf2.c: Likewise.
16152 * soft-fp/ledf2.c: Likewise.
16153 * soft-fp/lesf2.c: Likewise.
16154 * soft-fp/letf2.c: Likewise.
16155 * soft-fp/muldf3.c: Likewise.
16156 * soft-fp/mulsf3.c: Likewise.
16157 * soft-fp/multf3.c: Likewise.
16158 * soft-fp/negdf2.c: Likewise.
16159 * soft-fp/negsf2.c: Likewise.
16160 * soft-fp/negtf2.c: Likewise.
16161 * soft-fp/op-1.h: Likewise.
16162 * soft-fp/op-2.h: Likewise.
16163 * soft-fp/op-4.h: Likewise.
16164 * soft-fp/op-8.h: Likewise.
16165 * soft-fp/op-common.h: Likewise.
16166 * soft-fp/quad.h: Likewise.
16167 * soft-fp/single.h: Likewise.
16168 * soft-fp/soft-fp.h: Likewise.
16169 * soft-fp/sqrtdf2.c: Likewise.
16170 * soft-fp/sqrtsf2.c: Likewise.
16171 * soft-fp/sqrttf2.c: Likewise.
16172 * soft-fp/subdf3.c: Likewise.
16173 * soft-fp/subsf3.c: Likewise.
16174 * soft-fp/subtf3.c: Likewise.
16175 * soft-fp/truncdfsf2.c: Likewise.
16176 * soft-fp/trunctfdf2.c: Likewise.
16177 * soft-fp/trunctfsf2.c: Likewise.
16178 * soft-fp/trunctfxf2.c: Likewise.
16179 * soft-fp/unorddf2.c: Likewise.
16180 * soft-fp/unordsf2.c: Likewise.
16181 * soft-fp/unordtf2.c: Likewise.
16183 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16186 * misc/error.c (error_tail): Fix possible buffer overflow.
16188 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16191 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16194 2013-10-14 P. J. McDermott <pj@pehjota.net>
16197 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16198 testing pipefail option.
16200 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16202 * soft-fp/double.h: Indent preprocessor directives inside #if.
16203 * soft-fp/extended.h: Likewise.
16204 * soft-fp/op-2.h: Likewise.
16205 * soft-fp/op-4.h: Likewise.
16206 * soft-fp/op-common.h: Likewise.
16207 * soft-fp/quad.h: Likewise.
16208 * soft-fp/single.h: Likewise.
16209 * soft-fp/soft-fp.h: Likewise.
16211 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16213 * iconv/iconv_prog.c: Fix typos.
16214 * stdio-common/psiginfo-data.h: Likewise.
16216 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16219 * locale/setlocale.c: Fix typo.
16221 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16224 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16225 signaling NaN arguments.
16226 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16227 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16230 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16231 unordered operands.
16232 * soft-fp/gesf2.c (__gesf2): Likewise.
16233 * soft-fp/getf2.c (__getf2): Likewise.
16234 * soft-fp/ledf2.c (__ledf2): Likewise.
16235 * soft-fp/lesf2.c (__lesf2): Likewise.
16236 * soft-fp/letf2.c (__letf2): Likewise.
16238 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16239 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16240 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16241 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16242 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16243 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16244 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16245 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16246 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16247 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16248 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16249 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16250 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16251 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16252 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16253 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16254 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16255 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16256 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16257 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16258 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16259 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16260 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16261 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16262 * soft-fp/floattidf.c (__floattidf): Likewise.
16263 * soft-fp/floattisf.c (__floattisf): Likewise.
16264 * soft-fp/floattitf.c (__floattitf): Likewise.
16265 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16266 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16267 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16268 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16269 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16270 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16271 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16272 * soft-fp/gesf2.c (__gesf2): Likewise.
16273 * soft-fp/getf2.c (__getf2): Likewise.
16274 * soft-fp/ledf2.c (__ledf2): Likewise.
16275 * soft-fp/lesf2.c (__lesf2): Likewise.
16276 * soft-fp/letf2.c (__letf2): Likewise.
16278 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16279 Undefine and redefine.
16280 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16281 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16282 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16283 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16284 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16285 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16286 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16287 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16288 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16289 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16290 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16291 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16292 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16293 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16294 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16297 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16298 without decrementing exponent if mantissa >= that for the
16299 denominator, not >.
16300 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16301 denominator, not >. Decrement exponent in < case instead of
16302 incrementing in >= case.
16303 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16304 without decrementing exponent if mantissa >= that for the
16305 denominator, not >.
16307 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16308 computing saturated result for unsigned overflow.
16310 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16311 Jeff Law <law@redhat.com>
16313 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16314 (atan2Mp): Add systemtap probe marker.
16315 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16316 (__ieee754_log): Add systemtap probe marker.
16317 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16318 (atanMp): Add systemtap probe marker.
16319 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16320 (tanMp): Add systemtap probe marker.
16321 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16322 (__slowexp): Add systemtap probe marker.
16323 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16324 (__slowpow): Add systemtap probe marker.
16325 * manual/probes.texi: Document probes.
16327 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16330 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16332 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16334 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16335 written to buffer but not flushed.
16336 * libio/iofwrite_u.c: Likewise.
16337 * libio/iopadn.c: Return bytes returned even if EOF was
16339 * libio/iowpadn.c: Likewise.
16340 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16341 if _IO_padn does not write the whole buffer.
16342 [!COMPILE_WPRINTF] (PAD): Likewise.
16344 2013-10-10 David S. Miller <davem@davemloft.net>
16346 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16349 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16351 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16352 instead of FSF address.
16353 * soft-fp/fixdfti.c: Likewise.
16354 * soft-fp/fixsfti.c: Likewise.
16355 * soft-fp/fixtfti.c: Likewise.
16356 * soft-fp/fixunsdfti.c: Likewise.
16357 * soft-fp/fixunssfti.c: Likewise.
16358 * soft-fp/fixunstfti.c: Likewise.
16359 * soft-fp/floattidf.c: Likewise.
16360 * soft-fp/floattisf.c: Likewise.
16361 * soft-fp/floattitf.c: Likewise.
16362 * soft-fp/floatuntidf.c: Likewise.
16363 * soft-fp/floatuntisf.c: Likewise.
16364 * soft-fp/floatuntitf.c: Likewise.
16365 * soft-fp/trunctfxf2.c: Likewise.
16367 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16368 * soft-fp/fixdfti.c: Likewise.
16369 * soft-fp/fixsfti.c: Likewise.
16370 * soft-fp/fixtfti.c: Likewise.
16371 * soft-fp/fixunsdfti.c: Likewise.
16372 * soft-fp/fixunssfti.c: Likewise.
16373 * soft-fp/fixunstfti.c: Likewise.
16374 * soft-fp/floattidf.c: Likewise.
16375 * soft-fp/floattisf.c: Likewise.
16376 * soft-fp/floattitf.c: Likewise.
16377 * soft-fp/floatuntidf.c: Likewise.
16378 * soft-fp/floatuntisf.c: Likewise.
16379 * soft-fp/floatuntitf.c: Likewise.
16380 * soft-fp/trunctfxf2.c: Likewise.
16382 2013-10-10 David S. Miller <davem@davemloft.net>
16384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16386 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16388 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16389 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16390 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16397 for NaNs before doing comparisons on argument.
16398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16401 2013-10-10 Will Newton <will.newton@linaro.org>
16403 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16404 passed to _int_memalign does not overflow.
16406 2013-10-10 Torvald Riegel <triegel@redhat.com>
16408 * scripts/bench.pl: Add include-sources directive.
16409 * benchtests/README: Update documentation.
16411 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16413 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16414 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16415 instead of FP_INIT_ROUNDMODE.
16416 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16417 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16420 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16421 copy class of input value.
16422 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16423 not handle exceptions.
16424 * soft-fp/negsf2.c (__negsf2): Likewise.
16425 * soft-fp/negtf2.c (__negtf2): Likewise.
16426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16428 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16430 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16431 semicolon. From Linux kernel.
16433 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16435 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16437 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16440 * manual/socket.texi: Added statement about buffer
16441 for gethostbyname2_r.
16443 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16445 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16446 Use .p2align directive instead, throughout.
16447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16448 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16449 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16452 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16453 * sysdeps/x86_64/strchr.S: Likewise.
16454 * sysdeps/x86_64/strrchr.S: Likewise.
16456 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16458 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16460 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16462 * sysdeps/generic/math_private.h (__mpsin1): Remove
16464 (__mpcos1): Likewise.
16465 (__mpsin): New argument __range_reduce.
16466 (__mpcos): Likewise.
16467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16468 (slow): Use __mpsin and __mpcos.
16472 (sloww1): Likewise.
16473 (sloww2): Likewise.
16474 (bsloww): Likewise.
16475 (bsloww1): Likewise.
16476 (bsloww2): Likewise.
16477 (cslow2): Likewise.
16478 (csloww): Likewise.
16479 (csloww1): Likewise.
16480 (csloww2): Likewise.
16481 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16482 range_reduce. Merge in __mpsin1.
16483 (__mpcos): Likewise.
16484 (__mpsin1): Remove.
16485 (__mpcos1): Likewise.
16487 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16489 * locale/loadlocale.c (_nl_intern_locale_data): Use
16491 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16492 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16493 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16494 obstack data is appropriately aligned.
16495 (obstack_int32_grow_fast): Likewise.
16496 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16497 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16498 (add_locale_uint32_array): Likewise.
16500 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16502 * benchtests/Makefile: Remove ARGLIST and RET variables.
16503 ($(objpfx)bench-%.c): Pass only function name to the script.
16504 * benchtests/README: Update documentation.
16505 * benchtests/acos-inputs: Add new directives.
16506 * benchtests/acosh-inputs: Likewise.
16507 * benchtests/asin-inputs: Likewise.
16508 * benchtests/asinh-inputs: Likewise.
16509 * benchtests/atan-inputs: Likewise.
16510 * benchtests/atanh-inputs: Likewise.
16511 * benchtests/cos-inputs: Likewise.
16512 * benchtests/cosh-inputs: Likewise.
16513 * benchtests/exp-inputs: Likewise.
16514 * benchtests/log-inputs: Likewise.
16515 * benchtests/pow-inputs: Likewise.
16516 * benchtests/rint-inputs: Likewise.
16517 * benchtests/sin-inputs: Likewise.
16518 * benchtests/sinh-inputs: Likewise.
16519 * benchtests/tan-inputs: Likewise.
16520 * benchtests/tanh-inputs: Likewise.
16521 * scripts/bench.pl: Add support for new directives.
16523 2013-10-07 Alan Modra <amodra@gmail.com>
16525 * README: Fix careless merge.
16527 2013-10-05 Alan Modra <amodra@gmail.com>
16529 * NEWS: Mention powerpc64le support and bugs fixed.
16530 * README: Both big-endian and little-endian powerpc64 supported.
16532 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16534 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16535 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16536 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16537 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16539 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16541 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16544 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16546 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16547 Move -mhard-float appending from
16548 ports/sysdeps/powerpc/powerpc32/Makefile.
16549 [$(with-fp) = yes] (ASFLAGS): Likewise.
16550 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16551 * sysdeps/powerpc/nofpu: Move directory from
16552 ports/sysdeps/powerpc/nofpu.
16553 * sysdeps/powerpc/soft-fp: Move directory from
16554 ports/sysdeps/powerpc/soft-fp.
16555 * sysdeps/powerpc/powerpc32/405: Move directory from
16556 ports/sysdeps/powerpc/powerpc32/405.
16557 * sysdeps/powerpc/powerpc32/440: Move directory from
16558 ports/sysdeps/powerpc/powerpc32/440.
16559 * sysdeps/powerpc/powerpc32/464: Move directory from
16560 ports/sysdeps/powerpc/powerpc32/464.
16561 * sysdeps/powerpc/powerpc32/476: Move directory from
16562 ports/sysdeps/powerpc/powerpc32/476.
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16564 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16566 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16568 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16570 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16573 * README: Update for powerpc-*-linux-gnu software floating point
16576 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16577 case to powerpc/powerpc32*.
16578 * sysdeps/unix/sysv/linux/configure: Regenerated.
16580 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16581 (_FPU_MASK_OM): Define as 0x04.
16582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16590 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16593 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16596 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16597 and setcontext_e500.
16599 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16601 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16603 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16605 * manual/threads.texi (Default Thread Attributes): Fix typo.
16607 2013-10-04 Will Newton <will.newton@linaro.org>
16609 * malloc/Makefile: Add tst-memalign.
16610 * malloc/tst-memalign.c: New file.
16612 * malloc/tst-posix_memalign.c: Add comments.
16613 (do_test): Add comments and call free on all potentially
16614 allocated pointers. Add space after cast.
16616 * malloc/tst-pvalloc.c: Add comments.
16617 (do_test): Add comments and call free on all potentially
16618 allocated pointers. Remove duplicate check for NULL pointer.
16619 Add space after cast.
16621 * malloc/tst-valloc.c: Add comments.
16622 (do_test): Add comments and call free on all potentially
16623 allocated pointers. Remove duplicate check for NULL pointer.
16624 Add space after cast.
16626 2013-10-04 Alan Modra <amodra@gmail.com>
16628 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16629 Use stdint types in rather than __attribute__((mode())).
16630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16632 2013-10-04 Alan Modra <amodra@gmail.com>
16634 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16635 Correct handling of unaligned relocs for little-endian.
16636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16638 2013-10-04 Alan Modra <amodra@gmail.com>
16640 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16641 * configure: Regenerate.
16642 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16643 * shlib-versions: Likewise.
16645 2013-10-04 Alan Modra <amodra@gmail.com>
16647 * string/tester.c (test_memrchr): Increment reported test cycle.
16649 2013-10-04 Alan Modra <amodra@gmail.com>
16651 * string/test-memcpy.c (do_one_test): When reporting errors, print
16652 string address and don't overrun end of string.
16654 2013-10-04 Alan Modra <amodra@gmail.com>
16656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16657 insrdi. Make better use of reg selection to speed exit slightly.
16658 Schedule entry path a little better. Remove useless "are we done"
16659 checks on entry to main loop. Handle wrapping around zero address.
16660 Correct main loop count. Handle single left-over word from main
16661 loop inline rather than by using loop_small. Remove extra word
16662 case in loop_small caused by wrong loop count. Add little-endian
16664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16665 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16669 support. Avoid rlwimi.
16670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16672 2013-10-04 Alan Modra <amodra@gmail.com>
16674 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16675 insrdi. Formatting.
16676 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16677 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16679 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16680 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16681 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16683 2013-10-04 Alan Modra <amodra@gmail.com>
16685 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16686 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16688 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16689 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16690 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16692 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16693 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16694 use of regs. Use power7 mtocrf. Tidy function tails.
16696 2013-10-04 Alan Modra <amodra@gmail.com>
16698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16699 Formatting. Consistently use rXXX register defines or rN defines.
16700 Use early exit labels that avoid restoring unused non-volatile regs.
16701 Make cr field use more consistent with rWORDn compares. Rename
16702 regs used as shift registers for unaligned loop, using rN defines
16703 for short lifetime/multiple use regs.
16704 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16706 addi 1,1,64 to pop stack frame. Simplify return value code.
16707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16709 2013-10-04 Alan Modra <amodra@gmail.com>
16711 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16712 support. Correct typos, formatting. Optimize tail. Use insrdi
16713 rather than rlwimi.
16714 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16715 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16716 little-endian support. Correct typos.
16717 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16718 rather than rlwimi.
16719 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16720 in loop and entry code to keep "and." results.
16721 (strchr): Add little-endian support. Comment. Move cntlzd
16723 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16725 2013-10-04 Alan Modra <amodra@gmail.com>
16727 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16728 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16729 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16730 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16732 2013-10-04 Alan Modra <amodra@gmail.com>
16734 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16735 (rTMP): Define as r11.
16736 (strcmp): Add little-endian support. Optimise tail.
16737 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16739 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16745 2013-10-04 Alan Modra <amodra@gmail.com>
16747 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16748 little-endian support. Remove unnecessary "are we done" tests.
16749 Handle "s" wrapping around zero and extremely large "size".
16750 Correct main loop count. Handle single left-over word from main
16751 loop inline rather than by using small_loop. Correct comments.
16752 Delete "zero" tail, use "end_max" instead.
16753 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16755 2013-10-04 Alan Modra <amodra@gmail.com>
16757 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16758 support. Don't branch over align.
16759 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16760 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16761 support. Rearrange tmp reg use to suit. Comment.
16762 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16764 2013-10-04 Alan Modra <amodra@gmail.com>
16766 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16768 2013-10-04 Alan Modra <amodra@gmail.com>
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16771 conditional form of branch and link when obtaining pc.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16774 2013-10-04 Alan Modra <amodra@gmail.com>
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16781 2013-10-04 Alan Modra <amodra@gmail.com>
16783 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16784 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16785 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16786 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16787 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16788 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16789 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16790 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16791 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16792 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16794 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16795 Alistair Popple <alistair@ozlabs.au.ibm.com>
16796 Alan Modra <amodra@gmail.com>
16799 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16800 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16801 _dl_hwcap access for little-endian.
16802 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16803 destroy vmx regs when saving unaligned.
16804 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16805 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16806 destroy vmx regs when saving unaligned.
16808 2013-10-04 Alan Modra <amodra@gmail.com>
16810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16811 Don't use a union to pack hi/low value.
16813 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16815 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16817 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16819 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16820 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16823 2013-10-04 Alan Modra <amodra@gmail.com>
16825 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16826 constants to usual value for .cst8 section, and remove redundant
16828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16829 constant for 0x1p52. Load little-endian words of double from
16830 correct stack offsets.
16832 2013-10-04 Alan Modra <amodra@gmail.com>
16834 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16835 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16836 words of double from correct stack offsets.
16837 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16838 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16839 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16844 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16845 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16846 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16847 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16849 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16850 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16851 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16855 2013-10-04 Alan Modra <amodra@gmail.com>
16857 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16858 64-bit int/double union.
16859 (_FPU_SETCW): Likewise.
16860 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16861 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16863 2013-10-04 Alan Modra <amodra@gmail.com>
16865 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16866 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16868 2013-10-04 Alan Modra <amodra@gmail.com>
16870 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16871 use vector int constants.
16872 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16874 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16876 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16877 array with long long.
16878 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16879 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16880 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16881 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16882 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16883 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16884 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16885 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16886 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16887 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16888 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16889 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16890 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16892 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16894 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16895 (__signbit): Likewise. Correct for little-endian.
16896 (__signbitl): Call __signbit.
16897 (lrint): Correct for little-endian.
16898 (lrintf): Call lrint.
16900 2013-10-04 Alan Modra <amodra@gmail.com>
16902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16903 union 32-bit int array member with 64-bit int array.
16904 (t515, tm256): Double rather than long double.
16905 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16907 2013-10-04 Alan Modra <amodra@gmail.com>
16909 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16911 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16913 version of math_ldbl.h.
16915 2013-10-04 Alan Modra <amodra@gmail.com>
16917 [BZ #15734], [BZ #15735]
16918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16919 all uses of ieee875 long double macros and unions. Simplify test
16920 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16921 ldbl_extract_mantissa value for ix,iy exponents. Properly
16922 normalize after ldbl_extract_mantissa, and don't add hidden bit
16923 already handled. Don't treat low word of ieee854 mantissa like
16924 low word of IBM long double and mask off bit when testing for
16926 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16927 all uses of ieee875 long double macros and unions. Simplify tests
16928 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16929 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16930 two1022, instead use their values. Recognise that tests for large
16931 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16932 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16933 Rewrite all uses of ieee875 long double macros and unions. Simplify
16934 test for 0.0L and nan. Correct negation.
16935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16936 ieee875 long double macros and unions. Correct output for large
16937 magnitude x. Correct absolute value calculation.
16938 (__erfcl): Likewise.
16939 * math/libm-test.inc: Add tests for errors discovered in IBM long
16940 double versions of fmodl, remainderl, erfl and erfcl.
16942 2013-10-04 Alan Modra <amodra@gmail.com>
16944 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16945 all uses of ieee854 long double macros and unions. Simplify tests
16946 for long doubles that are fully specified by the high double.
16947 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16949 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16950 Remove dead code too.
16951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16952 (__ieee754_ynl): Likewise.
16953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16954 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16956 Remove dead code too.
16957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16959 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16960 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16962 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16964 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16965 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16967 Comment on variable precision.
16968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16971 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16972 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16973 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16977 2013-10-04 Alan Modra <amodra@gmail.com>
16979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16981 all uses of ieee854 long double macros and unions.
16982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16995 Simplify sign and nan test too.
16996 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16998 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17001 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17005 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17011 2013-10-04 Alan Modra <amodra@gmail.com>
17013 * stdio-common/printf_size.c (__printf_size): Don't use
17014 union ieee854_long_double in fpnum union.
17015 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17016 signbit macro to retrieve sign from long double.
17017 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17018 retrieve sign from long double.
17019 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17020 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17022 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17023 * math/test-misc.c (main): Don't use union ieee854_long_double.
17025 2013-10-04 Alan Modra <amodra@gmail.com>
17028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17029 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17030 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17031 calculation. Remove unnecessary test for denormal exponent.
17032 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17033 Correct handling of denormals. Avoid undefined shift behaviour.
17034 Correct normalisation of low mantissa when low double is denormal.
17035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17036 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17037 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17038 Correct normalisation of low mantissa. Test for overflow of high
17039 mantissa and normalise.
17040 (ldbl_nearbyint): Use more readable constant for two52.
17041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17042 (__mpn_construct_long_double): Fix test for overflow of high
17043 mantissa and correct normalisation. Avoid undefined shift.
17045 2013-10-04 Alan Modra <amodra@gmail.com>
17047 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17048 (union ibm_extended_long_double): Define as an array of ieee754_double.
17049 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17050 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17051 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17052 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17061 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17063 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17064 page size instead of calling getpagesize.
17066 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17067 (LOCFILE_ALIGN_MASK): Likewise.
17068 (LOCFILE_ALIGN_UP): Likewise.
17069 (LOCFILE_ALIGNED_P): Likewise.
17070 * locale/programs/ld-collate.c (collate_output): Use the new
17071 macros instead of __alignof__ (int32_t).
17072 * locale/weight.h (findidx): Likewise.
17074 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17077 * manual/string.texi: Fix strncat and wcsncat.
17079 2013-10-03 Brooks Moses <bmoses@google.com>
17082 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17083 * Makerules: ...here, and adjust associated comments.
17085 2013-10-02 Will Newton <will.newton@linaro.org>
17087 * malloc/Makefile: Add tst-pvalloc.
17088 * malloc/tst-pvalloc.c: New file.
17090 2013-10-02 Will Newton <will.newton@linaro.org>
17092 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17093 improve test coverage.
17095 2013-10-02 Will Newton <will.newton@linaro.org>
17097 * malloc/Makefile: Add tst-posix_memalign.
17098 * malloc/tst-posix_memalign.c: New file.
17100 2013-10-01 Eric Blake <eblake@redhat.com>
17102 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17103 Use __THROWNL rather than __THROW on static functions.
17105 2013-09-30 Petr Machata <pmachata@redhat.com>
17107 * elf/elf.h (R_AARCH64_ABS16): New macro.
17108 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17109 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17110 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17111 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17112 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17113 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17114 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17115 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17116 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17117 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17118 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17119 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17120 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17121 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17122 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17123 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17124 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17125 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17126 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17127 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17128 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17129 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17130 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17131 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17132 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17133 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17134 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17135 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17136 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17137 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17138 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17139 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17140 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17141 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17142 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17143 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17144 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17145 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17146 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17147 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17148 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17149 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17150 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17151 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17152 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17153 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17154 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17155 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17156 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17157 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17158 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17159 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17160 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17161 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17162 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17163 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17164 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17165 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17166 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17167 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17168 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17169 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17170 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17171 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17172 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17173 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17174 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17175 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17176 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17177 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17178 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17179 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17180 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17181 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17182 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17183 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17184 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17185 (R_AARCH64_TLSDESC_LDR): Likewise.
17186 (R_AARCH64_TLSDESC_ADD): Likewise.
17187 (R_AARCH64_TLSDESC_CALL): Likewise.
17189 2013-09-30 Andreas Schwab <schwab@suse.de>
17192 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17193 the nss database lookup.
17194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17197 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17199 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17201 2013-09-28 P. J. McDermott <pj@pehjota.net>
17203 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17204 ${Bash-specific parameter/pattern/string} parameter expansion.
17205 * sysdeps/unix/make-syscalls.sh: Likewise.
17207 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17209 * sysdeps/sh/stackguard-macros.h: New file.
17211 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17215 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17216 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17217 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17218 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17220 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17222 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17223 Fix thread ID register.
17225 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17227 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17228 [POSIX || UNIX98]: Require rather than permitting all symbols from
17230 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17231 element of struct sched_param.
17232 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17233 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17234 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17235 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17238 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17240 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17241 argument calculation.
17243 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17245 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17247 [POSIX] (pthread_attr_t): Do not require type.
17248 [POSIX] (pthread_cond_t): Likewise.
17249 [POSIX] (pthread_condattr_t): Likewise.
17250 [POSIX] (pthread_key_t): Likewise.
17251 [POSIX] (pthread_mutex_t): Likewise.
17252 [POSIX] (pthread_mutexattr_t): Likewise.
17253 [POSIX] (pthread_once_t): Likewise.
17254 [POSIX] (pthread_t): Likewise.
17255 [POSIX-based standards] (pthread_atfork): Expect function.
17257 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17258 Richard Sandiford <richard@codesourcery.com>
17260 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17261 (swap_endianness_p): New extern variable.
17262 (set_big_endian): New inline function.
17263 (maybe_swap_uint32): Likewise.
17264 (maybe_swap_uint32_array): Likewise.
17265 (maybe_swap_uint32_obstack): Likewise.
17266 * locale/programs/locfile.c: Include <stdbool.h>.
17267 (swap_endianness_p): New variable.
17268 (add_locale_uint32): Call maybe_swap_uint32.
17269 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17270 (write_locale_data): Call maybe_swap_uint32_array.
17271 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17273 (obstack_int32_grow_fast): Likewise.
17274 (output_weightwc): Call maybe_swap_uint32_obstack.
17275 (collate_output): Likewise.
17276 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17277 (OPT_LITTLE_ENDIAN): Likewise.
17278 (options): Add --little-endian and --big-endian options.
17279 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17280 * locale/programs/locarchive.c: Include "locfile.h".
17284 (create_archive): Use the new macros to access fields of
17285 structures directly mapped from or written to locale archives.
17286 (oldlocrecentcmp): Likewise.
17287 (enlarge_archive): Likewise.
17288 (insert_name): Likewise.
17289 (add_alias): Likewise.
17290 (add_locale): Likewise.
17291 (delete_locales_from_archive): Likewise.
17292 (show_archive_content): Likewise.
17293 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17296 2013-09-24 Roland McGrath <roland@hack.frob.com>
17298 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17299 http://www.gnu.org/doc/freemanuals.texi.
17300 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17302 2013-09-24 Will Newton <will.newton@linaro.org>
17304 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17307 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17309 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17312 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17314 * manual/threads.texi (POSIX Threads): Fix a typo.
17316 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17319 * string/tst-strcoll-overflow.c: New test case.
17320 * string/Makefile (xtests): Add tst-strcoll-overflow.
17321 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17322 cache if string sizes may cause integer overflow.
17325 * string/strcoll_l.c (coll_seq): New members rule, idx,
17326 save_idx and back_us.
17327 (get_next_seq_nocache): New function.
17328 (do_compare_nocache): New function.
17329 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17332 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17335 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17336 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17337 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17340 * elf/Makefile (tests): Add tst-ptrguard1.
17341 (tests-static): Add tst-ptrguard1-static.
17342 (tst-ptrguard1-ARGS): Define.
17343 (tst-ptrguard1-static-ARGS): Define.
17344 * elf/tst-ptrguard1.c: New file.
17345 * elf/tst-ptrguard1-static.c: New file.
17346 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17347 * sysdeps/i386/stackguard-macros.h: Likewise.
17348 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17349 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17350 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17351 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17352 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17353 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17355 2013-09-23 Hector Marco <hecmargi@upv.es>
17356 Ismael Ripoll <iripoll@disca.upv.es>
17357 Carlos O'Donell <carlos@redhat.com>
17360 * sysdeps/generic/stackguard-macros.h: Define
17361 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17362 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17363 Define __pointer_chk_guard_local.
17364 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17365 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17367 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17370 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17372 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17374 * include/string.h (__ffs): Declare as hidden.
17375 * string/ffs.c (__ffs): Define as hidden.
17376 * sysdeps/i386/ffs.c (__ffs): Likewise.
17377 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17378 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17379 * sysdeps/s390/ffs.c (__ffs): Likewise.
17380 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17382 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17384 * NEWS: Mention malloc probes.
17386 * malloc/arena.c (new_heap): New memory_heap_new probe.
17387 (grow_heap): New memory_heap_more probe.
17388 (shrink_heap): New memory_heap_less probe.
17389 (heap_trim): New memory_heap_free probe.
17390 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17391 (systrim): New memory_sbrk_less probe.
17392 * manual/probes.texi: Document them.
17394 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17395 * manual/probes.texi: Document it.
17397 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17398 (__libc_realloc): Add memory_realloc_retry probe.
17399 (__libc_memalign): Add memory_memalign_retry probe.
17400 (__libc_valloc): Add memory_valloc_retry probe.
17401 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17402 (__libc_calloc): Add memory_calloc_retry probe.
17403 * manual/probes.texi: Document them.
17405 * malloc/arena.c (get_free_list): Add probe
17406 memory_arena_reuse_free_list.
17407 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17408 and memory_arena_reuse.
17409 (arena_get2) [!PER_THREAD]: Likewise.
17410 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17411 memory_arena_reuse_realloc.
17412 * manual/probes.texi: Document them.
17414 * malloc/malloc.c (__libc_free): Add
17415 memory_mallopt_free_dyn_thresholds probe.
17416 (__libc_mallopt): Add multiple memory_mallopt probes.
17417 * manual/probes.texi: Document them.
17419 * malloc/malloc.c: Include stap-probe.h.
17420 (__libc_mallopt): Add memory_mallopt probe.
17421 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17422 * manual/probes.texi: New.
17423 * manual/Makefile (chapters): Add probes.
17424 * manual/threads.texi: Set next node.
17426 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17428 [BZ #15963, #13985]
17429 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17430 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17431 Add `Chinese' to `nan' entry name.
17433 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17435 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17436 (POLYNOMIAL): Likewise.
17437 (TAYLOR_SINCOS): Likewise.
17438 (TAYLOR_SLOW): Likewise.
17439 (__sin): Use TAYLOR_SINCOS.
17441 (slow): Use TAYLOR_SLOW.
17443 (bsloww): Likewise.
17444 (csloww): Likewise.
17446 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17448 * stdlib/strtod_l.c: Fix buffer overrun.
17450 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17452 * benchtests/Makefile (bench): Add sincos.
17453 * benchtests/bench-sincos.c: New file.
17455 * math/libm-test.inc (cos_test_data): New test inputs.
17456 (sin_test_data): Likewise.
17458 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17464 (sloww1): Likewise.
17465 (sloww2): Likewise.
17466 (bsloww1): Likewise.
17467 (bsloww2): Likewise.
17468 (cslow2): Likewise.
17469 (csloww1): Likewise.
17470 (csloww2): Likewise.
17472 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17481 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17483 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17484 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17485 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17486 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17487 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17488 * elf/cache.c (print_entry): Handle the new cache flags.
17490 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17491 Aldy Hernandez <aldyh@redhat.com>
17493 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17494 Change condition to [_SOFT_FLOAT].
17495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17507 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17510 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17513 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17515 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17516 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17517 (__longjmp): Use LOAD_GP to load saved GPRs.
17518 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17519 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17520 (__sigsetjmp): Use SAVE_GP to save GPRs.
17522 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17523 Do not append -msoft-float.
17524 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17526 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17528 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17530 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17533 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17534 (_FPU_GETCW): Use initial "__" on variable and field names but not
17535 on macro parameter name.
17536 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17537 parentheses around reference to macro parameter.
17539 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17541 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17543 (ctype_startup): Use uint32_t in cast and sizeof for
17546 2013-09-11 Jia Liu <proljc@gmail.com>
17548 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17550 [__FreeBSD__]: Likewise.
17552 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17555 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17556 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17557 (strchr): Remove __strchr_sse42 ifunc selection.
17558 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17559 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17561 2013-09-11 Will Newton <will.newton@linaro.org>
17563 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17564 parameter to RES. Remove hardcoded 1000 value.
17565 * benchtests/bench-skeleton.c (main): Pass RES parameter
17566 to TIMING_INIT and multiply result by 1000.
17568 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17572 2013-09-11 Andreas Schwab <schwab@suse.de>
17574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17576 (O_TMPFILE) [__USE_GNU]: Define.
17577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17580 2013-09-11 Will Newton <will.newton@linaro.org>
17583 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17586 2013-09-11 Will Newton <will.newton@linaro.org>
17589 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17592 2013-09-11 Will Newton <will.newton@linaro.org>
17595 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17598 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17600 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17601 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17606 2013-09-10 Allan McRae <allan@archlinux.org>
17609 * manual/arith.texi (Parsing of Floats): Clarify
17613 * manual/install.texi (Running make install): Mention
17615 * INSTALL: Regenerated.
17617 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17619 * csu/init-first.c (_init): Remove the !SHARED condition around
17620 FPU control word initialization.
17621 * elf/dl-support.c (_dl_fpu_control): New variable.
17622 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17623 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17624 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17625 * math/test-fpucw-static.c: New file.
17626 * math/test-fpucw-ieee.c: New file.
17627 * math/test-fpucw-ieee-static.c: New file.
17628 * math/Makefile (tests): Add `test-fpucw-ieee' and
17630 (tests-static): New variable.
17631 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17633 [($(build-shared),yes)]
17634 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17636 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17639 2013-09-09 Allan McRae <allan@archlinux.org>
17642 * manual/string.texi (Collation Functions): Fix typo in
17644 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17647 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17650 * libio/memstream.c (open_memstream): Fix memory leak.
17651 * libio/wmemstream.c (open_wmemstream): Likewise.
17654 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17656 2013-09-09 Will Newton <will.newton@linaro.org>
17658 * malloc/Makefile: Add tst-realloc to tests.
17659 * malloc/tst-realloc.c: New file.
17661 2013-09-09 Allan McRae <allan@archlinux.org>
17664 * COPYING: Update from GNU website to fix FSF address.
17665 * COPYING.LIB: Likewise.
17667 2013-09-06 David S. Miller <davem@davemloft.net>
17669 * po/zh_TW.po: Update Chinese (traditional) translation from
17670 translation project.
17672 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17673 Joseph Myers <joseph@codesourcery.com>
17675 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17677 (obstack_chunk_alloc): New macro.
17678 (obstack_chunk_free): Likewise.
17679 (record_offset): New function.
17680 (init_locale_data): Likewise.
17681 (align_locale_data): Likewise.
17682 (add_locale_empty): Likewise.
17683 (add_locale_raw_data): Likewise.
17684 (add_locale_raw_obstack): Likewise.
17685 (add_locale_string): Likewise.
17686 (add_locale_wstring): Likewise.
17687 (add_locale_uint32): Likewise.
17688 (add_locale_uint32_array): Likewise.
17689 (add_locale_char): Likewise.
17690 (start_locale_structure): Likewise.
17691 (end_locale_structure): Likewise.
17692 (start_locale_prelude): Likewise.
17693 (end_locale_prelude): Likewise.
17694 (write_locale_data): Take locale_file structure rather than an
17696 * locale/programs/locfile.h: Include "obstack.h".
17697 (struct locale_file): Change to store locale file contents instead
17699 (init_locale_data): New prototype.
17700 (align_locale_data): Likewise.
17701 (add_locale_empty): Likewise.
17702 (add_locale_raw_data): Likewise.
17703 (add_locale_raw_obstack): Likewise.
17704 (add_locale_string): Likewise.
17705 (add_locale_wstring): Likewise.
17706 (add_locale_uint32): Likewise.
17707 (add_locale_uint32_array): Likewise.
17708 (add_locale_char): Likewise.
17709 (start_locale_structure): Likewise.
17710 (end_locale_structure): Likewise.
17711 (start_locale_prelude): Likewise.
17712 (end_locale_prelude): Likewise.
17713 (write_locale_data): Update prototype.
17714 * locale/programs/3level.h (struct TABLE): Remove result field.
17715 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17716 Use new locale_file interface.
17717 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17718 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17719 * locale/programs/ld-address.c (address_output): Use new
17720 locale_file interface.
17721 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17723 (collate_finish): Don't call collseq_table_finalize.
17724 (collate_output): Use new locale_file interface.
17725 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17727 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17728 (TABLE): Move defines earlier in file.
17729 (ELEMENT): Likewise.
17730 (DEFAULT): Likewise.
17731 (wctrans_table_add): Move macro and inline function earlier in
17733 (struct wctype_table): Move type earlier in file.
17734 (add_locale_wctype_table): New static prototype.
17735 (struct locale_ctype_t): Use logical types instead of struct iovec
17736 pointers for members.
17737 (ctype_output): Use new locale_file interface.
17738 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17739 new locale_file interface.
17740 (allocate_arrays): Update for use of new locale_file interface.
17741 * locale/programs/ld-identification.c (identification_output): Use
17742 new locale_file interface.
17743 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17744 * locale/programs/ld-messages.c (messages_output): Likewise.
17745 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17746 * locale/programs/ld-name.c (name_output): Likewise.
17747 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17748 * locale/programs/ld-paper.c (paper_output): Likewise.
17749 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17750 * locale/programs/ld-time.c (time_output): Likewise.
17752 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17754 * benchtests/Makefile: Add memrchr benchmark.
17755 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17756 benchmark as memrchr.
17757 * benchtests/bench-memrchr-ifunc.c: New file.
17758 * benchtests/bench-memrchr.c: New file.
17760 2013-09-06 Will Newton <will.newton@linaro.org>
17762 * benchtests/Makefile (string-bench): Add memcpy.
17764 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17765 Cong Wang <amwang@redhat.com>
17768 * sysdeps/unix/sysv/linux/bits/in.h
17769 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17770 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17771 before __USE_KERNEL_IPV6_DEFS uses.
17772 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17774 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17775 sockaddr_in6, or ipv6_mreq.
17777 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17780 memory access for final bytes in some large inputs.
17781 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17783 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17785 * string/test-memrchr.c: New file.
17786 * string/test-memrchr-ifunc.c: New file.
17787 * string/Makefile: Add new memrchr testcase.
17789 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17791 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17792 fanotify_init returns EPERM.
17794 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17796 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17798 (top level): Treat second token from macro or constant entries for
17799 allowed headers as allowed.
17800 * include/complex.h: Condition internal declarations on
17802 * include/fenv.h: Condition include of <stdbool.h> and internal
17803 declarations on [!_ISOMAC].
17805 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17808 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17810 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17812 * configure.in (--enable-versioning): Remove configure option.
17813 (libc_cv_asm_symver_directive): Remove configure test.
17814 (libc_cv_ld_version_script_option): Likewise.
17815 (VERSIONING): Remove variable and AC_SUBST.
17816 (DO_VERSIONING): Remove AC_DEFINE.
17817 * configure: Regenerated.
17818 * config.h.in (DO_VERSIONING): Remove macro.
17819 * Makerules [$(versioning) = yes]: Change conditionals to
17820 [$(build-shared) = yes].
17821 * config.make.in (versioning): Remove variable.
17822 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17823 [$(build-shared) = yes].
17824 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17825 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17826 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17827 [$(build-shared) = yes].
17828 * extra-lib.mk [$(versioning) = yes]: Likewise.
17829 * hurd/Makefile [$(versioning) = yes]: Likewise.
17830 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17832 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17834 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17835 [SHARED && !NO_HIDDEN].
17836 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17838 [SHARED && DO_VERSIONING]: Likewise..
17839 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17840 [$(build-shared) = yes].
17841 * manual/install.texi (--disable-versioning): Remove
17843 * INSTALL: Regenerated.
17844 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17846 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17847 [$(build-shared) = yes].
17848 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17849 * sysdeps/i386/i686/multiarch/strstr-c.c
17850 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17851 [SHARED && !NO_HIDDEN].
17852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17853 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17854 * sysdeps/powerpc/powerpc32/dl-machine.c
17855 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17856 * sysdeps/powerpc/powerpc32/sysdep.h
17857 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17858 to [SHARED && PIC && !NO_HIDDEN].
17859 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17860 conditional to [SHARED].
17862 2013-09-04 Will Newton <will.newton@linaro.org>
17864 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17865 * benchtests/bench-string.h: Include bench-timing.h instead
17866 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17867 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17868 call to HP_TIMING_DIFF_INIT.
17869 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17870 instead of hp-timing.h macros.
17871 * benchtests/bench-memchr.c: Likewise.
17872 * benchtests/bench-memcmp.c: Likewise.
17873 * benchtests/bench-memcpy.c: Likewise.
17874 * benchtests/bench-memmem.c: Likewise.
17875 * benchtests/bench-memmove.c: Likewise.
17876 * benchtests/bench-memset.c: Likewise.
17877 * benchtests/bench-rawmemchr.c: Likewise.
17878 * benchtests/bench-strcasecmp.c: Likewise.
17879 * benchtests/bench-strcasestr.c: Likewise.
17880 * benchtests/bench-strcat.c: Likewise.
17881 * benchtests/bench-strchr.c: Likewise.
17882 * benchtests/bench-strcmp.c: Likewise.
17883 * benchtests/bench-strcpy.c: Likewise.
17884 * benchtests/bench-strcpy_chk.c: Likewise.
17885 * benchtests/bench-strlen.c: Likewise.
17886 * benchtests/bench-strncasecmp.c: Likewise.
17887 * benchtests/bench-strncat.c: Likewise.
17888 * benchtests/bench-strncmp.c: Likewise.
17889 * benchtests/bench-strncpy.c: Likewise.
17890 * benchtests/bench-strnlen.c: Likewise.
17891 * benchtests/bench-strpbrk.c: Likewise.
17892 * benchtests/bench-strrchr.c: Likewise.
17893 * benchtests/bench-strspn.c: Likewise.
17894 * benchtests/bench-strstr.c: Likewise.
17896 2013-09-04 Will Newton <will.newton@linaro.org>
17898 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17900 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17904 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17905 * math/libm-test.inc (lgamma_test_data): Add more tests.
17906 * sysdeps/i386/fpu/libm-test-ulps: Update.
17907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17909 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17911 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17915 Add strcmp-sse2-unaligned
17916 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17918 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17920 * Versions.def (libc): Add GLIBC_2.19.
17922 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17924 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17925 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17927 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17931 intermediate calculations in recurrence.
17932 (__ieee754_ynf): Likewise.
17933 * math/libm-test.inc (jn_test_data): Do not allow spurious
17934 underflow exception. Add more tests.
17935 (yn_test_data): Add more tests.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17939 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17943 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17945 * csu/init-first.c: Fix then/than typos.
17946 * locale/programs/ld-collate.c: Likewise.
17947 * locale/programs/linereader.h: Likewise.
17948 * manual/charset.texi: Likewise.
17949 * manual/filesys.texi: Likewise.
17950 * manual/stdio.texi: Likewise.
17951 * manual/string.texi: Likewise.
17952 * stdlib/fmtmsg.c: Likewise.
17953 * sysdeps/i386/stpncpy.S: Likewise.
17954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17956 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17957 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17959 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17961 * elf/dl-open.c: Fix typos.
17962 * iconvdata/gbbig5.c: Likewise.
17963 * iconvdata/iso-2022-jp.c: Likewise.
17964 * iconv/gconv_int.h: Likewise.
17965 * iconv/loop.c: Likewise.
17966 * nis/rpcsvc/nis.h: Likewise.
17967 * resolv/ns_name.c: Likewise.
17968 * stdio-common/vfscanf.c: Likewise.
17969 * streams/stropts.h: Likewise.
17970 * sunrpc/rpc_thread.c: Likewise.
17971 * sysdeps/i386/strpbrk.S: Likewise.
17972 * sysdeps/ieee754/k_standard.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17975 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17976 * sysdeps/mach/hurd/profil.c: Likewise.
17977 * sysdeps/s390/dl-procinfo.h: Likewise.
17978 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17980 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17981 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17982 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17984 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17986 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17989 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17991 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17992 aix specific files.
17993 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17995 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18000 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18002 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18003 Roland McGrath <roland@hack.frob.com>
18005 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18006 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18008 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18010 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18011 __executable_start symbol instead of _start.
18013 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18015 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18016 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18018 * sysdeps/gnu/ldsodefs.h: ... this new file.
18020 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18021 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18022 instead of ELFOSABI_LINUX.
18024 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18025 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18026 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18027 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18029 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18030 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18033 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18034 (ibm_extended_long_double): Add ieee_nan member.
18035 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18036 (do_test): New function.
18038 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18040 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18041 functions, renamed from truncdfsf_test, trunctfsf_test,
18043 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18045 (do_test): Run all these.
18047 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18049 * argp/argp-help.c: Fix typos.
18050 * argp/argp-parse.c: Likewise.
18051 * debug/backtracesyms.c: Likewise.
18052 * elf/elf.h: Likewise.
18053 * malloc/malloc.c: Likewise.
18054 * nis/nis_print.c: Likewise.
18055 * resolv/res_comp.c: Likewise.
18056 * stdlib/stdlib.h: Likewise.
18057 * sunrpc/clnt_tcp.c: Likewise.
18058 * sunrpc/clnt_udp.c: Likewise.
18059 * sunrpc/clnt_unix.c: Likewise.
18060 * sysdeps/unix/bsd/ptsname.c: Likewise.
18061 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18069 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18071 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18073 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18076 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18079 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18080 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18081 ($(objpfx)bug-dl-leaf): New rule.
18082 ($(objpfx)bug-dl-leaf.so): Likewise.
18083 ($(objpfx)bug-dl-leaf.out): Likewise.
18084 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18085 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18086 * dlfcn/bug-dl-leaf.c: New test.
18087 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18088 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18089 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18090 (dlclose): Likewise.
18091 (dlmopen): Likewise.
18093 2013-08-27 Roland McGrath <roland@hack.frob.com>
18095 * include/netdb.h [!_ISOMAC]:
18096 Don't include <tls.h>.
18097 (h_errno, __libc_h_errno): Move declaration and macros out of
18100 * include/resolv.h [_RESOLV_H_]:
18101 Don't include <tls.h>.
18102 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18103 * resolv/res_libc.c: Don't include <tls.h>.
18104 (_res): Use __attribute__ ((nocommon)) in place of
18105 __attribute__ ((section (".bss"))).
18107 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18108 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18110 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18112 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18113 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18115 * resolv/res_mkquery.c: Include <sys/time.h>.
18117 * inet/ifreq.c: Moved to ...
18118 * sysdeps/unix/ifreq.c: ... here.
18119 * inet/ifreq.c: New file, true stub version.
18121 * socket/sa_len.c: New file.
18122 * socket/Makefile (aux): Add it.
18123 * sysdeps/unix/sysv/linux/Makefile
18124 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18125 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18126 and #include <socket/sa_len.c>.
18127 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18128 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18130 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18131 * bits/socket.h: ... here.
18133 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18134 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18135 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18137 2013-08-27 Andreas Schwab <schwab@suse.de>
18140 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18141 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18142 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18143 * string/test-strcasecmp.c (test_main): Run tests in several
18145 * string/test-strncasecmp.c (test_main): Likewise.
18147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18148 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18149 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18151 (__strncasecmp_ssse3) [PIC]: Likewise.
18153 2013-08-26 Roland McGrath <roland@hack.frob.com>
18155 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18157 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18158 instead of explicitly declaring xdecrypt.
18159 * nis/nss_nis/nis-publickey.c: Likewise.
18161 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18164 * nscd/aicache.c: Include res_hconf.h.
18165 (addhstaiX): Initialize res_hconf.
18167 2013-08-26 Andreas Schwab <schwab@suse.de>
18169 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18170 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18172 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18174 * nscd/aicache.c (addhstaiX): Fix indentation.
18176 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18178 * configure.ac: Quote $build_pt_chown test.
18179 * configure: Regenerated.
18181 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18184 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18185 * math/s_cexpf.c (__cexpf): Likewise.
18186 * math/s_cexpl.c (__cexpl): Likewise.
18187 * math/libm-test.inc (cexp_test_data): Correct expected return
18188 value for NaN + i0. Add another test.
18190 2013-08-22 David S. Miller <davem@davemloft.net>
18192 * po/ca.po: Update Catalan translation from translation project.
18193 * po/uk.po: Add Ukrainian translations from translation project.
18195 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18198 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18199 is infinite, not alongside NaN test.
18200 * math/s_fdimf.c (__fdimf): Likewise.
18201 * math/s_fdiml.c (__fdiml): Likewise.
18202 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18203 errno is unchanged.
18205 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18207 * argp/argp-help.c: Fix typos.
18208 * crypt/speeds.c: Likewise.
18209 * csu/check_fds.c: Likewise.
18210 * elf/dl-load.c: Likewise.
18211 * elf/dl-open.c: Likewise.
18212 * elf/reldep3.c: Likewise.
18213 * elf/reldep.c: Likewise.
18214 * elf/sprof.c: Likewise.
18215 * iconv/iconv_charmap.c: Likewise.
18216 * iconv/skeleton.c: Likewise.
18217 * iconv/strtab.c: Likewise.
18218 * io/lockf64.c: Likewise.
18219 * libio/libioP.h: Likewise.
18220 * resolv/gai_notify.c: Likewise.
18221 * resolv/ns_name.c: Likewise.
18222 * resolv/ns_samedomain.c: Likewise.
18223 * resolv/res_send.c: Likewise.
18224 * stdlib/random.c: Likewise.
18225 * sunrpc/rpc/xdr.h: Likewise.
18226 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18233 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18234 * sysdeps/mach/hurd/check_fds.c: Likewise.
18235 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18236 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18237 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18238 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18240 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18241 * sysdeps/pthread/aio_notify.c: Likewise.
18242 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18243 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18244 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18245 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18246 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18248 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18250 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18251 version if bit_Slow_SSE4_2 is set.
18252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18255 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18258 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18259 trampoline stack frame information.
18260 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18262 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18263 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18264 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18265 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18266 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18267 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18269 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18270 interrupting a syscall and set with option SA_SIGINFO.
18272 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18275 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18276 argument is infinite.
18277 * math/s_cprojf.c (__cprojf): Likewise.
18278 * math/s_cprojl.c (__cprojl): Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18280 * math/libm-test.inc (cproj_test_data): Add more tests.
18282 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18285 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18286 size. Use __ffs to determine corresponding shift.
18288 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18289 Roland McGrath <roland@hack.frob.com>
18291 * Makefile (INSTALL): Remove trailing blank lines from output of
18294 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18296 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18297 Align 32 bit compat elf_greg to 8 bytes.
18299 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18301 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18303 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18305 * string/strcoll_l.c (coll_seq): New structure.
18306 (get_next_seq_cached): New function.
18307 (get_next_seq): New function.
18308 (do_compare): New function.
18309 (STRCOLL): Use GNU style definition. Simplify implementation
18310 by using get_next_seq, get_next_seq_cached and do_compare.
18312 2013-08-16 Florian Weimer <fweimer@redhat.com>
18316 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18318 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18320 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18321 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18322 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18325 GETDENTS_64BIT_ALIGNED.
18326 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18327 * manual/filesys.texi (Reading/Closing Directory): Document
18328 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18330 * manual/conf.texi (Limits for Files): Add portability note to
18331 NAME_MAX, PATH_MAX.
18332 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18334 2013-08-13 Andreas Schwab <schwab@suse.de>
18337 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18339 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18340 LDBL_MAX_EXP >= 16384]: Add tests for it.
18342 2013-08-12 David S. Miller <davem@davemloft.net>
18344 * version.h (RELEASE): Set to "development".
18345 (VERSION): Set to "2.18.90".
18346 * NEWS: Add 2.19 section.
18348 2013-08-03 David S. Miller <davem@davemloft.net>
18350 * po/ko.po: Update Korean translation from translation project.
18352 2013-08-01 David S. Miller <davem@davemloft.net>
18354 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18355 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18358 2013-07-30 David S. Miller <davem@davemloft.net>
18360 * po/fr.po: Update French translation from translation project.
18362 2013-07-28 David S. Miller <davem@davemloft.net>
18364 * po/cs.po: Update Czech translation from translation project.
18366 * po/sv.po: Update Swedish translation from translation project.
18368 2013-07-27 David S. Miller <davem@davemloft.net>
18370 * po/eo.po: Update Esperanto translation from translation project.
18372 * po/vi.po: Update Vietnamese translation from translation project.
18374 * po/de.po: Update German translation from translation project.
18376 2013-07-26 David S. Miller <davem@davemloft.net>
18378 * po/bg.po: Update Bulgarian translation from translation project.
18380 * po/nl.po: Update Dutch translation from translation project.
18381 * po/pl.po: Update Polish translation from translation project.
18382 * po/ru.po: Update Russian translation from translation project.
18384 2013-07-24 David S. Miller <davem@davemloft.net>
18386 * po/libc.pot: Update.
18388 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18390 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18391 variable page size.
18392 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18393 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18394 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18396 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18398 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18400 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18401 Andreas Schwab <schwab@suse.de>
18402 Roland McGrath <roland@hack.frob.com>
18403 Joseph Myers <joseph@codesourcery.com>
18404 Carlos O'Donell <carlos@redhat.com>
18407 * config.h.in: Define HAVE_PT_CHOWN.
18408 * config.make.in (build-pt-chown): New variable.
18409 * configure.in (--enable-pt_chown): New configure option.
18410 * configure: Regenerate.
18411 * login/Makefile: Include Makeconfig. Build pt_chown only if
18412 build-pt-chown is enabled.
18413 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18414 pt_chown to fix pty ownership.
18415 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18417 * manual/install.texi (Configuring and compiling): Mention
18418 --enable-pt_chown. Add @findex for grantpt.
18419 * INSTALL: Regenerate.
18421 2013-07-20 David S. Miller <davem@davemloft.net>
18423 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18424 difference between 32-bit and 64-bit.
18426 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18429 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18430 Avoid system header dependency with -ffreestanding.
18431 ($(objpfx)bits/syscall%d): Likewise.
18433 2013-07-13 David S. Miller <davem@davemloft.net>
18435 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18436 underflows from atanl/atan2l due to bug 15319.
18437 (casinh_test_data): Likewise.
18439 2013-07-07 David S. Miller <davem@davemloft.net>
18441 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18443 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18445 * sysdeps/i386/fpu/libm-test-ulps: Update.
18446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18450 * configure.in (--enable-lock-elision): Fix message text.
18451 * INSTALL: Regenerate.
18452 * configure: Regenerate.
18454 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18458 2013-07-03 Andreas Jaeger <aj@suse.de>
18460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18462 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18463 (ptrace_peeksiginfo_args): Add.
18464 (__ptrace_peeksiginfo_flags): Add.
18465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18469 2013-07-03 Allan McRae <allan@archlinux.org>
18471 * sysdeps/i386/fpu/libm-test-ulps: Update.
18473 2013-07-02 David S. Miller <davem@davemloft.net>
18475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18477 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18481 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18483 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18486 2013-07-02 Andi Kleen <ak@linux.intel.com>
18488 * config.h.in (ENABLE_LOCK_ELISION): Add.
18489 * configure.in (--enable-lock-elision): Add option.
18490 * manual/install.texi: Document --enable lock elision.
18491 * configure: Regenerate
18492 * INSTALL: Regenerate.
18494 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18496 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18497 SSE4.2 strcasecmp for libc.a.
18498 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18500 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18503 * soft-fp/op-common.h (_FP_FMA): New macro.
18504 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18505 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18506 (_FP_MUL_MEAT_1_imm): ... here.
18507 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18508 (_FP_MUL_MEAT_1_wide): ... here.
18509 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18510 (_FP_MUL_MEAT_1_hard): ... here.
18511 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18512 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18513 (_FP_MUL_MEAT_2_wide): ... here.
18514 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18515 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18516 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18517 (_FP_MUL_MEAT_2_gmp): ... here.
18518 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18519 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18520 (_FP_MUL_MEAT_4_wide): ... here.
18521 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18522 (_FP_MUL_MEAT_4_gmp): ... here.
18523 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18524 (_FP_WFRACBITS_DW_S): Likewise.
18525 (_FP_WFRACXBITS_DW_S): Likewise.
18526 (_FP_HIGHBIT_DW_S): Likewise.
18527 (FP_FMA_S): Likewise.
18528 (_FP_FRAC_HIGH_DW_S): Likewise.
18529 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18530 (_FP_WFRACBITS_DW_D): Likewise.
18531 (_FP_WFRACXBITS_DW_D): Likewise.
18532 (_FP_HIGHBIT_DW_D): Likewise.
18533 (FP_FMA_D): Likewise.
18534 (_FP_FRAC_HIGH_DW_D): Likewise.
18535 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18536 (_FP_WFRACBITS_DW_E): Likewise.
18537 (_FP_WFRACXBITS_DW_E): Likewise.
18538 (_FP_HIGHBIT_DW_E): Likewise.
18539 (FP_FMA_E): Likewise.
18540 (_FP_FRAC_HIGH_DW_E): Likewise.
18541 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18542 (_FP_WFRACBITS_DW_Q): Likewise.
18543 (_FP_WFRACXBITS_DW_Q): Likewise.
18544 (_FP_HIGHBIT_DW_Q): Likewise.
18545 (FP_FMA_Q): Likewise.
18546 (_FP_FRAC_HIGH_DW_Q): Likewise.
18547 * soft-fp/fmasf4.c: New file.
18548 * soft-fp/fmadf4.c: Likewise.
18549 * soft-fp/fmatf4.c: Likewise.
18551 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18554 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18558 (index_Slow_SSE4_2): Likewise.
18559 (index_Prefer_PMINUB_for_stringop): Likewise.
18560 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18561 bit_Slow_SSE4_2 is set.
18562 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18563 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18565 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18567 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18568 rtld_global._dl_hwcap2.
18569 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18571 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18572 POWER8 feature descriptions defined in _dl_hwcap2.
18573 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18574 string handling for POWER8 feature bits.
18575 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18576 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18577 _dl_powerpc_cap_flags.
18578 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18579 * sysdeps/powerpc/rtld-global-offsets.sym
18580 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18581 _dl_hwcap2 in the rtld_global_ro structure.
18583 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18585 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18586 hardware capabilities in support of AT_HWCAP2.
18587 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18588 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18590 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18591 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18592 explicitly the unknown a_type display mechanism is used.
18593 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18594 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18596 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18597 to macro prototype for AT_HWCAP2 support.
18598 * sysdeps/i386/dl-procinfo.h: Likewise.
18599 * sysdeps/s390/dl-procinfo.h: Likewise.
18600 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18601 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18602 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18603 return -1 for unknown a_type display fallback.
18604 * sysdeps/sparc/dl-procinfo.h: Likewise.
18605 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18606 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18608 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18611 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18613 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18616 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18617 mprotect making __stack_prot writable.
18619 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18620 Joseph Myers <joseph@codesourcery.com>
18622 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18623 as being properly aligned.
18625 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18627 * dlfcn/modstatic5.c: New file.
18628 * dlfcn/tststatic5.c: New file.
18629 * dlfcn/Makefile (tests): Add tststatic5.
18630 (tests-static): Likewise.
18631 (modules-names): Add modstatic5.
18632 (tststatic5-ENV): New variable.
18633 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18636 * elf/dl-support.c (_dl_main_map): New variable.
18637 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18638 (_dl_nns, _dl_load_adds): Set to 1.
18639 (_dl_initial_searchlist): Refer to _dl_main_map.
18640 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18641 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18642 call to _dl_get_origin.
18643 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18645 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18646 * dlfcn/modstatic3.c: New file.
18647 * dlfcn/tststatic3.c: New file.
18648 * dlfcn/tststatic4.c: New file.
18649 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18650 (tests-static): Likewise.
18651 (modules-names): Add modstatic3.
18652 (tststatic3-ENV, tststatic4-ENV): New variables.
18653 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18654 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18656 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18658 * configure.in (CC): Require GCC version 4.4 or later.
18659 * configure: Regenerated.
18660 * manual/install.texi (Tools for Compilation): Update GCC version
18662 * INSTALL: Regenerated.
18664 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18667 * string/test-memcmp.c (check2): New.
18668 (main): Call check2.
18670 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18672 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18675 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18677 (dl_open_worker) [!SHARED]: ... here.
18679 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18681 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18683 2013-06-25 Richard Henderson <rth@redhat.com>
18685 * locale/programs/locarchive.c: Include <libc-internal.h>
18687 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18689 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18690 trailing whitespace removed.
18692 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18695 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18696 * locale/programs/locarchive.c: Include libc-mmap.h.
18697 (prepare_address_space): Take two new outputs (the mmap base and len).
18698 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18700 (create_archive): Declare new mmap base and len values for
18701 prepare_address_space, and store the result in ah.
18702 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18703 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18704 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18705 Declare new mmap base and len values for
18706 prepare_address_space, and store the result in new_ah.
18707 (open_archive): Declare new mmap base and len values for
18708 prepare_address_space, and store the result in ah.
18709 (close_archive): If ah->mmap_base is not NULL, use that and
18710 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18711 * sysdeps/generic/libc-mmap.h: New file.
18713 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18715 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18716 (ALIGN_UP): Likewise.
18717 (PTR_ALIGN_DOWN): Likewise.
18718 (PTR_ALIGN_UP): Likewise.
18720 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18722 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18723 entry mapped to PPC_PLATFORM_POWER8.
18724 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18726 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18727 (_dl_string_platform): Add case for exporting platform position for
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18730 search path to sysdeps/powerpc/powerpc32/power8 directory.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18732 search path to sysdeps/powerpc/powerpc64/power8 directory.
18733 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18734 power7 directories.
18735 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18736 power7 directories.
18738 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18740 * INSTALL: Regenerate.
18742 * nscd/connections.c (nscd_init): Fix comment.
18744 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18746 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18749 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18750 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18752 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18754 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18756 (DL_DST_REQ_STATIC): Remove macro.
18758 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18761 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18762 with a shift of 0 bits.
18764 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18766 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18769 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18772 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18774 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18776 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18777 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18778 accepts -fno-tree-loop-distribute-patterns.
18779 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18780 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18782 * string/memset.c (memset): Likewise.
18783 * string/test-memmove.c (simple_memmove): Disable loop transformation
18785 * string/test-memset.c (simple_memset): Likewise.
18786 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18787 * benchtests/bench-memset.c (simple_memset): Likewise.
18788 * configure: Regenerated.
18790 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18792 * math/test-misc.c (main): Ignore fesetround failure when failures
18793 of subsequent rounding tests would be ignored.
18796 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18797 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18798 * math/fegetenv.c (__fegetenv): Return 0.
18799 * math/fegetexcept.c (fegetexcept): Return 0.
18800 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18802 * math/feholdexcpt.c (feholdexcept): Return 0.
18803 * math/fesetenv.c (__fesetenv): Return 0.
18804 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18805 argument FE_TONEAREST.
18806 * math/feupdateenv.c (__feupdateenv): Return 0.
18807 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18809 2013-06-18 Roland McGrath <roland@hack.frob.com>
18811 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18812 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18813 ($(objpfx)rtld-%.os rules): Use them.
18815 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18817 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18820 2013-06-17 Roland McGrath <roland@hack.frob.com>
18822 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18823 length of target pattern, then descending length of dependency pattern.
18824 * configure.in (AWK): Require gawk 3.1.2 or newer.
18825 * manual/install.texi (Tools for Compilation): Say that we do.
18826 * configure: Regenerated.
18828 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18829 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18830 * scripts/sysd-rules.awk: ... this new script.
18831 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18832 than a glob-style pattern.
18834 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18836 * math/test-misc.c (main): Do not treat incorrectly rounded
18837 conversions as failure unless ROUNDING_TESTS passes.
18839 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18842 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18843 restore exception state around main square root computation, then
18844 check for inexactness explicitly.
18846 * math/libm-test.inc (fma_test_data): Add another test.
18848 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18850 * manual/threads.texi (Non-POSIX Extensions): New document
18851 node. Document pthread_getattr_default_np and
18852 pthread_setattr_default_np.
18854 * Versions.def (libpthread): Add GLIBC_2.18.
18855 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18864 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18875 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18878 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18880 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18881 H.J. Lu <hjl.tools@gmail.com>
18884 * sysdeps/x86_64/rtld-memset.c: Remove file.
18885 * sysdeps/x86_64/rtld-memset.S: New file.
18887 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18889 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18890 (test_in_one_mode): Take arguments for whether the rounding mode
18891 is supported for each floating-point type.
18892 (do_test): Pass new arguments to test_in_one_mode using
18895 2013-06-13 Roland McGrath <roland@hack.frob.com>
18897 * posix/tst-waitid.c (do_test): Distinguish different instances of
18898 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18899 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18900 before entering the kernel for waitpid.
18902 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18904 * NEWS: Fix note on clock function precision. Text by Roland
18907 2013-06-13 Roland McGrath <roland@hack.frob.com>
18909 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18910 it into place only when and if the sanity check passes.
18912 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18914 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18915 output for whether conversion result is exact. Take argument
18916 indicating whether type is IBM long double.
18917 (round_for_all): Change need_exact field to ibm_ld.
18918 * stdlib/tst-strtod-round.c (struct exactness): New type.
18919 (struct test): Change bool ld_ok field to struct exactness exact.
18920 (TEST): Update all definitions for change to field.
18921 (tests): Regenerate array contents.
18922 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18923 field value. Check for IBM long double here.
18924 (do_test): Update calls to test_in_one_mode.
18926 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18929 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18930 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18932 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18935 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18936 generated by the compiler on loop optimizations.
18937 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18938 general definitions.
18940 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18942 * math/bug-nextafter.c: Include <math-tests.h>.
18943 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18945 * math/bug-nexttoward.c: Include <math-tests.h>.
18946 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18948 * math/test-misc.c: Include <math-tests.h>.
18949 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18952 2013-06-12 Andreas Jaeger <aj@suse.de>
18954 * po/ia.po: Update Interlingua translation from translation
18957 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18959 * include/fenv.h: Include stdbool.h.
18960 (struct rm_ctx): New structure.
18961 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18963 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18964 (SET_RESTORE_ROUNDF): Likewise.
18965 (SET_RESTORE_ROUNDL): Likewise.
18966 (SET_RESTORE_ROUND_NOEX): Likewise.
18967 (SET_RESTORE_ROUND_NOEXF): Likewise.
18968 (SET_RESTORE_ROUND_NOEXL): Likewise.
18969 (SET_RESTORE_ROUND_53BIT): Likewise.
18970 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18971 (libc_feresetround_noexf_ctx): Likewise.
18972 (libc_feresetround_noexl_ctx): Likewise.
18973 (libc_feholdsetround_53bit_ctx): Likewise.
18974 (libc_feresetround_53bit_ctx): Likewise.
18975 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18976 (libc_feholdexcept_setround_sse_ctx): New function.
18977 (libc_fesetenv_sse_ctx): Likewise.
18978 (libc_feupdateenv_sse_ctx): Likewise.
18979 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18980 (libc_feholdexcept_setround_387_ctx): Likewise.
18981 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18982 (libc_feholdsetround_387_prec_ctx): Likewise.
18983 (libc_feholdsetround_387_ctx): Likewise.
18984 (libc_feholdsetround_387_53bit_ctx): Likewise.
18985 (libc_feholdsetround_sse_ctx): Likewise.
18986 (libc_feresetround_sse_ctx): Likewise.
18987 (libc_feresetround_387_ctx): Likewise.
18988 (libc_feupdateenv_387_ctx): Likewise.
18989 (libc_feholdexcept_setroundf_ctx): Define macro.
18990 (libc_fesetenvf_ctx): Likewise.
18991 (libc_feupdateenvf_ctx): Likewise.
18992 (libc_feholdsetroundf_ctx): Likewise.
18993 (libc_feresetroundf_ctx): Likewise.
18994 (libc_feholdexcept_setround_ctx): Likewise.
18995 (libc_fesetenv_ctx): Likewise.
18996 (libc_feupdateenv_ctx): Likewise.
18997 (libc_feholdsetround_ctx): Likewise.
18998 (libc_feresetround_ctx): Likewise.
18999 (libc_feholdexcept_setroundl_ctx): Likewise.
19000 (libc_feupdateenvl_ctx): Likewise.
19001 (libc_feholdsetroundl_ctx): Likewise.
19002 (libc_feresetroundl_ctx): Likewise.
19003 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19004 (libc_feresetround_53bit_ctx): Likewise.
19006 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19008 * locale/iso-639.def: Convert to UTF-8.
19010 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19012 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19013 (EXCEPTION_TESTS_double): Likewise.
19014 (EXCEPTION_TESTS_long_double): Likewise.
19015 (EXCEPTION_TESTS): Likewise.
19016 * math/libm-test.inc (test_exceptions): Only test exceptions if
19017 EXCEPTION_TESTS (FLOAT).
19019 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19021 * benchtests/Makefile (string-bench): Add strcpy_chk and
19023 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19024 * benchtests/bench-stpcpy_chk.c: New file.
19025 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19026 * benchtests/bench-strcpy_chk.c: New file.
19027 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19029 (do_test): Likewise.
19031 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19033 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19034 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19035 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19036 with tabs where appropriate.
19037 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19039 [PPC_PLATFORM_PPC440]: Likewise.
19040 [PPC_PLATFORM_PPC464]: Likewise.
19041 [PPC_PLATFORM_PPC476]: Likewise.
19042 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19043 ppc464, and ppc476 platform strings merging from ports/
19046 2013-06-11 Andreas Schwab <schwab@suse.de>
19049 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19050 (from_ucs4_idx): Regenerate.
19051 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19052 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19053 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19054 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19055 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19056 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19057 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19058 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19059 from FROM_LOOP and TO_LOOP specific macros.
19060 (BODY): Handle combining characters.
19061 * iconvdata/BIG5HKSCS.irreversible: Update.
19062 * iconvdata/BIG5HKSCS.precomposed: New file.
19063 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19065 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19067 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19069 * include/sys/time.h: Fix indentation and add copyright header.
19071 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19072 (do_test): Likewise.
19073 * string/test-memchr.c (do_one_test): Likewise.
19074 (do_test): Likewise.
19075 * string/test-memcmp.c (do_one_test): Likewise.
19076 (do_test): Likewise.
19077 * string/test-memcpy.c (do_one_test): Likewise.
19078 (do_test): Likewise.
19079 * string/test-memmem.c (do_one_test): Likewise.
19080 (do_test): Likewise.
19081 (do_random_tests): Likewise.
19082 * string/test-memmove.c (do_one_test): Likewise.
19083 (do_test): Likewise.
19084 * string/test-memset.c (do_one_test): Likewise.
19085 (do_test): Likewise.
19086 * string/test-rawmemchr.c (do_one_test): Likewise.
19087 (do_test): Likewise.
19088 * string/test-strcasecmp.c (do_one_test): Likewise.
19089 (do_test): Likewise.
19090 * string/test-strcasestr.c (do_one_test): Likewise.
19091 (do_test): Likewise.
19092 * string/test-strcat.c (do_one_test): Likewise.
19093 (do_test): Likewise.
19094 * string/test-strchr.c (do_one_test): Likewise.
19095 (do_test): Likewise.
19096 * string/test-strcmp.c (do_one_test): Likewise.
19097 (do_test): Likewise.
19098 * string/test-strcpy.c (do_one_test): Likewise.
19099 (do_test): Likewise.
19100 * string/test-string.h: Likewise.
19101 (test_init): Likewise.
19102 * string/test-strlen.c (do_one_test): Likewise.
19103 (do_test): Likewise.
19104 * string/test-strncasecmp.c (do_one_test): Likewise.
19105 (do_test): Likewise.
19106 * string/test-strncat.c (do_one_test): Likewise.
19107 (do_test): Likewise.
19108 * string/test-strncmp.c (do_one_test): Likewise.
19109 (do_test_limit): Likewise.
19110 (do_test): Likewise.
19111 * string/test-strncpy.c (do_one_test): Likewise.
19112 (do_test): Likewise.
19113 * string/test-strnlen.c (do_one_test): Likewise.
19114 (do_test): Likewise.
19115 * string/test-strpbrk.c (do_one_test): Likewise.
19116 (do_test): Likewise.
19117 * string/test-strrchr.c (do_one_test): Likewise.
19118 (do_test): Likewise.
19119 * string/test-strspn.c (do_one_test): Likewise.
19120 (do_test): Likewise.
19121 * string/test-strstr.c (do_one_test): Likewise.
19122 (do_test): Likewise.
19124 * benchtests/Makefile (string-bench): Add string benchmarks.
19125 * benchtests/bench-bcopy-ifunc.c: New file.
19126 * benchtests/bench-bcopy.c: New file.
19127 * benchtests/bench-bzero-ifunc.c: New file.
19128 * benchtests/bench-bzero.c: New file.
19129 * benchtests/bench-memccpy-ifunc.c: New file.
19130 * benchtests/bench-memccpy.c: New file.
19131 * benchtests/bench-memchr-ifunc.c: New file.
19132 * benchtests/bench-memchr.c: New file.
19133 * benchtests/bench-memcmp-ifunc.c: New file.
19134 * benchtests/bench-memcmp.c: New file.
19135 * benchtests/bench-memmem-ifunc.c: New file.
19136 * benchtests/bench-memmem.c: New file.
19137 * benchtests/bench-memmove-ifunc.c: New file.
19138 * benchtests/bench-memmove.c: New file.
19139 * benchtests/bench-mempcpy-ifunc.c: New file.
19140 * benchtests/bench-mempcpy.c: New file.
19141 * benchtests/bench-memset-ifunc.c: New file.
19142 * benchtests/bench-memset.c: New file.
19143 * benchtests/bench-rawmemchr-ifunc.c: New file.
19144 * benchtests/bench-rawmemchr.c: New file.
19145 * benchtests/bench-stpcpy-ifunc.c: New file.
19146 * benchtests/bench-stpcpy.c: New file.
19147 * benchtests/bench-stpncpy-ifunc.c: New file.
19148 * benchtests/bench-stpncpy.c: New file.
19149 * benchtests/bench-strcasecmp-ifunc.c: New file.
19150 * benchtests/bench-strcasecmp.c: New file.
19151 * benchtests/bench-strcasestr-ifunc.c: New file.
19152 * benchtests/bench-strcasestr.c: New file.
19153 * benchtests/bench-strcat-ifunc.c: New file.
19154 * benchtests/bench-strcat.c: New file.
19155 * benchtests/bench-strchr-ifunc.c: New file.
19156 * benchtests/bench-strchr.c: New file.
19157 * benchtests/bench-strchrnul-ifunc.c: New file.
19158 * benchtests/bench-strchrnul.c: New file.
19159 * benchtests/bench-strcmp-ifunc.c: New file.
19160 * benchtests/bench-strcmp.c: New file.
19161 * benchtests/bench-strcpy-ifunc.c: New file.
19162 * benchtests/bench-strcpy.c: New file.
19163 * benchtests/bench-strcspn-ifunc.c: New file.
19164 * benchtests/bench-strcspn.c: New file.
19165 * benchtests/bench-strlen-ifunc.c: New file.
19166 * benchtests/bench-strlen.c: New file.
19167 * benchtests/bench-strncasecmp-ifunc.c: New file.
19168 * benchtests/bench-strncasecmp.c: New file.
19169 * benchtests/bench-strncat-ifunc.c: New file.
19170 * benchtests/bench-strncat.c: New file.
19171 * benchtests/bench-strncmp-ifunc.c: New file.
19172 * benchtests/bench-strncmp.c: New file.
19173 * benchtests/bench-strncpy-ifunc.c: New file.
19174 * benchtests/bench-strncpy.c: New file.
19175 * benchtests/bench-strnlen-ifunc.c: New file.
19176 * benchtests/bench-strnlen.c: New file.
19177 * benchtests/bench-strpbrk-ifunc.c: New file.
19178 * benchtests/bench-strpbrk.c: New file.
19179 * benchtests/bench-strrchr-ifunc.c: New file.
19180 * benchtests/bench-strrchr.c: New file.
19181 * benchtests/bench-strspn-ifunc.c: New file.
19182 * benchtests/bench-strspn.c: New file.
19183 * benchtests/bench-strstr-ifunc.c: New file.
19184 * benchtests/bench-strstr.c: New file.
19186 * benchtests/Makefile: Disable parallel execution of targets.
19187 (string-bench): Add memcpy.
19188 (benchset): New variable to store a list of benchmark sets.
19189 (bench-func): Renamed from bench.
19190 (bench-set): New target.
19191 (bench): Depend on bench-func and bench-set.
19192 * benchtests/README: Add section on benchmark sets.
19193 * benchtests/bench-memcpy-ifunc.c: New file.
19194 * benchtests/bench-memcpy.c: New file.
19195 * benchtests/bench-string.h: New file.
19197 2013-06-11 Andreas Schwab <schwab@suse.de>
19200 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19201 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19202 values in the triple.
19203 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19204 terminator in the group key.
19206 2013-06-11 Andreas Jaeger <aj@suse.de>
19208 * po/zh_TW.po: Update Chinese (traditional) translation from
19209 translation project.
19211 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19213 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19214 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19215 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19217 (clock_getcpuclockid): Likewise.
19218 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19219 Add weak_alias and libc_hidden_def.
19220 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19221 * rt/clock_gettime.c (clock_gettime): Rename to
19222 __clock_gettime. Add weak_alias and libc_hidden_def.
19223 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19224 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19225 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19226 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19227 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19229 * rt/clock_settime.c (clock_settime): Rename to
19230 __clock_settime. Add weak_alias and libc_hidden_def.
19231 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19233 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19235 * mach/err_boot.sub: Remove trailing whitespace.
19236 * mach/err_ipc.sub: Likewise.
19237 * mach/err_mach.sub: Likewise.
19239 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19240 (ROUNDING_TESTS_double): Likewise.
19241 (ROUNDING_TESTS_long_double): Likewise.
19242 (ROUNDING_TESTS): Likewise.
19243 * math/libm-test.inc: Include <math-tests.h>.
19244 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19245 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19246 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19247 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19249 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19251 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19254 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19256 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19257 otherwise empty TRANS lines.
19258 * sysdeps/gnu/errlist.c: Regenerated.
19260 * catgets/gencat.c (error_print): Use (void) in function
19262 * crypt/crypt_util.c (__init_des): Likewise.
19263 * crypt/speeds.c (Stop): Likewise.
19265 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19266 * inet/ruserpass.c (token): Likewise.
19267 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19268 * intl/localealias.c (extend_alias_table): Likewise.
19269 * intl/plural-exp.c (init_germanic_plural): Likewise.
19270 * libio/fcloseall.c (__fcloseall): Likewise.
19271 * libio/genops.c (_IO_flush_all): Likewise.
19272 (_IO_flush_all_linebuffered): Likewise.
19273 (_IO_cleanup): Likewise.
19274 (_IO_iter_begin): Likewise.
19275 (_IO_iter_end): Likewise.
19276 (_IO_list_lock): Likewise.
19277 (_IO_list_unlock): Likewise.
19278 (_IO_list_resetlock): Likewise.
19279 * libio/getchar.c (getchar): Likewise.
19280 * libio/getchar_u.c (getchar_unlocked): Likewise.
19281 * libio/getwchar.c (getwchar): Likewise.
19282 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19283 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19284 * login/getpt.c (__getpt): Likewise.
19285 * login/tst-utmp.c (main): Likewise.
19286 * malloc/hooks.c (__malloc_check_init): Likewise.
19287 * malloc/malloc.c (__malloc_stats): Likewise.
19288 * malloc/mtrace.c (tr_break): Likewise.
19289 (mtrace): Likewise.
19290 (muntrace): Likewise.
19291 * misc/fstab.c (endfsent): Likewise.
19292 * misc/getclktck.c (__getclktck): Likewise.
19293 * misc/getdtsz.c (__getdtablesize): Likewise.
19294 * misc/gethostid.c (gethostid): Likewise.
19295 * misc/getpagesize.c (__getpagesize): Likewise.
19296 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19297 (__get_nprocs): Likewise.
19298 (__get_phys_pages): Likewise.
19299 (__get_avphys_pages): Likewise.
19300 * misc/getttyent.c (getttyent): Likewise.
19301 (setttyent): Likewise.
19302 (endttyent): Likewise.
19303 * misc/getusershell.c (getusershell): Likewise.
19304 (endusershell): Likewise.
19305 (setusershell): Likewise.
19306 (initshells): Likewise.
19307 * misc/hsearch.c (__hdestroy): Likewise.
19308 * misc/sync.c (sync): Likewise.
19309 * misc/syslog.c (closelog_internal): Likewise.
19310 (closelog): Likewise.
19311 * misc/ttyslot.c (ttyslot): Likewise.
19312 * misc/vhangup.c (vhangup): Likewise.
19313 * posix/fork.c (__fork): Likewise.
19314 * posix/getegid.c (__getegid): Likewise.
19315 * posix/geteuid.c (__geteuid): Likewise.
19316 * posix/getgid.c (__getgid): Likewise.
19317 * posix/getpid.c (__getpid): Likewise.
19318 * posix/getppid.c (__getppid): Likewise.
19319 * posix/getuid.c (__getuid): Likewise.
19320 * posix/pause.c (pause): Likewise.
19321 * posix/setpgrp.c (setpgrp): Likewise.
19322 * posix/setsid.c (__setsid): Likewise.
19323 * posix/test-vfork.c (noop): Likewise.
19324 * resolv/gethnamaddr.c (_endhtent): Likewise.
19325 (_gethtent): Likewise.
19326 (ht_endhostent): Likewise.
19327 (gethostent): Likewise.
19328 (dns_service): Likewise.
19329 * stdlib/drand48.c (drand48): Likewise.
19330 * stdlib/lrand48.c (lrand48): Likewise.
19331 * stdlib/mrand48.c (mrand48): Likewise.
19332 * stdlib/rand.c (rand): Likewise.
19333 * stdlib/random.c (__random): Likewise.
19334 * stdlib/setenv.c (clearenv): Likewise.
19335 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19336 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19337 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19338 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19339 (__get_nprocs): Likewise.
19340 (__get_phys_pages): Likewise.
19341 (__get_avphys_pages): Likewise.
19342 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19343 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19344 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19345 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19346 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19347 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19348 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19349 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19350 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19351 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19352 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19353 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19354 * sysdeps/posix/clock.c (clock): Likewise.
19355 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19356 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19357 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19358 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19359 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19361 (__get_nprocs_conf): Likewise.
19362 (__get_phys_pages): Likewise.
19363 (__get_avphys_pages): Likewise.
19364 * time/clock.c (clock): Likewise.
19365 * time/tzset.c (__tzname_max): Likewise.
19367 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19369 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19370 (__bswap_32): Do not use "register".
19371 * crypt/crypt.c (_ufc_doit_r): Likewise.
19372 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19373 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19374 * gmon/gmon.c (__monstartup): Likewise.
19375 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19376 * hurd/hurdmalloc.c (more_memory): Likewise.
19377 (malloc): Likewise.
19379 (realloc): Likewise.
19380 (malloc_fork_prepare): Likewise.
19381 (malloc_fork_parent): Likewise.
19382 (malloc_fork_child): Likewise.
19383 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19384 (_svcauth_des): Likewise.
19385 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19386 * inet/inet_net.c (inet_network): Likewise.
19387 * inet/inet_netof.c (inet_netof): Likewise.
19388 * inet/rcmd.c (__validuser2_sa): Likewise.
19389 * io/fts.c (fts_open): Likewise.
19390 (fts_load): Likewise.
19391 (fts_close): Likewise.
19392 (fts_read): Likewise.
19393 (fts_children): Likewise.
19394 (fts_build): Likewise.
19395 (fts_stat): Likewise.
19396 (fts_sort): Likewise.
19397 (fts_alloc): Likewise.
19398 (fts_lfree): Likewise.
19399 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19400 (_IO_file_xsgetn): Likewise.
19401 (_IO_file_xsgetn_mmap): Likewise.
19402 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19403 (_IO_cookie_write): Likewise.
19404 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19405 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19406 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19407 * malloc/obstack.c (_obstack_begin): Likewise.
19408 (_obstack_begin_1): Likewise.
19409 (_obstack_newchunk): Likewise.
19410 (_obstack_allocated_p): Likewise.
19411 (obstack_free): Likewise.
19412 (_obstack_memory_used): Likewise.
19413 * misc/getttyent.c (getttynam): Likewise.
19414 (getttyent): Likewise.
19417 * misc/getusershell.c (initshells): Likewise.
19418 * misc/syslog.c (__vsyslog_chk): Likewise.
19419 * misc/ttyslot.c (ttyslot): Likewise.
19420 * nis/nis_hash.c (__nis_hash): Likewise.
19421 * posix/fnmatch_loop.c (FCT): Likewise.
19422 * posix/getconf.c (print_all): Likewise.
19424 * posix/getopt.c (exchange): Likewise.
19425 * posix/glob.c (globfree): Likewise.
19426 (prefix_array): Likewise.
19427 (__glob_pattern_type): Likewise.
19428 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19429 (NS_GET32): Likewise.
19430 (NS_PUT16): Likewise.
19431 (NS_PUT32): Likewise.
19432 * resolv/gethnamaddr.c (getanswer): Likewise.
19433 (gethostbyname2): Likewise.
19434 (gethostbyaddr): Likewise.
19435 (_gethtent): Likewise.
19436 (_gethtbyname2): Likewise.
19437 (_gethtbyaddr): Likewise.
19438 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19439 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19440 * resolv/res_init.c (__res_vinit): Likewise.
19441 (net_mask): Likewise.
19442 * resolv/res_mkquery.c (outchar): Likewise.
19444 * stdio-common/printf_fp.c (outchar): Likewise.
19446 * stdio-common/printf_fphex.c (outchar): Likewise.
19448 * stdio-common/printf_size.c (outchar): Likewise.
19450 * stdio-common/test_rdwr.c (main): Likewise.
19451 * stdio-common/tfformat.c (matches): Likewise.
19452 * stdio-common/vfprintf.c (outchar): Likewise.
19453 (printf_unknown): Likewise.
19454 (buffered_vfprintf): Likewise.
19455 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19456 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19457 (ReadFile): Likewise.
19458 * stdlib/qsort.c (SWAP): Likewise.
19459 (_quicksort): Likewise.
19460 * stdlib/setenv.c (__add_to_environ): Likewise.
19461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19462 * stdlib/strtol_l.c (__strtol_l): Likewise.
19463 * stdlib/tst-strtod.c (main): Likewise.
19464 * stdlib/tst-strtol.c (main): Likewise.
19465 * stdlib/tst-strtoll.c (main): Likewise.
19466 * string/bits/string2.h (__strcmp_cc): Likewise.
19467 (__strcmp_cg): Likewise.
19468 (__strcspn_c1): Likewise.
19469 (__strcspn_c2): Likewise.
19470 (__strcspn_c3): Likewise.
19471 (__strspn_c1): Likewise.
19472 (__strspn_c2): Likewise.
19473 (__strspn_c3): Likewise.
19474 (__strsep_1c): Likewise.
19475 (__strsep_2c): Likewise.
19476 (__strsep_3c): Likewise.
19477 * string/memccpy.c (__memccpy): Likewise.
19478 * string/stpcpy.c (__stpcpy): Likewise.
19479 * string/strcmp.c (strcmp): Likewise.
19480 * string/strrchr.c (strrchr): Likewise.
19481 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19483 * sysdeps/mach/hurd/getcwd.c
19484 (_hurd_canonicalize_directory_name_internal): Likewise.
19485 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19486 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19487 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19488 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19489 Likewise, in both definitions.
19490 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19492 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19493 64] (__bswap_64): Likewise.
19494 * time/test_time.c (main): Likewise.
19495 * time/tzfile.c (__tzfile_read): Likewise.
19496 (__tzfile_compute): Likewise.
19497 * time/tzset.c (__tzset_parse_tz): Likewise.
19498 (tzset_internal): Likewise.
19499 (compute_change): Likewise.
19500 * wcsmbs/wcscat.c (__wcscat): Likewise.
19501 * wcsmbs/wcschr.c (wcschr): Likewise.
19502 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19503 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19504 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19505 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19506 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19507 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19508 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19509 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19510 * wcsmbs/wmemset.c (wmemset): Likewise.
19512 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19514 * scripts/config.guess: Update to version 2013-05-16.
19515 * scripts/config.sub: Update to version 2013-04-24.
19516 * scripts/install-sh: Update to version 2011-11-20.07.
19517 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19518 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19520 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19522 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19523 * elf/sln.c: Likewise.
19524 * hurd/hurd/ioctl.h: Likewise.
19525 * hurd/hurdmalloc.c: Likewise.
19526 * hurd/xattr.c: Likewise.
19527 * include/shlib-compat.h: Likewise.
19528 * inet/ruserpass.c: Likewise.
19529 * libio/iofgets_u.c: Likewise.
19530 * libio/iofgetws_u.c: Likewise.
19531 * locale/programs/ld-identification.c: Likewise.
19532 * locale/programs/ld-time.c: Likewise.
19533 * mach/msg-destroy.c: Likewise.
19534 * nss/nss_files/files-netgrp.c: Likewise.
19535 * resolv/res_data.c: Likewise.
19536 * soft-fp/op-1.h: Likewise.
19537 * soft-fp/op-2.h: Likewise.
19538 * soft-fp/op-4.h: Likewise.
19539 * soft-fp/op-common.h: Likewise.
19540 * stdio-common/printf_fphex.c: Likewise.
19541 * stdlib/strtod_l.c: Likewise.
19542 * sunrpc/rpc/clnt.h: Likewise.
19543 * sysdeps/generic/framestate.c: Likewise.
19544 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19545 * sysdeps/i386/bsd-setjmp.S: Likewise.
19546 * sysdeps/i386/__longjmp.S: Likewise.
19547 * sysdeps/i386/setjmp.S: Likewise.
19548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19566 * sysdeps/ieee754/support.c: Likewise.
19567 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19568 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19569 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19570 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19571 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19572 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19573 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19574 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19575 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19576 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19577 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19578 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19579 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19580 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19581 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19582 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19583 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19586 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19588 * posix/transbug.c: Remove executable mode.
19590 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19592 * crypt/speeds.c: Remove trailing whitespace.
19593 * dlfcn/default.c: Likewise.
19594 * elf/ifuncdep2.c: Likewise.
19595 * elf/ifuncmain1.c: Likewise.
19596 * elf/ifuncmain1vis.c: Likewise.
19597 * elf/testobj.h: Likewise.
19598 * elf/tst-stackguard1.c: Likewise.
19599 * gmon/sys/gmon.h: Likewise.
19600 * hurd/hurdmsg.c: Likewise.
19601 * hurd/new-fd.c: Likewise.
19602 * hurd/ports-get.c: Likewise.
19603 * iconvdata/ibm1008_420.c: Likewise.
19604 * inet/tst-getni1.c: Likewise.
19605 * inet/tst-getni2.c: Likewise.
19606 * libio/ioungetc.c: Likewise.
19607 * libio/wfiledoalloc.c: Likewise.
19608 * manual/libm-err-tab.pl: Likewise.
19609 * math/w_dremf.c: Likewise.
19610 * misc/ftruncate.c: Likewise.
19611 * posix/bug-glob2.c: Likewise.
19612 * posix/tst-pcre.c: Likewise.
19613 * posix/wait4.c: Likewise.
19614 * resolv/README: Likewise.
19615 * resolv/res_debug.h: Likewise.
19616 * resolv/tst-inet_ntop.c: Likewise.
19617 * setjmp/bug269-setjmp.c: Likewise.
19618 * soft-fp/extended.h: Likewise.
19619 * soft-fp/op-1.h: Likewise.
19620 * soft-fp/op-2.h: Likewise.
19621 * soft-fp/op-4.h: Likewise.
19622 * soft-fp/op-8.h: Likewise.
19623 * soft-fp/testit.c: Likewise.
19624 * stdio-common/bug16.c: Likewise.
19625 * stdlib/random.c: Likewise.
19626 * sunrpc/rpcsvc/rquota.x: Likewise.
19627 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19635 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19656 * sysdeps/ieee754/s_lib_version.c: Likewise.
19657 * sysdeps/mach/hurd/check_fds.c: Likewise.
19658 * sysdeps/mach/hurd/getsockname.c: Likewise.
19659 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19660 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19661 * sysdeps/powerpc/bits/link.h: Likewise.
19662 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19663 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19664 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19665 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19666 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19667 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19668 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19669 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19670 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19671 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19672 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19673 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19674 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19675 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19676 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19677 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19678 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19680 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19681 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19682 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19683 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19684 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19685 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19686 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19687 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19689 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19695 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19696 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19697 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19699 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19702 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19703 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19704 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19705 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19707 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19708 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19709 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19710 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19711 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19714 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19716 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19717 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19718 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19721 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19726 * sysdeps/powerpc/sysdep.h: Likewise.
19727 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19728 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19729 * sysdeps/sh/dl-trampoline.S: Likewise.
19730 * sysdeps/sh/memset.S: Likewise.
19731 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19732 * sysdeps/sh/strlen.S: Likewise.
19733 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19734 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19735 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19736 * sysdeps/sparc/sparc32/rem.S: Likewise.
19737 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19738 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19739 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19740 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19741 * sysdeps/sparc/sparc32/urem.S: Likewise.
19742 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19743 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19744 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19745 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19747 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19748 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19749 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19750 * sysdeps/unix/bsd/times.c: Likewise.
19751 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19752 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19756 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19758 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19760 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19762 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19763 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19764 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19765 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19766 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19767 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19768 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19769 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19770 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19771 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19772 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19773 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19774 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19775 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19776 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19777 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19778 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19779 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19780 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19781 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19782 * sysdeps/x86_64/strcspn.S: Likewise.
19784 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19786 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19787 generated file. Regenerate properly from gen-translit.pl.
19788 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19789 locale/C-translit.h.
19791 2013-06-05 Andreas Schwab <schwab@suse.de>
19794 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19795 week as 6 instead of -1.
19796 * time/tst-strptime.c (day_tests): Add test case.
19798 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19800 * sysdeps/generic/math_private.h
19801 (libc_feholdexcept_setround_53bit): Replace with
19802 libc_feholdsetround_53bit.
19803 (libc_feupdateenv_53bit): Replace with
19804 libc_feresetround_53bit.
19805 (SET_RESTORE_ROUND_53BIT): Adjust.
19807 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19809 * string/test-strchrnul.c: Add copyright header.
19811 * posix/tst-getaddrinfo4.c: Increase test timeout.
19813 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19816 * math/libm-test.inc (MAX_EXP): Remove
19818 (ulp): Use MIN_EXP - MANT_DIG.
19819 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19821 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19823 * po/be.po: Revert last change.
19824 * po/zh_CN.po: Likewise.
19825 * po/header.pot: Likewise.
19827 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19829 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19830 link-libc-deps to empty as target-specific variable.
19831 * Makerules (link-libc-args): New variable.
19832 (libc-for-link): Likewise.
19833 (link-libc-deps): Likewise.
19834 (lib%.so): Depend on $(link-libc-deps). Link with
19836 (build-module): Link with $(link-libc-args).
19837 (build-module-asneeded): Likewise.
19838 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19840 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19841 target-specific variable.
19842 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19843 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19844 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19846 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19848 ($(objpfx)libpcprofile.so): Likewise.
19849 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19851 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19852 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19853 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19855 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19856 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19857 * login/Makefile ($(objpfx)libutil.so): Likewise.
19858 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19859 * math/Makefile ($(objpfx)libm.so): Likewise.
19860 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19861 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19862 variable instead of depending directly on libc.
19863 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19864 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19866 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19868 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19869 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19870 ($(objpfx)libanl.so): Likewise.
19871 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19873 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19875 * sysdeps/i386/fpu/Makefile: Remove file.
19876 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19877 ($(objpfx)libm.so): Remove dependency on ld.so.
19879 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19882 * nis/yp_xdr.c (XDRMAXNAME): Define.
19883 (XDRMAXRECORD): Define.
19884 (xdr_domainname): Use XDRMAXNAME.
19885 (xdr_mapname): Likewise.
19886 (xdr_peername): Likewise.
19887 (xdr_keydat): Use XDRMAXRECORD.
19888 (xdr_valdat): Likewise.
19890 2013-05-30 Jeff Law <law@redhat.com>
19893 * manual/errno.texi (ESTALE): Update to account for more than
19894 just NFS file systems.
19895 * sysdeps/gnu/errlist.c: Regenerated.
19897 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19900 * elf/Makefile (tests): Add tst-null-argv.
19901 (modules-names): Add tst-null-argv-lib.
19902 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19903 (tst-null-argv-ENV): Set environment for tst-null-argv.
19904 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19905 (RTLD_PROGNAME): New macro.
19906 * elf/tst-null-argv.c: New test case.
19907 * elf/tst-null-argv-lib.c: Library for test case.
19908 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19909 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19910 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19911 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19912 * elf/dl-init.c (call_init): Likewise.
19913 (_dl_init): Likewise.
19914 * elf/dl-load.c (print_search_path): Likewise.
19915 (_dl_map_object): Likewise.
19916 * elf/dl-lookup.c (do_lookup_x): Likewise.
19917 (add_dependency): Likewise.
19918 (_dl_lookup_symbol_x): Likewise.
19919 (_dl_debug_bindings): Likewise.
19920 * elf/dl-open.c (_dl_show_scope): Likewise.
19921 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19922 * elf/dl-version.c (match_symbol): Likewise.
19923 (_dl_check_map_versions): Likewise.
19924 * elf/rtld.c (dl_main): Likewise.
19925 (print_unresolved): Use RTLD_PROGNAME.
19926 (print_missing_version): Likewise.
19927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19928 (elf_machine_rela): Likewise.
19929 * sysdeps/powerpc/powerpc32/dl-machine.c
19930 (__process_machine_rela): Likewise.
19931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19933 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19935 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19937 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19944 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19946 * po/be.po: Add descriptive title.
19947 * po/zh_CN.po: Likewise.
19948 * po/header.pot: Likewise.
19950 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19952 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19954 (enlarge_archive): Likewise.
19956 2013-05-28 Ben North <ben@redfrontdoor.org>
19958 * manual/arith.texi (frexp): It is the magnitude of the return
19959 value which lies in [0.5, 1), not the return value itself.
19961 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19965 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19967 * stdio-common/bug26.c (main): Correct fscanf template.
19969 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19970 declare _dl_skip_args.
19972 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19975 * manual/platform.texi: Add missing @end deftypefun.
19977 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19981 bit of mantissa of 2^16382.
19982 * math/libm-test.inc (hypot_test_data): Add more tests.
19984 * math/libm-test.inc: Add drem and pow10 to list of tested
19986 (pow10_test): New function.
19987 (drem_test): Likewise.
19988 (drem_test_tonearest): Likewise.
19989 (drem_test_towardzero): Likewise.
19990 (drem_test_downward): Likewise.
19991 (drem_test_upward): Likewise.
19992 (main): Call the new functions.
19994 * math/libm-test.inc (finite_test_data): Remove.
19995 (finite_test): Run tests from isfinite_test_data.
19996 (gamma_test_data): Remove.
19997 (gamma_test): Run tests from lgamma_test_data.
19998 * sysdeps/i386/fpu/libm-test-ulps: Update.
19999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20001 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20003 * manual/platform.texi: Add PowerPC PPR function set documentation.
20004 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20007 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20009 * math/libm-test.inc (MAX_EXP): Define.
20011 (ulp): New function.
20012 (check_float_internal): Use ULPDIFF.
20013 (cpow_test): Disable failing test.
20014 (check_ulp): Test ulp() implemetnation.
20015 (main): Call check_ulp before starting tests.
20017 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20019 * math/gen-libm-test.pl (generate_testfile): Do not handle
20020 START_DATA and END_DATA.
20021 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20023 (acos_tonearest_test_data): Likewise.
20024 (acos_towardzero_test_data): Likewise.
20025 (acos_downward_test_data): Likewise.
20026 (acos_upward_test_data): Likewise.
20027 (acosh_test_data): Likewise.
20028 (asin_test_data): Likewise.
20029 (asin_tonearest_test_data): Likewise.
20030 (asin_towardzero_test_data): Likewise.
20031 (asin_downward_test_data): Likewise.
20032 (asin_upward_test_data): Likewise.
20033 (asinh_test_data): Likewise.
20034 (atan_test_data): Likewise.
20035 (atanh_test_data): Likewise.
20036 (atan2_test_data): Likewise.
20037 (cabs_test_data): Likewise.
20038 (cacos_test_data): Likewise.
20039 (cacosh_test_data): Likewise.
20040 (carg_test_data): Likewise.
20041 (casin_test_data): Likewise.
20042 (casinh_test_data): Likewise.
20043 (catan_test_data): Likewise.
20044 (catanh_test_data): Likewise.
20045 (cbrt_test_data): Likewise.
20046 (ccos_test_data): Likewise.
20047 (ccosh_test_data): Likewise.
20048 (ceil_test_data): Likewise.
20049 (cexp_test_data): Likewise.
20050 (cimag_test_data): Likewise.
20051 (clog_test_data): Likewise.
20052 (clog10_test_data): Likewise.
20053 (conj_test_data): Likewise.
20054 (copysign_test_data): Likewise.
20055 (cos_test_data): Likewise.
20056 (cos_tonearest_test_data): Likewise.
20057 (cos_towardzero_test_data): Likewise.
20058 (cos_downward_test_data): Likewise.
20059 (cos_upward_test_data): Likewise.
20060 (cosh_test_data): Likewise.
20061 (cosh_tonearest_test_data): Likewise.
20062 (cosh_towardzero_test_data): Likewise.
20063 (cosh_downward_test_data): Likewise.
20064 (cosh_upward_test_data): Likewise.
20065 (cpow_test_data): Likewise.
20066 (cproj_test_data): Likewise.
20067 (creal_test_data): Likewise.
20068 (csin_test_data): Likewise.
20069 (csinh_test_data): Likewise.
20070 (csqrt_test_data): Likewise.
20071 (ctan_test_data): Likewise.
20072 (ctan_tonearest_test_data): Likewise.
20073 (ctan_towardzero_test_data): Likewise.
20074 (ctan_downward_test_data): Likewise.
20075 (ctan_upward_test_data): Likewise.
20076 (ctanh_test_data): Likewise.
20077 (ctanh_tonearest_test_data): Likewise.
20078 (ctanh_towardzero_test_data): Likewise.
20079 (ctanh_downward_test_data): Likewise.
20080 (ctanh_upward_test_data): Likewise.
20081 (erf_test_data): Likewise.
20082 (erfc_test_data): Likewise.
20083 (exp_test_data): Likewise.
20084 (exp_tonearest_test_data): Likewise.
20085 (exp_towardzero_test_data): Likewise.
20086 (exp_downward_test_data): Likewise.
20087 (exp_upward_test_data): Likewise.
20088 (exp10_test_data): Likewise.
20089 (exp2_test_data): Likewise.
20090 (expm1_test_data): Likewise.
20091 (fabs_test_data): Likewise.
20092 (fdim_test_data): Likewise.
20093 (finite_test_data): Likewise.
20094 (floor_test_data): Likewise.
20095 (fma_test_data): Likewise.
20096 (fma_towardzero_test_data): Likewise.
20097 (fma_downward_test_data): Likewise.
20098 (fma_upward_test_data): Likewise.
20099 (fmax_test_data): Likewise.
20100 (fmin_test_data): Likewise.
20101 (fmod_test_data): Likewise.
20102 (fpclassify_test_data): Likewise.
20103 (frexp_test_data): Likewise.
20104 (gamma_test_data): Likewise.
20105 (hypot_test_data): Likewise.
20106 (ilogb_test_data): Likewise.
20107 (isfinite_test_data): Likewise.
20108 (isgreater_test_data): Likewise.
20109 (isgreaterequal_test_data): Likewise.
20110 (isinf_test_data): Likewise.
20111 (isless_test_data): Likewise.
20112 (islessequal_test_data): Likewise.
20113 (islessgreater_test_data): Likewise.
20114 (isnan_test_data): Likewise.
20115 (isnormal_test_data): Likewise.
20116 (issignaling_test_data): Likewise.
20117 (isunordered_test_data): Likewise.
20118 (j0_test_data): Likewise.
20119 (j1_test_data): Likewise.
20120 (jn_test_data): Likewise.
20121 (ldexp_test_data): Likewise.
20122 (lgamma_test_data): Likewise.
20123 (lrint_test_data): Likewise.
20124 (lrint_tonearest_test_data): Likewise.
20125 (lrint_towardzero_test_data): Likewise.
20126 (lrint_downward_test_data): Likewise.
20127 (lrint_upward_test_data): Likewise.
20128 (llrint_test_data): Likewise.
20129 (llrint_tonearest_test_data): Likewise.
20130 (llrint_towardzero_test_data): Likewise.
20131 (llrint_downward_test_data): Likewise.
20132 (llrint_upward_test_data): Likewise.
20133 (log_test_data): Likewise.
20134 (log10_test_data): Likewise.
20135 (log1p_test_data): Likewise.
20136 (log2_test_data): Likewise.
20137 (logb_test_data): Likewise.
20138 (logb_downward_test_data): Likewise.
20139 (lround_test_data): Likewise.
20140 (llround_test_data): Likewise.
20141 (modf_test_data): Likewise.
20142 (nearbyint_test_data): Likewise.
20143 (nextafter_test_data): Likewise.
20144 (nexttoward_test_data): Likewise.
20145 (pow_test_data): Likewise.
20146 (pow_tonearest_test_data): Likewise.
20147 (pow_towardzero_test_data): Likewise.
20148 (pow_downward_test_data): Likewise.
20149 (pow_upward_test_data): Likewise.
20150 (remainder_test_data): Likewise.
20151 (remainder_tonearest_test_data): Likewise.
20152 (remainder_towardzero_test_data): Likewise.
20153 (remainder_downward_test_data): Likewise.
20154 (remainder_upward_test_data): Likewise.
20155 (remquo_test_data): Likewise.
20156 (rint_test_data): Likewise.
20157 (rint_tonearest_test_data): Likewise.
20158 (rint_towardzero_test_data): Likewise.
20159 (rint_downward_test_data): Likewise.
20160 (rint_upward_test_data): Likewise.
20161 (round_test_data): Likewise.
20162 (scalb_test_data): Likewise.
20163 (scalbn_test_data): Likewise.
20164 (scalbln_test_data): Likewise.
20165 (signbit_test_data): Likewise.
20166 (sin_test_data): Likewise.
20167 (sin_tonearest_test_data): Likewise.
20168 (sin_towardzero_test_data): Likewise.
20169 (sin_downward_test_data): Likewise.
20170 (sin_upward_test_data): Likewise.
20171 (sincos_test_data): Likewise.
20172 (sinh_test_data): Likewise.
20173 (sinh_tonearest_test_data): Likewise.
20174 (sinh_towardzero_test_data): Likewise.
20175 (sinh_downward_test_data): Likewise.
20176 (sinh_upward_test_data): Likewise.
20177 (sqrt_test_data): Likewise.
20178 (tan_test_data): Likewise.
20179 (tan_tonearest_test_data): Likewise.
20180 (tan_towardzero_test_data): Likewise.
20181 (tan_downward_test_data): Likewise.
20182 (tan_upward_test_data): Likewise.
20183 (tanh_test_data): Likewise.
20184 (tgamma_test_data): Likewise.
20185 (trunc_test_data): Likewise.
20186 (y0_test_data): Likewise.
20187 (y1_test_data): Likewise.
20188 (yn_test_data): Likewise.
20189 (significand_test_data): Likewise.
20191 * math/gen-libm-test.pl (@functions): Remove variable.
20192 (generate_testfile): Don't handle START and END lines.
20193 * math/libm-test.inc (START): New macro.
20195 (END_COMPLEX): Likewise.
20196 (acos_test): Use END macro without arguments.
20197 (acos_test_tonearest): Likewise.
20198 (acos_test_towardzero): Likewise.
20199 (acos_test_downward): Likewise.
20200 (acos_test_upward): Likewise.
20201 (acosh_test): Likewise.
20202 (asin_test): Likewise.
20203 (asin_test_tonearest): Likewise.
20204 (asin_test_towardzero): Likewise.
20205 (asin_test_downward): Likewise.
20206 (asin_test_upward): Likewise.
20207 (asinh_test): Likewise.
20208 (atan_test): Likewise.
20209 (atanh_test): Likewise.
20210 (atan2_test): Likewise.
20211 (cabs_test): Likewise.
20212 (cacos_test): Use END_COMPLEX macro without arguments.
20213 (cacosh_test): Likewise.
20214 (carg_test): Use END macro without arguments.
20215 (casin_test): Use END_COMPLEX macro without arguments.
20216 (casinh_test): Likewise.
20217 (catan_test): Likewise.
20218 (catanh_test): Likewise.
20219 (cbrt_test): Use END macro without arguments.
20220 (ccos_test): Use END_COMPLEX macro without arguments.
20221 (ccosh_test): Likewise.
20222 (ceil_test): Use END macro without arguments.
20223 (cexp_test): Use END_COMPLEX macro without arguments.
20224 (cimag_test): Use END macro without arguments.
20225 (clog_test): Use END_COMPLEX macro without arguments.
20226 (clog10_test): Likewise.
20227 (conj_test): Likewise.
20228 (copysign_test): Use END macro without arguments.
20229 (cos_test): Likewise.
20230 (cos_test_tonearest): Likewise.
20231 (cos_test_towardzero): Likewise.
20232 (cos_test_downward): Likewise.
20233 (cos_test_upward): Likewise.
20234 (cosh_test): Likewise.
20235 (cosh_test_tonearest): Likewise.
20236 (cosh_test_towardzero): Likewise.
20237 (cosh_test_downward): Likewise.
20238 (cosh_test_upward): Likewise.
20239 (cpow_test): Use END_COMPLEX macro without arguments.
20240 (cproj_test): Likewise.
20241 (creal_test): Use END macro without arguments.
20242 (csin_test): Use END_COMPLEX macro without arguments.
20243 (csinh_test): Likewise.
20244 (csqrt_test): Likewise.
20245 (ctan_test): Likewise.
20246 (ctan_test_tonearest): Likewise.
20247 (ctan_test_towardzero): Likewise.
20248 (ctan_test_downward): Likewise.
20249 (ctan_test_upward): Likewise.
20250 (ctanh_test): Likewise.
20251 (ctanh_test_tonearest): Likewise.
20252 (ctanh_test_towardzero): Likewise.
20253 (ctanh_test_downward): Likewise.
20254 (ctanh_test_upward): Likewise.
20255 (erf_test): Use END macro without arguments.
20256 (erfc_test): Likewise.
20257 (exp_test): Likewise.
20258 (exp_test_tonearest): Likewise.
20259 (exp_test_towardzero): Likewise.
20260 (exp_test_downward): Likewise.
20261 (exp_test_upward): Likewise.
20262 (exp10_test): Likewise.
20263 (exp2_test): Likewise.
20264 (expm1_test): Likewise.
20265 (fabs_test): Likewise.
20266 (fdim_test): Likewise.
20267 (finite_test): Likewise.
20268 (floor_test): Likewise.
20269 (fma_test): Likewise.
20270 (fma_test_towardzero): Likewise.
20271 (fma_test_downward): Likewise.
20272 (fma_test_upward): Likewise.
20273 (fmax_test): Likewise.
20274 (fmin_test): Likewise.
20275 (fmod_test): Likewise.
20276 (fpclassify_test): Likewise.
20277 (frexp_test): Likewise.
20278 (gamma_test): Likewise.
20279 (hypot_test): Likewise.
20280 (ilogb_test): Likewise.
20281 (isfinite_test): Likewise.
20282 (isgreater_test): Likewise.
20283 (isgreaterequal_test): Likewise.
20284 (isinf_test): Likewise.
20285 (isless_test): Likewise.
20286 (islessequal_test): Likewise.
20287 (islessgreater_test): Likewise.
20288 (isnan_test): Likewise.
20289 (isnormal_test): Likewise.
20290 (issignaling_test): Likewise.
20291 (isunordered_test): Likewise.
20292 (j0_test): Likewise.
20293 (j1_test): Likewise.
20294 (jn_test): Likewise.
20295 (ldexp_test): Likewise.
20296 (lgamma_test): Likewise.
20297 (lrint_test): Likewise.
20298 (lrint_test_tonearest): Likewise.
20299 (lrint_test_towardzero): Likewise.
20300 (lrint_test_downward): Likewise.
20301 (lrint_test_upward): Likewise.
20302 (llrint_test): Likewise.
20303 (llrint_test_tonearest): Likewise.
20304 (llrint_test_towardzero): Likewise.
20305 (llrint_test_downward): Likewise.
20306 (llrint_test_upward): Likewise.
20307 (log_test): Likewise.
20308 (log10_test): Likewise.
20309 (log1p_test): Likewise.
20310 (log2_test): Likewise.
20311 (logb_test): Likewise.
20312 (logb_test_downward): Likewise.
20313 (lround_test): Likewise.
20314 (llround_test): Likewise.
20315 (modf_test): Likewise.
20316 (nearbyint_test): Likewise.
20317 (nextafter_test): Likewise.
20318 (nexttoward_test): Likewise.
20319 (pow_test): Likewise.
20320 (pow_test_tonearest): Likewise.
20321 (pow_test_towardzero): Likewise.
20322 (pow_test_downward): Likewise.
20323 (pow_test_upward): Likewise.
20324 (remainder_test): Likewise.
20325 (remainder_test_tonearest): Likewise.
20326 (remainder_test_towardzero): Likewise.
20327 (remainder_test_downward): Likewise.
20328 (remainder_test_upward): Likewise.
20329 (remquo_test): Likewise.
20330 (rint_test): Likewise.
20331 (rint_test_tonearest): Likewise.
20332 (rint_test_towardzero): Likewise.
20333 (rint_test_downward): Likewise.
20334 (rint_test_upward): Likewise.
20335 (round_test): Likewise.
20336 (scalb_test): Likewise.
20337 (scalbn_test): Likewise.
20338 (scalbln_test): Likewise.
20339 (signbit_test): Likewise.
20340 (sin_test): Likewise.
20341 (sin_test_tonearest): Likewise.
20342 (sin_test_towardzero): Likewise.
20343 (sin_test_downward): Likewise.
20344 (sin_test_upward): Likewise.
20345 (sincos_test): Likewise.
20346 (sinh_test): Likewise.
20347 (sinh_test_tonearest): Likewise.
20348 (sinh_test_towardzero): Likewise.
20349 (sinh_test_downward): Likewise.
20350 (sinh_test_upward): Likewise.
20351 (sqrt_test): Likewise.
20352 (tan_test): Likewise.
20353 (tan_test_tonearest): Likewise.
20354 (tan_test_towardzero): Likewise.
20355 (tan_test_downward): Likewise.
20356 (tan_test_upward): Likewise.
20357 (tanh_test): Likewise.
20358 (tgamma_test): Likewise.
20359 (trunc_test): Likewise.
20360 (y0_test): Likewise.
20361 (y1_test): Likewise.
20362 (yn_test): Likewise.
20363 (significand_test): Likewise.
20365 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20368 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20370 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20373 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20374 __ppc_mdoio and __ppc_mdoom.
20375 * manual/platform.texi: Document new functions __ppc_yield,
20376 __ppc_mdoio and __ppc_mdoom.
20378 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20380 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20381 (main): Mention "tls" pseudo-hwcap is legacy.
20382 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20384 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20386 * math/gen-libm-test.pl (parse_args): Output only string of
20387 arguments as text for test name, not full call or descriptions of
20388 tests for extra outputs.
20389 (generate_testfile): Do not pass function name to parse_args.
20390 Generate this_func variable from START.
20391 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20393 (struct test_ff_f_data): Likewise.
20394 (test_ff_f_data_nexttoward): Likewise.
20395 (struct test_fi_f_data): Likewise.
20396 (struct test_fl_f_data): Likewise.
20397 (struct test_if_f_data): Likewise.
20398 (struct test_fff_f_data): Likewise.
20399 (struct test_c_f_data): Likewise.
20400 (struct test_f_f1_data): Likewise. Remove field extra_name.
20401 (struct test_fF_f1_data): Likewise.
20402 (struct test_ffI_f1_data): Likewise.
20403 (struct test_c_c_data): Rename test_name field to arg_str.
20404 (struct test_cc_c_data): Likewise.
20405 (struct test_f_i_data): Likewise.
20406 (struct test_ff_i_data): Likewise.
20407 (struct test_f_l_data): Likewise.
20408 (struct test_f_L_data): Likewise.
20409 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20411 (COMMON_TEST_SETUP): New macro.
20412 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20413 (COMMON_TEST_CLEANUP): Likewise.
20414 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20415 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20417 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20418 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20420 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20421 (RUN_TEST_fff_f): Take argument string. Call new setup and
20423 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20424 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20426 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20427 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20429 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20430 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20432 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20433 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20435 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20436 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20438 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20439 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20441 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20442 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20444 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20445 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20447 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20448 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20450 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20451 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20453 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20454 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20456 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20457 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20459 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20460 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20462 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20463 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20465 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20466 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20468 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20470 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20472 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20473 to _sifields.sigfault.
20474 (si_addr_lsb): Define new macro.
20475 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20479 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20482 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20484 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20486 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20487 loading the domain.
20489 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20491 * math/gen-libm-test.pl (parse_args): Do not include expected
20492 result in test name.
20493 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20496 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20497 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20502 * benchtests/Makefile: Sort function entries.
20504 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20505 tanh, asinh, acosh, atanh.
20506 * benchtests/acos-inputs: New file.
20507 * benchtests/acosh-inputs: New file.
20508 * benchtests/asin-inputs: New file.
20509 * benchtests/asinh-inputs: New file.
20510 * benchtests/atanh-inputs: New file.
20511 * benchtests/cosh-inputs: New file.
20512 * benchtests/log-inputs: New file.
20513 * benchtests/sinh-inputs: New file.
20514 * benchtests/tanh-inputs: New file.
20516 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20519 * posix/tst-getaddrinfo4.c: New test.
20520 * posix/Makefile (tests): Add it.
20522 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20525 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20526 when no services were used.
20527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20528 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20530 2013-05-21 Andreas Schwab <schwab@suse.de>
20533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20534 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20536 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20537 redundant variable declarations and reallocation of buffer when
20538 parsing as IPv6 address. Always set NSS status when called from
20539 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20540 buffer too small. Correct computation of needed size.
20541 * nss/Makefile (tests): Add test-digits-dots.
20542 * nss/test-digits-dots.c: New test.
20544 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20546 * benchtests/Makefile: Remove instructions for adding
20548 * benchtests/README: New file to explain how to execute and
20549 enhance the benchmark tests.
20551 2013-05-21 Andreas Schwab <schwab@suse.de>
20554 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20555 * setjmp/tst-sigsetjmp.c: New test.
20557 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20559 * sysdeps/x86_64/memset.S (memset): New implementation.
20560 (__bzero): Likewise.
20561 (__memset_tail): New function.
20563 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20565 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20566 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20567 __memcpy_sse2_unaligned ifunc selection.
20568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20569 Add memcpy-sse2-unaligned.S.
20570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20571 Add: __memcpy_sse2_unaligned.
20573 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20576 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20577 math_force_eval before restoring floating-point envrionment.
20578 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20581 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20583 (__nearbyintl): Use math_force_eval before restoring
20584 floating-point environment.
20585 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20587 * math/gen-libm-test.pl (special_functions): Remove.
20588 (parse_args): Don't handle TEST_extra. Handle functions with no
20590 * math/libm-test.inc (struct test_sincos_data): Replace with
20591 struct test_fFF_11_data.
20592 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20593 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20594 (sincos_test_data): Change element type to struct
20595 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20596 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20597 RUN_TEST_LOOP_sincos.
20598 * math/README.libm-test: Don't mention special handling of
20599 individual functions.
20600 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20602 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20607 * math/gen-libm-test.pl (get_variable): Remove function.
20608 (parse_args): Don't show pointer parameters to call in test
20609 names. Use "extra output N" in test names for extra outputs
20610 rather than naming variables.
20612 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20615 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20616 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20617 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20619 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20621 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20624 * math/gen-libm-test.pl (@tests): Remove variable.
20625 ($count): Likewise.
20626 (new_test): Remove function.
20627 (show_exceptions): New function.
20628 (special_functions): Use show_exceptions instead of new_test.
20629 (parse_args): Likewise.
20630 (generate_testfile): Pass only function name in generated call to
20631 print_max_error or print_complex_max_error.
20632 (get_ulps): Do not handle complex tests specially.
20633 (output_test): Rename to ...
20634 (get_all_ulps_for_test): ... this. Return a string rather than
20635 printing to a file. Require ulps to be present.
20636 (output_ulps): Generate arrays rather than #defines.
20637 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20638 (struct ulp_data): New type.
20639 (BUILD_COMPLEX_ULP): Remove macro.
20640 (compare_ulp_data): New function.
20641 (find_ulps): Likewise.
20642 (find_test_ulps): Likewise.
20643 (find_function_ulps): Likewise.
20644 (find_complex_function_ulps): Likewise.
20645 (print_max_error): Determine allowed ulps using
20646 find_function_ulps.
20647 (print_complex_max_error): Determine allowed ulps using
20648 find_complex_function_ulps.
20649 (check_float_internal): Determine max ulps using find_test_ulps.
20650 (check_float): Do not take max_ulp parameter. Update call to
20651 check_float_internal.
20652 (check_complex): Likewise.
20653 (check_int): Do not take max_ulp parameter.
20654 (check_long): Likewise.
20655 (check_bool): Likewise.
20656 (check_longlong): Likewise.
20657 (struct test_f_f_data): Remove max_ulp field.
20658 (struct test_ff_f_data): Likewise.
20659 (struct test_ff_f_data_nexttoward): Likewise.
20660 (struct test_fi_f_data): Likewise.
20661 (struct test_fl_f_data): Likewise.
20662 (struct test_if_f_data): Likewise.
20663 (struct test_fff_f_data): Likewise.
20664 (struct test_c_f_data): Likewise.
20665 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20666 (struct test_fF_f1_data): Likewise.
20667 (struct test_ffI_f1_data): Likewise.
20668 (struct test_c_c_data): Remove max_ulp field.
20669 (struct test_cc_c_data): Likewise.
20670 (struct test_f_i_data): Likewise.
20671 (struct test_ff_i_data): Likewise.
20672 (struct test_f_l_data): Likewise.
20673 (struct test_f_L_data): Likewise.
20674 (struct test_sincos_data): Likewise.
20675 (RUN_TEST_f_f): Do not handle ulps.
20676 (RUN_TEST_LOOP_f_f): Likewise.
20677 (RUN_TEST_2_f): Likewise.
20678 (RUN_TEST_LOOP_2_f): Likewise.
20679 (RUN_TEST_fff_f): Likewise.
20680 (RUN_TEST_LOOP_fff_f): Likewise.
20681 (RUN_TEST_c_f): Likewise.
20682 (RUN_TEST_LOOP_c_f): Likewise.
20683 (RUN_TEST_f_f1): Likewise.
20684 (RUN_TEST_LOOP_f_f1): Likewise.
20685 (RUN_TEST_fF_f1): Likewise.
20686 (RUN_TEST_LOOP_fF_f1): Likewise.
20687 (RUN_TEST_fI_f1): Likewise.
20688 (RUN_TEST_LOOP_fI_f1): Likewise.
20689 (RUN_TEST_ffI_f1): Likewise.
20690 (RUN_TEST_LOOP_ffI_f1): Likewise.
20691 (RUN_TEST_c_c): Likewise.
20692 (RUN_TEST_LOOP_c_c): Likewise.
20693 (RUN_TEST_cc_c): Likewise.
20694 (RUN_TEST_LOOP_cc_c): Likewise.
20695 (RUN_TEST_f_i): Likewise.
20696 (RUN_TEST_LOOP_f_i): Likewise.
20697 (RUN_TEST_f_i_tg): Likewise.
20698 (RUN_TEST_LOOP_f_i_tg): Likewise.
20699 (RUN_TEST_ff_i_tg): Likewise.
20700 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20701 (RUN_TEST_f_b): Likewise.
20702 (RUN_TEST_LOOP_f_b): Likewise.
20703 (RUN_TEST_f_b_tg): Likewise.
20704 (RUN_TEST_LOOP_f_b_tg): Likewise.
20705 (RUN_TEST_f_l): Likewise.
20706 (RUN_TEST_LOOP_f_l): Likewise.
20707 (RUN_TEST_f_L): Likewise.
20708 (RUN_TEST_LOOP_f_L): Likewise.
20709 (RUN_TEST_sincos): Likewise.
20710 (RUN_TEST_LOOP_sincos): Likewise.
20712 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20716 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20717 main case of finite arguments, set rounding mode to FE_TONEAREST
20718 and discard exceptions.
20719 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20721 (remainder_tonearest_test_data): New variable.
20722 (remainder_test_tonearest): New function.
20723 (remainder_towardzero_test_data): New variable.
20724 (remainder_test_towardzero): New function.
20725 (remainder_downward_test_data): New variable.
20726 (remainder_test_downward): New function.
20727 (remainder_upward_test_data): New variable.
20728 (remainder_test_upward): New function.
20729 (main): Call the new test functions.
20731 * math/libm-test.inc (struct test_f_f1_data): Remove field
20733 (struct test_fF_f1_data): Likewise.
20734 (struct test_ffI_f1_data): Likewise.
20735 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20736 based on value of EXTRA_EXPECTED.
20737 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20738 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20739 EXTRA_VAR based on value of EXTRA_EXPECTED.
20740 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20741 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20742 EXTRA_VAR based on value of EXTRA_EXPECTED.
20743 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20744 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20745 EXTRA_VAR based on value of EXTRA_EXPECTED.
20746 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20747 * math/gen-libm-test.pl (parse_args): Don't output initializers
20748 for extra output values.
20750 * math/libm-test.inc (check_int): Expect result to be exactly
20751 equal to expected value and do not handle ulps.
20752 (check_long): Likewise.
20753 (check_longlong): Likewise.
20755 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20757 (cimag_test_data): Likewise.
20758 (conj_test_data): Likewise.
20759 (copysign_test_data): Likewise.
20760 (cproj_test_data): Likewise.
20761 (creal_test_data): Likewise.
20762 (fabs_test_data): Likewise.
20763 (fdim_test_data): Likewise.
20764 (finite_test_data): Likewise.
20765 (floor_test_data): Likewise.
20766 (fmax_test_data): Likewise.
20767 (fmin_test_data): Likewise.
20768 (fmod_test_data): Likewise.
20769 (fpclassify_test_data): Likewise.
20770 (frexp_test_data): Likewise.
20771 (ilogb_test_data): Likewise.
20772 (isfinite_test_data): Likewise.
20773 (isgreater_test_data): Likewise.
20774 (isgreaterequal_test_data): Likewise.
20775 (isinf_test_data): Likewise.
20776 (isless_test_data): Likewise.
20777 (islessequal_test_data): Likewise.
20778 (islessgreater_test_data): Likewise.
20779 (isnan_test_data): Likewise.
20780 (isnormal_test_data): Likewise.
20781 (issignaling_test_data): Likewise.
20782 (isunordered_test_data): Likewise.
20783 (ldexp_test_data): Likewise.
20784 (lrint_test_data): Likewise.
20785 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20786 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20787 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20788 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20789 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20790 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20792 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20793 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20794 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20795 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20797 (lrint_downward_test_data): Test for "inexact" exceptions.
20798 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20799 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20800 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20802 (lrint_upward_test_data): Test for "inexact" exceptions.
20803 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20805 (llrint_test_data): Test for "inexact" exceptions.
20806 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20807 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20808 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20809 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20810 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20811 (llrint_downward_test_data): Test for "inexact" exceptions.
20812 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20813 (llrint_upward_test_data): Test for "inexact" exceptions.
20814 (logb_test_data): Likewise.
20815 (logb_downward_test_data): Likewise.
20816 (nextafter_test_data): Likewise.
20817 (nexttoward_test_data): Likewise.
20818 (remainder_test_data): Likewise.
20819 (remquo_test_data): Likewise.
20820 (scalbn_test_data): Likewise.
20821 (scalbln_test_data): Likewise.
20822 (signbit_test_data): Likewise.
20823 (sqrt_test_data): Likewise.
20824 (significand_test_data): Likewise.
20826 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20829 * benchtests/bench-modf.c (struct args): Mark arg0 as
20831 * scripts/bench.pl: Mark members of struct args as volatile.
20833 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20836 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20837 negative infinity on POWER6 or lower.
20838 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20840 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20843 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20844 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20845 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20846 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20847 (_FP_SETQNAN): New macro.
20848 (_FP_SETQNAN_SEMIRAW): Likewise.
20849 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20850 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20851 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20852 (FP_EXTEND): Use _FP_FRAC_SNANP.
20853 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20854 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20856 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20858 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20861 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20863 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20864 with DIVIDE_BY_ZERO_EXCEPTION.
20865 (gamma_test_data): Likewise.
20866 (lgamma_test_data): Likewise.
20867 (log_test_data): Likewise.
20868 (log10_test_data): Likewise.
20869 (log2_test_data): Likewise.
20870 (tgamma_test_data): Likewise.
20872 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20873 (acos_test_tonearest): Likewise.
20874 (acos_test_towardzero): Likewise.
20875 (acos_test_downward): Likewise.
20876 (acos_test_upward): Likewise.
20877 (acosh_test): Likewise.
20878 (asin_test): Likewise.
20879 (asin_test_tonearest): Likewise.
20880 (asin_test_towardzero): Likewise.
20881 (asin_test_downward): Likewise.
20882 (asin_test_upward): Likewise.
20883 (asinh_test): Likewise.
20884 (atan_test): Likewise.
20885 (atanh_test): Likewise.
20886 (atan2_test): Likewise.
20887 (cabs_test): Likewise.
20888 (cacos_test): Likewise.
20889 (cacosh_test): Likewise.
20890 (casin_test): Likewise.
20891 (casinh_test): Likewise.
20892 (catan_test): Likewise.
20893 (catanh_test): Likewise.
20894 (cbrt_test): Likewise.
20895 (ccos_test): Likewise.
20896 (ccosh_test): Likewise.
20897 (cexp_test): Likewise.
20898 (clog_test): Likewise.
20899 (clog10_test): Likewise.
20900 (cos_test): Likewise.
20901 (cos_test_tonearest): Likewise.
20902 (cos_test_towardzero): Likewise.
20903 (cos_test_downward): Likewise.
20904 (cos_test_upward): Likewise.
20905 (cosh_test): Likewise.
20906 (cosh_test_tonearest): Likewise.
20907 (cosh_test_towardzero): Likewise.
20908 (cosh_test_downward): Likewise.
20909 (cosh_test_upward): Likewise.
20910 (cpow_test): Likewise.
20911 (csin_test): Likewise.
20912 (csinh_test): Likewise.
20913 (csqrt_test): Likewise.
20914 (ctan_test): Likewise.
20915 (ctan_test_tonearest): Likewise.
20916 (ctan_test_towardzero): Likewise.
20917 (ctan_test_downward): Likewise.
20918 (ctan_test_upward): Likewise.
20919 (ctanh_test): Likewise.
20920 (ctanh_test_tonearest): Likewise.
20921 (ctanh_test_towardzero): Likewise.
20922 (ctanh_test_downward): Likewise.
20923 (ctanh_test_upward): Likewise.
20924 (erf_test): Likewise.
20925 (erfc_test): Likewise.
20926 (exp_test): Likewise.
20927 (exp_test_tonearest): Likewise.
20928 (exp_test_towardzero): Likewise.
20929 (exp_test_downward): Likewise.
20930 (exp_test_upward): Likewise.
20931 (exp10_test): Likewise.
20932 (exp2_test): Likewise.
20933 (expm1_test): Likewise.
20934 (fmod_test): Likewise.
20935 (gamma_test): Likewise.
20936 (hypot_test): Likewise.
20937 (j0_test): Likewise.
20938 (j1_test): Likewise.
20939 (jn_test): Likewise.
20940 (lgamma_test): Likewise.
20941 (log_test): Likewise.
20942 (log10_test): Likewise.
20943 (log1p_test): Likewise.
20944 (log2_test): Likewise.
20945 (logb_test_downward): Likewise.
20946 (pow_test): Likewise.
20947 (pow_test_tonearest): Likewise.
20948 (pow_test_towardzero): Likewise.
20949 (pow_test_downward): Likewise.
20950 (pow_test_upward): Likewise.
20951 (remainder_test): Likewise.
20952 (remquo_test): Likewise.
20953 (sin_test): Likewise.
20954 (sin_test_tonearest): Likewise.
20955 (sin_test_towardzero): Likewise.
20956 (sin_test_downward): Likewise.
20957 (sin_test_upward): Likewise.
20958 (sincos_test): Likewise.
20959 (sinh_test): Likewise.
20960 (sinh_test_tonearest): Likewise.
20961 (sinh_test_towardzero): Likewise.
20962 (sinh_test_downward): Likewise.
20963 (sinh_test_upward): Likewise.
20964 (sqrt_test): Likewise.
20965 (tan_test): Likewise.
20966 (tan_test_tonearest): Likewise.
20967 (tan_test_towardzero): Likewise.
20968 (tan_test_downward): Likewise.
20969 (tan_test_upward): Likewise.
20970 (tanh_test): Likewise.
20971 (tgamma_test): Likewise.
20972 (y0_test): Likewise.
20973 (y1_test): Likewise.
20974 (yn_test): Likewise.
20976 * math/gen-libm-test.pl (adjust_arg): Remove function.
20977 (special_function): Remove argument $in_func. Only handle
20978 generating output for tables of tests, not inside functions.
20979 (parse_args): Likewise.
20980 (generate_testfile): Remove variable $in_func. Update call to
20982 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20983 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20984 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20985 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20986 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20987 (MAX_VALUE_INIT): Rename macro to max_value.
20988 (MIN_VALUE_INIT): Rename macro to min_value.
20989 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20990 (plus_zero): Remove variable.
20991 (minus_zero): Likewise.
20992 (plus_infty): Likewise.
20993 (minus_infty): Likewise.
20994 (qnan_value): Likewise.
20995 (max_value): Likewise.
20996 (min_value): Likewise.
20997 (min_subnorm_value): Likewise.
20999 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21001 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21002 uint64_t or uint32_t usage.
21003 * crypt/sha256-block.c: Likewise.
21004 * crypt/sha256-crypt.c: Likewise.
21005 * crypt/sha256.c: Likewise.
21006 * crypt/sha512-block.c: Likewise.
21007 * crypt/sha512-crypt.c: Likewise.
21008 * crypt/sha512.c: Likewise.
21009 * debug/backtrace-tst.c: Likewise.
21010 * debug/pcprofiledump.c: Likewise.
21011 * elf/cache.c: Likewise.
21012 * elf/dl-cache.c: Likewise.
21013 * elf/dl-misc.c: Likewise.
21014 * elf/dl-profile.c: Likewise.
21015 * elf/dl-support.c: Likewise.
21016 * elf/ldconfig.c: Likewise.
21017 * elf/sprof.c: Likewise.
21018 * iconv/dummy-repertoire.c: Likewise.
21019 * iconv/iconv_charmap.c: Likewise.
21020 * iconv/skeleton.c: Likewise.
21021 * iconvdata/8bit-generic.c: Likewise.
21022 * iconvdata/cp737.h: Likewise.
21023 * iconvdata/cp775.h: Likewise.
21024 * iconvdata/ibm1008.h: Likewise.
21025 * iconvdata/ibm1025.h: Likewise.
21026 * iconvdata/ibm1046.h: Likewise.
21027 * iconvdata/ibm1097.h: Likewise.
21028 * iconvdata/ibm1112.h: Likewise.
21029 * iconvdata/ibm1122.h: Likewise.
21030 * iconvdata/ibm1123.h: Likewise.
21031 * iconvdata/ibm1124.h: Likewise.
21032 * iconvdata/ibm1129.h: Likewise.
21033 * iconvdata/ibm1130.h: Likewise.
21034 * iconvdata/ibm1132.h: Likewise.
21035 * iconvdata/ibm1133.h: Likewise.
21036 * iconvdata/ibm1137.h: Likewise.
21037 * iconvdata/ibm1140.h: Likewise.
21038 * iconvdata/ibm1141.h: Likewise.
21039 * iconvdata/ibm1142.h: Likewise.
21040 * iconvdata/ibm1143.h: Likewise.
21041 * iconvdata/ibm1144.h: Likewise.
21042 * iconvdata/ibm1145.h: Likewise.
21043 * iconvdata/ibm1146.h: Likewise.
21044 * iconvdata/ibm1147.h: Likewise.
21045 * iconvdata/ibm1148.h: Likewise.
21046 * iconvdata/ibm1149.h: Likewise.
21047 * iconvdata/ibm1153.h: Likewise.
21048 * iconvdata/ibm1154.h: Likewise.
21049 * iconvdata/ibm1155.h: Likewise.
21050 * iconvdata/ibm1156.h: Likewise.
21051 * iconvdata/ibm1157.h: Likewise.
21052 * iconvdata/ibm1158.h: Likewise.
21053 * iconvdata/ibm1160.h: Likewise.
21054 * iconvdata/ibm1161.h: Likewise.
21055 * iconvdata/ibm1162.h: Likewise.
21056 * iconvdata/ibm1163.h: Likewise.
21057 * iconvdata/ibm1164.h: Likewise.
21058 * iconvdata/ibm1166.h: Likewise.
21059 * iconvdata/ibm1167.h: Likewise.
21060 * iconvdata/ibm12712.h: Likewise.
21061 * iconvdata/ibm1390.h: Likewise.
21062 * iconvdata/ibm1399.h: Likewise.
21063 * iconvdata/ibm16804.h: Likewise.
21064 * iconvdata/ibm4517.h: Likewise.
21065 * iconvdata/ibm4899.h: Likewise.
21066 * iconvdata/ibm4909.h: Likewise.
21067 * iconvdata/ibm4971.h: Likewise.
21068 * iconvdata/ibm5347.h: Likewise.
21069 * iconvdata/ibm803.h: Likewise.
21070 * iconvdata/ibm856.h: Likewise.
21071 * iconvdata/ibm901.h: Likewise.
21072 * iconvdata/ibm902.h: Likewise.
21073 * iconvdata/ibm9030.h: Likewise.
21074 * iconvdata/ibm9066.h: Likewise.
21075 * iconvdata/ibm921.h: Likewise.
21076 * iconvdata/ibm922.h: Likewise.
21077 * iconvdata/ibm9448.h: Likewise.
21078 * iconvdata/isiri-3342.h: Likewise.
21079 * iconvdata/jis0201.h: Likewise.
21080 * include/link.h: Likewise.
21081 * include/netdb.h: Likewise.
21082 * inet/check_native.c: Likewise.
21083 * inet/check_pf.c: Likewise.
21084 * inet/getipv4sourcefilter.c: Likewise.
21085 * inet/getnameinfo.c: Likewise.
21086 * inet/getsourcefilter.c: Likewise.
21087 * inet/htonl.c: Likewise.
21088 * inet/setipv4sourcefilter.c: Likewise.
21089 * inet/setsourcefilter.c: Likewise.
21090 * inet/test-inet6_opt.c: Likewise.
21091 * inet/tst-network.c: Likewise.
21092 * locale/C-collate.c: Likewise.
21093 * locale/C-ctype.c: Likewise.
21094 * locale/C-time.c: Likewise.
21095 * locale/C-translit.h: Likewise.
21096 * locale/loadarchive.c: Likewise.
21097 * locale/programs/3level.h: Likewise.
21098 * locale/programs/charmap.c: Likewise.
21099 * locale/programs/charmap.h: Likewise.
21100 * locale/programs/ld-address.c: Likewise.
21101 * locale/programs/ld-collate.c: Likewise.
21102 * locale/programs/ld-ctype.c: Likewise.
21103 * locale/programs/ld-identification.c: Likewise.
21104 * locale/programs/ld-measurement.c: Likewise.
21105 * locale/programs/ld-messages.c: Likewise.
21106 * locale/programs/ld-monetary.c: Likewise.
21107 * locale/programs/ld-name.c: Likewise.
21108 * locale/programs/ld-numeric.c: Likewise.
21109 * locale/programs/ld-paper.c: Likewise.
21110 * locale/programs/ld-telephone.c: Likewise.
21111 * locale/programs/ld-time.c: Likewise.
21112 * locale/programs/linereader.c: Likewise.
21113 * locale/programs/locale.c: Likewise.
21114 * locale/programs/locarchive.c: Likewise.
21115 * locale/programs/locfile.h: Likewise.
21116 * locale/programs/repertoire.c: Likewise.
21117 * locale/programs/simple-hash.c: Likewise.
21118 * locale/programs/simple-hash.h: Likewise.
21119 * malloc/memusage.c: Likewise.
21120 * malloc/memusagestat.c: Likewise.
21121 * nis/nis_defaults.c: Likewise.
21122 * nis/nis_hash.c: Likewise.
21123 * nis/nis_print.c: Likewise.
21124 * nis/nis_xdr.c: Likewise.
21125 * nscd/connections.c: Likewise.
21126 * nscd/hstcache.c: Likewise.
21127 * nscd/nscd_gethst_r.c: Likewise.
21128 * nscd/nscd_getserv_r.c: Likewise.
21129 * nscd/nscd_helper.c: Likewise.
21130 * nscd/servicescache.c: Likewise.
21131 * nss/makedb.c: Likewise.
21132 * nss/nss_db/db-XXX.c: Likewise.
21133 * nss/nss_db/db-initgroups.c: Likewise.
21134 * nss/nss_db/db-netgrp.c: Likewise.
21135 * nss/nss_files/files-network.c: Likewise.
21136 * nss/nss_files/files-parse.c: Likewise.
21137 * posix/bug-regex5.c: Likewise.
21138 * posix/fnmatch_loop.c: Likewise.
21139 * posix/regcomp.c: Likewise.
21140 * posix/regexec.c: Likewise.
21141 * posix/tst-rfc3484-2.c: Likewise.
21142 * posix/tst-rfc3484-3.c: Likewise.
21143 * posix/tst-rfc3484.c: Likewise.
21144 * resolv/nss_dns/dns-canon.c: Likewise.
21145 * resolv/nss_dns/dns-network.c: Likewise.
21146 * resolv/res_init.c: Likewise.
21147 * resolv/res_mkquery.c: Likewise.
21148 * resolv/tst-aton.c: Likewise.
21149 * stdlib/cxa_atexit.c: Likewise.
21150 * stdlib/cxa_finalize.c: Likewise.
21151 * stdlib/gen-fpioconst.c: Likewise.
21152 * stdlib/strtol_l.c: Likewise.
21153 * string/tst-endian.c: Likewise.
21154 * sunrpc/auth_des.c: Likewise.
21155 * sunrpc/clnt_udp.c: Likewise.
21156 * sunrpc/rtime.c: Likewise.
21157 * sunrpc/svcauth_des.c: Likewise.
21158 * sunrpc/xdr.c: Likewise.
21159 * sunrpc/xdr_intXX_t.c: Likewise.
21160 * sunrpc/xdr_rec.c: Likewise.
21161 * sysdeps/generic/ldconfig.h: Likewise.
21162 * sysdeps/generic/ldsodefs.h: Likewise.
21163 * sysdeps/generic/memusage.h: Likewise.
21164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21174 * sysdeps/posix/getaddrinfo.c: Likewise.
21175 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21176 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21177 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21178 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21179 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21180 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21181 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21182 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21183 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21185 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21186 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21187 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21188 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21189 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21190 * sysdeps/x86_64/dl-tls.h: Likewise.
21191 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21192 * time/alt_digit.c: Likewise.
21193 * time/era.c: Likewise.
21194 * wcsmbs/tst-c16c32-1.c: Likewise.
21196 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21198 * math/libm-test.inc (struct test_sincos_data): New type.
21199 (RUN_TEST_LOOP_sincos): New macro.
21200 (sincos_test_data): New variable.
21201 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21203 2013-05-16 Richard Henderson <rth@redhat.com>
21205 * math/atest-exp2.c (LIMB64): New macro.
21206 (CONSTSZ): New macro.
21207 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21209 (print_mpn_fp): ... to function scope.
21210 (read_mpn_hex): Remove.
21211 (get_log2): Remove.
21212 (exp2_mpn): Use mp_log2.
21213 (main): Use mp_exp1.
21215 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21217 * math/libm-test.inc: Remove comment about not testing "inexact"
21219 (INEXACT_EXCEPTION): New macro.
21220 (NO_INEXACT_EXCEPTION): Likewise.
21221 (INVALID_EXCEPTION_OK): Update value.
21222 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21223 (OVERFLOW_EXCEPTION_OK): Likewise.
21224 (UNDERFLOW_EXCEPTION_OK): Likewise.
21225 (IGNORE_ZERO_INF_SIGN): Likewise.
21226 (ERRNO_UNCHANGED): Likewise.
21227 (ERRNO_EDOM): Likewise.
21228 (ERRNO_ERANGE): Likewise.
21229 (test_exceptions): Handle testing "inexact" exceptions.
21230 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21231 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21232 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21233 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21235 (rint_towardzero_test_data): Likewise.
21236 (rint_downward_test_data): Likewise.
21237 (rint_upward_test_data): Likewise.
21239 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21240 with OVERFLOW_EXCEPTION.
21241 (exp10_test_data): Likewise.
21242 (exp2_test_data): Likewise.
21243 (expm1_test_data): Likewise.
21244 (lgamma_test_data): Likewise.
21245 (pow_test_data): Likewise.
21246 (tgamma_test_data): Likewise.
21247 (yn_test_data): Remove duplicate test of overflow.
21249 * math/libm-test.inc (struct test_cc_c_data): New type.
21250 (RUN_TEST_LOOP_cc_c): New macro.
21251 (cpow_test_data): New variable.
21252 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21254 * math/libm-test.inc (struct test_f_L_data): New type.
21255 (RUN_TEST_LOOP_f_L): New macro.
21256 (llrint_test_data): New variable.
21257 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21258 (llrint_tonearest_test_data): New variable.
21259 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21260 (llrint_towardzero_test_data): New variable.
21261 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21262 (llrint_downward_test_data): New variable.
21263 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21264 (llrint_upward_test_data): New variable.
21265 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21266 (llround_test_data): New variable.
21267 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21269 2013-05-13 Peter Collingbourne <pcc@google.com>
21271 * math/atest-exp2.c (get_log2): Remove const attribute.
21273 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21275 * math/libm-test.inc (struct test_f_l_data): New type.
21276 (RUN_TEST_LOOP_f_l): New macro.
21277 (lrint_test_data): New variable.
21278 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21279 (lrint_tonearest_test_data): New variable.
21280 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21281 (lrint_towardzero_test_data): New variable.
21282 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21283 (lrint_downward_test_data): New variable.
21284 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21285 (lrint_upward_test_data): New variable.
21286 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21287 (lround_test_data): New variable.
21288 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21290 2013-05-15 Peter Collingbourne <pcc@google.com>
21292 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21293 (EXTRACT_WORDS64) Use where appropriate.
21294 (INSERT_WORDS64) Likewise.
21296 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21297 constraints with x constraints.
21298 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21300 * malloc/obstack.c (_obstack_compat): Add initializer.
21302 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21305 si_trapno and add si_addr_lsb to _sifields.sigfault.
21306 (si_trapno): Remove macro.
21307 (si_addr_lsb): Define new macro.
21308 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21310 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21312 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21313 instead of TEST_f_l.
21314 (llrint_test_tonearest): Likewise.
21315 (llrint_test_towardzero): Likewise.
21316 (llrint_test_downward): Likewise.
21317 (llrint_test_upward): Likewise.
21318 (llround_test): Likewise.
21320 * math/libm-test.inc (struct test_f_i_data): Add comment.
21321 (RUN_TEST_LOOP_f_b): New macro.
21322 (RUN_TEST_LOOP_f_b_tg): Likewise.
21323 (finite_test_data): New variable.
21324 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21325 (isfinite_test_data): New variable.
21326 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21327 (isinf_test_data): New variable.
21328 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21329 (isnan_test_data): New variable.
21330 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21331 (isnormal_test_data): New variable.
21332 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21333 (issignaling_test_data): New variable.
21334 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21335 (signbit_test_data): New variable.
21336 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21338 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21339 with INVALID_EXCEPTION.
21340 (acosh_test_data): Likewise.
21341 (asin_test_data): Likewise.
21342 (atanh_test_data): Likewise.
21343 (fmod_test_data): Likewise.
21344 (log_test_data): Likewise.
21345 (log10_test_data): Likewise.
21346 (log2_test_data): Likewise.
21347 (pow_test_data): Likewise.
21348 (sqrt_test_data): Likewise.
21349 (y0_test_data): Likewise.
21350 (y1_test_data): Likewise.
21351 (yn_test_data): Likewise.
21353 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21356 * math/libm-test.inc (struct test_ff_i_data): New type.
21357 (RUN_TEST_LOOP_ff_i_tg): New macro.
21358 (isgreater_test_data): New variable.
21359 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21360 (isgreaterequal_test_data): New variable.
21361 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21362 (isless_test_data): New variable.
21363 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21364 (islessequal_test_data): New variable.
21365 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21366 (islessgreater_test_data): New variable.
21367 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21368 (isunordered_test_data): New variable.
21369 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21371 2013-05-14 David S. Miller <davem@davemloft.net>
21373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21375 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21377 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21379 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21381 (struct test_f_i_data): Change type of max_ulp to int.
21383 * math/libm-test.inc (test_ffI_f1_data): New type.
21384 (RUN_TEST_LOOP_ffI_f1): New macro.
21385 (remquo_test_data): New variable.
21386 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21388 * setjmp/tst-setjmp-fp.c: New file.
21389 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21390 (link-libm): New variable.
21391 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21393 * math/libm-test.inc (struct test_f_i_data): New type.
21394 (RUN_TEST_LOOP_f_i): New macro.
21395 (RUN_TEST_LOOP_f_i_tg): Likewise.
21396 (fpclassify_test_data): New variable.
21397 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21398 (ilogb_test_data): New variable.
21399 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21401 * math/libm-test.inc (scalbln_test): Correct function name in END
21404 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21405 (RUN_TEST_LOOP_fI_f1): New macro.
21406 (frexp_test_data): New variable.
21407 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21409 * math/libm-test.inc (struct test_fF_f1_data): New type.
21410 (RUN_TEST_LOOP_fF_f1): New macro.
21411 (modf_test_data): New variable.
21412 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21414 * math/libm-test.inc (struct test_f_f1_data): New type.
21415 (RUN_TEST_LOOP_f_f1): New macro.
21416 (gamma_test_data): New variable.
21417 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21418 (lgamma_test_data): New variable.
21419 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21421 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21424 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21425 (main): Comment "tls" pseudo-hwcap.
21427 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21429 * math/libm-test.inc (struct test_fl_f_data): New type.
21430 (RUN_TEST_LOOP_fl_f): New variable.
21431 (scalbln_test_data): New variable.
21432 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21434 * math/libm-test.inc (struct test_fi_f_data): New type.
21435 (RUN_TEST_LOOP_fi_f): New macro.
21436 (ldexp_test_data): New variable.
21437 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21438 (scalbn_test_data): New variable.
21439 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21441 * math/libm-test.inc (struct test_c_f_data): New type.
21442 (RUN_TEST_LOOP_c_f): New macro.
21443 (cabs_test_data): New variable.
21444 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21445 (carg_test_data): New variable.
21446 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21447 (cimag_test_data): New variable.
21448 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21449 (creal_test_data): New variable.
21450 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21452 * math/libm-test.inc (struct test_if_f_data): New type.
21453 (RUN_TEST_LOOP_if_f): New macro.
21454 (jn_test_data): New variable.
21455 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21456 (yn_test_data): New variable.
21457 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21459 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21461 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21463 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21464 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21466 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21468 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21469 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21470 (bench-deps): Add bench-timing.h.
21471 * benchtests-bench-skeleton.c: Include bench-timing.h.
21472 (main): Use TIMING_* macros instead of clock_gettime.
21473 * benchtests/bench-timing.h: New file.
21476 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21477 Renamed from _LIB_VERSION.
21478 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21480 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21482 * math/libm-test.inc (struct test_fff_f_data): New type.
21483 (RUN_TEST_LOOP_fff_f): New macro.
21484 (fma_test_data): New variable.
21485 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21486 (fma_towardzero_test_data): New variable.
21487 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21488 (fma_downward_test_data): New variable.
21489 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21490 (fma_upward_test_data): New variable.
21491 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21493 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21494 (struct test_c_c_data): New type.
21495 (RUN_TEST_LOOP_c_c): New macro.
21496 (cacos_test_data): New variable.
21497 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21498 (cacosh_test_data): New variable.
21499 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21500 (casin_test_data): New variable.
21501 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21502 (casinh_test_data): New variable.
21503 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21504 (catan_test_data): New variable.
21505 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21506 (catanh_test_data): New variable.
21507 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21508 (ccos_test_data): New variable.
21509 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21510 (ccosh_test_data): New variable.
21511 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21512 (cexp_test_data): New variable.
21513 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21514 (clog_test_data): New variable.
21515 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21516 (clog10_test_data): New variable.
21517 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21518 (conj_test_data): New variable.
21519 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21520 (cproj_test_data): New variable.
21521 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21522 (csin_test_data): New variable.
21523 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21524 (csinh_test_data): New variable.
21525 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21526 (csqrt_test_data): New variable.
21527 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21528 (ctan_test_data): New variable.
21529 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21530 (ctan_tonearest_test_data): New variable.
21531 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21532 (ctan_towardzero_test_data): New variable.
21533 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21534 (ctan_downward_test_data): New variable.
21535 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21536 (ctan_upward_test_data): New variable.
21537 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21538 (ctanh_test_data): New variable.
21539 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21540 (ctanh_tonearest_test_data): New variable.
21541 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21542 (ctanh_towardzero_test_data): New variable.
21543 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21544 (ctanh_downward_test_data): New variable.
21545 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21546 (ctanh_upward_test_data): New variable.
21547 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21548 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21551 * math/libm-test.inc (struct test_ff_f_data): New type.
21552 (struct test_ff_f_data_nexttoward): Likewise.
21553 (RUN_TEST_LOOP_2_f): New macro.
21554 (RUN_TEST_LOOP_ff_f): Likewise.
21555 (atan2_test_data): New variable.
21556 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21557 (copysign_test_data): New variable.
21558 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21559 (fdim_test_data): New variable.
21560 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21561 (fmax_test_data): New variable.
21562 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21563 (fmin_test_data): New variable.
21564 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21565 (fmod_test_data): New variable.
21566 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21567 (hypot_test_data): New variable.
21568 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21569 (nextafter_test_data): New variable.
21570 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21571 (nexttoward_test_data): New variable.
21572 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21573 (pow_test_data): New variable.
21574 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21575 (pow_tonearest_test_data): New variable.
21576 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21577 (pow_towardzero_test_data): New variable.
21578 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21579 (pow_downward_test_data): New variable.
21580 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21581 (pow_upward_test_data): New variable.
21582 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21583 (remainder_test_data): New variable.
21584 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21585 (scalb_test_data): New variable.
21586 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21587 * sysdeps/i386/fpu/libm-test-ulps: Update.
21589 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21591 * math/libm-test.inc (fma_test): Use max_value instead of local
21593 (nextafter_test): Likewise.
21595 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21596 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21597 (acos_downward_test_data): New variable.
21598 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21599 (acos_upward_test_data): New variable.
21600 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21601 (acosh_test_data): New variable.
21602 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21603 (asin_test_data): New variable.
21604 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21605 (asin_tonearest_test_data): New variable.
21606 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21607 (asin_towardzero_test_data): New variable.
21608 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21609 (asin_downward_test_data): New variable.
21610 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21611 (asin_upward_test_data): New variable.
21612 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21613 (asinh_test_data): New variable.
21614 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21615 (atan_test_data): New variable.
21616 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21617 (atanh_test_data): New variable.
21618 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21619 (cbrt_test_data): New variable.
21620 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21621 (ceil_test_data): New variable.
21622 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21623 (cos_test_data): New variable.
21624 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21625 (cos_tonearest_test_data): New variable.
21626 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21627 (cos_towardzero_test_data): New variable.
21628 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21629 (cos_downward_test_data): New variable.
21630 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21631 (cos_upward_test_data): New variable.
21632 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21633 (cosh_test_data): New variable.
21634 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21635 (cosh_tonearest_test_data): New variable.
21636 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21637 (cosh_towardzero_test_data): New variable.
21638 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21639 (cosh_downward_test_data): New variable.
21640 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21641 (cosh_upward_test_data): New variable.
21642 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21643 (erf_test_data): New variable.
21644 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21645 (erfc_test_data): New variable.
21646 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21647 (exp_test_data): New variable.
21648 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21649 (exp_tonearest_test_data): New variable.
21650 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21651 (exp_towardzero_test_data): New variable.
21652 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21653 (exp_downward_test_data): New variable.
21654 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21655 (exp_upward_test_data): New variable.
21656 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21657 (exp10_test_data): New variable.
21658 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21659 (exp2_test_data): New variable.
21660 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21661 (expm1_test_data): New variable.
21662 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21663 (fabs_test_data): New variable.
21664 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21665 (floor_test_data): New variable.
21666 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21667 (j0_test_data): New variable.
21668 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21669 (j1_test_data): New variable.
21670 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21671 (log_test_data): New variable.
21672 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21673 (log10_test_data): New variable.
21674 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21675 (log1p_test_data): New variable.
21676 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21677 (log2_test_data): New variable.
21678 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21679 (logb_test_data): New variable.
21680 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21681 (logb_downward_test_data): New variable.
21682 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21683 (nearbyint_test_data): New variable.
21684 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21685 (rint_test_data): New variable.
21686 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21687 (rint_tonearest_test_data): New variable.
21688 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21689 (rint_towardzero_test_data): New variable.
21690 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21691 (rint_downward_test_data): New variable.
21692 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21693 (rint_upward_test_data): New variable.
21694 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21695 (round_test_data): New variable.
21696 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21697 (sin_test_data): New variable.
21698 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21699 (sin_tonearest_test_data): New variable.
21700 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21701 (sin_towardzero_test_data): New variable.
21702 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21703 (sin_downward_test_data): New variable.
21704 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21705 (sin_upward_test_data): New variable.
21706 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21707 (sinh_test_data): New variable.
21708 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21709 (sinh_tonearest_test_data): New variable.
21710 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21711 (sinh_towardzero_test_data): New variable.
21712 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21713 (sinh_downward_test_data): New variable.
21714 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21715 (sinh_upward_test_data): New variable.
21716 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21717 (sqrt_test_data): New variable.
21718 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21719 (tan_test_data): New variable.
21720 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21721 (tan_tonearest_test_data): New variable.
21722 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21723 (tan_towardzero_test_data): New variable.
21724 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21725 (tan_downward_test_data): New variable.
21726 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21727 (tan_upward_test_data): New variable.
21728 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21729 (tanh_test_data): New variable.
21730 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21731 (tgamma_test_data): New variable.
21732 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21733 (trunc_test_data): New variable.
21734 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21735 (y0_test_data): New variable.
21736 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21737 (y1_test_data): New variable.
21738 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21739 (significand_test_data): New variable.
21740 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21742 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21745 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21747 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21749 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21751 2013-05-10 Andreas Jaeger <aj@suse.de>
21754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21755 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21757 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21759 * math/gen-libm-test.pl (adjust_arg): New function.
21760 (special_functions): Handle generating output in both functions
21762 (parse_args): Likewise.
21763 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21764 $in_func argument to parse_args.
21765 * math/libm-test.inc (struct test_f_f_data): New type.
21766 (IF_ROUND_INIT_): New macro.
21767 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21768 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21769 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21770 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21771 (ROUND_RESTORE_): Likewise.
21772 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21773 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21774 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21775 (ROUND_RESTORE_FE_UPWARD): Likewise.
21776 (RUN_TEST_LOOP_f_f): New macro.
21777 (acos_test_data): New variable.
21778 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21779 (acos_tonearest_test_data): New variable.
21780 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21782 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21784 * benchtests/bench-skeleton.c (startup): Fix coding style.
21786 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21789 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21790 negative infinity argument.
21791 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21792 negative infinity argument.
21793 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21794 negative infinity argument.
21795 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21798 2013-05-10 Florian Weimer <fweimer@redhat.com>
21800 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21801 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21802 * iconv/iconv_prog.c (main): Likewise.
21803 * locale/programs/charmap-dir.c (charmap_readdir)
21804 (fopen_uncompressed): Likewise.
21805 * locale/programs/locfile.c (siblings_uncached)
21806 (write_locale_data): Use lstat64 instead of lstat.
21807 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21810 2013-05-10 Andreas Jaeger <aj@suse.de>
21813 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21815 Include <locale.h>.
21817 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21819 * elf/dl-close.c (_dl_close_worker): Add comments.
21821 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21824 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21826 (__ieee754_rem_pio2l): Update comments.
21829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21831 (__ieee754_rem_pio2l): Update comments.
21833 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21834 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21836 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21839 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21840 (M_PI_34_LOG10El): Likewise.
21841 (M_PI2_LOG10El): Likewise.
21842 (M_PI4_LOG10El): Likewise.
21843 (M_PI_LOG10El): Likewise.
21845 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21849 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21851 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21852 (MINUS_ZERO_INIT): Likewise.
21853 (PLUS_INFTY_INIT): Likewise.
21854 (MINUS_INFTY_INIT): Likewise.
21855 (QNAN_VALUE_INIT): Likewise.
21856 (MAX_VALUE_INIT): Likewise.
21857 (MIN_VALUE_INIT): Likewise.
21858 (MIN_SUBNORM_VALUE_INIT): Likewise.
21859 (plus_zero): Initialize with PLUS_ZERO_INIT.
21860 (minus_zero): Initialize with MINUS_ZERO_INIT.
21861 (plus_infty): Initialize with PLUS_INFTY_INIT.
21862 (minus_infty): Initialize with MINUS_INFTY_INIT.
21863 (qnan_value): Initialize with QNAN_VALUE_INIT.
21864 (max_value): Initialize with MAX_VALUE_INIT.
21865 (min_value): Initialize with MIN_VALUE_INIT.
21866 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21868 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21869 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21870 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21871 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21873 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21874 (RUN_TEST_2_f): Likewise.
21875 (RUN_TEST_ff_f): Likewise.
21876 (RUN_TEST_fi_f): Likewise.
21877 (RUN_TEST_fl_f): Likewise.
21878 (RUN_TEST_fff_f): Likewise.
21879 (RUN_TEST_c_f): Likewise.
21880 (RUN_TEST_f_f1): Likewise.
21881 (RUN_TEST_fF_f1): Likewise.
21882 (RUN_TEST_fI_f1): Likewise.
21883 (RUN_TEST_ffI_f1): Likewise.
21884 (RUN_TEST_c_c): Likewise.
21885 (RUN_TEST_cc_c): Likewise.
21886 (RUN_TEST_f_i): Likewise.
21887 (RUN_TEST_f_i_tg): Likewise.
21888 (RUN_TEST_ff_i_tg): Likewise.
21889 (RUN_TEST_f_b): Likewise.
21890 (RUN_TEST_f_b_tg): Likewise.
21891 (RUN_TEST_f_l): Likewise.
21892 (RUN_TEST_f_L): Likewise.
21893 (RUN_TEST_sincos): Likewise.
21894 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21895 whether to show exceptions. Do not include ");\n" in return
21897 (special_functions): Output call to RUN_TEST_sincos instead of
21898 check_float calls. Update calls to new_test.
21899 (parse_args): Output call to single RUN_TEST_* macro instead of
21900 check_* calls and other assignments. Update calls to new_test.
21906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21907 input to result for tgamma overflow.
21908 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21909 (gamma_coeff): New variable.
21910 (NCOEFF): New macro.
21911 (gamma_positive): New function.
21912 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21913 underflow here. Use gamma_positive instead of exp (lgamma) for
21915 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21916 (gamma_coeff): New variable.
21917 (NCOEFF): New macro.
21918 (gammaf_positive): New function.
21919 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21920 underflow here. Use gamma_positive instead of exp (lgamma) for
21922 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21923 (gamma_coeff): New variable.
21924 (NCOEFF): New macro.
21925 (gammal_positive): New function.
21926 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21927 underflow here. Use gamma_positive instead of exp (lgamma) for
21929 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21930 (gamma_coeff): New variable.
21931 (NCOEFF): New macro.
21932 (gammal_positive): New function.
21933 (__ieee754_gammal_r): Handle positive infinity, overflow and
21934 underflow here. Handle NaN the same as positive infinity. Remove
21935 check x < 0xffffffff for negative integers. Use gamma_positive
21936 instead of exp (lgamma) for other arguments.
21937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21938 (gamma_coeff): New variable.
21939 (NCOEFF): New macro.
21940 (gammal_positive): New function.
21941 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21942 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21943 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21944 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21945 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21946 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21947 * sysdeps/generic/math_private.h (__gamma_productf): New
21949 (__gamma_product): Likewise.
21950 (__gamma_productl): Likewise.
21951 * math/Makefile (libm-calls): Add gamma_product.
21952 * math/libm-test.inc (tgamma_test): Add more tests.
21953 * sysdeps/i386/fpu/libm-test-ulps: Update.
21954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21956 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21958 * benchtests/bench-skeleton.c (main): Preheat CPU.
21960 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21962 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21964 2013-05-07 Roland McGrath <roland@hack.frob.com>
21966 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21967 and _dl_skip_args_internal.
21969 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21971 * manual/message.texi (Message Translation): Talk about users.
21972 Message to key mapping impacts design.
21974 2013-05-06 Roland McGrath <roland@hack.frob.com>
21976 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21978 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21980 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21981 * sysdeps/wordsize-64/glob64.c: ... here.
21983 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21984 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21987 * debug/getlogin_r_chk.c: Moved to ...
21988 * login/getlogin_r_chk.c: ... here.
21989 * debug/Makefile (routines): Move getlogin_r_chk to ...
21990 * login/Makefile (routines): ... here.
21991 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21992 * login/Versions (libc: GLIBC_2.4): ... here.
21994 * io/poll.c (__poll): Renamed from poll.
21995 Add libc_hidden_def.
21996 (poll): Define as weak alias.
21998 * debug/ptsname_r_chk.c: Moved to ...
21999 * login/ptsname_r_chk.c: ... here.
22000 * debug/Makefile (routines): Move ptsname_r_chk to ...
22001 * login/Makefile (routines): ... here.
22002 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22003 * login/Versions (libc: GLIBC_2.4): ... here.
22005 * posix/getlogin.c: Moved to ...
22006 * login/getlogin.c: ... here.
22007 * posix/getlogin_r.c: Moved to ...
22008 * login/getlogin_r.c: ... here.
22009 * posix/getlogin_r.c: Moved to ...
22010 * login/getlogin_r.c: ... here.
22011 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22012 * login/Makefile (routines): ... here.
22013 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22014 * login/Versions (libc: GLIBC_2.0): ... here.
22016 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22017 (setrlimit): Define as weak alias.
22019 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22020 Call __ names for open, ftruncate, and close.
22021 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22022 (truncate): Define as weak alias.
22024 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22026 * math/gen-libm-test.pl (parse_args): Initialize x before each
22027 test of frexp, modf and remquo.
22029 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22030 test signgam value.
22032 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22036 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22040 2013-05-06 Roland McGrath <roland@hack.frob.com>
22042 * elf/dl-writev.h: New file.
22043 * elf/dl-misc.c: Include it.
22044 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22045 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22047 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22049 * math/libm-test.inc (noXFails): Remove variable.
22050 (noXPasses): Likewise.
22051 (BUILD_COMPLEX_INT): Remove macro.
22052 (print_screen): Remove xfail argument.
22053 (print_screen_max_error): Likewise.
22054 (update_stats): Likewise.
22055 (print_max_error): Likewise. Update calls to other affected
22057 (print_complex_max_error): Likewise.
22058 (test_single_exception): Update calls to print_screen.
22059 (test_single_errno): Likewise.
22060 (check_float_internal): Remove xfail argument. Update calls to
22061 other affected functions.
22062 (check_float): Likewise.
22063 (check_complex): Likewise.
22064 (check_int): Likewise.
22065 (check_long): Likewise.
22066 (check_bool): Likewise.
22067 (check_longlong): Likewise.
22068 (main): Don't print noXFails and noXPasses.
22069 * math/gen-libm-test.pl (top level): Don't mention expected
22070 failure handling in comment.
22071 (new_test): Don't handle expected failures.
22072 (parse_args): Don't mention expected failure handling in comment.
22073 (generate_testfile): Don't handle expected failures.
22074 (parse_ulps): Likewise.
22075 (print_ulps_file): Likewise.
22076 (get_failure): Remove function.
22077 (output_test): Don't handle expected failures.
22078 * make/README.libm-test: Don't mention expected failure handling.
22080 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22081 (minus_zero): Likewise.
22082 (plus_infty): Likewise.
22083 (minus_infty): Likewise.
22084 (qnan_value): Likewise.
22085 (max_value): Likewise.
22086 (min_value): Likewise.
22087 (min_subnorm_value): Likewise.
22088 (initialize): Do not initialize those variables dynamically.
22090 2013-05-03 Roland McGrath <roland@hack.frob.com>
22092 * io/open.c (__open_2): Moved to ...
22093 * io/open_2.c: ... this new file.
22094 * io/open64.c (__open64_2): Moved to ...
22095 * io/open64_2.c: ... this new file.
22096 * io/openat.c (__openat_2): Moved to ...
22097 * io/openat_2.c: ... this new file.
22098 * io/openat64.c (__openat64_2): Moved to ...
22099 * io/openat64_2.c: ... this new file.
22100 * io/Makefile (routines): Add them.
22101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22102 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22103 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22104 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22105 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22106 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22107 (__openat64): Add hidden_ver.
22108 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22109 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22111 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22112 Separately conditionalize setting of GLRO(dl_sysinfo) so
22113 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22114 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22116 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22118 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22121 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22122 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22123 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22124 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22125 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22127 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22129 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22130 test signgam value.
22132 * math/libm-test.inc (hypot_test): Do not use
22133 IGNORE_ZERO_INF_SIGN.
22135 2013-05-03 Andreas Jaeger <aj@suse.de>
22137 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22139 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22140 (PF_MAX): Adjust for VSOCK change.
22142 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22146 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22149 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22150 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22151 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22153 2013-05-02 David S. Miller <davem@davemloft.net>
22155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22157 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22159 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22161 2013-05-01 Roland McGrath <roland@hack.frob.com>
22163 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22165 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22168 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22169 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22170 Use __attribute__ ((__gnu_inline__)).
22171 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22172 Don't use __attribute__ ((__gnu_inline__)).
22174 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22177 * math/s_catan.c (__catan): Handle small real or imaginary part of
22178 input specially to avoid spurious underflow.
22179 * math/s_catanf.c (__catanf): Likewise.
22180 * math/s_catanh.c (__catanh): Likewise.
22181 * math/s_catanhf.c (__catanhf): Likewise.
22182 * math/s_catanhl.c (__catanhl): Likewise.
22183 * math/s_catanl.c (__catanl): Likewise.
22184 * math/libm-test.inc (catan_test): Add more tests.
22185 (catanh_test): Likewise.
22186 * sysdeps/i386/fpu/libm-test-ulps: Update.
22187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22189 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22193 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22196 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22197 accurately for denominator in atan2.
22198 * math/s_catanf.c (__catanf): Likewise.
22199 * math/s_catanh.c (__catanh): Likewise.
22200 * math/s_catanhf.c (__catanhf): Likewise.
22201 * math/s_catanhl.c (__catanhl): Likewise.
22202 * math/s_catanl.c (__catanl): Likewise.
22203 * math/libm-test.inc (catan_test): Add more tests.
22204 (catanh_test): Likewise.
22205 * sysdeps/i386/fpu/libm-test-ulps: Update.
22206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22208 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22212 * benchtests/Makefile (bench): Remove slow benchmarks.
22213 * benchtests/atan-inputs: Add slow benchmark inputs.
22214 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22215 (BENCH_FUNC): Accept variant offset.
22217 * benchtests/bench-skeleton.c (main): Run benchmark for each
22219 * benchtests/cos-inputs: Add slow benchmark inputs.
22220 * benchtests/exp-inputs: Likewise.
22221 * benchtests/pow-inputs: Likewise.
22222 * benchtests/sin-inputs: Likewise.
22223 * benchtests/slowatan-inputs: Remove.
22224 * benchtests/slowatan.c: Remove.
22225 * benchtests/slowcos-inputs: Remove.
22226 * benchtests/slowcos.c: Remove.
22227 * benchtests/slowexp-inputs: Remove.
22228 * benchtests/slowexp.c: Remove.
22229 * benchtests/slowpow-inputs: Remove.
22230 * benchtests/slowpow.c: Remove.
22231 * benchtests/slowsin-inputs: Remove.
22232 * benchtests/slowsin.c: Remove.
22233 * benchtests/slowtan-inputs: Remove.
22234 * benchtests/slowtan.c: Remove.
22235 * benchtests/tan-inputs: Add slow benchmark inputs.
22236 * scripts/bench.pl: Parse comments and directives.
22238 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22240 ($(objpfx)bench-%.c): Remove *-ITER.
22241 * benchtests/bench-modf.c: Remove definition of ITER.
22242 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22243 (main): Loop for DURATION seconds instead of fixed number of
22245 * scripts/bench.pl: Don't expect iterations in parameters.
22247 2013-04-29 Roland McGrath <roland@hack.frob.com>
22249 * io/fchdir.c (__fchdir): Renamed from fchdir.
22250 (fchdir): Define as weak alias.
22252 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22254 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22255 (ERRNO_EDOM): Likewise.
22256 (ERRNO_ERANGE): Likewise.
22257 (noErrnoTests): New variable.
22258 (init_max_error): Set errno to 0.
22259 (test_single_errno): New function.
22260 (test_errno): Likewise.
22261 (check_float_internal): Call test_errno. Set errno to 0.
22262 (check_complex): Refer to errno tests in comment.
22263 (check_int): Call test_errno. Set errno to 0.
22264 (check_long): Likewise.
22265 (check_bool): Likewise.
22266 (check_longlong): Likewise.
22267 (cos_test): Use ERRNO_* flags for errno tests instead of
22269 (expm1_test): Likewise.
22270 (fmod_test): Likewise.
22271 (ilogb_test): Likewise.
22272 (lgamma_test): Likewise.
22273 (pow_test): Likewise.
22274 (remainder_test): Likewise.
22275 (sin_test): Likewise.
22276 (tan_test): Likewise.
22277 (yn_test): Likewise.
22278 (initialize): Set errno to 0.
22279 (main): Print number of errno tests.
22280 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22282 2013-04-29 Andreas Jaeger <aj@suse.de>
22285 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22289 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22290 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22294 * stdlib/random.c (__initstate): Return NULL if
22298 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22299 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22302 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22306 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22308 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22309 of individual tests.
22310 (casin_test): Likewise.
22311 (casinh_test): Likewise.
22313 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22316 * math/s_catan.c (__catan): Handle arguments with large real or
22317 imaginary part separately without squaring.
22318 * math/s_catanf.c (__catanf): Likewise.
22319 * math/s_catanh.c (__catanh): Likewise.
22320 * math/s_catanhf.c (__catanhf): Likewise.
22321 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22323 (__catanhl): Handle arguments with large real or imaginary part
22324 separately without squaring.
22325 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22327 (__catanl): Handle arguments with large real or imaginary part
22328 separately without squaring.
22329 * math/libm-test.inc (catan_test): Add more tests.
22330 (catanh_test): Likewise.
22331 * sysdeps/i386/fpu/libm-test-ulps: Update.
22332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22334 2013-04-27 Andreas Jaeger <aj@suse.de>
22337 * stdlib/stdlib.h: Update guards for qecvt.
22338 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22341 2013-04-27 Allan McRae <allan@archlinux.org>
22343 * sysdeps/i386/fpu/libm-test-ulps: Update.
22345 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22348 * math/s_catan.c: Include <float.h>.
22349 (__catan): Ensure underflow exception occurs for underflowed
22351 * math/s_catanf.c: Include <float.h>.
22352 (__catanf): Ensure underflow exception occurs for underflowed
22354 * math/s_catanh.c: Include <float.h>.
22355 (__catanh): Ensure underflow exception occurs for underflowed
22357 * math/s_catanhf.c: Include <float.h>.
22358 (__catanhf): Ensure underflow exception occurs for underflowed
22360 * math/s_catanhl.c: Include <float.h>.
22361 (__catanhl): Ensure underflow exception occurs for underflowed
22363 * math/s_catanl.c: Include <float.h>.
22364 (__catanl): Ensure underflow exception occurs for underflowed
22366 * math/libm-test.inc (catan_test): Add more tests.
22367 (catanh_test): Likewise.
22370 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22371 underflowed result.
22372 * math/s_ccoshf.c (__ccoshf): Likewise.
22373 * math/s_ccoshl.c (__ccoshl): Likewise.
22374 * math/s_csin.c (__csin): Likewise.
22375 * math/s_csinf.c (__csinf): Likewise.
22376 * math/s_csinh.c (__csinh): Likewise.
22377 * math/s_csinhf.c (__csinhf): Likewise.
22378 * math/s_csinhl.c (__csinhl): Likewise.
22379 * math/s_csinl.c (__csinl): Likewise.
22380 * math/libm-test.inc (ccos_test): Add more tests.
22381 (ccosh_test): Likewise.
22382 (csin_test): Likewise.
22383 (csinh_test): Likewise.
22385 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22387 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22388 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22389 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22390 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22391 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22392 powerpc/power5+/fpu folders.
22393 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22396 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22400 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22402 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22403 additions to variable.
22404 [$(config-machine) = x86_64] (modules-names): Likewise.
22405 ($(objpfx)tst-audit3): Remove dependency.
22406 ($(objpfx)tst-audit3.out): Likewise.
22407 ($(objpfx)tst-audit4): Likewise.
22408 ($(objpfx)tst-audit4.out): Likewise.
22409 ($(objpfx)tst-audit5): Likewise.
22410 ($(objpfx)tst-audit5.out): Likewise.
22411 ($(objpfx)tst-audit6): Likewise.
22412 ($(objpfx)tst-audit6.out): Likewise.
22413 ($(objpfx)tst-audit7): Likewise.
22414 ($(objpfx)tst-audit7.out): Likewise.
22415 (tst-audit3-ENV): Remove variable.
22416 (tst-audit4-ENV): Likewise.
22417 (tst-audit5-ENV): Likewise.
22418 (tst-audit6-ENV): Likewise.
22419 (tst-audit7-ENV): Likewise.
22420 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22421 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22422 addition to variable.
22423 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22424 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22425 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22426 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22427 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22428 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22429 tst-audit3, tst-audit4 and tst-audit5.
22430 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22431 tst-audit6 and tst-audit7.
22432 [$(subdir) = elf] (modules-names): Add audit modules for those
22434 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22435 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22436 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22437 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22438 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22439 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22440 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22441 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22442 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22443 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22444 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22445 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22446 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22447 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22448 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22449 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22451 [$(subdir) = elf && $(config-cflags-avx) = yes]
22452 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22453 [$(subdir) = elf && $(config-cflags-avx) = yes]
22454 (CFLAGS-tst-auditmod4a.c): Likewise.
22455 [$(subdir) = elf && $(config-cflags-avx) = yes]
22456 (CFLAGS-tst-auditmod4b.c): Likewise.
22457 [$(subdir) = elf && $(config-cflags-avx) = yes]
22458 (CFLAGS-tst-auditmod6b.c): Likewise.
22459 [$(subdir) = elf && $(config-cflags-avx) = yes]
22460 (CFLAGS-tst-auditmod6c.c): Likewise.
22461 [$(subdir) = elf && $(config-cflags-avx) = yes]
22462 (CFLAGS-tst-auditmod7b.c): Likewise.
22463 * elf/tst-audit3.c: Move to ...
22464 * sysdeps/x86_64/tst-audit3.c: ... here.
22465 * elf/tst-audit4.c: Move to ...
22466 * sysdeps/x86_64/tst-audit4.c: ... here.
22467 * elf/tst-audit5.c: Move to ...
22468 * sysdeps/x86_64/tst-audit5.c: ... here.
22469 * elf/tst-audit6.c: Move to ...
22470 * sysdeps/x86_64/tst-audit6.c: ... here.
22471 * elf/tst-audit7.c: Move to ...
22472 * sysdeps/x86_64/tst-audit7.c: ... here.
22473 * elf/tst-auditmod3a.c: Move to ...
22474 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22475 * elf/tst-auditmod3b.c: Move to ...
22476 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22477 * elf/tst-auditmod4a.c: Move to ...
22478 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22479 * elf/tst-auditmod4b.c: Move to ...
22480 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22481 * elf/tst-auditmod5a.c: Move to ...
22482 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22483 * elf/tst-auditmod5b.c: Move to ...
22484 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22485 * elf/tst-auditmod6a.c: Move to ...
22486 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22487 * elf/tst-auditmod6b.c: Move to ...
22488 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22489 * elf/tst-auditmod6c.c: Move to ...
22490 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22491 * elf/tst-auditmod7a.c: Move to ...
22492 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22493 * elf/tst-auditmod7b.c: Move to ...
22494 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22496 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22499 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22500 define unconditionally.
22501 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22502 define unconditionally.
22503 (INT8_C, INT16_C, etc.): Likewise.
22505 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22507 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22508 __ehdr_start with hidden visibility.
22510 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22512 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22514 * math/libm-test.inc (cos_test): Use accurate hex constants.
22515 (sincost_test): Likewise.
22517 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22519 * math/libm-test.inc (catan_test): Add more tests.
22520 (catanh_test): Likewise.
22522 * math/s_catanf.c (__catanf): Use suffixed floating-point
22524 * math/s_catanhf.c (__catanhf): Likewise.
22525 * math/s_catanhl.c (__catanhl): Likewise.
22526 * math/s_catanl.c (__catanl): Likewise.
22529 * math/s_catan.c (__catan): Calculate imaginary part of result
22530 with log1p not log unless computing log of number close to 0.
22531 * math/s_catanf.c (__catanf): Likewise.
22532 * math/s_catanl.c (__catanl): Likewise.
22533 * math/s_catanh.c (__catanh): Calculate real part of result with
22534 log1p not log unless computing log of number close to 0.
22535 * math/s_catanhf.c (__catanhf): Likewise.
22536 * math/s_catanhl.c (__catanhl): Likewise.
22537 * math/libm-test.inc (catan_test): Add more tests.
22538 (catanh_test): Likewise.
22539 * sysdeps/i386/fpu/libm-test-ulps: Update.
22540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22542 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22544 * benchtests/Makefile: Mention files in which fast and slow
22545 paths of math functions are implemented.
22547 2013-04-23 Roland McGrath <roland@hack.frob.com>
22549 * sysdeps/posix/timespec_get.c: New file.
22551 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22553 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22555 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22557 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22558 powerpc/power5/fpu folders.
22559 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22560 * benchtests/Makefile: Add modf testcase.
22561 * benchtests/bench-modf.c: New file: Benchmark test for mo
22563 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22566 * time/Makefile (tests): Add tst-strptime-whitespace.
22567 * time/strptime_l.c (get_number): Use ISSPACE.
22568 (__strptime_internal): Likewise.
22569 * time/tst-strptime-whitespace.c: New test case.
22571 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22573 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22575 (_nss_files_init): Set it here.
22577 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22579 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22580 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22583 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22585 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22587 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22592 2013-04-21 David S. Miller <davem@davemloft.net>
22594 * po/ru.po: Update Russion translation from translation project.
22596 2013-04-17 Adam Conrad <adconrad@0c3.net>
22598 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22601 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22603 * configure.in: Remove i386 configure warning. Remove i386 case.
22604 * configure: Regenerate.
22605 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22606 Add example to error message.
22607 * sysdeps/i386/configure: Regenerate.
22609 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22611 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22613 * benchtests/cos-inputs: New file.
22614 * benchtests/slowcos-inputs: New file.
22615 * benchtests/slowcos.c: New file.
22616 * benchtests/slowtan-inputs: New file.
22617 * benchtests/slowtan.c: New file.
22618 * benchtests/tan-inputs: New file.
22620 2013-04-16 Roland McGrath <roland@hack.frob.com>
22622 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22625 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22627 * benchtests/Makefile: Include cppflags-iterator.mk to add
22628 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22630 * Makefile.in (bench-clean): New target.
22631 * benchtests/Makefile (bench-clean): Likewise.
22633 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22635 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22637 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22639 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22641 2013-04-15 Andreas Schwab <schwab@suse.de>
22643 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22645 * nscd/pwdcache.c (cache_addpw): Likewise.
22646 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22649 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22651 * benchtests/Makefile (bench): Write all output to
22652 bench-out.tmp together.
22654 2013-04-15 Andreas Schwab <schwab@suse.de>
22656 * nscd/nscd.c (main): Don't fork again after closing files.
22658 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22660 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22662 * benchtests/Rules (bench-deps): Collect dependencies into a
22663 single variable. Add Makefile to dependencies.
22664 ($(objpfx)bench-%.c): Depend on bench-deps.
22666 2013-04-12 Roland McGrath <roland@hack.frob.com>
22667 Xavier Roche <roche+kml2@exalead.com>
22670 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22671 just that it's a file descriptor.
22672 * manual/llio.texi (Synchronizing AIO Operations): Update description
22673 for EBADF error from aio_fsync.
22675 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22677 * Rules (bench): Move target definition...
22678 * benchtests/Makefile: ... here.
22680 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22682 * math/libm-test.inc (cos_test): Fix PI/2 test.
22683 (sincos_test): Likewise.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22685 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22687 2013-04-11 Andreas Schwab <schwab@suse.de>
22690 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22691 accept exponent character only when digits were seen.
22692 * stdio-common/Makefile (tests): Add bug26.
22693 * stdio-common/bug26.c: New file.
22696 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22699 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22701 * Makeconfig (rtld-prefix): Define built linker prefix.
22702 * Rules (run-bench): Use it.
22703 * math/Makefile (run-regen-ulps): Likewise.
22705 * Rules (bench): Remove eval.
22707 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 Roland McGrath <roland@hack.frob.com>
22709 Ondrej Bilka <neleai@seznam.cz>
22712 * time/getdate.c: Include ctype.h and alloca.h.
22713 (__getdate_r): Trim leading and trailing spaces of input.
22714 * time/tst-getdate.c (tests): Add tests with leading and
22717 2013-04-08 Roland McGrath <roland@hack.frob.com>
22720 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22721 when computing value.
22723 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22725 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22726 Use testrun.sh to run libm tests.
22729 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22731 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22734 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22736 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22738 * Makefile.in (regen-ulps): New target.
22739 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22740 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22741 [ifneq (no,$(PERL)] (regen-ulps): New target.
22742 [ifeq (no,$(PERL)] (regen-ulps): New target.
22743 * math/libm-test.inc (ulps_file_name): Define.
22744 (output_dir): New variable.
22745 (options): Add "output-dir" option.
22746 (parse_opt): Handle 'o' case.
22747 (main): If output_dir is non-NULL use it as a prefix
22749 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22751 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22753 [BZ #10060, #10062]
22754 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22755 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22756 fail configure if __sync_val_compare_and_swap is not inlined.
22757 * sysdeps/i386/configure: Regenerate.
22758 * configure.in: Build for i686 when configured for i386.
22759 * configure: Regenerate.
22760 * README: Remove i386 reference.
22762 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22764 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22767 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22769 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22770 (lmsnanval): New variables.
22771 (F): Add conversion tests.
22772 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22773 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22775 * stdio-common/tstdiomisc.c (F): Properly collect individual
22778 [BZ #14686, #15336]
22779 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22780 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22781 Instead, use input NaN values or generate a qNaN by arithmetic
22782 operation. Also fix bugs to comply with the standard.
22783 * math/libm-test.inc (remainder_test): Add more tests.
22785 [BZ #15335, #15342]
22786 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22787 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22788 input NaN values or generate a qNaN by arithmetic operation.
22790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22793 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22796 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22799 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22800 underflowed result.
22801 * math/s_cexpf.c (__cexpf): Likewise.
22802 * math/s_cexpl.c (__cexpl): Likewise.
22803 * math/libm-test.inc (cexp_test): Add more tests.
22805 2013-04-03 Andreas Schwab <schwab@suse.de>
22808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22809 order arrays from heap if bigger than alloca cutoff.
22811 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22813 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22814 (SNAN_TESTS_double): Refer to GCC PR56831.
22815 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22818 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22820 * Rules (bench): Move bench.out after the run is complete.
22822 * Rules (bench): Echo currently running benchmark.
22824 * benchtests/Makefile (bench): Add atan and slowatan.
22825 * benchtests/atan-inputs: New file.
22826 * benchtests/slowatan-inputs: New file.
22827 * benchtests/slowatan.c: New file.
22829 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22834 * sysdeps/unix/sysv/linux/kernel-features.h
22835 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22836 __ASSUME_XFS_RESTRICTED_CHOWN.
22837 * sysdeps/unix/sysv/linux/pathconf.c
22838 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22839 Save and restore errno.
22841 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22844 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22845 arguments using __kernel_casinh.
22846 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22847 arguments using __kernel_casinhf.
22848 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22849 arguments using __kernel_casinhl.
22850 * math/libm-test.inc (cacosh_test): Add more tests.
22851 * sysdeps/i386/fpu/libm-test-ulps: Update.
22852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22854 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22856 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22859 * bench/Makefile (bench): Add sin and slowsin.
22860 * benchtests/sin-inputs: New file.
22861 * benchtests/slowsin-inputs: New file.
22862 * benchtests/slowsin.c: New file.
22864 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22865 (bench): Add slowexp and slowpow.
22866 (exp-ITER): Increase iterations.
22867 (pow-ITER): Likewise.
22868 * benchtests/exp-inputs: Change input.
22869 * benchtests/pow-inputs: Likewise.
22870 * benchtests/slowexp-inputs: New file.
22871 * benchtests/slowexp.c: New file.
22872 * benchtests/slowpow-inputs: New file.
22873 * benchtests/slowpow.c: New file.
22875 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22877 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22879 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22882 * benchtests/Makefile: Add rint benchtest.
22883 * benchtests/rint-inputs: Input for rint benchtest.
22885 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22887 * Versions.def (libm): Add GLIBC_2.18.
22888 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22889 hidden libm prototypes.
22890 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22891 * math/Makefile (libm-calls): Add s_issignaling.
22892 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22893 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22894 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22896 * math/math.h [__USE_GNU] (issignaling): New macro.
22897 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22898 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22903 * manual/arith.texi (issignaling): New section.
22904 * manual/libm-err-tab.pl (@all_functions): Update comment.
22905 * math/gen-libm-test.pl (parse_args): Apply special handling for
22907 * math/libm-test.inc (print_float, issignaling_test): New
22909 (check_float_internal): Add issignaling checks.
22910 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22911 default definition.
22912 * sysdeps/powerpc/math-tests.h: New file.
22913 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22915 * math/test-snan.c (TEST_FUNC): Likewise.
22917 2013-03-30 David S. Miller <davem@davemloft.net>
22919 * po/de.po: Update from translation team.
22921 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22924 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22925 imaginary part less than 1.0 and real part less than 0.5
22927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22929 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22930 (cacos_test): Add more tests.
22931 (casin_test): Likewise.
22932 (casinh_test): Likewise.
22933 * sysdeps/i386/fpu/libm-test-ulps: Update.
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22936 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22938 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22939 ONE with its value.
22941 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22942 (__pow_mp): Replace ONE and MONE with their values.
22943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22945 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22946 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22947 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22950 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22952 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22953 (__pow_mp): Replace ZERO and MZERO with their values.
22954 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22958 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22959 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22962 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22964 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22966 2013-03-28 Roland McGrath <roland@hack.frob.com>
22968 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22969 Declare with __attribute__ ((weak)).
22970 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22971 Call __call_tls_dtors only if it's not NULL.
22973 2013-03-28 Roland McGrath <roland@hack.frob.com>
22975 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22976 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22977 magic __ehdr_start linker symbol if it's defined.
22978 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22979 them up here if it was already done.
22981 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22982 (_dl_aux_init): Use const in cast when setting it.
22983 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22984 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22985 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22987 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22989 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22990 * csu/libc-tls.c: Nor here.
22991 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22993 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22994 (__libc_message): Never call vsyslog.
22996 2013-03-28 Alan Modra <amodra@gmail.com>
22998 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23000 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23003 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23006 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23010 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23013 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23014 Don't add gid passed as argument.
23016 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23018 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23021 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23022 imaginary part between 1.0 and 1.5 and real part less than 0.5
23024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23026 * math/libm-test.inc (cacos_test): Add more tests.
23027 (casin_test): Likewise.
23028 (casinh_test): Likewise.
23029 * sysdeps/i386/fpu/libm-test-ulps: Update.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23032 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23034 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23037 (denorm): Likewise.
23038 (__dbl_mp): Likewise.
23039 (add_magnitudes): Likewise.
23040 (sub_magnitudes): Likewise.
23048 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23050 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23051 (__dubcos): Likewise.
23052 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23053 (__ieee754_acos): Likewise.
23054 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23055 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23056 (__exp1): Likewise.
23057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23060 (my_log2): Likewise.
23061 (checkint): Likewise.
23062 * sysdeps/ieee754/dbl-64/e_remainder.c
23063 (__ieee754_remainder): Likewise.
23064 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23066 (bsloww): Likewise.
23067 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23069 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23070 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23071 MANTISSA_STORE_T to store computations on mantissa. Use
23072 macros for rounding and division.
23073 (denorm): Likewise.
23074 (__dbl_mp): Likewise.
23075 (add_magnitudes): Likewise.
23076 (sub_magnitudes): Likewise.
23079 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23080 powers of two in terms of TWOPOW macro.
23081 (mp_no): Make type of mantissa as MANTISSA_T.
23082 [!RADIXI]: Define RADIXI.
23083 [!TWO52]: Define TWO52.
23084 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23086 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23088 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23089 llroundl symbol when building for PPC32.
23091 2013-03-24 Mark H Weaver <mhw@netris.org>
23093 * manual/arith.texi (Normalization Functions): Fix prototypes for
23094 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23096 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23100 high value to check if expl overflow.
23101 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23102 to check for underflow and overflow.
23103 * math/libm-test.inc: Add exp test.
23105 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23108 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23111 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23113 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23116 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23118 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23119 wrap blocks consisting of several statements.
23121 * sysdeps/generic/math-tests.h: New file.
23122 * sysdeps/i386/fpu/math-tests.h: Likewise.
23123 * math/test-snan.c: Include it.
23124 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23126 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23130 (__ieee754_j0l): Do not improve calculations using cos of twice
23131 input for inputs above LDBL_MAX / 2.0L.
23132 (__ieee754_y0l): Likewise.
23133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23134 (__ieee754_j1l): Do not improve calculations using cos of twice
23135 input for inputs above LDBL_MAX / 2.0L.
23136 (__ieee754_y1l): Likewise.
23137 * math/libm-test.inc (j0_test): Add another test.
23138 (j1_test): Likewise.
23139 (y0_test): Likewise.
23140 (y1_test): Likewise.
23141 * sysdeps/i386/fpu/libm-test-ulps: Update.
23143 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23145 * Rules ($(objpfx)bench-%.c): Include code from a C source
23148 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23151 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23152 imaginary part 1.0 and real part less than 0.5 specially.
23153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23155 * math/libm-test.inc (cacos_test): Add more tests.
23156 (casin_test): Likewise.
23157 (casinh_test): Likewise.
23158 * sysdeps/i386/fpu/libm-test-ulps: Update.
23159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23161 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23163 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23164 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23166 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23168 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23169 * config.make.in (config-cflags-sse4): Remove variable.
23170 (config-cflags-avx): Likewise.
23171 (config-cflags-sse2avx): Likewise.
23172 (config-cflags-novzeroupper): Likewise.
23173 (config-asflags-i686): Likewise.
23174 (have-mfma4): Likewise.
23175 (have-as-vis3): Likewise.
23177 * configure.in (MIG): Do not AC_SUBST.
23178 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23179 (libc_cv_cc_sse4): Do not AC_SUBST.
23180 (libc_cv_cc_avx): Likewise.
23181 (libc_cv_cc_sse2avx): Likewise.
23182 (libc_cv_cc_novzeroupper): Likewise.
23183 (libc_cv_cc_fma4): Likewise.
23184 (libc_cv_as_i686): Likewise.
23185 (libc_cv_sparc_as_vis3): Likewise.
23186 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23188 (config-asflags-i686): Likewise.
23189 (config-cflags-avx): Likewise.
23190 (config-cflags-sse2avx): Likewise.
23191 (have-mfma4): Likewise.
23192 (config-cflags-novzeroupper): Likewise.
23193 * sysdeps/mach/configure.in (MIG): Likewise.
23194 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23195 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23197 (config-cflags-avx): Likewise.
23198 (config-cflags-sse2avx): Likewise.
23199 (have-mfma4): Likewise.
23200 (config-cflags-novzeroupper): Likewise.
23201 * configure: Regenerated.
23202 * sysdeps/i386/configure: Likewise.
23203 * sysdeps/mach/configure: Likewise.
23204 * sysdeps/sparc/configure: Likewise.
23205 * sysdeps/x86_64/configure: Likewise.
23207 2013-03-20 Roland McGrath <roland@hack.frob.com>
23210 * locale/programs/localedef.c (options): Put N_ translation marker
23211 on argument names, not just descriptions.
23213 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23215 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23217 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23220 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23222 2013-03-19 Roland McGrath <roland@hack.frob.com>
23224 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23225 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23226 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23227 [!BEFORE_ABORT] (before_abort): New function.
23228 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23229 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23230 (writev_for_fatal): New function.
23231 (WRITEV_FOR_FATAL): New macro; call that.
23232 (backtrace_and_maps): New function.
23233 (BEFORE_ABORT): New macro; call that.
23234 (struct str_list): Type removed.
23235 (__libc_message, __libc_fatal): Functions removed.
23236 Include <sysdeps/posix/libc_fatal.c> instead.
23238 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23240 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23242 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23245 2013-03-19 Andreas Schwab <schwab@suse.de>
23247 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23248 * sysdeps/gnu/configure: Regenerate.
23250 * configure.in: Substitute libc_cv_rtlddir.
23251 * configure: Regenerate.
23252 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23253 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23254 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23255 * elf/Makefile (install-others, CFLAGS-interp.c)
23256 (ldso_install, common-ldd-rewrite): Likewise.
23257 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23258 $(inst_slibdir)/$(rtld-installed-name).
23259 * scripts/rellns-sh: Add -p option.
23260 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23263 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23265 * manual/nptl.texi: Renamed to ...
23266 * manual/threads.texi: ... this.
23267 * manual/Makefile (chapters): Update.
23269 2013-03-18 Roland McGrath <roland@hack.frob.com>
23272 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23273 on argument names, not just descriptions.
23274 * malloc/memusagestat.c (options): Likewise.
23275 * nss/getent.c (options): Likewise.
23277 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23280 * iconv/iconv_prog.c (options): Put N_ translation marker
23281 on argument names, not just descriptions.
23282 * iconv/iconvconfig.c (options): Likewise.
23284 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23286 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23287 implementation which is faster on all x86_64 architectures.
23288 Tested on AMD, Intel Nehalem, SNB, IVB.
23289 * sysdeps/x86_64/strnlen.S: Likewise.
23291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23292 Remove all multiarch strlen and strnlen versions.
23293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23294 Remove strlen and strnlen related parts.
23296 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23297 Inline strlen part.
23298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23300 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23301 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23302 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23303 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23304 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23305 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23307 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23309 * manual/memory.texi (Malloc Tunable Parameters):
23310 Sort parameters alphabetically. Add comments for missing entries.
23312 2013-03-17 David S. Miller <davem@davemloft.net>
23314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23316 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23320 for arguments at most half maximum finite value.
23321 * math/libm-test.inc (j0_test): Add more tests.
23322 (j1_test): Likewise.
23323 (y0_test): Likewise.
23324 (y1_test): Likewise.
23325 * sysdeps/i386/fpu/libm-test-ulps: Update.
23326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23329 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23330 1 / x and functions P and Q for arguments above 0x1p256L.
23331 (__ieee754_y0l): Likewise.
23332 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23333 (__ieee754_y1l): Likewise.
23334 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23335 (j1_test): Likewise.
23336 (y0_test): Likewise.
23337 (y1_test): Likewise.
23339 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23341 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23344 2013-03-15 Roland McGrath <roland@hack.frob.com>
23346 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23347 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23348 zero since it's initialized to EXEC_PAGESIZE.
23350 * sysdeps/unix/sysv/linux/ldsodefs.h
23351 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23352 * sysdeps/generic/ldsodefs.h: ... here.
23354 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23356 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23358 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23360 * math/test-snan.c: Renamed from
23361 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23362 * math/Makefile (tests): Add test-snan.
23363 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23366 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23367 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23369 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23370 __builtin_nan family of functions.
23371 * math/libm-test.inc (initialize): Initialize qnan_value with
23372 __builtin_nan family of functions.
23373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23375 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23377 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23378 storage class. Initialize qNaN_var and sNaN_var with
23379 __builtin_nan and __builtin_nans families of functions,
23382 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23383 (sqrt_test): Remove duplicate test with qNaN input.
23384 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23385 (round_test, signbit_test, significand_test): Note missing +/-Inf
23386 as well as qNaN tests.
23388 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23389 qNaN_var. Fix a few strings, too.
23390 * math/libm-test.inc (nan_value): Rename to qnan_value.
23391 * math/gen-libm-test.pl (%beautify): Adjust to that.
23392 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23393 * math/test-misc.c (main): Likewise.
23394 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23395 to __qnan_bytes, and __qnan_union, respectively.
23396 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23398 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23399 and lqnanval, respectively.
23400 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23401 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23402 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23403 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23405 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23406 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23409 * math/test-misc.c (main): Fix copy'n'pastos.
23410 * misc/tst-efgcvt.c (special): Likewise.
23412 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23413 Remove declarations.
23415 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23417 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23418 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23419 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23422 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23425 macro to return vdso values correctly in IFUNC implementations.
23426 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23427 Optimization by using IFUNC.
23429 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23430 Richard Henderson <rth@redhat.com>
23431 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23433 * Makefile.in (bench): New target.
23434 * NEWS: Mention the benchmark framework.
23435 * Rules (bench): Likewise.
23436 (binaries-bench): Generate binaries for functions to
23438 * benchtests/Makefile: New makefile for benchmark tests.
23439 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23441 * benchtests/exp-inputs: New input file for EXP function.
23442 * benchtests/pow-inputs: New input file for POW function.
23443 * scripts/bench.pl: New script to generate source files for
23444 benchmark programs.
23446 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23448 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23450 computations on mantissa. Use macros for rounding and
23452 (denorm): Likewise.
23453 (__dbl_mp): Likewise.
23454 (add_magnitudes): Likewise.
23455 (sub_magnitudes): Likewise.
23458 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23459 powers of two in terms of TWOPOW macro.
23460 (mp_no): Make type of mantissa as MANTISSA_T.
23461 [!RADIXI]: Define RADIXI.
23462 [!TWO52]: Define TWO52.
23463 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23465 * manual/nptl.texi (cindex): Modify threads to pthreads.
23467 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23469 * sysdeps/x86_64/preconfigure: Regenerated.
23471 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23474 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23476 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23477 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23479 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23480 * math/libm-test.inc (j0_test): Do not allow one spurious
23481 underflow exception.
23482 (y1_test): Likewise.
23484 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23486 * manual/Makefile (chapters): Add nptl.
23487 * manual/debug.texi (Debugging Support): Add link to Threads
23489 * manual/nptl.texi: New file.
23491 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23493 2013-03-14 Petr Baudis <pasky@ucw.cz>
23495 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23496 for non-NULL pointer before the memory validity test. Pointed
23497 out by Holger Brunck <holger.brunck@keymile.com>.
23499 2013-03-13 Andreas Schwab <schwab@suse.de>
23501 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23504 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23506 * timezone/zic.c: Update from tzcode 2013b.
23508 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23510 * manual/install.texi (Configuring and compiling):
23511 Mention i686 and i586.
23512 * INSTALL: Regenerate.
23514 2013-03-12 Roland McGrath <roland@hack.frob.com>
23516 * sysdeps/init_array/elf-init.c: New file.
23518 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23519 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23521 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23522 __gmon_start__ as global, but as static with a .preinit_array pointer.
23523 * sysdeps/init_array/gmon-start.c: New file. Use that.
23524 * sysdeps/init_array/crti.S: New file, empty except for comments.
23525 * sysdeps/init_array/crtn.S: Likewise.
23527 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23529 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23532 Remove Prefer_SSE_for_memop.
23533 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23534 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23535 HAS_PREFER_SSE_FOR_MEMOP.
23536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23539 Remove bzero, memset ifunc support.
23540 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23541 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23545 2013-03-11 Andreas Schwab <schwab@suse.de>
23548 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23551 (GLIBC_2.16): Remove pthread_atfork.
23553 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23555 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23556 (ptestcases.h): Likewise.
23558 2013-03-08 Roland McGrath <roland@hack.frob.com>
23560 * Makeconfig ($(common-objpfx)config.status): Depend on
23561 sysdeps/*/preconfigure{,.in} too.
23563 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23565 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23566 (__free_hook): Use void * instead of __malloc_ptr_t.
23567 (__malloc_hook): Likewise.
23568 (__realloc_hook): Likewise.
23569 (__memalign_hook): Likewise.
23570 (__after_morecore_hook): Likewise.
23571 * malloc/arena.c (save_malloc_hook): Likewise.
23572 (save_free_hook): Likewise.
23573 * malloc/hooks.c (malloc_hook_ini): Likewise.
23574 (realloc_hook_ini): Likewise.
23575 (memalign_hook_ini): Likewise.
23576 * malloc/malloc.c (malloc_hook_ini): Likewise.
23577 (realloc_hook_ini): Likewise.
23578 (memalign_hook_ini): Likewise.
23579 (__free_hook): Likewise.
23580 (__malloc_hook): Likewise.
23581 (__realloc_hook): Likewise.
23582 (__memalign_hook): Likewise.
23583 (__libc_malloc): Likewise.
23584 (__libc_free): Likewise.
23585 (__libc_realloc): Likewise.
23586 (__libc_memalign): Likewise.
23587 (__libc_valloc): Likewise.
23588 (__libc_pvalloc): Likewise.
23589 (__libc_calloc): Likewise.
23590 (__posix_memalign): Likewise.
23591 * malloc/morecore.c (__sbrk): Likewise.
23592 (__default_morecore): Likewise.
23594 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23596 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23597 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23598 __malloc_ptrdiff_t.
23600 * malloc/malloc.h (__malloc_size_t): Remove macro.
23601 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23603 (old_memalign_hook): Likewise.
23604 (old_realloc_hook): Likewise.
23605 (struct hdr): Likewise.
23607 (mallochook): Likewise.
23608 (memalignhook): Likewise.
23609 (reallochook): Likewise.
23610 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23611 (tr_old_realloc_hook): Likewise.
23612 (tr_old_memalign_hook): Likewise.
23613 (tr_mallochook): Likewise.
23614 (tr_reallochook): Likewise.
23615 (tr_memalignhook): Likewise.
23617 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23620 default_ldbl_pack and using as default implementation.
23621 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23623 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23624 redundant definition.
23625 (ldbl_insert_mantissa): Likewise.
23626 (ldbl_canonicalize): Likewise.
23627 (ldbl_nearbyint): Likewise.
23628 (ldbl_pack): Rename to ldbl_pack_ppc.
23629 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23630 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23631 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23633 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23636 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23637 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23638 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23641 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23642 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23644 2013-03-07 Andreas Jaeger <aj@suse.de>
23646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23649 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23651 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23652 Include mpa.h and declare __MPEXP.
23653 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23654 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23655 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23656 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23657 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23658 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23659 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23661 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23662 (__slowpow): Use long double EXPL and LOGL functions to
23664 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23665 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23668 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23669 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23672 intermediate variable to calculate exponent.
23674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23678 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23679 [!NO__SQR]: Define __sqr.
23680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23681 and NO__SQR. Remove all code except __mul and __sqr. Include
23682 sysdeps/ieee754/dbl-64/mpa.c.
23683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23686 * posix/Makefile (tests): Add tst-pathconf.
23687 * posix/tst-pathconf.c: New test case.
23688 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23690 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23692 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23694 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23696 2013-03-06 Andreas Jaeger <aj@suse.de>
23698 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23699 definition via __MAP_ANONYMOUS.
23701 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23702 it's not part of Linux headers.
23704 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23705 (MAP_HUGE_MASK): Define.
23707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23709 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23712 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23713 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23715 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23720 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23721 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23722 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23723 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23724 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23725 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23727 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23731 Handle f2fs and efivarfs.
23733 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23736 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23737 (EFIVARFS_MAGIC): Add.
23738 (F2FS_LINK_MAX): Add.
23740 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23742 * stdio-common/vfprintf.c: Replace __builtin_expect with
23745 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23748 * sysdeps/generic/bp-sym.h: Remove file.
23749 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23750 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23751 <bp-sym.h> and <bp-asm.h>.
23752 (__longjmp): Don't use BP_SYM.
23753 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23755 (memcpy): Don't use BP_SYM.
23756 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23757 <bp-sym.h> and <bp-asm.h>.
23758 (memcpy): Don't use BP_SYM.
23759 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23761 (memcpy): Don't use BP_SYM.
23762 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23764 (memset): Don't use BP_SYM.
23765 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23766 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23767 (__bzero): Don't use BP_SYM.
23768 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23769 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23770 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23771 <bp-sym.h> and <bp-asm.h>.
23772 (memcmp): Don't use BP_SYM. Remove comment about bounded
23774 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23775 <bp-sym.h> and <bp-asm.h>.
23776 (memcpy): Don't use BP_SYM.
23777 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23778 <bp-sym.h> and <bp-asm.h>.
23779 (memset): Don't use BP_SYM.
23780 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23781 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23782 (__bzero): Don't use BP_SYM.
23783 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23784 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23786 <bp-sym.h> and <bp-asm.h>.
23787 (strncmp): Don't use BP_SYM. Remove comment about bounded
23789 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23790 <bp-sym.h> and <bp-asm.h>.
23791 (memcpy): Don't use BP_SYM.
23792 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23793 <bp-sym.h> and <bp-asm.h>.
23794 (memset): Don't use BP_SYM.
23795 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23796 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23797 (__bzero): Don't use BP_SYM.
23798 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23799 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23800 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23801 <bp-sym.h> and <bp-asm.h>.
23802 (__memchr): Don't use BP_SYM.
23803 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23804 <bp-sym.h> and <bp-asm.h>.
23805 (memcmp): Don't use BP_SYM. Remove comment about bounded
23807 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23808 <bp-sym.h> and <bp-asm.h>.
23809 (memcpy): Don't use BP_SYM.
23810 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23811 <bp-sym.h> and <bp-asm.h>.
23812 (__mempcpy): Don't use BP_SYM.
23813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23814 <bp-sym.h> and <bp-asm.h>.
23815 (__memrchr): Don't use BP_SYM.
23816 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23817 <bp-sym.h> and <bp-asm.h>.
23818 (memset): Don't use BP_SYM.
23819 (__bzero): Likewise.
23820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23821 <bp-sym.h> and <bp-asm.h>.
23822 (__rawmemchr): Don't use BP_SYM.
23823 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23824 <bp-sym.h> and <bp-asm.h>.
23825 (__STRCMP): Don't use BP_SYM.
23826 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23827 <bp-sym.h> and <bp-asm.h>.
23828 (strchr): Don't use BP_SYM.
23829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23830 <bp-sym.h> and <bp-asm.h>.
23831 (__strchrnul): Don't use BP_SYM.
23832 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23833 <bp-sym.h> and <bp-asm.h>.
23834 (strlen): Don't use BP_SYM.
23835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23836 <bp-sym.h> and <bp-asm.h>.
23837 (strncmp): Don't use BP_SYM. Remove comment about bounded
23839 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23840 <bp-sym.h> and <bp-asm.h>.
23841 (__strnlen): Don't use BP_SYM.
23842 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23843 <bp-sym.h> and <bp-asm.h>.
23844 (__GI__setjmp): Don't use BP_SYM.
23845 (_setjmp): Likewise.
23846 (__sigsetjmp): Likewise.
23847 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23848 (L(start_addresses)): Don't use BP_SYM.
23849 (_start): Likewise.
23850 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23852 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23853 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23854 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23855 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23856 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23858 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23859 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23860 about bounded pointers.
23861 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23862 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23863 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23865 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23866 about bounded pointers. Remove GKM FIXME comments.
23867 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23868 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23870 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23871 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23872 Remove GKM FIXME comments.
23873 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23874 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23875 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23877 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23878 about bounded pointers. Remove GKM FIXME comment.
23879 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23881 (strncmp): Don't use BP_SYM. Remove comment about bounded
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23884 <bp-sym.h> and <bp-asm.h>.
23885 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23887 <bp-sym.h> and <bp-asm.h>.
23888 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23891 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23893 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23896 2013-03-05 David S. Miller <davem@davemloft.net>
23898 * po/es.po: Update from translation team.
23900 2013-03-05 Andreas Jaeger <aj@suse.de>
23902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23903 <bits/mman-linux.h>.
23904 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23907 <bits/mman-linux.h> to end of file.
23908 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23911 <bits/mman-linux.h> to end of file.
23912 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23915 <bits/mman-linux.h> to end of file.
23917 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23918 (MCL_CURRENT, MCL_FUTURE): Define here.
23920 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23927 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23929 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23930 fourth parameter needed for rt_sigprocmask syscall.
23931 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23932 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23934 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23935 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23936 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23938 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23941 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23942 comment about bounded pointers.
23943 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23944 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23946 2013-03-04 Andreas Jaeger <aj@suse.de>
23948 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23949 common definitions.
23951 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23952 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23953 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23954 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23956 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23958 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23962 __ieee754_sqrl instead of __sqrl.
23964 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23967 * sysdeps/powerpc/fpu_control.h: ... here.
23968 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23969 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23970 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23971 * sysdeps/powerpc/bits/mathinline.h: ... here.
23973 2013-03-01 Roland McGrath <roland@hack.frob.com>
23975 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23976 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23977 to just [NEED_DL_SYSINFO_DSO].
23978 * elf/dl-support.c: Likewise.
23979 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23980 * elf/rtld.c (dl_main): Likewise.
23981 * elf/setup-vdso.h (setup_vdso): Likewise.
23982 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23983 * sysdeps/unix/sysv/linux/dl-sysdep.c
23984 (_dl_discover_osversion): Likewise.
23986 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23988 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23989 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23991 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23993 * NEWS: Mention libm performance improvements and non-x86 PI
23996 * csu/libc-start.c (__pthread_initialize_minimal): Change
23997 function arguments.
23998 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24000 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24003 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24004 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24005 <bp-sym.h> and <bp-asm.h>.
24006 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24009 (memcpy): Don't use BP_SYM.
24010 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24012 (__mpn_add_n): Don't use BP_SYM.
24013 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24014 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24016 (__mpn_addmul_1): Don't use BP_SYM.
24017 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24018 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24020 (_setjmp): Don't use BP_SYM.
24021 (__novmx_setjmp): Likewise.
24022 (__GI__setjmp): Likewise.
24023 (__vmx_setjmp): Likewise.
24024 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24026 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24027 (__bzero): Don't use BP_SYM.
24028 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24029 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24030 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24031 <bp-sym.h> and <bp-asm.h>.
24032 (memcpy): Don't use BP_SYM.
24033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24034 <bp-sym.h> and <bp-asm.h>.
24035 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24037 <bp-sym.h> and <bp-asm.h>.
24038 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24039 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24041 (__mpn_lshift): Don't use BP_SYM.
24042 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24043 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24045 (memset): Don't use BP_SYM.
24046 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24047 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24048 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24050 (__mpn_mul_1): Don't use BP_SYM.
24051 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24053 <bp-sym.h> and <bp-asm.h>.
24054 (memcmp): Don't use BP_SYM.
24055 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24056 <bp-sym.h> and <bp-asm.h>.
24057 (memcpy): Don't use BP_SYM.
24058 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24059 <bp-sym.h> and <bp-asm.h>.
24060 (memset): Don't use BP_SYM.
24061 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24062 <bp-sym.h> and <bp-asm.h>.
24063 (strncmp): Don't use BP_SYM.
24064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24065 <bp-sym.h> and <bp-asm.h>.
24066 (memcpy): Don't use BP_SYM.
24067 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24068 <bp-sym.h> and <bp-asm.h>.
24069 (memset): Don't use BP_SYM.
24070 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24071 <bp-sym.h> and <bp-asm.h>.
24072 (__memchr): Don't use BP_SYM.
24073 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24074 <bp-sym.h> and <bp-asm.h>.
24075 (memcmp): Don't use BP_SYM.
24076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24077 <bp-sym.h> and <bp-asm.h>.
24078 (memcpy): Don't use BP_SYM.
24079 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24080 <bp-sym.h> and <bp-asm.h>.
24081 (__mempcpy): Don't use BP_SYM.
24082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24083 <bp-sym.h> and <bp-asm.h>.
24084 (__memrchr): Don't use BP_SYM.
24085 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24086 <bp-sym.h> and <bp-asm.h>.
24087 (memset): Don't use BP_SYM.
24088 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24089 <bp-sym.h> and <bp-asm.h>.
24090 (__rawmemchr): Don't use BP_SYM.
24091 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24092 <bp-sym.h> and <bp-asm.h>.
24093 (__STRCMP): Don't use BP_SYM.
24094 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24095 <bp-sym.h> and <bp-asm.h>.
24096 (strchr): Don't use BP_SYM.
24097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24098 <bp-sym.h> and <bp-asm.h>.
24099 (__strchrnul): Don't use BP_SYM.
24100 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24101 <bp-sym.h> and <bp-asm.h>.
24102 (strlen): Don't use BP_SYM.
24103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24104 <bp-sym.h> and <bp-asm.h>.
24105 (strncmp): Don't use BP_SYM.
24106 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24107 <bp-sym.h> and <bp-asm.h>.
24108 (__strnlen): Don't use BP_SYM.
24109 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24111 (__mpn_rshift): Don't use BP_SYM.
24112 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24113 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24114 <bp-sym.h> and <bp-asm.h>.
24115 (__sigsetjmp): Don't use BP_SYM.
24116 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24117 (L(start_addresses)): Don't use BP_SYM.
24118 (_start): Likewise.
24119 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24121 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24122 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24123 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24124 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24126 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24127 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24128 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24129 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24131 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24134 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24136 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24138 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24139 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24140 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24142 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24144 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24146 (strncmp): Don't use BP_SYM,
24147 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24149 (__mpn_sub_n): Don't use BP_SYM.
24150 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24151 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24153 (__mpn_submul_1): Don't use BP_SYM.
24154 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24156 <bp-sym.h> and <bp-asm.h>.
24157 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24159 <bp-sym.h> and <bp-asm.h>.
24160 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24163 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24166 Use ZK to minimize writes to Z.
24167 (sub_magnitudes): Simplify code a bit.
24168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24169 Use ZK to minimize writes to Z.
24170 (sub_magnitudes): Simplify code a bit.
24172 2013-02-27 Roland McGrath <roland@hack.frob.com>
24174 * csu/gmon-start.c: Add special exception to license text.
24176 2013-02-27 Richard Henderson <rth@redhat.com>
24178 * scripts/config.guess: Update from config.git.
24179 * scripts/config.sub: Likewise.
24181 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24183 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24185 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24187 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24189 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24191 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24193 2013-02-26 Roland McGrath <roland@hack.frob.com>
24195 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24196 [$(build-shared = yes].
24198 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24200 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24201 (__mul): Reduce iterations for calculating mantissa.
24203 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24205 (__mpranred): Likewise.
24208 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24209 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24211 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24213 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24214 Define __attribute__.
24216 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24218 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24220 * posix/regex_internal.h (__attribute): Remove.
24221 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24222 (re_string_context_at): Likewise.
24223 (bitset_not): Use __attribute__ and mark function as possibly
24225 (bitset_merge): Likewise.
24226 (bitset_mask): Likewise.
24227 (re_string_char_size_at): Likewise.
24228 (re_string_wchar_at): Likewise.
24229 (re_string_elem_size_at): Likewise.
24231 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24233 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24237 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24241 (denorm): Likewise.
24242 (__dbl_mp): Likewise.
24243 (add_magnitudes): Likewise.
24244 (sub_magnitudes): Likewise.
24248 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24251 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24254 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24258 up changes with default code.
24259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24262 2013-02-24 Allan McRae <allan@archlinux.org>
24264 * manual/socket.texi (The Internet Namespace): Order menu items
24265 to match that in the file.
24267 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24268 node listing of the info page menu.
24270 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24273 * sysdeps/i386/bp-asm.h: Remove file.
24274 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24275 (PARMS): Do not use macros from bp-asm.h.
24279 (__mpn_add_n): Do not use BP_SYM
24280 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24282 (PARMS): Do not use macros from bp-asm.h.
24285 (__mpn_addmul_1): Do not use BP_SYM
24286 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24288 (PARMS): Do not use macros from bp-asm.h.
24289 (SIGMSK): Likewise.
24290 (_setjmp): Likewise. Do not use BP_SYM.
24291 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24293 (PARMS): Do not use macros from bp-asm.h.
24294 (SIGMSK): Likewise.
24295 (setjmp): Likewise. Do not use BP_SYM.
24296 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24298 (PARMS): Do not use macros from bp-asm.h.
24299 (__frexp): Do not use BP_SYM.
24301 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24303 (PARMS): Do not use macros from bp-asm.h.
24304 (__frexpf): Do not use BP_SYM.
24305 (frexpf): Likewise.
24306 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24308 (PARMS): Do not use macros from bp-asm.h.
24309 (__frexpl): Do not use BP_SYM.
24310 (frexpl): Likewise.
24311 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24313 (PARMS): Do not use macros from bp-asm.h.
24314 (__remquo): Do not use BP_SYM.
24315 (remquo): Likewise.
24316 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24318 (PARMS): Do not use macros from bp-asm.h.
24319 (__remquof): Do not use BP_SYM.
24320 (remquof): Likewise.
24321 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24323 (PARMS): Do not use macros from bp-asm.h.
24324 (__remquol): Do not use BP_SYM.
24325 (remquol): Likewise.
24326 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24328 (PARMS): Do not use macros from bp-asm.h.
24331 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24332 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24334 (PARMS): Do not use macros from bp-asm.h.
24335 (strlen): Do not use BP_SYM.
24336 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24338 (PARMS): Do not use macros from bp-asm.h.
24342 (__mpn_add_n): Do not use BP_SYM.
24343 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24345 (PARMS): Do not use macros from bp-asm.h.
24348 (__mpn_addmul_1): Do not use BP_SYM.
24349 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24352 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24354 (PARMS): Do not use macros from bp-asm.h.
24357 (__mpn_lshift): Do not use BP_SYM.
24358 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24360 (PARMS): Do not use macros from bp-asm.h.
24364 (memcpy): Likewise. Do not use BP_SYM.
24365 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24366 libc_hidden_def and weak_alias.
24367 (mempcpy): Do not use BP_SYM in weak_alias.
24368 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24370 (PARMS): Do not use macros from bp-asm.h.
24373 [!BZERO_P] (CHR): Likewise.
24374 (memset): Likewise. Do not use BP_SYM.
24375 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24377 (PARMS): Do not use macros from bp-asm.h.
24380 (__mpn_mul_1): Do not use BP_SYM.
24381 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24383 (PARMS): Do not use macros from bp-asm.h.
24386 (__mpn_rshift): Do not use BP_SYM.
24387 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24389 (PARMS): Do not use macros from bp-asm.h.
24392 (strchr): Likewise. Do not use BP_SYM.
24393 (index): Do not use BP_SYM in weak_alias.
24394 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24396 (PARMS): Do not use macros from bp-asm.h.
24399 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24400 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24402 (PARMS): Do not use macros from bp-asm.h.
24403 (strlen): Do not use BP_SYM.
24404 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24406 (PARMS): Do not use macros from bp-asm.h.
24410 (__mpn_sub_n): Do not use BP_SYM.
24411 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24413 (PARMS): Do not use macros from bp-asm.h.
24416 (__mpn_submul_1): Do not use BP_SYM.
24417 * sysdeps/i386/i686/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/i686/bzero.S (__bzero): Do not use BP_SYM in
24427 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24429 (PARMS): Do not use macros from bp-asm.h.
24432 (memcmp): Do not use BP_SYM.
24433 (bcmp): Do not use BP_SYM in weak_alias.
24434 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24436 (PARMS): Do not use macros from bp-asm.h.
24440 (memcpy): Likewise. Do not use BP_SYM.
24441 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24443 (PARMS): Do not use macros from bp-asm.h.
24447 (memmove): Likewise. Do not use BP_SYM.
24448 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24450 (PARMS): Do not use macros from bp-asm.h.
24454 (__mempcpy): Likewise. Do not use BP_SYM.
24455 (mempcpy): Do not use BP_SYM in weak_alias.
24456 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24458 (PARMS): Do not use macros from bp-asm.h.
24461 [!BZERO_P] (CHR): Likewise.
24462 (memset): Likewise. Do not use BP_SYM.
24463 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24465 (PARMS): Do not use macros from bp-asm.h.
24467 (strcmp): Do not use BP_SYM.
24468 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24470 (PARMS): Do not use macros from bp-asm.h.
24473 [USE_AS_STRTOK_R] (SAVE): Likewise.
24474 (FUNCTION): Likewise. Do not use BP_SYM.
24475 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24477 (strtok_r): Likewise.
24478 (__GI___strtok_r): Likewise.
24479 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24480 (PARMS): Do not use macros from bp-asm.h.
24483 (__mpn_lshift): Do not use BP_SYM.
24484 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24485 (PARMS): Do not use macros from bp-asm.h.
24488 (__memchr): Do not use BP_SYM.
24489 (memchr): Do not use BP_SYM in weak_alias.
24490 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24491 (PARMS): Do not use macros from bp-asm.h.
24494 (memcmp): Do not use BP_SYM.
24495 (bcmp): Do not use BP_SYM in weak_alias.
24496 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24497 (PARMS): Do not use macros from bp-asm.h.
24500 (__mpn_mul_1): Do not use BP_SYM.
24501 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24503 (PARMS): Do not use macros from bp-asm.h.
24506 (__rawmemchr): Do not use BP_SYM.
24507 (rawmemchr): Do not use BP_SYM in weak_alias.
24508 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24509 (PARMS): Do not use macros from bp-asm.h.
24512 (__mpn_rshift): Do not use BP_SYM.
24513 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24514 (PARMS): Do not use macros from bp-asm.h.
24515 (SIGMSK): Likewise.
24516 (__sigsetjmp): Likewise. Do not use BP_SYM.
24517 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24518 (_start): Do not use BP_SYM.
24519 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24520 (PARMS): Do not use macros from bp-asm.h.
24523 (__stpcpy): Likewise. Do not use BP_SYM.
24524 (stpcpy): Do not use BP_SYM in weak_alias.
24525 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24527 (PARMS): Do not use macros from bp-asm.h.
24531 (__stpncpy): Likewise. Do not use BP_SYM.
24532 (stpncpy): Do not use BP_SYM in weak_alias.
24533 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24534 (PARMS): Do not use macros from bp-asm.h.
24537 (strchr): Likewise. Do not use BP_SYM.
24538 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24540 (PARMS): Do not use macros from bp-asm.h.
24543 (__strchrnul): Likewise. Do not use BP_SYM.
24544 (strchrnul): Do not use BP_SYM in weak_alias.
24545 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24547 (PARMS): Do not use macros from bp-asm.h.
24549 (strcspn): Do not use BP_SYM.
24550 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24552 (PARMS): Do not use macros from bp-asm.h.
24555 (strpbrk): Likewise. Do not use BP_SYM.
24556 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24558 (PARMS): Do not use macros from bp-asm.h.
24561 (strrchr): Likewise. Do not use BP_SYM.
24562 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24563 (PARMS): Do not use macros from bp-asm.h.
24565 (strspn): Do not use BP_SYM.
24566 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24567 (PARMS): Do not use macros from bp-asm.h.
24571 (FUNCTION): Likewise. Do not use BP_SYM.
24572 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24574 (strtok_r): Likewise.
24575 (__GI___strtok_r): Likewise.
24576 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24577 (PARMS): Do not use macros from bp-asm.h.
24581 (__mpn_sub_n): Do not use BP_SYM.
24582 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24584 (PARMS): Do not use macros from bp-asm.h.
24587 (__mpn_submul_1): Do not use BP_SYM.
24588 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24590 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24592 (PARMS): Do not use macros from bp-asm.h.
24597 (__clone): Do not use BP_SYM.
24598 (clone): Do not use BP_SYM in weak_alias.
24599 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24601 (PARMS): Do not use macros from bp-asm.h.
24603 (__mmap64): Do not use BP_SYM.
24604 (mmap64): Do not use BP_SYM in weak_alias.
24605 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24606 <bp-sym.h> and <bp-asm.h>.
24607 (PARMS): Do not use macros from bp-asm.h.
24608 (__posix_fadvise64_l64): Do not use BP_SYM.
24609 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24610 (PARMS): Do not use macros from bp-asm.h.
24612 (semtimedop): Do not use BP_SYM.
24613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24616 2013-02-21 Allan McRae <allan@archlinux.org>
24618 * manual/message.texi (Charset conversion in gettext):
24619 Move @end statement to beginning of line.
24621 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24628 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24629 (denorm): Likewise.
24630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24633 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24635 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24636 tail-call to the resolved function if pltexit isn't needed.
24638 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24641 or Y being zero as being unlikely.
24642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24645 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24647 * manual/nss.texi (System Databases and Name Service Switch):
24648 Remove frobnicate @pxref.
24650 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24652 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24653 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24655 2013-02-20 Petr Machata <pmachata@redhat.com>
24657 * elf/elf.h (R_ARM_TARGET1): New macro.
24658 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24659 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24660 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24661 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24662 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24663 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24664 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24665 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24666 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24667 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24668 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24669 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24670 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24671 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24672 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24673 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24674 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24675 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24676 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24677 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24678 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24679 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24680 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24681 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24682 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24683 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24684 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24685 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24686 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24687 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24688 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24689 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24690 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24691 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24692 (R_ARM_THM_GOT_BREL12): Likewise.
24693 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24694 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24695 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24696 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24697 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24698 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24699 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24700 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24701 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24703 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24705 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24706 __attribute_used__ to __attribute__ ((unused)).
24708 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24710 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24713 comment formatting.
24714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24716 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24719 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24721 (ENTER): Remove both macro definitions.
24723 (CHECK_BOUNDS_LOW): Likewise.
24724 (CHECK_BOUNDS_HIGH): Likewise.
24725 (CHECK_BOUNDS_BOTH): Likewise.
24726 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24727 (RETURN_BOUNDED_POINTER): Likewise.
24728 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24729 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24730 (POP_ERRNO_LOCATION_RETURN): Likewise.
24731 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24732 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24733 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24735 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24736 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24737 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24738 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24739 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24740 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24741 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24742 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24743 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24744 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24745 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24746 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24747 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24748 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24750 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24751 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24753 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24754 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24755 * sysdeps/i386/i586/memset.S (memset): Likewise.
24756 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24757 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24758 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24760 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24761 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24762 Change uses of L(2) to L(out).
24763 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24764 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24765 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24766 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24767 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24769 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24770 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24772 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24773 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24774 (RETURN): Do not use macro LEAVE.
24775 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24776 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24777 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24778 * sysdeps/i386/i686/memset.S (memset): Likewise.
24779 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24780 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24781 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24782 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24784 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24785 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24786 L(1_2) and L(1_3) into L(1).
24787 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24788 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24790 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24791 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24792 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24793 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24794 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24795 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24797 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24799 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24800 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24801 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24802 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24803 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24804 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24805 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24806 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24807 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24808 * sysdeps/i386/strspn.S (strspn): Likewise.
24809 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24811 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24812 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24813 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24814 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24815 L(1_3) into L(1_1).
24816 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24817 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24818 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24822 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24824 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24827 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24829 * math/atest-exp.c (exp_mpn): Remove ROUND.
24830 * math/atest-exp2.c (exp_mpn): Likewise.
24831 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24833 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24834 * stdlib/tst-tls-atexit-lib.c: Likewise.
24835 * stdlib/tst-tls-atexit.c: Likewise.
24837 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24839 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24840 and __attribute_alloc_size__.
24842 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24844 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24845 __attribute_alloc_size__.
24846 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24847 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24849 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24851 * include/programs/xmalloc.h: New file.
24852 * catgets/gencat.c: Include it.
24853 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24854 * elf/pldd.c: Likewise.
24855 * iconv/iconv_charmap.c: Likewise.
24856 * iconv/iconvconfig.c: Likewise.
24857 * iconv/strtab.c: Likewise.
24858 * locale/programs/locale.c: Likewise.
24859 * locale/programs/localedef.h: Likewise.
24860 * locale/programs/simple-hash.c: Likewise.
24861 * nscd/nscd.h: Likewise.
24862 * nss/makedb.c: Likewise.
24863 * sysdeps/generic/ldconfig.h: Likewise.
24865 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24867 * Versions.def: Add GLIBC_2.18.
24868 * include/link.h (struct link_map): New member l_tls_dtor_count.
24869 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24870 (__call_tls_dtors): Likewise.
24871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24872 __cxa_thread_atexit_impl.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24889 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24890 (tests): Add test case tst-tls-atexit.
24891 (modules-names): Add shared library for tst-tls-atexit.
24892 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24893 (GLIBC_PRIVATE): Add __call_tls_dtors.
24894 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24896 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24897 * stdlib/tst-tls-atexit.c: New test case.
24898 * stdlib/tst-tls-atexit-lib.c: New test case.
24900 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24902 * elf/Versions (ld): Add _dl_find_dso_for_object.
24903 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24904 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24905 (dl_open_worker): Use _dl_find_dso_for_object.
24906 * elf/dl-sym.c (do_sym): Likewise.
24907 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24909 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24911 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24912 Syntactic changes only.
24913 (_dl_runtime_profile): Do a tail-call to the resolved function.
24915 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24918 * sysdeps/x86_64/bp-asm.h: Remove file.
24919 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24920 <bp-sym.h> and <bp-asm.h>.
24921 (__clone): Do not use BP_SYM.
24922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24923 <bp-sym.h> and <bp-asm.h>.
24924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24925 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24927 (_setjmp): Do not use BP_SYM.
24928 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24930 (setjmp): Do not use BP_SYM.
24931 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24933 (mempcpy): Do not use BP_SYM in weak_alias.
24934 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24936 (strchr): Do not use BP_SYM.
24937 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24939 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24940 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24941 (_start): Do not use BP_SYM.
24942 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24944 (strcat): Do not use BP_SYM.
24945 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24947 (STRCMP): Do not use BP_SYM.
24948 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24950 (STRCPY): Do not use BP_SYM.
24951 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24953 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24955 (FUNCTION): Do not use BP_SYM.
24956 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24958 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24960 2013-02-17 Andreas Jaeger <aj@suse.de>
24962 * time/Versions: Sort entries.
24963 * string/Versions: Likewise.
24964 * resolv/Versions: Likewise.
24965 * posix/Versions: Likewise.
24966 * iconv/Versions: Likewise.
24967 * elf/Versions: Likewise.
24968 * wcsmbs/Versions: Likewise.
24970 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24972 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24973 loop termination condition.
24975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24976 variable to calculate EZ.
24979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24980 the lower precision input.
24982 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24985 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24986 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24987 (run-via-rtld-prefix): Do not handle %-bp tests.
24988 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24989 (all-object-suffixes): Remove .ob.
24990 (bppfx): Remove variable.
24991 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24992 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24993 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24994 [$(build-bounded) = yes] (libtype.ob): Likewise.
24995 * Makerules (elide-routines.ob): Remove variable.
24996 (do-tests-clean): Do not handle *-bp.out.
24997 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24998 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24999 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25000 (tests): Do not include $(tests-bp.out).
25001 (xtests): Do not include $(xtests-bp.out).
25002 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25003 [$(build-bounded) = yes] ($(addprefix
25004 $(objpfx),$(binaries-bounded))): Remove rule.
25005 ($(objpfx)%-bp.out): Remove rule.
25006 * config.make.in (build-bounded): Remove variable.
25007 * crypt/Makefile [$(build-bounded) = yes]
25008 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25009 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25010 append to variable.
25011 [$(build-bounded) = yes] (install-lib): Likewise.
25012 [$(build-bounded) = yes] (generated): Likewise.
25013 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25015 * intl/Makefile [$(build-bounded) = yes]
25016 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25017 * math/Makefile [$(build-bounded) = yes]
25018 ($(tests:%=$(objpfx)%-bp): Likewise.
25019 * misc/Makefile [$(build-bounded) = yes]
25020 ($(objpfx)tst-tsearch-bp): Likewise.
25021 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25022 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25024 * string/Makefile (o-objects.ob): Remove variable.
25025 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25026 (CFLAGS-.ob): Remove variable.
25027 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25028 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25029 both definitions of variable.
25030 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25031 (ASFLAGS-.ob): Remove variable.
25033 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25036 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25037 Remove __BOUNDED_POINTERS__ from condition.
25038 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25039 * string/bits/string2.h [!__NO_STRING_INLINES &&
25040 !__BOUNDED_POINTERS__]: Likewise.
25041 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25043 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25044 Remove conditional code.
25045 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25046 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25047 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25051 * csu/libc-start.c: Do not include <bp-sym.h>.
25052 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25053 * elf/dl-open.c: Do not include <bp-sym.h>.
25054 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25055 * math/fegetenv.c: Do not include <bp-sym.h>.
25056 (fegetenv): Do not use BP_SYM in versioned symbols.
25057 * nptl/sysdeps/pthread/bits/libc-lockP.h
25058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25061 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25063 (__pthread_mutex_destroy): Likewise.
25064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25065 (__pthread_mutex_lock): Likewise.
25066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25067 (__pthread_mutex_trylock): Likewise.
25068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25069 (__pthread_mutex_unlock): Likewise.
25070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25071 (__pthread_mutexattr_init): Likewise.
25072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25073 (__pthread_mutexattr_destroy): Likewise.
25074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25075 (__pthread_mutexattr_settype): Likewise.
25076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25077 (__pthread_rwlock_init): Likewise.
25078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25079 (__pthread_rwlock_destroy): Likewise.
25080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25081 (__pthread_rwlock_rdlock): Likewise.
25082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25083 (__pthread_rwlock_tryrdlock): Likewise.
25084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25085 (__pthread_rwlock_wrlock): Likewise.
25086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25087 (__pthread_rwlock_trywrlock): Likewise.
25088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25089 (__pthread_rwlock_unlock): Likewise.
25090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25091 (__pthread_key_create): Likewise.
25092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25093 (__pthread_setspecific): Likewise.
25094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25095 (__pthread_getspecific): Likewise.
25096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25099 (_pthread_cleanup_push_defer): Likewise.
25100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25101 (_pthread_cleanup_pop_restore): Likewise.
25102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25103 (pthread_setcancelstate): Likewise.
25104 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25106 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25107 (memchr): Do not use BP_SYM in weak_alias.
25108 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25109 (fegetenv): Do not use BP_SYM in versioned symbols.
25110 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25111 (fesetenv): Do not use BP_SYM in versioned symbols.
25112 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25113 (feupdateenv): Do not use BP_SYM in versioned symbols.
25114 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25115 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25116 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25117 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25118 (open64): Do not use BP_SYM in weak_alias.
25119 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25120 (fegetenv): Do not use BP_SYM in versioned symbols.
25121 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25122 (fesetenv): Do not use BP_SYM in versioned symbols.
25123 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25124 (feupdateenv): Do not use BP_SYM in versioned symbols.
25125 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25126 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25127 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25128 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25129 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25130 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25131 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25133 (__libc_start_main): Do not use BP_SYM.
25135 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25138 redundant return line.
25140 (denorm): Likewise.
25141 (dbl_mp): Likewise.
25142 (sub_magnitudes): Likewise.
25148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25150 (denorm): Likewise.
25151 (dbl_mp): Likewise.
25152 (sub_magnitudes): Likewise.
25159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25161 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25162 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25165 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25166 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25168 of __mul for squares.
25169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25173 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25176 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25179 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25181 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25182 prototype or function definition. Rename ubp_* variables and
25183 parameters. Remove argv definitions conditional on
25184 [__BOUNDED_POINTERS__].
25185 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25186 * elf/dl-runtime.c (_dl_fixup): Likewise.
25187 * include/set-hooks.h (RUN_HOOK): Likewise.
25188 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25190 * string/strcpy.c (strcpy): Do not use __unbounded.
25191 * sysdeps/generic/frame.h (struct layout): Likewise.
25192 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25193 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25194 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25195 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25196 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25197 (__backtrace): Likewise.
25198 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25200 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25201 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25202 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25204 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25205 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25206 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25207 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25208 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25209 Do not use __unbounded.
25210 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25211 Rename __unboundedrlimits parameter to rlimits in prototype.
25212 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25213 Do not use __unbounded.
25214 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25215 not use __ptrvalue.
25216 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25217 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25218 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25219 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25220 __ptrvalue or __unbounded.
25221 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25222 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25224 (__new_msgctl): Do not use __ptrvalue.
25225 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25227 (__libc_msgrcv): Do not use __ptrvalue.
25228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25229 startup_info): Do not use __unbounded.
25230 (__libc_start_main): Likewise. Rename ubp_* variables and
25231 parameters. Remove argv definitions conditional on
25232 [__BOUNDED_POINTERS__].
25233 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25235 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25239 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25241 (__new_shmctl): Do not use __ptrvalue.
25242 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25243 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25245 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25247 (__libc_sigaction): Likewise.
25248 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25251 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25253 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25255 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25257 * string/mempcpy.c: Implement by calling memcpy.
25259 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25267 values in the mantissa.
25269 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25270 minimize writes to Z.
25271 (sub_magnitudes): Simplify code a bit.
25273 2013-02-12 Roland McGrath <roland@hack.frob.com>
25275 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25276 from the message. The linker prefixes all warnings with that already.
25278 2013-02-12 Andreas Schwab <schwab@suse.de>
25281 * posix/regexec.c (extend_buffers): Add parameter min_len.
25282 (check_matching): Pass minimum needed length.
25283 (clean_state_log_if_needed): Likewise.
25284 (get_subexp): Likewise.
25285 * posix/Makefile (tests): Add bug-regex34.
25286 (bug-regex34-ENV): Define.
25287 * posix/bug-regex34.c: New file.
25290 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25291 elements compare against the byte sequence of it, not its name.
25292 * posix/Makefile (tests): Add bug-regex35.
25293 (bug-regex35-ENV): Define.
25294 * posix/bug-regex35.c: New file.
25296 2013-02-11 Tom de Vries <tom@codesourcery.com>
25298 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25300 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25301 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25302 (CHECK_EOL): Add undef.
25304 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25306 * bits/stdlib-bsearch.h: New file.
25307 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25308 * stdlib/stdlib.h: Likewise.
25310 2013-02-11 Roland McGrath <roland@hack.frob.com>
25312 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25313 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25315 * manual/search.texi (Array Search Function): Add missing const in
25317 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25318 declaration to use rlim_t.
25319 (Basic Scheduling Functions): Remove erroneous const from
25320 sched_getparam prototype. Remove erroneous * from
25321 sched_get_priority_max and sched_get_priority_min prototypes.
25322 (Resource Usage): Fix summary @comment on vtimes to refer to
25323 sys/vtimes.h rather than vtimes.h.
25324 Add missing *s in vtimes prototype.
25325 (Limits on Resources): Fix ulimit prototype to return long int.
25326 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25327 prototypes to use long int rather than double.
25328 (BSD Random): Fix initstate and setstate to use char *, not void *.
25329 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25330 prototype to make second argument 'struct aiocb64 *const[]'.
25331 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25332 (Status of AIO Operations): Remove erroneous const in aio_return and
25333 aio_return64 prototypes.
25334 (Synchronizing I/O): Fix sync prototype to return void.
25335 * manual/startup.texi (Suboptions): Remove an erroneous const in
25336 getsubopt prototype.
25337 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25338 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25339 use size_t rather than int.
25340 (Scanning All Users): Likewise for getpwent_r.
25341 (Setting Groups): Add missing const to setgroups prototype.
25342 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25343 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25344 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25345 'const void *' rather than 'const char *'.
25346 (Host Address Functions): Likewise for inet_ntop.
25347 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25348 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25349 ssize_t for return value.
25350 (Sending Data): Likewise for send, sendto, sendmsg.
25351 (Socket Option Functions): Add a missing const in setsockopt prototype.
25352 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25353 use wchar_t for the argument.
25354 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25355 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25357 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25358 double/float/long double for second argument.
25359 Fix return types of significand, significandf, significandl.
25360 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25361 argument in fchmod prototype.
25362 (File Owner): Use uid_t and gid_t in fchown prototype.
25363 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25364 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25365 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25366 use 'const struct dirent **' as argument types to CMP function pointer
25368 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25369 (File Times): Fix summary magic @comment for struct utimbuf and utime
25370 to refer to utime.h, not time.h.
25371 * manual/string.texi (Argz Functions): Add missing const in
25372 argz_extract and argz_next prototypes.
25373 (Finding Tokens in a String): Likewise for basename.
25374 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25375 (Copying and Concatenation): Fix typo in wmemmove prototype.
25376 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25377 (Signal Stack): Remove erroneous const in sigstack prototype.
25378 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25380 (Simple Calendar Time): Likewise for stime.
25381 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25383 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25384 say sys/sysctl.h instead.
25385 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25386 and vsyslog prototypes.
25388 2013-02-11 Tom de Vries <tom@codesourcery.com>
25390 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25393 2013-02-11 Roland McGrath <roland@hack.frob.com>
25395 * misc/sys/mman.h: Fix typo in mremap comment.
25397 2013-02-08 Roland McGrath <roland@hack.frob.com>
25399 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25400 the '\0' terminator.
25402 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25405 * debug/segfault.c: Don't include <bp-checks.h>.
25406 * sysdeps/generic/bp-checks.h: Remove file.
25407 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25408 (__GETDENTS): Don't use CHECK_N.
25409 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25410 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25411 (__getgroups): Don't use CHECK_N.
25412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25413 (setgroups): Don't use CHECK_N.
25414 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25415 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25416 (__libc_msgrcv): Don't use CHECK_N.
25417 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25418 (__libc_msgsnd): Don't use CHECK_N.
25419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25421 (__libc_pread): Don't use CHECK_N.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25423 include <bp-checks.h>.
25424 (__libc_pread64): Don't use CHECK_N.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25426 include <bp-checks.h>.
25427 (__libc_pwrite): Don't use CHECK_N.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25429 include <bp-checks.h>.
25430 (__libc_pwrite64): Don't use CHECK_N.
25431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25433 (__libc_pread): Don't use CHECK_N.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25435 include <bp-checks.h>.
25436 (__libc_pread64): Don't use CHECK_N.
25437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25438 include <bp-checks.h>.
25439 (__libc_pwrite): Don't use CHECK_N.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25441 include <bp-checks.h>.
25442 (__libc_pwrite64): Don't use CHECK_N.
25443 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25444 (do_pread): Don't use CHECK_N.
25445 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25446 (do_pread64): Don't use CHECK_N.
25447 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25448 (do_pwrite): Don't use CHECK_N.
25449 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25450 (do_pwrite64): Don't use CHECK_N.
25451 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25452 (__libc_readv): Don't use CHECK_N.
25453 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25454 (semop): Don't use CHECK_N.
25455 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25457 (semtimedop): Don't use CHECK_N.
25458 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25459 (__libc_pread): Don't use CHECK_N.
25460 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25462 (__libc_pread64): Don't use CHECK_N.
25463 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25465 (__libc_pwrite): Don't use CHECK_N.
25466 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25468 (__libc_pwrite64): Don't use CHECK_N.
25469 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25471 (__libc_msgrcv): Don't use CHECK_N.
25472 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25473 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25474 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25475 (__libc_writev): Don't use CHECK_N.
25477 2013-02-08 Roland McGrath <roland@hack.frob.com>
25479 * string/strcpy.c: Removed unused variable.
25481 * Makeconfig (+sysdep-includes): Define with := rather than =.
25482 Use an existing include/ subdir of each sysdeps dir before it.
25484 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25486 * nscd/connection.c (register_traced_file): Comment function.
25487 [HAVE_INOTIFY] (union __inev): Define.
25488 [HAVE_INOTIFY] (inotify_check_files): New function.
25489 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25490 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25492 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25494 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25496 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25497 loaded if not already and that a failure is permanent.
25499 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25502 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25503 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25505 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25509 (CHECK_1_NULL_OK): Likewise.
25510 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25511 (__fxstat): Do not use CHECK_1.
25512 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25514 (___fxstat64): Do not use CHECK_1.
25515 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25517 (__fxstatat): Do not use CHECK_1.
25518 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25520 (__fxstatat64): Do not use CHECK_1.
25521 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25523 (__fxstat): Do not use CHECK_1.
25524 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25526 (__fxstatat): Do not use CHECK_1.
25527 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25529 (__getresgid): Do not use CHECK_1.
25530 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25532 (__getresuid): Do not use CHECK_1.
25533 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25535 (__lxstat): Do not use CHECK_1.
25536 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25538 (__old_msgctl): Do not use CHECK_1.
25539 (__new_msgctl): Likewise.
25540 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25542 (__new_setrlimit): Do not use CHECK_1.
25543 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25545 (__old_shmctl): Do not use CHECK_1.
25546 (__new_shmctl): Likewise.
25547 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25549 (__xstat): Do not use CHECK_1.
25550 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25551 (__lxstat): Do not use CHECK_1.
25552 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25554 (___lxstat64): Do not use CHECK_1.
25555 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25556 (__old_msgctl): Do not use CHECK_1.
25557 (__new_msgctl): Likewise.
25558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25560 (__gettimeofday): Do not use CHECK_1.
25561 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25562 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25563 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25565 (__gettimeofday): Do not use CHECK_1.
25566 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25567 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25568 (__new_shmctl): Do not use CHECK_1.
25569 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25571 (do_sigtimedwait): Do not use CHECK_1.
25572 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25574 (do_sigwaitinfo): Do not use CHECK_1.
25575 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25577 (msgctl): Do not use CHECK_1.
25578 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25580 (shmctl): Do not use CHECK_1.
25581 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25582 (ustat): Do not use CHECK_1.
25583 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25585 (__fxstat): Do not use CHECK_1.
25586 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25588 (__fxstatat): Do not use CHECK_1.
25589 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25591 (__lxstat): Do not use CHECK_1.
25592 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25594 (__xstat): Do not use CHECK_1.
25595 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25596 (__xstat): Do not use CHECK_1.
25597 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25598 (___xstat64): Do not use CHECK_1.
25601 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25603 (CHECK_BOUNDS_HIGH): Likewise.
25604 * string/strcpy.c: Do not include <bp-checks.h>.
25605 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25607 2013-02-07 Roland McGrath <roland@hack.frob.com>
25609 * nscd/nscd-client.h (__nscd_drop_map_ref):
25610 Add __attribute__ ((unused)).
25611 * nis/nss-nisplus.h (niserr2nss): Likewise.
25613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25614 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25616 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25617 Remove inline keyword.
25618 * include/rounding-mode.h (round_away): Likewise.
25619 * libio/wfileops.c (adjust_wide_data): Likewise.
25620 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25621 (__m128i_strloadu_tolower): Likewise.
25622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25623 (__m128i_strloadu_tolower): Likewise.
25624 * time/mktime.c (ydhms_diff): Likewise.
25625 * locale/elem-hash.h (elem_hash): Likewise.
25626 * locale/setlocale.c (setdata): Likewise.
25627 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25628 (re_string_wchar_at): Likewise.
25629 (bitset_not, bitset_merge, bitset_mask): Likewise.
25630 [!(__GNUC__ > 3)] (inline): Remove macro.
25631 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25632 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25633 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25634 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25635 * string/memcmp.c (memcmp_bytes): Likewise.
25636 * locale/programs/locarchive.c (compute_hashval): Likewise.
25637 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25638 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25639 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25640 * nss/getent.c (print_rpc, print_protocols): Likewise.
25641 (print_passwd, print_group, print_aliases): Likewise.
25642 * nis/nss-nisplus.h (niserr2nss): Likewise.
25643 * nscd/connections.c (restart_p): Likewise.
25644 Change return type to bool.
25646 2013-02-05 Roland McGrath <roland@hack.frob.com>
25648 * Makeconfig (all-Depend-files): Add existing
25649 $(sorted-subdirs:=/Depend) files.
25650 (all-subdirs): Remove nss.
25651 * sysdeps/unix/inet/Subdirs: Add it here instead.
25652 * hesiod/Depend: New file.
25654 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25655 instead of calling alloca.
25657 * io/lseek.c (__lseek): Rename to __libc_lseek.
25658 Define __lseek as an alias.
25660 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25662 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25664 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25665 else clause and remove check for non-standard endianness.
25667 2013-02-04 David S. Miller <davem@davemloft.net>
25669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25671 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25674 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25675 (__ubp_memchr): Remove prototype.
25676 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25677 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25678 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25679 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25680 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25682 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25683 (__ubp_memchr): Likewise.
25684 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25685 (__ubp_memchr): Likewise.
25686 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25687 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25688 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25689 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25691 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25692 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25693 (__getcwd): Do not use CHECK_STRING.
25694 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25696 (__real_chown): Do not use CHECK_STRING.
25697 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25699 (fchownat): Do not use CHECK_STRING.
25700 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25702 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25704 (__lchown): Do not use CHECK_STRING.
25705 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25706 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25707 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25708 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25710 include <bp-checks.h>.
25711 (truncate64): Do not use CHECK_STRING.
25712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25714 (__real_chown): Do not use CHECK_STRING.
25715 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25717 (__lchown): Do not use CHECK_STRING.
25718 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25720 (__chown): Do not use CHECK_STRING.
25721 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25723 (truncate64): Do not use CHECK_STRING.
25724 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25726 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25727 (__xmknod): Do not use CHECK_STRING.
25728 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25730 (__xmknodat): Do not use CHECK_STRING.
25731 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25732 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25734 2013-02-04 Andreas Schwab <schwab@suse.de>
25737 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25738 * include/netdb.h: Likewise for h_errno.
25739 * elf/tst-stackguard1.c: Include <tls.h>.
25741 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25743 * elf/link.h (struct link_map): Extend the l_addr comment.
25744 * include/link.h (struct link_map): Likewise.
25746 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25749 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25750 (BOUNDED_1): Remove macro.
25751 * debug/backtrace.c: Don't include <bp-checks.h>.
25752 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25753 (__backtrace): Likewise.
25754 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25756 (__backtrace): Don't use BOUNDED_1.
25757 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25759 (__backtrace): Don't use BOUNDED_1.
25760 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25761 (__backtrace): Don't use BOUNDED_1.
25762 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25763 (shmat): Don't use BOUNDED_N.
25765 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25768 * sysdeps/generic/bp-start.h: Remove file.
25769 * csu/libc-start.c: Don't include <bp-start.h>.
25770 (LIBC_START_MAIN): Set up __environ directly instead of using
25771 INIT_ARGV_and_ENVIRON.
25772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25776 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25778 (CHECK_FCNTL): Likewise.
25779 (CHECK_N_PAGES): Likewise.
25782 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25784 (CHECK_SIGSET_NULL_OK): Likewise.
25785 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25787 (sigpending): Don't use CHECK_SIGSET.
25788 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25790 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25791 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25793 (do_sigsuspend): Don't use CHECK_SIGSET.
25794 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25796 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25797 (do_sigwait): Don't use CHECK_SIGSET.
25798 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25801 include <bp-checks.h>.
25802 (sigpending): Don't use CHECK_SIGSET.
25803 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25804 include <bp-checks.h>.
25805 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25806 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25808 (sigpending): Don't use CHECK_SIGSET.
25809 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25811 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25814 * sysdeps/generic/bp-semctl.h: Remove file.
25815 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25816 <bp-checks.h> and <bp-semctl.h>.
25817 (__old_semctl): Don't use CHECK_SEMCTL.
25818 (__new_semctl): Likewise.
25819 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25821 (__old_semctl): Don't use CHECK_SEMCTL.
25822 (__new_semctl): Likewise.
25823 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25824 <bp-checks.h> and <bp-semctl.h>.
25825 (__old_semctl): Don't use CHECK_SEMCTL.
25826 (__new_semctl): Likewise.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25828 <bp-checks.h> and <bp-semctl.h>.
25829 (semctl): Don't use CHECK_SEMCTL.
25832 * Makerules (elide-bp-thunks): Remove variable.
25833 (elide-routines.oS): Don't use $(elide-bp-thunks).
25834 (elide-routines.os): Likewise.
25835 (elide-routines.o): Likewise.
25836 (elide-routines.op): Likewise.
25837 (elide-routines.og): Likewise.
25838 (objects): Don't use $(bp-thunks).
25839 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25841 (common-generated): Do not add s-proto-bp.d.
25842 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25845 Do not generate makefile rules for bounded-pointer thunks.
25846 * sysdeps/generic/bp-thunks.h: Remove file.
25847 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25848 * sysdeps/unix/s-proto-bp.S: Likewise.
25851 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25852 parts of result separately when argument is not close to line from
25853 -i to i and one part of argument is small.
25854 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25855 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25856 * math/libm-test.inc (cacos_test): Add more tests.
25857 (casin_test): Likewise.
25858 (casinh_test): Likewise.
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25862 2013-01-31 David S. Miller <davem@davemloft.net>
25864 * po/de.po: Update from translation team.
25866 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25868 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25870 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25872 * configure.in (_AC_PROG_CC_C89): New definition.
25873 * configure: Regenerate.
25875 * configure.in (AC_PROG_CPP): New definition.
25876 * configure: Regenerate.
25878 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25880 * debug/tst-backtrace.h: New file.
25881 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25882 (ret): Remove variable.
25884 (FAIL): Remove macro.
25885 (NO_INLINE): Likewise.
25886 (fn1): Use match function instead of strstr.
25887 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25888 (ret): Remove variable.
25890 (FAIL): Remove macro.
25891 (NO_INLINE): Likewise.
25892 (fn): Use match function instead of strstr.
25893 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25894 (ret): Remove variable.
25896 (FAIL): Remove macro.
25897 (NO_INLINE): Likewise.
25898 (handle_signal): Use match function instead of strstr.
25899 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25900 (ret): Remove variable.
25902 (FAIL): Remove macro.
25903 (NO_INLINE): Likewise.
25904 (handle_signal): Use match function instead of strstr.
25906 2013-01-23 Roland McGrath <roland@hack.frob.com>
25908 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25910 2013-01-23 David S. Miller <davem@davemloft.net>
25912 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25913 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25914 argument of CAS if possible.
25915 * sysdeps/sparc/sparc64/bits/atomic.h
25916 (__arch_compare_and_exchange_val_32_acq): Likewise.
25917 (__arch_compare_and_exchange_val_64_acq): Likewise.
25919 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25921 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25922 * sysdeps/posix/ulimit.c: ... this.
25923 Include <limits.h>.
25924 * sysdeps/unix/bsd/ulimit.c: Remove file.
25926 2013-01-23 Adam Conrad <adconrad@0c3.net>
25928 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25929 (LDFLAGS-tst-array5): Likewise.
25931 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25934 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25935 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25936 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25937 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25939 2013-01-21 David S. Miller <davem@davemloft.net>
25941 * sysdeps/sparc/backtrace.c: New file.
25942 * sysdeps/sparc/sparc32/backtrace.h: New file.
25943 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25944 * sysdeps/sparc/sparc64/backtrace.h: New file.
25945 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25946 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25949 2013-01-21 Andreas Schwab <schwab@suse.de>
25952 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25955 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25961 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25962 Mark Mitchell <mark@codesourcery.com>
25963 Tom de Vries <tom@codesourcery.com>
25964 Paul Pluzhnikov <ppluzhnikov@google.com>
25966 * debug/tst-backtrace2.c: New file.
25967 * debug/tst-backtrace3.c: Likewise.
25968 * debug/tst-backtrace4.c: Likewise.
25969 * debug/tst-backtrace5.c: Likewise.
25970 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25971 (CFLAGS-tst-backtrace3.c): Likewise.
25972 (CFLAGS-tst-backtrace4.c): Likewise.
25973 (CFLAGS-tst-backtrace5.c): Likewise.
25974 (LDFLAGS-tst-backtrace2): Likewise.
25975 (LDFLAGS-tst-backtrace3): Likewise.
25976 (LDFLAGS-tst-backtrace4): Likewise.
25977 (LDFLAGS-tst-backtrace5): Likewise.
25978 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25979 tst-backtrace4 and tst-backtrace5.
25981 2013-01-18 Anton Blanchard <anton@samba.org>
25982 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25984 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25985 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25986 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25987 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25989 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25990 "+r" and remove output regs list as redundant. Add explicit inline
25991 asm to specify register of return val to work around compiler codegen
25992 bug. Remove (int) cast on return value. Add return type parameter to
25993 use in macro so that this macro does not truncate return value for
25995 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25996 pass to INTERNAL_VSYSCALL_NCS.
25997 (INLINE_VSYSCALL): Add 'long int' as return type to
25998 INTERNAL_VSYSCALL_NCS macro invocation.
25999 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26000 INTERNAL_VSYSCALL_NCS macro invocation.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26003 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26007 Fix application of SIMD FP exception mask.
26009 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26010 mp_no from a power of two.
26011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26012 __mpexp_twomm1. Use __pow_mp.
26014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26017 2013-01-17 David S. Miller <davem@davemloft.net>
26019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26021 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26024 * include/complex.h: Condition contents on [!_COMPLEX_H].
26025 (__kernel_casinhf): New prototype.
26026 (__kernel_casinh): Likewise.
26027 (__kernel_casinhl): Likewise.
26028 * math/Makefile (libm_calls): Add k_casinh.
26029 * math/k_casinh.c: New file.
26030 * math/k_casinhf.c: Likewise.
26031 * math/k_casinhl.c: Likewise.
26032 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26033 finite nonzero arguments.
26034 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26035 finite nonzero arguments.
26036 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26037 finite nonzero arguments.
26038 * math/s_casinh.c: Do not include <float.h>.
26039 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26040 * math/s_casinhf.c: Do not include <float.h>.
26041 (__casinhf): Move code for finite nonzero arguments to
26043 * math/s_casinhl.c: Do not include <float.h>.
26044 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26046 (__casinhl): Move code for finite nonzero arguments to
26048 * math/libm-test.inc (cacos_test): Add more tests.
26049 * sysdeps/i386/fpu/libm-test-ulps: Update.
26050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26052 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26054 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26055 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26056 [!HAVE_MREMAP]: Remove [defined linux] case.
26057 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26059 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26061 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26063 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26065 * elf/elf.h (R_386_SIZE32): New relocation.
26066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26068 (elf_machine_rela): Likewise.
26069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26070 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26072 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26074 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26075 (FP_FAST_FMA): Do not define.
26076 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26077 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26078 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26079 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26080 !_SOFT_FLOAT]: Likewise.
26081 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26082 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26084 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26085 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26086 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26087 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26088 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26089 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26092 2013-01-16 Andreas Schwab <schwab@suse.de>
26095 * include/stdlib.h (__mktemp): Add declaration.
26096 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26097 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26099 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26101 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26103 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26104 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26105 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26107 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26108 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26110 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26112 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26113 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26114 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26116 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26117 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26119 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26121 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26123 2013-01-15 David S. Miller <davem@davemloft.net>
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26126 trunc{,f} to libm-sysdep_routes.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26141 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26142 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26145 nearbyint{,f} to libm-sysdep_routes.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26159 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26163 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26164 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26166 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26167 libc_feholdexcept and libc_fesetenv.
26169 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26171 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26173 2013-01-14 David S. Miller <davem@davemloft.net>
26175 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26176 (SPARC_ASM_VIS2_IFUNC): Likewise.
26177 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26179 use of 'siam' instruction.
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26213 routines to libm-sysdep_routines.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26217 fdim/fdimf to libm-sysdep_routines.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26226 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26227 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26228 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26229 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26231 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26234 to optimize copies.
26236 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26241 local variable MPTWO.
26242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26245 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26247 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26250 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26252 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26254 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26256 * manual/pattern.texi (glob_t): Document gl_flags.
26257 (glob64_t): Likewise.
26259 2013-01-11 David S. Miller <davem@davemloft.net>
26261 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26262 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26263 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26264 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26265 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26266 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26267 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26268 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26269 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26270 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26271 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26272 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26273 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26276 sparc V9 rather than using V8 code.
26277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26282 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26285 2013-01-11 Roland McGrath <roland@hack.frob.com>
26287 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26288 not in the main loop.
26289 * configure: Regenerated.
26291 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26293 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26294 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26296 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26297 [!__GLIBC_HAVE_LONG_LONG] case.
26298 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26299 condition to just #else.
26300 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26301 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26302 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26303 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26305 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26306 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26307 #elif condition to just #else.
26308 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26309 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26310 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26311 #elif condition to just #else.
26313 2013-01-11 Steve Ellcey <sellcey@mips.com>
26315 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26316 (EF_MIPS_ARCH_64): Fix value.
26317 (EF_MIPS_ARCH_32R2): New.
26318 (EF_MIPS_ARCH_64R2): New.
26320 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26322 * Makeconfig (+link-pie-before-libc): New.
26323 (+link-pie-after-libc): Likewise.
26324 (+link-pie-tests): Likewise.
26325 (+link-pie): Rewritten.
26326 (link-before-libc): Remove $(config-LDFLAGS).
26327 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26328 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26329 (config-LDFLAGS): Renamed to ...
26330 (rtld-LDFLAGS): This.
26331 (rtld-tests-LDFLAGS): New macro.
26332 (link-libc-rpath-link): Likewise.
26333 (link-libc-tests-rpath-link): Likewise.
26334 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26335 (link-libc): Prepand $(link-libc-rpath-link).
26336 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26337 (test-program-prefix): New macro.
26338 (test-via-rtld-prefix): Likewise.
26339 (test-program-cmd): Likewise.
26340 (host-test-program-cmd): Likewise.
26341 * Makefile ($(common-objpfx)testrun.sh): Replace
26342 $(run-program-prefix) with $(test-program-prefix).
26343 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26345 ($(common-objpfx)shlib.lds): Likewise.
26346 (build-module-helper): Likewise.
26347 ($(common-objpfx)format.lds): Likewise.
26348 * Rules (binaries-pie-tests): New.
26349 (binaries-pie-notests): Likewise.
26350 (binaries-pie): Rewritten.
26351 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26352 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26353 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26354 (make-test-out): Replace $(host-built-program-cmd) with
26355 $(host-test-program-cmd).
26356 * config.make.in (build-hardcoded-path-in-tests): New variable.
26357 * configure.in (--enable-hardcoded-path-in-tests): New configure
26359 (hardcoded_path_in_tests): New AC_SUBST.
26360 * configure: Regenerated.
26361 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26362 $(built-program-cmd) with $(test-program-cmd).
26363 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26364 (test_program_cmd): This.
26365 * elf/Makefile ($(objpfx)order.out): Run test with
26366 $(test-program-prefix).
26367 ($(objpfx)order2.out): Likewise.
26368 ($(objpfx)tst-initorder.out): Likewise.
26369 ($(objpfx)tst-initorder2.out): Likewise.
26370 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26371 $(test-program-cmd).
26372 ($(objpfx)tst-array1-static.out): Likewise.
26373 ($(objpfx)tst-array2.out): Likewise.
26374 ($(objpfx)tst-array3.out): Likewise.
26375 ($(objpfx)tst-array4.out): Likewise.
26376 ($(objpfx)tst-array5.out): Likewise.
26377 ($(objpfx)tst-array5-static.out): Likewise.
26378 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26379 $(test-program-cmd).
26380 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26381 $(run-program-prefix) with $(test-program-prefix).
26382 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26383 (test_program_prefix): This.
26384 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26385 $(run-program-prefix) with $(test-program-prefix).
26386 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26387 (test_program_prefix): This.
26388 * iconvdata/tst-tables.sh: Likewise.
26389 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26390 $(run-program-prefix) with $(test-program-prefix).
26391 ($(objpfx)tst-translit.out): Likewise.
26392 ($(objpfx)tst-gettext2.out): Likewise.
26393 ($(objpfx)tst-gettext4.out): Likewise.
26394 ($(objpfx)tst-gettext6.out): Likewise.
26395 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26396 (test_program_prefix): This.
26397 * intl/tst-gettext2.sh: Likewise.
26398 * intl/tst-gettext4.sh Likewise.
26399 * intl/tst-gettext6.sh: Likewise.
26400 * intl/tst-translit.sh: Likewise.
26401 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26402 with $(test-program-cmd).
26403 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26404 $(run-program-prefix) with $(test-program-prefix).
26405 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26406 (test_program_prefix): This.
26407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26408 $(run-program-prefix) with $(test-program-prefix).
26409 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26410 (test_program_prefix): This.
26411 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26412 * posix/Makefile ($(objpfx)globtest.out): Replace
26413 $(run-via-rtld-prefix) and $(test-wrapper) with
26414 $(test-program-prefix) and $(test-via-rtld-prefix).
26415 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26416 $(test-program-prefix).
26417 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26418 $(host-test-program-cmd).
26419 (tst-spawn-ARGS): Likewise.
26420 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26421 $(test-program-prefix).
26422 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26423 (test_via_rtld_prefix): This.
26424 (test_wrapper): Renamed to ...
26425 (test_program_prefix): This.
26426 (run_program_prefix): Replaced by test_program_prefix.
26427 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26428 (test_program_prefix): This.
26429 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26430 with $(host-test-program-cmd).
26431 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26432 $(run-program-prefix) with $(test-program-prefix).
26433 ($(objpfx)tst-printf.out): Likewise.
26434 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26435 $(test-program-cmd).
26436 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26437 (test_program_prefix): This.
26438 * stdio-common/tst-unbputc.sh: Likewise.
26439 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26440 $(run-program-prefix) with $(test-program-prefix).
26441 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26442 (test_program_prefix): This.
26443 * string/Makefile ($(objpfx)tst-svc.out): Replace
26444 $(built-program-cmd) with $(test-program-cmd).
26446 2013-01-11 Andreas Jaeger <aj@suse.de>
26449 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26450 value. Sync with Linux 3.7.
26452 2013-01-10 David S. Miller <davem@davemloft.net>
26454 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26458 2013-01-10 Roland McGrath <roland@hack.frob.com>
26460 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26462 * configure: Regenerated.
26464 2013-01-10 David S. Miller <davem@davemloft.net>
26466 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26467 sparc V9 rather than using V8 code.
26468 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26469 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26471 2013-01-10 Roland McGrath <roland@hack.frob.com>
26473 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26474 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26475 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26476 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26477 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26478 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26479 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26480 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26481 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26482 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26483 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26484 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26485 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26486 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26487 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26488 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26489 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26490 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26491 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26492 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26493 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26494 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26495 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26496 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26497 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26498 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26499 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26501 2013-01-10 David S. Miller <davem@davemloft.net>
26503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26505 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26507 * posix/Makefile (tests-static): New variable.
26508 (tests): Add $(tests-static).
26509 (tst-exec-static-ARGS): New variable.
26510 (tst-spawn-static-ARGS): Likewise.
26511 * posix/tst-exec-static.c: New file.
26512 * posix/tst-spawn-static.c: Likewise.
26513 * posix/tst-exec.c: Support run directly.
26514 * posix/tst-spawn.c: Likewise.
26516 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26518 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26520 * math/bits/mathcalls.h (llrint): Likewise.
26521 (llround): Likewise.
26522 * stdlib/stdlib.h (struct drand48_data): Likewise.
26523 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26524 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26525 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26527 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26529 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26530 (elf_greg_t): Likewise.
26531 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26532 (__jmp_buf): Likewise.
26533 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26535 (llrint): Likewise, for all definitions.
26536 (llrintl): Likewise.
26538 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26539 Remove [__GNUC__] condition.
26540 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26541 condition to just [__USE_ISOC99].
26542 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26544 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26547 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26548 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26550 (_POSIX_V6_ILP32_OFF32): Likewise.
26551 (_XBS5_ILP32_OFF32): Likewise.
26552 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26553 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26555 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26557 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26560 doubles __mpexp_twomm1. Adjust usage.
26561 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26564 2013-01-10 Andreas Schwab <schwab@suse.de>
26567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26568 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26570 2013-01-09 David S. Miller <davem@davemloft.net>
26573 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26574 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26575 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26576 (TCP_FASTOPEN): Define.
26577 (tcp_repair_opt): New structure.
26578 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26580 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26581 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26582 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26583 (tcp_cookie_transactions): New structure.
26585 2013-01-09 Anton Blanchard <anton@samba.org>
26587 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26588 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26589 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26592 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26594 * include/features.h (__USE_ANSI): Remove.
26596 2013-01-09 Roland McGrath <roland@hack.frob.com>
26598 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26600 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26602 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26604 * sysdeps/s390/fpu/libm-test-ulps: Update.
26606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26608 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26612 (denorm): Likewise.
26613 (__mp_dbl): Likewise.
26614 (__dbl_mp): Likewise.
26615 (add_magnitudes): Likewise.
26616 (sub_magnitudes): Likewise.
26622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26626 (denorm): Likewise.
26627 (__mp_dbl): Likewise.
26628 (__dbl_mp): Likewise.
26629 (add_magnitudes): Likewise.
26630 (sub_magnitudes): Likewise.
26636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26640 (denorm): Likewise.
26641 (__mp_dbl): Likewise.
26642 (__dbl_mp): Likewise.
26643 (add_magnitudes): Likewise.
26644 (sub_magnitudes): Likewise.
26651 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26653 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26654 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26655 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26656 2 && __USE_EXTERN_INLINES]: Likewise.
26658 2013-01-08 Andreas Jaeger <aj@suse.de>
26661 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26663 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26664 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26666 2013-01-07 Anton Blanchard <anton@samba.org>
26668 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26669 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26670 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26671 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26672 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26673 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26674 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26675 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26678 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26679 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26683 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26684 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26686 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26688 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26691 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26692 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26693 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26694 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26695 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26697 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26698 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26701 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26703 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26707 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26708 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26709 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26710 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26712 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26714 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26715 (__MALLOC_PMT): Likewise.
26716 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26717 [__GNUC__], only on [_LIBC].
26718 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26719 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26720 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26721 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26722 forward declaration.
26723 (realloc_hook_ini): Likewise.
26724 (memalign_hook_ini): Likewise.
26725 (__libc_memalign): Do not use __MALLOC_PMT in variable
26727 (__libc_valloc): Likewise.
26728 (__libc_pvalloc): Likewise.
26729 (__libc_calloc): Likewise.
26730 (__posix_memalign): Likewise.
26733 * math/s_casinh.c: Include <float.h>.
26734 (__casinh): Do not do computation with squaring and square root
26735 for large arguments.
26736 * math/s_casinhf.c: Include <float.h>.
26737 (__casinhf): Do not do computation with squaring and square root
26738 for large arguments.
26739 * math/s_casinhl.c: Include <float.h>.
26740 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26741 (__casinhl): Do not do computation with squaring and square root
26742 for large arguments.
26743 * math/libm-test.inc (casin_test): Add more tests.
26744 (casinh_test): Likewise.
26745 * sysdeps/i386/fpu/libm-test-ulps: Update.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26748 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26750 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26751 (__x86_64_raw_data_cache_size): Likewise.
26752 (__x86_64_data_cache_size_half): Likewise.
26753 (__x86_64_raw_data_cache_size_half): Likewise.
26754 (__x86_64_shared_cache_size): Likewise.
26755 (__x86_64_raw_shared_cache_size): Likewise.
26756 (__x86_64_shared_cache_size_half): Likewise.
26757 (__x86_64_raw_shared_cache_size_half): Likewise.
26758 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26760 (__x86_data_cache_size): This.
26761 (__x86_64_raw_data_cache_size): Renamed to ...
26762 (__x86_raw_data_cache_size): This.
26763 (__x86_64_data_cache_size_half): Renamed to ...
26764 (__x86_data_cache_size_half): This.
26765 (__x86_64_raw_data_cache_size_half): Renamed to ...
26766 (__x86_raw_data_cache_size_half): This.
26767 (__x86_64_shared_cache_size): Renamed to ...
26768 (__x86_shared_cache_size): This.
26769 (__x86_64_raw_shared_cache_size): Renamed to ...
26770 (__x86_raw_shared_cache_size): This.
26771 (__x86_64_shared_cache_size_half): Renamed to ...
26772 (__x86_shared_cache_size_half): This.
26773 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26774 (__x86_raw_shared_cache_size_half): This.
26775 * sysdeps/x86_64/memcpy.S: Updated.
26776 * sysdeps/x86_64/memset.S: Likewise.
26777 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26778 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26781 2013-01-04 David S. Miller <davem@davemloft.net>
26783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26785 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26787 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26788 1 to avoid redefinition warning.
26789 (__USE_GNU): Don't define.
26790 (init_signaling_nan): Protoize.
26792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26794 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26796 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26798 (__cpymn): Likewise.
26799 (norm): Remove commented code.
26800 (denorm): Likewise.
26801 (__mp_dbl): Likewise.
26803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26804 (__cpymn): Likewise.
26805 (norm): Remove commented code.
26806 (denorm): Likewise.
26807 (__mp_dbl): Likewise.
26810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26811 mp_no value for 1.0 and 2.0.
26812 (norm): Use RADIXI instead of radixi.d.
26813 (denorm): Likewise.
26814 (__mul): Use 0.0 instead of zero.d.
26815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26816 mp_no value for 1.0 and 2.0.
26817 (norm): Use RADIXI instead of radixi.d.
26818 (denorm): Likewise.
26819 (__mul): Use 0.0 instead of zero.d.
26821 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26824 * math/s_casinh.c (__casinh): Reduce finite argument to first
26825 quadrant then set signs of results at the end.
26826 * math/s_casinhf.c (__casinhf): Likewise.
26827 * math/s_casinhl.c (__casinhl): Likewise.
26828 * math/libm-test.inc (casin_test): Add more tests.
26829 (casinh_test): Likewise.
26830 * sysdeps/i386/fpu/libm-test-ulps: Update.
26831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26833 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26835 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26837 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26839 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26841 (denorm): Likewise.
26842 (__mp_dbl): Likewise.
26845 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26846 and adjust the header comment.
26848 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26849 variable name from declaration.
26851 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26854 Initialize COMMON_CPUID_INDEX_7 element.
26855 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26856 (CPUID_RTM): Likewise.
26857 (HAS_RTM): Likewise.
26858 (COMMON_CPUID_INDEX_7): New enum.
26860 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26863 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26864 size is zero, record memory as freed.
26866 2013-01-03 Andreas Jaeger <aj@suse.de>
26868 * po/ia.po: Add new Interlingua translation.
26870 2012-01-03 Allan McRae <allan@archlinux.org>
26872 * locale/programs/localedef.c: Fix description of '--posix' flag.
26874 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26876 * NEWS: Update dates in second copyright notice.
26877 * README: Update copyright dates in example.
26878 * manual/libc.texinfo: Update copyright dates.
26879 * scripts/test-installation.pl: Update copyright date in --version
26882 * hurd/ctty-input.c: Fix copyright notice formatting.
26883 * hurd/ctty-output.c: Likewise.
26884 * hurd/dtable.c: Likewise.
26885 * hurd/hurd-raise.c: Likewise.
26886 * hurd/hurdprio.c: Likewise.
26887 * hurd/msgportdemux.c: Likewise.
26888 * misc/sys/file.h: Likewise.
26889 * misc/sys/ioctl.h: Likewise.
26890 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26891 * sysdeps/mach/hurd/chdir.c: Likewise.
26892 * sysdeps/mach/hurd/fchdir.c: Likewise.
26893 * sysdeps/mach/hurd/rename.c: Likewise.
26894 * sysdeps/mach/hurd/rmdir.c: Likewise.
26895 * sysdeps/mach/hurd/seekdir.c: Likewise.
26896 * sysdeps/mach/hurd/setsid.c: Likewise.
26897 * sysdeps/posix/wait3.c: Likewise.
26899 * All files with FSF copyright notices: Update copyright dates
26900 using scripts/update-copyrights.
26901 * intl/plural.c: Regenerated.
26902 * locale/programs/charmap-kw.h: Likewise.
26903 * locale/programs/locfile-kw.h: Likewise.
26905 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26911 calculation loop and add branch prediction.
26913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26914 check access beyond bounds of m1np.
26916 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26918 (__inv): Remove local variable MPTWO to use the global
26920 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26924 MP3HALFS static const.
26926 2013-01-01 David S. Miller <davem@davemloft.net>
26928 * po/ca.po: Update from translation team.
26930 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26932 * scripts/update-copyrights: New file.
26933 * Makeconfig: Reformat copyright notice.
26934 * ctype/ctype.h: Likewise.
26935 * debug/swprintf_chk.c: Likewise.
26936 * elf/dl-cache.c: Likewise.
26937 * elf/dl-debug.c: Likewise.
26938 * elf/dl-object.c: Likewise.
26939 * grp/initgroups.c: Likewise.
26940 * hurd/Makefile: Likewise.
26941 * hurd/hurd/signal.h: Likewise.
26942 * hurd/hurdfault.c: Likewise.
26943 * hurd/hurdioctl.c: Likewise.
26944 * hurd/hurdlookup.c: Likewise.
26945 * hurd/intr-msg.c: Likewise.
26946 * iconv/gconv_open.c: Likewise.
26947 * libio/swprintf.c: Likewise.
26948 * locale/lc-ctype.c: Likewise.
26949 * locale/nl_langinfo.c: Likewise.
26950 * mach/Machrules: Likewise.
26951 * mach/Makefile: Likewise.
26952 * malloc/obstack.h: Likewise.
26953 * manual/Makefile: Likewise.
26954 * manual/tsort.awk: Likewise.
26955 * misc/bits/stab.def: Likewise.
26956 * nis/nis_print_group_entry.c: Likewise.
26957 * nis/nis_table.c: Likewise.
26958 * nis/nss_compat/compat-pwd.c: Likewise.
26959 * nis/nss_compat/compat-spwd.c: Likewise.
26960 * po/Makefile: Likewise.
26961 * posix/fnmatch.c: Likewise.
26962 * posix/regex.h: Likewise.
26963 * resolv/Makefile: Likewise.
26964 * resolv/nss_dns/dns-network.c: Likewise.
26965 * resolv/res_hconf.c: Likewise.
26966 * scripts/gen-sorted.awk: Likewise.
26967 * soft-fp/soft-fp.h: Likewise.
26968 * stdio-common/printf.h: Likewise.
26969 * stdlib/monetary.h: Likewise.
26970 * stdlib/random.c: Likewise.
26971 * stdlib/random_r.c: Likewise.
26972 * sysdeps/generic/Makefile: Likewise.
26973 * sysdeps/gnu/Makefile: Likewise.
26974 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26976 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26984 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26988 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26992 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26994 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27002 * sysdeps/mach/hurd/errnos.awk: Likewise.
27003 * sysdeps/mach/hurd/fork.c: Likewise.
27004 * sysdeps/mach/hurd/getcwd.c: Likewise.
27005 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27006 * sysdeps/mach/hurd/mmap.c: Likewise.
27007 * sysdeps/mach/hurd/utimes.c: Likewise.
27008 * sysdeps/mach/hurd/xmknod.c: Likewise.
27009 * sysdeps/posix/profil.c: Likewise.
27010 * sysdeps/posix/readdir_r.c: Likewise.
27011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27012 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27014 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27020 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27022 * sysdeps/pthread/lio_listio.c: Likewise.
27023 * sysdeps/sparc/dl-procinfo.h: Likewise.
27024 * sysdeps/unix/i386/sysdep.S: Likewise.
27025 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27026 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27027 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27028 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27030 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27031 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27032 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27033 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27034 * sysdeps/wordsize-32/divdi3.c: Likewise.
27035 * time/sys/time.h: Likewise.
27036 * wcsmbs/Makefile: Likewise.
27038 2013-01-01 David S. Miller <davem@davemloft.net>
27040 * po/fr.po: Update from translation team.
27042 * catgets/gencat.c: Update copyright year.
27043 * csu/version.c: Likewise.
27044 * debug/catchsegv.sh: Likewise.
27045 * debug/pcprofiledump.c: Likewise.
27046 * debug/xtrace.sh: Likewise.
27047 * elf/ldconfig.c: Likewise.
27048 * elf/ldd.bash.in: Likewise.
27049 * elf/pldd.c: Likewise.
27050 * elf/sotruss.ksh: Likewise.
27051 * elf/sprof.c: Likewise.
27052 * iconv/iconv_prog.c: Likewise.
27053 * iconv/iconvconfig.c: Likewise.
27054 * locale/programs/locale.c: Likewise.
27055 * locale/programs/localedef.c: Likewise.
27056 * login/programs/pt_chown.c: Likewise.
27057 * malloc/memusage.sh: Likewise.
27058 * malloc/memusagestat.c: Likewise.
27059 * malloc/mtrace.pl: Likewise.
27060 * nscd/nscd.c: Likewise.
27061 * nss/getent.c: Likewise.
27062 * nss/makedb.c: Likewise.
27063 * posix/getconf.c: Likewise.
27065 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27067 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27070 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27072 * math/bits/mathcalls.h (modf): Use __nonnull.
27074 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27076 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27077 (split): Use macro CN instead of the bare value.
27078 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27081 instead of the bare value.
27082 (power1): Likewise.
27084 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27090 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27092 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27093 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27094 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27095 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27097 2012-12-28 Andreas Jaeger <aj@suse.de>
27099 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27100 values are from Linux 3.7.
27102 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27103 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27105 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27107 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27110 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27112 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27113 variables with preprocessor constants.
27114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27115 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27116 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27118 2012-12-27 Bruno Haible <bruno@clisp.org>
27121 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27124 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27127 and use variable directly.
27128 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27130 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27132 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27135 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27137 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27138 include directive. Remove local variable MPONE.
27139 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27140 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27141 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27143 2012-12-25 David S. Miller <davem@davemloft.net>
27145 * version.h (RELEASE): Set to "development".
27146 (VERSION): Set to "2.17.90".
27147 * NEWS: Add 2.18 section.
27149 2012-12-21 David S. Miller <davem@davemloft.net>
27151 * po/hr.po: Update from translation team.
27153 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27155 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27157 2012-12-19 Steve Ellcey <sellcey@mips.com>
27159 * NEWS: Mention new memcpy for MIPS.
27161 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27163 * manual/contrib.texi (Contributors): Spelling correction.
27165 2012-12-15 David S. Miller <davem@davemloft.net>
27167 * po/ru.po: Update from translation team.
27169 2012-12-13 David S. Miller <davem@davemloft.net>
27171 * NEWS: Mention IFUNC testsuite enhancements.
27173 * po/pl.po: Update from translation team.
27174 * po/bg.po: Likewise.
27176 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27177 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27179 2012-12-11 David S. Miller <davem@davemloft.net>
27181 * po/sv.po: Update from translation team.
27183 * po/vi.po: Update from translation team.
27185 * po/cs.po: Update from translation team.
27187 * po/de.po: Update from translation team.
27188 * po/eo.po: Likewise.
27189 * po/nl.po: Likewise.
27191 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27194 * manual/argp.texi (Argp Helper Functions): Move node to follow
27195 Argp Parsing State.
27198 * manual/conf.texi (Limits on File System Capacity): Mention if
27199 terminating null is included in the max size.
27201 2012-12-10 Andreas Jaeger <aj@suse.de>
27203 * po/cs.po: Update from translation team.
27205 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27207 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27208 void pointer and cast to uintptr_t.
27209 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27211 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27212 * sysdeps/s390/s390-64/memset.S: Likewise.
27214 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27217 * menual/message.texi (Message Translation): Fix typos.
27218 (Helper programs for gettext): Likewise.
27220 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27223 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27226 2012-12-07 David S. Miller <davem@davemloft.net>
27228 * po/libc.pot: Update.
27230 2012-12-07 Richard Henderson <rth@redhat.com>
27233 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27234 normal/normal case to before the switch.
27235 (_FP_DIV): Likewise.
27237 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27238 Mike Frysinger <vapier@gentoo.org>
27240 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27241 check for __NR_fadvise64_64.
27243 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27245 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27246 0, not just to plain "0" as a statement.
27247 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27250 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27252 * NEWS: Use sourceware.org in Bugzilla URL.
27254 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27257 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27259 * stdio-common/tst-put-error.c (do_test): Add newline to the
27260 padded test to ensure flush.
27262 2012-12-05 Jeff Law <law@redhat.com>
27264 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27266 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27268 * README: Don't refer to ports add-on as distributed separately.
27269 Mention AArch64 in list of systems supported in the ports add-on.
27271 * LICENSES: Add more non-FSF copyright and license notices.
27273 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27276 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27278 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27279 10000 as width of padded output.
27281 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27283 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27285 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27286 variable LX with __attribute__ ((unused)).
27287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27289 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27291 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27292 with __attribute__ ((unused)).
27294 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27296 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27298 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27300 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27301 (CFLAGS-nldbl-acos.c): New variable.
27302 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27303 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27304 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27305 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27306 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27307 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27308 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27309 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27310 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27311 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27312 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27313 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27314 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27315 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27316 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27317 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27318 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27319 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27320 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27321 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27322 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27323 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27324 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27325 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27326 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27327 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27328 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27329 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27330 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27331 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27332 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27333 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27334 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27335 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27336 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27337 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27338 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27339 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27340 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27341 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27342 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27343 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27344 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27345 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27346 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27347 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27348 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27349 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27350 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27351 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27352 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27353 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27354 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27355 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27356 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27357 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27358 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27359 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27364 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27365 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27366 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27367 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27368 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27369 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27370 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27371 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27372 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27373 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27374 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27375 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27376 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27377 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27378 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27379 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27380 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27381 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27382 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27383 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27401 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27405 whole low double instead of just low 47 bits when splitting values
27408 2012-12-03 Allan McRae <allan@archlinux.org>
27410 * manual/stdio.texi (Predefined Printf Handlers): Remove
27411 @hsep and @vsep usage.
27413 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27415 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27416 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27418 2012-12-03 Jeff Law <law@redhat.com>
27420 * time/sys/time.h (settimeofday): Do not mark TV argument
27423 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27425 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27426 when currently writing and seek to current position when not.
27427 * libio/Makefile (tests): Remove bug-fclose1.
27428 * libio/bug-fclose1.c: Delete.
27430 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27432 * manual/arith.texi (feenableexcept): Fix typo.
27433 (fedisableexcept): Likewise.
27435 2012-11-30 Roland McGrath <roland@hack.frob.com>
27437 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27438 second, differently-typed declaration, rather than a cast.
27440 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27442 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27443 * include/rpc/svc.h: ... here.
27445 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27448 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27449 depending n and resplen2 to catch cases where answer
27452 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27454 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27455 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27457 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27461 2012-11-29 Roland McGrath <roland@hack.frob.com>
27463 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27465 2012-11-28 Jeff Law <law@redhat.com>
27468 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27469 dataset_temporary. Track alloca usage into alloca_used.
27470 If dataset is large allocate and release it via malloc/free.
27472 2012-06-04 Florian Weimer <fweimer@redhat.com>
27475 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27477 2012-11-28 David S. Miller <davem@davemloft.net>
27479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27481 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27484 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27485 of pi/2 rounded to nearest to 64 bits.
27486 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27487 nearest to 64 bits.
27488 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27491 2012-11-28 Jeff Law <law@redhat.com>
27492 Martin Osvald <mosvald@redhat.com>
27495 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27496 * sunrpc/svc.c: Include time.h.
27497 (__svc_accept_failed): New function.
27498 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27499 any reason other than EINTR, call __svc_accept_failed.
27500 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27501 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27503 2012-11-28 Andreas Schwab <schwab@suse.de>
27505 * scripts/abilist.awk: Also handle indirect functions in .opd
27508 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27511 * sysdeps/x86/fpu/powl_helper.c: New file.
27512 * sysdeps/x86/fpu/Makefile: Likewise.
27513 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27515 (__ieee754_powl): Use __powl_helper for finite arguments except
27516 integer exponents below 8.
27517 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27519 (__ieee754_powl): Use __powl_helper for finite arguments except
27520 integer exponents below 8.
27521 * math/libm-test.inc (pow_test): Add more tests and enable some
27522 previously disabled tests.
27523 * sysdeps/i386/fpu/libm-test-ulps: Update.
27524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27526 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27527 Carlos O'Donell <carlos_odonell@mentor.com>
27529 * nss/makedb.c (is_prime): Assert that input is odd and greater
27530 than 4. Note that fact in a comment too.
27531 (next_prime): Add 4 to input.
27533 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27536 * libio/Makefile (tests): Add test case tst-fwrite-error.
27537 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27538 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27539 * libio/tst-fwrite-error.c: New test case.
27541 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27543 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27544 before casting to void *.
27545 * include/libc-internal.h (__pointer_type): New macro.
27546 (__integer_if_pointer_type_sub): Likewise.
27547 (__integer_if_pointer_type): Likewise.
27548 (cast_to_integer): Likewise.
27549 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27550 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27551 before casting to atomic64_t.
27552 (atomic_exchange_acq): Likewise.
27553 (__arch_exchange_and_add_body): Likewise.
27554 (__arch_add_body): Likewise.
27555 (atomic_add_negative): Likewise.
27556 (atomic_add_zero): Likewise.
27558 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27560 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27561 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27562 (add_fdes): Likewise.
27563 (linear_search_fdes): Likewise.
27564 (binary_search_unencoded_fdes): Likewise.
27566 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27568 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27570 2012-11-24 Adam Conrad <adconrad@0c3.net>
27572 * configure.in: Autodetect C++ header directories.
27573 * configure: Regenerated.
27575 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27577 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27579 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27583 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27585 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27586 LDBL_MANT_DIG == 106]: Disable some tests.
27587 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27589 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27594 input for small inputs. Return +/- pi/2 for large inputs.
27595 * math/libm-test.inc (atan_test): Add more tests.
27597 * sysdeps/generic/unwind-dw2-fde-glibc.c
27598 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27599 __attribute__ ((unused)).
27602 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27603 x * y if x and y are nonzero and z is zero.
27606 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27607 nonzero exponents with absolute value below 0x1p-117 to +/-
27611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27612 up arguments below 2**-450, not just those below 2**-500.
27613 * math/libm-test.inc (hypot_test): Add another test.
27616 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27617 Return a+b for ratio over 2**120, not 2**60.
27618 * math/libm-test.inc (hypot_test): Add another test.
27620 * math/libm-test.inc (clog_test): Use
27621 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27622 (clog10_test): Likewise.
27625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27627 2012-11-22 Andreas Schwab <schwab@suse.de>
27629 * sysdeps/i386/fpu/libm-test-ulps: Update.
27631 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27633 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27634 printf output with newline.
27636 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27639 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27640 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27641 -z nodlopen, -z initfirst and -z execstack support.
27642 * configure: Regenerated.
27644 * elf/elf.h (DF_1_NODIRECT): New macro.
27645 (DF_1_IGNMULDEF): Likewise.
27646 (DF_1_NOKSYMS): Likewise.
27647 (DF_1_NOHDR): Likewise.
27648 (DF_1_EDITED): Likewise.
27649 (DF_1_NORELOC): Likewise.
27650 (DF_1_SYMINTPOSE): Likewise.
27651 (DF_1_GLOBAUDIT): Likewise.
27652 (DF_1_SINGLETON): Likewise.
27653 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27654 DT_1_SUPPORTED_MASK bits.
27655 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27657 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27659 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27661 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27663 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27666 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27667 (sendmmsg): Move declarations...
27668 * socket/sys/socket.h: ... here.
27669 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27670 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27672 * socket/recvmmsg.c: ... this new file.
27673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27674 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27675 definition of __sendmmsg hidden.
27676 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27677 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27678 Move ENOSYS stub into and include it from...
27679 * socket/sendmmsg.c: ... this new file.
27680 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27681 (sysdep_routines): Move recvmmsg and sendmmsg...
27682 * socket/Makefile (routines): ... here.
27683 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27684 (GLIBC_PRIVATE): Add __sendmmsg.
27685 * include/sys/socket.h (__sendmmsg): Add declarations.
27686 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27689 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27692 variable I1 with __attribute__ ((unused)).
27693 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27695 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27697 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27698 DUMMY variables with __attribute__ ((unused)).
27700 * bits/byteswap.h: Include <bits/types.h>.
27701 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27703 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27705 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27706 string_t. Do not manually set errno.
27707 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27708 length with __strnlen. Make sure to both set errno and return it on
27711 2012-11-19 David S. Miller <davem@davemloft.net>
27713 With help from Joseph Myers.
27714 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27715 very large arguments properly.
27716 * math/libm-test.inc (atan_test): New tests.
27717 (atan2_test): New tests.
27718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27721 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27724 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27727 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27728 [POSIX] (EADDRNOTAVAIL): Likewise.
27729 [POSIX] (EAFNOSUPPORT): Likewise.
27730 [POSIX] (EALREADY): Likewise.
27731 [POSIX] (ECONNABORTED): Likewise.
27732 [POSIX] (ECONNREFUSED): Likewise.
27733 [POSIX] (ECONNRESET): Likewise.
27734 [POSIX] (EDESTADDRREQ): Likewise.
27735 [POSIX] (EDQUOT): Likewise.
27736 [POSIX] (EHOSTUNREACH): Likewise.
27737 [POSIX] (EIDRM): Likewise.
27738 [POSIX] (EISCONN): Likewise.
27739 [POSIX] (ELOOP): Likewise.
27740 [POSIX] (EMULTIHOP): Likewise.
27741 [POSIX] (ENETDOWN): Likewise.
27742 [POSIX] (ENETUNREACH): Likewise.
27743 [POSIX] (ENOBUFS): Likewise.
27744 [POSIX] (ENODATA): Likewise.
27745 [POSIX] (ENOLINK): Likewise.
27746 [POSIX] (ENOMSG): Likewise.
27747 [POSIX] (ENOPROTOOPT): Likewise.
27748 [POSIX] (ENOSR): Likewise.
27749 [POSIX] (ENOSTR): Likewise.
27750 [POSIX] (ENOTCONN): Likewise.
27751 [POSIX] (ENOTSOCK): Likewise.
27752 [POSIX] (EOPNOTSUPP): Likewise.
27753 [POSIX] (EOVERFLOW): Likewise.
27754 [POSIX] (EPROTO): Likewise.
27755 [POSIX] (EPROTONOSUPPORT): Likewise.
27756 [POSIX] (EPROTOTYPE): Likewise.
27757 [POSIX] (ESTALE): Likewise.
27758 [POSIX] (ETIME): Likewise.
27759 [POSIX] (ETXTBSY): Likewise.
27760 [POSIX] (EWOULDBLOCK): Likewise.
27761 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27762 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27763 [POSIX] (SEEK_CUR): Likewise.
27764 [POSIX] (SEEK_END): Likewise.
27765 [POSIX || UNIX98] (mode_t): Do not require.
27766 [POSIX] (off_t): Likewise.
27767 [POSIX] (pid_t): Likewise.
27768 [POSIX] (sys/stat.h): Do not allow header.
27769 [POSIX] (unistd.h): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27771 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27773 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27775 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27776 sigevent): Specify elements.
27777 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27779 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27780 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27782 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27783 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27784 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27785 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27786 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27787 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27788 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27789 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27790 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27791 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27792 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27793 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27794 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27795 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27797 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27801 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27803 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27804 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27805 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27806 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27807 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27808 Specify lower bound on value.
27809 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27810 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27811 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27812 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27813 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27815 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27816 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27818 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27820 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27821 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27822 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27823 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27824 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27825 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27826 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27828 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27829 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27830 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27831 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27832 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27833 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27834 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27835 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27837 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27839 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27840 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27841 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27842 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27843 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27844 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27846 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27847 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27848 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27849 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27850 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27851 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27852 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27854 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27855 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27856 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27857 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27858 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27859 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27860 specify as optional.
27861 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27865 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27866 [XPG3] (NL_LANGMAX): Likewise.
27867 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27868 [POSIX || XPG3] (NL_NMAX): Likewise.
27869 [POSIX || XPG3] (NL_SETMAX): Likewise.
27870 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27871 [XPG3] (NZERO): Likewise.
27872 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27873 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27874 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27875 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27876 (REG_ERANGE): Expect.
27877 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27879 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27880 Use (void) in prototype.
27881 [POSIX] (*_t): Allow.
27882 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27883 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27884 (WRDE_BADVAL): Expect.
27886 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27888 [XPG3 || XPG4] (O_RSYNC): Likewise.
27889 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27891 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27892 [XPG3 || XPG4] (sigqueue): Likewise.
27893 [XPG3 || XPG4] (sigtimedwait): Likewise.
27894 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27895 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27896 [XPG3 || XPG4] (vsnprintf): Likewise.
27897 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27899 [XPG3 || XPG4] (blksize_t): Likewise.
27900 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27902 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27903 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27904 [XPG3 || XPG4] (struct itimerspec): Likewise.
27905 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27906 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27907 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27908 [XPG3 || XPG4] (clockid_t): Likewise.
27909 [XPG3 || XPG4] (timer_t): Likewise.
27910 [XPG3 || XPG4] (clock_getres): Likewise.
27911 [XPG3 || XPG4] (clock_gettime): Likewise.
27912 [XPG3 || XPG4] (clock_settime): Likewise.
27913 [XPG3 || XPG4] (nanosleep): Likewise.
27914 [XPG3 || XPG4] (timer_create): Likewise.
27915 [XPG3 || XPG4] (timer_delete): Likewise.
27916 [XPG3 || XPG4] (timer_gettime): Likewise.
27917 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27918 [XPG3 || XPG4] (timer_settime): Likewise.
27919 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27920 [XPG3 || XPG4] (getlogin_r): Likewise.
27921 [XPG3 || XPG4] (pread): Likewise.
27922 [XPG3 || XPG4] (pthread_atfork): Likewise.
27923 [XPG3 || XPG4] (pwrite): Likewise.
27926 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27929 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27931 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27932 finalizing MALLSTREAM.
27934 * sysdeps/mach/hurd/syncfs.c: New file.
27936 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27939 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27940 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27941 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27942 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27943 (_nss_dns_gethostbyname4_r): Likewise.
27944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27945 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27947 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27950 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27952 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27954 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27955 * elf/cache.c (print_entry): Print ",AArch64" for
27958 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27959 * elf/cache.c (print_entry): Print ",hard-float" for
27962 2012-11-18 David S. Miller <davem@davemloft.net>
27964 With help from Joseph Myers.
27965 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27967 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27969 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27970 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27972 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27973 * math/libm-test.inc (y0_test): New tests.
27974 (y1_test): New tests.
27975 * sysdeps/i386/fpu/libm-test-ulps: Update.
27976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27979 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27981 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27983 * configure: Regenerated.
27985 2012-11-17 David S. Miller <davem@davemloft.net>
27988 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27989 nonzero exponents with absolute value below 0x1p-128 to +/-
27992 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27994 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27996 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27998 * posix/getconf-speclist.c: New file.
27999 * posix/posix-envs.def: Likewise.
28000 * posix/confstr.c (START_ENV_GROUP): New macro.
28001 (END_ENV_GROUP): Likewise.
28002 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28003 (KNOWN_PRESENT_ENV_STRING): Likewise.
28004 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28005 (UNKNOWN_ENVIRONMENT): Likewise.
28006 (confstr): Include posix-envs.def instead of handling
28007 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28008 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28009 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28010 (END_ENV_GROUP): Likewise.
28011 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28012 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28013 (UNKNOWN_ENVIRONMENT): Likewise.
28014 (__sysconf): Include posix-envs.def instead of handling associated
28015 cases directly here.
28016 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28017 preprocessing getconf-speclist.c rather than running getconf or
28018 generating empty file.
28020 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28022 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28024 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28027 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28029 2012-11-16 David S. Miller <davem@davemloft.net>
28031 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28032 smaller than LDBL_EPSILON/2.0L, just return xm1.
28034 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28036 * elf/tst-array1.c (init): Set constructor priority to 1000.
28037 (fini): Set destructor priority to 1000.
28038 * elf/tst-array2dep.c: Likewise.
28040 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28043 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28044 (_IO_new_file_xsputn): Also return EOF if none of the input
28045 data was written when overflow failed.
28046 * libio/iopadn.c (_IO_padn): Likewise.
28047 * libio/iowpadn.c (_IO_wpadn): Likewise.
28048 * stdio-common/tst-put-error.c: Add copyright notice.
28049 (do_test): Add case for printing padded string.
28050 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28051 _IO_padn returned error.
28052 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28053 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28056 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28058 * libio/libioP.h: Add comment note that the references to C++
28059 bits are now obsolete.
28061 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28063 * math/libm-test.inc (check_complex): Use asprintf.
28065 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28067 * debug/pcprofiledump.c (print_version): Update copyright year.
28068 * malloc/memusagestat.c (print_version): Likewise.
28070 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28073 * elf/Makefile (tests): Add tst-audit8.
28074 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28075 ($(objpfx)tst-audit8.out): New target.
28076 (tst-audit8-ENV): New variable.
28077 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28078 audit if l_reloc_result is NULL.
28079 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28080 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28081 * elf/tst-audit8.c: New file.
28083 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28085 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28086 * misc/Makefile (CFLAGS-select.c): Define.
28087 * posix/Makefile (CFLAGS-pause.c): Define.
28089 2012-11-13 David S. Miller <davem@davemloft.net>
28091 * crypt/Makefile: Move test targets after toplevel Rules
28092 inclusion. Grab any necessary sysdep routines when linking.
28093 * crypt/md5.c (md5_process_block): Remove define, we will always
28094 name it __md5_process_block.
28095 (md5_finish_ctx): Update md5_process_block call.
28096 (md5_stream): Likewise.
28097 (md5_process_bytes): Likewise.
28098 (md5_process_block): Rename to __md5_process_block and move to ...
28099 * crypt/md5-block.c: ... here.
28100 * crypt/sha256.c (sha256_process_block): Move to ...
28101 * crypt/sha256-block.c: ... here.
28102 * crypt/sha512.c (sha512_process_block): Move to ...
28103 * crypt/sha512-block.c: ... here.
28104 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28106 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28107 * sysdeps/sparc/sparc64/multiarch/Makefile
28108 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28110 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28113 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28114 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28115 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28116 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28117 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28118 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28119 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28120 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28121 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28123 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28124 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28126 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28128 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28130 * timezone/tzselect.ksh: Update from tzcode git revision
28131 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28132 * timezone/zdump.c: Likewise.
28133 * timezone/zic.c: Likewise.
28134 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28135 in TZVERSION setting, not $(PKGVERSION).
28136 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28137 REPORT_BUGS_TO settings.
28140 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28143 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28145 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28146 detection to immediately after _FP_ROUND().
28147 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28150 2012-11-11 David S. Miller <davem@davemloft.net>
28152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28154 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28155 __close rather than their public counterparts.
28157 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28159 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28161 [UNIX98] (sem_timedwait): Do not expect.
28162 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28163 [XPG4 || UNIX98] (sockatmark): Do not expect.
28164 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28165 (clock_getcpuclockid): Do not expect.
28166 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28167 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28169 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28170 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28171 [UNIX98] (vwscanf): Likewise.
28172 [UNIX98] (vswscanf): Likewise.
28174 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28176 * timezone/version.h: Remove file.
28177 * timezone/README: Do not refer to version.h.
28178 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28179 $(objpfx)version.h.
28180 ($(objpfx)zdump.o): Likewise.
28181 ($(objpfx)version.h): New target.
28183 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28185 * timezone/README: Don't mention modification to tzselect.ksh.
28186 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28187 work on unmodified tzselect.ksh. Substitute version numbers in
28190 * Makefile (format-me): Remove.
28191 (INSTALL): Adjust indentation. Use commands directly instead of
28192 using $(format-me).
28194 * aclocal.m4 (ACX_PKGVERSION): New macro.
28195 (ACX_BUGURL): Likewise.
28196 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28197 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28198 (REPORT_BUGS_TO): Likewise.
28199 * configure: Regenerated.
28200 * config.h.in (PKGVERSION): New macro.
28201 (REPORT_BUGS_TO): Likewise.
28202 * config.make.in (PKGVERSION): New variable.
28203 (PKGVERSION_TEXI): Likewise.
28204 (REPORT_BUGS_TO): Likewise.
28205 (REPORT_BUGS_TEXI): Likewise.
28206 * Makefile (format-me): Use -I$(common-objpfx)manual.
28207 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28208 ($(common-objpfx)manual/%): New target.
28209 (manual/%): Remove target.
28210 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28211 (print_version): Use PKGVERSION.
28212 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28213 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28214 and REPORT_BUGS_TO.
28215 ($(objpfx)xtrace): Likewise.
28216 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28217 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28218 (print_version): Use PKGVERSION.
28219 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28220 (do_version): Use PKGVERSION.
28221 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28223 (common-ldd-rewrite): Likewise.
28224 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28225 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28226 (print_version): Use PKGVERSION.
28227 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28228 * elf/pldd.c (argp_program_bug_address): Remove variable.
28229 (more_help): New function.
28230 (argp): Use more_help.
28231 (print_version): Use PKGVERSION.
28232 * elf/sln.c (main): Use PKGVERSION.
28233 (usage): Use REPORT_BUGS_TO.
28234 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28235 (top level): Use PKGVERSION.
28236 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28237 (print_version): Use PKGVERSION.
28238 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28239 (print_version): Use PKGVERSION.
28240 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28241 (print_version): Use PKGVERSION.
28242 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28243 (print_version): Use PKGVERSION.
28244 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28245 (print_version): Use PKGVERSION.
28246 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28247 (print_version): Use PKGVERSION.
28248 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28250 ($(objpfx)memusage): Likewise.
28251 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28252 (do_version): Use PKGVERSION.
28253 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28254 (print_version): Use PKGVERSION.
28255 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28256 ($PKGVERSION): New variable.
28257 ($REPORT_BUGS_TO): Likewise.
28258 (usage): Use $REPORT_BUGS_TO.
28259 (top level): Use $PKGVERSION.
28260 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28261 ($(objpfx)pkgvers.texi): New rule.
28262 ($(objpfx)stamp-pkgvers): Likewise.
28263 * manual/install.texi: Include pkgvers.texi.
28264 (--with-pkgversion): Document new configure option.
28265 (--with-bugurl): Likewise.
28266 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28267 than necessarily for this particular distribution. Use
28268 REPORT_BUGS_TO for where to report bugs.
28269 * INSTALL: Regenerated.
28270 * manual/libc.texinfo: Include pkgvers.texi.
28271 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28272 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28273 (print_version): Use PKGVERSION.
28274 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28275 (print_version): Use PKGVERSION.
28276 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28277 (print_version): Use PKGVERSION.
28278 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28279 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28281 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28282 (print_version): Use PKGVERSION.
28283 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28284 (print_version): Use PKGVERSION.
28285 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28288 * timezone/checktab.awk: Update from tzcode 2012i.
28289 * timezone/ialloc.c: Likewise.
28290 * timezone/private.h: Likewise.
28291 * timezone/scheck.c: Likewise.
28292 * timezone/tzfile.h: Likewise.
28293 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28294 (TZVERSION): Hardcode tzcode version number.
28295 * timezone/zdump.c: Update from tzcode 2012i.
28296 * timezone/zic.c: Likewise.
28297 * timezone/version.h: New file.
28298 * timezone/README: Describe version.h. Update upstream location.
28301 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28302 (mktemp): Enable declaration.
28303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28304 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28306 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28320 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28321 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28322 for copies of such integer values.
28323 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28324 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28326 2012-11-09 Andreas Jaeger <aj@suse.de>
28328 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28329 definitions and declarations that are provided by
28330 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28332 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28334 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28335 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28336 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28339 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28341 * elf/elf.h: Update comment before AArch64 relocations.
28343 2012-11-07 David S. Miller <davem@davemloft.net>
28345 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28346 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28347 (__start_context): Declare.
28348 (__makecontext_ret): Delete.
28349 (__makecontext): Hook up __start_context instead of
28351 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28352 (sysdep_routines): Add __start_context when in stdlib.
28354 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28356 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28357 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28358 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28360 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28361 (READELF): New variable. Use it instead of hardcoded "readelf".
28363 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28365 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28366 * sysdeps/x86/Makefile: Here.
28367 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28368 * sysdeps/x86/tst-xmmymm.sh: This.
28370 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28372 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28374 [UNIX98] (pthread_barrier_t): Do not expect.
28375 [UNIX98] (pthread_barrierattr_t): Likewise.
28376 [UNIX98] (pthread_spinlock_t): Likewise.
28377 [UNIX98] (pthread_barrier_destroy): Likewise.
28378 [UNIX98] (pthread_barrier_init): Likewise.
28379 [UNIX98] (pthread_barrier_wait): Likewise.
28380 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28381 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28382 [UNIX98] (pthread_barrierattr_init): Likewise.
28383 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28384 [UNIX98] (pthread_getcpuclockid): Likewise.
28385 [UNIX98] (pthread_mutex_timedlock): Likewise.
28386 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28387 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28388 [UNIX98] (pthread_sigmask): Likewise.
28389 [UNIX98] (pthread_spin_destroy): Likewise.
28390 [UNIX98] (pthread_spin_init): Likewise.
28391 [UNIX98] (pthread_spin_lock): Likewise.
28392 [UNIX98] (pthread_spin_trylock): Likewise.
28393 [UNIX98] (pthread_spin_unlock): Likewise.
28394 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28396 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28397 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28398 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28399 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28400 [XPG3 || XPG4] (pthread_key_t): Likewise.
28401 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28402 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28403 [XPG3 || XPG4] (pthread_once_t): Likewise.
28404 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28405 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28406 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28407 [XPG3 || XPG4] (pthread_t): Likewise.
28409 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28411 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28413 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28414 Change function return type to int.
28416 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28417 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28418 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28419 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28420 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28421 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28422 [!POSIX] (posix_madvise): Likewise.
28423 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28425 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28426 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28427 (mode_t): Likewise.
28428 (posix_mem_offset): Likewise.
28429 (posix_typed_mem_get_info): Likewise.
28430 (posix_typed_mem_open): Likewise.
28432 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28433 Change condition to [XOPEN2K8].
28435 * conform/conformtest.pl: Preprocess allow-header data with -x c
28436 instead of from stdin.
28437 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28438 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28439 [C99-based standards] (cerfc): Likewise.
28440 [C99-based standards] (cexp2): Likewise.
28441 [C99-based standards] (cexpm1): Likewise.
28442 [C99-based standards] (clog10): Likewise.
28443 [C99-based standards] (clog1p): Likewise.
28444 [C99-based standards] (clog2): Likewise.
28445 [C99-based standards] (clgamma): Likewise.
28446 [C99-based standards] (ctgamma): Likewise.
28447 [C99-based standards] (cerff): Likewise.
28448 [C99-based standards] (cerfcf): Likewise.
28449 [C99-based standards] (cexp2f): Likewise.
28450 [C99-based standards] (cexpm1f): Likewise.
28451 [C99-based standards] (clog10f): Likewise.
28452 [C99-based standards] (clog1pf): Likewise.
28453 [C99-based standards] (clog2f): Likewise.
28454 [C99-based standards] (clgammaf): Likewise.
28455 [C99-based standards] (ctgammaf): Likewise.
28456 [C99-based standards] (cerfl): Likewise.
28457 [C99-based standards] (cerfcl): Likewise.
28458 [C99-based standards] (cexp2l): Likewise.
28459 [C99-based standards] (cexpm1l): Likewise.
28460 [C99-based standards] (clog10l): Likewise.
28461 [C99-based standards] (clog1pl): Likewise.
28462 [C99-based standards] (clog2l): Likewise.
28463 [C99-based standards] (clgammal): Likewise.
28464 [C99-based standards] (ctgammal): Likewise.
28465 * conform/data/inttypes.h-data [C99-based standards]: Include
28466 stdint.h-data. Remove all expectations for stdint.h contents.
28467 [C99-based standards] (PRI*): Do not allow.
28468 [C99-based standards] (SCN*): Likewise.
28469 [C99-based standards] (*_t): Likewise.
28470 [C99-based-standards] (PRId8): Expect macro.
28471 [C99-based-standards] (PRIi8): Likewise.
28472 [C99-based-standards] (PRIo8): Likewise.
28473 [C99-based-standards] (PRIu8): Likewise.
28474 [C99-based-standards] (PRIx8): Likewise.
28475 [C99-based-standards] (PRIX8): Likewise.
28476 [C99-based-standards] (SCNd8): Likewise.
28477 [C99-based-standards] (SCNi8): Likewise.
28478 [C99-based-standards] (SCNo8): Likewise.
28479 [C99-based-standards] (SCNu8): Likewise.
28480 [C99-based-standards] (SCNx8): Likewise.
28481 [C99-based-standards] (PRIdLEAST8): Likewise.
28482 [C99-based-standards] (PRIiLEAST8): Likewise.
28483 [C99-based-standards] (PRIoLEAST8): Likewise.
28484 [C99-based-standards] (PRIuLEAST8): Likewise.
28485 [C99-based-standards] (PRIxLEAST8): Likewise.
28486 [C99-based-standards] (PRIXLEAST8): Likewise.
28487 [C99-based-standards] (SCNdLEAST8): Likewise.
28488 [C99-based-standards] (SCNiLEAST8): Likewise.
28489 [C99-based-standards] (SCNoLEAST8): Likewise.
28490 [C99-based-standards] (SCNuLEAST8): Likewise.
28491 [C99-based-standards] (SCNxLEAST8): Likewise.
28492 [C99-based-standards] (PRIdFAST8): Likewise.
28493 [C99-based-standards] (PRIiFAST8): Likewise.
28494 [C99-based-standards] (PRIoFAST8): Likewise.
28495 [C99-based-standards] (PRIuFAST8): Likewise.
28496 [C99-based-standards] (PRIxFAST8): Likewise.
28497 [C99-based-standards] (PRIXFAST8): Likewise.
28498 [C99-based-standards] (SCNdFAST8): Likewise.
28499 [C99-based-standards] (SCNiFAST8): Likewise.
28500 [C99-based-standards] (SCNoFAST8): Likewise.
28501 [C99-based-standards] (SCNuFAST8): Likewise.
28502 [C99-based-standards] (SCNxFAST8): Likewise.
28503 [C99-based-standards] (PRId16): Likewise.
28504 [C99-based-standards] (PRIi16): Likewise.
28505 [C99-based-standards] (PRIo16): Likewise.
28506 [C99-based-standards] (PRIu16): Likewise.
28507 [C99-based-standards] (PRIx16): Likewise.
28508 [C99-based-standards] (PRIX16): Likewise.
28509 [C99-based-standards] (SCNd16): Likewise.
28510 [C99-based-standards] (SCNi16): Likewise.
28511 [C99-based-standards] (SCNo16): Likewise.
28512 [C99-based-standards] (SCNu16): Likewise.
28513 [C99-based-standards] (SCNx16): Likewise.
28514 [C99-based-standards] (PRIdLEAST16): Likewise.
28515 [C99-based-standards] (PRIiLEAST16): Likewise.
28516 [C99-based-standards] (PRIoLEAST16): Likewise.
28517 [C99-based-standards] (PRIuLEAST16): Likewise.
28518 [C99-based-standards] (PRIxLEAST16): Likewise.
28519 [C99-based-standards] (PRIXLEAST16): Likewise.
28520 [C99-based-standards] (SCNdLEAST16): Likewise.
28521 [C99-based-standards] (SCNiLEAST16): Likewise.
28522 [C99-based-standards] (SCNoLEAST16): Likewise.
28523 [C99-based-standards] (SCNuLEAST16): Likewise.
28524 [C99-based-standards] (SCNxLEAST16): Likewise.
28525 [C99-based-standards] (PRIdFAST16): Likewise.
28526 [C99-based-standards] (PRIiFAST16): Likewise.
28527 [C99-based-standards] (PRIoFAST16): Likewise.
28528 [C99-based-standards] (PRIuFAST16): Likewise.
28529 [C99-based-standards] (PRIxFAST16): Likewise.
28530 [C99-based-standards] (PRIXFAST16): Likewise.
28531 [C99-based-standards] (SCNdFAST16): Likewise.
28532 [C99-based-standards] (SCNiFAST16): Likewise.
28533 [C99-based-standards] (SCNoFAST16): Likewise.
28534 [C99-based-standards] (SCNuFAST16): Likewise.
28535 [C99-based-standards] (SCNxFAST16): Likewise.
28536 [C99-based-standards] (PRId32): Likewise.
28537 [C99-based-standards] (PRIi32): Likewise.
28538 [C99-based-standards] (PRIo32): Likewise.
28539 [C99-based-standards] (PRIu32): Likewise.
28540 [C99-based-standards] (PRIx32): Likewise.
28541 [C99-based-standards] (PRIX32): Likewise.
28542 [C99-based-standards] (SCNd32): Likewise.
28543 [C99-based-standards] (SCNi32): Likewise.
28544 [C99-based-standards] (SCNo32): Likewise.
28545 [C99-based-standards] (SCNu32): Likewise.
28546 [C99-based-standards] (SCNx32): Likewise.
28547 [C99-based-standards] (PRIdLEAST32): Likewise.
28548 [C99-based-standards] (PRIiLEAST32): Likewise.
28549 [C99-based-standards] (PRIoLEAST32): Likewise.
28550 [C99-based-standards] (PRIuLEAST32): Likewise.
28551 [C99-based-standards] (PRIxLEAST32): Likewise.
28552 [C99-based-standards] (PRIXLEAST32): Likewise.
28553 [C99-based-standards] (SCNdLEAST32): Likewise.
28554 [C99-based-standards] (SCNiLEAST32): Likewise.
28555 [C99-based-standards] (SCNoLEAST32): Likewise.
28556 [C99-based-standards] (SCNuLEAST32): Likewise.
28557 [C99-based-standards] (SCNxLEAST32): Likewise.
28558 [C99-based-standards] (PRIdFAST32): Likewise.
28559 [C99-based-standards] (PRIiFAST32): Likewise.
28560 [C99-based-standards] (PRIoFAST32): Likewise.
28561 [C99-based-standards] (PRIuFAST32): Likewise.
28562 [C99-based-standards] (PRIxFAST32): Likewise.
28563 [C99-based-standards] (PRIXFAST32): Likewise.
28564 [C99-based-standards] (SCNdFAST32): Likewise.
28565 [C99-based-standards] (SCNiFAST32): Likewise.
28566 [C99-based-standards] (SCNoFAST32): Likewise.
28567 [C99-based-standards] (SCNuFAST32): Likewise.
28568 [C99-based-standards] (SCNxFAST32): Likewise.
28569 [C99-based-standards] (PRId64): Likewise.
28570 [C99-based-standards] (PRIi64): Likewise.
28571 [C99-based-standards] (PRIo64): Likewise.
28572 [C99-based-standards] (PRIu64): Likewise.
28573 [C99-based-standards] (PRIx64): Likewise.
28574 [C99-based-standards] (PRIX64): Likewise.
28575 [C99-based-standards] (SCNd64): Likewise.
28576 [C99-based-standards] (SCNi64): Likewise.
28577 [C99-based-standards] (SCNo64): Likewise.
28578 [C99-based-standards] (SCNu64): Likewise.
28579 [C99-based-standards] (SCNx64): Likewise.
28580 [C99-based-standards] (PRIdLEAST64): Likewise.
28581 [C99-based-standards] (PRIiLEAST64): Likewise.
28582 [C99-based-standards] (PRIoLEAST64): Likewise.
28583 [C99-based-standards] (PRIuLEAST64): Likewise.
28584 [C99-based-standards] (PRIxLEAST64): Likewise.
28585 [C99-based-standards] (PRIXLEAST64): Likewise.
28586 [C99-based-standards] (SCNdLEAST64): Likewise.
28587 [C99-based-standards] (SCNiLEAST64): Likewise.
28588 [C99-based-standards] (SCNoLEAST64): Likewise.
28589 [C99-based-standards] (SCNuLEAST64): Likewise.
28590 [C99-based-standards] (SCNxLEAST64): Likewise.
28591 [C99-based-standards] (PRIdFAST64): Likewise.
28592 [C99-based-standards] (PRIiFAST64): Likewise.
28593 [C99-based-standards] (PRIoFAST64): Likewise.
28594 [C99-based-standards] (PRIuFAST64): Likewise.
28595 [C99-based-standards] (PRIxFAST64): Likewise.
28596 [C99-based-standards] (PRIXFAST64): Likewise.
28597 [C99-based-standards] (SCNdFAST64): Likewise.
28598 [C99-based-standards] (SCNiFAST64): Likewise.
28599 [C99-based-standards] (SCNoFAST64): Likewise.
28600 [C99-based-standards] (SCNuFAST64): Likewise.
28601 [C99-based-standards] (SCNxFAST64): Likewise.
28602 [C99-based-standards] (PRIdMAX): Likewise.
28603 [C99-based-standards] (PRIiMAX): Likewise.
28604 [C99-based-standards] (PRIoMAX): Likewise.
28605 [C99-based-standards] (PRIuMAX): Likewise.
28606 [C99-based-standards] (PRIxMAX): Likewise.
28607 [C99-based-standards] (PRIXMAX): Likewise.
28608 [C99-based-standards] (SCNdMAX): Likewise.
28609 [C99-based-standards] (SCNiMAX): Likewise.
28610 [C99-based-standards] (SCNoMAX): Likewise.
28611 [C99-based-standards] (SCNuMAX): Likewise.
28612 [C99-based-standards] (SCNxMAX): Likewise.
28613 [C99-based-standards] (PRIdPTR): Likewise.
28614 [C99-based-standards] (PRIiPTR): Likewise.
28615 [C99-based-standards] (PRIoPTR): Likewise.
28616 [C99-based-standards] (PRIuPTR): Likewise.
28617 [C99-based-standards] (PRIxPTR): Likewise.
28618 [C99-based-standards] (PRIXPTR): Likewise.
28619 [C99-based-standards] (SCNdPTR): Likewise.
28620 [C99-based-standards] (SCNiPTR): Likewise.
28621 [C99-based-standards] (SCNoPTR): Likewise.
28622 [C99-based-standards] (SCNuPTR): Likewise.
28623 [C99-based-standards] (SCNxPTR): Likewise.
28624 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28626 * conform/data/stdint.h-data: Update comments to clarify
28628 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28630 [C99-based standards] (INT8_MAX): Likewise.
28631 [C99-based standards] (INT16_MIN): Likewise.
28632 [C99-based standards] (INT16_MAX): Likewise.
28633 [C99-based standards] (INT32_MIN): Likewise.
28634 [C99-based standards] (INT32_MAX): Likewise.
28635 [C99-based standards] (INT64_MIN): Likewise.
28636 [C99-based standards] (INT64_MAX): Likewise.
28637 [C99-based standards] (UINT8_MAX): Likewise.
28638 [C99-based standards] (UINT16_MAX): Likewise.
28639 [C99-based standards] (UINT32_MAX): Likewise.
28640 [C99-based standards] (UINT64_MAX): Likewise.
28641 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28642 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28643 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28644 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28645 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28646 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28647 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28648 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28649 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28650 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28651 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28652 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28653 [C99-based standards] (INT_FAST8_MIN): Likewise.
28654 [C99-based standards] (INT_FAST8_MAX): Likewise.
28655 [C99-based standards] (INT_FAST16_MIN): Likewise.
28656 [C99-based standards] (INT_FAST16_MAX): Likewise.
28657 [C99-based standards] (INT_FAST32_MIN): Likewise.
28658 [C99-based standards] (INT_FAST32_MAX): Likewise.
28659 [C99-based standards] (INT_FAST64_MIN): Likewise.
28660 [C99-based standards] (INT_FAST64_MAX): Likewise.
28661 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28662 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28663 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28664 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28665 [C99-based standards] (INTPTR_MIN): Likewise.
28666 [C99-based standards] (INTPTR_MAX): Likewise.
28667 [C99-based standards] (UINTPTR_MAX): Likewise.
28668 [C99-based standards] (INTMAX_MIN): Likewise.
28669 [C99-based standards] (INTMAX_MAX): Likewise.
28670 [C99-based standards] (UINTMAX_MAX): Likewise.
28671 [C99-based standards] (PTRDIFF_MIN): Likewise.
28672 [C99-based standards] (PTRDIFF_MAX): Likewise.
28673 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28674 [C99-based standards] (SIZE_MAX): Likewise.
28675 [C99-based standards] (WCHAR_MAX): Likewise.
28676 [C99-based standards] (WINT_MAX): Likewise.
28677 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28678 constraint on value.
28679 [C99-based standards] (WCHAR_MIN): Likewise.
28680 [C99-based standards] (WINT_MIN): Likewise.
28681 [C99-based standards] (*_t): Allow.
28682 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28683 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28684 Include math.h-data and complex.h-data. Remove all expectations
28685 of math.h and complex.h contents.
28686 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28688 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28689 (struct tm): Expect tag.
28690 [C99-based-standards] (wcstof): Expect function.
28691 [C99-based-standards] (wcstold): Likewise.
28692 [C99-based-standards] (wcstoll): Likewise.
28693 [C99-based-standards] (wcstoull): Likewise.
28694 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28695 macro-int-constant. Specify type.
28696 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28697 constraint on value.
28698 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28700 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28702 [ISO C standards]: Do not allow headers.
28703 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28704 wcs[abcdefghijklmnopqrstuvwxyz]*.
28705 [ISO C standards] (*_t): Do not allow.
28706 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28708 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28709 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28711 [ISO C standards]: Do not allow headers.
28712 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28713 is[abcdefghijklmnopqrstuvwxyz]*.
28714 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28715 to[abcdefghijklmnopqrstuvwxyz]*.
28716 [ISO C standards] (*_t): Do not allow.
28717 * conform/data/stdalign.h-data: New file.
28718 * conform/data/stdbool.h-data: Likewise.
28719 * conform/data/stdnoreturn.h-data: Likewise.
28721 2012-11-07 Roland McGrath <roland@hack.frob.com>
28724 * manual/filesys.texi (Directory Entries): Typo fix.
28725 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28727 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28729 * elf/elf.h (EM_AARCH64): New macro.
28730 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28731 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28732 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28733 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28734 (R_AARCH64_TLSDESC): Likewise.
28735 (NT_ARM_TLS): Likewise.
28736 (NT_ARM_HW_BREAK): Likewise.
28737 (NT_ARM_HW_WATCH): Likewise.
28739 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28742 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28743 (__ieee754_powl): Saturate nonzero exponents with absolute value
28744 below 0x1p-79 to +/- 0x1p-79.
28745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28746 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28747 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28748 nonzero exponents with absolute value below 0x1p-32 to +/-
28750 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28751 (__ieee754_powl): Saturate nonzero exponents with absolute value
28752 below 0x1p-79 to +/- 0x1p-79.
28753 * math/libm-test.inc (pow_test): Add more tests.
28755 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28757 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28758 _dl_s390_cap_flags with kernel. Increase string length.
28759 (_dl_s390_platforms): Add z196 and zEC12.
28761 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28763 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28764 Change XOPEN21K to XOPEN2K.
28766 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28768 * string/memmove.c: Use memcpy when possible.
28770 2012-11-06 Andreas Jaeger <aj@suse.de>
28772 * po/eo.po: Update from translation team.
28774 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28778 exponent and small x and y exponents, scale x or y up. Increase
28779 by 2 the exponent used in scaling up.
28780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28782 * math/libm-test.inc (fma_test): Add more tests.
28783 (fma_test_towardzero): Likewise.
28784 (fma_test_downward): Likewise.
28785 (fma_test_upward): Likewise.
28787 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28790 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28794 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28795 namespace for names of struct fields.
28796 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28798 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28799 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28801 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28804 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28806 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28808 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28812 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28815 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28819 definitely overflow as x * y not x * y + z.
28820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28822 * math/libm-test.inc (fma_test): Add more tests.
28823 (fma_test_towardzero): Likewise.
28824 (fma_test_downward): Likewise.
28825 (fma_test_upward): Likewise.
28827 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28831 * include/stub-tag.h: Remove file.
28832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28834 * manual/maint.texi (Porting): Don't reference it.
28835 * Makerules ($(objpfx)stubs): Likewise.
28836 * dirent/closedir.c: Don't include <stub-tag.h>.
28837 * dirent/dirfd.c: Likewise.
28838 * dirent/fdopendir.c: Likewise.
28839 * dirent/getdents.c: Likewise.
28840 * dirent/getdents64.c: Likewise.
28841 * dirent/opendir.c: Likewise.
28842 * dirent/readdir.c: Likewise.
28843 * dirent/readdir64.c: Likewise.
28844 * dirent/readdir64_r.c: Likewise.
28845 * dirent/readdir_r.c: Likewise.
28846 * dirent/rewinddir.c: Likewise.
28847 * dirent/seekdir.c: Likewise.
28848 * dirent/telldir.c: Likewise.
28849 * gmon/profil.c: Likewise.
28850 * grp/setgroups.c: Likewise.
28851 * inet/if_index.c: Likewise.
28852 * io/access.c: Likewise.
28853 * io/chdir.c: Likewise.
28854 * io/chmod.c: Likewise.
28855 * io/chown.c: Likewise.
28856 * io/close.c: Likewise.
28857 * io/dup.c: Likewise.
28858 * io/dup2.c: Likewise.
28859 * io/dup3.c: Likewise.
28860 * io/euidaccess.c: Likewise.
28861 * io/faccessat.c: Likewise.
28862 * io/fchdir.c: Likewise.
28863 * io/fchmod.c: Likewise.
28864 * io/fchmodat.c: Likewise.
28865 * io/fchown.c: Likewise.
28866 * io/fchownat.c: Likewise.
28867 * io/fcntl.c: Likewise.
28868 * io/flock.c: Likewise.
28869 * io/fstatfs.c: Likewise.
28870 * io/fstatfs64.c: Likewise.
28871 * io/fstatvfs.c: Likewise.
28872 * io/fstatvfs64.c: Likewise.
28873 * io/futimens.c: Likewise.
28874 * io/fxstat.c: Likewise.
28875 * io/fxstat64.c: Likewise.
28876 * io/fxstatat.c: Likewise.
28877 * io/fxstatat64.c: Likewise.
28878 * io/getcwd.c: Likewise.
28879 * io/isatty.c: Likewise.
28880 * io/lchmod.c: Likewise.
28881 * io/lchown.c: Likewise.
28882 * io/link.c: Likewise.
28883 * io/linkat.c: Likewise.
28884 * io/lseek.c: Likewise.
28885 * io/lseek64.c: Likewise.
28886 * io/lxstat64.c: Likewise.
28887 * io/mkdir.c: Likewise.
28888 * io/mkdirat.c: Likewise.
28889 * io/mkfifo.c: Likewise.
28890 * io/mkfifoat.c: Likewise.
28891 * io/open.c: Likewise.
28892 * io/open64.c: Likewise.
28893 * io/openat.c: Likewise.
28894 * io/openat64.c: Likewise.
28895 * io/pipe.c: Likewise.
28896 * io/pipe2.c: Likewise.
28897 * io/poll.c: Likewise.
28898 * io/posix_fadvise.c: Likewise.
28899 * io/posix_fadvise64.c: Likewise.
28900 * io/posix_fallocate.c: Likewise.
28901 * io/posix_fallocate64.c: Likewise.
28902 * io/read.c: Likewise.
28903 * io/readlink.c: Likewise.
28904 * io/readlinkat.c: Likewise.
28905 * io/rmdir.c: Likewise.
28906 * io/sendfile.c: Likewise.
28907 * io/sendfile64.c: Likewise.
28908 * io/statfs.c: Likewise.
28909 * io/statfs64.c: Likewise.
28910 * io/statvfs.c: Likewise.
28911 * io/statvfs64.c: Likewise.
28912 * io/symlink.c: Likewise.
28913 * io/symlinkat.c: Likewise.
28914 * io/ttyname.c: Likewise.
28915 * io/ttyname_r.c: Likewise.
28916 * io/umask.c: Likewise.
28917 * io/unlink.c: Likewise.
28918 * io/unlinkat.c: Likewise.
28919 * io/utime.c: Likewise.
28920 * io/utimensat.c: Likewise.
28921 * io/write.c: Likewise.
28922 * io/xmknod.c: Likewise.
28923 * io/xmknodat.c: Likewise.
28924 * io/xstat.c: Likewise.
28925 * io/xstat64.c: Likewise.
28926 * login/getpt.c: Likewise.
28927 * login/grantpt.c: Likewise.
28928 * login/unlockpt.c: Likewise.
28929 * math/e_acoshl.c: Likewise.
28930 * math/e_acosl.c: Likewise.
28931 * math/e_asinl.c: Likewise.
28932 * math/e_atan2l.c: Likewise.
28933 * math/e_atanhl.c: Likewise.
28934 * math/e_coshl.c: Likewise.
28935 * math/e_expl.c: Likewise.
28936 * math/e_fmodl.c: Likewise.
28937 * math/e_gammal_r.c: Likewise.
28938 * math/e_hypotl.c: Likewise.
28939 * math/e_j0l.c: Likewise.
28940 * math/e_j1l.c: Likewise.
28941 * math/e_jnl.c: Likewise.
28942 * math/e_lgammal_r.c: Likewise.
28943 * math/e_log10l.c: Likewise.
28944 * math/e_log2l.c: Likewise.
28945 * math/e_logl.c: Likewise.
28946 * math/e_powl.c: Likewise.
28947 * math/e_rem_pio2l.c: Likewise.
28948 * math/e_sinhl.c: Likewise.
28949 * math/e_sqrtl.c: Likewise.
28950 * math/fclrexcpt.c: Likewise.
28951 * math/fedisblxcpt.c: Likewise.
28952 * math/feenablxcpt.c: Likewise.
28953 * math/fegetenv.c: Likewise.
28954 * math/fegetexcept.c: Likewise.
28955 * math/fegetround.c: Likewise.
28956 * math/feholdexcpt.c: Likewise.
28957 * math/fesetenv.c: Likewise.
28958 * math/fesetround.c: Likewise.
28959 * math/feupdateenv.c: Likewise.
28960 * math/fgetexcptflg.c: Likewise.
28961 * math/fraiseexcpt.c: Likewise.
28962 * math/fsetexcptflg.c: Likewise.
28963 * math/ftestexcept.c: Likewise.
28964 * math/k_cosl.c: Likewise.
28965 * math/k_rem_pio2l.c: Likewise.
28966 * math/k_sinl.c: Likewise.
28967 * math/k_tanl.c: Likewise.
28968 * math/s_asinhl.c: Likewise.
28969 * math/s_atanl.c: Likewise.
28970 * math/s_cbrtl.c: Likewise.
28971 * math/s_erfl.c: Likewise.
28972 * math/s_expm1l.c: Likewise.
28973 * math/s_log1pl.c: Likewise.
28974 * math/s_tanhl.c: Likewise.
28975 * misc/acct.c: Likewise.
28976 * misc/brk.c: Likewise.
28977 * misc/chflags.c: Likewise.
28978 * misc/chroot.c: Likewise.
28979 * misc/fchflags.c: Likewise.
28980 * misc/fgetxattr.c: Likewise.
28981 * misc/flistxattr.c: Likewise.
28982 * misc/fremovexattr.c: Likewise.
28983 * misc/fsetxattr.c: Likewise.
28984 * misc/fsync.c: Likewise.
28985 * misc/ftruncate.c: Likewise.
28986 * misc/futimes.c: Likewise.
28987 * misc/futimesat.c: Likewise.
28988 * misc/getdomain.c: Likewise.
28989 * misc/getdtsz.c: Likewise.
28990 * misc/gethostid.c: Likewise.
28991 * misc/gethostname.c: Likewise.
28992 * misc/getloadavg.c: Likewise.
28993 * misc/getpagesize.c: Likewise.
28994 * misc/getsysstats.c: Likewise.
28995 * misc/getxattr.c: Likewise.
28996 * misc/gtty.c: Likewise.
28997 * misc/ioctl.c: Likewise.
28998 * misc/lgetxattr.c: Likewise.
28999 * misc/listxattr.c: Likewise.
29000 * misc/llistxattr.c: Likewise.
29001 * misc/lremovexattr.c: Likewise.
29002 * misc/lsetxattr.c: Likewise.
29003 * misc/lutimes.c: Likewise.
29004 * misc/madvise.c: Likewise.
29005 * misc/mincore.c: Likewise.
29006 * misc/mlock.c: Likewise.
29007 * misc/mlockall.c: Likewise.
29008 * misc/mmap.c: Likewise.
29009 * misc/mprotect.c: Likewise.
29010 * misc/msync.c: Likewise.
29011 * misc/munlock.c: Likewise.
29012 * misc/munlockall.c: Likewise.
29013 * misc/munmap.c: Likewise.
29014 * misc/preadv.c: Likewise.
29015 * misc/preadv64.c: Likewise.
29016 * misc/ptrace.c: Likewise.
29017 * misc/pwritev.c: Likewise.
29018 * misc/pwritev64.c: Likewise.
29019 * misc/readv.c: Likewise.
29020 * misc/reboot.c: Likewise.
29021 * misc/remap_file_pages.c: Likewise.
29022 * misc/removexattr.c: Likewise.
29023 * misc/revoke.c: Likewise.
29024 * misc/select.c: Likewise.
29025 * misc/setdomain.c: Likewise.
29026 * misc/setegid.c: Likewise.
29027 * misc/seteuid.c: Likewise.
29028 * misc/sethostid.c: Likewise.
29029 * misc/sethostname.c: Likewise.
29030 * misc/setregid.c: Likewise.
29031 * misc/setreuid.c: Likewise.
29032 * misc/setxattr.c: Likewise.
29033 * misc/sstk.c: Likewise.
29034 * misc/stty.c: Likewise.
29035 * misc/swapoff.c: Likewise.
29036 * misc/swapon.c: Likewise.
29037 * misc/sync.c: Likewise.
29038 * misc/syncfs.c: Likewise.
29039 * misc/syscall.c: Likewise.
29040 * misc/truncate.c: Likewise.
29041 * misc/ualarm.c: Likewise.
29042 * misc/usleep.c: Likewise.
29043 * misc/ustat.c: Likewise.
29044 * misc/utimes.c: Likewise.
29045 * misc/vhangup.c: Likewise.
29046 * misc/writev.c: Likewise.
29047 * posix/_exit.c: Likewise.
29048 * posix/alarm.c: Likewise.
29049 * posix/execve.c: Likewise.
29050 * posix/fexecve.c: Likewise.
29051 * posix/fork.c: Likewise.
29052 * posix/fpathconf.c: Likewise.
29053 * posix/getaddrinfo.c: Likewise.
29054 * posix/getegid.c: Likewise.
29055 * posix/geteuid.c: Likewise.
29056 * posix/getgid.c: Likewise.
29057 * posix/getgroups.c: Likewise.
29058 * posix/getlogin.c: Likewise.
29059 * posix/getlogin_r.c: Likewise.
29060 * posix/getpgid.c: Likewise.
29061 * posix/getpid.c: Likewise.
29062 * posix/getppid.c: Likewise.
29063 * posix/getresgid.c: Likewise.
29064 * posix/getresuid.c: Likewise.
29065 * posix/getsid.c: Likewise.
29066 * posix/getuid.c: Likewise.
29067 * posix/glob64.c: Likewise.
29068 * posix/nanosleep.c: Likewise.
29069 * posix/pathconf.c: Likewise.
29070 * posix/pause.c: Likewise.
29071 * posix/posix_madvise.c: Likewise.
29072 * posix/pread.c: Likewise.
29073 * posix/pread64.c: Likewise.
29074 * posix/pwrite.c: Likewise.
29075 * posix/pwrite64.c: Likewise.
29076 * posix/sched_getaffinity.c: Likewise.
29077 * posix/sched_getp.c: Likewise.
29078 * posix/sched_gets.c: Likewise.
29079 * posix/sched_primax.c: Likewise.
29080 * posix/sched_primin.c: Likewise.
29081 * posix/sched_rr_gi.c: Likewise.
29082 * posix/sched_setaffinity.c: Likewise.
29083 * posix/sched_setp.c: Likewise.
29084 * posix/sched_sets.c: Likewise.
29085 * posix/sched_yield.c: Likewise.
29086 * posix/setgid.c: Likewise.
29087 * posix/setlogin.c: Likewise.
29088 * posix/setpgid.c: Likewise.
29089 * posix/setresgid.c: Likewise.
29090 * posix/setresuid.c: Likewise.
29091 * posix/setsid.c: Likewise.
29092 * posix/setuid.c: Likewise.
29093 * posix/sleep.c: Likewise.
29094 * posix/spawni.c: Likewise.
29095 * posix/sysconf.c: Likewise.
29096 * posix/times.c: Likewise.
29097 * posix/wait.c: Likewise.
29098 * posix/wait3.c: Likewise.
29099 * posix/wait4.c: Likewise.
29100 * posix/waitpid.c: Likewise.
29101 * resolv/gai_sigqueue.c: Likewise.
29102 * resource/getpriority.c: Likewise.
29103 * resource/getrlimit.c: Likewise.
29104 * resource/getrusage.c: Likewise.
29105 * resource/nice.c: Likewise.
29106 * resource/setpriority.c: Likewise.
29107 * resource/setrlimit.c: Likewise.
29108 * resource/ulimit.c: Likewise.
29109 * rt/aio_cancel.c: Likewise.
29110 * rt/aio_fsync.c: Likewise.
29111 * rt/aio_read.c: Likewise.
29112 * rt/aio_sigqueue.c: Likewise.
29113 * rt/aio_suspend.c: Likewise.
29114 * rt/aio_write.c: Likewise.
29115 * rt/clock_getres.c: Likewise.
29116 * rt/clock_gettime.c: Likewise.
29117 * rt/clock_nanosleep.c: Likewise.
29118 * rt/clock_settime.c: Likewise.
29119 * rt/lio_listio.c: Likewise.
29120 * rt/mq_close.c: Likewise.
29121 * rt/mq_getattr.c: Likewise.
29122 * rt/mq_notify.c: Likewise.
29123 * rt/mq_open.c: Likewise.
29124 * rt/mq_receive.c: Likewise.
29125 * rt/mq_send.c: Likewise.
29126 * rt/mq_setattr.c: Likewise.
29127 * rt/mq_timedreceive.c: Likewise.
29128 * rt/mq_timedsend.c: Likewise.
29129 * rt/mq_unlink.c: Likewise.
29130 * rt/shm_open.c: Likewise.
29131 * rt/shm_unlink.c: Likewise.
29132 * rt/timer_create.c: Likewise.
29133 * rt/timer_delete.c: Likewise.
29134 * rt/timer_getoverr.c: Likewise.
29135 * rt/timer_gettime.c: Likewise.
29136 * rt/timer_settime.c: Likewise.
29137 * setjmp/__longjmp.c: Likewise.
29138 * setjmp/setjmp.c: Likewise.
29139 * signal/kill.c: Likewise.
29140 * signal/killpg.c: Likewise.
29141 * signal/raise.c: Likewise.
29142 * signal/sigaction.c: Likewise.
29143 * signal/sigaltstack.c: Likewise.
29144 * signal/sigblock.c: Likewise.
29145 * signal/sigignore.c: Likewise.
29146 * signal/sigintr.c: Likewise.
29147 * signal/signal.c: Likewise.
29148 * signal/sigpause.c: Likewise.
29149 * signal/sigpending.c: Likewise.
29150 * signal/sigqueue.c: Likewise.
29151 * signal/sigreturn.c: Likewise.
29152 * signal/sigset.c: Likewise.
29153 * signal/sigsetmask.c: Likewise.
29154 * signal/sigstack.c: Likewise.
29155 * signal/sigsuspend.c: Likewise.
29156 * signal/sigtimedwait.c: Likewise.
29157 * signal/sigvec.c: Likewise.
29158 * signal/sigwait.c: Likewise.
29159 * signal/sigwaitinfo.c: Likewise.
29160 * signal/sysv_signal.c: Likewise.
29161 * socket/accept.c: Likewise.
29162 * socket/accept4.c: Likewise.
29163 * socket/bind.c: Likewise.
29164 * socket/connect.c: Likewise.
29165 * socket/getpeername.c: Likewise.
29166 * socket/getsockname.c: Likewise.
29167 * socket/getsockopt.c: Likewise.
29168 * socket/isfdtype.c: Likewise.
29169 * socket/listen.c: Likewise.
29170 * socket/recv.c: Likewise.
29171 * socket/recvfrom.c: Likewise.
29172 * socket/recvmsg.c: Likewise.
29173 * socket/send.c: Likewise.
29174 * socket/sendmsg.c: Likewise.
29175 * socket/sendto.c: Likewise.
29176 * socket/setsockopt.c: Likewise.
29177 * socket/shutdown.c: Likewise.
29178 * socket/sockatmark.c: Likewise.
29179 * socket/socket.c: Likewise.
29180 * socket/socketpair.c: Likewise.
29181 * stdio-common/ctermid.c: Likewise.
29182 * stdio-common/cuserid.c: Likewise.
29183 * stdio-common/remove.c: Likewise.
29184 * stdio-common/rename.c: Likewise.
29185 * stdio-common/renameat.c: Likewise.
29186 * stdio-common/tempname.c: Likewise.
29187 * stdlib/getcontext.c: Likewise.
29188 * stdlib/makecontext.c: Likewise.
29189 * stdlib/setcontext.c: Likewise.
29190 * stdlib/swapcontext.c: Likewise.
29191 * stdlib/system.c: Likewise.
29192 * streams/fattach.c: Likewise.
29193 * streams/fdetach.c: Likewise.
29194 * streams/getmsg.c: Likewise.
29195 * streams/getpmsg.c: Likewise.
29196 * streams/putmsg.c: Likewise.
29197 * streams/putpmsg.c: Likewise.
29198 * sysdeps/unix/bsd/getpt.c: Likewise.
29199 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29200 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29201 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29204 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29205 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29206 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29207 * sysvipc/msgctl.c: Likewise.
29208 * sysvipc/msgget.c: Likewise.
29209 * sysvipc/msgrcv.c: Likewise.
29210 * sysvipc/msgsnd.c: Likewise.
29211 * sysvipc/semctl.c: Likewise.
29212 * sysvipc/semget.c: Likewise.
29213 * sysvipc/semop.c: Likewise.
29214 * sysvipc/semtimedop.c: Likewise.
29215 * sysvipc/shmat.c: Likewise.
29216 * sysvipc/shmctl.c: Likewise.
29217 * sysvipc/shmdt.c: Likewise.
29218 * sysvipc/shmget.c: Likewise.
29219 * termios/tcdrain.c: Likewise.
29220 * termios/tcflow.c: Likewise.
29221 * termios/tcflush.c: Likewise.
29222 * termios/tcgetattr.c: Likewise.
29223 * termios/tcgetpgrp.c: Likewise.
29224 * termios/tcsendbrk.c: Likewise.
29225 * termios/tcsetattr.c: Likewise.
29226 * termios/tcsetpgrp.c: Likewise.
29227 * time/adjtime.c: Likewise.
29228 * time/clock.c: Likewise.
29229 * time/getitimer.c: Likewise.
29230 * time/gettimeofday.c: Likewise.
29231 * time/setitimer.c: Likewise.
29232 * time/settimeofday.c: Likewise.
29233 * time/stime.c: Likewise.
29234 * time/time.c: Likewise.
29236 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29238 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29241 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29243 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29245 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29249 FE_TONEAREST before applying Dekker multiplication and Knuth
29250 addition. Clear inexact exceptions and check for exact zero
29251 results afterwards.
29252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29255 * math/libm-test.inc (fma_test): Add more tests.
29256 (fma_test_towardzero): Likewise.
29257 (fma_test_downward): Likewise.
29258 (fma_test_upward): Likewise.
29259 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29261 (libc_fesetround): New macro.
29262 (libc_fesetroundf): Likewise.
29263 (libc_fesetroundl): Likewise.
29264 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29266 (libc_fesetround_387): Likewise.
29267 (libc_fesetroundf): New macro.
29268 (libc_fesetround): Likewise.
29269 (libc_fesetroundl): Likewise.
29270 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29272 (libc_fesetroundf): New macro.
29273 (libc_fesetround): Likewise.
29274 (libc_fesetroundl): Likewise.
29275 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29276 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29277 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29279 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29280 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29282 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29283 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29285 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29289 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29290 integer constant usable in #if and use that to give value to enum
29292 (FE_DIVBYZERO): Likewise.
29293 (FE_UNDERFLOW): Likewise.
29294 (FE_OVERFLOW): Likewise.
29295 (FE_INVALID): Likewise.
29296 (FE_INVALID_SNAN): Likewise.
29297 (FE_INVALID_ISI): Likewise.
29298 (FE_INVALID_IDI): Likewise.
29299 (FE_INVALID_ZDZ): Likewise.
29300 (FE_INVALID_IMZ): Likewise.
29301 (FE_INVALID_COMPARE): Likewise.
29302 (FE_INVALID_SOFTWARE): Likewise.
29303 (FE_INVALID_SQRT): Likewise.
29304 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29305 (FE_TONEAREST): Likewise.
29306 (FE_TOWARDZERO): Likewise.
29307 (FE_UPWARD): Likewise.
29308 (FE_DOWNWARD): Likewise.
29309 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29310 (FE_DIVBYZERO): Likewise.
29311 (FE_OVERFLOW): Likewise.
29312 (FE_UNDERFLOW): Likewise.
29313 (FE_INEXACT): Likewise.
29314 (FE_TONEAREST): Likewise.
29315 (FE_DOWNWARD): Likewise.
29316 (FE_UPWARD): Likewise.
29317 (FE_TOWARDZERO): Likewise.
29318 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29319 (FE_UNDERFLOW): Likewise.
29320 (FE_OVERFLOW): Likewise.
29321 (FE_DIVBYZERO): Likewise.
29322 (FE_INVALID): Likewise.
29323 (FE_TONEAREST): Likewise.
29324 (FE_TOWARDZERO): Likewise.
29325 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29326 (FE_OVERFLOW): Likewise.
29327 (FE_UNDERFLOW): Likewise.
29328 (FE_DIVBYZERO): Likewise.
29329 (FE_INEXACT): Likewise.
29330 (FE_TONEAREST): Likewise.
29331 (FE_TOWARDZERO): Likewise.
29332 (FE_UPWARD): Likewise.
29333 (FE_DOWNWARD): Likewise.
29334 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29335 (FE_DIVBYZERO): Likewise.
29336 (FE_OVERFLOW): Likewise.
29337 (FE_UNDERFLOW): Likewise.
29338 (FE_INEXACT): Likewise.
29339 (FE_TONEAREST): Likewise.
29340 (FE_DOWNWARD): Likewise.
29341 (FE_UPWARD): Likewise.
29342 (FE_TOWARDZERO): Likewise.
29344 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29346 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29348 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29350 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29351 commands. Quote $PWD.
29352 (blacklist_exports): Don't use remove_newlines. Replace "declare
29354 (remove_newlines): Remove.
29356 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29358 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29359 * stdlib/stdlib.h (atof): Moved to ...
29360 * include/bits/stdlib-float.h: Here. New file.
29361 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29362 * stdlib/bits/stdlib-float.h: New file.
29363 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29365 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29368 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29370 * conform/conformtest.pl (@headers): Add fenv.h.
29371 * conform/data/fenv.h-data: New file.
29372 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29373 include of <math/fenv.h>.
29375 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29376 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29377 && !UNIX98]. Enables tests for XOPEN2K8.
29378 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29379 POSIX2008]: Likewise.
29381 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29382 (struct rusage): Do not expect type or its members.
29385 * math/math.h (FP_NAN): Define macro to integer constant usable in
29386 #if and use that to give value to enum constant.
29387 (FP_INFINITE): Likewise.
29388 (FP_ZERO): Likewise.
29389 (FP_SUBNORMAL): Likewise.
29390 (FP_NORMAL): Likewise.
29392 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29394 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29395 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29398 2012-11-02 Roland McGrath <roland@hack.frob.com>
29400 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29401 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29402 autoconf-time if not.
29403 * configure.in: Remove AC_PREREQ.
29405 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29407 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29408 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29409 of the internal implementation.
29411 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29413 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29414 except include of <misc/sys/syslog.h>.
29416 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29419 function returns with a NULL context exit with zero.
29421 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29423 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29425 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29427 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29428 (run_program_cmd): This.
29429 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29430 (tst_langinfo): New variable. Use it.
29432 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29434 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29435 floating point opcodes.
29437 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29439 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29442 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29444 * sysdeps/mach/hurd/powerpc: Remove directory.
29445 * sysdeps/mach/powerpc: Likewise.
29447 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29449 * scripts/check-local-headers.sh: Ignore c++ headers.
29451 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29453 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29454 __libc_cleanup_region_start argument.
29456 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29461 x * y using scaling, not as x * y + z.
29462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29464 * math/libm-test.inc (fma_test): Add more tests.
29465 (fma_test_towardzero): Likewise.
29466 (fma_test_downward): Likewise.
29467 (fma_test_upward): Likewise.
29469 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29471 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29473 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29475 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29478 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29480 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29482 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29489 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29492 Fix the order of the list for glibc 2.17.
29493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29496 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29500 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29504 for low part of x being zero before using __atanl (y).
29505 * math/libm-test.inc (atan2_test): Add another test.
29507 * manual/install.texi (Configuring and compiling): Document
29508 general use of test-wrapper and test-wrapper-env.
29509 * INSTALL: Regenerated.
29511 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29512 (__fma): Do not extract and scale down low bits on after-rounding
29513 systems when result rounded to normal precision would have normal
29515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29516 (__fmal): Do not extract and scale down low bits on after-rounding
29517 systems when result rounded to normal precision would have normal
29519 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29520 (__fmal): Do not extract and scale down low bits on after-rounding
29521 systems when result rounded to normal precision would have normal
29523 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29525 (fma_test): Add more tests.
29526 (fma_test_towardzero): Likewise.
29527 (fma_test_downward): Likewise.
29528 (fma_test_upward): Likewise.
29530 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29532 * sysdeps/i386/tininess.h: Renamed to ...
29533 * sysdeps/x86/tininess.h: This.
29534 * sysdeps/x86_64/tininess.h: Removed.
29536 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29538 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29539 input. Use $(build-program-cmd).
29540 ($(objpfx)tst-array1-static.out): Likewise.
29541 ($(objpfx)tst-array2.out): Likewise.
29542 ($(objpfx)tst-array3.out): Likewise.
29543 ($(objpfx)tst-array4.out): Likewise.
29544 ($(objpfx)tst-array5.out): Likewise.
29545 ($(objpfx)tst-array5-static.out): Likewise.
29547 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29549 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29552 * nss/nsswitch.h (nss_interface_function): Provide new
29553 macro for use with NSS functions.
29554 * grp/initgroups.c: Use new macro.
29555 * nss/getXXbyYY.c: Likewise.
29556 * nss/getXXbyYY_r.c: Likewise.
29557 * nss/getXXent.c: Likewise.
29558 * nss/getXXent_r.c: Likewise.
29559 * sysdeps/posix/getaddrinfo.c: Likewise.
29561 2012-10-30 Andreas Jaeger <aj@suse.de>
29563 * po/ru.po: Update Russion translation from translation project.
29565 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29570 result and shift together with sticky bit instead of replicating
29571 round-to-nearest rounding.
29572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29574 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29575 missing underflow exceptions.
29576 (fma_test_towardzero): Add more tests.
29577 (fma_test_downward): Likewise.
29578 (fma_test_upward): Likewise.
29581 * sysdeps/generic/tininess.h: New file.
29582 * sysdeps/i386/tininess.h: Likewise.
29583 * sysdeps/sh/tininess.h: Likewise.
29584 * sysdeps/x86_64/tininess.h: Likewise.
29585 * stdlib/tst-strtod-underflow.c: Likewise.
29586 * stdlib/tst-tininess.c: Likewise.
29587 * stdlib/strtod_l.c: Include <tininess.h>.
29588 (round_and_return): Do not set errno for exact underflow cases.
29589 Force an underflow exception when setting errno for underflow.
29590 Determine underflow based on rounding to normal precision if
29591 TININESS_AFTER_ROUNDING.
29592 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29593 ERANGE for exact underflow cases.
29594 * stdlib/Makefile (tests): Add tst-tininess and
29595 tst-strtod-underflow.
29596 ($(objpfx)tst-tininess): Use $(link-libm).
29597 ($(objpfx)tst-strtod-underflow): Likewise.
29599 2012-10-30 Andreas Jaeger <aj@suse.de>
29602 * elf/Makefile (tests): Remove conditional for have-initfini-array
29603 since this is now always required and the variable does not exist
29605 (tests-static): Likewise.
29606 (modules-names): Likewise.
29608 * po/eo.po: Add Esperanto translation from translation project.
29610 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29611 merged with constructor/destructor.
29612 (init_array): Likewise.
29613 * elf/tst-array2dep.c (fini_array): Likewise.
29614 (init_array): Likewise.
29616 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29618 * manual/message.texi: Delete @cartouche tags.
29620 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29622 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29624 * sysdeps/mach/hurd/fsync.c: Likewise.
29626 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29627 [_POSIX_REALTIME_SIGNALS]: Change condition to
29628 [_POSIX_REALTIME_SIGNALS > 0].
29630 2012-10-27 Andreas Jaeger <aj@suse.de>
29632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29633 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29635 [__WORDSIZE != 64]: Likewise.
29637 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29639 * iconvdata/tst-table.sh: Remove ${SHELL}.
29640 * iconvdata/tst-tables.sh: Likewise.
29642 2012-10-25 David S. Miller <davem@davemloft.net>
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29645 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29651 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29652 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29655 2012-10-25 Roland McGrath <roland@hack.frob.com>
29657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29658 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29661 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29662 Jim Blandy <jimb@codesourcery.com>
29664 * scripts/cross-test-ssh.sh: New file.
29665 * manual/install.texi (Configuring and compiling): Document use of
29667 * INSTALL: Regenerated.
29669 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29671 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29674 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29676 * Makeconfig (run-program-prefix): Fix comment.
29678 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29679 Jim Blandy <jimb@codesourcery.com>
29681 * Makeconfig (test-wrapper): New variable,
29682 (test-wrapper-env): Likewise.
29683 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29684 (run-built-tests): Define to yes.
29685 (run-program-prefix): Use $(test-wrapper).
29686 (built-program-cmd): Likewise.
29687 * Rules (make-test-out): Use $(test-wrapper-env) and
29688 $(host-built-program-cmd).
29689 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29690 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29692 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29693 $(test-wrapper-env) to tst-rtld-load-self.sh.
29694 ($(objpfx)order2.out): Use $(test-wrapper).
29695 ($(objpfx)tst-initorder.out): Likewise.
29696 ($(objpfx)tst-initorder2.out): Likewise.
29697 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29698 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29699 (test_wrapper_env): New variable. Use it to run ld.so.
29700 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29701 Use it to run ld.so.
29702 (test_wrapper_env): Likewise.
29703 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29704 $(test-wrapper) to run-iconv-test.sh.
29705 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29706 (ICONV): Use $test_wrapper.
29707 * posix/Makefile ($(objpfx)globtest.out): Pass
29708 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29709 globtest.sh, not $(run-program-prefix).
29710 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29711 (test_wrapper): Likewise.
29712 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29713 set together with run_via_rtld_prefix.
29714 (run_program_prefix): Define in terms of test_wrapper and
29715 run_via_rtld_prefix.
29717 2012-10-24 Roland McGrath <roland@hack.frob.com>
29719 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29720 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29724 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29725 Declare __clock_getres, __clock_gettime, __clock_settime,
29726 __clock_nanosleep, and __clock_getcpuclockid.
29727 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29728 Remove librt_hidden_def (clock_gettime).
29729 * sysdeps/unix/clock_gettime.c: Likewise.
29730 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29732 * rt/clock_getres.c: Define __clock_getres as an alias.
29733 * sysdeps/posix/clock_getres.c: Likewise.
29734 * rt/clock_settime.c: Define __clock_settime as an alias.
29735 * sysdeps/unix/clock_settime.c: Likewise.
29736 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29737 * sysdeps/unix/clock_nanosleep.c: Likewise.
29738 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29739 * rt/clock-compat.c: New file.
29740 * rt/Makefile (librt-routines): Add clock-compat and move
29741 $(clock-routines) to ...
29742 (routines): ... here, new variable.
29743 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29744 Don't add get_clockfreq here.
29745 * rt/Versions (libc: GLIBC_2.17): New version set.
29746 Add clock_* symbols here.
29747 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29748 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29749 (GLIBC_2.17): Add clock_* symbols.
29750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29761 * NEWS: Mention the move.
29763 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29764 Use __open, __read, __close rather than their public counterparts.
29765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29766 (__get_clockfreq_via_cpuinfo): Likewise.
29767 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29768 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29770 * config.h.in (HAVE_IFUNC): New #undef.
29771 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29773 * configure: Regenerated.
29775 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29777 * configure.in: Move READELF check to start of file.
29778 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29779 libc_cv_asm_gnu_indirect_function in the process.
29780 * configure: Regenerated.
29782 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29784 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29785 send the output to /dev/null.
29786 (libc_cv_cc_with_libunwind): Likewise.
29787 (libc_cv_as_noexecstack): Likewise.
29788 * configure: Regenerate.
29790 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29792 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29794 * posix/globtest.sh (TMPDIR): Do not set.
29795 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29796 (testout): Likewise.
29798 2012-10-24 Andreas Jaeger <aj@suse.de>
29800 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29801 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29802 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29803 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29804 posix_fadvise64, posix_fallocate64.
29806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29807 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29808 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29810 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29812 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29815 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29816 <bits/fcntl-linux.h>.
29817 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29820 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29821 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29822 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29823 [__WORDSIZE != 64]: Likewise.
29825 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29827 * Makeconfig (run-built-tests): New variable.
29828 * Rules [$(cross-compiling) = yes]: Change condition to
29829 [$(run-built-tests) = no].
29830 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29831 to [$(run-built-tests) = yes].
29832 * elf/Makefile [$(cross-compiling) = no]: Likewise
29833 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29834 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29835 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29836 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29837 * io/Makefile [$(cross-compiling) = no]: Likewise.
29838 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29839 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29840 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29841 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29842 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29843 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29844 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29845 * string/Makefile [$(cross-compiling) = no]: Likewise.
29847 * posix/Makefile ($(objpfx)globtest.out): Pass
29848 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29849 $(rtld-installed-name).
29850 * posix/globtest.sh (elf_objpfx): Remove variable.
29851 (rtld_installed_name): Likewise.
29852 (library_path): Likewise.
29853 (run_program_prefix): New variable. Use for running globtest
29856 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29857 Joseph Myers <joseph@codesourcery.com>
29859 * Makeconfig (host-built-program-cmd): New variable.
29860 * elf/Makefile (tst-stackguard1-ARGS): Use
29861 $(host-built-program-cmd).
29862 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29863 (tst-spawn-ARGS): Likewise.
29864 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29866 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29867 Jim Blandy <jimb@codesourcery.com>
29869 * Makeconfig (run-via-rtld-prefix): New variable.
29870 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29871 (built-program-cmd): Likewise.
29873 2012-10-22 Andreas Jaeger <aj@suse.de>
29875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29876 __O_RSYNC if it exists, otherwise to O_SYNC.
29878 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29879 Joseph Myers <joseph@codesourcery.com>
29881 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29883 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29885 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29888 2012-10-22 Andreas Jaeger <aj@suse.de>
29890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29895 bits/fcntl-linux.h.
29897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29898 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29905 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29906 Joseph Myers <joseph@codesourcery.com>
29908 * config.make.in (NM): New variable.
29910 2012-10-21 Andreas Jaeger <aj@suse.de>
29912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29913 definitions and declarations that are provided by
29914 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29916 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29919 * elf/Makefile (tests-static): Add tst-leaks1-static.
29920 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29921 ($(objpfx)tst-leaks1-static): New rule.
29922 ($(objpfx)tst-leaks1-static-mem): Likewise.
29923 (tst-leaks1-static-ENV): New macro.
29924 * elf/dl-open.c (dl_open_worker): Check the main application
29925 only if SHARED is defined.
29926 * elf/tst-leaks1-static.c: New file.
29928 2012-10-20 Andreas Jaeger <aj@suse.de>
29930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29931 generic values for Linux.
29932 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29933 and declarations that are provided by <bits/fcntl-linux.h> and
29934 include <bits/fcntl-linux.h>.
29935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29938 2012-10-20 Roland McGrath <roland@hack.frob.com>
29940 * io/fcntl.h: Move include of <bits/types.h> to the top and
29941 include it unconditionally.
29943 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29945 * wcsmbs/Makefile (tests-ifunc): New variable.
29946 (tests): Add $(tests-ifunc).
29947 * wcsmbs/test-wcschr-ifunc.c: New file.
29948 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29949 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29950 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29951 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29952 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29954 * string/Makefile (tests-ifunc): New variable.
29955 (tests): Add $(tests-ifunc).
29956 * string/test-memccpy.c (TEST_NAME): New macro.
29957 * string/test-memchr.c (TEST_NAME): Likewise.
29958 * string/test-memcmp.c (TEST_NAME): Likewise.
29959 * string/test-memcpy.c (TEST_NAME): Likewise.
29960 * string/test-memmem.c (TEST_NAME): Likewise.
29961 * string/test-memmove.c (TEST_NAME): Likewise.
29962 * string/test-memset.c (TEST_NAME): Likewise.
29963 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29964 * string/test-stpcpy.c (TEST_NAME): Likewise.
29965 * string/test-stpncpy.c (TEST_NAME): Likewise.
29966 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29967 * string/test-strcasestr.c (TEST_NAME): Likewise.
29968 * string/test-strcat.c (TEST_NAME): Likewise.
29969 * string/test-strchr.c (TEST_NAME): Likewise.
29970 * string/test-strcmp.c(TEST_NAME): Likewise.
29971 * string/test-strcpy.c (TEST_NAME): Likewise.
29972 * string/test-strcspn.c (TEST_NAME): Likewise.
29973 * string/test-strlen.c (TEST_NAME): Likewise.
29974 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29975 * string/test-strncmp.c (TEST_NAME): Likewise.
29976 * string/test-strncpy.c (TEST_NAME): Likewise.
29977 * string/test-strnlen.c (TEST_NAME): Likewise.
29978 * string/test-strpbrk.c (TEST_NAME): Likewise.
29979 * string/test-strrchr.c (TEST_NAME): Likewise.
29980 * string/test-strspn.c (TEST_NAME): Likewise.
29981 * string/test-strstr.c (TEST_NAME): Likewise.
29982 * string/test-bcopy-ifunc.c: New file.
29983 * string/test-bzero-ifunc.c: Likewise.
29984 * string/test-memccpy-ifunc.c: Likewise.
29985 * string/test-memchr-ifunc.c: Likewise.
29986 * string/test-memcmp-ifunc.c: Likewise.
29987 * string/test-memcpy-ifunc.c: Likewise.
29988 * string/test-memmem-ifunc.c: Likewise.
29989 * string/test-memmove-ifunc.c: Likewise.
29990 * string/test-mempcpy-ifunc.c: Likewise.
29991 * string/test-memset-ifunc.c: Likewise.
29992 * string/test-rawmemchr-ifunc.c: Likewise.
29993 * string/test-stpcpy-ifunc.c: Likewise.
29994 * string/test-stpncpy-ifunc.c: Likewise.
29995 * string/test-strcasecmp-ifunc.c: Likewise.
29996 * string/test-strcasestr-ifunc.c: Likewise.
29997 * string/test-strcat-ifunc.c: Likewise.
29998 * string/test-strchr-ifunc.c: Likewise.
29999 * string/test-strchrnul-ifunc.c: Likewise.
30000 * string/test-strcmp-ifunc.c: Likewise.
30001 * string/test-strcpy-ifunc.c: Likewise.
30002 * string/test-strcspn-ifunc.c: Likewise.
30003 * string/test-strlen-ifunc.c: Likewise.
30004 * string/test-strncasecmp-ifunc.c: Likewise.
30005 * string/test-strncat-ifunc.c: Likewise.
30006 * string/test-strncmp-ifunc.c: Likewise.
30007 * string/test-strncpy-ifunc.c: Likewise.
30008 * string/test-strnlen-ifunc.c: Likewise.
30009 * string/test-strpbrk-ifunc.c: Likewise.
30010 * string/test-strrchr-ifunc.c: Likewise.
30011 * string/test-strspn-ifunc.c: Likewise.
30012 * string/test-strstr-ifunc.c: Likewise.
30014 * debug/Makefile (tests-ifunc): New variable.
30015 (tests): Add $(tests-ifunc).
30016 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30017 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30018 * debug/test-stpcpy_chk-ifunc.c: New file.
30019 * debug/test-strcpy_chk-ifunc.c: Likewise.
30021 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30024 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30025 header is not read in.
30027 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30029 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30030 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30031 directly. Pass built executable to script as
30032 $(built-program-cmd).
30033 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30034 $testprogram without using LD_LIBRARY_PATH and $ldso.
30036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30037 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30038 $(rtld-installed-name).
30039 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30040 (rtld_installed_name): Likewise.
30041 (library_path): Likewise.
30042 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30043 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30044 $(run-program-prefix) to tst-tables.sh.
30045 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30046 it to run tst-table-from and tst-table-to.
30047 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30048 Pass it to tst-table.sh.
30049 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30050 $(run-program-prefix) to tst-gettext.sh.
30051 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30053 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30055 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30056 to run tst-gettext.
30057 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30058 to run tst-gettext2.
30059 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30060 to run tst-translit.
30061 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30062 $(run-program-prefix) to tst-mtrace.sh.
30063 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30065 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30066 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30067 $(rtld-installed-name).
30068 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30069 (rtld_installed_name): Likewise.
30070 (run_program_prefix): New variable. Use it to run wordexp-test.
30072 * Makeconfig (ARCH): Remove all definitions.
30073 (machine): Likewise.
30074 [ARCH]: Remove conditional code.
30075 [!objdir]: Give error.
30076 [!objdir] (objpfx): Remove.
30077 [!objdir] (common-objpfx): Likewise.
30078 [!objdir] (common-objdir): Likewise.
30079 * configure.in (config_makefile): Remove. Hardcode Makefile in
30080 AC_CONFIG_FILES call.
30081 * configure: Regenerated.
30084 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30086 (testout): Likewise.
30088 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30089 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30090 $(rtld-installed-name).
30091 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30092 (rtld_installed_name): Likwise.
30093 (runit): Remove function.
30094 (run_getconf): New variable, Use it for running getconf binary.
30096 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30099 * string/test-memmem.c (check_result): New function.
30100 (do_one_test): Use it.
30101 (check1): New function.
30102 (test_main): Use it.
30104 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30106 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30108 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30110 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30111 (_G_LSEEK64): Likewise.
30112 (_G_MMAP64): Likewise.
30113 (_G_FSTAT64): Likewise.
30114 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30115 (_G_LSEEK64): Likewise.
30116 (_G_MMAP64): Likewise.
30117 (_G_FSTAT64): Likewise.
30118 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30119 unconditional. Call __mmap64 directly.
30120 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30121 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30122 __lseek64 directly.
30123 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30124 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30126 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30127 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30128 __lseek64 directly.
30129 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30130 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30131 __lseek64 directly.
30132 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30133 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30134 __lseek64 directly.
30135 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30136 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30137 __fxstat64 directly.
30138 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30139 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30141 (freopen64) [!_G_OPEN64]: Remove conditional code.
30142 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30144 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30145 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30147 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30148 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30150 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30151 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30153 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30154 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30156 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30157 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30159 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30160 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30162 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30164 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30167 * manual/memory.texi (Malloc Tunable Parameters): Add note
30168 about free list pointers overwriting some perturb bytes.
30169 Wording suggested by Roland McGrath.
30171 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30173 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30174 (lgamma_test): Likewise.
30175 (tgamma_test): Likewise.
30177 2012-10-16 Florian Weimer <fweimer@redhat.com>
30180 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30181 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30183 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30185 * NEWS: Mention BZ #14716.
30186 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30187 when removing AVAILABLE1_USES_J macro.
30189 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30191 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30192 (__bswap_64): __uint64_t for unsigned 64-bit int.
30194 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30196 * include/string.h (memmem): Declare libc hidden alias.
30197 * string/memmem.c (memmem): Define libc hidden alias.
30198 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30199 __read, __close instead of open, read, close.
30201 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30204 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30206 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30207 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30208 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30210 (__rawmemchr_sse2): Likewise.
30211 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30212 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30213 (__strchr_sse2): Likewise.
30214 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30215 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30216 (__strcasecmp_sse2): Likewise.
30217 (__strncasecmp_sse2): Likewise.
30218 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30219 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30220 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30221 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30222 (__strrchr_sse2): Likewise.
30223 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30225 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30226 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30227 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30228 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30229 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30230 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30231 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30232 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30233 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30234 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30235 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30236 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30237 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30238 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30239 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30240 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30241 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30242 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30243 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30244 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30245 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30246 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30247 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30248 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30249 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30251 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30252 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30253 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30254 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30256 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30258 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30259 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30260 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30261 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30263 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30265 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30266 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30267 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30268 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30270 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30271 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30272 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30273 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30274 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30275 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30276 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30277 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30278 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30279 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30280 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30281 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30282 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30283 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30284 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30286 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30287 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30288 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30290 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30291 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30292 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30293 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30294 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30295 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30296 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30297 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30298 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30299 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30300 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30301 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30302 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30303 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30304 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30305 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30306 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30307 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30308 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30309 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30310 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30312 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30313 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30314 * include/ifunc-impl-list.h: New file.
30315 * misc/ifunc-impl-list.c: Likewise.
30316 * misc/Makefile (routines): Add ifunc-impl-list.
30317 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30318 * string/test-string.h: Include <ifunc-impl-list.h>.
30319 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30320 TEST_NAME]: New variables.
30321 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30323 (test_init): Call __libc_ifunc_impl_list to initialize
30324 func_list if TEST_IFUNC and TEST_NAME are defined.
30326 * string/Makefile (strop-tests): Add bcopy and bzero.
30327 * string/test-bcopy.c: New file.
30328 * string/test-bzero.c: Likewise.
30329 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30331 * string/test-memset.c: Support bzero test if TEST_BZERO is
30333 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30335 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30337 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30340 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30342 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30343 * configure: Regenerated.
30345 * Makeconfig (+link-static-before-libc): Don't include
30346 $(link-static-libc).
30348 * libio/libio.h (_IO_pos_t): Remove.
30350 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30352 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30355 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30357 * crypt/crypt-entry.c: Include fips-private.h.
30358 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30359 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30360 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30361 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30363 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30365 * crypt/crypt-private.h: Include stdbool.h.
30366 (_ufc_setup_salt_r): Return bool.
30367 * crypt/crypt-entry.c: Include errno.h.
30368 (__crypt_r): Return NULL with EINVAL for bad salt.
30369 * crypt/crypt_util.c (bad_for_salt): New.
30370 (_ufc_setup_salt_r): Check that salt is long enough and within
30371 the specified alphabet.
30372 * crypt/badsalttest.c: New file.
30373 * crypt/Makefile (tests): Add it.
30374 ($(objpfx)badsalttest): New.
30376 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30378 * NEWS: Add entry for BZ #14602.
30380 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30382 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30384 * math/libm-test.inc: Update comment listing what functions and
30386 (isgreater_test): New function.
30387 (isgreaterequal_test): Likewise.
30388 (isless_test): Likewise.
30389 (islessequal_test): Likewise.
30390 (islessgreater_test): Likewise.
30391 (isunordered_test): Likewise.
30392 (main): Call the new functions.
30394 2012-10-09 Roland McGrath <roland@hack.frob.com>
30396 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30397 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30398 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30399 * sysdeps/i386/configure: Regenerated.
30400 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30401 * sysdeps/mach/configure: Regenerated.
30402 * sysdeps/mach/hurd/configure: Regenerated.
30403 * sysdeps/powerpc/configure: Regenerated.
30404 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30405 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30406 * sysdeps/s390/s390-32/configure: Regenerated.
30407 * sysdeps/s390/s390-64/configure: Regenerated.
30408 * sysdeps/sh/configure: Regenerated.
30409 * sysdeps/sparc/configure: Regenerated.
30410 * sysdeps/unix/sysv/linux/configure: Regenerated.
30411 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30412 * sysdeps/x86_64/configure: Regenerated.
30414 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30415 defined. Don't check if MAP is NULL.
30417 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30419 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30420 (_G_stat64): Likewise.
30421 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30422 (_G_stat64): Likewise.
30423 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30424 instead of struct _G_stat64.
30425 * libio/fileops.c (mmap_remap_check): Likewise.
30426 (decide_maybe_mmap): Likewise.
30427 (_IO_new_file_seekoff): Likewise.
30428 (_IO_file_stat): Likewise.
30429 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30431 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30432 instead of struct _G_stat64.
30433 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30435 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30438 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30440 (CHECK_EOL): New macro.
30441 (two_way_short_needle): Check beginning of haystack for EOL. Use
30443 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30444 Replace with CHECK_EOL.
30445 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30446 Replace with CHECK_EOL.
30448 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30450 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30452 * math/libm-test.inc: Update comment listing what functions and
30454 (finite_test): New function.
30455 (isinf_test): Likewise.
30456 (isnan_test): Likewise.
30457 (fpclassify_test): Test subnormal input.
30458 (isfinite_test): Likewise.
30459 (isnormal_test): Likewise.
30460 (main): Call the new functions.
30462 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30465 * Makerules (%.dynsym): Force C locale when running
30466 $(OBJDUMP) --dynamic-syms.
30468 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30470 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30473 2012-10-06 David S. Miller <davem@davemloft.net>
30475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30476 upper 32-bits of the length value in %o2 since we use branch-on-register
30477 tests which consider the entire 64-bit register.
30479 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30481 * string/test-strstr.c (check2): Add a test for page boundary.
30483 2012-10-05 David S. Miller <davem@davemloft.net>
30485 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30486 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30488 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30490 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30491 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30492 and bzero when HWCAP_SPARC_CRYPTO is present.
30494 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30497 * string/test-strstr.c (check2): New function.
30498 (test_main): Call check2.
30500 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30502 * string/bug-strcasestr1.c (do_test): Moved to ...
30503 * string/test-strcasestr.c (check1): Here. New function.
30504 (do_one_test): Break out result checking code into ...
30505 (check_result): This. New function.
30506 (do_one_test): Call check_result.
30507 (test_main): Call check1.
30508 * string/bug-strchr1.c (do_test): Moved to ...
30509 * string/test-strchr.c (check1): Here. New function.
30510 (do_one_test): Break out result checking code into ...
30511 (check_result): This. New function.
30512 (do_one_test): Call check_result.
30513 (test_main): Call check1.
30514 * string/bug-strstr1.c (main): Moved to ...
30515 * string/test-strstr.c (check1): Here. New function.
30516 (do_one_test): Break out result checking code into ...
30517 (check_result): This. New function.
30518 (do_one_test): Call check_result.
30519 (test_main): Call check1.
30520 * string/bug-strcasestr1.c: Removed.
30521 * string/bug-strchr1.c: Likewise.
30522 * string/bug-strstr1.c: Likewise.
30524 * elf/Makefile (dl-routines): Add hwcaps.
30525 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30526 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30527 (_dl_important_hwcaps): Moved to ...
30528 * elf/dl-hwcaps.c: Here. New file.
30529 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30532 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30533 if IS_IN_rtld isn't defined.
30535 * elf/dl-support.c (_dl_sysinfo_map): New.
30536 Include "get-dynamic-info.h" and "setup-vdso.h".
30537 (_dl_non_dynamic_init): Call setup_vdso.
30538 * elf/dynamic-link.h: Don't include <assert.h>.
30539 (elf_get_dynamic_info): Moved to ...
30540 * elf/get-dynamic-info.h: Here. New file.
30541 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30542 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30543 * elf/setup-vdso.h: Here. New file.
30544 * elf/rtld.c: Include "setup-vdso.h".
30545 (dl_main): Call setup_vdso.
30547 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30549 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30550 creal in comment listing functions tested. List finite, isinf,
30551 isnan, isless, islessequal, isgreater, isgreaterequal,
30552 islessgreater, isunordered, lgamma_r and pow10 as functions and
30553 macros not tested. Mention which functions not tested are aliases
30554 for other functions. Fix typo. Note that signs of NaNs are not
30557 * scripts/config.guess: Update from config.git.
30558 * scripts/config.sub: Likewise.
30560 2012-10-04 Roland McGrath <roland@hack.frob.com>
30562 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30563 * misc/madvise.c (madvise): Renamed to __madvise.
30564 Make madvise a weak alias.
30565 * include/sys/mman.h: Declare __madvise.
30566 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30567 * sysdeps/unix/syscalls.list
30568 (madvise): Make __madvise the strong name, and madvise a weak alias.
30569 * sysdeps/unix/sysv/linux/syscalls.list
30570 (madvise, mmap): Remove redundant entries.
30571 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30572 * malloc/malloc.c (mtrim): Likewise.
30573 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30575 2012-10-03 Roland McGrath <roland@hack.frob.com>
30577 * sysdeps/mach/hurd/dl-cache.c: File removed.
30578 * config.h.in (USE_LDCONFIG): New #undef.
30579 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30580 * configure: Regenerated.
30581 * elf/Makefile (dl-routines): Add dl-cache only under
30582 [$(use-ldconfig) = yes].
30583 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30584 cache on [USE_LDCONFIG].
30585 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30587 * elf/rtld.c (dl_main): Likewise.
30589 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30591 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30592 _SC_LEVEL4_CACHE_LINESIZE.
30594 2012-10-03 Roland McGrath <roland@hack.frob.com>
30596 * sysdeps/unix/bsd/confstr.h: File removed.
30598 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30600 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30603 2012-10-02 Roland McGrath <roland@hack.frob.com>
30605 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30606 Make 'mapoff' field ElfW(Off) rather than off_t.
30608 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30610 * nscd/Makefile: Remove nscd-cflags and all its users.
30611 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30612 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30615 * malloc.c (malloc_printerr): Clarify error message.
30617 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30621 Set bit_FMA_Usable if FMA is supported.
30622 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30624 (bit_FMA4_Usable): Updated.
30625 (index_FMA_Usable): New macro.
30626 (CPUID_FMA): Likewise
30627 (HAS_FMA): Defined with bit_FMA_Usable.
30629 2012-10-01 Roland McGrath <roland@hack.frob.com>
30631 * bits/types.h (__swblk_t): Type removed.
30632 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30633 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30635 (__SWBLK_T_TYPE): Likewise.
30636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30637 (__SWBLK_T_TYPE): Likewise.
30638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30639 (__SWBLK_T_TYPE): Likewise.
30640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30641 (__SWBLK_T_TYPE): Likewise.
30643 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30644 Honza Horak <hhorak@redhat.com>
30646 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30647 (xdr_mapname): Use YPMAXMAP as maxsize.
30648 (xdr_peername): Use YPMAXPEER as maxsize.
30649 (xdr_keydat): Use YPAXRECORD as maxsize.
30650 (xdr_valdat): Use YPMAXRECORD as maxsize.
30652 2012-10-01 Roland McGrath <roland@hack.frob.com>
30654 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30656 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30657 * csu/init-first.c: ... here.
30658 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30659 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30662 * sysdeps/i386/init-first.c: File removed.
30663 * sysdeps/sh/init-first.c: File removed.
30665 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30669 if x * y might underflow to zero and z is zero.
30670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30672 * math/libm-test.inc (min_subnorm_value): New variable.
30673 (fma_test): Add more tests.
30674 (fma_test_towardzero): Likewise.
30675 (fma_test_downward): Likewise
30676 (fma_test_upward): Likewise.
30677 (initialize): Set min_subnorm_value.
30679 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30685 mode for addition resulting in exact zero.
30686 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30691 * math/libm-test.inc (fma_test): Add more tests.
30692 (fma_test_towardzero): New function.
30693 (fma_test_downward): Likewise.
30694 (fma_test_upward): Likewise.
30695 (main): Call the new functions.
30697 2012-09-28 David S. Miller <davem@davemloft.net>
30699 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30701 2012-09-28 Roland McGrath <roland@hack.frob.com>
30703 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30704 instead of SIGALRM.
30706 * sysdeps/gnu/_G_config.h: Moved to ...
30707 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30708 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30709 * sysdeps/generic/_G_config.h: ... here.
30711 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30713 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30715 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30716 Conditionalize target on [libnss_test1.so-version].
30718 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30720 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30721 (elfobjdir): Move out of conditionals.
30723 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30724 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30725 (__nss_lookup_function): Conditionalize label remove_from_tree on
30726 [!DO_STATIC_NSS || SHARED], matching its only use.
30728 2012-09-28 David S. Miller <davem@davemloft.net>
30730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30731 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30733 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30735 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30737 when HWCAP_SPARC_CRYPTO is present.
30739 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30741 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30743 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30746 * stdio-common/vfprintf.c (process_string_arg): Revert
30749 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30751 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30753 * stdio-common/tst-sprintf.c: Include <locale.h>
30754 (main): Test sprintf's handling of incomplete multibyte
30757 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30759 * elf/dl-runtime.c (VERSYMIDX): Removed.
30760 * elf/dl-version.c (VERSYMIDX): Likewise.
30761 * elf/do-rel.h (VERSYMIDX): Likewise.
30762 (VALIDX): Likewise.
30763 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30764 * elf/rtld.c (VALIDX): Likewise.
30765 (ADDRIDX): Likewise.
30766 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30767 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30768 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30769 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30770 (VALIDX): Likewise.
30771 (ADDRIDX): Likewise.
30773 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30775 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30777 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30780 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30782 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30783 addresses are in the same scope as 192.0.2/24.
30784 * posix/gai.conf: Document new scope table defaults.
30786 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30789 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30790 for ftell. Compute offsets from write pointers instead.
30791 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30793 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30796 * libio/Makefile (tests): New test case tst-fseek.
30797 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30798 combination works in wide mode.
30799 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30800 state when the external buffer state changes.
30802 2012-09-27 David S. Miller <davem@davemloft.net>
30805 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30806 pass reloc->r_addend in as the 'high' argument to
30807 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30811 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30813 * rt/tst-aio2.c: Include <pthread.h>.
30814 * rt/tst-aio3.c: Likewise.
30816 2012-09-27 Steve Ellcey <sellcey@mips.com>
30818 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30820 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30822 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30823 contents on [SHARED].
30825 2012-09-26 Marek Polacek <polacek@redhat.com>
30829 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30830 for C++ and GCC <4.3 as well as for non GCC compilers.
30832 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30836 2012-09-25 Roland McGrath <roland@hack.frob.com>
30838 * Makefile.in (all, install): Declare with .PHONY.
30839 Reported by Michael Hope <michael.hope@linaro.org>.
30841 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30843 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30844 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30846 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30848 (sydep_routines): Add the new and the internal functions.
30849 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30850 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30852 (GLIBC_2.17): Add the new function.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30854 (GLIBC_2.17): Likewise.
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30856 (GLIBC_2.17): Likewise.
30857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30858 (GLIBC_2.17): Likewise.
30859 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30861 2012-09-25 Alan Modra <amodra@gmail.com>
30863 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30864 Add release barrier before setting once_control to say
30865 initialisation is done. Add hints on lwarx. Use macro in
30867 (clear_once_control): Add release barrier.
30869 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30872 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30874 * math/s_clog10.c (__clog10): Likewise.
30875 * math/s_clog10f.c (__clog10f): Likewise.
30876 * math/s_clog10l.c (__clog10l): Likewise.
30877 * math/s_clogf.c (__clogf): Likewise.
30878 * math/s_clogl.c (__clogl): Likewise.
30879 * math/Makefile (libm-calls): Add x2y2m1.
30880 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30881 (__x2y2m1): Likewise.
30882 (__x2y2m1l): Likewise.
30883 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30884 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30887 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30888 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30889 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30890 * sysdeps/i386/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30894 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30895 int as type of variable DEPTH.
30896 (glob): Use size_t instead of int as type of variables NEWCOUNT
30899 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30901 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30902 Add s_sincosf-sse2.
30903 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30904 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30905 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30906 macros for using routine as __sincosf_ia32.
30907 Use macro for function declaration and weak_alias.
30908 * sysdeps/i386/fpu/libm-test-ulps: Update.
30910 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30913 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30914 subnormal argument.
30915 * math/s_cexpf.c (__cexpf): Likewise.
30916 * math/s_csinf.c (__csinf): Likewise.
30917 * math/s_csinhf.c (__csinhf): Likewise.
30918 * math/s_ctanf.c (__ctanf): Likewise.
30919 * math/s_ctanhf.c (__ctanhf): Likewise.
30920 * math/s_ccosh.c (__ccoshf): Likewise.
30921 * math/s_cexp.c (__cexpl): Likewise.
30922 * math/s_csin.c (__csin): Likewise.
30923 * math/s_csinh.c (__csinh): Likewise.
30924 * math/s_ctan.c (__ctan): Likewise.
30925 * math/s_ctanh.c (ctanh): Likewise.
30926 * math/s_ccoshl.c (__ccoshl): Likewise.
30927 * math/s_cexpl.c (__cexpl): Likewise.
30928 * math/s_csinl.c (__csinl): Likewise.
30929 * math/s_csinhl.c (__csinhl): Likewise.
30930 * math/s_ctanl.c (__ctanl): Likewise.
30931 * math/s_ctanhl.c (__ctanhl): Likewise.
30933 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30935 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30936 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30937 (_IO_off_t): Define to __off_t, not _G_off_t.
30938 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30939 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30940 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30941 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30942 type of __dummy and __dummy2 fields.
30943 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30944 (_G_ssize_t): Likewise.
30945 (_G_off_t): Likewise.
30946 (_G_pid_t): Likewise.
30947 (_G_uid_t): Likewise.
30948 (_G_wchar_t): Likewise.
30949 (_G_wint_t): Likewise.
30950 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30951 (_G_ssize_t): Likewise.
30952 (_G_off_t): Likewise.
30953 (_G_pid_t): Likewise.
30954 (_G_uid_t): Likewise.
30955 (_G_wchar_t): Likewise.
30956 (_G_wint_t): Likewise.
30957 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30958 (_G_ssize_t): Likewise.
30959 (_G_off_t): Likewise.
30960 (_G_pid_t): Likewise.
30961 (_G_uid_t): Likewise.
30962 (_G_wchar_t): Likewise.
30963 (_G_wint_t): Likewise.
30965 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30967 * malloc/arena.c: Include malloc-sysdep.h.
30968 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30969 is sufficient to shrink the heap or an unmap is needed.
30970 * sysdeps/generic/malloc-sysdep.h: New file. Define
30971 new function check_may_shrink_heap.
30972 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30973 new function check_may_shrink_heap.
30975 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30977 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30980 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30982 * catgets/test-gencat.sh: Add "set -e".
30983 * elf/tst-pathopt.sh: Likewise.
30984 * grp/tst_fgetgrent.sh: Likewise.
30985 * iconvdata/run-iconv-test.sh: Likewise.
30986 * intl/tst-gettext.sh: Likewise.
30987 * intl/tst-gettext2.sh: Likewise.
30988 * intl/tst-gettext4.sh: Likewise.
30989 * intl/tst-gettext6.sh: Likewise.
30990 * intl/tst-translit.sh: Likewise.
30991 * io/ftwtest-sh: Likewise.
30992 * libio/test-freopen.sh: Likewise.
30993 * malloc/tst-mtrace.sh: Likewise.
30994 * posix/globtest.sh: Likewise.
30995 * posix/tst-getconf.sh: Likewise.
30996 * posix/wordexp-tst.sh: Likewise.
30997 * stdio-common/tst-printf.sh: Likewise.
30998 * stdio-common/tst-unbputc.sh: Likewise.
30999 * stdlib/tst-fmtmsg.sh: Likewise.
31000 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31001 * catgets/Makefile: Do not specify -e option when running
31002 testsuite shell scripts.
31003 * elf/Makefile: Likewise.
31004 * grp/Makefile: Likewise.
31005 * iconvdata/Makefile: Likewise.
31006 * intl/Makefile: Likewise.
31007 * io/Makefile: Likewise.
31008 * libio/Makefile: Likewise.
31009 * malloc/Makefile: Likewise.
31010 * posix/Makefile: Likewise.
31011 * stdio-common/Makefile: Likewise.
31012 * stdlib/Makefile: Likewise.
31013 * sysdeps/x86_64/Makefile: Likewise.
31015 * io/ftwtest-sh: Add copyright header.
31016 * posix/globtest.sh: Likewise.
31017 * posix/tst-getconf.sh: Likewise.
31018 * posix/wordexp-tst.sh: Likewise.
31019 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31021 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31024 * Makeconfig (+link): Defined as $(+link-static) if
31025 $(build-shared) isn't yes.
31026 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31028 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31030 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31033 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31034 new chunk size with MALLOC_ALIGN_MASK.
31036 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31039 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31041 (__printf_fphex): Determine rounding using get_rounding_mode and
31043 * stdio-common/tst-printf-round.c (struct hex_test): New
31045 (hex_tests): New variable.
31046 (test_hex_in_one_mode): New function.
31047 (do_test): Also run tests for hex float output.
31049 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31051 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31052 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31053 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31054 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31055 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31056 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31057 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31058 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31060 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31062 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31063 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31064 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31065 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31067 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31070 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31072 * elf/tst-rtld-load-self.sh: New test.
31073 * elf/Makefile: Run it.
31075 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31077 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31078 (tst-writev-ENV): Remove.
31079 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31081 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31083 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31085 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31087 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31089 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31091 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31092 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31093 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31096 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31099 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31100 * config.make.in (have-cpp-asm-debuginfo): Removed.
31101 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31102 * configure: Regenerated.
31104 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31107 * stdio-common/printf_fp.c: Include <stdbool.h> and
31109 (___printf_fp): Determine rounding using get_rounding_mode and
31111 * stdio-common/tst-printf-round.c: New file.
31112 * stdio-common/Makefile (tests): Add tst-printf-round.
31113 (link-libm): New variable.
31114 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31116 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31119 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31120 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31122 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31125 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31127 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31128 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31129 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31132 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31135 * include/rounding-mode.h: New file.
31136 * sysdeps/generic/get-rounding-mode.h: Likewise.
31137 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31138 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31139 (MAX_VALUE): New macro.
31140 (MIN_VALUE): Likewise.
31141 (overflow_value): New function.
31142 (underflow_value): Likewise.
31143 (round_and_return): Use overflow_value and underflow_value to
31144 determine return values in overflow and underflow cases. Use
31145 round_away to determine rounding depending on rounding mode.
31146 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31147 determine return values in overflow and underflow cases.
31148 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31149 (struct test_results): New structure.
31150 (struct test): Use struct test_results to store expected results
31151 for all rounding modes.
31152 (TEST): Include expected results for all rounding modes.
31153 (test_in_one_mode): New function.
31154 (do_test): Use test_in_one_mode to compute and check results.
31155 Check results for all rounding modes.
31156 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31159 2012-12-09 Allan McRae <allan@archlinux.org>
31161 * sysdeps/i386/fpu/libm-test-ulps: Update
31163 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31165 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31166 (_G_int32_t): Likewise.
31167 (_G_uint16_t): Likewise.
31168 (_G_uint32_t): Likewise.
31169 (_G_HAVE_BOOL): Likewise.
31170 (_G_HAVE_ATEXIT): Likewise.
31171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31172 (_G_HAVE_IO_FILE_OPEN): Likewise.
31173 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31174 (_G_int32_t): Likewise.
31175 (_G_uint16_t): Likewise.
31176 (_G_uint32_t): Likewise.
31177 (_G_HAVE_BOOL): Likewise.
31178 (_G_HAVE_ATEXIT): Likewise.
31179 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31180 (_G_HAVE_IO_FILE_OPEN): Likewise.
31181 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31182 (_G_int32_t): Likewise.
31183 (_G_uint16_t): Likewise.
31184 (_G_uint32_t): Likewise.
31185 (_G_HAVE_BOOL): Likewise.
31186 (_G_HAVE_ATEXIT): Likewise.
31187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31188 (_G_HAVE_IO_FILE_OPEN): Likewise.
31190 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31192 * csu/libc-tls.c: Update copyright years.
31194 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31196 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31197 [!_G_USING_THUNKS]: Remove conditional code.
31198 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31199 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31201 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31202 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31203 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31204 (_G_VTABLE_LABEL_PREFIX): Likewise.
31205 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31206 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31207 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31208 (_G_VTABLE_LABEL_PREFIX): Likewise.
31209 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31210 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31211 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31212 (_G_VTABLE_LABEL_PREFIX): Likewise.
31213 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31215 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31217 * libio/Makefile: Include ../Makeconfig before tests.
31218 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31219 only if $(build-shared) is yes.
31221 * iconv/gconv_db.c: Update copyright years.
31223 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31225 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31226 unwind info if defined PIC. Fix special cases description.
31227 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31229 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31231 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31233 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31235 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31237 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31240 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31241 (LDLIBS-tst-chk4): This.
31242 (LDFLAGS-tst-chk5): Renamed to ...
31243 (LDLIBS-tst-chk5): This.
31244 (LDFLAGS-tst-chk6): Renamed to ...
31245 (LDLIBS-tst-chk6): This.
31246 (LDFLAGS-tst-lfschk4): Renamed to ...
31247 (LDLIBS-tst-lfschk4): This.
31248 (LDFLAGS-tst-lfschk5): Renamed to ...
31249 (LDLIBS-tst-lfschk5): This.
31250 (LDFLAGS-tst-lfschk6): Renamed to ...
31251 (LDLIBS-tst-lfschk6): This.
31253 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31254 on $(common-objpfx)soversions.mk.
31256 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31259 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31262 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31264 * malloc/arena.c (arena_get_retry): New function that gets
31265 another arena for the caller to try its request on.
31266 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31267 current arena cannot fulfill the request.
31268 (__libc_memalign): Likewise.
31269 (__libc_memalign): Likewise.
31270 (__libc_pvalloc): Likewise.
31271 (__libc_calloc): Likewise.
31273 2012-09-05 John Tobey <john.tobey@gmail.com>
31276 * manual/arith.texi (Operations on Complex): Fix description
31277 of carg branch cut.
31279 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31282 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31286 * manual/memory.texi (Memory): Make order of menu items match
31289 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31291 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31292 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31293 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31295 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31297 * csu/libc-tls.c (static_dtv): Renamed to ...
31298 (_dl_static_dtv): This. Make it global.
31299 (_dl_initial_dtv): Removed.
31300 (__libc_setup_tls): Updated.
31301 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31302 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31305 2012-09-06 Petr Machata <pmachata@redhat.com>
31307 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31308 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31309 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31310 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31312 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31315 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31316 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31319 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31322 * Makeconfig (link-static-before-libc): Replace $(+prector)
31324 (link-static-after-libc): Replace $(+postctor) with
31326 (link-bounded): Replace $(+prector)/$(+postctor) with
31327 $(+prectorT)/$(+postctorT).
31328 (+prectorT): New macro.
31329 (+postctorT): Likewise.
31331 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31333 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31334 (round_str): Handle values above the maximum for IBM long double
31336 * stdlib/tst-strtod-round.c (tests): Regenerated.
31338 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31340 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31342 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31343 zarch_nohighgprs around the zarch optimized routines.
31344 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31345 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31346 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31349 2012-09-05 David S. Miller <davem@davemloft.net>
31351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31353 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31354 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31355 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31356 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31359 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31361 * malloc/arena.c: Fold copyright years.
31362 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31364 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31366 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31368 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31370 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31372 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31374 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31375 change internal state upon failure.
31377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31379 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31380 * malloc/memusage.c (mmap): Likewise.
31381 (mmap64, mremap): Likewise. Adjust name in comment.
31383 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31385 * libio/fileops.c: Fix typos in comments.
31386 * libio/oldfileops.c: Likewise.
31387 * libio/wfileops.c: Likewise.
31389 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31392 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31393 (tst-malloc-usable-ENV): Set environment for test case.
31394 * malloc/hooks.c (malloc_check_get_size): New function to get
31396 * malloc/malloc.c (musable): Use malloc_check_get_size.
31397 * malloc/tst-malloc-usable.c: New test case.
31399 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31401 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31403 2012-09-05 Allan McRae <allan@archlinux.org>
31406 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31407 determine header location.
31408 * configure: Regenerated.
31410 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31412 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31414 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31415 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31417 (test): Regenerate.
31419 2012-09-04 David S. Miller <davem@davemloft.net>
31421 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31422 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31423 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31425 2012-09-04 Florian Weimer <fweimer@redhat.com>
31427 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31430 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31432 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31435 * libio/iogetdelim.c: Include <limits.h>.
31436 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31437 + len + 1 would overflow.
31439 2012-09-03 Andreas Jaeger <aj@suse.de>
31441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31442 * sysdeps/i386/fpu/libm-test-ulps: Update.
31444 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31446 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31447 Add s_sinf-sse2, s_conf-sse2.
31449 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31450 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31451 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31452 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31454 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31455 for using routine as __sinf_ia32.
31456 Use macro for function declaration and weak_alias.
31457 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31458 for using routine as __cosf_ia32.
31459 Use macro for function declaration and weak_alias.
31461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31462 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31464 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31465 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31468 * math/libm-test.inc (cos_test): Add more test cases.
31469 (sin_test): Likewise.
31470 (sincos_test): Likewise.
31472 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31474 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31475 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31479 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31482 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31483 first element of the GOT.
31484 (elf_machine_load_address): Return the difference between
31485 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31487 2012-09-01 Allan McRae <allan@archlinux.org>
31490 * configure.in (AWK): Require gawk version 3.0 or later.
31491 * configure: Regenerated.
31493 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31495 * sysdeps/unix/sysv/linux/kernel-features.h
31496 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31498 [__NR_clock_getres]: Make code unconditional.
31499 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31500 (clock_getcpuclockid): Remove code left unreachable by removal of
31502 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31503 code unconditional.
31504 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31505 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31506 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31507 Make code unconditional.
31508 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31510 * sysdeps/unix/sysv/linux/clock_settime.c
31511 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31513 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31516 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31519 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31520 scripts/test-installation.pl.
31522 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31523 and $ld_so_version if it is set.
31525 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31528 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31529 failure if reading from procfs failed.
31530 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31532 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31534 * sysdeps/unix/sysv/linux/kernel-features.h
31535 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31536 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31537 Remove conditional code.
31538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31539 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31540 Remove conditional code.
31541 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31542 * sysdeps/unix/sysv/linux/i386/fxstat.c
31543 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31545 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31546 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31548 * sysdeps/unix/sysv/linux/i386/lxstat.c
31549 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31551 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31552 Remove conditional code.
31553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31554 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31555 Remove conditional code.
31556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31557 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31558 <kernel-features.h>.
31559 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31561 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31562 Remove conditional code.
31563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31564 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31565 Remove conditional.
31567 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31570 * NEWS: Add fixed bug number.
31572 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31575 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31576 underflowing exponent in case of negative sign.
31577 * stdlib/tst-strtod-round-data: Add more tests.
31578 * stdlib/tst-strtod-round.c (tests): Regenerated.
31581 * stdlib/strtod_l.c (NDIG): Remove.
31582 (HEXNDIG): Likewise.
31583 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31584 smallest representable value.
31585 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31586 lie within an exact representation of 1/2 ulp of the result.
31587 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31589 (TENS_P9_IDX): Define unconditionally.
31590 (TENS_P9_SIZE): Likewise.
31591 (TENS_P10_IDX): Likewise.
31592 (TENS_P10_SIZE): Likewise.
31593 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31594 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31595 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31596 entries for 10^2^13 and 10^2^14.
31597 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31598 (TENS_P13_IDX): Define.
31599 (TENS_P13_SIZE): Likewise.
31600 (TENS_P14_IDX): Likewise.
31601 (TENS_P14_SIZE): Likewise.
31602 (_fpioconst_pow10): Change array size to
31603 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31605 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31606 1024]: Add entries for 10^2^13 and 10^2^14.
31607 [LAST_POW10 > _LAST_POW10]: Remove #error.
31608 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31609 (_fpioconst_pow10): Change array size to
31610 FPIOCONST_POW10_ARRAY_SIZE.
31611 * stdlib/gen-fpioconst.c: New file.
31612 * stdlib/gen-tst-strtod-round.c: Likewise.
31613 * stdlib/tst-strtod-round-data: Likewise.
31614 * stdlib/tst-strtod-round.c: Likewise.
31615 * stdlib/Makefile (tests): Add tst-strtod-round.
31618 * stdlib/strtod_l.c: Include <stdint.h>.
31619 (NDEBUG): Do not define.
31620 (round_and_return): Change EXPONENT parameter to type intmax_t.
31621 Rearrange calculations to avoid internal overflow possibilities.
31622 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31623 Rearrange calculations to avoid internal overflow possibilities.
31624 Assert that number fits inside MPNSIZE limbs.
31625 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31626 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31627 calculations and add assertions to avoid internal overflow
31628 possibilities. Add casts to avoid signed/unsigned operations.
31629 * stdlib/tst-strtod-overflow.c: New file.
31630 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31632 2012-08-25 Marek Polacek <polacek@redhat.com>
31634 * time/time.h: Fix some typos in comments.
31636 2012-08-23 Roland McGrath <roland@hack.frob.com>
31638 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31639 * posix/tst-rfc3484-2.c: Likewise.
31640 * posix/tst-rfc3484-3.c: Likewise.
31642 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31644 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31645 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31647 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31649 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31650 #include of fxstatat64.c.
31652 2012-08-22 Roland McGrath <roland@hack.frob.com>
31654 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31655 * shadow/getspent_r.c: Likewise.
31656 * shadow/getspnam.c: Likewise.
31657 * shadow/getspnam_r.c: Likewise.
31658 * gshadow/getsgent.c: Likewise.
31659 * gshadow/getsgent_r.c: Likewise.
31660 * gshadow/getsgnam.c: Likewise.
31661 * gshadow/getsgnam_r.c: Likewise.
31662 * inet/getnetbyad.c: Likewise.
31663 * inet/getnetbyad_r.c: Likewise.
31664 * inet/getnetbynm.c: Likewise.
31665 * inet/getnetbynm_r.c: Likewise.
31666 * inet/getnetent.c: Likewise.
31667 * inet/getnetent_r.c: Likewise.
31668 * inet/getproto.c: Likewise.
31669 * inet/getproto_r.c: Likewise.
31670 * inet/getprtent.c: Likewise.
31671 * inet/getprtent_r.c: Likewise.
31672 * inet/getprtname.c: Likewise.
31673 * inet/getprtname_r.c: Likewise.
31674 * inet/getrpcbyname.c: Likewise.
31675 * inet/getrpcbyname_r.c: Likewise.
31676 * inet/getrpcbynumber.c: Likewise.
31677 * inet/getrpcbynumber_r.c: Likewise.
31678 * inet/getrpcent.c: Likewise.
31679 * inet/getrpcent_r.c: Likewise.
31680 * inet/getaliasent.c: Likewise.
31681 * inet/getaliasent_r.c: Likewise.
31682 * inet/getaliasname.c: Likewise.
31683 * inet/getaliasname_r.c: Likewise.
31684 * nscd/getgrgid_r.c: Likewise.
31685 * nscd/getgrnam_r.c: Likewise.
31686 * nscd/gethstbyad_r.c: Likewise.
31687 * nscd/gethstbynm3_r.c: Likewise.
31688 * nscd/getpwnam_r.c: Likewise.
31689 * nscd/getpwuid_r.c: Likewise.
31690 * nscd/getsrvbynm_r.c: Likewise.
31691 * nscd/getsrvbypt_r.c: Likewise.
31692 * nscd/gai.c: Likewise.
31694 * configure.in (build_nscd): New substituted variable, set
31695 by --disable-build-nscd and defaults to $use_nscd.
31696 * configure: Regenerated.
31697 * config.make.in (build-nscd): New substituted variable.
31698 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31699 Change conditional to require [$(build-nscd) = yes] as well.
31700 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31703 * configure.in (use_nscd): New substituted variable, set by
31704 --disable-nscd. If enabled, define USE_NSCD.
31705 * configure: Regenerated.
31706 * config.h.in: Add USE_NSCD.
31707 * config.make.in (use-nscd): New substituted variable.
31708 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31709 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31710 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31711 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31712 (CFLAGS-getgrnam_r.c): Likewise.
31713 (CFLAGS-initgroups.c): Likewise.
31714 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31715 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31717 * inet/getnetgrent_r.c
31718 (nscd_setnetgrent): New function, broken out of ...
31719 (setnetgrent): ... here. Call it.
31720 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31721 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31722 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31723 * nscd/Makefile (routines, aux): Move definitions after include of
31724 Makeconfig. Conditionalize on [$(use-nscd) != no].
31725 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31726 Conditionalize on [USE_NSCD].
31727 (is_nscd, nscd_init_cb): Likewise.
31728 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31729 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31730 * nss/nss_db/db-init.c: Likewise.
31731 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31733 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31734 (make_request): Use it.
31735 (cache_valid_p): New function.
31736 (__check_pf): Use it.
31737 * NEWS: Add item for --disable-nscd.
31739 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31741 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31742 to support sed >= 4.2.1-20-ga9bf076.
31743 * configure: Regenerated.
31745 2012-08-22 Roland McGrath <roland@hack.frob.com>
31747 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31748 Conditionalize whole body on [IREL].
31750 2012-08-22 Jeff Law <law@redhat.com>
31753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31754 if the family is PF_UNSPEC.
31756 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31758 * Makerules (lib-version): Rename from V.
31759 (install-lib-nosubdir): Change V to lib-version.
31761 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31764 * powerpc32/power6/wcschr.c: New file.
31765 * powerpc32/power6/wcscpy.c: New file.
31766 * powerpc32/power6/wcsrchr.c: New file.
31767 * powerpc64/power6/wcschr.c: New file.
31768 * powerpc64/power6/wcscpy.c: New file.
31769 * powerpc64/power6/wcsrchr.c: New file.
31771 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31773 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31774 (two_way_short_needle): Use it.
31775 * string/strstr.c (AVAILABLE1_USES_J): Define.
31776 * string/strcasestr.c: Likewise.
31778 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31780 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31783 * NEWS: Add an entry.
31784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31785 define their defaults.
31786 (two_way_short_needle): Detect end-of-string on-the-fly.
31787 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31788 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31789 * string/bug-strcasestr1.c: New test.
31790 * string/Makefile: Run it.
31792 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31795 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31796 the first character.
31798 2012-08-21 Roland McGrath <roland@hack.frob.com>
31800 * csu/elf-init.c (__libc_csu_irel): Function removed.
31801 * csu/libc-start.c (apply_irel): New function.
31802 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31804 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31806 * sysdeps/unix/sysv/linux/kernel-features.h
31807 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31808 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31809 <kernel-features.h>.
31810 [__NR_fadvise64_64]: Make code unconditional.
31811 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31812 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31813 !__NR_fadvise64_64)]: Likewise.
31814 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31815 !__NR_fadvise64_64))]: Likewise.
31816 [__NR_fadvise64]: Make code unconditional.
31817 [!__NR_fadvise64]: Remove conditional code.
31818 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31819 <kernel-features.h>.
31820 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31822 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31825 not include <kernel-features.h>.
31826 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31828 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31830 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31831 include <kernel-features.h>.
31832 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31834 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31837 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31839 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31840 slight instruction rearrangements per scrollpipe analysis.
31841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31843 2012-08-20 Roland McGrath <roland@hack.frob.com>
31845 * manual/syslog.texi (syslog; vsyslog, closelog):
31846 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31847 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31849 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31850 DSOCAPS to match condition on defining it.
31852 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31854 * sysdeps/unix/sysv/linux/kernel-features.h
31855 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31857 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31858 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31860 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31861 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31863 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31864 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31866 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31867 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31869 * sysdeps/unix/sysv/linux/kernel-features.h
31870 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31871 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31873 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31874 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31875 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31876 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31877 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31878 Make code unconditional.
31879 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31880 (__mmap64) [!__NR_mmap2]: Likewise.
31881 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31882 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31883 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31885 [__NR_mmap2]: Make code unconditional.
31886 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31887 (__mmap64) [!__NR_mmap2]: Likewise.
31889 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31891 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31893 2012-08-18 Andreas Jaeger <aj@suse.de>
31895 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31897 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31899 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31900 * include/unistd.h (__have_sock_cloexec): Likewise.
31901 (__have_pipe2): Likewise.
31902 (__have_dup3): Likewise.
31904 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31907 * include/unistd.h (__have_pipe2): Change define into an extern int.
31908 (__have_dup3): Likewise.
31909 * socket/have_sock_cloexec.c: Include fcntl.h.
31910 (__have_pipe2): New variable.
31911 (__have_dup3): Likewise.
31913 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31915 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31917 2012-08-17 Marek Polacek <polacek@redhat.com>
31919 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31920 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31922 2012-08-17 Roland McGrath <roland@hack.frob.com>
31924 * configure.in: Add AC_SUBST for sysheaders.
31925 * configure: Regenerated.
31926 * config.make.in (sysheaders): New substituted variable.
31928 * sysdeps/unix/mkfifo.c: Moved ...
31929 * sysdeps/posix/mkfifo.c: ... here.
31930 * sysdeps/unix/mkfifoat.c: Moved ...
31931 * sysdeps/posix/mkfifoat.c: ... here.
31933 * sysdeps/unix/utime.c: Moved ...
31934 * sysdeps/posix/utime.c: ... here.
31936 * sysdeps/unix/time.c: Moved ...
31937 * sysdeps/posix/time.c: ... here.
31938 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31939 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31941 * sysdeps/unix/nice.c: Moved ...
31942 * sysdeps/posix/nice.c: ... here.
31944 * sysdeps/unix/alarm.c: Moved ...
31945 * sysdeps/posix/alarm.c: ... here.
31947 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31949 2012-08-17 Jeff Law <law@redhat.com>
31951 * intl/Makefile (codeset_mo): New variable.
31952 ($(codeset_mo)): New target.
31953 (tst-codeset.out): Depend on that. Remove explicit rule.
31954 (tst-gettext3.out, tst-gettext5.out): Likewise.
31955 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31956 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31957 * intl/tst-codeset.sh: Remove.
31958 * intl/tst-gettext3.sh: Likewise.
31959 * intl/tst-gettext5.sh: Likewise.
31961 2012-08-17 Roland McGrath <roland@hack.frob.com>
31963 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31964 * sysdeps/unix/syscalls.list: ... here.
31966 * sysdeps/posix/getaddrinfo.c
31967 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31968 (gaiconf_init, gaiconf_reload): Use them.
31969 [!_STATBUF_ST_NSEC]
31970 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31971 Define using time_t rather than struct timespec.
31973 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31974 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31976 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31978 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31979 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31982 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31983 __libc_cleanup_push argument.
31985 * bits/param.h: New file.
31986 * misc/sys/param.h: New file.
31987 * include/sys/param.h: New file.
31988 * misc/Makefile (headers): Add bits/param.h.
31989 * sysdeps/generic/sys/param.h: File removed.
31990 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31991 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31992 * sysdeps/mach/hurd/bits/param.h: New file.
31993 * sysdeps/mach/hurd/sys/param.h: File removed.
31995 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31998 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32000 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32001 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32004 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32005 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32006 rather than -D_IO_MTSAFE_IO conditionally.
32007 * stdio-common/Makefile (CPPFLAGS): Likewise.
32008 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32009 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32010 Use $(libio-mtsafe).
32011 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32012 of -D_IO_MTSAFE_IO.
32013 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32014 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32015 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32016 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32017 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32018 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32019 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32020 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32021 (CFLAGS-fread_u_chk.c): Likewise.
32022 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32023 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32024 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32025 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32026 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32027 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32028 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32029 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32030 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32032 * libio/Makefile: Test [$(libc-reentrant) = yes]
32033 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32036 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32037 * sysdeps/pthread/configure: File removed.
32038 * sysdeps/pthread/Makeconfig: New file.
32039 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32040 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32042 2012-08-16 Gary Benson <gbenson@redhat.com>
32044 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32045 unmapping the first object in a namespace.
32047 2012-08-16 Roland McGrath <roland@hack.frob.com>
32049 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32050 (__internal_setnetgrent): ... this. Add internal_function to
32051 definition. Add libc_hidden_def.
32052 (setnetgrent): Update caller.
32053 (internal_endnetgrent): Renamed to ...
32054 (__internal_endnetgrent): ... this. Add internal_function to
32055 definition. Add libc_hidden_def.
32056 (endnetgrent): Update caller.
32057 (internal_getnetgrent_r): Renamed to ...
32058 (__internal_getnetgrent_r): ... this. Add internal_function to
32059 definition. Add libc_hidden_def.
32060 (__getnetgrent_r): Update caller.
32061 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32063 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32065 * stdlib/longlong.h: Update from GCC.
32067 2012-08-16 Roland McGrath <roland@hack.frob.com>
32069 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32070 on _QL, which is set by umul_ppmm but never used.
32071 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32072 variables, which are set by GMP macros but never used.
32073 * stdio-common/_itowa.c (_itowa): Likewise.
32074 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32075 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32077 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32079 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32080 struct La_sh_regs is not constant.
32081 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32082 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32083 and struct La_sparc64_regs are not constant.
32085 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32087 * sysdeps/unix/sysv/linux/kernel-features.h
32088 (__ASSUME_POSIX_TIMERS): Remove.
32089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32090 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32091 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32092 Make code unconditional.
32093 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32094 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32095 Make code unconditional.
32096 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32097 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32098 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32099 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32100 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32101 Make code unconditional.
32102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32103 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32104 (__libc_missing_posix_timers): Remove.
32106 2012-08-15 Roland McGrath <roland@hack.frob.com>
32108 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32109 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32111 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32113 * elf/dl-sym.c: Include <stdlib.h>.
32115 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32116 constants, which avoids warnings in 32-bit builds.
32118 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32119 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32121 * misc/lseek.c: File moved to ...
32122 * io/lseek.c: ... here.
32124 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32126 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32127 shifting LEN more than 31 bits at once.
32129 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32132 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32133 segmentation fault for a case of two empty input strings.
32134 * string/test-strncasecmp.c (check1): Renamed to...
32135 (bz12205): ...this.
32136 (bz14195): Add new testcase for two empty input strings and N > 0.
32137 (test_main): Call new testcase, adapt for renamed function.
32139 2012-08-15 Andreas Jaeger <aj@suse.de>
32142 * crypt/md5test2.c: New test, based on test supplied by Serge
32143 Belyshev <belyshev@depni.sinp.msu.ru>.
32144 * crypt/Makefile (xtests): Add md5test-giant..
32145 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32147 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32150 * crypt/md5.c (md5_process_block): Don't assume the buffer
32151 length is less than 2**32.
32152 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32153 length is less than 2**64.
32155 2012-08-15 Roland McGrath <roland@hack.frob.com>
32157 * string/str-two-way.h: Include <sys/param.h>.
32158 (MAX): Macro removed.
32160 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32161 Move #define and #undef of memmove to just before and after
32162 including <string.h>.
32164 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32165 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32166 and after including <string.h>. Move declarations of
32167 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32168 to before #include "string/memmove.c".
32170 * include/dirent.h: Declare __getdirentries.
32172 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32173 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32175 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32177 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32178 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32179 * sysdeps/i386/configure: Regenerated.
32180 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32181 STABS_CURRENT_FILE, and STABS_FUN.
32182 (END): Remove call to STABS_FUN_END.
32183 (STABS_CURRENT_FILE1): Delete.
32184 (STABS_CURRENT_FILE): Likewise.
32185 (STABS_FUN): Likewise.
32186 (STABS_FUN_END): Likewise.
32187 (STABS_FUN2): Likewise.
32188 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32189 * sysdeps/x86_64/configure: Regenerated.
32191 2012-08-14 Roland McGrath <roland@hack.frob.com>
32193 * elf/dl-open.c: Include <atomic.h>.
32194 * elf/dl-lookup.c: Likewise.
32196 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32198 * sysdeps/unix/sysv/linux/kernel-features.h
32199 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32200 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32202 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32204 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32205 condition on __ASSUME_CLONE_THREAD_FLAGS.
32207 2012-08-14 Andreas Jaeger <aj@suse.de>
32209 * sysdeps/i386/fpu/libm-test-ulps: Update.
32211 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32213 * include/atomic.h (atomic_exchange_and_add): Split into ...
32214 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32217 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32221 2012-08-13 Jeff Law <law@redhat.com>
32223 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32224 null byte in the output string.
32226 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32228 * sysdeps/unix/sysv/linux/kernel-features.h
32229 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32230 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32231 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32232 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32233 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32234 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32235 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32237 2012-08-09 Jeff Law <law@redhat.com>
32240 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32241 When avoid_arena is set, don't retry in the that arena. Pick the
32242 next one, whatever it might be.
32243 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32244 (arena_lock): Pass in new parameter to arena_get2.
32245 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32247 (__libc_malloc): Unify retrying after main arena failure with
32248 __libc_memalign version.
32249 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32251 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32254 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32255 to __redirect_strstr.
32256 (__strstr_sse42): Use typeof __redirect_strstr.
32257 (__strstr_ia32): Likewise.
32258 (__libc_strstr): New prototype.
32259 (strstr): Renamed to ...
32260 (__libc_strstr): This.
32261 (strstr): New strong alias of __libc_strstr.
32262 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32263 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32266 (__libc_time): New prototype.
32267 (time_ifunc): Replace time with __libc_time.
32268 (time): New strong alias and hidden definition of __libc_time.
32269 (__GI_time): Remove strong alias.
32270 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32271 Include <stddef.h>.
32272 (memmove): Redefined to __redirect_memmove.
32273 (__memmove_sse2): Use typeof __redirect_memmove.
32274 (__memmove_ssse3): Likewise.
32275 (__memmove_ssse3_back): Likewise.
32276 (__libc_memmove): New prototype.
32277 (memmove): Renamed to ...
32278 (__libc_memmove): This.
32279 (memmove): New strong alias of __libc_memmove.
32281 2012-08-08 Mark Salter <msalter@redhat.com>
32284 (R_MN10300_TLS_GD): Define.
32285 (R_MN10300_TLS_LD): Likewise.
32286 (R_MN10300_TLS_LDO): Likewise.
32287 (R_MN10300_TLS_GOTIE): Likewise.
32288 (R_MN10300_TLS_IE): Likewise.
32289 (R_MN10300_TLS_LE): Likewise.
32290 (R_MN10300_TLS_DTPMOD): Likewise.
32291 (R_MN10300_TLS_DTPOFF): Likewise.
32292 (R_MN10300_TLS_TPOFF): Likewise.
32293 (R_MN10300_SYM_DIFF): Likewise.
32294 (R_MN10300_ALIGN): Likewise.
32295 (R_MN10300_NUM): Update.
32297 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32299 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32302 2012-08-08 Roland McGrath <roland@hack.frob.com>
32304 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32306 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32307 sysdeps/unix -> sysdeps/posix move.
32308 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32310 2012-08-07 Allan McRae <allan@archlinux.org>
32313 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32314 (SUNOS_CPP): Likewise.
32315 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32317 (open_input): Call CPP using execvp.
32319 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32321 * sysdeps/unix/sysv/linux/kernel-features.h
32322 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32323 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32324 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32325 (__ASSUME_WAITID_SYSCALL): Likewise.
32326 * sysdeps/unix/sysv/linux/dl-execstack.c
32327 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32328 code unconditional.
32329 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32331 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32332 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32333 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32335 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32337 [__ASSUME_WAITID_SYSCALL]: Likewise.
32338 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32340 2012-08-07 Roland McGrath <roland@hack.frob.com>
32342 * sysdeps/unix/closedir.c: Renamed to ...
32343 * sysdeps/posix/closedir.c: ... here.
32344 * sysdeps/unix/dirfd.c: Renamed to ...
32345 * sysdeps/posix/dirfd.c: ... here.
32346 * sysdeps/unix/dirstream.h: Renamed to ...
32347 * sysdeps/posix/dirstream.h: ... here.
32348 * sysdeps/unix/fdopendir.c: Renamed to ...
32349 * sysdeps/posix/fdopendir.c: ... here.
32350 * sysdeps/unix/opendir.c: Renamed to ...
32351 * sysdeps/posix/opendir.c: ... here.
32352 * sysdeps/unix/readdir.c: Renamed to ...
32353 * sysdeps/posix/readdir.c: ... here.
32354 * sysdeps/unix/readdir_r.c: Renamed to ...
32355 * sysdeps/posix/readdir_r.c: ... here.
32356 * sysdeps/unix/rewinddir.c: Renamed to ...
32357 * sysdeps/posix/rewinddir.c: ... here.
32358 * sysdeps/unix/seekdir.c: Renamed to ...
32359 * sysdeps/posix/seekdir.c: ... here.
32360 * sysdeps/unix/telldir.c: Renamed to ...
32361 * sysdeps/posix/telldir.c: ... here.
32362 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32363 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32364 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32365 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32367 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32368 * bits/fcntl.h: ... here.
32370 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32372 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32373 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32374 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32375 (struct flock): Move l_start, l_len to the beginning.
32376 Use __pid_t for l_pid.
32377 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32378 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32379 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32380 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32381 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32382 [__USE_LARGEFILE64] (struct flock64): New type.
32383 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32385 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32386 * bits/dirent.h: ... here.
32388 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32389 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32391 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32394 Change from 2.6.0 to 2.6.16.
32395 * sysdeps/unix/sysv/linux/configure: Regenerated.
32396 * sysdeps/unix/sysv/linux/kernel-features.h
32397 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32398 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32400 (__ASSUME_UTIMES): Likewise.
32401 (__ASSUME_CLONE_STOPPED): Remove.
32402 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32403 architectures, not kernel version.
32404 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32405 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32406 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32407 (__ASSUME_WAITID_SYSCALL): Likewise.
32408 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32409 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32410 * README: State 2.6.16 as minimum Linux kernel version. Do not
32411 refer to older versions.
32413 2012-08-06 Roland McGrath <roland@hack.frob.com>
32415 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32416 Define alphasort64 as an alias.
32417 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32418 Define versionsort64 as an alias.
32419 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32420 Define scandir64 as an alias.
32421 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32422 Define scandirat64 as an alias.
32423 * dirent/alphasort64.c (alphasort64):
32424 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32425 * dirent/versionsort64.c: Likewise.
32426 * dirent/scandir64.c: Likewise.
32427 * dirent/scandirat64.c: Likewise.
32428 * sysdeps/wordsize-64/alphasort.c: File removed.
32429 * sysdeps/wordsize-64/alphasort64.c: File removed.
32430 * sysdeps/wordsize-64/scandir.c: File removed.
32431 * sysdeps/wordsize-64/scandir64.c: File removed.
32432 * sysdeps/wordsize-64/scandirat.c: File removed.
32433 * sysdeps/wordsize-64/scandirat64.c: File removed.
32434 * sysdeps/wordsize-64/versionsort.c: File removed.
32435 * sysdeps/wordsize-64/versionsort64.c: File removed.
32436 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32437 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32439 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32441 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32442 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32443 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32445 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32447 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32449 [defined __arch64__ || defined __sparcv9]
32450 (__INO_T_MATCHES_INO64_T): New macro.
32451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32452 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32453 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32454 * sysdeps/unix/sysv/linux/bits/dirent.h
32455 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32456 (_DIRENT_MATCHES_DIRENT64): New macro.
32458 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32459 Define lockf64 as an alias.
32460 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32461 Define fseeko64 as an alias.
32462 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32463 Define ftello64 as an alias.
32464 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32465 Define _IO_fgetpos64 and fgetpos64 as aliases.
32466 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32467 Define _IO_fsetpos64 and fsetpos64 as aliases.
32468 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32469 Conditionalize body on this.
32470 * libio/fseeko64.c: Likewise.
32471 * libio/ftello64.c: Likewise.
32472 * libio/iofgetpos64.c: Likewise.
32473 * libio/iofsetpos64.c: Likewise.
32474 * sysdeps/wordsize-64/lockf.c: File removed.
32475 * sysdeps/wordsize-64/lockf64.c: File removed.
32476 * sysdeps/wordsize-64/fseeko.c: File removed.
32477 * sysdeps/wordsize-64/fseeko64.c: File removed.
32478 * sysdeps/wordsize-64/ftello.c: File removed.
32479 * sysdeps/wordsize-64/ftello64.c: File removed.
32480 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32481 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32482 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32483 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32485 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32486 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32488 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32489 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32490 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32492 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32493 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32495 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32497 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32499 [defined __arch64__ || defined __sparcv9]
32500 (__OFF_T_MATCHES_OFF64_T): New macro.
32501 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32502 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32504 (__OFF_T_MATCHES_OFF64_T): New macro.
32506 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32508 * stdlib/secure-getenv.c (__secure_getenv): Replace
32509 GLIBC_2_16 with GLIBC_2_17.
32511 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32513 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32514 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32516 2012-08-03 David S. Miller <davem@davemloft.net>
32518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32520 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32524 (__ASSUME_CORRECT_SI_PID): Likewise.
32525 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32526 (__ASSUME_TMPFS_NAME): Likewise.
32527 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32528 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32529 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32530 (HAVE_AUX_SECURE): Make definition unconditional.
32531 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32532 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32534 2012-08-03 Roland McGrath <roland@hack.frob.com>
32536 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32537 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32538 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32539 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32540 __eloop_threshold instead of SYMLOOP_MAX.
32542 * sysdeps/generic/eloop-threshold.h: New file.
32543 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32545 * elf/chroot_canon.c (chroot_canon): Likewise.
32547 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32551 Change to 2.6.0 everywhere.
32552 * sysdeps/unix/sysv/linux/configure: Regenerated.
32553 * sysdeps/unix/sysv/linux/kernel-features.h
32554 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32555 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32557 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32558 (__ASSUME_FUTEX_REQUEUE): Remove.
32559 (__ASSUME_STATFS64): Define unconditionally.
32560 (__ASSUME_AT_SECURE): Likewise.
32561 (__ASSUME_CORRECT_SI_PID): Likewise.
32562 (__ASSUME_TGKILL): Define without depending on kernel version for
32564 (__ASSUME_UTIMES): Likewise.
32565 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32567 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32568 (__ASSUME_TMPFS_NAME): Likewise.
32569 * README: Update reference to Linux kernel versions.
32571 2012-08-02 Marek Polacek <polacek@redhat.com>
32574 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32575 libc_cv_asm_type_prefix with %.
32576 * configure: Regenerated.
32577 * include/libc-symbols.h: Remove comment about
32578 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32579 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32580 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32581 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32582 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32583 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32584 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32585 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32586 * elf/tst-unique2mod1.c: Likewise.
32587 * elf/tst-unique1mod2.c: Likewise.
32588 * elf/tst-unique1mod1.c: Likewise.
32589 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32590 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32591 Replace ASM_TYPE_DIRECTIVE with .type.
32592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32593 * sysdeps/i386/sysdep.h: Likewise.
32594 * sysdeps/x86_64/sysdep.h: Likewise.
32595 * sysdeps/sh/sysdep.h: Likewise.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32597 Do not define ASM_TYPE_DIRECTIVE.
32598 * sysdeps/powerpc/sysdep.h: Likewise.
32599 * sysdeps/powerpc/powerpc32/sysdep.h:
32600 Replace ASM_TYPE_DIRECTIVE with .type.
32601 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32602 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32603 * sysdeps/i386/fpu/e_powf.S: Likewise.
32604 * sysdeps/i386/fpu/e_expl.S: Likewise.
32605 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32606 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32607 * sysdeps/i386/fpu/e_pow.S: Likewise.
32608 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32609 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32610 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32611 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32612 * sysdeps/i386/fpu/e_log2.S: Likewise.
32613 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32614 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32615 * sysdeps/i386/fpu/e_powl.S: Likewise.
32616 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32617 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32618 * sysdeps/i386/fpu/e_logl.S: Likewise.
32619 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32620 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32621 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32623 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32624 * sysdeps/i386/fpu/e_log.S: Likewise.
32625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32626 * sysdeps/i386/fpu/e_logf.S: Likewise.
32627 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32628 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32629 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32630 * sysdeps/i386/fpu/e_log10.S: Likewise.
32631 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32632 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32633 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32634 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32635 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32637 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32638 * sysdeps/i386/i686/strtok.S: Likewise.
32639 * sysdeps/i386/i386-mcount.S: Likewise.
32640 * sysdeps/i386/strtok.S: Likewise.
32641 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32642 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32644 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32645 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32647 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32648 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32649 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32650 * sysdeps/x86_64/_mcount.S: Likewise.
32651 * sysdeps/x86_64/strtok.S: Likewise.
32652 * sysdeps/sh/_mcount.S: Likewise.
32654 2012-08-01 Roland McGrath <roland@hack.frob.com>
32656 * libio/iofopen.c: Include <fcntl.h>.
32657 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32658 (_IO_fopen64, fopen64): Define as aliases.
32659 * libio/iofopen64.c: Include <fcntl.h>.
32660 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32661 Conditionalize body on this.
32662 * sysdeps/wordsize-64/iofopen.c: File removed.
32663 * sysdeps/wordsize-64/iofopen64.c: File removed.
32665 2012-08-01 Marek Polacek <polacek@redhat.com>
32667 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32668 Use dlfcn directly instead of a variable.
32669 (binfmt-subdir): Do not define.
32672 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32675 Remove all definitions.
32676 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32677 <kernel-features.h>.
32678 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32679 (miss_F_GETOWN_EX): Remove all definitions.
32680 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32682 [!__ASSUME_FCNTL64]: Remove conditional code.
32683 [__ASSUME_FCNTL64]: Make code unconditional.
32684 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32685 <kernel-features.h>.
32686 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32687 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32688 (lockf64) [__NR_fcntl64]: Make code unconditional.
32689 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32691 * sysdeps/unix/sysv/linux/kernel-features.h
32692 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32693 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32694 Make code unconditional.
32695 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32696 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32698 [__NR_vfork]: Make code unconditional.
32699 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32700 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32702 [__NR_vfork]: Make code unconditional.
32703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32706 2012-08-01 Roland McGrath <roland@hack.frob.com>
32708 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32709 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32711 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32712 Define mkstemp64 as an alias.
32713 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32714 Define mkstemps64 as an alias.
32715 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32716 Define mkostemp64 as an alias.
32717 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32718 Define mkostemps64 as an alias.
32719 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32720 Conditionalize body on this.
32721 * misc/mkostemp64.c: Likewise.
32722 * misc/mkostemps64.c: Likewise.
32723 * misc/mkstemps64.c: Likewise.
32724 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32725 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32726 * sysdeps/wordsize-64/mkostemp.c: File removed.
32727 * sysdeps/wordsize-64/mkstemp.c: File removed.
32728 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32734 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32735 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32736 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32737 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32739 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32740 compat_symbol macros from <shlib-compat.h> rather than the underlying
32741 default_symbol_version and symbol_version macros, so that DEFAULT
32742 lines in shlib-versions are respected.
32743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32745 2012-08-01 Florian Weimer <fweimer@redhat.com>
32747 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32748 Declare with warn_unused_result.
32749 (setgid, setregid, setegid, setresgid): Likewise.
32750 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32752 * WUR-REPORT: Remove set*id functions.
32754 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32756 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32758 2012-07-31 Roland McGrath <roland@hack.frob.com>
32761 * include/sys/socket.h (__libc_accept, __libc_accept4):
32762 Add attribute_hidden.
32763 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32765 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32767 * inet/getnetgrent_r.c (setup): Likewise.
32769 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32771 2012-07-31 David S. Miller <davem@davemloft.net>
32773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32775 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32778 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32779 value between 1.0 and 2.0 and smaller part has absolute value less
32781 * math/s_clog10.c (__clog10): Likewise.
32782 * math/s_clog10f.c (__clog10f): Likewise.
32783 * math/s_clog10l.c (__clog10l): Likewise.
32784 * math/s_clogf.c (__clogf): Likewise.
32785 * math/s_clogl.c (__clogl): Likewise.
32786 * math/libm-test.inc (clog_test): Add more tests.
32787 (clog10_test): Likewise.
32788 * sysdeps/i386/fpu/libm-test-ulps: Update.
32789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32791 2012-07-31 Florian Weimer <fweimer@redhat.com>
32793 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32794 Exit with zero in case no suitable GID is found, and write a
32795 message to standard error.
32797 2012-07-30 Roland McGrath <roland@hack.frob.com>
32799 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32801 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32802 (MAXPATHLEN): Removed.
32803 (NOGROUP, NODEV): New macros.
32804 (setbit, clrbit, isset, isclr): New macros.
32805 (howmany, roundup, powerof2): New macros.
32806 (DEV_BSIZE): New macro.
32808 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32809 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32811 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32812 definition on [!__NO_LONG_DOUBLE_MATH].
32814 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32815 PTR_MANGLE and PTR_DEMANGLE.
32817 * socket/accept4.c (accept4): Rename to __libc_accept4.
32818 Define accept4 as a weak alias.
32820 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32821 on [_DIRENT_HAVE_D_TYPE].
32822 * io/ftw.c (ftw_dir): Likewise.
32824 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32826 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32828 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32829 Use the BSD numbers rather than the arbitrary ones we had.
32830 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32831 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32832 (SIGXCPU, SIGXFSZ): New macros.
32835 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32836 initializer on [_LIBC_REENTRANT].
32838 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32839 definitions inside [_POSIX_MAPPED_FILES].
32841 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32843 * dirent/opendir.c: Include <fcntl.h>.
32845 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32846 (__libc_getspecific): Likewise.
32847 (__libc_key_create): Likewise.
32849 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32850 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32851 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32852 (tmpfile64): Define as alias.
32853 * sysdeps/wordsize-64/tmpfile.c: File removed.
32854 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32855 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32856 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32858 * stdio-common/vfscanf.c: Include <stdbool.h>.
32859 * nss/makedb.c: Likewise.
32860 * stdio-common/_i18n_number.h: Likewise.
32861 * argp/argp-help.c: Likewise.
32862 * posix/wordexp.c: Likewise.
32863 * sysdeps/posix/spawni.c: Likewise.
32864 * nss/nss_files/files-initgroups.c: Likewise.
32865 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32866 * nss/nss_files/files-initgroups.c: Likewise.
32867 * nss/nss_db/db-netgrp.c: Likewise.
32868 * nss/nss_db/db-initgroups.c: Likewise.
32869 * io/fchmodat.c: Include <sys/stat.h>.
32871 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32872 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32874 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32877 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32878 Add multiple inclusion protection.
32880 2012-07-27 David S. Miller <davem@davemloft.net>
32882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32884 2012-07-27 Gary Benson <gbenson@redhat.com>
32887 * elf/rtld.c: Include <stap-probe.h>.
32888 (dl_main): Added static probes "init_start" and "init_complete".
32889 * elf/dl-load.c: Include <stap-probe.h>.
32890 (lose): Take new parameter "nsid".
32891 Added static probe "map_failed".
32892 (_dl_map_object_from_fd): Pass namespace id to lose.
32893 Added static probe "map_start".
32894 (open_verify): Pass namespace id to lose.
32895 * elf/dl-open.c: Include <stap-probe.h>.
32896 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32897 and "reloc_complete".
32898 * elf/dl-close.c: Include <stap-probe.h>.
32899 (_dl_close_worker): Added static probes "unmap_start" and
32901 * elf/rtld-debugger-interface.txt: New file documenting the above.
32903 2012-07-26 Roland McGrath <roland@hack.frob.com>
32905 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32906 rather than a string variable.
32907 * sunrpc/rpc_main.c (h_output): Likewise.
32908 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32910 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32912 * inet/check_native.c: New file.
32914 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32917 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32918 if larger part has absolute value 1.0.
32919 * math/s_clog10.c (__clog10): Likewise.
32920 * math/s_clog10f.c (__clog10f): Likewise.
32921 * math/s_clog10l.c (__clog10l): Likewise.
32922 * math/s_clogf.c (__clogf): Likewise.
32923 * math/s_clogl.c (__clogl): Likewise.
32924 * math/libm-test.inc (clog_test): Add more tests.
32925 (clog10_test): Likewise.
32926 * sysdeps/i386/fpu/libm-test-ulps: Update.
32927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32929 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32930 (pltexit): Likewise.
32931 (La_regs): Likewise.
32932 (La_retval): Likewise.
32933 (int_retval): Likewise.
32934 Update #error for removed macros to refer only to definitions in
32936 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32938 (pltexit): Likewise.
32939 (La_regs): Likewise.
32940 (La_retval): Likewise.
32941 (int_retval): Likewise.
32942 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32944 (pltexit): Likewise.
32945 (La_regs): Likewise.
32946 (La_retval): Likewise.
32947 (int_retval): Likewise.
32948 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32950 (pltexit): Likewise.
32951 (La_regs): Likewise.
32952 (La_retval): Likewise.
32953 (int_retval): Likewise.
32954 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32956 (pltexit): Likewise.
32957 (La_regs): Likewise.
32958 (La_retval): Likewise.
32959 (int_retval): Likewise.
32960 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32962 (pltexit): Likewise.
32963 (La_regs): Likewise.
32964 (La_retval): Likewise.
32965 (int_retval): Likewise.
32966 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32968 (pltexit): Likewise.
32969 (La_regs): Likewise.
32970 (La_retval): Likewise.
32971 (int_retval): Likewise.
32972 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32973 macro definitions in tst-audit.h.
32974 * sysdeps/i386/tst-audit.h: New file.
32975 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32976 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32977 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32978 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32979 * sysdeps/sh/tst-audit.h: Likewise.
32980 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32981 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32982 * sysdeps/x86_64/tst-audit.h: Likewise.
32984 2012-07-26 Andreas Jaeger <aj@suse.de>
32986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32989 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32990 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32991 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32993 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32994 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32995 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32997 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33000 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33002 (si_call_addr, si_syscall, si_arch): Define new macro.
33003 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33005 (si_call_addr, si_syscall, si_arch): Define new marcro.
33006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33008 (si_call_addr, si_syscall, si_arch): Define new macro.
33009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33011 (si_call_addr, si_syscall, si_arch): Define new macro.
33013 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33016 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33017 Change to 2.4.21 where previously 2.4.1.
33018 * sysdeps/unix/sysv/linux/configure: Regenerated.
33019 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33020 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33021 Linux kernel version.
33022 (__ASSUME_STD_AUXV): Remove.
33023 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33025 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33026 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33027 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33028 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33029 (__ASSUME_NETLINK_SUPPORT): Likewise.
33030 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33031 (__no_netlink_support): Remove conditional definition.
33032 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33034 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33035 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33036 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33037 (if_nameindex_ioctl): Remove.
33038 (if_nameindex_netlink): Do not handle __no_netlink_support.
33039 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33041 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33042 Remove conditional code.
33043 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33045 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33047 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33048 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33049 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33051 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33052 [!__ASSUME_STD_AUXV]: Remove conditional code.
33053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33054 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33055 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33057 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33058 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33060 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33062 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33063 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33065 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33067 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33070 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33073 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33074 code unconditional.
33075 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33077 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33079 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33082 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33084 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33087 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33088 code unconditional.
33089 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33091 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33093 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33096 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33097 code unconditional.
33098 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33100 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33102 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33105 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33107 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33108 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33109 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33110 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33111 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33112 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33113 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33114 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33115 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33116 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33117 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33118 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33119 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33120 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33121 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33122 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33123 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33131 2012-07-25 Florian Weimer <fweimer@redhat.com>
33133 * Versions.def: Add GLIBC_2.17.
33134 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33135 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33136 Introduce __libc_secure_getenv.
33137 * stdlib/Versions (2.17): Add secure_getenv
33138 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33139 * stdlib/secure-getenv.c: Rename __secure_getenv to
33140 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33141 symbol __secure_getenv for GLIBC_2.0.
33142 * stdlib/tst-secure-getenv.c: New.
33143 * stdlib/Makefile (tests): Add testcase.
33144 * manual/startup.texi (Environment Access): Document
33146 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33147 __libc_secure_getenv.
33148 * inet/ruserpass.c (ruserpass): Likewise.
33149 * malloc/mtrace.c (mtrace): Likewise.
33150 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33151 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33152 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33153 * sysdeps/posix/tempname.c: Likewise. Evaluate
33154 HAVE_SECURE_GETENV.
33155 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33156 __secure_getenv to __libc_secure_getenv.
33157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33170 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33172 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33173 (struct La_i86_retval): Likewise.
33174 (struct La_x86_64_regs): Likewise.
33175 (struct La_x86_64_retval): Likewise.
33176 (struct La_x32_regs): Likewise.
33177 (struct La_x32_retval): Likewise.
33178 (struct La_ppc32_regs): Likewise.
33179 (struct La_ppc32_retval): Likewise.
33180 (struct La_ppc64_regs): Likewise.
33181 (struct La_ppc64_retval): Likewise.
33182 (struct La_sh_regs): Likewise.
33183 (struct La_sh_retval): Likewise.
33184 (struct La_s390_32_regs): Likewise.
33185 (struct La_s390_32_retval): Likewise.
33186 (struct La_s390_64_regs): Likewise.
33187 (struct La_s390_64_retval): Likewise.
33188 (struct La_sparc32_regs): Likewise.
33189 (struct La_sparc32_retval): Likewise.
33190 (struct La_sparc64_regs): Likewise.
33191 (struct La_sparc64_retval): Likewise.
33192 (struct audit_ifaces): Remove architecture-specific pltenter and
33194 * sysdeps/i386/ldsodefs.h: New file.
33195 * sysdeps/powerpc/ldsodefs.h: Likewise.
33196 * sysdeps/s390/ldsodefs.h: Likewise.
33197 * sysdeps/sh/ldsodefs.h: Likewise.
33198 * sysdeps/sparc/ldsodefs.h: Likewise.
33199 * sysdeps/x86_64/ldsodefs.h: Likewise.
33201 2012-07-25 Marek Polacek <polacek@redhat.com>
33204 * math/libm-test.inc (yn_test): Add another test.
33205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33206 to ERANGE when the result is +-Inf.
33207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33208 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33210 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33212 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33214 * conform/data/time.h-data (NULL): Use macro-constant. Require
33216 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33218 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33220 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33222 * configure.in <sysdeps resolving>: Correct printing
33224 * configure: Regenerate.
33226 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33228 * math/w_ilogb.c: Include <limits.h>.
33229 * math/w_ilogbl.c: Likewise.
33231 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33233 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33234 va_copy. Document allowing for unavailable va_copy only as
33235 pre-C99 compatibility.
33236 * manual/string.texi (Copying and Concatenation): Use va_copy
33237 instead of __va_copy in concat example.
33239 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33241 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33242 (__sendto): Use create_address_port. Initialize APORT and deallocate
33245 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33246 with O_NOLINK passed to __file_name_lookup.
33248 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33249 with O_NOLINK passed to __file_name_lookup.
33251 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33252 negative N or less than NGIDS.
33254 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33255 type to string_t. Set ERANGE as errno and return it if NAME is not big
33256 enough. Use memcpy instead of strncpy.
33258 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33260 * elf/Makefile (check-data): Remove.
33261 (localplt.data): New vpath directive.
33262 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33263 instead of $(check-data).
33264 * scripts/data/localplt-generic.data: Move to ...
33265 * sysdeps/generic/localplt.data: ... here.
33266 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33267 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33268 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33271 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33274 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33277 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33280 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33283 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33287 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33289 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33290 PPC32 and PPC64 files.
33291 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33292 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33294 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33296 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33297 __makecontext_ret to ...
33298 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33299 ... here and call exit if uc_link is NULL. New file.
33300 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33301 __makecontext_ret.S.
33302 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33303 __makecontext_ret to ...
33304 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33305 ... here and call exit if uc_link is NULL. New file.
33306 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33307 __makecontext_ret.S.
33309 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33311 * elf/elf.h (R_390_IRELATIVE): New definition.
33312 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33313 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33314 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33316 (elf_machine_lazy_rel): Likewise.
33317 * sysdeps/s390/dl-irel.h: New file.
33318 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33319 * sysdeps/s390/s390-64/memset.S: New asm code.
33320 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33321 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33322 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33323 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33324 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33325 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33327 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33328 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33329 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33330 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33331 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33332 * sysdeps/s390/s390-32/memset.S: New asm code.
33333 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33335 2012-07-17 Marek Polacek <polacek@redhat.com>
33338 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33339 * sysdeps/s390/s390-64/configure.in: Likewise.
33340 * sysdeps/sparc/configure.in: Likewise.
33341 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33342 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33343 * sysdeps/i386/configure.in: Likewise.
33344 * sysdeps/x86_64/configure.in: Likewise.
33345 * sysdeps/sh/configure.in: Likewise.
33346 * sysdeps/s390/s390-32/configure: Regenerated.
33347 * sysdeps/s390/s390-64/configure: Likewise.
33348 * sysdeps/x86_64/configure: Likewise.
33349 * sysdeps/sh/configure: Likewise.
33350 * sysdeps/powerpc/powerpc64/configure: Likewise.
33351 * sysdeps/powerpc/powerpc32/configure: Likewise.
33352 * sysdeps/sparc/configure: Likwise.
33353 * sysdeps/i386/configure: Likewise.
33355 * elf/dl-open.c: Comment fixes.
33357 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33359 * Makefile [CXX] (check-data): Remove.
33360 [CXX] (c++-types.data): New vpath directive.
33361 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33362 vpath. Do not allow for C++ type data being missing.
33363 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33364 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33365 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33366 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33367 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33368 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33369 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33372 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33375 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33378 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33381 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33384 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33387 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33390 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33393 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33394 definitions to architecture-specific files.
33395 (TLS_IE): Likewise.
33396 (TLS_LD): Likewise.
33397 (TLS_GD): Likewise.
33398 * sysdeps/i386/tls-macros.h: New file.
33399 * sysdeps/powerpc/tls-macros.h: Likewise.
33400 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33401 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33402 * sysdeps/sh/tls-macros.h: Likewise.
33403 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33404 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33405 * sysdeps/x86_64/tls-macros.h: Likewise.
33407 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33409 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33410 zero value for regular exit case.
33412 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33413 (__start_context): Preserve zero value for regular exit case.
33415 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33416 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33418 * manual/setjmp.texi (setcontext): Clarify normal process
33419 termination when uc_link is the null pointer.
33420 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33423 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33425 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33426 preprocessor. Test for each exception mask separately.
33428 2012-07-16 Andreas Jaeger <aj@suse.de>
33430 * po/ru.po: Update from translation team.
33432 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33434 * conform/data/string.h-data (NULL): Use macro-constant. Require
33436 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33437 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33438 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33439 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33442 2012-07-13 Andreas Jaeger <aj@suse.de>
33444 * po/fr.po: Update from translation team.
33446 2012-07-12 Marek Polacek <polacek@redhat.com>
33449 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33453 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33457 Change to 2.4.1 where previously 2.4.0.
33458 * sysdeps/unix/sysv/linux/configure: Regenerated.
33459 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33460 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33462 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33463 (__ASSUME_AT_CLKTCK): Remove.
33464 (__ASSUME_AT_PAGESIZE): Likewise.
33465 (__ASSUME_AT_XID): Likewise.
33466 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33467 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33468 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33470 (HAVE_AUX_PAGESIZE): Likewise.
33471 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33472 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33473 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33475 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33479 the temporary buffer used to invoke __gethostbyname2_r,
33480 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33481 host_data / struct gaih_addrtuple.
33482 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33483 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33484 header file nss/nsswitch.h.
33485 * nss/nsswitch.h (global scope): Add definition of implementation
33486 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33487 resolv/nss_dns/dns-host.c).
33489 2012-07-11 Andreas Jaeger <aj@suse.de>
33491 * po/fr.po: Update from translation team.
33493 * po/sv.po: Update from translation team
33494 * po/fr.po: Another update from translation team.
33496 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33499 for subnormals or multiply small sinh result by itself.
33500 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33503 2012-07-11 David S. Miller <davem@davemloft.net>
33505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33507 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33510 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33511 (INTERNAL_MARK): Shift it here.
33513 2012-07-10 Marek Polacek <polacek@redhat.com>
33516 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33517 libc_cv_asm_global_directive with .globl.
33518 * configure: Regenerated.
33519 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33521 * sysdeps/i386/configure: Regenerated.
33522 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33524 * sysdeps/x86_64/configure: Regenerated.
33525 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33526 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33527 * elf/tst-unique2mod2.c: Likewise.
33528 * elf/tst-unique2mod1.c: Likewise.
33529 * elf/tst-unique1mod2.c: Likewise.
33530 * elf/tst-unique1mod1.c: Likewise.
33531 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33532 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33533 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33534 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33535 * sysdeps/mach/sysdep.h: Likewise.
33536 * sysdeps/i386/sysdep.h: Likewise.
33537 * sysdeps/i386/i386-mcount.S: Likewise.
33538 * sysdeps/x86_64/_mcount.S: Likewise.
33539 * sysdeps/x86_64/sysdep.h: Likewise.
33540 * sysdeps/sh/_mcount.S: Likewise.
33541 * sysdeps/sh/sysdep.h: Likewise.
33542 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33543 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33544 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33545 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33546 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33547 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33548 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33549 * locale/localeinfo.h: Likewise.
33550 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33551 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33553 2012-07-09 Roland McGrath <roland@hack.frob.com>
33556 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33558 * manual/message.texi (The Uniforum approach): Likewise.
33559 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33560 (glibc iconv Implementation): Likewise.
33562 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33565 * math/s_clog.c (__clog): Avoid scaling a value down where that
33566 could result in underflow.
33567 * math/s_clog10.c (__clog10): Likewise.
33568 * math/s_clog10f.c (__clog10f): Likewise.
33569 * math/s_clog10l.c (__clog10l): Likewise.
33570 * math/s_clogf.c (__clogf): Likewise.
33571 * math/s_clogl.c (__clogl): Likewise.
33572 * math/libm-test.inc (clog_test): Add more tests.
33573 (clog10_test): Likewise.
33574 * sysdeps/i386/fpu/libm-test-ulps: Update.
33575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33577 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33580 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33581 by 7 not 8 to examine high bit of fractional part.
33584 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33585 for call to __mcount_internal.
33586 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33587 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33588 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33590 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33593 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33594 approximation for values within 0x1p-13f of an odd multiple of
33596 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33597 exception. Add more tests.
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33601 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33602 inputs and return -1 for them. Do not check for +Inf in case not
33603 reachable for +Inf.
33604 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33605 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33607 and return -1 for them. Do not check for +Inf in case not
33608 reachable for +Inf.
33609 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33612 and return -1 for them. Do not check for +Inf in case not
33613 reachable for +Inf.
33614 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33615 spurious underflow.
33616 * sysdeps/i386/fpu/libm-test-ulps: Update.
33617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33619 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33621 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33623 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33627 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33628 could result in spurious underflow. Scale down values above
33629 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33630 * math/s_csqrtf.c (__csqrtf): Likewise.
33631 * math/s_csqrtl.c (__csqrtl): Likewise.
33632 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33633 spurious underflow.
33634 * sysdeps/i386/fpu/libm-test-ulps: Update.
33635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33637 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33639 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33641 * catgets/xopen-msg.awk: New file.
33642 * catgets/xopen-msg.sed: Removed.
33644 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33646 * intl/po2test.awk: New file.
33647 * intl/po2test.sed: Removed.
33649 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33652 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33653 or multiply small sinh result by itself.
33654 * math/s_ctanf.c (__ctanf): Likewise.
33655 * math/s_ctanh.c (__ctanh): Likewise.
33656 * math/s_ctanhf.c (__ctanhf): Likewise.
33657 * math/s_ctanhl.c (__ctanhl): Likewise.
33658 * math/s_ctanl.c (__ctanl): Likewise.
33659 * math/libm-test.inc (ctan_test_tonearest): New function.
33660 (ctan_test_towardzero): Likewise.
33661 (ctan_test_downward): Likewise.
33662 (ctan_test_upward): Likewise.
33663 (ctanh_test_tonearest): Likewise.
33664 (ctanh_test_towardzero): Likewise.
33665 (ctanh_test_downward): Likewise.
33666 (ctanh_test_upward): Likewise.
33667 (main): Call these new functions.
33668 * sysdeps/i386/fpu/libm-test-ulps: Update.
33669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33671 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33673 * .gitignore: Delete /ports entry.
33675 2012-07-03 Andreas Jaeger <aj@suse.de>
33677 * po/bg.po: Update from translation team.
33678 * po/cs.po: Likewise.
33679 * po/de.po: Likewise.
33680 * po/hr.po: Likewise.
33681 * po/nl.pl: Likewise.
33682 * po/pl.po: Likewise.
33683 * po/vi.po: Likewise.
33685 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33687 * Makeconfig [!+link] (+link-before-libc): New variable.
33688 [!+link] (+link-after-libc): Likewise.
33689 [!+link] (+link-tests): Likewise.
33690 [!+link] (+link): Define in terms of $(+link-before-libc) and
33691 $(+link-after-libc).
33692 [!+link-static] (+link-static-before-libc): New variable.
33693 [!+link-static] (+link-static-after-libc): Likewise.
33694 [!+link-static] (+link-static-tests): Likewise.
33695 [!+link-static] (+link-static): Define in terms of
33696 $(+link-static-before-libc) and $(+link-static-after-libc).
33697 [build-shared] (link-libc-before-gnulib): New variable.
33698 [build-shared] (link-libc-tests): Likewise.
33699 [build-shared] (link-libc): Define in terms of
33700 $(link-libc-before-gnulib).
33701 [!build-shared] (link-libc-tests): New variable.
33702 (link-libc-static-tests): New variable.
33703 [!gnulib] (gnulib-arch): New variable.
33704 [!gnulib] (gnulib-tests): Likewise.
33705 [!gnulib] (static-gnulib-arch): Likewise.
33706 [!gnulib] (static-gnulib-tests): Likewise.
33707 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33708 Define with "=" instead of ":=".
33709 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33710 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33711 * Rules (binaries-all-notests): New variable.
33712 (binaries-all-tests): Likewise.
33713 (binaries-static-notests): Likewise.
33714 (binaries-static-tests): Likewise.
33715 (binaries-all): Define using $(binaries-all-notests) and
33716 $(binaries-all-tests).
33717 (binaries-static): Define using $(binaries-static-notests) and
33718 $(binaries-static-tests).
33719 (binaries-shared-tests): New variable.
33720 (binaries-shared-notests): Likewise.
33721 (binaries-shared): Remove variable.
33722 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33723 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33724 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33725 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33726 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33727 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33728 * elf/Makefile (sln-modules): New variable.
33729 (extra-objs): Add $(sln-modules:=.o).
33730 (ldconfig-modules): Add static-stubs.
33731 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33732 * elf/static-stubs.c: New file.
33735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33736 by 7 not 8 to examine high bit of fractional part. Use volatile
33737 variables when splitting into final array of floats if
33738 __FLT_EVAL_METHOD__ != 0.
33739 * math/libm-test.inc (cos_test): Add another test.
33740 (sin_test): Likewise.
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33744 * math/libm-test.inc (cosh_test): Add more tests.
33746 * version.h (RELEASE): Set to "development".
33747 (VERSION): Set to "2.16.90".
33749 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33751 * NEWS: Update copyright. Remove last-updated date.
33752 Mention math library bug fixes and timezone data changes.
33753 * README: Mention GNU/Hurd, x32, and HPPA support status.
33755 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33757 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33759 2012-06-27 Andreas Jaeger <aj@suse.de>
33761 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33763 2012-06-25 Andreas Jaeger <aj@suse.de>
33765 * sysdeps/s390/fpu/libm-test-ulps: Update.
33767 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33768 Thomas Schwinge <thomas@codesourcery.com>
33770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33771 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33775 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33777 * sysdeps/mach/start.c: Remove file.
33778 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33779 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33780 * sysdeps/sh/init-first.c: Likewise.
33782 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33783 registers for frame unwinding purposes, add CFI directives.
33784 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33786 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33789 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33790 __fortify_fail returning.
33791 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33793 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33794 sysdeps/sh/____longjmp_chk.S.
33795 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33796 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33797 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33798 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33800 * sysdeps/sh/abort-instr.h: New file.
33801 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33802 process in case exit returns.
33804 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33805 initialize the GOT register before use.
33807 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33808 calculation of ARGC > 4.
33810 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33811 meaningful names to some local labels.
33813 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33814 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33817 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33818 (__arch_compare_and_exchange_val_16_acq): Likewise.
33819 (__arch_compare_and_exchange_val_32_acq): Likewise.
33820 (atomic_exchange_and_add): Fix gUSA sequence.
33821 (atomic_add): Likewise.
33822 (atomic_add_negative): Likewise.
33823 (atomic_add_zero): Likewise.
33824 (atomic_bit_test_set): Likewise.
33826 2012-06-22 Andreas Schwab <schwab@redhat.com>
33829 * include/link.h (struct link_map): Add l_free_initfini.
33830 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33832 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33833 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33834 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33837 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33839 * configure.in: Use AC_LANG_SOURCE.
33840 * configure: Regenerate.
33842 2012-06-22 Roland McGrath <roland@hack.frob.com>
33844 * configure.in (libc_cv_localstatedir): New substituted variable.
33845 * configure: Regenerated.
33846 * config.make.in (localstatedir): New variable, substituted from
33847 libc_cv_localstatedir.
33848 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33849 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33850 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33851 * sysdeps/gnu/configure: Regenerated.
33853 2012-06-21 Jeff Law <law@redhat.com>
33856 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33857 free. Simplify list management for _LIBC case.
33859 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33863 Clear sign bit of 64-bit integer value before comparing against
33866 * sysdeps/mach/configure: Regenerated.
33868 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33871 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33873 2012-06-21 Jeff Law <law@redhat.com>
33876 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33877 uint16_t for elements in the "seen" array to avoid char overflows.
33878 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33879 * elf/dl-open.c (dl_open_worker): Likewise.
33881 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33883 * scripts/list-sources.sh: Scan PORTS for translations.
33884 * po/libc.pot: Regenerated.
33886 2012-06-21 Andreas Jaeger <aj@suse.de>
33889 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33891 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33892 * bits/byteswap-16.h (__bswap_16): Likewise.
33893 * bits/byteswap.h (__bswap_constant_16): Likewise.
33895 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33898 * sysdeps/i386/fpu_control.h: Removed.
33899 * sysdeps/x86_64/fpu_control.h: Moved to ...
33900 * sysdeps/x86/fpu_control.h: Here.
33902 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33903 (_FPU_SETCW): Likewise.
33905 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33908 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33909 * sysdeps/x86/fpu/bits/mathinline.h: This.
33910 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33914 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33915 functions if __x86_64__ is defined.
33917 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33919 * string/endian.h: Add !__ASSEMBLER__ condition for including
33920 conversion interfaces.
33922 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33926 of ABS(x) in calculating zero to negative powers other than odd
33928 * math/libm-test.inc (pow_test): Add more tests.
33930 2012-06-15 Andreas Jaeger <aj@suse.de>
33932 * manual/contrib.texi (Contributors): Update entry of Liubov
33933 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33936 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33938 * string/string.h: Add __wur to GNU version of strerror_r.
33940 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33943 * string/Makefile (tests): Add tst-strtok_r.
33944 * string/tst-strtok_r.c: New file.
33945 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33946 RAX_LP/RDX_LP on SAVE_PTR.
33948 2012-06-14 Roland McGrath <roland@hack.frob.com>
33950 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33952 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33954 * libm_test.inc (csqrt_test): Allow more spurious underflow
33956 (j0_test): Likewise.
33957 (j1_test): Likewise.
33958 (y0_test): Likewise.
33959 (y1_test): Likewise.
33961 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33963 * po/Makefile (libc.pot): Use UTF-8 charset.
33965 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33968 Suppress sign-conversion warning from FD_SET.
33969 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33970 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33971 not unsigned long int.
33972 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33974 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33978 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33979 __extern_always_inline instead of __extern_inline.
33980 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33981 (__signbit): Likewise.
33982 (__signbitl): Support C++ namespace.
33983 (lrintf): New inline function.
33985 (llrintf): Likewise.
33986 (llrint): Likewise.
33996 (floorf): Likewise.
33997 (nearbyint): Likewise.
33998 (nearbyintf): Likewise.
34000 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34002 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34003 non-default versions.
34005 2012-06-11 Roland McGrath <roland@hack.frob.com>
34008 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34010 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34012 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34013 (FE_UPWARD, FE_DOWNWARD): Don't define.
34014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34015 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34017 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34019 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34022 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34024 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34027 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34029 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34032 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34033 * sysdeps/i386/fpu/Implies: New file.
34034 * sysdeps/x86_64/fpu/Implies: Likewise.
34035 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34036 * sysdeps/x86/fpu/bits/fenv.h: This.
34038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34041 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34044 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34045 character 0xffff that matches the last element of the
34048 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34053 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34056 values higher than 25.6283.
34058 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34061 subnormal exponent extraction and add some __builtin_expect.
34062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34063 Fix for subnormal mantissa calculation.
34065 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34067 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34068 cpu2 is -1 and errno is not ENOSYS.
34070 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34073 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34074 * sysdeps/x86/bits/string.h: This.
34075 * sysdeps/x86_64/bits/string.h: Removed.
34077 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34078 if not compiling for x86-64, but compiling for >= i486.
34080 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34081 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34083 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34084 New macro from Linux kernel 3.4.0.
34085 (FP_XSTATE_MAGIC2): Likewise.
34086 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34087 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34088 (struct _fpx_sw_bytes): New struct.
34089 (struct _xsave_hdr): Likewise.
34090 (struct _ymmh_state): Likewise.
34091 (struct _xstate): Likewise.
34093 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34094 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34095 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34096 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34097 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34098 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34100 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34102 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34103 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34104 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34105 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34107 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34110 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34111 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34112 (sysdep_headers): Include sys/platform/ppc.h.
34113 * sysdeps/powerpc/test-gettimebase.c: Test for
34114 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34115 * manual/Makefile (appendices): Include platform.texi.
34116 * manual/contrib.texi (Contributors): Update @node pointers.
34117 * manual/maint.texi (Maintenance): Likewise.
34118 (Platform): New node.
34119 * manual/platform.texi: New file. Document the new features.
34121 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34122 Jakub Jelinek <jakub@redhat.com>
34125 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34126 where __builtin_expect is unavailable.
34128 2012-06-03 David S. Miller <davem@davemloft.net>
34130 * stdlib/longlong.h: Updated from GCC.
34132 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34135 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34136 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34139 (GLIBC_2.16): Likewise.
34141 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34143 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34145 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34148 (default-abi): New variable.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34150 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34152 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34154 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34159 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34160 definition. Document in comment.
34162 2012-06-01 David S. Miller <davem@davemloft.net>
34164 * stdlib/longlong.h: Updated from GCC.
34166 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34170 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34171 sys/debugreg.h sys/io.h here.
34172 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34173 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34175 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34176 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34178 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34180 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34183 Define only if __x86_64__ is defined.
34185 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34188 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34189 Use int64_t for variable i.
34190 * math/libm-test.inc (fmod_test): Add more tests.
34192 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34193 z computation is not scheduled after fetestexcept.
34194 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34195 Use math_force_eval instead of asm to ensure calculation scheduled
34196 before exception test.
34197 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34198 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34200 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34203 computation is not scheduled after fetestexcept.
34205 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34208 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34209 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34211 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34214 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34216 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34219 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34221 (__WCHAR_MIN): Support __WORDSIZE == 64.
34222 (__WCHAR_MAX): Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34229 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34232 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34235 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34236 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34238 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34239 Defined to 1 if __x86_64__ isn't defined.
34240 (_STAT_VER_LINUX_OLD): New.
34241 (st_atime): Remove duplicate.
34242 (st_mtime): Likewise.
34243 (st_ctime): Likewise.
34245 2012-05-31 David S. Miller <davem@davemloft.net>
34247 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34250 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34252 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34256 * elf/dl-reloc.c: Include <_itoa.h>.
34257 (_dl_reloc_bad_type): Remove use of INTUSE.
34258 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34259 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34260 * stdio-common/psiginfo.c (psiginfo): Likewise.
34261 * stdio-common/psignal.c (psignal): Likewise.
34262 * string/strsignal.c (strsignal): Likewise.
34263 * include/signal.h (_sys_siglist): Declare hidden proto.
34264 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34265 INTVARDEF with libc_hidden_data_def.
34266 * stdio-common/itoa-udigits.c: Likewise.
34267 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34268 (_itoa_lower_digits_internal): Remove declaration.
34269 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34270 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34271 (_sys_sigabbrev_internal): Remove aliases.
34272 (_sys_siglist): Define hidden alias.
34274 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34279 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34282 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34283 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34285 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34286 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34287 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34288 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34290 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34292 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34294 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34296 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34304 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34306 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34308 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34309 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34311 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34312 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34313 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34315 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34316 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34318 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34319 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34323 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34325 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34326 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34328 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34330 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34332 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34334 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34336 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34338 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34340 * math/math.h (M_El): Use two more decimal places.
34341 (M_LOG2El): Likewise.
34342 (M_LOG10El): Likewise.
34343 (M_LN2l): Likewise.
34344 (M_LN10l): Likewise.
34346 (M_PI_2l): Likewise.
34347 (M_PI_4l): Likewise.
34348 (M_1_PIl): Likewise.
34349 (M_2_PIl): Likewise.
34350 (M_2_SQRTPIl): Likewise.
34351 (M_SQRT2l): Likewise.
34352 (M_SQRT1_2l): Likewise.
34354 2012-05-31 David S. Miller <davem@davemloft.net>
34356 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34357 values between float registers.
34358 * sysdeps/sparc/sparc64/memset.S: Likewise.
34359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34361 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34363 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34364 -D_FORTIFY_SOURCE=1.
34365 (CPPFLAGS-tst-longjmp_chk.c): Define.
34366 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34367 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34368 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34369 CFLAGS-tst-wchar-h.c.
34371 2012-05-31 Marek Polacek <polacek@redhat.com>
34374 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34375 __endmntent_internal): Remove declaration.
34376 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34377 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34378 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34380 2012-05-30 David S. Miller <davem@davemloft.net>
34382 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34383 (___Q_simulate_exceptions): Use real FP ops rather than writing
34385 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34388 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34391 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34392 * sysdeps/x86/bits/xtitypes.h: This.
34394 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34395 * sysdeps/x86/bits/wordsize.h: This.
34397 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34398 * sysdeps/x86/bits/huge_vall.h: This.
34400 * sysdeps/i386/bits/select.h: Removed.
34401 * sysdeps/x86_64/bits/select.h: Renamed to ...
34402 * sysdeps/x86/bits/select.h: This.
34404 * sysdeps/i386/bits/setjmp.h: Removed.
34405 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34406 * sysdeps/x86/bits/setjmp.h: This.
34408 * sysdeps/i386/bits/mathdef.h: Removed.
34409 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34410 * sysdeps/x86/bits/mathdef.h: This.
34412 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34415 * include/sys/socket.h (__connect_internal)
34416 (__libc_sa_len_internal): Remove declaration.
34417 (__connect, __libc_sa_len): Declare hidden_proto.
34418 (SA_LEN): Remove use of INTUSE.
34419 * socket/connect.c: Add libc_hidden_def.
34420 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34421 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34422 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34424 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34426 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34427 of adding _internal alias.
34429 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/i386/bits/link.h: Removed.
34433 * sysdeps/i386/bits/linkmap.h: Likewise.
34434 * sysdeps/x86_64/bits/link.h: Renamed to ...
34435 * sysdeps/x86/bits/link.h: This.
34436 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34437 * sysdeps/x86/bits/linkmap.h: This.
34439 * sysdeps/i386/bits/endian.h: Removed.
34440 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34441 * sysdeps/x86/bits/endian.h: This.
34443 * sysdeps/i386/bits/byteswap.h: Removed.
34444 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34445 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34446 * sysdeps/x86/bits/byteswap.h: This.
34447 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34448 * sysdeps/x86/bits/byteswap-16.h: This.
34449 * sysdeps/i386/Implies: Add x86.
34450 * sysdeps/x86_64/Implies: Likewise.
34452 2012-05-30 David S. Miller <davem@davemloft.net>
34454 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34455 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34456 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34457 (FP_TRAPPING_EXCEPTIONS): Define.
34458 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34459 (FP_TRAPPING_EXCEPTIONS): Define.
34460 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34461 subnormals only when inexact has been signalled or underflow
34462 exceptions are enabled.
34463 (_FP_PACK_CANONICAL): Likewise.
34465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34468 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34469 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34471 2012-05-30 Richard Henderson <rth@twiddle.net>
34473 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34474 with #ifndef NOT_IN_libc.
34476 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34477 marked to avoid plt entry.
34479 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34482 * Makeconfig (default-abi): New macro.
34483 (abi-includes): Likewise.
34484 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34485 $(abi-$(default-abi)-lib-soname) for soname if defined.
34486 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34488 * Makefile (installed-stubs): Likewise.
34489 * include/stubs-biarch.h: Removed.
34490 * scripts/lib-names.awk: Only handle one library at a time.
34491 * scripts/soversions.awk: Remove WORDSIZE support.
34492 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34494 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34496 (syscall-list-default-condition): Likewise.
34497 (syscall-list-default-condition): Likewise.
34498 (syscall-list-includes): Likewise.
34499 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34500 syscall-list-* with abi-*. Handle undefined abi-variants.
34501 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34502 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34503 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34504 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34506 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34508 (syscall-list-32-options): Likewise.
34509 (syscall-list-32-condition): Likewise.
34510 (syscall-list-64-options): Likewise.
34511 (syscall-list-64-condition): Likewise.
34512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34514 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34517 (abi-64-ld-soname): New macro.
34518 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34519 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34522 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34523 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34525 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34527 * sysdeps/unix/sysv/linux/kernel-features.h
34528 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34529 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34530 include <kernel-features.h>.
34531 [!__NR_ftruncate64]: Remove conditional code.
34532 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34533 [__NR_ftruncate64]: Make code unconditional.
34534 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34535 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34536 include <kernel-features.h>.
34537 [!__NR_ftruncate64]: Remove conditional code.
34538 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34539 [__NR_ftruncate64]: Make code unconditional.
34540 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34542 include <kernel-features.h>.
34543 [!__NR_ftruncate64]: Remove conditional code.
34544 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34545 [__NR_ftruncate64]: Make code unconditional.
34546 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34548 include <kernel-features.h>.
34549 [!__NR_ftruncate64]: Remove conditional code.
34550 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34551 [__NR_ftruncate64]: Make code unconditional.
34552 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34554 * configure.in (libc_cv_fpie): Weaken to a compile test using
34555 LIBC_TRY_CC_OPTION.
34556 * configure: Regenerated.
34558 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34573 2012-05-27 David S. Miller <davem@davemloft.net>
34575 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34577 (__Q_simulate_exceptions): Return void. Change to simulate
34578 exceptions by writing into the %fsr.
34579 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34580 (__Qp_handle_exceptions): Likewise.
34582 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34583 __Qp_handle_exceptions.
34584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34585 __Qp_handle_exceptions.
34586 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34587 as unused and give dummy FP_RND_NEAREST initializer.
34588 (FP_INHIBIT_RESULTS): Define.
34589 (___Q_simulate_exceptions): Update declaration.
34590 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34593 as unused and give dummy FP_RND_NEAREST initializer.
34594 (__Qp_handle_exceptions): Update declaration.
34595 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34598 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34600 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34601 the temporary FPU control word.
34602 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34603 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34604 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34605 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34606 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34607 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34608 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34610 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34611 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34612 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34614 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34616 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34619 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34621 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34622 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34623 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34624 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34626 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34627 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34630 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34632 * po/h.po: Update from translation team.
34634 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34636 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34639 handling of denormals.
34640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34641 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34642 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34643 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34649 2012-05-26 Marek Polacek <polacek@redhat.com>
34652 * math/libm-test.inc (fma_test): Don't always expect underflow
34655 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34658 * elf/tst-execstack.c: Include stackinfo.h.
34659 (do_test): Adjust test case to ensure that pthread_getattr_np
34660 behaviour remains the same after marking stack executable.
34662 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34664 * sysdeps/unix/sysv/linux/kernel-features.h
34665 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34666 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34668 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34669 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34670 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34672 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34673 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34675 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34677 * configure.in: Define the default includes to being none.
34678 * configure: Regenerated.
34680 2012-05-25 Roland McGrath <roland@hack.frob.com>
34682 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34683 * sysdeps/x86_64/setjmp.S: Likewise.
34684 * sysdeps/i386/bsd-setjmp.S: Likewise.
34685 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34686 * sysdeps/i386/setjmp.S: Likewise.
34687 * sysdeps/i386/__longjmp.S: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34689 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34691 * include/stap-probe.h: New file.
34692 * configure.in: Handle --enable-systemtap.
34693 * configure: Regenerated.
34694 * config.h.in (USE_STAP_PROBE): New #undef.
34695 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34696 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34697 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34699 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34703 to 2.4.0 where earlier.
34704 * sysdeps/unix/sysv/linux/configure: Regenerated.
34705 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34706 <kernel-features.h>.
34707 [__ASSUME_32BITUIDS]: Make code unconditional.
34708 [!__ASSUME_32BITUIDS]: Remove conditional code.
34709 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34710 <kernel-features.h>.
34711 [__ASSUME_32BITUIDS]: Make code unconditional.
34712 [!__ASSUME_32BITUIDS]: Remove conditional code.
34713 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34714 [__ASSUME_32BITUIDS]: Make code unconditional.
34715 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34716 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34717 <kernel-features.h>.
34718 [__ASSUME_32BITUIDS]: Make code unconditional.
34719 [!__ASSUME_32BITUIDS]: Remove conditional code.
34720 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34721 <kernel-features.h>.
34722 [__ASSUME_32BITUIDS]: Make code unconditional.
34723 [!__ASSUME_32BITUIDS]: Remove conditional code.
34724 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34725 <kernel-features.h>.
34726 [__ASSUME_32BITUIDS]: Make code unconditional.
34727 [!__ASSUME_32BITUIDS]: Remove conditional code.
34728 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34729 <kernel-features.h>.
34730 [__ASSUME_32BITUIDS]: Make code unconditional.
34731 [!__ASSUME_32BITUIDS]: Remove conditional code.
34732 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34733 <kernel-features.h>.
34734 [__ASSUME_32BITUIDS]: Make code unconditional.
34735 [!__ASSUME_32BITUIDS]: Remove conditional code.
34736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34737 <kernel-features.h>.
34738 [__ASSUME_32BITUIDS]: Make code unconditional.
34739 [!__ASSUME_32BITUIDS]: Remove conditional code.
34740 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34741 <kernel-features.h>.
34742 [__ASSUME_32BITUIDS]: Make code unconditional.
34743 [!__ASSUME_32BITUIDS]: Remove conditional code.
34744 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34745 <kernel-features.h>.
34746 [__ASSUME_32BITUIDS]: Make code unconditional.
34747 [!__ASSUME_32BITUIDS]: Remove conditional code.
34748 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34749 <kernel-features.h>.
34750 [__ASSUME_32BITUIDS]: Make code unconditional.
34751 [!__ASSUME_32BITUIDS]: Remove conditional code.
34752 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34753 <kernel-features.h>.
34754 [__ASSUME_32BITUIDS]: Make code unconditional.
34755 [!__ASSUME_32BITUIDS]: Remove conditional code.
34756 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34757 <kernel-features.h>.
34758 [__NR_setresgid] (__setresgid): Do not declare.
34759 [__ASSUME_32BITUIDS]: Make code unconditional.
34760 [!__ASSUME_32BITUIDS]: Remove conditional code.
34761 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34762 <kernel-features.h>.
34763 [__NR_setresuid] (__setresuid): Do not declare.
34764 [__ASSUME_32BITUIDS]: Make code unconditional.
34765 [!__ASSUME_32BITUIDS]: Remove conditional code.
34766 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34767 <kernel-features.h>.
34768 [__ASSUME_32BITUIDS]: Make code unconditional.
34769 [!__ASSUME_32BITUIDS]: Remove conditional code.
34770 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34771 <kernel-features.h>.
34772 [__ASSUME_32BITUIDS]: Make code unconditional.
34773 [!__ASSUME_32BITUIDS]: Remove conditional code.
34774 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34775 <kernel-features.h>.
34776 [__ASSUME_32BITUIDS]: Make code unconditional.
34777 [!__ASSUME_32BITUIDS]: Remove conditional code.
34778 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34779 <kernel-features.h>.
34780 [__ASSUME_32BITUIDS]: Make code unconditional.
34781 [!__ASSUME_32BITUIDS]: Remove conditional code.
34782 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34783 <kernel-features.h>.
34784 [__ASSUME_32BITUIDS]: Make code unconditional.
34785 [!__ASSUME_32BITUIDS]: Remove conditional code.
34786 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.c: Do not include
34795 <kernel-features.h>.
34796 [__ASSUME_32BITUIDS]: Make code unconditional.
34797 [!__ASSUME_32BITUIDS]: Remove conditional code.
34798 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34799 <kernel-features.h>.
34800 [__ASSUME_32BITUIDS]: Make code unconditional.
34801 [!__ASSUME_32BITUIDS]: Remove conditional code.
34802 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34803 <kernel-features.h>.
34804 [__ASSUME_32BITUIDS]: Make code unconditional.
34805 [!__ASSUME_32BITUIDS]: Remove conditional code.
34806 * sysdeps/unix/sysv/linux/kernel-features.h
34807 (__ASSUME_SETRESUID_SYSCALL): Remove.
34808 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34809 (__ASSUME_32BITUIDS): Likewise.
34810 (__ASSUME_LDT_WORKS): Likewise.
34811 (__ASSUME_O_DIRECTORY): Likewise.
34812 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34813 architecture but not kernel version.
34814 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34815 (__ASSUME_MMAP2_SYSCALL): Likewise.
34816 (__ASSUME_STAT64_SYSCALL): Likewise.
34817 (__ASSUME_IPC64): Likewise.
34818 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34819 <kernel-features.h>.
34820 [__ASSUME_32BITUIDS]: Make code unconditional.
34821 [!__ASSUME_32BITUIDS]: Remove conditional code.
34822 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34823 <kernel-features.h>.
34824 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34825 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34826 132096]: Remove conditional code.
34827 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34829 <kernel-features.h>.
34830 [__ASSUME_32BITUIDS]: Make code unconditional.
34831 [!__ASSUME_32BITUIDS]: Remove conditional code.
34832 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34833 <kernel-features.h>.
34834 [__ASSUME_32BITUIDS]: Make code unconditional.
34835 [!__ASSUME_32BITUIDS]: Remove conditional code.
34836 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34837 <kernel-features.h>.
34838 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34840 (__setresgid): Do not declare.
34841 [__ASSUME_32BITUIDS]: Make code unconditional.
34842 [!__ASSUME_32BITUIDS]: Remove conditional code.
34843 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34844 <kernel-features.h>.
34845 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34847 (__setresuid): Do not declare.
34848 [__ASSUME_32BITUIDS]: Make code unconditional.
34849 [!__ASSUME_32BITUIDS]: Remove conditional code.
34850 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34851 <kernel-features.h>.
34852 [__ASSUME_32BITUIDS]: Make code unconditional.
34853 [!__ASSUME_32BITUIDS]: Remove conditional code.
34854 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34855 <kernel-features.h>.
34856 [__ASSUME_32BITUIDS]: Make code unconditional.
34857 [!__ASSUME_32BITUIDS]: Remove conditional code.
34859 2012-05-25 Richard Henderson <rth@twiddle.net>
34861 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34862 dl_hwcap to ifunc resolver.
34863 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34865 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34866 dl_hwcap to ifunc resolver.
34867 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34869 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34872 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34873 for |x| <= 2**-26, not 2**-57.
34874 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34877 2012-05-24 Jeff Law <law@redhat.com>
34879 * stdio-common/Makefile (tests): Add bug25.
34880 * stdio-common/bug25.c: New test.
34882 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34885 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34886 multiple of MALLOC_ALIGNMENT in size.
34887 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34889 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34891 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34893 (FILENAME_MAX): Use macro-int-constant.
34894 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34895 (_IOFBF): Use macro-int-constant.
34896 (_IOLBF): Likewise.
34897 (_IONBF): Likewise.
34898 (SEEK_CUR): Likewise.
34899 (SEEK_END): Likewise.
34900 (SEEK_SET): Likewise.
34901 (TMP_MAX): Likewise.
34902 (EOF): Use macro-int-constant. Require < 0.
34903 (NULL): Use macro-constant. Require == 0.
34904 (stdin): Require type to be FILE *.
34905 (stdout): Likewise.
34906 (stderr): Likewise.
34907 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34908 macro-int-constant.
34909 (EXIT_SUCCESS): Likewise.
34910 (NULL): Use macro-constant. Require == 0.
34911 (RAND_MAX): Use macro-int-constant.
34912 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34913 [C99-based standards] (strtof): Require function.
34914 [C99-based standards] (strtold): Likewise.
34915 [C99-based standards] (strtoll): Likewise.
34916 [C99-based standards] (strtoull): Likewise.
34917 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34918 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34919 [ISO || ISO99 || ISO11] (math.h): Likewise.
34920 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34921 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34924 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34927 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34928 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34929 * intl/dgettext.c (DCGETTEXT): Likewise.
34930 * intl/gettext.c (DCGETTEXT): Likewise.
34931 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34932 * posix/regex_internal.h (gettext): Likewise.
34933 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34934 Remove declaration.
34935 * include/argz.h (__argz_count_internal)
34936 (__argz_stringify_internal): Remove declaration.
34937 (__argz_count, __argz_stringify): Declare hidden proto.
34938 * intl/dcgettext.c: Remove use of INTDEF.
34939 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34940 * string/argz-stringify.c: Likewise.
34941 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34942 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34943 Declare hidden proto.
34944 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34945 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34946 Declare hidden proto.
34947 * include/stdio.h (__asprintf_internal): Don't declare.
34948 (__asprintf): Don't define as macro. Declare hidden proto.
34949 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34950 (__fsetlocking): Declare hidden proto.
34951 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34952 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34954 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34955 (_IO_setlinebuf): Remove use of INTUSE.
34956 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34957 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34958 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34959 Remove declaration.
34960 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34961 (_IO_do_flush): Remove use of INTUSE.
34962 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34963 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34964 (_IO_adjust_column, _IO_least_wmarker)
34965 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34966 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34967 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34968 (_IO_default_doallocate, _IO_wdefault_doallocate)
34969 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34970 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34971 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34972 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34973 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34974 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34975 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34976 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34977 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34978 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34979 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34980 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34981 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34983 (_IO_flush_all_internal, _IO_adjust_column_internal)
34984 (_IO_default_uflow_internal, _IO_default_finish_internal)
34985 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34986 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34987 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34988 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34989 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34990 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34991 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34992 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34993 (_IO_file_close_internal, _IO_file_close_it_internal)
34994 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34995 (_IO_file_init_internal, _IO_file_attach_internal)
34996 (_IO_file_fopen_internal, _IO_file_read_internal)
34997 (_IO_file_sync_internal, _IO_file_seek_internal)
34998 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34999 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35000 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35001 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35002 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35003 (_IO_list_all_internal, _IO_link_in_internal)
35004 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35005 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35006 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35007 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35008 (_IO_do_write_internal, _IO_padn_internal)
35009 (_IO_getline_info_internal, _IO_getline_internal)
35010 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35011 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35012 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35013 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35014 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35015 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35016 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35017 with libc_hidden_ver, remove use of INTUSE.
35018 * libio/genops.c: Likewise.
35019 * libio/freopen.c: Likewise.
35020 * libio/freopen64.c: Likewise.
35021 * libio/iofclose.c: Likewise.
35022 * libio/iofdopen.c: Likewise.
35023 * libio/iofflush.c: Likewise.
35024 * libio/iofflush_u.c: Likewise.
35025 * libio/iofgets.c: Likewise.
35026 * libio/iofgets_u.c: Likewise.
35027 * libio/iofopen.c: Likewise.
35028 * libio/iofopncook.c: Likewise.
35029 * libio/iofread.c: Likewise.
35030 * libio/iofread_u.c: Likewise.
35031 * libio/ioftell.c: Likewise.
35032 * libio/iofwrite.c: Likewise.
35033 * libio/iogetline.c: Likewise.
35034 * libio/iogets.c: Likewise.
35035 * libio/iogetwline.c: Likewise.
35036 * libio/iopadn.c: Likewise.
35037 * libio/iopopen.c: Likewise.
35038 * libio/ioseekoff.c: Likewise.
35039 * libio/ioseekpos.c: Likewise.
35040 * libio/iosetbuffer.c: Likewise.
35041 * libio/iosetvbuf.c: Likewise.
35042 * libio/ioungetc.c: Likewise.
35043 * libio/ioungetwc.c: Likewise.
35044 * libio/iovdprintf.c: Likewise.
35045 * libio/iovsprintf.c: Likewise.
35046 * libio/iovsscanf.c: Likewise.
35047 * libio/memstream.c: Likewise.
35048 * libio/obprintf.c: Likewise.
35049 * libio/oldfileops.c: Likewise.
35050 * libio/oldiofclose.c: Likewise.
35051 * libio/oldiofdopen.c: Likewise.
35052 * libio/oldiofopen.c: Likewise.
35053 * libio/oldiopopen.c: Likewise.
35054 * libio/oldstdfiles.c: Likewise.
35055 * libio/putc.c: Likewise.
35056 * libio/setbuf.c: Likewise.
35057 * libio/setlinebuf.c: Likewise.
35058 * libio/stdfiles.c: Likewise.
35059 * libio/strops.c: Likewise.
35060 * libio/vasprintf.c: Likewise.
35061 * libio/vscanf.c: Likewise.
35062 * libio/vsnprintf.c: Likewise.
35063 * libio/vswprintf.c: Likewise.
35064 * libio/wfiledoalloc.c: Likewise.
35065 * libio/wfileops.c: Likewise.
35066 * libio/wgenops.c: Likewise.
35067 * libio/wmemstream.c: Likewise.
35068 * libio/wstrops.c: Likewise.
35069 * libio/__fpurge.c: Likewise.
35070 * libio/__fsetlocking.c: Likewise.
35071 * assert/assert.c: Likewise.
35072 * debug/fgets_chk.c: Likewise.
35073 * debug/fgets_u_chk.c: Likewise.
35074 * debug/fread_chk.c: Likewise.
35075 * debug/fread_u_chk.c: Likewise.
35076 * debug/gets_chk.c: Likewise.
35077 * debug/obprintf_chk.c: Likewise.
35078 * debug/vasprintf_chk.c: Likewise.
35079 * debug/vdprintf_chk.c: Likewise.
35080 * debug/vsnprintf_chk.c: Likewise.
35081 * debug/vsprintf_chk.c: Likewise.
35082 * malloc/mtrace.c: Likewise.
35083 * misc/error.c: Likewise.
35084 * misc/syslog.c: Likewise.
35085 * stdio-common/asprintf.c: Likewise.
35086 * stdio-common/fxprintf.c: Likewise.
35087 * stdio-common/getw.c: Likewise.
35088 * stdio-common/isoc99_fscanf.c: Likewise.
35089 * stdio-common/isoc99_scanf.c: Likewise.
35090 * stdio-common/isoc99_vfscanf.c: Likewise.
35091 * stdio-common/isoc99_vscanf.c: Likewise.
35092 * stdio-common/isoc99_vsscanf.c: Likewise.
35093 * stdio-common/printf-prs.c: Likewise.
35094 * stdio-common/printf_fp.c: Likewise.
35095 * stdio-common/printf_fphex.c: Likewise.
35096 * stdio-common/printf_size.c: Likewise.
35097 * stdio-common/putw.c: Likewise.
35098 * stdio-common/scanf.c: Likewise.
35099 * stdio-common/sprintf.c: Likewise.
35100 * stdio-common/tmpfile.c: Likewise.
35101 * stdio-common/vfprintf.c: Likewise.
35102 * stdio-common/vfscanf.c: Likewise.
35103 * stdlib/strfmon_l.c: Likewise.
35104 * sunrpc/openchild.c: Likewise.
35105 * sunrpc/xdr_stdio.c: Likewise.
35106 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35107 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35109 2012-05-24 Roland McGrath <roland@hack.frob.com>
35111 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35113 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35114 in the third column, to generate for the shared library an IFUNC
35115 that uses _dl_vdso_vsym.
35116 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35117 * Makeconfig (object-suffixes-noshared): New variable.
35119 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35120 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35121 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35122 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35125 * include/sys/time.h (__gettimeofday): Remove macro.
35126 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35127 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35129 (__gettimeofday): Add libc_hidden_def.
35130 (gettimeofday): Add libc_hidden_weak.
35131 * sysdeps/mach/gettimeofday.c: Likewise.
35132 * sysdeps/posix/gettimeofday.c: Likewise.
35133 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35134 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35136 (__gettimeofday_internal): Remove strong_alias.
35137 (__gettimeofday): Add libc_hidden_def.
35138 (gettimeofday): Add libc_hidden_weak.
35139 * sysdeps/unix/syscalls.list (gettimeofday):
35140 Remove __gettimeofday_internal alias.
35142 2012-05-24 Daniel Jacobowitz <drow@false.org>
35143 H.J. Lu <hongjiu.lu@intel.com>
35146 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35147 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35148 (largebin_index_32_big): New.
35149 (largebin_index): Use it for 16-byte alignment.
35150 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35151 correction with front_misalign.
35153 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35181 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35182 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35184 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35188 * math/libm-test.inc (exp_test): Add test from bug 14036.
35189 (pow_test): Add test from bug 10846.
35191 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35193 (special_function): Do not include flags in test name.
35194 (parse_args): Likewise.
35195 * sysdeps/i386/fpu/libm-test-ulps: Update.
35196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35197 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35198 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35201 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35203 * math/libm-test.inc ("Philosophy"): Update comment about
35205 (UNDERFLOW_EXCEPTION): New macro.
35206 (UNDERFLOW_EXCEPTION_OK): Likewise.
35207 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35208 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35209 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35210 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35211 (INVALID_EXCEPTION_OK): Update value.
35212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35213 (OVERFLOW_EXCEPTION_OK): Likewise.
35214 (IGNORE_ZERO_INF_SIGN): Likewise.
35215 (test_exceptions): Handle underflow exceptions.
35216 (acos_test): Update for underflow exception expectations.
35217 (cexp_test): Likewise.
35218 (clog_test): Likewise.
35219 (clog10_test): Likewise.
35220 (csqrt_test): Likewise.
35221 (ctan_test): Likewise.
35222 (ctanh_test): Likewise.
35223 (exp_test): Likewise.
35224 (exp10_test): Likewise.
35225 (exp2_test): Likewise.
35226 (expm1_test): Likewise.
35227 (fma_test): Likewise.
35228 (j0_test): Likewise.
35229 (jn_test): Likewise.
35230 (nexttoward_test): Likewise.
35231 (pow_test): Likewise.
35232 (scalbn_test): Likewise.
35233 (scalbln_test): Likewise.
35234 (tan_test): Likewise.
35235 (y1_test): Likewise.
35236 * sysdeps/i386/fpu/libm-test-ulps: Update.
35237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35239 2012-05-23 David S. Miller <davem@davemloft.net>
35241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35242 (__libc_sigaction): Remove unused local variables.
35244 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35246 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35248 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35250 mktime: avoid signed integer overflow
35251 * time/mktime.c (__mktime_internal): Do not mishandle the case
35252 where diff == INT_MIN.
35254 mktime: simplify computation of average
35255 * time/mktime.c (ranged_convert): Use new time_t_avg function
35256 instead of rolling our own (probably-slower) code.
35258 mktime: do not assume signed right shift propagates sign bit
35259 * time/mktime.c (isdst_differ): New static function.
35260 (__mktime_internal): No need to normalize tm_isdst now.
35261 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35264 mktime: merge another wrapv change from gnulib
35265 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35266 from some compilers.
35268 mktime: remove incorrect attempt at unusual arithmetics
35269 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35270 The code didn't really work on such machines anyway.
35271 (TYPE_MINIMUM): Assume two's complement.
35272 (twos_complement_arithmetic): Verify that long_int and time_t
35273 are two's complement (or unsigned, in the latter case).
35275 mktime: check signed shifts on long_int and time_t, too
35276 * time/mktime.c (SHR): Check that shifts work as desired
35277 on the types long_int and time_t too, as SHR is used on
35280 mktime: do not assume 'long' is wide enough
35281 * time/mktime.c (verify): Move decl up.
35282 (long_int): New type.
35283 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35284 to remove assumption in the code that 'long' is wide enough to
35285 store year values. This assumption is not true on x32 and on
35286 some non-glibc platforms.
35288 mktime: merge wrapv change from gnulib
35289 * time/mktime.c (WRAPV): New macro.
35290 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35291 (guess_time_tm, __mktime_internal): Do not assume that signed
35292 integer overflow wraps around; modern compilers generate code
35293 where this assumption is no longer valid.
35295 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35298 Replace "jmp L(pseudo_end)" with "ret".
35299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35302 2012-05-23 Andreas Jaeger <aj@suse.de>
35304 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35305 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35307 2012-05-23 Andreas Jaeger <aj@suse.de>
35308 Maximilian Attems <max@stro.at>
35310 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35313 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35315 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35316 code so that pseudo_end is just ret and the stack pointer is
35317 correct also for static library in error case.
35319 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35321 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35322 move to syscalls.list.
35323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35328 * manual/install.texi (Running make install): Do not mention Linux
35329 kernel version for which pt_chown is not needed.
35330 (Linux): Do not mention problems with nscd with 2.0 kernels.
35331 * INSTALL: Regenerated.
35333 2012-05-23 Andreas Jaeger <aj@suse.de>
35335 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35336 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35338 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35339 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35340 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35341 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35342 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35348 * sysdeps/unix/sysv/linux/bits/in.h
35349 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35351 2012-05-22 Roland McGrath <roland@hack.frob.com>
35353 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35354 (PREPARE_VERSION): Just use assert instead, it will be elided
35355 under [NDEBUG] anyway.
35357 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35359 * sysdeps/unix/sysv/linux/Makefile: Include
35360 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35361 (sysdep_routines): Remove sysctl.
35362 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35363 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35364 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35365 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35366 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35368 2012-05-22 Andreas Jaeger <aj@suse.de>
35370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35371 that pseudo_end is just ret and the stack pointer is correct also
35372 for static library in error case.
35374 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35377 * nss/nsswitch.c (defconfig_entries): New variable.
35378 (__nss_database_lookup): Don't leak defconfig entries.
35379 (nss_parse_service_list): Don't leak on error paths.
35380 (free_database_entries): New function.
35381 (free_defconfig): New function.
35382 (free_mem): Move common code to free_database_entries.
35384 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35386 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35388 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35390 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35391 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35394 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35395 (INTERNAL_SYSCALL_TYPES): Likewise.
35396 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35397 (LOAD_REGS_TYPES_[1-6]): Likewise.
35398 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35399 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35401 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35404 copysignl for GLIBC_2_0.
35405 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35406 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35408 logbl for GLIBC_2_0.
35409 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35410 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35415 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35417 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35420 * time/mktime.c: Update copyright years.
35422 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35424 mktime: merge comment-quoting-style change from gnulib
35425 * time/mktime.c: Quote 'like this' in comments.
35426 The GNU coding standards suggest that we no longer quote `like this',
35427 as "`" and "'" are typically rendered asymmetrically nowadays.
35428 The typical gnulib style is to quote 'like this' when quoting
35429 code, and "like this" when quoting English.
35431 * time/mktime.c (compile-command): Add "-I.".
35433 mktime: merge mktime-internal.h change from gnulib
35434 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35436 mktime: merge time_r change from gnulib
35437 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35439 mktime: merge DEBUG change from gnulib
35440 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35441 case system <time.h> has a #define.
35443 mktime: merge <sys/types.h> change from gnulib
35444 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35445 since <time.t> is now guaranteed to define time_t.
35447 mktime: merge HAVE_CONFIG_H change from gnulib
35448 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35450 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35455 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35457 (struct rusage): Use anonymous union to pad each field to
35460 2012-05-21 David S. Miller <davem@davemloft.net>
35462 * Makefules (o-iterator): Remove .s cases.
35463 (compile-command.s): Delete.
35464 (COMPILE.s): Delete.
35465 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35467 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35469 * configure.in (libc_cv_predef_stack_protector): Only consider
35470 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35471 * configure: Regenerated.
35473 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35476 New macro. Use R*LP on int and pointer.
35477 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35478 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35479 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35480 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35482 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35483 [__WORDSIZE_TIME64_COMPAT32] instead of
35484 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35485 (struct utmp): Likewise.
35486 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35487 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35489 (__WORDSIZE_TIME64_COMPAT32): This.
35490 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35491 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35492 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35493 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35494 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35495 (__WORDSIZE_TIME64_COMPAT32): New macro.
35497 2012-05-21 Andreas Jaeger <aj@suse.de>
35499 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35500 only if [SHARED]. Add prototype for __wcschr_ia32.
35502 2012-05-21 Roland McGrath <roland@hack.frob.com>
35504 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35505 of %rbp unmolested in the jmp_buf while mangling the low bits.
35506 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35507 unmolested high bits of %rbp while demangling the low bits.
35508 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35510 2012-05-21 Andreas Jaeger <aj@suse.de>
35512 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35513 * sunrpc/svc_simple.c: Use it for registerrpc.
35514 * sunrpc/xcrypt.c: Use it for passwd2des.
35516 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35518 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35520 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35521 Don't define if [__SYSCALL_WORDSIZE != 32].
35522 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35525 2012-05-21 Bruno Haible <bruno@clisp.org>
35526 Andreas Jaeger <aj@suse.de>
35528 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35529 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35530 inptr and inend for must_buffer_ch.
35531 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35532 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35533 * stdio-common/Makefile (tests): Remove bug15.
35534 (bug15-ENV): Remove macro.
35535 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35538 2012-05-19 Andreas Jaeger <aj@suse.de>
35539 Roland McGrath <roland@hack.frob.com>
35541 * manual/contrib.texi: Completely rewritten. It contains now an
35542 alphabetical list of contributors and their contributions.
35544 2012-05-21 Richard Henderson <rth@twiddle.net>
35546 * misc/getauxval.c (__getauxval): Use unsigned long int.
35547 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35548 (getauxval): Use unsigned long int.
35550 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35552 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35554 2012-05-21 Roland McGrath <roland@hack.frob.com>
35556 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35557 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35558 __alignof__ (long double).
35560 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35564 2012-05-20 Richard Henderson <rth@twiddle.net>
35566 * misc/getauxval.c: New file.
35567 * misc/sys/auxv.h: New file.
35568 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35569 (routines): Add getauxval.
35570 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35572 * elf/dl-sysdep.c (_dl_auxv): Remove.
35573 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35574 * elf/dl-support.c (_dl_auxv): New variable.
35575 (_dl_aux_init): Initialize it.
35576 * manual/startup.texi (Auxiliary Vector): New node.
35577 * sysdeps/generic/bits/hwcap.h: New file.
35578 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35579 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35580 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35581 * sysdeps/sparc/sysdep.h: ... here. Include it.
35582 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35583 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35595 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35599 2012-05-19 David S. Miller <davem@davemloft.net>
35601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35603 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35606 * math/s_ccosh.c: Include <float.h>
35607 (__ccosh): Avoid internal overflow calculating sinh and cosh
35608 values before multiplying by sin and cos values.
35609 * math/s_ccoshf.c: Likewise.
35610 * math/s_ccoshl.c: Likewise.
35611 * math/s_csin.c: Likewise.
35612 * math/s_csinf.c: Likewise.
35613 * math/s_csinl.c: Likewise.
35614 * math/s_csinh.c: Likewise.
35615 * math/s_csinhf.c: Likewise.
35616 * math/s_csinhl.c: Likewise.
35617 * math/libm-test.inc (ccos_test): Add more tests.
35618 (ccosh_test): Likewise.
35619 (csin_test): Likewise.
35620 (csinh_test): Likewise.
35621 * sysdeps/i386/fpu/libm-test-ulps: Update.
35622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35624 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35626 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35627 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35629 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35631 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35633 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35634 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35635 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35636 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35637 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35638 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35639 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35640 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35641 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35642 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35643 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35644 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35645 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35646 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35647 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35648 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35649 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35650 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35651 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35652 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35653 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35654 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35655 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35656 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35657 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35658 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35659 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35660 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35661 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35662 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35663 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35665 2012-05-18 Andreas Jaeger <aj@suse.de>
35667 * csu/.gitignore: Delete.
35669 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35671 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35672 (timex): Use __syscall_slong_t.
35674 2012-05-18 Andreas Jaeger <aj@suse.de>
35675 Carlos O'Donell <carlos_odonell@mentor.com>
35677 * manual/install.texi (Configuring and compiling): Update
35678 description about files modified in the source directory.
35679 * INSTALL: Regenerated.
35681 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35683 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35684 value. Use "or" to set return value to -1.
35685 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35686 negate return value.
35688 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35690 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35691 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35692 failure if the compiler has Graphite support disabled.
35693 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35695 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35696 (CFLAGS-memmove.c): Likewise.
35697 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35700 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35702 * sysdeps/x86_64/x32/_itoa.h: New file.
35704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35705 getdents system call only if kernel and user dirents have the
35706 same d_ino and d_off.
35708 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35709 LLONG_MAX != LONG_MAX.
35710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35711 (_fitoa_word): Likewise.
35713 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35715 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35716 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35717 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35719 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35720 include <bits/wordsize.h>. Check __x86_64__ instead of
35722 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35723 if __x86_64__ is defined. Use anonymous union on fpstate.
35725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35728 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35730 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35731 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35732 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35733 Refer to _rtld_local_ro instead of _rtld_global_ro.
35734 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35736 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35738 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35740 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35741 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35742 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35744 * sysdeps/powerpc/powerpc32/dl-machine.c
35745 (__elf_machine_runtime_setup) [PROF]: Don't reference
35748 2012-05-18 Andreas Jaeger <aj@suse.de>
35750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35751 function only available for GCCs before 3.4 since GCC 3.4
35752 introduced a builtin.
35754 (llrintf): Likewise.
35755 (llrint): Likewise.
35762 (nearbyint): Likewise.
35763 (nearbyintf): Likewise.
35767 (floorf): Likewise.
35769 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35771 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35772 on both fields and cast pointer to __syscall_ulong_t.
35774 * bits/types.h (__fsword_t): New type.
35775 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35776 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35778 (__FSWORD_T_TYPE): Likewise.
35779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35780 (__FSWORD_T_TYPE): Likewise.
35781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35782 (__FSWORD_T_TYPE): Likewise.
35783 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35784 (__FSWORD_T_TYPE): Likewise.
35785 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35786 __SWORD_TYPE with __fsword_t.
35787 (statfs64): Likewise.
35789 2012-05-17 David S. Miller <davem@davemloft.net>
35791 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35793 2012-05-17 Andreas Jaeger <aj@suse.de>
35795 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35798 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35800 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35802 2012-05-17 Andreas Jaeger <aj@suse.de>
35804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35807 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35809 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35811 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35813 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35814 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35816 2012-05-17 Andreas Jaeger <aj@suse.de>
35817 Carlos O'Donell <carlos_odonell@mentor.com>
35820 * sysdeps/x86_64/multiarch/init-arch.h
35821 (bit_YMM_Usable): Rename to...
35822 (bit_AVX_Usable): ... this.
35823 (bit_FMA4_Usable): New macro.
35824 (bit_XMM_state): New macro.
35825 (bit_YMM_state): New macro.
35826 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35827 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35828 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35829 (CPUID_OSXSAVE): New macro.
35830 (CPUID_AVX): New macro.
35831 (CPUID_FMA4): New macro.
35832 (index_YMM_Usable): Rename to...
35833 (index_AVX_Usable): ... this.
35834 (HAS_AVX): Use HAS_ARCH_FEATURE.
35835 (HAS_FMA4): Likewise.
35836 (HAS_YMM_USABLE): Remove.
35837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35838 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35840 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35841 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35842 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35843 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35844 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35846 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35848 * math/libm-test.c: Support platforms without multiple rounding modes.
35849 * math/bug-nextafter.c: Support platforms without FP exceptions.
35850 * math/bug-nexttoward.c: Likewise.
35851 * math/test-fenv.c: Likewise.
35852 * math/test-misc.c: Likewise.
35853 * stdlib/bug-getcontext.c: Likewise.
35855 2012-05-17 Andreas Jaeger <aj@suse.de>
35857 * manual/examples/search.c (critter_cmp): Change signature to
35859 * manual/string.texi (Collation Functions): Likewise.
35861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35863 * bits/types.h: Fold copyright years.
35864 * bits/typesizes.h: Likewise.
35865 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35869 * time/time.h: Likewise.
35871 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35874 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35875 in instead of returning them. Return void.
35876 (__libc_mallinfo): Accumulate over all arenas.
35877 (__malloc_stats): Adjust for change in int_mallinfo interface.
35879 2012-05-16 Roland McGrath <roland@hack.frob.com>
35882 * configure.in (NM): Add AC_CHECK_TOOL for it.
35883 (libc_extra_cflags): New substituted variable.
35884 Check for -fstack-protector being used implicitly.
35885 * configure: Regenerated.
35886 * config.make.in (config-extra-cflags): New variable,
35887 gets @libc_extra_cflags@.
35888 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35891 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35892 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35893 * configure: Regenerated.
35894 * config.make.in (CPPUNDEFS): New substituted variable.
35895 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35896 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35897 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35899 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35901 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35902 (mq_attr): Use __syscall_slong_t.
35904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35906 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35907 Check __x86_64__ instead of __WORDSIZE.
35908 (_STAT_VER_LINUX): Likewise.
35909 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35910 __syscall_ulong_t and __syscall_slong_t.
35911 (stat64): Likewise.
35913 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35919 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35923 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35926 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35927 include <bits/wordsize.h>. Check __x86_64__ instead of
35929 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35931 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35934 include <bits/wordsize.h>. Check __x86_64__ instead of
35936 (user_regs_struct): Use "__extension__ unsigned long long"
35937 instead of "unsigned long" if __x86_64__ is defined.
35938 (user): Likewise. Pad after pointer field if __ILP32__ is
35941 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35943 * configure.in (makeinfo): Require version 4.5 or later. Allow
35945 * configure: Regenerated.
35946 * manual/install.texi (texinfo): Increase version requirement to
35948 * INSTALL: Regenerated.
35950 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35954 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35956 * sysdeps/x86_64/x32/ffs.c: New file.
35958 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35960 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35961 defined. Use __syscall_ulong_t.
35962 (shminfo): Use __syscall_ulong_t.
35963 (shm_info): Likewise.
35965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35968 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35970 (msgqnum_t): Use __syscall_ulong_t.
35971 (msglen_t): Likewise.
35972 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35976 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35980 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35981 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35983 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35987 include <bits/wordsize.h>. Check __x86_64__ instead of
35990 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35991 "unsigned long long int" if __x86_64__ is defined.
35992 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35995 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35996 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35998 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36000 (GET_PC): Cast to uintptr_t first.
36001 (GET_FRAME): Likewise.
36002 (GET_STACK): Likewise.
36004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36006 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36008 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36009 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36010 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36011 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36012 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36014 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36015 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36016 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36017 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36018 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36019 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36020 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36021 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36022 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36034 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36036 * Makerules (+depfiles): Also collect depfiles from .oS in
36038 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36039 .oS, $(libnldbl-routines)).
36041 * Makerules (native-compile-mkdep-flags): Define.
36042 * sunrpc/Makefile (extra-objs): Add $(addprefix
36043 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36044 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36045 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36046 calling $(make-target-directory).
36048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36050 * bits/types.h (__snseconds_t): Removed.
36051 * time/time.h (struct timespec): Replace __snseconds_t with
36053 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36054 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36057 (__SNSECONDS_T_TYPE): Likewise.
36058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36059 (__SNSECONDS_T_TYPE): Likewise.
36060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36061 (__SNSECONDS_T_TYPE): Likewise.
36063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36065 * sysdeps/mach/hurd/bits/typesizes.h
36066 (__SYSCALL_SLONG_TYPE): New macro.
36067 (__SYSCALL_ULONG_TYPE): Likewise.
36069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36071 * bits/types.h (__syscall_slong_t): New type.
36072 (__syscall_ulong_t): Likewise.
36074 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36075 (__SYSCALL_ULONG_TYPE): Likewise.
36076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36077 (__SYSCALL_SLONG_TYPE): Likewise.
36078 (__SYSCALL_ULONG_TYPE): Likewise.
36079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36080 (__SYSCALL_SLONG_TYPE): Likewise.
36081 (__SYSCALL_ULONG_TYPE): Likewise.
36082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36083 (__SYSCALL_SLONG_TYPE): Likewise.
36084 (__SYSCALL_ULONG_TYPE): Likewise.
36086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36088 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36089 Add sigaltstack-offsets.sym.
36090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36091 <sigaltstack-offsets.h>.
36092 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36093 longjmp_msg pointer.
36094 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36095 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36097 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36099 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36101 * elf/stackguard-macros.h: Remove file.
36102 * sysdeps/generic/stackguard-macros.h: New file.
36103 * sysdeps/i386/stackguard-macros.h: Likewise.
36104 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36105 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36106 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36107 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36108 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36109 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36110 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36111 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36112 <elf/stackguard-macros.h>.
36115 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36116 __aligned__ in attribute.
36117 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36118 (gregset_t): Likewise.
36120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36122 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36123 * sysdeps/x86_64/64/Implies-after: Here. New file.
36124 * sysdeps/x86_64/x32/Implies-after: New file.
36126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36128 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36129 and access return value for _dl_profile_fixup. Use R10_LP to
36132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36138 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36139 * sysdeps/x86_64/x32/sysdep.h: New file.
36141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36143 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36144 * sysdeps/x86_64/setjmp.S: Likewise.
36146 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36148 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36150 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36152 remove unused global constant.
36154 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36156 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36157 include of <not-cancel.h>.
36159 2012-05-15 Roland McGrath <roland@hack.frob.com>
36161 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36163 2012-05-15 Jeff Law <law@redhat.com>
36164 Andreas Jaeger <aj@suse.de>
36167 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36169 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36170 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36171 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36172 code changing __hst_map_handle.map.
36174 2012-05-15 Roland McGrath <roland@hack.frob.com>
36176 * configure.in (sysnames): Look for Implies-before and Implies-after
36178 * configure: Regenerated.
36180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36183 8-byte data alignment with LP_SIZE alignment.
36185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36187 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36192 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36196 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36197 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36198 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36200 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36204 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36205 (stackinfo_sub_sp): Likewise.
36207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36224 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36228 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36229 into R11_LP and load __x86_64_shared_cache_size_half into
36232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36237 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36245 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36246 powerpc32/power7/fpu/s_logb.c via #include.
36247 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36248 powerpc32/power7/fpu/s_logbf.c via #include.
36249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36250 powerpc32/power7/fpu/s_logbl.c via #include.
36252 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36254 * README.libm: Remove file.
36256 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36258 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36259 count for x32. Use R*_LP and omit operand-size suffix.
36261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36263 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36264 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36265 * sysdeps/x86_64/x32/shlib-versions: New file.
36267 2012-05-14 Roland McGrath <roland@hack.frob.com>
36269 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36270 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36271 Use _dl_fatal_printf instead.
36273 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36275 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36276 set if not set by the user. Do not allow for being unset.
36277 * sysdeps/unix/sysv/linux/configure: Regenerated.
36279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36281 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36282 the `q' suffix from lea and replace .quad with ASM_ADDR.
36284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36287 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36289 (PTR_DEMANGLE): Likewise.
36291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36293 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36295 (ASM_ADDR): Likewise.
36296 (RAX_LP): Likewise.
36297 (RBP_LP): Likewise.
36298 (RBX_LP): Likewise.
36299 (RCX_LP): Likewise.
36300 (RDI_LP): Likewise.
36301 (RSI_LP): Likewise.
36302 (RSP_LP): Likewise.
36305 (R10_LP): Likewise.
36306 (R10_LP): Likewise.
36307 (R11_LP): Likewise.
36308 (R12_LP): Likewise.
36309 (R13_LP): Likewise.
36310 (R14_LP): Likewise.
36311 (R15_LP): Likewise.
36313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36315 * sysdeps/x86_64/x32/dl-machine.h: New file.
36317 2012-05-14 Andreas Jaeger <aj@suse.de>
36319 * manual/Makefile (subdir): Remove export of subdir.
36320 (all): Remove target.
36321 (.PHONY): Remove all from list.
36322 (mkinstalldirs): Remove.
36323 (.PHONY): Remove installdirs from list.
36324 ($(inst_infodir)/libc.info): Use make-target-directory.
36325 (installdirs): Remove.
36326 (subdir_%): Remove.
36327 (glibc-targets): Remove.
36330 ($(objpfx)stubs ../po/manual.pot): Remove.
36331 ($(objpfx)stamp%): Remove.
36332 (make-target-directory): Remove.
36333 (subdir_install): Remove.
36334 (routines): Remove.
36341 * manual/.gitignore: Remove, it's not needed anymore.
36342 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36344 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36346 (texis): Renamed to $(objpfx)texis.
36347 (texis-path): New, contains path to generated files.
36348 (chapters.%): Use texis-path for complete path, add extra argument
36350 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36351 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36352 (summary,texi, stamp-summary): Use complete path of
36353 files. Generate files in build dir.
36354 (dir-add.texi): Build in build dir.
36355 (libm-err.texi,stamp-libm-err): Likewise.
36356 (version.texi, stamp-version): Likewise.
36357 (.%c.texi): Likewise.
36358 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36359 (mostlyclean): Remove target.
36360 (realclean): Remove target.
36361 (generated): Add new variable with contents from mostlyclean and
36362 realclean, remove entries duplicated in common-mostlyclean, add
36363 stamp-libm-err and stamp-version.
36364 (generated-dirs): Add libc directory.
36365 ($(inst_infodir)/libc.info): Install files from build dir.
36367 * manual/install.texi (Configuring and compiling): Adjust since
36368 the info files are not part of the tar ball anymore.
36370 2012-05-14 Andreas Jaeger <aj@suse.de>
36372 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36375 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36379 to 2.2.0 where earlier.
36380 * sysdeps/unix/sysv/linux/configure: Regenerated.
36381 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36382 Remove conditional code.
36383 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36384 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36385 Remove conditional code.
36386 [!__NR_lchown]: Likewise.
36387 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36388 [__NR_lchown]: Likewise.
36389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36390 comment referencing __ASSUME_LCHOWN_SYSCALL.
36391 * sysdeps/unix/sysv/linux/i386/sigaction.c
36392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36394 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36395 Remove conditional code.
36396 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36397 (__protocol_available): Remove #if 0 code.
36398 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36400 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36401 * sysdeps/unix/sysv/linux/kernel-features.h
36402 (__ASSUME_GETCWD_SYSCALL): Don't define.
36403 (__ASSUME_REALTIME_SIGNALS): Likewise.
36404 (__ASSUME_PREAD_SYSCALL): Likewise.
36405 (__ASSUME_PWRITE_SYSCALL): Likewise.
36406 (__ASSUME_POLL_SYSCALL): Likewise.
36407 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36408 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36410 (__ASSUME_SIOCGIFNAME): Don't define.
36411 (__ASSUME_MSG_NOSIGNAL): Likewise.
36412 (__ASSUME_SENDFILE): Define unconditionally.
36413 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36414 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36416 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36417 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36418 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36419 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36420 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36421 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36422 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36424 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36427 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36439 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36445 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36447 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36448 Remove conditional code.
36449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36450 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36451 Remove conditional code.
36452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36453 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36454 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36455 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36456 Remove conditional code.
36457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36458 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36459 Remove conditional code.
36460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36461 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36462 Remove conditional code.
36463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36464 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36465 Remove conditional code.
36466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36467 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36468 Remove conditional code.
36469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36470 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36473 * sysdeps/unix/sysv/linux/sigaction.c
36474 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36475 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36476 * sysdeps/unix/sysv/linux/sigpending.c
36477 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36478 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36479 * sysdeps/unix/sysv/linux/sigprocmask.c
36480 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36481 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36482 * sysdeps/unix/sysv/linux/sigsuspend.c
36483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36485 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36486 (__libc_missing_rt_sigs): Remove.
36487 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36488 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36489 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36490 Remove conditional code.
36491 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36492 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36494 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36495 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36496 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36497 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36499 2012-05-14 Andreas Jaeger <aj@suse.de>
36501 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36502 it's not used in glibc.
36503 (__coshm1): Likewise.
36504 (__acosh1p): Likewise.
36507 * manual/string.texi (Copying and Concatenation): Add missing
36508 variable in concat example.
36509 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36515 __builtin_clzl with __builtin_clzll.
36517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36520 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36523 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36525 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36526 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36527 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36528 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36530 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36532 * NEWS: Update ia64 info.
36534 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36536 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36539 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36541 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36542 * sysdeps/unix/syscalls.list (dup3): Likewise.
36543 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36544 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36546 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36548 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36549 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36551 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36553 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36555 (TLS_IE): Use mov/add instead of movq/addq to load thread
36557 (TLS_GD_PREFIX): New.
36560 2012-05-11 David S. Miller <davem@davemloft.net>
36562 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36563 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36564 (_FPU_SETCW): Likewise.
36566 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36568 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36569 is 32-byte aligned.
36571 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36574 * iconvdata/gb18030.c: Update tables.
36575 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36576 characters specially.
36577 (BODY for TO_LOOP): Add encoding of missing ranges.
36579 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36582 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36583 * sysdeps/mach/hurd/dup3.c: Likewise.
36584 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36585 * sysdeps/powerpc/memmove.c:: Likewise.
36587 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36590 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36592 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36594 * elf/elf.h (R_X86_64_RELATIVE64): New.
36595 (R_X86_64_NUM): Updated.
36596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36597 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36598 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36599 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36600 tst-quad1pie tst-quad2pie
36601 (modules-names): Add tst-quadmod1 tst-quadmod2.
36602 ($(objpfx)tst-quad1): New dependency.
36603 ($(objpfx)tst-quad2): Likewise.
36604 ($(objpfx)tst-quad1pie): Likewise.
36605 ($(objpfx)tst-quad2pie): Likewise.
36606 * sysdeps/x86_64/tst-quad1.c: New file.
36607 * sysdeps/x86_64/tst-quad1pie.c: New file.
36608 * sysdeps/x86_64/tst-quad2.c: Likewise.
36609 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36610 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36611 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36612 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36613 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36617 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36618 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36619 * streams/stropts.h (t_scalar_t): Define type.
36621 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36622 (_PATH_PRESERVE): Set to "/var/lib".
36623 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36625 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36628 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36629 if __dir_mkfile succeeded.
36631 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36632 checking for _hurd_dtablesize. Unlock it right after having
36633 finished _hurd_dtable allocation.
36635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36637 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36638 * sysdeps/mach/hurd/configure: Regenerated.
36639 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36640 special-casing to...
36641 * sysdeps/gnu/configure.in: ... this new file.
36642 * sysdeps/unix/sysv/linux/configure: Regenerated.
36643 * sysdeps/gnu/configure: New generated file.
36645 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36646 for Linux: use nsec instead of usec, as well as:
36647 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36648 members of type struct timespec.
36649 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36651 (struct stat64): Likewise.
36652 (_STATBUF_ST_NSEC): New macro.
36653 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36655 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36656 __strtoul_internal rather than strtoul.
36658 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36660 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36665 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36666 which preserves existing values.
36667 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36669 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36671 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36672 TIMEOUT values. Return EINVAL for NFDS values either negative or
36673 greater than FD_SETSIZE.
36675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36677 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36678 allocated, call __vm_protect to finish enabling the existing space, and
36679 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36680 allocate the remainder.
36682 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36684 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36685 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36689 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36690 sysdeps/mach/hurd/readlink.c.
36692 * posix/tst-sysconf.c (posix_options): Only use
36693 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36694 _POSIX_SYNCHRONIZED_IO when they are defined
36695 * sysdeps/mach/hurd/bits/posix_opt.h:
36696 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36697 (_XOPEN_REALTIME): Undefine macro.
36698 (_XOPEN_REALTIME_THREADS): Undefine macro.
36699 (_XOPEN_SHM): Undefine macro.
36700 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36702 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36704 (_POSIX_ASYNC_IO): Undefine macro.
36705 (_POSIX_PRIORITIZED_IO): Undefine macro.
36706 (_POSIX_SPIN_LOCKS): Define macro to -1.
36708 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36709 SA_NODEFER, SA_RESETHAND.
36710 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36711 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36716 * elf/Makefile (pldd-modules): Define unconditionally.
36718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36720 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36724 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36725 Return ENOENT when name is empty.
36726 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36730 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36732 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36734 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36736 Fix mlock in all cases except non-readable pages.
36737 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36738 instead of VM_PROT_ALL as parameter to __vm_wire function.
36740 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36741 (__mkdir): When path is `/', just fail with EEXIST.
36742 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36746 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36747 <sys/uio.h> (for writev).
36748 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36749 and <sys/param.h> (for MIN).
36751 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36753 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36754 REQUESTED_TIME. Properly set the remaining time and return EINTR
36757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36759 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36760 Depend on against $(link-rpcuserlibs).
36762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36764 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36765 (__libc_stack_end): Do not use attribute_relro.
36766 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36767 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36768 to libthread-provided value.
36769 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36775 * bits/libc-lock.h (__libc_once_get): New macro.
36776 * sysdeps/mach/bits/libc-lock.h: Likewise.
36777 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36779 instead of using implementation details.
36781 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36782 * libio/freopen.c: Likewise.
36783 * libio/freopen64.c: Likewise.
36784 * misc/syslog.c: Likewise.
36785 * nscd/connections.c: Likewise.
36786 * nscd/netgroupcache.c: Likewise.
36787 * sysdeps/posix/getcwd.c: Likewise.
36789 2012-05-10 Roland McGrath <roland@hack.frob.com>
36791 * math/w_ilogbf.c: Add #include <limits.h>.
36793 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36795 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36796 path instead of returning without unlocking.
36798 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36799 immediate-write ioctls.
36800 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36804 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36805 __builtin_frame_address instead of making assumptions about the
36806 location of the return address relative to DATA. Force early load of
36807 the return address.
36808 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36809 __builtin_frame_address.
36812 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36813 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36814 implement dup3 and do some further code clean-ups.
36815 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36816 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36818 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36820 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36822 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36823 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36824 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36825 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36826 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36829 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36830 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36831 when handler == SIG_ERR, not when handler != SIG_ERR.
36833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36835 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36836 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36839 accept4 for GNU Hurd.
36840 * include/sys/socket.h (__libc_accept4): New prototype.
36841 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36842 to implement __libc_accept4.
36843 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36845 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36847 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36848 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36849 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36850 signal-defines.sym.
36852 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36854 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36856 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36858 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36859 assertion on O_CLOEXEC flag.
36860 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36861 * hurd/intern-fd.c: Likewise.
36862 * hurd/port2fd.c: Likewise.
36864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36867 * bits/in.h (IPV6_PKTINFO): Define new macro.
36868 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36870 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36875 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36877 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36878 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36880 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36881 * math/libm-test.inc (logb_test) : Additional logb tests.
36883 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36884 Andreas Jaeger <aj@suse.de>
36886 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36887 * configure: Regenerated.
36888 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36889 * config.make.in (link-obsolete-rpc): New substituted variable.
36890 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36891 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36892 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36893 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36894 so that libc.a contains the symbols.
36895 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36896 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36897 * sunrpc/auth_none.c: Likewise.
36898 * sunrpc/auth_unix.c: Likewise.
36899 * sunrpc/authdes_prot.c: Likewise.
36900 * sunrpc/authuxprot.c: Likewise.
36901 * sunrpc/clnt_gen.c: Likewise.
36902 * sunrpc/clnt_perr.c: Likewise.
36903 * sunrpc/clnt_raw.c: Likewise.
36904 * sunrpc/clnt_simp.c: Likewise.
36905 * sunrpc/clnt_tcp.c: Likewise.
36906 * sunrpc/clnt_udp.c: Likewise.
36907 * sunrpc/clnt_unix.c: Likewise.
36908 * sunrpc/des_crypt.c: Likewise.
36909 * sunrpc/des_soft.c: Likewise.
36910 * sunrpc/get_myaddr.c: Likewise.
36911 * sunrpc/key_call.c: Likewise.
36912 * sunrpc/key_prot.c: Likewise.
36913 * sunrpc/netname.c: Likewise.
36914 * sunrpc/pm_getmaps.c: Likewise.
36915 * sunrpc/pm_getport.c: Likewise.
36916 * sunrpc/pmap_clnt.c: Likewise.
36917 * sunrpc/pmap_prot.c: Likewise.
36918 * sunrpc/pmap_prot2.c: Likewise.
36919 * sunrpc/pmap_rmt.c: Likewise.
36920 * sunrpc/publickey.c: Likewise.
36921 * sunrpc/rpc_cmsg.c: Likewise.
36922 * sunrpc/rpc_common.c: Likewise.
36923 * sunrpc/rpc_dtable.c: Likewise.
36924 * sunrpc/rpc_prot.c: Likewise.
36925 * sunrpc/rpc_thread.c: Likewise.
36926 * sunrpc/rtime.c: Likewise.
36927 * sunrpc/svc.c: Likewise.
36928 * sunrpc/svc_auth.c: Likewise.
36929 * sunrpc/svc_raw.c: Likewise.
36930 * sunrpc/svc_run.c: Likewise.
36931 * sunrpc/svc_tcp.c: Likewise.
36932 * sunrpc/svc_udp.c: Likewise.
36933 * sunrpc/svc_unix.c: Likewise.
36934 * sunrpc/svcauth_des.c: Likewise.
36935 * sunrpc/xcrypt.c: Likewise.
36936 * sunrpc/xdr.c: Likewise.
36937 * sunrpc/xdr_array.c: Likewise.
36938 * sunrpc/xdr_float.c: Likewise.
36939 * sunrpc/xdr_intXX_t.c: Likewise.
36940 * sunrpc/xdr_mem.c: Likewise.
36941 * sunrpc/xdr_rec.c: Likewise.
36942 * sunrpc/xdr_ref.c: Likewise.
36943 * sunrpc/xdr_sizeof.c: Likewise.
36944 * sunrpc/xdr_stdio.c: Likewise.
36946 2012-05-10 Roland McGrath <roland@hack.frob.com>
36948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36949 change. Update copyright years.
36951 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36953 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36955 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36956 Joseph Myers <joseph@codesourcery.com>
36957 Paul Pluzhnikov <ppluzhnikov@google.com>
36960 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36962 [cross-compiling] (extra-libs): Likewise.
36963 [cross-compiling] (extra-libs-others): Likewise.
36964 [cross-compiling] (librpcsvc-routines): Likewise.
36965 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36966 [cross-compiling] (omit-deps): Likewise.
36967 (sunrpc-CPPFLAGS): New variable.
36968 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36969 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36970 (cross-rpcgen-objs): New variable.
36971 (extra-objs): Append $(cross-rpcgen-objs).
36972 ($(cross-rpcgen-objs)): New rule.
36973 ($(objpfx)cross-rpcgen): Likewise.
36974 (rpcgen-cmd): Define to use $(built-program-file). Expand
36976 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36977 ($(objpfx)x%.stmp): Likewise.
36978 * sunrpc/proto.h [IS_IN_build] (_): Define.
36979 [IS_IN_build] (_libc_intl_domainname): Likewise.
36981 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36984 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36985 and R_X86_64_TPOFF64.
36987 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36989 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36990 sysdeps/unix/sysv/syscalls.list.
36993 * sysdeps/unix/sysv/syscalls.list: Remove file.
36995 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36998 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36999 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37000 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37001 (__LC_IDENTIFICATION): Make these macros useful in #if
37002 expressions, as required by C99.
37004 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37006 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37007 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37010 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37012 * stdlib/longlong.h: Updated from GCC.
37014 2012-05-09 Andreas Jaeger <aj@suse.de>
37016 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37017 default is first entry.
37018 (run_mode): Set type.
37019 (main): Remove informal message about syslog.
37020 (options): Fix typo.
37023 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37026 (llrintf): Likewise.
37027 (llrint): Likewise.
37030 (nearbyint): Likewise.
37031 (nearbyintf): Likewise.
37033 2012-05-09 Andreas Jaeger <aj@suse.de>
37034 Pedro Alves <palves@redhat.com>
37036 * nscd/nscd.c (run_mode): Use enum.
37037 (main): Cleanup coding style issue.
37039 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37040 Andreas Jaeger <aj@suse.de>
37042 * nscd/nscd.c (go_background): Replaced with...
37043 (run_mode): ... this.
37044 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37045 (options): Add -F --foreground.
37046 (main): Implement it.
37047 (parse_opt): Parse it.
37049 2012-05-09 Andreas Jaeger <aj@suse.de>
37052 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37053 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37054 -Wconversion warning.
37055 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37058 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37060 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37062 (LC_ALL): Use macro-int-constant.
37063 (LC_COLLATE): Likewise.
37064 (LC_CTYPE): Likewise.
37065 (LC_MESSAGES): Likewise.
37066 (LC_MONETARY): Likewise.
37067 (LC_NUMERIC): Likewise.
37068 (LC_TIME): Likewise.
37069 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37070 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37072 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37074 [C99-based standards] (float_t): Expect type.
37075 [C99-based standards] (double_t): Expect type.
37076 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37078 [C99-based standards] (HUGE_VALL): Likewise.
37079 [C99-based standards] (INFINITY): Likewise.
37080 [C99-based standards] (NAN): Likewise.
37081 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37082 [C99-based standards] (FP_NAN): Likewise.
37083 [C99-based standards] (FP_NORMAL): Likewise.
37084 [C99-based standards] (FP_SUBNORMAL): Likewise.
37085 [C99-based standards] (FP_ZERO): Likewise.
37086 [C99-based standards] (FP_FAST_FMA): Use
37087 optional-macro-int-constant. Specify type. Require == 1.
37088 [C99-based standards] (FP_FAST_FMAF): Likewise.
37089 [C99-based standards] (FP_FAST_FMAL): Likewise.
37090 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37091 [C99-based standards] (FP_ILOGBNAN): Likewise.
37092 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37094 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37095 [C99-based standards] (math_errhandling): Specify type.
37096 [ISO99 || ISO11] (signgam): Do not allow.
37097 [non-C99-based standards] (copysignf): Do not allow.
37098 [non-C99-based standards] (exp2f): Likewise.
37099 [non-C99-based standards] (log2f): Likewise.
37100 [non-C99-based standards] (modff): Allow.
37101 [non-C99-based standards] (erff): Do not allow.
37102 [non-C99-based standards] (erfcf): Likewise.
37103 [non-C99-based standards] (gammaf): Likewise.
37104 [non-C99-based standards] (hypotf): Likewise.
37105 [non-C99-based standards] (j0f): Likewise.
37106 [non-C99-based standards] (j1f): Likewise.
37107 [non-C99-based standards] (jnf): Likewise.
37108 [non-C99-based standards] (lgammaf): Likewise.
37109 [non-C99-based standards] (tgammaf): Likewise.
37110 [non-C99-based standards] (y0f): Likewise.
37111 [non-C99-based standards] (y1f): Likewise.
37112 [non-C99-based standards] (ynf): Likewise.
37113 [non-C99-based standards] (isnanf): Likewise.
37114 [non-C99-based standards] (acoshf): Likewise.
37115 [non-C99-based standards] (asinhf): Likewise.
37116 [non-C99-based standards] (atanhf): Likewise.
37117 [non-C99-based standards] (cbrtf): Likewise.
37118 [non-C99-based standards] (expm1f): Likewise.
37119 [non-C99-based standards] (ilogbf): Likewise.
37120 [non-C99-based standards] (log1pf): Likewise.
37121 [non-C99-based standards] (logbf): Likewise.
37122 [non-C99-based standards] (nextafterf): Likewise.
37123 [non-C99-based standards] (remainderf): Likewise.
37124 [non-C99-based standards] (rintf): Likewise.
37125 [non-C99-based standards] (scalbf): Likewise.
37126 [non-C99-based standards] (copysignl): Likewise.
37127 [non-C99-based standards] (exp2l): Likewise.
37128 [non-C99-based standards] (log2l): Likewise.
37129 [non-C99-based standards] (modfl): Allow.
37130 [non-C99-based standards] (erfl): Do not allow.
37131 [non-C99-based standards] (erfcl): Likewise.
37132 [non-C99-based standards] (gammal): Likewise.
37133 [non-C99-based standards] (hypotl): Likewise.
37134 [non-C99-based standards] (j0l): Likewise.
37135 [non-C99-based standards] (j1l): Likewise.
37136 [non-C99-based standards] (jnl): Likewise.
37137 [non-C99-based standards] (lgammal): Likewise.
37138 [non-C99-based standards] (tgammal): Likewise.
37139 [non-C99-based standards] (y0l): Likewise.
37140 [non-C99-based standards] (y1l): Likewise.
37141 [non-C99-based standards] (ynl): Likewise.
37142 [non-C99-based standards] (isnanl): Likewise.
37143 [non-C99-based standards] (acoshl): Likewise.
37144 [non-C99-based standards] (asinhl): Likewise.
37145 [non-C99-based standards] (atanhl): Likewise.
37146 [non-C99-based standards] (cbrtl): Likewise.
37147 [non-C99-based standards] (expm1l): Likewise.
37148 [non-C99-based standards] (ilogbl): Likewise.
37149 [non-C99-based standards] (log1pl): Likewise.
37150 [non-C99-based standards] (logbl): Likewise.
37151 [non-C99-based standards] (nextafterl): Likewise.
37152 [non-C99-based standards] (remainderl): Likewise.
37153 [non-C99-based standards] (rintl): Likewise.
37154 [non-C99-based standards] (scalbl): Likewise.
37155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37156 [non-C99-based standards] (FP_*): Do not allow.
37157 [C99-based standards] (FP_*): Change to
37158 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37159 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37161 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37162 (SIG_ERR): Likewise.
37163 [X/Open-based standards] (SIG_HOLD): Likewise.
37164 (SIG_IGN): Likewise.
37165 (SIGABRT): Use macro-int-constant. Specify type. Require
37167 (SIGFPE): Likewise.
37168 (SIGILL): Likewise.
37169 (SIGINT): Likewise.
37170 (SIGSEGV): Likewise.
37171 (SIGTER): Likewise.
37172 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37173 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37174 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37175 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37176 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37177 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37178 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37179 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37180 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37181 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37182 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37183 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37184 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37185 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37186 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37187 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37188 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37189 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37190 [X/Open-based standards] (SIGTRAP): Likewise.
37191 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37192 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37193 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37194 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37195 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37198 2012-05-08 Ian Wienand <ianw@vmware.com>
37201 * time/tzset.c (__tzset_parse_tz): Update default rules for
37202 daylight time changes in the Energy Policy Act of 2005.
37204 2012-05-09 Andreas Jaeger <aj@suse.de>
37207 * elf/ldconfig.c (parse_conf): Change string to make clear that
37208 ldconfig only issued a warning if ld.so.conf does not exist.
37210 2012-05-08 David S. Miller <davem@davemloft.net>
37212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37213 movxtod instead of popping the value on the stack.
37215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37217 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37219 * config.h.in: Add HAVE_ARM_PCS_VFP.
37221 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37224 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37225 checking but the checks are disabled for any reason.
37227 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37229 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37230 and ELF64_R_TYPE with ELFW(R_TYPE).
37232 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37234 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37235 (ulimit): Likewise.
37237 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37238 (settimeofday): Likewise.
37240 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37242 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37243 a struct th_u2 inside the union, and move tu_block/tu_code into
37244 a new th_u3 union of tu_block/tu_code inside of that. Move
37245 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37246 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37247 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37248 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37249 (th_stuff): Change to th_u1.tu_stuff.
37251 (th_msg): Change to th_u1.th_u2.tu_data.
37253 2012-05-07 David S. Miller <davem@davemloft.net>
37255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37258 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37259 (SETUP_PIC_REG): Use it.
37260 (SETUP_PIC_REG_LEAF): Use it.
37262 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37268 (EXPL_FINITE): Likewise.
37269 (FLDLOG): Likewise.
37270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37271 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37275 (EXPL_FINITE): Likewise.
37276 (FLDLOG): Likewise.
37277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37278 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37280 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37281 test of -max_value argument for long double.
37282 * sysdeps/i386/fpu/libm-test-ulps: Update.
37283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37285 2012-05-06 David S. Miller <davem@davemloft.net>
37287 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37288 quad soft-float symbols whose references which are compiler
37290 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37292 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37296 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37298 (EXPL_FINITE): Likewise.
37299 (FLDLOG): Likewise.
37302 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37303 Adjust comments for base varying.
37304 (__expl_finite): Change alias to EXPL_FINITE.
37305 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37307 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37308 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37310 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37311 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37313 (EXPL_FINITE): Likewise.
37314 (FLDLOG): Likewise.
37317 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37318 Adjust comments for base varying.
37319 (__expl_finite): Change alias to EXPL_FINITE.
37320 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37325 * math/libm-test.inc (check_float_internal): Correct ulp
37326 calculation for subnormal expected results.
37328 2012-05-06 Andreas Jaeger <aj@suse.de>
37330 * Makeconfig (+math-flags): New, set to -frounding-math.
37331 (+cflags): Add +math-flags so that all of glibc gets compiled with
37334 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37336 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37338 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37344 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37345 (__ieee754_expl): Allow for and saturate large arguments.
37346 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37347 (u_threshold): Likewise.
37348 (__exp): Call __ieee754_exp before checking for overflow and
37350 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37351 (u_threshold): Likewise.
37352 (__expf): Call __ieee754_expf before checking for overflow and
37354 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37355 (u_threshold): Likewise.
37356 (__expl): Call __ieee754_expl before checking for overflow and
37358 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37359 (__ieee754_expl): Allow for and saturate large arguments.
37360 * math/libm-test.inc (exp_test): Add another test. Do not allow
37361 missing overflow exception on overflow.
37362 (expm1_test): Do not allow missing overflow exception on overflow.
37364 * sysdeps/i386/fpu/e_expl.c: Move to ...
37365 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37366 rather than using inline asm.
37367 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37368 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37369 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37371 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37374 (signal): Likewise.
37378 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37380 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37381 sysdeps/unix/common/syscalls.list.
37382 (fchmod): Likewise.
37383 (fchown): Likewise.
37384 (ftruncate): Likewise.
37385 (getrusage): Likewise.
37386 (gettimeofday): Likewise.
37387 (setpgid): Likewise.
37388 (setregid): Likewise.
37389 (setreuid): Likewise.
37390 (sigaction): Likewise.
37391 (truncate): Likewise.
37392 (vhangup): Likewise.
37393 * sysdeps/unix/common/syscalls.list: Remove file.
37394 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37395 * sysdeps/unix/sysv/linux/Implies: Likewise.
37397 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37399 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37401 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37405 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37408 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37411 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37414 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37417 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37420 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37423 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37431 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37434 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37438 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37442 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37444 * sysdeps/unix/common/bits/dirent.h: Remove file.
37445 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37447 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37448 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37449 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37450 * sysdeps/unix/bsd/isatty.c: Likewise.
37451 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37452 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37453 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37455 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37459 long double comparison inaccuracies.
37460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37463 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37465 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37468 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37472 nonzero digits before rounding a hex value.
37473 * stdlib/tst-strtod.c (tests): Add another test.
37475 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37477 * sysdeps/s390/fpu/libm-test-ulps: Update.
37479 2012-05-03 Andreas Jaeger <aj@suse.de>
37481 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37482 does not get optimized out.
37483 (malloc_opt_barrier): New.
37485 2012-05-03 Andreas Jaeger <aj@suse.de>
37486 Roland McGrath <roland@hack.frob.com>
37488 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37489 intermediate file deletion.
37490 (generated): Add .symlist files.
37492 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37495 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37496 Redirect under this condition.
37497 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37498 [__USE_GNU] (__dprintf_chk): Not under this condition.
37499 [__USE_GNU] (__vdprintf_chk): Likewise.
37500 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37501 under this condition.
37502 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37503 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37504 [__USE_XOPEN2K8] (vdprintf): Likewise.
37505 [__USE_GNU] (__dprintf_chk): Not under this condition.
37506 [__USE_GNU] (__vdprintf_chk): Likewise.
37507 [__USE_GNU] (dprintf): Likewise.
37508 [__USE_GNU] (vdprintf): Likewise.
37510 2012-05-03 Roland McGrath <roland@hack.frob.com>
37512 * elf/Makefile (common-generated): Set this instead of generated for
37513 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37514 $(all-built-dso)-derived lists.
37516 2012-05-03 Andreas Jaeger <aj@suse.de>
37518 * sysdeps/i386/fpu/libm-test-ulps: Update.
37521 * FAQ.in: Likewise.
37522 * scripts/gen-FAQ.pl: Likewise.
37523 * manual/install.texi (Installation): Point to online location of
37525 * Makefile (files-for-dist): Remove FAQ.
37528 2012-05-02 Allan McRae <allan@archlinux.org>
37530 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37531 (LDFLAGS-reldepmod5.so): Likewise.
37532 (LDFLAGS-reldep6mod1.so): Likewise.
37533 (LDFLAGS-reldep6mod4.so): Likewise.
37534 (LDFLAGS-reldep8mod3.so): Likewise.
37535 (LDFLAGS-unload4mod1.so): Likewise.
37536 (LDFLAGS-unload4mod2.so): Likewise.
37537 (LDFLAGS-tst-initorder): Likewise.
37538 (LDFLAGS-tst-initordera2.so): Likewise.
37539 (LDFLAGS-tst-initordera3.so): Likewise.
37540 (LDFLAGS-tst-initordera4.so): Likewise.
37541 (LDFLAGS-tst-initorderb2.so): Likewise.
37542 (LDFLAGS-noload): Likewise.
37543 (LDFLAGS-next): Likewise.
37544 (LDFLAGS-order2mod1.so): Likewise.
37545 (LDFLAGS-order2mod2.so): Likewise.
37546 (LDFLAGS-tst-initorder2): Likewise.
37547 (LDFLAGS-tst-initorder2a.so): Likewise.
37548 (LDFLAGS-tst-initorder2b.so): Likewise.
37549 (LDFLAGS-tst-initorder2c.so): Likewise.
37550 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37552 2012-05-02 David S. Miller <davem@davemloft.net>
37554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37556 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37559 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37561 2012-05-02 Andreas Jaeger <aj@suse.de>
37563 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37564 since we manipulate rounding mode.
37565 (CPPFLAGS-test-idouble.c): Likewise.
37566 (CPPFLAGS-test-ifloat.c): Likewise.
37567 (CFLAGS-test-ldouble.c): Likewise.
37568 (CFLAGS-test-double.c): Likewise.
37569 (CFLAGS-test-float.c): Likewise.
37570 (CFLAGS-test-misc.c): Likewise.
37571 (CFLAGS-test-test-fenv.c): Likewise.
37573 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37578 comparisons to determine direction to adjust input.
37580 2012-05-01 Roland McGrath <roland@hack.frob.com>
37582 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37583 output to the target.
37585 * scripts/localplt.awk: New file.
37586 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37587 (check-localplt-CFLAGS): Variable removed.
37588 ($(all-built-dso:=.jmprel)): New static pattern rule.
37589 (generated): Add those targets.
37590 (localplt-built-dso): New variable.
37591 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37593 * elf/check-localplt.c: File removed.
37595 * scripts/check-execstack.awk: New file.
37596 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37597 (check-execstack-CFLAGS): Variable removed.
37598 ($(objpfx)check-execstack.h): Target removed.
37599 ($(objpfx)execstack-default): New target.
37600 (generated): Add that instead of check-execstack.h.
37601 ($(all-built-dso:=.phdr)): New static pattern rule.
37602 (generated): Add those targets.
37603 * elf/check-execstack.c: File removed.
37605 * scripts/check-textrel.awk: New file.
37606 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37607 (check-textrel-CFLAGS): Variable removed.
37608 (all-built-dso): Use := to define.o
37609 ($(all-built-dso:=.dyn)): New static pattern rule.
37610 (generated): Add those targets.
37611 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37612 * config.make.in (READELF): New substituted variable.
37613 * elf/check-textrel.c: File removed.
37615 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37617 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37619 * conform/data/ctype.h-data [C99-based standards] (isblank):
37621 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37622 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37624 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37625 Specify type. Require positive value.
37626 (EILSEQ): Likewise.
37627 (ERANGE): Likewise.
37628 [ISO || POSIX] (EILSEQ): Do not expect.
37629 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37630 Specify type. Require positive value.
37631 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37632 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37633 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37634 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37635 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37636 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37637 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37638 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37639 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37640 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37641 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37642 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37643 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37644 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37645 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37646 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37647 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37648 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37649 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37651 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37652 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37653 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37654 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37655 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37656 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37657 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37658 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37659 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37660 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37661 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37662 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37663 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37664 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37665 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37671 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37672 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37673 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37674 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37675 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37676 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37677 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37678 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37679 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37683 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37695 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37705 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37706 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37707 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37709 (FLT_ROUNDS): Expect as macro, not constant.
37710 (FLT_MANT_DIG): Use macro-int-constant.
37711 (DBL_MANT_DIG): Likewise.
37712 (LDBL_MANT_DIG): Likewise.
37713 (FLT_DIG): Likewise.
37714 (DBL_DIG): Likewise.
37715 (LDBL_DIG): Likewise.
37716 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37717 (DBL_MIN_EXP): Likewise.
37718 (LDBL_MIN_EXP): Likewise.
37719 (FLT_MAX_EXP): Use macro-int-constant.
37720 (DBL_MAX_EXP): Likewise.
37721 (LDBL_MAX_EXP): Likewise.
37722 (FLT_MAX_10_EXP): Likewise.
37723 (DBL_MAX_10_EXP): Likewise.
37724 (LDBL_MAX_10_EXP): Likewise.
37725 (FLT_MAX): Use macro-constant.
37726 (DBL_MAX): Likewise.
37727 (LDBL_MAX): Likewise.
37728 (FLT_EPSILON): Use macro-constant. Give upper bound.
37729 (DBL_EPSILON): Likewise.
37730 (LDBL_EPSILON): Likewise.
37731 (FLT_MIN): Likewise.
37732 (DBL_MIN): Likewise.
37733 (LDBL_MIN): Likewise.
37734 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37735 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37736 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37737 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37738 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37739 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37740 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37741 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37742 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37743 [ISO11] (FLT_TRUE_MIN): Likewise.
37744 [ISO11] (LDBL_TRUE_MIN): Likewise.
37745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37746 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37747 (SCHAR_MIN): Use macro-int-constant. Specify type.
37748 (SCHAR_MAX): Likewise.
37749 (UCHAR_MAX): Likewise.
37750 (CHAR_MIN): Likewise.
37751 (CHAR_MAX): Likewise.
37752 (MB_LEN_MAX): Use macro-int-constant.
37753 (SHRT_MIN): Use macro-int-constant. Specify type.
37754 (SHRT_MAX): Likewise.
37755 (USHRT_MAX): Likewise.
37756 (INT_MAX): Likewise.
37757 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37759 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37761 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37763 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37764 bound negative. Suffix upper bound with "L".
37765 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37767 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37769 [C99-based standards] (LLONG_MAX): Likewise.
37770 [C99-based standards] (ULLONG_MAX): Likewise.
37771 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37773 [ISO11] (max_align_t): Require type.
37774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37776 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37777 from $CFLAGS, without defining away __attribute__ calls.
37778 (checknamespace): Use $CFLAGS_namespace.
37780 * conform/conformtest.pl (@keywords): Only include C99 keywords
37781 for standards based on C99 or C11.
37783 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37785 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37788 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37789 usability of symbols in #if.
37791 * conform/conformtest.pl: If macro or constant types start
37792 "promoted:", expect the symbol to be of the following type
37793 promoted by the integer promotions.
37795 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37796 in one place. Also handle "macro-constant".
37798 * conform/conformtest.pl: Only accept expected macro values with
37799 "==". Parse all "macro" lines in one place.
37800 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37802 * conform/conformtest.pl: Handle braced types on "constant" lines
37803 instead of handling "typed-constant".
37804 * conform/data/signal.h-data: Use "constant" instead of
37807 * conform/conformtest.pl: Handle "optional-" at start of lines in
37808 one place rather than duplicating several cases. Handle each
37809 format of "macro" line with initial "optional-".
37811 * conform/conformtest.pl: Only accept expected constant or
37812 optional-constant values with "==". Parse all "constant" lines in
37813 one place. Parse all "optional-constant" lines in one place.
37814 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37815 * conform/data/fmtmsg.h-data: Likewise.
37816 * conform/data/netinet/in.h-data: Likewise.
37817 * conform/data/tar.h-data: Likewise.
37818 * conform/data/limits.h-data: Use "==" form on "constant" and
37819 "optional-constant" lines.
37821 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37822 Use -std=c99 for XOPEN2K.
37823 (@knownproblems): Remove.
37824 (newtoken): Don't check %isknown.
37826 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37827 Do not expect macro.
37828 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37829 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37830 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37831 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37832 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37833 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37834 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37835 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37836 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37837 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37838 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37839 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37840 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37841 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37842 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37843 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37844 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37845 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37846 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37847 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37848 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37849 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37850 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37851 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37852 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37853 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37854 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37855 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37856 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37857 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37858 [XPG3] (acosh): Likewise.
37859 [XPG3] (asinh): Likewise.
37860 [XPG3] (atanh): Likewise.
37861 [XPG3] (cbrt): Likewise.
37862 [XPG3] (expm1): Likewise.
37863 [XPG3] (ilogb): Likewise.
37864 [XPG3] (log1p): Likewise.
37865 [XPG3] (logb): Likewise.
37866 [XPG3] (nextafter): Likewise.
37867 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37868 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37869 [XPG3] (remainder): Likewise.
37870 [XPG3] (rint): Likewise.
37871 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37872 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37873 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37874 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37875 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37876 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37877 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37878 [UNIX98 || XOPEN2K] (scalb): Expect.
37879 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37880 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37881 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37882 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37883 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37884 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37885 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37889 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37890 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37895 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37896 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37897 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37898 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37899 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37900 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37901 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37902 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37903 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37906 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37907 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37908 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37909 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37915 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37916 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37917 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37918 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37919 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37921 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37922 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37927 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38017 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38018 _XOPEN_SOURCE_EXTENDED for XPG4.
38020 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38022 * Makeconfig (localtime): Remove variable.
38023 (inst_localtime-file): Likewise.
38025 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38046 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38050 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38051 comparisons to determine direction to adjust input.
38052 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38053 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38063 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38065 * math/libm-test.inc (nexttoward_test): Add more tests.
38067 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38070 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38071 in version GLIBC_2.1, not GLIBC_2.0.
38072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38075 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38078 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38080 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38081 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38082 * math/libm-test.inc (acos_test): Add more tests.
38083 (asin_test): Likewise.
38084 * sysdeps/i386/fpu/libm-test-ulps: Update.
38085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38088 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38090 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38091 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38092 * math/libm-test.inc (acos_test_tonearest): New function.
38093 (acos_test_towardzero): Likewise.
38094 (acos_test_downward): Likewise.
38095 (acos_test_upward): Likewise.
38096 (asin_test_tonearest): Likewise.
38097 (asin_test_towardzero): Likewise.
38098 (asin_test_downward): Likewise.
38099 (asin_test_upward): Likewise.
38100 (main): Call the new functions.
38101 * sysdeps/i386/fpu/libm-test-ulps: Update.
38102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38106 * math/e_exp10.c: Include <float.h>.
38107 (__ieee754_exp10): Handle underflow here rather than multiplying
38108 large negative argument by M_LN10.
38109 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38111 * math/e_exp10l.c: Include <float.h>.
38112 (__ieee754_exp10l): Handle underflow here rather than multiplying
38113 large negative argument by M_LN10l.
38114 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38115 spurious overflow exception on underflow.
38117 2012-04-29 Marek Polacek <polacek@redhat.com>
38119 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38120 (__fortify_function): New macro.
38121 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38122 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38123 __extern_always_inline.
38124 * libio/bits/stdio2.h: Likewise.
38125 * libio/bits/stdio.h: Likewise.
38126 * string/string.h: Likewise.
38127 * string/bits/string3.h: Likewise.
38128 * include/stdio.h: Likewise.
38129 * stdlib/bits/stdlib.h: Likewise.
38130 * stdlib/stdlib.h: Likewise.
38131 * rt/bits/mqueue2.h: Likewise.
38132 * rt/mqueue.h: Likewise.
38133 * posix/bits/unistd.h: Likewise.
38134 * posix/unistd.h: Likewise.
38135 * io/bits/poll2.h: Likewise.
38136 * io/bits/fcntl2.h: Likewise.
38137 * io/fcntl.h: Likewise.
38138 * io/sys/poll.h: Likewise.
38139 * misc/bits/syslog.h: Likewise.
38140 * misc/bits/syslog-ldbl.h: Likewise.
38141 * misc/sys/syslog.h: Likewise.
38142 * socket/bits/socket2.h: Likewise.
38143 * socket/sys/socket.h: Likewise.
38144 * debug/tst-chk1.c: Likewise.
38145 * wcsmbs/bits/wchar2.h: Likewise.
38146 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38147 * wcsmbs/wchar.h: Likewise.
38149 2012-04-29 Andreas Jaeger <aj@suse.de>
38151 * Makerules (tests): Remove enable-check-abi protection.
38152 (check-abi-warn): Remove.
38153 (check-abi-%): Remove check-abi-warn usage.
38155 * configure.in: Remove check-abi configure option.
38156 * configure: Regenerated.
38157 * config.make.in (enable-check-abi): Remove.
38159 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38162 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38163 double functions to double *_finite functions.
38166 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38167 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38169 * stdio-common/Makefile (tests): Add tst-sprintf3.
38170 * stdio-common/tst-sprintf3.c: New file.
38172 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38173 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38175 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38177 * conform/conformtest.pl: Remove duplicate typed-constant
38180 2012-04-28 David S. Miller <davem@davemloft.net>
38182 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38183 (check-abi-%): Remove AWK script prerequisite and explicit
38185 (check-abi): Rewrite to just diff the symlist with the abilist.
38186 (config-tls, config-abi-config): Delete, no longer used.
38187 (update-abi-%): Remove AWK script and explicit abilist directory.
38188 (update-abi): Rewrite to simply compare and conditionally copy the
38189 symlist and the sysdep abilist file. Remove update-abi-config
38191 * abilist/ld.abilist: Remove.
38192 * abilist/libBrokenLocale.abilist: Remove.
38193 * abilist/libanl.abilist: Remove.
38194 * abilist/libcrypt.abilist: Remove.
38195 * abilist/libdl.abilist: Remove.
38196 * abilist/librt.abilist: Remove.
38197 * abilist/libthread_db.abilist: Remove.
38198 * abilist/libutil.abilist: Remove.
38199 * scripts/extract-abilist.awk: Remove.
38200 * scripts/merge-abilist.awk: Remove.
38201 * sysdeps/generic/libcidn.abilist: New file.
38202 * sysdeps/generic/libnss_compat.abilist: New file.
38203 * sysdeps/generic/libnss_db.abilist: New file.
38204 * sysdeps/generic/libnss_dns.abilist: New file.
38205 * sysdeps/generic/libnss_files.abilist: New file.
38206 * sysdeps/generic/libnss_hesiod.abilist: New file.
38207 * sysdeps/generic/libnss_nis.abilist: New file.
38208 * sysdeps/generic/libnss_nisplus.abilist: New file.
38209 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38211 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38215 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38216 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38217 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38218 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38219 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38220 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38221 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38223 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38224 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38225 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38226 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38228 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38229 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38230 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38231 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38232 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38233 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38235 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38236 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38237 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38239 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38342 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38343 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38344 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38347 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38348 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38349 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38350 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38351 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38352 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38354 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38355 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38407 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38409 * conform/conformtest.pl: Fix typo in handling typed-constant from
38412 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38414 * README: Cut down references to pre-2.6 Linux kernels and
38415 Linuxthreads. Update lists of configurations in libc and ports
38416 and sort alphabetically. Say "or newer" with Linux kernel version
38419 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38421 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38424 * math/libm-test.inc (logb_test_downward): New test to expose
38425 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38428 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38431 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38433 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38434 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38436 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38438 * sysdeps/unix/i386/brk.S: Remove file.
38439 * sysdeps/unix/i386/dl-brk.S: Likewise.
38440 * sysdeps/unix/i386/pipe.S: Likewise.
38441 * sysdeps/unix/i386/sigreturn.S: Likewise.
38442 * sysdeps/unix/i386/syscall.S: Likewise.
38443 * sysdeps/unix/i386/vfork.S: Likewise.
38444 * sysdeps/unix/i386/wait.S: Likewise.
38446 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38447 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38449 * configure.in (arm*-none*): Do not allow without
38450 --enable-hacker-mode.
38451 (netbsd*): Remove case setting base_os.
38452 (386bsd*): Likewise.
38453 (freebsd*): Likewise.
38456 (sunos*): Likewise.
38457 (ultrix*): Likewise.
38458 (newsos*): Likewise.
38459 (dynix*): Likewise.
38465 (minix*): Likewise.
38466 (irix4*): Likewise.
38467 (irix6*): Likewise.
38468 (solaris[2-9]*): Likewise.
38470 * configure: Regenerated.
38472 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38475 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38476 overflow or cancellation in calculating denominator.
38477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38479 down expression to avoid unexpected rounding in newer GCCs.
38480 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38482 2012-04-26 David S. Miller <davem@davemloft.net>
38484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38485 long-double compat symbols.
38486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38500 2012-04-25 David S. Miller <davem@davemloft.net>
38502 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38503 HWCAP_* values only after the memory barriers have been defined.
38504 (atomic_full_barrier): Define.
38505 (atomic_read_barrier): Define.
38506 (atomic_write_barrier): Define.
38508 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38510 * shlib-versions: Add libgcc_s version information.
38511 * sysdeps/generic/libgcc_s.h: Remove.
38512 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38514 * sysdeps/gnu/unwind-resume.c: Likewise.
38515 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38517 2012-04-25 David S. Miller <davem@davemloft.net>
38519 * sysdeps/unix/sparc/brk.S: Delete.
38520 * sysdeps/unix/sparc/dl-brk.S: Delete.
38521 * sysdeps/unix/sparc/pipe.S: Delete.
38522 * sysdeps/unix/sparc/sysdep.S: Delete.
38523 * sysdeps/unix/sparc/sysdep.h: Delete.
38524 * sysdeps/unix/sparc/vfork.S: Delete.
38525 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38526 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38527 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38528 (ret_ERRVAL, r0, r1, MOVE): Define.
38529 (JUMPTARGET): Remove.
38530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38531 sysdeps/unix/sparc/sysdep.h
38532 (ENTRY, END): Remove.
38533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38535 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38537 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38538 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38541 * timezone/README: Update upstream location and email address for
38543 * timezone/zdump.c: Update from tzcode 2012b.
38544 * timezone/zic.c: Likewise.
38546 * configure.in (libc_cv_as_needed): Remove test.
38547 * configure: Regenerated.
38548 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38549 conditional definition.
38550 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38551 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38552 * config.make.in (have-as-needed): Remove variable.
38554 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38555 Paul Pluzhnikov <ppluzhnikov@google.com>
38557 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38560 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38562 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38563 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38564 * sysdeps/sh/strlen.S: Likewise.
38566 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38568 * sysdeps/unix/fork.S: Remove file.
38569 * sysdeps/unix/i386/fork.S: Likewise.
38570 * sysdeps/unix/sparc/fork.S: Likewise.
38572 * sysdeps/unix/system.c: Remove file.
38573 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38575 * sysdeps/unix/getegid.S: Remove file.
38576 * sysdeps/unix/geteuid.S: Likewise.
38578 2012-04-24 Roland McGrath <roland@hack.frob.com>
38580 * scripts/check-localplt.awk: New file.
38581 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38583 * scripts/data/localplt-generic.data: Add a comment.
38585 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38586 NODE when __dir_mkfile failed.
38587 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38588 Reported by Ludovic Courtès <ludo@gnu.org>.
38590 2012-04-24 Andreas Jaeger <aj@suse.de>
38592 * Makerules (common-clean): Also remove gen-as-const-headers
38595 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38597 * Makerules (native-compile): Do not change working directory for
38598 build. Use $(OUTPUT_OPTION) in command.
38599 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38601 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38604 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38605 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38606 * math/libm-test.inc (floor_test): Add more tests.
38607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38609 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38611 * sysdeps/unix/getdents.c: Remove file.
38612 * sysdeps/unix/sysv/getdents.c: Likewise.
38613 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38615 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38616 sysdeps/unix/mman/syscalls.list.
38618 (mprotect): Likewise.
38620 (munmap): Likewise.
38621 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38622 * sysdeps/unix/mman/syscalls.list: Remove.
38623 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38625 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38626 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38627 * configure: Regenerated.
38628 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38629 $(libgcc_s_suffix).
38630 * config.make.in (libgcc_s_suffix): Remove variable.
38632 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38634 * sysdeps/unix/sysv/gethostname.c: Move to ...
38635 * sysdeps/posix/gethostname.c: ... here.
38637 * sysdeps/unix/execve.S: Remove file.
38639 * sysdeps/unix/_exit.S: Remove file.
38641 2012-04-23 Andreas Jaeger <aj@suse.de>
38644 * manual/Makefile: Remove make dist support, there's no
38645 need for a stand-alone documentation tar ball.
38646 (TEXI2DVI): Define always, it's not in Makeconfig.
38649 (edition): Removed.
38650 (glibc-doc-$(edition).tar): Removed
38654 (ETAGS): Remove, it's in Makeconfig.
38655 (move-if-change): Remove, it's in Makeconfig.
38657 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38660 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38661 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38662 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38663 (strtod_l, strtof_l, strtold_l): Remove __wur.
38664 It is not necessarily an error to ignore strtol's return value.
38665 One can reliably look at the stored endptr to decide whether
38666 the number had valid syntax.
38668 2012-04-21 Andreas Jaeger <aj@suse.de>
38671 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38673 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38676 * sysdeps/unix/sysv/Versions: Remove file.
38678 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38683 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38687 version from __vm86.
38689 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38691 * sysdeps/unix/common/lxstat.c: Remove file.
38692 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38694 * sysdeps/unix/sysv/Makefile: Remove file.
38696 * sysdeps/unix/sysv/direct.h: Remove file.
38698 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38699 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38700 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38701 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38702 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38703 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38704 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38706 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38708 * sysdeps/unix/xmknod.c: Remove file.
38709 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38711 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38713 * sysdeps/unix/sysv/i386/time.S: Remove file.
38715 * sysdeps/unix/fxstat.c: Remove file.
38716 * sysdeps/unix/xstat.c: Likewise.
38717 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38719 * sysdeps/unix/sysv/sigaction.c: Remove file.
38721 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38722 (sysdep_headers): Remove variable.
38723 [termio.h not in sysdep_headers] (generated): Likewise.
38724 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38725 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38726 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38727 * sysdeps/unix/sysv/tcflow.c: Likewise.
38728 * sysdeps/unix/sysv/tcflush.c: Likewise.
38729 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38730 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38731 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38732 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38733 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38735 * sysdeps/unix/siglist.c: Remove file.
38737 * sysdeps/unix/getppid.S: Remove file.
38739 * sysdeps/unix/mkdir.c: Remove file.
38740 * sysdeps/unix/rmdir.c: Likewise.
38742 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38744 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38747 errlist-compat value.
38749 2012-04-18 David S. Miller <davem@davemloft.net>
38751 * sysdeps/generic/memcopy.h (reg_char): Delete.
38752 * debug/strcat_chk.c: Use char, not reg_char.
38753 * debug/strcpy_chk.c: Likewise.
38754 * debug/strncat_chk.c: Likewise.
38755 * debug/strncpy_chk.c: Likewise.
38756 * string/memchr.c: Likewise.
38757 * string/memrchr.c: Likewise.
38758 * string/rawmemchr.c: Likewise.
38759 * string/strcat.c: Likewise.
38760 * string/strchr.c: Likewise.
38761 * string/strchrnul.c: Likewise.
38762 * string/strcmp.c: Likewise.
38763 * string/strcpy.c: Likewise.
38764 * string/strncat.c: Likewise.
38765 * string/strncmp.c: Likewise.
38766 * string/strncpy.c: Likewise.
38768 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38770 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38771 __builtin_memcopy is called when src and dest ranges are known to not
38774 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38777 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38778 fwd_align_merge macro call.
38779 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38780 bwd_align_merge macro call.
38781 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38783 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38786 bwd_align_merge macros.
38787 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38788 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38791 2012-04-18 David S. Miller <davem@davemloft.net>
38793 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38795 2012-04-18 Andreas Jaeger <aj@suse.de>
38798 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38799 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38800 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38802 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38803 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38804 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38806 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38807 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38808 Adjust for changed ldbl-128 files.
38810 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38811 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38814 2012-04-17 David S. Miller <davem@davemloft.net>
38816 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38818 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38820 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38821 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38822 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38823 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38824 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38825 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38827 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38830 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38831 * math/libm-test.inc: Add ilogb errno and exception tests.
38832 * math/w_ilogb.c: New file: ilogb wrapper.
38833 * math/w_ilogbf.c: New file: ilogbf wrapper.
38834 * math/w_ilogbl.c: New file: ilogbl wrapper.
38835 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38836 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38837 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38838 exception being thrown with 0.0 as argument.
38839 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38840 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38841 exception being thrown with 0.0 as argument.
38842 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38843 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38844 exception being thrown with 0.0 as argument.
38845 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38846 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38847 exception being thrown with 0.0 as argument.
38848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38849 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38851 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38853 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38854 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38855 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38856 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38858 2012-04-17 Petr Baudis <pasky@ucw.cz>
38860 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38863 2012-04-16 Marek Polacek <polacek@redhat.com>
38865 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38867 2012-04-16 Marek Polacek <polacek@redhat.com>
38869 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38870 operands of fdivp instruction.
38872 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38874 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38875 * elf/tst-auditmod3b.c: Likewise.
38876 * elf/tst-auditmod4b.c: Likewise.
38877 * elf/tst-auditmod5b.c: Likewise.
38878 * elf/tst-auditmod6b.c: Likewise.
38879 * elf/tst-auditmod6c.c: Likewise.
38880 * elf/tst-auditmod7b.c: Likewise.
38881 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38882 * sysdeps/x86_64/preconfigure.in: Likewise.
38883 * sysdeps/x86_64/preconfigure: Regenerated.
38885 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38887 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38890 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38893 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38895 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38898 * locale/iso-639.def: Fix gl language name. Spotted by
38901 2012-04-12 Roland McGrath <roland@hack.frob.com>
38904 * libio/libio.h (__io_write_fn): Update comment.
38906 2012-04-12 Petr Baudis <pasky@ucw.cz>
38909 * stdio.texi (Hook Functions): The user provided writer function
38910 is not allowed to return -1.
38912 2012-04-11 David S. Miller <davem@davemloft.net>
38914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38916 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38918 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38919 Add a leading slash to rtkaio.
38921 2012-04-11 Jim Meyering <meyering@redhat.com>
38924 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38925 It is not necessarily an error to ignore fwrite's return
38926 value. One can reliably use ferror to test for errors after
38929 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38931 * bits/types.h (__snseconds_t): New type.
38932 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38934 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38936 (__SNSECONDS_T_TYPE): Likewise.
38937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38938 (__SNSECONDS_T_TYPE): Likewise.
38939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38940 (__SNSECONDS_T_TYPE): Likewise.
38942 2012-04-10 Andreas Jaeger <aj@suse.de>
38945 * manual/time.texi (Processor Time): Return type of times is
38946 elapsed real time since an arbitrary point in the past.
38947 (CPU Time): Move CLK_TCK from here...
38948 (Processor Time): ...to here. Correct description.
38949 * manual/conf.texi (Constants for Sysconf): Correct description of
38952 2012-04-10 David S. Miller <davem@davemloft.net>
38955 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38956 where the is a gap between DT_REL(A) and DT_JMPREL.
38958 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38960 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38961 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38962 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38964 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38966 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38967 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38968 (dl_main): Handle --inhibit-cache.
38969 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38971 * elf/dl-load.c (_dl_map_object): Use it.
38972 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38974 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38977 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38978 (__ieee754_powl): Saturate large exponents rather than testing for
38979 overflow of y*log2(x).
38980 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38981 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38985 * math/s_ctan.c: Include <float.h>.
38986 (__ctan): Avoid internal overflow or cancellation in calculating
38988 * math/s_ctanf.c: Likewise.
38989 * math/s_ctanl.c: Likewise.
38990 * math/s_ctanh.c: Likewise.
38991 * math/s_ctanhf.c: Likewise.
38992 * math/s_ctanhl.c: Likewise.
38993 * math/libm-test.inc (ctan_test): Add more tests.
38994 (ctanh_test): Likewise.
38995 * sysdeps/i386/fpu/libm-test-ulps: Update.
38996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38998 2012-04-09 Andreas Jaeger <aj@suse.de>
39001 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39002 is an optional BSD extension.
39005 * manual/stdio.texi (Opening Streams): Document additional fopen
39008 2012-04-09 Roland McGrath <roland@hack.frob.com>
39010 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39011 %eax without telling the compiler.
39013 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39016 * manual/install.texi: Use sourceware.org.
39018 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39021 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39022 (__ieee754_pow): Generate overflow and underflow using huge*huge
39023 and tiny*tiny rather than just returning constant infinity or zero
39024 for large exponents.
39025 * math/libm-test.inc (pow_test): Require overflow exceptions for
39026 applicable cases of large exponents.
39029 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39030 (__ieee754_pow): Use iterative multiplication algorithm only for
39031 integer exponents with absolute value below 1024. Check for odd
39032 integer exponents when using algorithm for real exponents.
39033 * math/libm-test.inc (pow_test): Add more tests.
39034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39036 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39039 * math/libm-test.inc (exp_test): Do not allow overflow exception
39042 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39045 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39046 instead of __kernel_standard_f.
39048 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39050 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39051 * sysdeps/x86_64/memset_chk.S: Likewise.
39053 2012-04-08 Andreas Jaeger <aj@suse.de>
39056 * manual/startup.texi (Environment Access): Describe return value
39057 for putenv and setenv.
39060 * manual/filesys.texi (Directory Entries): Add description for
39064 * manual/filesys.texi (Directory Entries): Clarify that it's file
39065 system not operating system in the description of DT_UNKNOWN.
39068 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39070 2012-04-08 Stephen Compall <s11@member.fsf.org>
39073 * manual/llio.texi (Opening and Closing Files): Add cross
39074 reference to explain mode argument.
39076 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39078 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39079 * sysdeps/x86_64/memset_chk.S: Likewise.
39081 2012-04-07 David S. Miller <davem@davemloft.net>
39083 * elf/elf.h (R_SPARC_WDISP10): Define.
39084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39086 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39087 R_SPARC_SIZE64 and R_SPARC_H34.
39089 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39091 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39092 conditions and remove no longer applicable assertion.
39094 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39096 * bits/byteswap.h: Include <features.h>.
39097 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39098 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39100 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39102 * bits/byteswap.h (__bswap_16): Removed.
39103 Include <bits/byteswap-16.h> to get __bswap_16.
39104 * sysdeps/i386/bits/byteswap.h: Likewise.
39105 * sysdeps/s390/bits/byteswap.h: Likewise.
39106 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39107 * bits/byteswap-16.h: New file.
39108 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39109 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39110 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39111 * string/Makefile (headers): Add bits/byteswap-16.h.
39113 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39116 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39118 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39119 * nss/tst-nss-static.c: New.
39121 2012-04-06 Robert Millan <rmh@gnu.org>
39124 * manual/llio.texi (File Position Primitive): lseek
39125 refers to WHENCE when it really means OFFSET.
39127 2012-04-06 Andreas Jaeger <aj@suse.de>
39129 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39130 strncmp declarations.
39132 * abilist/libc.abilist: Add __poll and __ppoll.
39134 2012-04-05 David S. Miller <davem@davemloft.net>
39136 * scripts/check-local-headers.sh: Accept a host triplet in the
39137 path matched by the exclude regexp.
39139 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39141 * sysdeps/powerpc/powerpc32/dl-machine.h
39142 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39143 * sysdeps/s390/s390-32/dl-machine.h
39144 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39145 * sysdeps/sparc/sparc32/dl-machine.h
39146 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39147 * sysdeps/sparc/sparc64/dl-machine.h
39148 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39150 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39152 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39153 undefined symbol errors.
39155 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39158 2012-04-05 Michael Matz <matz@suse.de>
39161 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39163 2012-04-05 Andreas Jaeger <aj@suse.de>
39166 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39169 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39171 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39172 which ROUND is no valid rounding mode.
39174 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39176 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39178 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39180 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39182 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39183 an exception using FPU order intentionally.
39185 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39187 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39188 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39189 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39190 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39192 2012-04-05 Simon Josefsson <simon@josefsson.org>
39195 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39196 EINVAL when BUFLEN is too smal.
39198 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39201 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39202 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39204 2012-04-03 Andreas Jaeger <aj@suse.de>
39207 * manual/setjmp.texi (System V contexts): Fix sentence.
39210 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39211 New macro for this case.
39212 [!__GNUC__] (__bswap_64): New inline function for this case.
39213 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39214 * bits/byteswap.h: Likewise.
39215 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39216 ull, guard with __GLIBC_HAVE_LONG_LONG.
39218 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39219 __GLIBC_HAVE_LONG_LONG.
39221 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39222 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39224 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39227 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39228 inptr and inend, rather than using last_ch.
39230 2012-04-02 David S. Miller <davem@davemloft.net>
39232 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39233 * stdio-common/printf-parse.h (read_int): Change return type to
39234 'int', return -1 on INT_MAX overflow.
39235 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39236 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39237 overflows INT_MAX. Check for overflow of in-format-string precision
39238 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39239 SIZE_MAX not INT_MAX for integer overflow test.
39240 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39241 skip the construct in the format string but do not record anything.
39242 * stdio-common/bug22.c: Adjust to test both width/prevision
39243 INT_MAX overflow as well as total length INT_MAX overflow. Check
39244 explicitly for proper errno values.
39246 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39248 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39250 * string/test-strcmp.c [! WIDE]: Likewise.
39251 * time/tst-mktime2.c: Likewise for INT_MAX.
39252 * string/test-string.h: #include <sys/param.h> for MIN.
39254 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39255 * sysdeps/i386/init-first.c (init): Likewise.
39256 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39257 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39258 * sysdeps/sh/init-first.c (init): Likewise.
39260 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39262 * po/ru.po: Update from translation team.
39263 * po/vi.po: Likewise.
39265 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39267 * resolv/nss_dns/dns-host.c: Merge copyright years.
39269 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39271 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39272 Optimize memcpy with prefetch if
39273 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39274 src, dst pointers have unequal 16 byte alignments.
39276 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39279 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39280 from a CNAME entry and return the minimum ttl for the query.
39281 (gaih_getanswer_slice): Likewise.
39283 2012-03-30 Jeff Law <law@redhat.com>
39285 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39287 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39288 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39290 * resolv/nss_dns/dns-host.c: Update copyright year.
39292 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39294 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39295 requests to save a system call. Fix check that all bytes are sent.
39297 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39298 comments for sendmmsg.
39300 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39303 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39304 with only 1 character between 0x0041 and 0x01b0.
39305 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39306 * wcsmbs/tst-mbsnrtowcs.c: New file.
39308 2012-03-29 David S. Miller <davem@davemloft.net>
39310 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39311 small copies by hand.
39313 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39316 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39317 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39320 2012-03-28 David S. Miller <davem@davemloft.net>
39322 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39323 that branches into memcpy.
39324 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39325 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39326 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39327 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39328 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39330 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39331 implementation too.
39332 * sysdeps/sparc/mempcpy.S: New file.
39334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39335 the IFUNC routine in the libc case.
39336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39338 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39339 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39340 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39341 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39342 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39343 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39344 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39345 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39347 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39348 loop to 256 bytes instead of 64 bytes and fix test signedness.
39350 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39351 * sysdeps/sparc/sparc32/Makefile: rather than here...
39352 * sysdeps/sparc/sparc64/Makefile: and here.
39354 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39356 * malloc/mallocbug.c: Avoid warnings about unused variables.
39358 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39361 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39362 in the right place. Discard and retry query if response is
39363 larger than input buffer size.
39365 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39370 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39371 x for large integer exponent.
39372 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39373 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39374 sign of result as needed afterwards.
39375 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39376 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39377 result for underflowing pow the same as for overflow.
39378 (__kernel_standard_l): Handle powl overflow and underflow here
39379 rather than calling __kernel_standard.
39380 * math/libm-test.inc (pow_test): Add more tests.
39395 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39396 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39397 (__kernel_standard_l): New function.
39398 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39400 * math/w_acosl.c (__acosl): Likewise.
39401 * math/w_asinl.c (__asinl): Likewise.
39402 * math/w_atan2l.c (__atan2l): Likewise.
39403 * math/w_atanhl.c (__atanhl): Likewise.
39404 * math/w_coshl.c (__coshl): Likewise.
39405 * math/w_exp10l.c (__exp10l): Likewise.
39406 * math/w_exp2l.c (__exp2l): Likewise.
39407 * math/w_fmodl.c (__fmodl): Likewise.
39408 * math/w_hypotl.c (__hypotl): Likewise.
39409 * math/w_j0l.c (__j0l, __y0l): Likewise.
39410 * math/w_j1l.c (__j1l, __y1l): Likewise.
39411 * math/w_jnl.c (__jnl, __ynl): Likewise.
39412 * math/w_lgammal.c (__lgammal): Likewise.
39413 * math/w_log10l.c (__log10l): Likewise.
39414 * math/w_log2l.c (__log2l): Likewise.
39415 * math/w_logl.c (__logl): Likewise.
39416 * math/w_powl.c (__powl): Likewise.
39417 * math/w_remainderl.c (__remainderl): Likewise.
39418 * math/w_scalbl.c (sysv_scalbl): Likewise.
39419 * math/w_sinhl.c (__sinhl): Likewise.
39420 * math/w_sqrtl.c (__sqrtl): Likewise.
39421 * math/w_tgammal.c (__tgammal): Likewise.
39422 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39423 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39424 * math/libm-test.inc (acos_test): Add more tests.
39425 (acosh_test): Likewise.
39426 (asin_test): Likewise.
39427 (atanh_test): Likewise.
39428 (exp_test): Likewise.
39429 (exp10_test): Likewise.
39430 (exp2_test): Likewise.
39431 (expm1_test): Likewise.
39432 (lgamma_test): Likewise.
39433 (log_test): Likewise.
39434 (log10_test): Likewise.
39435 (log1p_test): Likewise.
39436 (log2_test): Likewise.
39437 (pow_test): Do not allow some spurious overflow exceptions.
39438 (sqrt_test): Add more tests.
39439 (tgamma_test): Likewise.
39440 (y0_test): Likewise.
39441 (y1_test): Likewise.
39442 (yn_test): Likewise.
39444 2012-03-27 Anton Blanchard <anton@samba.org>
39446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39449 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39452 2012-03-27 David S. Miller <davem@davemloft.net>
39454 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39456 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39457 have-as-vis3 check.
39459 2012-03-27 Andreas Jaeger <aj@suse.de>
39461 * sysdeps/x86_64/elf/configure.in: Moved to ...
39462 * sysdeps/x86_64/configure.in: ... here.
39463 * sysdeps/x86_64/elf/start.S: Moved to ...
39464 * sysdeps/x86_64/start.S: ... here.
39465 * sysdeps/x86_64/elf/configure: Delete.
39467 * sysdeps/x86_64/configure.in: Merge contents from
39468 sysdeps/i386/configure.in (without i686 check).
39470 * sysdeps/i386/elf/Versions: Merge into ...
39471 * sysdeps/i386/Versions: ... this.
39472 * sysdeps/i386/elf/Versions: Delete file.
39473 * sysdeps/i386/elf/start.S: Moved to ...
39474 * sysdeps/i386/start.S: ...here.
39475 * sysdeps/i386/elf/configure.in: Merge into...
39476 * sysdeps/i386/configure.in: ...here.
39477 * sysdeps/i386/elf/configure.in: Delete file.
39478 * sysdeps/i386/elf/configure: Delete file.
39480 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39481 * debug/backtracesyms.c: ... here.
39482 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39483 * debug/backtracesymsfd.c: ... here.
39484 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39485 * sysdeps/generic/ifunc-sel.h: ... here.
39487 * sysdeps/unix/i386/start.c: Delete file.
39488 * sysdeps/unix/sparc/start.c: Delete file.
39489 * sysdeps/unix/start.c: Delete file.
39491 * sysdeps/sh/elf/configure.in: Moved to ...
39492 * sysdeps/sh/configure.in: ... here.
39493 * sysdeps/sh/elf/start.S: Moved to ...
39494 * sysdeps/sh/start.S: ... here.
39495 * sysdeps/sh/elf/configure: Delete file.
39497 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39498 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39499 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39500 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39501 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39502 * sysdeps/powerpc/powerpc64/start.S: here.
39503 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39504 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39505 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39506 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39507 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39509 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39510 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39511 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39512 * sysdeps/powerpc/powerpc32/start.S: ... here.
39513 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39514 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39515 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39517 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39518 * sysdeps/powerpc/ifunc-sel.h: ... here.
39519 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39520 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39522 * sysdeps/sparc/elf/configure.in: Moved to ...
39523 * sysdeps/sparc/configure.in: ... here.
39524 * sysdeps/sparc/elf/configure: Delete file.
39525 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39526 * sysdeps/sparc/sparc32/start.S: ... here.
39527 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39528 * sysdeps/sparc/sparc64/start.S: ... here.
39529 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39530 * sysdeps/sparc/sparc32/Makefile: ... this.
39531 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39532 * sysdeps/sparc/sparc64/Makefile: ... this.
39534 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39535 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39536 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39537 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39538 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39539 * sysdeps/s390/s390-32/setjmp.S: ... here.
39540 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39541 * sysdeps/s390/s390-32/configure.in: ... here.
39542 * sysdeps/s390/s390-32/elf/configure: Delete file.
39543 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39544 * sysdeps/s390/s390-32/start.S: ... here.
39546 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39547 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39548 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39549 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39550 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39551 * sysdeps/s390/s390-64/setjmp.S: ... here.
39552 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39553 * sysdeps/s390/s390-64/configure.in: ... here
39554 * sysdeps/s390/s390-64/elf/configure: Delete file.
39555 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39556 * sysdeps/s390/s390-64/start.S: ... here.
39557 * sysdeps/s390/s390-64/elf/configure: Delete.
39559 * configure.in: Remove support for elf directories in sysdeps.
39561 * configure: Regenerated.
39562 * sysdeps/i386/configure: Regenerated.
39563 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39564 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39565 * sysdeps/s390/s390-32/configure: Regenerated.
39566 * sysdeps/s390/s390-64/configure: Regenerated.
39567 * sysdeps/sh/configure: Regenerated.
39568 * sysdeps/sparc/configure: Regenerated.
39569 * sysdeps/x86_64/configure: Regenerated.
39571 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39576 denormal result into account.
39578 2012-03-25 Roland McGrath <roland@hack.frob.com>
39580 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39581 Reported by Allan McRae <allan@archlinux.org>.
39583 2012-03-23 Jeff Law <law@redhat.com>
39585 * nss/getnssent.c (__nss_getent): Fix typo.
39587 2012-03-23 David S. Miller <davem@davemloft.net>
39589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39591 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39593 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39594 to pad to uint64_t for each field.
39595 (dl_tls_index): Replace unsigned long with uint64_t.
39597 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39598 Paul Pluzhnikov <ppluzhnikov@google.com>
39601 * grp/Makefile (otherlibs): Don't set it.
39602 * inet/Makefile (otherlibs): Likewise.
39603 * login/Makefile (otherlibs): Likewise.
39604 * nscd/Makefile (otherlibs): Likewise.
39605 * posix/Makefile (otherlibs): Likewise.
39606 * pwd/Makefile (otherlibs): Likewise.
39607 * rt/Makefile (otherlibs): Likewise.
39608 * sunrpc/Makefile (otherlibs): Likewise.
39609 * nss/Makefile (otherlibs): Likewise.
39610 Add libnss_files to routines and static-only-routines.
39611 ($(objpfx)getent): Remove rule.
39612 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39613 static-only-routines.
39615 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39618 * math/s_cexp.c: Include <float.h>.
39619 (__cexp): Handle exp result overflowing not necessarily
39620 overflowing both real and imaginary parts of result.
39621 * math/s_cexpf.c: Likewise.
39622 * math/s_cexpl.c: Likewise.
39623 * math/libm-test.inc (cexp_test): Add more tests.
39624 * sysdeps/i386/fpu/libm-test-ulps: Update.
39625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39629 * include/link.h (ELFW): New macro.
39630 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39631 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39633 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39635 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39638 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39640 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39642 (struct La_x32_retval): Likewise.
39644 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39646 * sysdeps/x86_64/preconfigure.in: New file.
39647 * sysdeps/x86_64/preconfigure: New generated file.
39649 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39652 * math/e_exp2l.c: Include <float.h>.
39653 (__ieee754_exp2l): Handle overflow and underflow cases
39654 separately. Only pass fractional part of argument to
39656 * math/libm-test.inc (exp2_test): Add more tests.
39658 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39659 negating x to take absolute value.
39660 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39662 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39665 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39666 computing low part if x was negated.
39667 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39669 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39671 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39672 la_x32_gnu_pltexit.
39673 (pltexit): Cast int_retval to ptrdiff_t.
39674 * elf/tst-auditmod3b.c: Likewise.
39675 * elf/tst-auditmod4b.c: Likewise.
39676 * elf/tst-auditmod5b.c: Likewise.
39677 * elf/tst-auditmod6b.c: Likewise.
39678 * elf/tst-auditmod6c.c: Likewise.
39679 * elf/tst-auditmod7b.c: Likewise.
39681 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39682 and x32_gnu_pltexit.
39684 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39685 __ELF_NATIVE_CLASS.
39686 (La_x32_regs): New macro.
39687 (La_x32_retval): Likewise.
39688 (la_x32_gnu_pltenter): New function prototype.
39689 (la_x32_gnu_pltexit): Likewise.
39691 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39698 * configure.in (libc_cv_cc_nofma): Check for option to disable
39699 generation of FMA instructions.
39700 * configure: Regenerate.
39701 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39702 * sysdeps/ieee754/dbl-64/Makefile: New file.
39703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39704 Remove brandred-fma4.
39705 (CFLAGS-brandred-fma4.c): Remove.
39706 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39707 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39709 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39712 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39714 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39715 LLONG_MAX != LONG_MAX.
39716 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39717 (_fitoa_word): Likewise.
39718 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39719 LLONG_MAX != LONG_MAX.
39720 * stdio-common/_itowa.h: Include <_itoa.h>.
39721 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39722 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39723 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39724 only if not defined.
39725 (_ITOA_WORD_TYPE): Likewise.
39726 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39727 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39729 2012-03-21 David S. Miller <davem@davemloft.net>
39731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39733 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39735 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39736 of x86_64 when setting libc_cv_slibdir, libdir and
39738 * sysdeps/unix/sysv/linux/configure: Regenerated.
39740 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39742 * manual/lang.texi (Old Varargs): Remove section.
39743 (How Variadic): Update menu.
39744 (va_start): Do not mention varargs.h.
39746 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39747 Joseph Myers <joseph@codesourcery.com>
39749 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39751 * configure: Regenerated.
39753 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39755 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39756 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39759 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39762 * Makefile (files-for-dist): Remove NOTES.
39763 (NOTES): Remove rule.
39764 * README: Don't refer to NOTES.
39765 * manual/creature.texi: Don't include macros.texi.
39766 * manual/intro.texi (creature.texi): Remove comment referring to
39769 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39770 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39771 * configure: Regenerated.
39772 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39773 LIBC_TRY_CC_OPTION.
39774 (libc_cv_as_i686): Likewise.
39775 (libc_cv_cc_avx): Likewise.
39776 (libc_cv_cc_sse2avx): Likewise.
39777 (libc_cv_cc_fma4): Likewise.
39778 (libc_cv_cc_novzeroupper): Likewise.
39779 * sysdeps/i386/configure: Regenerated.
39782 * sysdeps/i386/fpu/s_cexp.S: Remove.
39783 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39784 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39785 * math/libm-test.inc (cexp_test): Add more tests.
39786 * sysdeps/i386/fpu/libm-test-ulps: Update.
39787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39789 2012-03-21 Allan McRae <allan@archlinux.org>
39791 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39793 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39796 * math/w_exp2.c: Do not include <float.h>.
39797 (o_threshold, u_threshold): Remove.
39798 (__exp2): Calculate result before checking finiteness and calling
39800 * math/w_exp2f.c: Likewise.
39801 * math/w_exp2l.c: Likewise.
39802 * math/libm-test.inc (exp2_test): Require overflow exception for
39806 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39807 range of signed 64-bit integers before using fistpll. Remove
39808 checks for whether integers fit in mantissa bits.
39809 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39810 the range of signed 32-bit integers before using fistpl. Remove
39811 checks for whether integers fit in mantissa bits.
39812 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39813 (__ieee754_powl): Test for y outside the range of signed 64-bit
39814 integers before using fistpll. Reduce 64-bit values to 63-bit
39816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39817 divide-by-zero is raised for zero to large negative powers.
39818 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39819 (__ieee754_powl): Test for y outside the range of signed 64-bit
39820 integers before using fistpll. Reduce 64-bit values to 63-bit
39822 * math/libm-test.inc (pow_test): Add more tests.
39824 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39826 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39827 <stdio-common/_itoa.h>.
39828 * debug/segfault.c: Likewise.
39829 * elf/dl-cache.c: Likewise.
39830 * elf/dl-minimal.c: Likewise.
39831 * elf/dl-misc.c: Likewise.
39832 * elf/dl-sysdep.c: Likewise.
39833 * elf/dl-version.c: Likewise.
39834 * elf/rtld.c: Likewise.
39835 * hurd/hurdsock.c: Likewise.
39836 * hurd/lookup-retry.c: Likewise.
39837 * malloc/malloc.c: Likewise.
39838 * malloc/mtrace.c: Likewise.
39839 * nscd/nscd_getgr_r.c: Likewise.
39840 * nscd/nscd_getpw_r.c: Likewise.
39841 * nscd/nscd_getserv_r.c: Likewise.
39842 * posix/getopt_init.c: Likewise.
39843 * posix/wordexp.c: Likewise.
39844 * stdio-common/_itoa.c: Likewise.
39845 * stdio-common/printf_fphex.c: Likewise.
39846 * stdio-common/vfprintf.c: Likewise.
39847 * string/_strerror.c: Likewise.
39848 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39849 * sysdeps/i386/i686/hp-timing.h: Likewise.
39850 * sysdeps/mach/_strerror.c: Likewise.
39851 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39852 * sysdeps/mach/hurd/sethostid.c: Likewise.
39853 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39854 * sysdeps/mach/xpg-strerror.c: Likewise.
39855 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39857 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39858 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39859 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39860 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39862 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39863 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39864 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39865 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39866 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39867 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39868 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39869 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39870 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39871 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39872 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39873 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39874 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39875 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39877 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39879 * stdio-common/_itoa.h: Moved to ...
39880 * sysdeps/generic/_itoa.h: Here.
39882 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39884 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39885 instead of "_itoa.h" and "_itowa.h".
39886 * stdio-common/vfprintf.: Likewise.
39888 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39890 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39892 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39893 (__signbit): Likwise.
39894 (llrintf): Likwise.
39897 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39899 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39902 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39904 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39905 OVERFLOW_EXCEPTION_OK.
39906 * math/libm-test.inc ("Philosophy"): Update comment about
39908 (OVERFLOW_EXCEPTION): Define.
39909 (OVERFLOW_EXCEPTION_OK): Likewise.
39910 (INVALID_EXCEPTION_OK): Renumber.
39911 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39912 (IGNORE_ZERO_INF_SIGN): Likewise.
39913 (test_exceptions): Handle FE_OVERFLOW.
39914 (exp10_test): Expect overflow exceptions.
39915 (exp2_test): Likewise.
39916 (expm1_test): Likewise.
39917 (nextafter_test): Likewise.
39918 (pow_test): Likewise.
39919 (scalbn_test): Likewise.
39920 (scalbln_test): Likewise.
39922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39924 * sysdeps/x86_64/bits/atomic.h
39925 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39927 (atomic_exchange_acq): Likewise.
39928 (__arch_exchange_and_add_body): Likewise.
39929 (__arch_add_body): Likewise.
39930 (atomic_add_negative): Likewise.
39931 (atomic_add_zero): Likewise.
39933 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39935 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39936 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39940 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39941 Check __x86_64__ instead of __WORDSIZE.
39943 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39945 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39947 2012-03-19 David S. Miller <davem@davemloft.net>
39949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39951 * sysdeps/sparc/fpu/fenv_private.h: New file.
39952 * sysdeps/sparc/fpu/math_private.h: Use it.
39953 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39955 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39956 (libc_feholdexcept_setroundl): Remove.
39957 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39959 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39960 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39962 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39964 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39965 int64_t instead of long int.
39966 (INSERT_WORDS64): Likwise.
39968 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39970 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39971 _Unwind_GetCFA return to _Unwind_Ptr first.
39973 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39976 * math/s_clog.c: Include <float.h>.
39977 (__clog): Scale large or subnormal inputs.
39978 * math/s_clogf.c: Likewise.
39979 * math/s_clogl.c: Likewise.
39980 * math/s_clog10.c: Include <float.h>.
39981 (M_LOG10_2): Define.
39982 (__clog10): Scale large or subnormal inputs.
39983 * math/s_clog10f.c: Likewise.
39984 * math/s_clog10l.c: Likewise.
39985 * math/libm-test.inc (clog_test): Add more tests.
39986 (clog10_test): Likewise.
39987 * sysdeps/i386/fpu/libm-test-ulps: Update.
39988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39993 * math/libm-test.inc (atan2_test): Add another test.
39995 * Makerules (common-objdir-compile): Remove.
39996 * sysdeps/unix/Makefile (config-generated): Do not add
39997 $(unix-generated) to variable.
39998 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39999 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40001 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40003 [generic bits/local_lim.h] (before-compile): Do not append to
40005 [generic bits/local_lim.h] (common-generated): Likewise.
40006 [generic sys/param.h] (before-compile): Do not append to variable.
40007 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40008 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40009 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40010 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40012 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40013 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40014 [generic sys/param.h] ($(addprefix
40015 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40016 [generic sys/param.h] (common-generated): Do not append to
40018 [generic sys/param.h] (sysdep_headers): Likewise.
40019 [generic bits/errno.h] (before-compile): Do not append to
40021 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40023 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40024 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40025 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40026 [generic bits/errno.h] (common-generated): Do not append to
40028 [generic bits/ioctls.h] (before-compile): Do not append to
40030 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40032 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40033 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40034 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40036 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40037 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40038 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40039 [generic bits/ioctls.h] (common-generated): Do not append to
40041 [generic sys/syscall.h] (syscall.h): Remove variable.
40042 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40044 [generic sys/syscall.h] (before-compile): Do not append to
40046 [generic sys/syscall.h] (common-generated): Likewise.
40047 * sysdeps/unix/errnos-tmpl.c: Remove file.
40048 * sysdeps/unix/errnos.awk: Likewise.
40049 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40050 * sysdeps/unix/ioctls.awk: Likewise.
40051 * sysdeps/unix/mk-local_lim.c: Likewise.
40052 * sysdeps/unix/snarf-ioctls: Likewise.
40054 2012-03-19 Richard Henderson <rth@twiddle.net>
40056 * sysdeps/i386/fpu/fenv_private.h: New file.
40057 * sysdeps/i386/fpu/math_private.h: Use it.
40058 (math_opt_barrier, math_force_eval): Remove.
40059 (libc_feholdexcept_setround_53bit): Remove.
40060 (libc_feupdateenv_53bit): Remove.
40061 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40062 (math_opt_barrier, math_force_eval): Remove.
40063 (libc_feholdexcept): Remove.
40064 (libc_feholdexcept_setround): Remove.
40065 (libc_fetestexcept, libc_fesetenv): Remove.
40066 (libc_feupdateenv_test): Remove.
40067 (libc_feupdateenv, libc_feholdsetround): Remove.
40068 (libc_feresetround): Remove.
40070 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40071 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40073 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40074 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40075 (libc_feupdateenv_testl): New.
40076 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40077 (libc_feupdateenv_testf): New.
40078 (libc_feupdateenv): Use libc_feupdateenv_test.
40079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40082 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40083 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40084 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40085 (libc_feresetround_noex): New.
40086 (libc_feresetround_noexf): New.
40087 (libc_feresetround_noexl): New.
40088 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40089 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40090 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40091 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40096 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40097 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40098 SET_RESTORE_ROUND_NOEX.
40099 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40100 SET_RESTORE_ROUND_NOEXF.
40101 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40102 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40103 (libc_feholdsetroundf): New.
40104 (libc_feresetround, libc_feresetroundf): New.
40106 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40107 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40108 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40110 * sysdeps/generic/math_private.h: Include <fenv.h>.
40111 (default_libc_feholdexcept): New.
40112 (default_libc_feholdexcept_setround): New.
40113 (default_libc_fesetenv, default_libc_feupdateenv): New.
40114 (libc_feholdexcept): Only define if undefined.
40115 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40116 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40117 (libc_feholdexcept_setroundl): Likewise.
40118 (libc_feholdexcept_setround_53bit): Likewise.
40119 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40120 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40121 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40122 (libc_feupdateenv_53bit): Likewise.
40123 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40124 (libc_feholdexcept): Convert from macro to inline function.
40125 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40126 (libc_fesetenv, libc_feupdateenv): Likewise.
40128 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40129 not previously defined.
40130 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40131 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40132 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40133 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40134 * sysdeps/ieee754/flt-32/math_private.h: New file.
40135 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40136 math_private.h below SET_FLOAT_WORD.
40137 (__isnan, __isinf_ns, __finite): Remove.
40138 (__isnanf, __isinf_nsf, __finitef): Remove.
40140 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40144 2012-03-17 David S. Miller <davem@davemloft.net>
40147 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40150 2012-03-16 David S. Miller <davem@davemloft.net>
40152 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40156 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40158 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40159 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40160 sysdep_routines when subdir is sysvipc.
40161 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40162 __getshmlba helper.
40164 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40166 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40168 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40174 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40175 (__lround): Renamed to ...
40176 (__llround): This. Replace long int with long long int.
40177 Define lround functions as aliases of llround functions.
40178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40180 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40182 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40183 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40184 adresses to uintptr_t. Replace "long int" and "unsigned long
40185 int" with "greg_t" on va_arg.
40187 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40189 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40190 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40192 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40193 Move e_machine check before EI_CLASS check. Handle x32
40194 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40195 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40196 SKIP_EM_IA_64 and include
40197 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40199 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40200 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40201 (add_system_dir): New macro.
40203 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40204 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40206 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40217 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40219 * math/w_j0f.c (j0f): Likewise.
40221 * math/w_j0l.c (__j0l): Likewise.
40223 * math/w_j1.c (j1): Likewise.
40225 * math/w_j1f.c (j1f): Likewise.
40227 * math/w_j1l.c (__j1l): Likewise.
40229 * math/w_jn.c (jn): Likewise.
40231 * math/w_jnf.c (jnf): Likewise.
40233 * math/w_jnl.c (__jnl): Likewise.
40235 * math/libm-test.inc (j0_test): Add more tests.
40236 (j1_test): Likewise.
40237 (jn_test): Likewise. Add trailing semicolon to existing test.
40238 (y0_test): Likewise.
40239 (y1_test): Likewise.
40240 * sysdeps/i386/fpu/libm-test-ulps: Update.
40241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40245 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40246 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40247 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40249 (__tanl): Set errno for infinite argument.
40250 * sysdeps/i386/fpu/mptan.c: Remove.
40251 * sysdeps/i386/fpu/s_tan.S: Likewise.
40252 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40253 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40254 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40255 * math/libm-test.inc (tan_test): Add more tests and enable more
40256 tests for double and long double.
40257 * sysdeps/i386/fpu/libm-test-ulps: Update.
40258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40260 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40262 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40263 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40265 2012-03-16 Roland McGrath <roland@hack.frob.com>
40267 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40268 * configure.in: Use it for both main tree and add-ons.
40269 * configure: Regenerated.
40271 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40273 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40275 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40277 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40281 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40282 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40287 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40289 != 0 for prec == 2.
40290 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40291 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40292 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40293 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40294 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40295 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40296 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40297 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40298 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40299 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40300 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40301 * math/libm-test.inc (cos_test): Add more tests and enable more
40302 tests for long double.
40303 (sin_test): Likewise.
40304 (sincos_test): Likewise.
40305 * sysdeps/i386/fpu/libm-test-ulps: Update.
40306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40308 2012-03-16 David S. Miller <davem@davemloft.net>
40310 * sysdeps/sparc/fpu/math_private.h: New file.
40312 2012-03-15 David S. Miller <davem@davemloft.net>
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40328 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40329 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40331 * sysdeps/sparc/sparc-ifunc.h: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40377 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40379 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40383 2012-03-15 Andreas Jaeger <aj@suse.de>
40386 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40387 ieee754/flt-32 implementation for sin, cos and sincos.
40388 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40389 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40390 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40391 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40392 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40393 ieee754/flt-32 implementation for tan.
40395 * math/libm-test.inc (cos_test): Enable some large input tests for
40397 (sin_test): Likewise.
40398 (sincos_test): Likewise.
40399 (tan_test): Add tests for large input.
40401 * sysdeps/i386/fpu/libm-test-ulps: Update.
40403 2012-03-15 Andreas Jaeger <aj@suse.de>
40406 * math/libm-test.inc (cos_test): Add more test cases.
40407 (sin_test): Likewise.
40408 (sincos_test): Likewise.
40410 2012-03-15 Andreas Jaeger <aj@suse.de>
40413 * math/libm-test.inc (cos_test): Add a test case for large input
40415 (sin_test): Likewise.
40416 (sincos_test): Likewise.
40418 2012-03-15 Andreas Jaeger <aj@suse.de>
40419 Joseph Myers <joseph@codesourcery.com>
40422 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40423 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40424 * sysdeps/i386/fpu/branred.c: Likewise.
40425 * sysdeps/i386/fpu/dosincos.c: Likewise.
40426 * sysdeps/i386/fpu/mpa.c: Likewise.
40427 * sysdeps/i386/fpu/s_cos.S: Likewise.
40428 * sysdeps/i386/fpu/s_sin.S: Likewise.
40429 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40430 * sysdeps/i386/fpu/sincos32.c: Likewise.
40432 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40434 (libc_feupdateenv_53bit): Define.
40435 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40437 (libc_feupdateenv_53bit): Define.
40439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40440 53 bit (without extend i386 double precision).
40442 * math/libm-test.inc (sincos_test): Add tests for large input.
40446 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40448 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40452 2012-03-15 David S. Miller <davem@davemloft.net>
40454 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40455 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40456 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40457 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40482 fmin/fmax sysdep routines.
40483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40485 2012-03-14 David S. Miller <davem@davemloft.net>
40487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40559 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40564 * sysdeps/sparc/configure.in: New file.
40565 * sysdeps/sparc/configure: Generate.
40566 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40567 * configure: Regenerate.
40568 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40569 * config.make.in (have-as-vis3): New.
40570 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40571 available use -Av9d instead of -Av9a.
40572 * sysdeps/sparc/sparc64/Makefile: Likewise.
40573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40588 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40589 fzeros/fnegs to load 0x80000000 into a float register instead of
40591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40593 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40597 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40598 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40599 ($(inst_includedir)/bits/syscall.h): Remove rule.
40600 ($(objpfx)bits/syscall.d): Include instead of
40601 $(objpfx)syscall-list.d.
40602 (generated): Change syscall-list.h and syscall-list.d to
40603 bits/syscall.h and bits/syscall.d.
40605 2012-03-14 Roland McGrath <roland@hack.frob.com>
40608 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40610 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40613 * math/s_csqrt.c: Include <float.h>.
40614 (__csqrt): Scale large or subnormal inputs.
40615 * math/s_csqrtf.c: Likewise.
40616 * math/s_csqrtl.c: Likewise.
40617 * math/libm-test.inc (csqrt_test): Add more tests.
40618 * sysdeps/i386/fpu/libm-test-ulps: Update.
40619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40622 * math/libm-test.inc (hypot_test): Add more tests.
40624 2012-03-13 David S. Miller <davem@davemloft.net>
40627 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40628 double-precision for the calculation instead of scaling.
40630 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40632 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40633 manipulate bits before adding and subtracting TWO52[sx].
40634 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40637 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40639 2012-03-13 David S. Miller <davem@davemloft.net>
40641 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40642 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40644 rtld-global-offsets.h
40645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40647 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40650 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40652 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40653 'err' in the ifdef scope in which it is actually used.
40655 * nss/nss_db/db-init.c: Include string.h
40657 2012-03-12 David S. Miller <davem@davemloft.net>
40659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40660 masking out of the most significant byte of random value used.
40661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40662 Fix coding style in previous change.
40664 * sysdeps/unix/sysv/linux/kernel-features.h
40665 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40666 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40668 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40671 2012-03-11 David S. Miller <davem@davemloft.net>
40673 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40674 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40676 for 'resultvar' otherwise things get truncated on 64-bit.
40678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40679 Fix masking out of the most significant byte of random value used.
40681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40683 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40687 2012-03-09 David S. Miller <davem@davemloft.net>
40689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40690 variables with appropriate CPP guards.
40691 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40692 from the frame pointer, not the stack pointer. Correct layout
40693 comments. Fix test on resulting framesize and the management of
40694 the outregs buffer for pltexit. Preserve floating point return
40695 values across _dl_call_pltexit call.
40696 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40697 framesize and the management of the outregs buffer for pltexit.
40698 Preserve floating point return values across _dl_call_pltexit
40700 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40701 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40702 (la_sparc64_gnu_pltexit): New functions.
40703 (print_exit): Fix format string for return register value.
40705 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40707 * sunrpc/Makefile (others): Add rpcgen.
40708 ($(objpfx)rpcgen): Remove special build rule and dependency on
40710 * sunrpc/rpcgen.c: New file.
40712 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40715 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40716 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40717 * sysdeps/i386/crti.S: Likewise.
40718 * sysdeps/i386/crtn.S: Likewise.
40719 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40720 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40721 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40722 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40723 * sysdeps/sh/crti.S: Likewise.
40724 * sysdeps/sh/crtn.S: Likewise.
40725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40728 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40730 * locale/programs/locfile-kw.gperf: Likewise.
40731 * locale/programs/charmap-kw.h: Regenerated.
40732 * locale/programs/locfile-kw.h: Likewise.
40735 * intl/plural.y: Replace FSF snail mail address with URL.
40736 * intl/plural.c: Regenerated.
40738 2012-03-09 Richard Henderson <rth@twiddle.net>
40740 * include/math_private.h: Remove file.
40741 * math/math_private.h: Move file ...
40742 * sysdeps/generic/math_private.h: ... here.
40744 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40745 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40746 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40748 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40749 and <math_private.h>.
40750 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40751 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40752 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40753 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40754 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40758 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40759 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40762 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40764 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40765 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40766 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40767 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40768 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40769 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40772 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40775 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40776 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40780 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40782 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40783 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40784 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40785 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40786 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40787 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40788 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40838 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40839 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40840 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40841 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40843 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40844 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40847 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40848 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40849 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40850 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40851 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40852 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40853 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40854 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40855 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40856 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40857 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40858 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40860 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40861 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40862 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40863 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40864 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40865 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40867 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40869 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40870 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40871 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40873 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40874 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40875 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40877 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40878 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40879 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40880 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40881 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40883 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40884 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40885 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40888 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40890 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40891 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40893 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40894 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40895 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40896 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40897 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40899 * sysdeps/ieee754/k_standard.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40910 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40912 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40913 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40914 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40915 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40917 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40923 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40924 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40926 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40928 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40931 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40932 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40933 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40934 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40935 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40936 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40937 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40938 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41015 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41019 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41022 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41027 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41032 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41060 * sysdeps/ieee754/s_lib_version.c: Likewise.
41061 * sysdeps/ieee754/s_matherr.c: Likewise.
41062 * sysdeps/ieee754/s_signgam.c: Likewise.
41063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41066 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41068 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41069 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41070 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41071 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41072 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41073 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41074 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41077 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41078 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41080 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41085 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41087 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41088 * sunrpc/rpc_main.c: Likewise.
41089 * sunrpc/rpc_svcout.c: Likewise.
41091 2012-03-09 David S. Miller <davem@davemloft.net>
41093 * include/math_private.h: New file.
41095 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41097 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41098 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41099 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41100 from <bits/socket_type.h>.
41101 (enum __socket_type): Don't define here.
41102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41104 bits/socket_type.h.
41107 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41108 checking __USE_GNU.
41110 * Makerules ($(inst_includedir)/%.h): New rule.
41111 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41112 (install-others): Remove variable setting.
41113 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41115 2012-03-08 Richard Henderson <rth@twiddle.net>
41117 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41118 from macro to inline function; merge with the
41119 !__LIBC_INTERNAL_MATH_INLINES version.
41120 (__ieee754_sqrtf): Likewise.
41122 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41123 to inline function.
41124 (__rintf, __floor, __floorf): Likewise.
41126 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41127 macro to inline function.
41128 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41131 not <math/math_private.h>.
41133 2012-03-08 David S. Miller <davem@davemloft.net>
41135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41137 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41139 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41141 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41143 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41144 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41146 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41148 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41149 be defined individually, they must be defined as a block. Define
41150 S for printing a string instead of hidint the different by using a
41151 macro for adding the 'l'.
41152 * stdio-common/tst-fphex-wide.c: Adjust.
41154 2012-03-07 Marek Polacek <polacek@redhat.com>
41156 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41158 2012-03-08 Marek Polacek <polacek@redhat.com>
41161 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41162 * stdio-common/tst-fphex.c: Define a few macros to make the
41163 test reusable. Use them.
41164 * stdio-common/tst-fphex-wide.c: New file.
41166 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41169 * manual/macros.texi (gnusystems): New macro.
41170 (nongnusystems): Likewise.
41171 (gnulinuxhurdsystems): Likewise.
41172 (gnuhurdsystems): Likewise..
41173 (gnulinuxsystems): Likewise.
41174 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41175 variants of the GNU system, not "GNU system".
41176 * manual/conf.texi: Likewise.
41177 * manual/errno.texi: Likewise. Update example of errno macro
41179 * manual/filesys.texi: Likewise.
41180 (getumask): Document as specific to GNU/Hurd.
41181 * manual/install.texi: Likewise. Reword some references to
41183 * manual/intro.texi: Likewise.
41184 * manual/io.texi: Likewise.
41185 (File Name Portability): Detail which constraints are inapplicable
41186 to all GNU systems and which are only inapplicable to GNU/Hurd.
41187 * manual/job.texi: Likewise.
41188 * manual/llio.texi: Likewise.
41189 (O_NOCTTY): Document as present on GNU/Linux.
41190 * manual/maint.texi: Likewise.
41191 * manual/memory.texi: Likewise.
41192 * manual/pattern.texi: Likewise.
41193 * manual/pipe.texi: Likewise.
41194 * manual/process.texi: Likewise.
41195 * manual/resource.texi: Likewise.
41196 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41198 * manual/setjmp.texi: Likewise.
41199 * manual/signal.texi: Likewise.
41200 * manual/startup.texi: Likewise.
41201 * manual/stdio.texi: Likewise.
41202 * manual/terminal.texi: Likewise.
41203 (ONLCR): Document as POSIX.
41204 (OXTABS): Document availability on GNU/Linux as XTABS.
41205 (ONOEOT): Document availability separately from other bits.
41206 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41207 * manual/time.texi: Likewise.
41208 * manual/users.texi: Likewise.
41209 * INSTALL: Regenerated.
41210 * sysdeps/gnu/errlist.c: Regenerated.
41212 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41213 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41214 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41216 * configure: Regenerated.
41218 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41220 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41221 default includes instead of AC_HEADER_CHECK.
41222 * sysdeps/i386/configure: Regenerated.
41225 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41226 * math/s_cacoshf.c (__cacoshf): Likewise.
41227 * math/s_cacoshl.c (__cacoshl): Likewise.
41228 * math/s_casinh.c (__casinh): Set signs of result from argument.
41229 * math/s_casinhf.c (__casinhf): Likewise.
41230 * math/s_casinhl.c (__casinhl): Likewise.
41231 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41232 (casinh_test): Add more tests.
41233 * sysdeps/i386/fpu/libm-test-ulps: Update.
41234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41236 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41238 * po/zh_TW.po: Update from translation team.
41240 * login/Makefile (distribute): Remove variable.
41241 * catgets/Makefile: Likewise.
41242 * mach/Makefile: Likewise.
41243 * malloc/Makefile: Likewise.
41244 * misc/Makefile: Likewise.
41245 * iconv/Makefile: Likewise.
41246 * nscd/Makefile: Likewise.
41247 * hurd/Makefile: Likewise.
41248 * manual/Makefile: Likewise.
41249 * locale/Makefile: Likewise.
41250 * intl/Makefile: Likewise.
41251 * conform/Makefile: Likewise.
41252 * nss/Makefile: Likewise.
41253 * time/Makefile: Likewise.
41254 * soft-fp/Makefile: Likewise.
41255 * dirent/Makefile: Likewise.
41256 * gmon/Makefile: Likewise.
41257 * po/Makefile: Likewise.
41258 * rt/Makefile: Likewise.
41259 * socket/Makefile: Likewise.
41260 * math/Makefile: Likewise.
41261 * signal/Makefile: Likewise.
41262 * debug/Makefile: Likewise.
41263 * elf/Makefile: Likewise.
41264 * timezone/Makefile: Likewise.
41265 * stdlib/Makefile: Likewise.
41266 * iconvdata/Makefile: Likewise.
41267 * sunrpc/Makefile: Likewise.
41268 * io/Makefile: Likewise.
41269 * argp/Makefile: Likewise.
41270 * inet/Makefile: Likewise.
41271 * hesiod/Makefile: Likewise.
41272 * grp/Makefile: Likewise.
41273 * csu/Makefile: Likewise.
41274 * wctype/Makefile: Likewise.
41275 * crypt/Makefile: Likewise.
41276 * libio/Makefile: Likewise.
41277 * string/Makefile: Likewise.
41278 * nis/Makefile: Likewise.
41279 * resolv/Makefile: Likewise.
41280 * stdio-common/Makefile: Likewise.
41281 * wcsmbs/Makefile: Likewise.
41282 * dlfcn/Makefile: Likewise.
41283 * posix/Makefile: Likewise.
41286 * timezone/Makefile: Don't install timezone files, just the programs
41289 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41291 * nss/databases.def: Add missing gshadow entry.
41293 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41295 2012-03-06 Marek Polacek <polacek@redhat.com>
41298 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41299 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41300 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41301 * stdio-common/tst-long-dbl-fphex.c: New file.
41303 2012-03-06 David S. Miller <davem@davemloft.net>
41305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41306 (set_obp_int): New function.
41307 (get_obp_int): New function.
41308 (__get_clockfreq_via_dev_openprom): Likewise.
41309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41310 Avoid unused variable warnings on 'val' and use builtin_expect.
41311 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41313 (INLINE_CLONE_SYSCALL): Likewise.
41315 2012-03-05 David S. Miller <davem@davemloft.net>
41317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41319 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41324 only for |x| >= 40.
41325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41327 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41330 Replace gettimeofday with __vdso_gettimeofday.
41332 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41333 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41334 __vdso_clock_gettime and __vdso_getcpu.
41336 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41337 time with __vdso_time.
41339 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41341 * manual/lang.texi (size_t): Note types to which size_t may be
41342 equivalent with the GNU C Library, but do not describe when
41343 differences between them are significant.
41345 2012-03-05 Andreas Jaeger <aj@suse.de>
41347 * sysdeps/i386/fpu/libm-test-ulps: Update.
41349 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41352 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41353 (__ieee754_pow): Save and restore rounding mode and use
41354 round-to-nearest for main computations.
41355 * math/libm-test.inc (pow_test_tonearest): New function.
41356 (pow_test_towardzero): Likewise.
41357 (pow_test_downward): Likewise.
41358 (pow_test_upward): Likewise.
41359 (main): Call the new functions.
41360 * sysdeps/i386/fpu/libm-test-ulps: Update.
41361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41364 * math/libm-test.inc (cosh_test_tonearest): New function.
41365 (cosh_test_towardzero): Likewise.
41366 (cosh_test_downward): Likewise.
41367 (cosh_test_upward): Likewise.
41368 (sinh_test_tonearest): Likewise.
41369 (sinh_test_towardzero): Likewise.
41370 (sinh_test_downward): Likewise.
41371 (sinh_test_upward): Likewise.
41372 (main): Call the new functions.
41373 * sysdeps/i386/fpu/libm-test-ulps: Update.
41374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41376 2012-03-05 Tom de Vries <tom@codesourcery.com>
41378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41379 default stack guard is set in last bytes.
41380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41382 2012-03-05 Kees Cook <keescook@chromium.org>
41384 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41387 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41388 possibly allocate from heap instead of stack.
41389 * stdio-common/bug-vfprintf-nargs.c: New file.
41390 * stdio-common/Makefile (tests): Add nargs overflow test.
41392 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41396 2012-03-03 Marek Polacek <polacek@redhat.com>
41398 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41399 * math/math_private.h: Likewise.
41400 * stdlib/tst-strtod.c: Likewise.
41401 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41402 * sysdeps/x86_64/bits/atomic.h: Likewise.
41404 2012-03-02 David S. Miller <davem@davemloft.net>
41406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41410 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41411 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41412 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41413 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41415 2012-03-02 Roland McGrath <roland@hack.frob.com>
41418 * manual/examples/README: New file, says the example source files
41419 can be used under GPL>=2.
41420 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41421 line containing just "*/".
41422 * manual/examples/add.c: Add copyright header (GPL>=2).
41423 * manual/examples/argp-ex1.c: Likewise.
41424 * manual/examples/argp-ex2.c: Likewise.
41425 * manual/examples/argp-ex3.c: Likewise.
41426 * manual/examples/argp-ex4.c: Likewise.
41427 * manual/examples/atexit.c: Likewise.
41428 * manual/examples/db.c: Likewise.
41429 * manual/examples/dir.c: Likewise.
41430 * manual/examples/dir2.c: Likewise.
41431 * manual/examples/execinfo.c: Likewise.
41432 * manual/examples/filecli.c: Likewise.
41433 * manual/examples/filesrv.c: Likewise.
41434 * manual/examples/fmtmsgexpl.c: Likewise.
41435 * manual/examples/genpass.c: Likewise.
41436 * manual/examples/inetcli.c: Likewise.
41437 * manual/examples/inetsrv.c: Likewise.
41438 * manual/examples/isockad.c: Likewise.
41439 * manual/examples/longopt.c: Likewise.
41440 * manual/examples/memopen.c: Likewise.
41441 * manual/examples/memstrm.c: Likewise.
41442 * manual/examples/mkfsock.c: Likewise.
41443 * manual/examples/mkisock.c: Likewise.
41444 * manual/examples/mygetpass.c: Likewise.
41445 * manual/examples/pipe.c: Likewise.
41446 * manual/examples/popen.c: Likewise.
41447 * manual/examples/rprintf.c: Likewise.
41448 * manual/examples/search.c: Likewise.
41449 * manual/examples/select.c: Likewise.
41450 * manual/examples/setjmp.c: Likewise.
41451 * manual/examples/sigh1.c: Likewise.
41452 * manual/examples/sigusr.c: Likewise.
41453 * manual/examples/stpcpy.c: Likewise.
41454 * manual/examples/strdupa.c: Likewise.
41455 * manual/examples/strftim.c: Likewise.
41456 * manual/examples/strncat.c: Likewise.
41457 * manual/examples/subopt.c: Likewise.
41458 * manual/examples/swapcontext.c: Likewise.
41459 * manual/examples/termios.c: Likewise.
41460 * manual/examples/testopt.c: Likewise.
41461 * manual/examples/testpass.c: Likewise.
41462 * manual/examples/timeval_subtract.c: Likewise.
41465 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41467 * manual/timeval_subtract.c.texi: ... here, new file.
41469 2012-03-02 David S. Miller <davem@davemloft.net>
41471 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41473 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41476 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41477 (__sin): Save and restore rounding mode and use round-to-nearest
41478 for all computations.
41479 (__cos): Save and restore rounding mode and use round-to-nearest
41480 for all computations.
41481 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41483 (tan): Save and restore rounding mode and use round-to-nearest for
41485 * math/libm-test.inc (cos_test_tonearest): New function.
41486 (cos_test_towardzero): Likewise.
41487 (cos_test_downward): Likewise.
41488 (cos_test_upward): Likewise.
41489 (sin_test_tonearest): Likewise.
41490 (sin_test_towardzero): Likewise.
41491 (sin_test_downward): Likewise.
41492 (sin_test_upward): Likewise.
41493 (tan_test_tonearest): Likewise.
41494 (tan_test_towardzero): Likewise.
41495 (tan_test_downward): Likewise.
41496 (tan_test_upward): Likewise.
41497 (main): Call the new functions.
41498 * sysdeps/i386/fpu/libm-test-ulps: Update.
41499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41502 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41503 small n, then large n, before computing and testing k+n.
41504 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41509 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41510 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41511 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41512 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41515 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41516 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41517 * math/libm-test.inc (scalbn_test): Add more tests.
41518 (scalbln_test): Likewise.
41520 * manual/filesys.texi (mode_t): Describe constraints on size and
41521 signedness, not exact equivalence to a particular type.
41523 (ino64_t): Likewise.
41525 (nlink_t): Likewise.
41526 (blkcnt_t): Likewise.
41527 (blkcnt64_t): Likewise.
41528 * manual/llio.texi (off_t): Likewise.
41531 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41532 (__ieee754_exp): Save and restore rounding mode and use
41533 round-to-nearest for all computations.
41534 * math/libm-test.inc (exp_test_tonearest): New function.
41535 (exp_test_towardzero): Likewise.
41536 (exp_test_downward): Likewise.
41537 (exp_test_upward): Likewise.
41538 (main): Call the new functions.
41539 * sysdeps/i386/fpu/libm-test-ulps: Update.
41540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41542 2012-03-01 Chris Demetriou <cgd@google.com>
41544 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41545 have predictable order.
41547 2012-03-01 David S. Miller <davem@davemloft.net>
41549 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41551 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41552 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41553 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41554 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41556 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41557 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41558 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41560 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41561 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41562 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41563 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41564 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41569 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41570 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41572 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41574 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41575 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41576 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41579 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41580 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41581 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41582 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41588 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41589 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41590 * sysdeps/sparc/elf/configure: Regenerated.
41592 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41594 * configure.in (AS, LD): Require binutils 2.20 or later.
41595 * configure: Regenerated.
41596 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41597 as required minimum version.
41598 * INSTALL: Regenerated.
41602 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41603 before squaring exponent.
41604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41605 bottom long double and 27 bits of top long double before squaring
41607 * math/libm-test.inc (erfc_test): Add more tests.
41608 * sysdeps/i386/fpu/libm-test-ulps: Update.
41609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41612 2012-03-01 Kai Tietz <ktietz@redhat.com>
41614 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41615 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41616 containing bit-fields.
41617 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41618 * soft-fp/single.h (_FP_UNION_S): Likewise.
41619 * soft-fp/double.h (_FP_UNION_D): Likewise.
41621 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41624 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41625 not include ../strcmp.S.
41626 [USE_AS_STRNCASECMP_L]: Likewise.
41627 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41628 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41629 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41630 (__strncasecmp_l_ia32): Define as alias to
41631 __strncasecmp_l_nonascii.
41634 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41635 * sysdeps/i386/fpu/libm-test-ulps: Update.
41636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41638 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41641 2012-02-29 Jeff Law <law@redhat.com>
41643 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41644 out of bounds read.
41646 2012-02-29 Marek Polacek <polacek@redhat.com>
41649 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41650 * elf/Makefile: Add rules to run tst-unused-dep.out.
41652 2012-02-28 David S. Miller <davem@davemloft.net>
41654 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41655 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41657 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41661 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41663 * math/libm-test.inc (llround_test): Move one test from
41664 lround_test. Use TEST_f_L in moved test.
41665 (lround_test): Move misplaced test to llround_test. Add testcase
41668 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41670 * sysdeps/x86_64/fpu/e_expf.S: New file.
41671 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41673 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41676 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41677 of remain_len that may cause incomplete multi-byte character and
41679 * posix/bug-regex33.c: New file.
41680 * posix/Makefile (tests): Add bug-regex33.
41682 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41684 * manual/macros.texi: New file.
41685 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41686 * manual/libc.texinfo: Include macros.texi.
41687 * manual/creatute.texi: Likewise.
41688 * manual/install.texi: Likewise.
41689 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41690 @glibcadj{} in references to the GNU C Library.
41691 * manual/charset.texi: Likewise.
41692 * manual/conf.texi: Likewise.
41693 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41694 when not using those macros.
41695 * manual/creature.texi: Likewise.
41696 * manual/crypt.texi: Likewise.
41697 * manual/errno.texi: Likewise.
41698 * manual/filesys.texi: Likewise.
41699 * manual/header.texi: Likewise.
41700 * manual/install.texi: Likewise.
41701 * manual/intro.texi: Likewise.
41702 * manual/io.texi: Likewise.
41703 * manual/job.texi: Likewise.
41704 * manual/lang.texi: Likewise.
41705 * manual/libc.texiinfo: Likewise.
41706 * manual/llio.texi: Likewise.
41707 * manual/locale.texi: Likewise.
41708 * manual/maint.texi: Likewise.
41709 * manual/math.texi: Likewise.
41710 * manual/memory.texi: Likewise.
41711 * manual/message.texi: Likewise.
41712 * manual/nss.texi: Likewise.
41713 * manual/pattern.texi: Likewise.
41714 * manual/process.texi: Likewise.
41715 * manual/resource.texi: Likewise.
41716 * manual/search.texi: Likewise.
41717 * manual/setjmp.texi: Likewise.
41718 * manual/signal.texi: Likewise.
41719 * manual/socket.texi: Likewise.
41720 * manual/startup.texi: Likewise.
41721 * manual/stdio.texi: Likewise.
41722 * manual/string.texi: Likewise.
41723 * manual/sysinfo.texi: Likewise.
41724 * manual/syslog.texi: Likewise.
41725 * manual/terminal.texi: Likewise.
41726 * manual/time.texi: Likewise.
41727 * manual/users.texi: Likewise.
41728 * INSTALL: Regenerated.
41729 * NOTES: Regenerated.
41730 * sysdeps/gnu/errlist.c: Regenerated.
41732 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41734 * include/dirent.h: Include <dirstream.h> before
41737 2012-02-28 David S. Miller <davem@davemloft.net>
41739 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41740 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41741 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41744 2012-02-27 David S. Miller <davem@davemloft.net>
41746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41748 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41749 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41752 frame pointer instead of stack pointer relative arg slot.
41753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41754 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41755 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41757 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41760 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41762 2012-02-27 David S. Miller <davem@davemloft.net>
41764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41768 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41769 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41770 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41771 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41773 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41775 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41776 later. Allow versions 5-9.
41777 * configure: Regenerated.
41778 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41779 required minimum version and 4.6 as recommended version. Do not
41780 mention bugs in GCC 2.7 and 2.8.
41781 * INSTALL: Regenerated.
41783 2012-02-27 David S. Miller <davem@davemloft.net>
41785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41791 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41792 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41795 manipulate bits before adding and subtracting TWO112[sx].
41796 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41798 2012-02-27 Roland McGrath <roland@hack.frob.com>
41801 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41802 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41803 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41804 being in POSIX, because they are in 1003.1-2008.
41806 * rt/tst-aio.c: Include <fcntl.h>.
41807 * rt/tst-aio7.c: Likewise.
41808 * rt/tst-aio64.c: Likewise.
41810 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41812 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41814 * manual/install.texi (--with-headers): Describe headers as
41815 interface headers, not private headers.
41816 (Specific advice for GNU/Linux systems): Describe use of headers
41817 from "make headers_install", not private headers from older
41819 * INSTALL: Regenerated.
41820 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41822 * sysdeps/unix/sysv/linux/configure: Regenerated.
41824 * manual/llio.texi (fclean): Remove documentation.
41826 * manual/Makefile (libc-texi-generated): New variable. Include
41828 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41829 $(libc-texi-generated), not duplicated list of files.
41830 (version.texi, stamp-version): New rules.
41831 (realclean): Remove $(libc-texi-generated), not individual files
41832 from that list. Do not remove dir-add.texinfo.
41833 * manual/libc.texinfo: Comment out uses of edition numbers and
41834 references to printed manual. Remove last-updated dates.
41835 (EDITION): Comment out.
41837 (VERSION, UPDATED): Remove.
41838 (version.texi): Include.
41840 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41842 * sysdeps/posix/spawni.c: Include <signal.h>.
41843 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41844 * sysdeps/pthread/aio_fsync.c: Likewise.
41846 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41848 * conform/Makefile (tests): Run only when not cross-compiling and
41849 when fast-check is not defined.
41851 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41852 * conform/data/limits.h-data: Fixes for POSIX2008.
41853 * conform/run-conformtest.sh: Run all tests.
41854 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41856 * include/bits/dlfcn.h: Likewise.
41857 * include/langinfo.h: Likewise.
41858 * include/monetary.h: Likewise.
41859 * include/sys/poll.h: Likewise.
41861 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41863 * posix/spawn.h: Define __need_sigset_t.
41864 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41865 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41866 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41867 to get sigevent_t only.
41868 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41869 only for __USE_GNU.
41870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41871 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41872 process_vm_writev only for __USE_GNU.
41873 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41875 * conform/Makefile: For now ignore errors from run-conformtest.
41876 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41877 POSIX to avoid namespace pollution. Don't prepend headers.
41878 * conform/data/aio.h-data: Fixes for POSIX testing.
41879 * conform/data/fcntl.h-data: Likewise.
41880 * conform/data/glob.h-data: Likewise.
41881 * conform/data/grp.h-data: Likewise.
41882 * conform/data/pthread.h-data: Likewise.
41883 * conform/data/pwd.h-data: Likewise.
41884 * conform/data/signal.h-data: Likewise.
41885 * conform/data/spawn.h-data: Likewise.
41886 * conform/data/stdio.h-data: Likewise.
41887 * conform/data/stdlib.h-data: Likewise.
41888 * conform/data/stropts.h-data: Likewise.
41889 * conform/data/sys/mman.h-data: Likewise.
41890 * conform/data/sys/stat.h-data: Likewise.
41891 * conform/data/sys/types.h-data: Likewise.
41892 * conform/data/sys/wait.h-data: Likewise.
41893 * conform/data/time.h-data: Likewise.
41894 * conform/data/unistd.h-data: Likewise.
41895 * conform/data/utime.h-data: Likewise.
41897 * io/sys/stat.h: fchmod was always in POSIX.
41898 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41899 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41900 * rt/aio.h: Define __need_timespec before including <time.h>.
41901 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41902 struct. Add forward declaration of pthread_attr_t and use it in
41904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41905 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41906 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41907 always remove CLK_TCK definition.
41909 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41911 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41913 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41915 * conform/run-conformtest.sh: New file.
41916 * conform/Makefile: Run run-conformtest for tests.
41917 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41920 * conform/data/uchar.h-data: New file.
41921 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41922 * conform/data/arpa/inet.h-data: Likewise.
41923 * conform/data/assert.h-data: Likewise.
41924 * conform/data/complex.h-data: Likewise.
41925 * conform/data/cpio.h-data: Likewise.
41926 * conform/data/ctype.h-data: Likewise.
41927 * conform/data/dirent.h-data: Likewise.
41928 * conform/data/dlfcn.h-data: Likewise.
41929 * conform/data/errno.h-data: Likewise.
41930 * conform/data/fcntl.h-data: Likewise.
41931 * conform/data/float.h-data: Likewise.
41932 * conform/data/fmtmsg.h-data: Likewise.
41933 * conform/data/fnmatch.h-data: Likewise.
41934 * conform/data/ftw.h-data: Likewise.
41935 * conform/data/glob.h-data: Likewise.
41936 * conform/data/grp.h-data: Likewise.
41937 * conform/data/iconv.h-data: Likewise.
41938 * conform/data/inttypes.h-data: Likewise.
41939 * conform/data/langinfo.h-data: Likewise.
41940 * conform/data/libgen.h-data: Likewise.
41941 * conform/data/limits.h-data: Likewise.
41942 * conform/data/locale.h-data: Likewise.
41943 * conform/data/math.h-data: Likewise.
41944 * conform/data/monetary.h-data: Likewise.
41945 * conform/data/mqueue.h-data: Likewise.
41946 * conform/data/ndbm.h-data: Likewise.
41947 * conform/data/net/if.h-data: Likewise.
41948 * conform/data/netdb.h-data: Likewise.
41949 * conform/data/netinet/in.h-data: Likewise.
41950 * conform/data/nl_types.h-data: Likewise.
41951 * conform/data/poll.h-data: Likewise.
41952 * conform/data/pthread.h-data: Likewise.
41953 * conform/data/pwd.h-data: Likewise.
41954 * conform/data/regex.h-data: Likewise.
41955 * conform/data/sched.h-data: Likewise.
41956 * conform/data/search.h-data: Likewise.
41957 * conform/data/semaphore.h-data: Likewise.
41958 * conform/data/setjmp.h-data: Likewise.
41959 * conform/data/signal.h-data: Likewise.
41960 * conform/data/spawn.h-data: Likewise.
41961 * conform/data/stdarg.h-data: Likewise.
41962 * conform/data/stdio.h-data: Likewise.
41963 * conform/data/stdlib.h-data: Likewise.
41964 * conform/data/string.h-data: Likewise.
41965 * conform/data/strings.h-data: Likewise.
41966 * conform/data/stropts.h-data: Likewise.
41967 * conform/data/sys/ipc.h-data: Likewise.
41968 * conform/data/sys/mman.h-data: Likewise.
41969 * conform/data/sys/msg.h-data: Likewise.
41970 * conform/data/sys/resource.h-data: Likewise.
41971 * conform/data/sys/select.h-data: Likewise.
41972 * conform/data/sys/sem.h-data: Likewise.
41973 * conform/data/sys/shm.h-data: Likewise.
41974 * conform/data/sys/socket.h-data: Likewise.
41975 * conform/data/sys/stat.h-data: Likewise.
41976 * conform/data/sys/statvfs.h-data: Likewise.
41977 * conform/data/sys/time.h-data: Likewise.
41978 * conform/data/sys/timeb.h-data: Likewise.
41979 * conform/data/sys/times.h-data: Likewise.
41980 * conform/data/sys/types.h-data: Likewise.
41981 * conform/data/sys/uio.h-data: Likewise.
41982 * conform/data/sys/un.h-data: Likewise.
41983 * conform/data/sys/utsname.h-data: Likewise.
41984 * conform/data/sys/wait.h-data: Likewise.
41985 * conform/data/syslog.h-data: Likewise.
41986 * conform/data/tar.h-data: Likewise.
41987 * conform/data/termios.h-data: Likewise.
41988 * conform/data/utime.h-data: Likewise.
41989 * conform/data/utmpx.h-data: Likewise.
41990 * conform/data/varargs.h-data: Likewise.
41991 * conform/data/wchar.h-data: Likewise.
41992 * conform/data/wctype.h-data: Likewise.
41993 * conform/data/wordexp.h-data: Likewise.
41995 * include/stropts.h: New file.
41996 * include/uchar.h: New file.
41997 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41998 * include/assert.h: Likewise.
41999 * include/ctype.h: Likewise.
42000 * include/dirent.h: Likewise.
42001 * include/dlfcn.h: Likewise.
42002 * include/fcntl.h: Likewise.
42003 * include/fnmatch.h: Likewise.
42004 * include/glob.h: Likewise.
42005 * include/grp.h: Likewise.
42006 * include/libio.h: Likewise.
42007 * include/locale.h: Likewise.
42008 * include/math.h: Likewise.
42009 * include/net/if.h: Likewise.
42010 * include/netdb.h: Likewise.
42011 * include/netinet/in.h: Likewise.
42012 * include/pthread.h: Likewise.
42013 * include/pwd.h: Likewise.
42014 * include/regex.h: Likewise.
42015 * include/sched.h: Likewise.
42016 * include/search.h: Likewise.
42017 * include/setjmp.h: Likewise.
42018 * include/signal.h: Likewise.
42019 * include/stdio.h: Likewise.
42020 * include/stdlib.h: Likewise.
42021 * include/string.h: Likewise.
42022 * include/sys/cdefs.h: Likewise.
42023 * include/sys/mman.h: Likewise.
42024 * include/sys/msg.h: Likewise.
42025 * include/sys/resource.h: Likewise.
42026 * include/sys/select.h: Likewise.
42027 * include/sys/socket.h: Likewise.
42028 * include/sys/stat.h: Likewise.
42029 * include/sys/statvfs.h: Likewise.
42030 * include/sys/time.h: Likewise.
42031 * include/sys/times.h: Likewise.
42032 * include/sys/uio.h: Likewise.
42033 * include/sys/utsname.h: Likewise.
42034 * include/sys/wait.h: Likewise.
42035 * include/termios.h: Likewise.
42036 * include/time.h: Likewise.
42037 * include/ulimit.h: Likewise.
42038 * include/unistd.h: Likewise.
42039 * include/utime.h: Likewise.
42040 * include/wchar.h: Likewise.
42041 * include/wctype.h: Likewise.
42042 * include/wordexp.h: Likewise.
42044 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42046 * time/time.h: TIME_UTC must be a macro.
42047 Make timespec_get available for ISO C11 only as well.
42049 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42051 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42052 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42054 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42056 * configure.in: Use -o not -a in test for unsupported multi-arch.
42058 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42060 * manual/texinfo.tex: Update to version 2012-01-19.16.
42062 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42064 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42066 2012-02-24 Roland McGrath <roland@hack.frob.com>
42069 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42070 * manual/fdl-1.3.texi: New file.
42071 * manual/fdl-1.1.texi: File removed.
42074 * manual/libc.texinfo (FDL_VERSION): New @set.
42075 Use it for mention of FDL in cover text.
42076 (Documentation License): Use it in @include file name.
42078 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42079 Roland McGrath <roland@hack.frob.com>
42082 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42083 (not LONG_LONG_MAX and LONG_LONG_MIN.
42084 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42085 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42087 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42089 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42093 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42094 manipulate bits before adding and subtracting TWO23[sx].
42095 * math/libm-test.inc (nearbyint_test): Add more tests.
42097 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42100 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42101 bits before adding and subtracting TWO23[sx].
42102 * math/libm-test.inc (rint_test): Add more tests.
42103 (rint_test_tonearest): Likewise.
42104 (rint_test_towardzero): Likewise.
42105 (rint_test_downward): Likewise.
42106 (rint_test_upward: Likewise.
42108 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42111 * include/stdc-predef.h: New file. Extracted from features.h.
42112 * include/features.h: Include stdc-predef.h.
42113 * Makefile (headers): Add stdc-predef.h.
42114 * CONFORMANCE (Compiler limitations): Update.
42116 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42118 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42120 2012-02-21 David S. Miller <davem@davemloft.net>
42122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42125 2012-02-20 David S. Miller <davem@davemloft.net>
42127 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42128 using a normal save/restore sequence, rather than allocating a
42129 dummy stack frame just to store a frame pointer and restore.
42130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42132 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42134 * manual/install.texi: Fix stray word in line-wrapped comment.
42136 2012-02-20 David S. Miller <davem@davemloft.net>
42138 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42139 both binutils and gcc support GOTDATA.
42141 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42142 "rd %pc" in the PIC register setup sequences.
42144 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42145 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42147 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42148 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42153 (SYSCALL_ERROR_HANDLER): Likewise.
42154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42157 (SYSCALL_ERROR_HANDLER): Likewise.
42159 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42160 (HAVE_GCC_GOTDATA): New.
42161 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42162 relocation support in both binutils and gcc.
42163 * sysdeps/sparc/elf/configure: Regenerate.
42165 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42166 * sysdeps/sparc/sparc32/elf/configure: Delete.
42167 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42168 * sysdeps/sparc/sparc64/elf/configure: Delete.
42169 * sysdeps/sparc/elf/configure.in: New file.
42170 * sysdeps/sparc/elf/configure: Generate.
42172 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42173 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42175 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42176 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42178 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42180 * manual/install.texi: Do not mention specific glibc version
42182 * manual/libc.texinfo (VERSION, UPDATED): Update.
42183 (@copying): Use @copyright{} and range of years.
42185 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42188 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42189 [crti.S not in sysdirs] (generated): Do not append.
42190 [crti.S not in sysdirs] (omit-deps): Likewise.
42191 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42192 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42193 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42194 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42195 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42197 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42198 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42199 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42200 * csu/defs.awk: Remove file.
42201 * sysdeps/generic/initfini.c: Likewise.
42202 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42204 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42207 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42209 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42214 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42216 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42217 (__EPOLL_PACKED): Define to empty if not defined by
42219 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42223 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42225 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42226 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42227 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42230 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42234 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42236 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42243 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42248 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42250 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42251 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42253 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42255 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42258 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42260 * math/w_acos.c: Use non-signaling floating-point comparisons.
42261 * math/w_acosf.c: Likewise.
42262 * math/w_acosh.c: Likewise.
42263 * math/w_acoshf.c: Likewise.
42264 * math/w_acoshl.c: Likewise.
42265 * math/w_acosl.c: Likewise.
42266 * math/w_asin.c: Likewise.
42267 * math/w_asinf.c: Likewise.
42268 * math/w_asinl.c: Likewise.
42269 * math/w_atanh.c: Likewise.
42270 * math/w_atanhf.c: Likewise.
42271 * math/w_atanhl.c: Likewise.
42272 * math/w_exp2.c: Likewise.
42273 * math/w_exp2f.c: Likewise.
42274 * math/w_exp2l.c: Likewise.
42275 * math/w_j0.c: Likewise.
42276 * math/w_j0f.c: Likewise.
42277 * math/w_j0l.c: Likewise.
42278 * math/w_j1.c: Likewise.
42279 * math/w_j1f.c: Likewise.
42280 * math/w_j1l.c: Likewise.
42281 * math/w_jn.c: Likewise.
42282 * math/w_jnf.c: Likewise.
42283 * math/w_log.c: Likewise.
42284 * math/w_log10.c: Likewise.
42285 * math/w_log10f.c: Likewise.
42286 * math/w_log10l.c: Likewise.
42287 * math/w_log2.c: Likewise.
42288 * math/w_log2f.c: Likewise.
42289 * math/w_log2l.c: Likewise.
42290 * math/w_logf.c: Likewise.
42291 * math/w_logl.c: Likewise.
42292 * math/w_sqrt.c: Likewise.
42293 * math/w_sqrtf.c: Likewise.
42294 * math/w_sqrtl.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42301 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42304 * manual/string.texi (strnlen): Use correct parameter name in
42305 equivalent expression.
42307 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42310 * manual/users.texi (seteuid): Consistently use neweuid for
42313 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42316 * manual/nss.texi (Services in the NSS configuration): Correct
42317 list of services in example configuration file.
42319 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42322 * manual/arith.texi: Remove statements about negative zero
42323 behaving identically to zero.
42325 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42328 * manual/install.texi: Do not document upgrading from libc5.
42330 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42333 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42335 2012-02-18 David S. Miller <davem@davemloft.net>
42337 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42338 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42339 %o7 across the call.
42340 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42343 SETUP_PIC_REG_LEAF.
42344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42345 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42346 * sysdeps/sparc/crtn.S: Likewise.
42348 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42350 * aout/Makefile: Remove.
42352 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42355 * manual/examples/argp-ex1.c (main): Format definition in GNU
42357 * manual/examples/argp-ex2.c (main): Likewise.
42358 * manual/examples/argp-ex3.c (main): Likewise.
42359 * manual/examples/argp-ex4.c (main): Likewise.
42360 * manual/examples/longopt.c (main): Use new-style prototype
42362 * manual/examples/strncat.c (main): Specify return type and use
42363 (void) for arguments.
42364 * manual/examples/subopt.c (main): Use char **argv argument.
42366 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42369 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42372 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42375 * manual/string.texi (strchr): Change when strchrnul is
42378 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42381 * manual/locale.texi (setlocale): Document LOCPATH.
42383 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42386 * manual/process.texi (execle): Move @dots{} before last argument.
42388 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42391 * manual/charset.texi (Generic Charset Conversion): Fix typo
42392 (LC_TYPE -> LC_CTYPE).
42394 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42397 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42398 (scalbnf): Likewise.
42399 (scalbnl): Likewise.
42400 (scalbln): Likewise.
42401 (scalblnf): Likewise.
42402 (scalblnl): Likewise.
42403 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42404 (vwarnx): Likewise.
42407 * manual/filesys.texi (telldir): Use braces around return type.
42408 * manual/llio.texi (mmap): Add space after comma.
42409 (mmap64): Likewise.
42410 * manual/math.texi (jn): Use @var{} on parameter names.
42416 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42418 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42420 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42421 (sched_get_priority_max): Likewise.
42422 * manual/signal.texi (sigvec): Add space after comma.
42423 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42425 (if_indextoname): Likewise.
42426 (if_freenameindex): Likewise.
42427 (sendto): Use ',' instead of '.' in prototype.
42428 * manual/startup.texi (syscall): Use @dots{} instead of literal
42430 * manual/stdio.texi (__fpending): Separate initial words of
42431 paragraph from @deftypefun line.
42432 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42434 (vsyslog): Use @var{} on parameter names.
42435 * manual/terminal.texi (stty): Use @var{} on parameter names.
42436 * manual/users.texi (getutmp): Use @var{} on parameter names.
42437 (getutmpx): Likewise.
42439 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42442 * manual/stdio.texi (fopen): Fix typos in description of
42445 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42448 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42449 get clock_id definition.
42451 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42454 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42455 (madvise): Cast every argument to void on its own.
42457 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42460 * manual/startup.texi (Exit Status): Fix typo.
42462 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42465 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42466 * manual/examples/argp-ex2.c: Likewise.
42467 * manual/examples/argp-ex3.c: Likewise.
42469 2012-02-16 Richard Henderson <rth@redhat.com>
42471 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42472 * sysdeps/s390/s390-32/initfini.c: Remove.
42473 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42474 * sysdeps/s390/s390-64/initfini.c: Remove.
42476 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42478 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42479 compiler output for sysdeps/generic/initfini.c.
42480 * sysdeps/sh/elf/initfini.c: Remove file.
42482 2012-02-16 David S. Miller <davem@davemloft.net>
42485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42487 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42488 * sysdeps/sparc/crti.S: New file.
42489 * sysdeps/sparc/crtn.S: New file.
42490 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42491 * sysdeps/sparc/sparc64/Makefile: Likewise.
42493 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42496 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42498 2012-02-15 Roland McGrath <roland@hack.frob.com>
42501 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42503 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42504 (write, read, close): Likewise.
42505 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42507 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42509 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42510 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42511 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42512 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42514 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42518 2012-02-14 Marek Polacek <polacek@redhat.com>
42520 * sysdeps/x86_64/crti.S: New file.
42521 * sysdeps/x86_64/crtn.S: New file.
42522 * sysdeps/x86_64/elf/initfini.c: Remove file.
42524 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42526 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42527 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42528 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42529 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42531 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42535 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42537 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42538 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42539 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42540 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42542 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42546 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42548 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42549 __feraiseexcept instead of feraiseexcept.
42551 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42552 nanosleep invocations.
42553 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42554 strings, and add error checking for a nanosleep invocations.
42556 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42558 Replace FSF snail mail address with URLs, as per GNU coding standards.
42559 Most of the snail mail addresses were wrong anyway, and omitting
42560 them makes the source code easier to maintain. Almost all of the
42561 changes are to license notices and to locale LC_IDENTIFICATION
42562 addresses, except for this one:
42563 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42564 not its snail mail address.
42566 2012-02-09 Richard Henderson <rth@twiddle.net>
42568 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42569 of kernel-features.h.
42571 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42573 2012-02-08 Marek Polacek <polacek@redhat.com>
42575 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42576 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42577 * sysdeps/gnu/_G_config.h: Likewise.
42578 * sysdeps/generic/_G_config.h: Likewise.
42580 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42582 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42586 * sysdeps/powerpc/powerpc32/crti.S: New file.
42587 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42588 * sysdeps/powerpc/powerpc64/crti.S: New file.
42589 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42591 * Makeconfig (have-initfini): Don't set.
42592 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42593 * configure.in (nopic_initfini): Don't substitute.
42594 * config.h.in (HAVE_INITFINI): Don't #undef.
42595 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42596 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42598 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42600 Support crti.S and crtn.S provided directly by architectures.
42601 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42602 [crti.S in sysdirs] (omit-deps): Likewise.
42603 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42604 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42605 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42606 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42607 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42608 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42609 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42610 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42611 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42612 compiler output for sysdeps/generic/initfini.c.
42613 * sysdeps/i386/elf/Makefile: Remove file.
42614 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42616 2012-02-07 Marek Polacek <polacek@redhat.com>
42618 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42619 * sysdeps/gnu/_G_config.h: Likewise.
42620 * sysdeps/mach/hurd/_G_config.h: Likewise.
42622 2012-02-07 Marek Polacek <polacek@redhat.com>
42624 * math/Makefile (tests): Add tst-CMPLX2.
42625 * math/tst-CMPLX2.c: New file.
42627 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42629 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42631 * math/libm-test.inc (jn_test): Add missing L suffix.
42633 2012-02-06 Marek Polacek <polacek@redhat.com>
42635 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42636 * sysdeps/i386/fpu/e_powf.S: Likewise.
42637 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42638 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42639 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42640 * sysdeps/i386/fpu/e_pow.S: Likewise.
42641 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42643 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42645 * sysdeps/i386/fpu/e_log2.S: Likewise.
42646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42648 * sysdeps/i386/fpu/e_powl.S: Likewise.
42649 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42652 * sysdeps/i386/fpu/e_logl.S: Likewise.
42653 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42654 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42655 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42656 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42657 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42658 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42659 * sysdeps/i386/fpu/e_log.S: Likewise.
42660 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42662 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42663 * sysdeps/i386/fpu/e_logf.S: Likewise.
42664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42666 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42667 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42668 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42669 * sysdeps/i386/fpu/e_log10.S: Likewise.
42670 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42671 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42672 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42673 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42674 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42675 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42676 * sysdeps/i386/asm-syntax.h: Likewise.
42677 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42678 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42679 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42680 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42681 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42683 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42684 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42686 * sysdeps/powerpc/sysdep.h: Likewise.
42687 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42688 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42690 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42693 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42695 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42697 * sysdeps/i386/sysdep.h: Include <features.h>.
42698 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42701 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42703 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42705 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42708 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42710 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42711 (SETUP_PIC_REG): Use GET_PC_THUNK.
42712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42715 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42717 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42718 for non-PIC compilation.
42719 (SETUP_PIC_REG): Add .p2align directive.
42720 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42721 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42722 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42723 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42724 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42725 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42726 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42728 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42729 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42730 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42731 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42732 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42733 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42734 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42735 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42736 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42737 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42738 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42739 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42742 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42743 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42750 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42752 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42753 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42754 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42762 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42764 * math/tst-CMPLX.c: Include <stdio.h>.
42766 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42768 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42770 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42771 * sysdeps/sparc/bits/mathdef.h: Likewise.
42773 2012-01-31 Marek Polacek <polacek@redhat.com>
42775 * libio/libio.h: Don't define _PARAMS.
42776 * locale/programs/config.h: Don't define PARAMS.
42777 * stdlib/strtol_l.c: Likewise.
42778 (__strtol_l): Remove PARAMS from the prototype.
42780 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42782 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42783 names. Just use the correct names. Remove unnecessary wrapper
42785 * malloc/arena.c: Likewise.
42786 * malloc/hooks.c: Likewise.
42788 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42789 ARENA_TEST says not to. Simplify test for creation of a new arena.
42790 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42792 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42794 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42796 (update_get_addr): New function.
42797 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42798 GET_ADDR_MODULE parameter.
42800 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42802 * crypt/cert.c: Remove __STDC__ conditionals.
42803 * crypt/crypt-entry.c: Likewise.
42804 * crypt/crypt_util.c: Likewise.
42805 * libio/filedoalloc.c: Likewise.
42806 * libio/fileops.c: Likewise.
42807 * libio/genops.c: Likewise.
42808 * libio/iofclose.c: Likewise.
42809 * libio/iofdopen.c: Likewise.
42810 * libio/iofopen.c: Likewise.
42811 * libio/iofopen64.c: Likewise.
42812 * libio/iogetdelim.c: Likewise.
42813 * libio/iopopen.c: Likewise.
42814 * libio/obprintf.c: Likewise.
42815 * libio/oldfileops.c: Likewise.
42816 * libio/oldiofclose.c: Likewise.
42817 * libio/oldiofdopen.c: Likewise.
42818 * libio/oldiofopen.c: Likewise.
42819 * libio/oldiopopen.c: Likewise.
42820 * libio/wfiledoalloc.c: Likewise.
42821 * libio/wgenops.c: Likewise.
42822 * locale/programs/xmalloc.c: Likewise.
42823 * misc/syslog.c: Likewise.
42824 * stdio-common/xbug.c: Likewise.
42825 * string/memchr.c: Likewise.
42826 * string/memcmp.c: Likewise.
42827 * string/memrchr.c: Likewise.
42828 * string/rawmemchr.c: Likewise.
42829 * sysdeps/posix/getcwd.c: Likewise.
42830 * time/strftime_l.c: Likewise.
42832 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42834 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42835 * config.make.in (config-cflags-sse2avx): Define.
42836 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42839 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42841 * scripts/config.guess: Update from upstream config git repository.
42842 * scripts/config.sub: Likewise.
42844 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42846 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42848 (R_TILEPRO_*, R_TILEGX_*): New macros.
42850 * scripts/firstversions.awk: Fix bug in version range handling.
42852 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42854 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42856 * include/sys/epoll.h: New file.
42857 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42860 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42862 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42863 Avoid unnecessary __WORDSIZE == 64 test.
42864 (fmaxf): Use VEX format if possible.
42869 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42870 * math/math_private.h: Remove libc_fegetround* and
42872 * sysdeps/i386/configure.in: Check for -msse2avx.
42873 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42874 also if SSE2AVX is defined.
42875 Remove libc_fegetround* and libc_fesetround*.
42876 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42877 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42886 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42888 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42892 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42894 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42897 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42899 * Makeconfig (libm): Define.
42900 * elf/Makefile: Add rules to build and run tst-relsort1.
42901 * elf/tst-relsort1.c: New file.
42902 * elf/tst-relsort1mod1.c: New file.
42903 * elf/tst-relsort1mod2.c: New file.
42905 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42907 * math/s_ldexp.c: Remove __STDC__ conditionals.
42908 * math/s_ldexpf.c: Likewise.
42909 * math/s_ldexpl.c: Likewise.
42910 * math/s_nextafter.c: Likewise.
42911 * math/s_nexttowardf.c: Likewise.
42912 * math/s_significand.c: Likewise.
42913 * math/s_significandf.c: Likewise.
42914 * math/s_significandl.c: Likewise.
42915 * math/w_jnl.c: Likewise.
42916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42935 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42936 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42937 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42938 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42940 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42941 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42942 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42946 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42947 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42956 * sysdeps/ieee754/k_standard.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43023 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43031 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43032 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43036 * sysdeps/ieee754/s_matherr.c: Likewise.
43037 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43038 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43040 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43042 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43044 * crypt/md5.h: Remove __STDC__ conditionals.
43045 * libio/libioP.h: Likewise.
43046 * locale/programs/config.h: Likewise.
43047 * sysdeps/generic/sysdep.h: Likewise.
43048 * sysdeps/i386/asm-syntax.h: Likewise.
43049 * sysdeps/s390/asm-syntax.h: Likewise.
43050 * sysdeps/unix/sysdep.h: Likewise.
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43054 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43056 * libio/libio.h: Remove __STDC__ conditionals.
43057 * malloc/obstack.h: Likewise.
43058 * math/complex.h: Likewise.
43059 * math/math.h: Likewise.
43060 * sysdeps/generic/_G_config.h: Likewise.
43061 * sysdeps/gnu/_G_config.h: Likewise.
43062 * sysdeps/mach/hurd/_G_config.h: Likewise.
43063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43064 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43065 * sysdeps/sparc/bits/mathdef.h: Likewise.
43067 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43070 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43071 Clean up HAS_* macros.
43072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43073 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43083 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43085 * elf/tst-unique3.cc (gets): Remove declaration.
43086 * elf/tst-unique3lib.cc (gets): Likewise.
43087 * elf/tst-unique3lib2.cc (gets): Likewise.
43088 * elf/tst-unique4.cc (gets): Likewise.
43090 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43092 * include/stdio.h: Add C++ protection. Add gets declarations and
43094 * debug/tst-chk1.c: Don't declare gets here.
43095 * stdio-common/tst-gets.c: Likewise.
43097 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43099 * posix/glob: Remove directory.
43101 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43103 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43105 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43107 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43108 of the non-standard EPFNOSUPPORT.
43110 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43112 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43113 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43114 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43116 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43118 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43120 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43122 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43124 * nscd/grpcache.c (cache_addgr): Likewise.
43125 * nscd/hstcache.c (cache_addhst): Likewise.
43126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43127 * nscd/pwdcache.c (cache_addpw): Likewise.
43128 * nscd/servicescache.c (cache_addserv): Likewise.
43130 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43132 * malloc/malloc.c: Various cleanups.
43133 * malloc/hooks.c: Likewise.
43135 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43136 * stdlib/bug-fmtmsg1.c: New file.
43138 * stdlib/fmtmsg.c (init): Add missing unlock.
43139 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43141 2012-01-12 Marek Polacek <polacek@redhat.com>
43143 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43146 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43148 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43150 macro to ensure uniqueness of label name.
43151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43154 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43156 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43159 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43163 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43167 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43168 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43171 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43174 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43178 * math/bits/math-finite.h: Add ldexp support.
43180 2012-01-10 Marek Polacek <polacek@redhat.com>
43182 * locale/programs/localedef.h (show_archive_content): Add noreturn
43185 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43187 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43189 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43191 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43193 * io/Makefile (headers): Add bits/poll2.h.
43195 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43198 typo #include statement.
43200 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43202 * include/sys/cdefs.h: Define __attribute_alloc_size.
43203 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43204 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43205 * elf/pldd.c: Likewise.
43206 * iconv/iconv_charmap.c: Likewise.
43207 * iconv/iconvconfig.c: Likewise.
43208 * iconv/strtab.c: Likewise.
43209 * locale/programs/locale.c: Likewise.
43210 * locale/programs/localedef.h: Likewise.
43211 * locale/programs/simple-hash.c: Likewise.
43212 * nscd/nscd.h: Likewise.
43213 * nss/makedb.c: Likewise.
43214 * sysdeps/generic/ldconfig.h: Likewise.
43215 * locale/programs/localedef.c: Remove xmalloc prototype.
43216 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43218 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43220 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43223 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43225 * math/Makefile (tests): Add tst-CMPLX.
43226 * math/tst-CMPLX.c: New file.
43228 * math/complex.h (CMPLXL): Fix typo.
43230 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43231 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43233 * debug/tst-chk1.c: Add poll and ppoll tests.
43234 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43235 * include/sys/poll.h: Add hidden proto for ppoll.
43236 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43237 * sysdeps/mach/hurd/ppoll.c: Likewise.
43238 * io/ppoll.c: Likewise.
43239 * debug/poll_chk.c: New file.
43240 * debug/ppoll_chk.c: New file.
43241 * include/bits/poll2.h: New file.
43242 * io/bits/poll2.h: New file.
43245 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43247 * configure.in: static is always set to yes. Remove.
43248 * config.make.in: Don't set build-static.
43249 * Makeconfig: Remove use of build-static.
43250 * dlfcn/Makefile: Likewise.
43251 * elf/Makefile: Likewise.
43252 * math/Makefile: Likewise.
43253 * misc/Makefile: Likewise.
43254 * nptl/Makefile: Likewise.
43255 * sysdeps/mach/hurd/Makefile: Likewise.
43257 * configure.in: PWD_P is not used anymore.
43258 * config.make.in: Remove PWD_P entry.
43260 * configure.in: Remove last remnants of RANLIB.
43261 No need to check for signed size_t anymore.
43262 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43264 Remove __builtin_expect test because we require at least gcc 3.4.
43265 * aclocal.m4: Likewise.
43267 * wcsmbs/mbrtoc16.c: Implement using towc function.
43268 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43269 * wcsmbs/wcsmbsload.c: Likewise.
43270 * iconv/gconv_simple.c: Likewise.
43271 * iconv/gconv_int.h: Likewise.
43272 * iconv/gconv_builtin.h: Likewise.
43273 * iconv/iconv_prog.c: Remove CHAR16 handling.
43275 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43277 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43279 * configure.in: Remove --with-elf and --enable-bounded options.
43280 Dont set base_machine for ia64. More non-ELF conditions removed.
43281 Remove testing and setting of leading underscore information.
43282 * config.make.in (build-bounded): Set to no.
43283 * config.h.in: Remove NO_UNDERSCORES entry.
43284 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43286 * csu/start.c: Remove !NO_UNDERSCORE code.
43287 * locale/localeinfo.h: Likewise.
43288 * sysdeps/generic/machine-gmon.h: Likewise.
43289 * sysdeps/generic/sysdep.h: Likewise.
43290 * sysdeps/i386/sysdep.h: Likewise.
43291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43292 * sysdeps/mach/sysdep.h: Likewise.
43293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43294 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43295 * sysdeps/sh/sysdep.h: Likewise.
43296 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43297 * sysdeps/unix/i386/sysdep.S: Likewise.
43298 * sysdeps/unix/sparc/start.c: Likewise.
43299 * sysdeps/unix/sparc/sysdep.S: Likewise.
43300 * sysdeps/unix/sparc/sysdep.h: Likewise.
43301 * sysdeps/unix/start.c: Likewise.
43302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43303 * sysdeps/x86_64/sysdep.h: Likewise.
43305 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43308 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43310 * argp/argp-fmtstream.h: Use const instead __const.
43311 * argp/argp.h: Likewise.
43312 * assert/assert.h: Likewise.
43313 * bits/fenv.h: Likewise.
43314 * bits/sched.h: Likewise.
43315 * bits/sigset.h: Likewise.
43316 * bits/sigthread.h: Likewise.
43317 * catgets/nl_types.h: Likewise.
43318 * conform/data/pthread.h-data: Likewise.
43319 * crypt/crypt-private.h: Likewise.
43320 * crypt/crypt.h: Likewise.
43321 * crypt/crypt_util.c: Likewise.
43322 * ctype/ctype.h: Likewise.
43323 * debug/execinfo.h: Likewise.
43324 * debug/mbsnrtowcs_chk.c: Likewise.
43325 * debug/mbsrtowcs_chk.c: Likewise.
43326 * debug/wcsnrtombs_chk.c: Likewise.
43327 * debug/wcsrtombs_chk.c: Likewise.
43328 * debug/wcstombs_chk.c: Likewise.
43329 * dirent/dirent.h: Likewise.
43330 * dlfcn/dlfcn.h: Likewise.
43331 * elf/neededtest4.c: Likewise.
43332 * grp/grp.h: Likewise.
43333 * gshadow/gshadow.h: Likewise.
43334 * iconv/gconv.h: Likewise.
43335 * iconv/gconv_int.h: Likewise.
43336 * iconv/gconv_simple.c: Likewise.
43337 * iconv/iconv.h: Likewise.
43338 * iconv/loop.c: Likewise.
43339 * iconv/skeleton.c: Likewise.
43340 * include/aio.h: Likewise.
43341 * include/aliases.h: Likewise.
43342 * include/argz.h: Likewise.
43343 * include/arpa/inet.h: Likewise.
43344 * include/assert.h: Likewise.
43345 * include/dirent.h: Likewise.
43346 * include/dlfcn.h: Likewise.
43347 * include/execinfo.h: Likewise.
43348 * include/fcntl.h: Likewise.
43349 * include/fenv.h: Likewise.
43350 * include/glob.h: Likewise.
43351 * include/grp.h: Likewise.
43352 * include/libintl.h: Likewise.
43353 * include/mntent.h: Likewise.
43354 * include/netdb.h: Likewise.
43355 * include/pwd.h: Likewise.
43356 * include/rpc/netdb.h: Likewise.
43357 * include/sched.h: Likewise.
43358 * include/search.h: Likewise.
43359 * include/shadow.h: Likewise.
43360 * include/signal.h: Likewise.
43361 * include/stdio.h: Likewise.
43362 * include/stdlib.h: Likewise.
43363 * include/string.h: Likewise.
43364 * include/sys/socket.h: Likewise.
43365 * include/sys/stat.h: Likewise.
43366 * include/sys/statfs.h: Likewise.
43367 * include/sys/statvfs.h: Likewise.
43368 * include/sys/syslog.h: Likewise.
43369 * include/sys/time.h: Likewise.
43370 * include/sys/uio.h: Likewise.
43371 * include/time.h: Likewise.
43372 * include/unistd.h: Likewise.
43373 * include/utmp.h: Likewise.
43374 * include/wchar.h: Likewise.
43375 * include/wctype.h: Likewise.
43376 * inet/aliases.h: Likewise.
43377 * inet/arpa/inet.h: Likewise.
43378 * inet/netinet/ether.h: Likewise.
43379 * inet/netinet/in.h: Likewise.
43380 * intl/libintl.h: Likewise.
43381 * io/bits/fcntl2.h: Likewise.
43382 * io/fcntl.h: Likewise.
43383 * io/ftw.h: Likewise.
43384 * io/sys/poll.h: Likewise.
43385 * io/sys/stat.h: Likewise.
43386 * io/sys/statfs.h: Likewise.
43387 * io/sys/statvfs.h: Likewise.
43388 * io/utime.h: Likewise.
43389 * libio/bits/stdio.h: Likewise.
43390 * libio/bits/stdio2.h: Likewise.
43391 * libio/libio.h: Likewise.
43392 * libio/libioP.h: Likewise.
43393 * libio/stdio.h: Likewise.
43394 * locale/lc-ctype.c: Likewise.
43395 * locale/locale.h: Likewise.
43396 * login/utmp.h: Likewise.
43397 * malloc/arena.c: Likewise.
43398 * malloc/malloc.c: Likewise.
43399 * malloc/malloc.h: Likewise.
43400 * malloc/mcheck.c: Likewise.
43401 * malloc/mtrace.c: Likewise.
43402 * math/bits/mathcalls.h: Likewise.
43403 * math/fenv.h: Likewise.
43404 * math/math_private.h: Likewise.
43405 * misc/bits/error.h: Likewise.
43406 * misc/bits/syslog.h: Likewise.
43407 * misc/err.h: Likewise.
43408 * misc/error.h: Likewise.
43409 * misc/fstab.h: Likewise.
43410 * misc/mntent.h: Likewise.
43411 * misc/regexp.h: Likewise.
43412 * misc/search.h: Likewise.
43413 * misc/sgtty.h: Likewise.
43414 * misc/sys/mman.h: Likewise.
43415 * misc/sys/syslog.h: Likewise.
43416 * misc/sys/uio.h: Likewise.
43417 * misc/sys/xattr.h: Likewise.
43418 * misc/ttyent.h: Likewise.
43419 * nis/rpcsvc/ypclnt.h: Likewise.
43420 * nss/nss.h: Likewise.
43421 * posix/bits/unistd.h: Likewise.
43422 * posix/fnmatch.h: Likewise.
43423 * posix/glob.h: Likewise.
43424 * posix/sched.h: Likewise.
43425 * posix/spawn.h: Likewise.
43426 * posix/sys/wait.h: Likewise.
43427 * posix/unistd.h: Likewise.
43428 * posix/wordexp.h: Likewise.
43429 * pwd/pwd.h: Likewise.
43430 * resolv/netdb.h: Likewise.
43431 * resource/sys/resource.h: Likewise.
43432 * rt/aio.h: Likewise.
43433 * rt/bits/mqueue2.h: Likewise.
43434 * rt/mqueue.h: Likewise.
43435 * shadow/shadow.h: Likewise.
43436 * signal/signal.h: Likewise.
43437 * socket/send.c: Likewise.
43438 * socket/sendto.c: Likewise.
43439 * socket/sys/socket.h: Likewise.
43440 * stdio-common/printf.h: Likewise.
43441 * stdlib/bits/stdlib.h: Likewise.
43442 * stdlib/fmtmsg.h: Likewise.
43443 * stdlib/monetary.h: Likewise.
43444 * stdlib/stdlib.h: Likewise.
43445 * stdlib/ucontext.h: Likewise.
43446 * streams/stropts.h: Likewise.
43447 * string/argz.h: Likewise.
43448 * string/bits/string2.h: Likewise.
43449 * string/string.h: Likewise.
43450 * string/strings.h: Likewise.
43451 * sunrpc/rpc/auth.h: Likewise.
43452 * sunrpc/rpc/auth_des.h: Likewise.
43453 * sunrpc/rpc/clnt.h: Likewise.
43454 * sunrpc/rpc/netdb.h: Likewise.
43455 * sunrpc/rpc/pmap_clnt.h: Likewise.
43456 * sunrpc/rpc/xdr.h: Likewise.
43457 * sysdeps/generic/inttypes.h: Likewise.
43458 * sysdeps/generic/net/if.h: Likewise.
43459 * sysdeps/generic/sys/swap.h: Likewise.
43460 * sysdeps/gnu/net/if.h: Likewise.
43461 * sysdeps/gnu/utmpx.h: Likewise.
43462 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43463 * sysdeps/i386/i486/bits/string.h: Likewise.
43464 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43465 * sysdeps/s390/bits/string.h: Likewise.
43466 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43467 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43468 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43469 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43470 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43471 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43472 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43473 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43474 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43475 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43476 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43477 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43478 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43479 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43480 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43481 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43482 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43487 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43488 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43489 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43490 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43491 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43494 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43496 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43497 * sysvipc/sys/ipc.h: Likewise.
43498 * sysvipc/sys/msg.h: Likewise.
43499 * sysvipc/sys/sem.h: Likewise.
43500 * sysvipc/sys/shm.h: Likewise.
43501 * termios/termios.h: Likewise.
43502 * time/sys/time.h: Likewise.
43503 * time/time.h: Likewise.
43504 * wcsmbs/bits/wchar2.h: Likewise.
43505 * wcsmbs/uchar.h: Likewise.
43506 * wcsmbs/wchar.h: Likewise.
43507 * wctype/wctype.h: Likewise.
43510 * Makeconfig: Remove all but ELF support including AIX support.
43511 * Makerules: Likewise.
43512 * config.h.in: Likewise.
43513 * config.make.in: Likewise.
43514 * configure: Likewise.
43515 * configure.in: Likewise.
43516 * csu/Makefile: Likewise.
43517 * csu/version.c: Likewise.
43518 * debug/Makefile: Likewise.
43519 * dlfcn/Makefile: Likewise.
43520 * elf/Makefile: Likewise.
43521 * extra-lib.mk: Likewise.
43522 * iconv/Makefile: Likewise.
43523 * include/libc-symbols.h: Likewise.
43524 * include/shlib-compat.h: Likewise.
43525 * resolv/Makefile: Likewise.
43526 * resolv/res_libc.c: Likewise.
43527 * rt/Makefile: Likewise.
43528 * sysdeps/i386/asm-syntax.h: Likewise.
43529 * sysdeps/i386/sysdep.h: Likewise.
43530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43531 * sysdeps/mach/sysdep.h: Likewise.
43532 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43533 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43534 * sysdeps/s390/asm-syntax.h: Likewise.
43535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43536 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43537 * sysdeps/sh/sysdep.h: Likewise.
43538 * sysdeps/unix/sparc/sysdep.h: Likewise.
43539 * sysdeps/wordsize-32/divdi3.c: Likewise.
43540 * sysdeps/x86_64/sysdep.h: Likewise.
43542 * argp/Versions: Remove _argp_unlock_xxx.
43545 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43546 * abilist/libBrokenLocale.abilist: Likewise.
43547 * abilist/libanl.abilist: Likewise.
43548 * abilist/libc.abilist: Likewise.
43549 * abilist/libcrypt.abilist: Likewise.
43550 * abilist/libdl.abilist: Likewise.
43551 * abilist/libm.abilist: Likewise.
43552 * abilist/libnsl.abilist: Likewise.
43553 * abilist/libpthread.abilist: Likewise.
43554 * abilist/libresolv.abilist: Likewise.
43555 * abilist/librt.abilist: Likewise.
43556 * abilist/libthread_db.abilist: Likewise.
43557 * abilist/libutil.abilist: Likewise.
43558 * abilist/libnss_db.abilist: New file.
43560 * scripts/abilist.awk: Add support for indirect functions.
43562 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43564 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43566 * shlib-versions: Remove entries for ports architectures.
43568 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43570 * elf/stackguard-macros.h: Remove support for IA-64.
43571 * elf/tst-auditmod1.c: Likewise.
43572 * sysdeps/generic/ldsodefs.h: Likewise.
43574 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43575 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43579 * configure.in: Remove --enable-omitfp support.
43581 * config.make.in: Likewise.
43582 * Makeconfig: Likewise.
43583 * manual/install.texi: Likewise.
43585 In case anyone cares, the IA-64 architecture could move to ports.
43586 * sysdeps/ia64/*: Removed.
43587 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43588 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43591 * configure.in: Remove entries for unsupported architectures.
43594 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43595 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43597 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43598 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43599 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43600 fall back to using wcrtomb.
43601 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43602 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43604 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43605 * wcsmbs/tst-c16c32-1.c: New file.
43607 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43610 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43612 * elf/tst-unique3.cc: Add explicit declaration of gets.
43613 * elf/tst-unique3lib.cc: Likewise.
43614 * elf/tst-unique3lib2.cc: Likewise.
43615 * elf/tst-unique4.cc: Likewise.
43617 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43619 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43622 * assert/assert.h (static_assert): Don't define for C++.
43623 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43624 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43626 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43628 * iconv/loop.c (single loop): Fix assertion in storing of
43631 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43633 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43635 * posix/getconf.c: Update copyright year.
43636 * nss/getent.c: Likewise.
43637 * nss/makedb.c: Likewise.
43638 * iconv/iconvconfig.c: Likewise.
43639 * iconv/iconv_prog.c: Likewise.
43640 * elf/ldconfig.c: Likewise.
43641 * elf/pldd.c: Likewise.
43642 * elf/sotruss.ksh: Likewise.
43643 * catgets/gencat.c: Likewise.
43644 * csu/version.c: Likewise.
43645 * elf/ldd.bash.in: Likewise.
43646 * elf/sprof.c (print_version): Likewise.
43647 * locale/programs/locale.c: Likewise.
43648 * locale/programs/localedef.c: Likewise.
43649 * login/programs/pt_chown.c: Likewise.
43650 * nscd/nscd.c (print_version): Likewise.
43651 * debug/xtrace.sh: Likewise.
43652 * malloc/memusage.sh: Likewise.
43653 * malloc/mtrace.pl: Likewise.
43654 * debug/catchsegv.sh: Likewise.
43656 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43658 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43661 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43664 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43665 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43667 * iconv/gconv_int.h: Likewise.
43668 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43669 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43670 from libc for GLIBC_2.16.
43671 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43672 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43673 * wcsmbs/uchar.h: Really define mbstate_t.
43674 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43675 * wcsmbs/c16rtomb.c: New file.
43676 * wcsmbs/mbrtoc16.c: New file.
43677 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43678 for C/POSIX locale.
43679 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43680 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43682 * wcsmbs/wchar.h: Add missing __restrict.
43684 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43687 * time/Makefile (routines): Add timespec_get.
43688 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43689 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43690 timespec for ISO C11.
43691 * time/timespec_get.c: New file.
43692 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43693 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43696 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43697 * stdlib/stdlib.h: Declare aligned_alloc.
43698 * Versions.def: Add GLIBC_2.16 for libc.
43699 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43702 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43705 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43709 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43712 * assert/assert.h (static_assert): Define.
43714 * version.h: Update for 2.16 development version.
43717 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43720 * version.h (RELEASE): Bump for 2.15 release.
43721 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43723 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43724 Patch by Marek Polacek <mpolacek@redhat.com>.
43726 * bits/byteswap.h: Protect long long constants with __extension__.
43727 * sysdeps/i386/bits/byteswap.h: Likewise.
43728 * sysdeps/ia64/bits/byteswap.h: Likewise.
43729 * sysdeps/s390/bits/byteswap.h: Likewise.
43730 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43732 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43736 destination buffer.
43737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43739 2011-12-23 Marek Polacek <polacek@redhat.com>
43741 * elf/dl-addr.c (determine_info): Add inline keyword.
43742 * elf/tst-auditmod4b.c (check_avx): Likewise.
43743 * elf/tst-auditmod6b.c (check_avx): Likewise.
43744 * elf/tst-auditmod6c.c (check_avx): Likewise.
43745 * elf/tst-auditmod7b.c (check_avx): Likewise.
43747 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43749 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43752 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43756 processing for last bytes.
43758 2011-08-06 Bruno Haible <bruno@clisp.org>
43761 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43762 U+0385, not to U+1FEE.
43765 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43766 entry for U+00A5 U+0301.
43768 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43771 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43772 buffer for the output is too small.
43774 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43778 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43779 SSE flags if possible.
43781 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43785 processing for last bytes.
43787 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43789 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43790 (syscall-list-default-options, syscall-list-default-condition)
43791 (syscall-list-includes): Define.
43792 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43793 list of ABIs and options and #if conditions for each ABI. Do not
43794 handle common syscalls between ABIs specially.
43795 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43797 (syscall-list-variants, syscall-list-32bit-options)
43798 (syscall-list-32bit-condition, syscall-list-64bit-options)
43799 (syscall-list-64bit-condition): Define.
43800 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43801 (syscall-list-variants, syscall-list-32bit-options)
43802 (syscall-list-32bit-condition, syscall-list-64bit-options)
43803 (syscall-list-64bit-condition): Define.
43804 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43806 (syscall-list-variants, syscall-list-32bit-options)
43807 (syscall-list-32bit-condition, syscall-list-64bit-options)
43808 (syscall-list-64bit-condition): Define.
43809 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43811 (syscall-list-variants, syscall-list-32bit-options)
43812 (syscall-list-32bit-condition, syscall-list-64bit-options)
43813 (syscall-list-64bit-condition): Define.
43815 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43817 * locale/iso-639.def: Add brx entry.
43820 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43821 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43823 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43824 __feraiseexcept_renamed.
43826 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43829 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43830 EPOLLET with unsigned values.
43831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43834 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43835 to large cancellation.
43836 * math/s_cacoshf.c: Likewise.
43837 * math/s_cacoshl.c: Likewise.
43839 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43843 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43844 * math/s_cacoshf.c: Likewise.
43845 * math/s_cacoshl.c: Likewise.
43847 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43850 * iconv/gconv.h: Define __GCONV_SWAP.
43851 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43852 * iconvdata/utf-16.c: Likewise.
43853 * iconvdata/utf-32.c: Likewise.
43855 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43859 numerator after shifting it by one limb.
43861 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43864 under [__USE_EXTERN_INLINES].
43866 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43869 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43871 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43873 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43874 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43876 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43877 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43878 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43879 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43880 for strncasecmp/strncasecmp_l compilation.
43881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43882 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43884 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43887 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43890 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43893 * time/tzfile.c (__tzfile_read): Check values from file header.
43895 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43897 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43898 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43899 * powerpc/powerpc32/dl-start.S: Likewise.
43900 * powerpc/powerpc32/elf/start.S: Likewise.
43901 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43902 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43903 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43904 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43905 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43906 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43907 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43908 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43909 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43910 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43911 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43912 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43913 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43914 * powerpc/powerpc32/memset.S: Likewise.
43915 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43916 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43917 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43918 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43919 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43920 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43921 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43922 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43923 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43924 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43925 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43926 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43927 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43929 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43931 * math/libm-test.inc: Added more nearbyint tests.
43932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43937 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43939 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43942 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43944 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43945 Add wcscpy-ssse3 wcscpy-c.
43946 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43947 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43948 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43949 * sysdeps/x86_64/wcschr.S: New file.
43950 * sysdeps/x86_64/wcsrchr.S: New file.
43951 * string/test-strcmp.c: Remove checking of wcscmp function for
43953 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43954 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43955 wcsrchr-sse2 wcsrchr-c.
43956 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43957 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43958 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43959 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43960 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43961 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43962 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43963 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43964 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43965 * wcsmbc/wcschr.c (WCSCHR): New macro.
43967 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43969 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43970 * wcsmbs/test-wcsrchr.c: New file.
43971 * string/test-strrchr.c: Add wcsrchr support.
43973 * wcsmbs/test-wcscpy.c: New file.
43974 * string/test-strcpy.c: Add wcscpy support.
43977 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43979 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43982 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43985 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43987 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43990 Minor optimizations.
43992 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43993 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43994 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43996 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43998 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43999 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44000 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44001 for gcc to avoid warnings.
44002 * inet/Makefile (tests): Add tst-checks.
44003 * inet/tst-checks.c: New file.
44005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44008 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44011 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44012 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44014 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44016 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44018 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44021 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44023 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44026 conditional on GCC version.
44027 (__arch_compare_and_exchange_val_8_acq)
44028 (__arch_compare_and_exchange_val_16_acq)
44029 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44030 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44031 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44033 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44035 * sysdeps/sh/backtrace.c: New file.
44037 2011-12-02 Andreas Schwab <schwab@redhat.com>
44039 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44042 2011-12-01 Andreas Schwab <schwab@redhat.com>
44044 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44045 falling back to utime.
44047 2011-11-30 Andreas Schwab <schwab@redhat.com>
44049 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44050 expectations for float.
44052 2011-11-29 Andreas Schwab <schwab@redhat.com>
44054 * locale/weight.h (findidx): Add parameter len.
44055 * locale/weightwc.h (findidx): Likewise.
44056 * posix/fnmatch_loop.c (FCT): Adjust caller.
44057 * posix/regcomp.c (build_equiv_class): Likewise.
44058 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44059 * posix/regexec.c (check_node_accept_bytes): Likewise.
44060 * string/strcoll_l.c (STRCOLL): Likewise.
44061 * string/strxfrm_l.c (STRXFRM): Likewise.
44063 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44065 * Makefile.in: Remove CVSOPT handling.
44066 * configure.in: Remove use of AC_REVISION.
44067 * iconvdata/Makefile (distribute): No need to filter out CVS.
44068 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44071 2011-11-16 Andreas Schwab <schwab@redhat.com>
44073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44074 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44075 [USE_AS_STRNCASECMP_L]: Likewise.
44076 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44077 NO_TLS_DIRECT_SEG_REFS.
44078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44079 Fix argument offsets for non-PIC.
44080 [USE_AS_STRNCASECMP_L]: Likewise.
44081 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44082 NO_TLS_DIRECT_SEG_REFS.
44084 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44086 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44088 * locale/loadlocale.c (_nl_load_locale): Likewise.
44090 2011-11-15 Andreas Schwab <schwab@redhat.com>
44092 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44093 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44094 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44095 (SYSCALL_GETTIME): Set errno on error.
44097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44098 count references to noai6ai_cached.
44100 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44102 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44104 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44105 FD_CLOEXEC for /proc/self/maps.
44107 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44108 FD_CLOEXEC for /proc/meminfo.
44110 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44113 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44114 FD_CLOEXEC for given file.
44116 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44118 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44119 FD_CLOEXEC for /etc/hosts.
44120 (_gethtent): Likewise.
44122 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44124 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44125 cancellation and set FD_CLOEXEC for /etc/netgroup.
44127 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44128 reading /etc/publickey.
44130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44131 allow cancellation when reading /etc/group.
44133 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44135 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44137 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44138 when using data file.
44140 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44142 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44143 (write_nis_obj): Use "c" and "e" in fopen.
44145 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44147 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44149 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44151 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44153 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44156 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44158 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44160 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44162 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44163 file parsing and set FD_CLOEXEC.
44165 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44167 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44169 2011-11-14 Andreas Schwab <schwab@redhat.com>
44171 * malloc/arena.c (arena_get2): Don't call reused_arena when
44172 _int_new_arena failed.
44174 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44176 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44177 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44179 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44182 to compile strcasecmp and strncasecmp.
44183 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44184 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44188 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44190 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44191 locale-defines.sym to gen-as-const-headers.
44192 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44193 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44195 to compile strcasecmp and strncasecmp.
44196 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44197 strcasecmp_l and strncasecmp_l.
44198 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44199 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44200 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44201 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44202 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44203 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44204 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44205 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44206 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44207 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44208 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44210 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44212 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44213 result of SYSDEP_GETTIME_CPU to retval.
44214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44215 parameter list to macro. Remove trailing semicolon. Adjust users.
44217 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44220 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44222 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44224 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44225 from unused variable.
44227 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44229 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44232 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44235 * sunrpc/rpc_prot.c (rejected): Fix case value.
44237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44238 unsigned long long int to avoid warnings in shift.
44240 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44242 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44246 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44249 * nis/nis_table.c (nis_list): Use variable of correct type for
44250 result of __follow_path call.
44252 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44254 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44255 of math functions ceil, trunc, floor, round, and sqrt, when
44256 avaliable on the platform.
44257 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44260 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44261 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44263 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44265 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44268 2011-11-11 Roland McGrath <roland@hack.frob.com>
44270 * include/unistd.h: Fix __readlink return type.
44271 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44273 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44275 * stdlib/ucontext.h: Undo last change for makecontext.
44277 2011-11-11 Andreas Schwab <schwab@redhat.com>
44279 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44281 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44282 * setjmp/setjmp.h: Mark functions as non-leaf.
44283 * setjmp/bits/setjmp2.h: Likewise.
44284 * stdlib/ucontext.h: Likewise.
44286 2011-11-10 Andreas Schwab <schwab@redhat.com>
44288 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44289 (reused_arena): Don't check arena limit.
44290 (arena_get2): Atomically check arena limit.
44292 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44294 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44295 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44300 2011-11-07 Andreas Schwab <schwab@redhat.com>
44302 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44303 handler when locking.
44305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44306 Fix size of allocated buffer.
44308 2011-11-04 Andreas Schwab <schwab@redhat.com>
44311 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44312 declarations for long double functions.
44313 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44315 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44317 2011-11-03 Andreas Schwab <schwab@redhat.com>
44319 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44322 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44325 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44327 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44329 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44331 * include/alloca.h (stackinfo_alloca_round): Define.
44332 (extend_alloca): Use it.
44333 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44334 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44337 * scripts/check-local-headers.sh: Ignore libaudit.h.
44339 * nscd/Makefile (extra-objs): Make recursively expanded.
44341 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44343 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44346 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44347 * posix/tst-rfc3484-2.c: Likewise.
44348 * posix/tst-rfc3484-3.c: Likewise.
44350 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44352 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44354 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44355 process_vm_writev from libc using GLIBC_2.15 version.
44357 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44359 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44361 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44364 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44367 * nss/getent.c (initgroups_keys): Show error message in case no group
44370 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44371 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44372 __bump_nl_timestamp.
44373 * nscd/connections (nscd_init): When host database is served open
44374 netlink socket and request notification about configuration changes.
44375 (main_loop_poll): Track netlink file descriptor and bump timestamp
44376 in case data becomes available.
44377 (main_loop_epoll): Likewise.
44378 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44379 (database_pers_head): Add extra_data fileds.
44380 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44382 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44385 in6ai data, call __free_in6ai.
44386 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44387 Add -DHAVE_NETLINK.
44388 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44389 interface information. Reuse previous data if netlink timestamp
44391 (__bump_nl_timestamp): New function.
44392 (__free_in6ai): New function.
44394 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44397 close_not_cancel_no_status here.
44398 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44400 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44403 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44406 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44407 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44408 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44410 2011-07-03 Andreas Jaeger <aj@suse.de>
44413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44414 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44415 * math/libm-test.inc (sin_test): Add test case.
44417 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44420 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44421 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44423 * elf/chroot_canon.c (chroot_canon): Cleanups.
44425 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44428 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44431 * string/test-strchr.c: Make usable for strchrnul testing.
44432 * string/test-strchrnul.c: New file.
44433 * string/Makefile (strop-tests): Add strchrnul.
44435 * po/it.po: Update from translation team.
44436 * po/es.po: Likewise.
44438 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44441 the three constants needed as parameters. Drop the others.
44442 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44443 __m128i_strloadu_tolower.
44444 Create and initialize variable zero and use it in all the places
44445 where _mm_setzero_si128 was used.
44447 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44448 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44449 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44452 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44453 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44454 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44455 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44456 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44457 __mpranred, __mptan.
44458 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44459 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44460 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44461 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44462 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44463 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44465 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44468 2011-10-28 Andreas Schwab <schwab@redhat.com>
44470 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44471 redefine if SHARED.
44472 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44475 wide char related routines to wcsmbs subdir.
44477 2011-10-27 Andreas Schwab <schwab@redhat.com>
44480 * misc/sys/cdefs.h (__THROWNL): Define.
44481 * posix/unistd.h: Use __THREADNL instead of __THREAD
44482 for memory synchronization functions.
44484 2011-10-26 Roland McGrath <roland@hack.frob.com>
44487 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44489 * manual/stdio.texi (Obstack Streams): Node removed.
44491 2011-10-26 Andreas Schwab <schwab@redhat.com>
44493 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44497 * math/math_private.h (math_force_eval): Allow non-addressable
44499 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44501 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44503 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44504 file is not needed.
44506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44513 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44515 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44516 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44517 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44518 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44519 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44520 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44521 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44523 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44524 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44525 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44526 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44528 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44529 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44530 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44532 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44533 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44535 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44536 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44539 place. Use VEX encoding when compiling for AVX.
44541 2011-10-25 Andreas Schwab <schwab@redhat.com>
44543 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44544 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44546 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44548 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44550 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44551 useless if() expression.
44552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44564 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44566 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44570 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44572 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44574 2011-10-25 Andreas Schwab <schwab@redhat.com>
44576 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44578 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44580 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44582 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44583 .text section. Avoid duplicate constants.
44584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44586 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44594 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44596 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44598 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44599 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44600 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44601 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44608 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44609 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44610 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44611 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44612 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44613 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44614 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44615 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44617 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44618 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44620 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44622 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44623 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44625 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44626 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44627 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44628 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44630 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44632 * sysdeps/x86_64/dla.h: Move to ...
44633 * sysdeps/x86_64/fpu/dla.h: ...here.
44634 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44635 situations. Use __builtin_fma only for gcc 4.6 and up.
44637 * config.make.in: Add have-mfma4 entry.
44638 * configure.in: Substitute libc_cv_cc_fma4.
44639 * math/Makefile (dbl-only-routines): Add sincostab.
44640 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44641 Use __sincostab not sincos.
44642 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44649 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44650 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44651 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44652 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44654 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44655 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44657 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44658 define aliases when function name is a macro.
44659 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44660 sysdeps/ieee754/dbl-64/sincos.tbl.
44661 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44662 fma4-enabled routines.
44663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44668 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44670 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44673 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44674 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44675 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44676 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44677 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44678 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44679 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44680 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44681 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44683 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44684 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44690 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44691 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44692 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44694 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44705 2011-10-24 Andreas Schwab <schwab@redhat.com>
44707 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44709 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44713 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44717 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44718 Remove unused variable magic_bits.
44719 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44721 * string/strnlen.c: Define and use STRNLEN macro.
44722 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44723 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44725 * wcsmbs/wcslen.c: Define and use WCSLEN.
44726 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44727 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44728 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44729 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44730 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44731 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44732 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44734 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44737 strnlen-sse2-no-bsf.
44738 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44740 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44741 Add strnlen support.
44742 (USE_AS_STRNLEN): New macro.
44743 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44745 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44746 * sysdeps/x86_64/wcslen.S: New file.
44748 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44751 XMM-moves are used for copying on small sizes.
44753 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44755 * wcsmbs/Makefile (strop-tests): Add wcschr.
44756 * wcsmbs/test-wcschr.c: New file.
44757 * string/test-strchr.c: Update.
44758 Add wcschr support.
44761 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44763 * wcsmbs/Makefile (strop-tests): Add wcslen.
44764 * wcsmbs/test-wcslen.c: New file.
44765 * string/test-strlen.c: Update.
44766 Add wcslen support.
44769 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44771 * po/it.po: Update from translation team.
44773 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44775 * sysdeps/x86_64/wcscmp.S: Update.
44776 Fix wrong comparison semantics.
44777 wcscmp shall use signed comparison not unsigned.
44778 Don't use substraction to avoid overflow bug.
44779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44780 * wcsmbc/wcscmp.c: Likewise.
44781 * string/test-strcmp.c: Likewise.
44782 Add new tests to check cases with negative values.
44784 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44786 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44787 * sysdeps/x86_64/dla.h: ...here. New file.
44788 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44798 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44801 __ynl_finite aliases.
44803 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44807 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44809 [DLA_FMA] (EMULV): Use DLA_FMA.
44810 [DLA_FMA] (MUL12): Use EMULV.
44811 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44812 that are not needed.
44813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44821 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44823 * math/s_nan.c: Undef __nan.
44824 * math/s_nanf.c: Undef __nanf.
44825 * math/s_nanl.c: Undef __nanl.
44826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44829 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44831 * math/s_catan.c: Add branch predictions.
44832 * math/s_catanf.c: Likewise.
44833 * math/s_catanh.c: Likewise.
44834 * math/s_catanhf.c: Likewise.
44835 * math/s_catanhl.c: Likewise.
44836 * math/s_catanl.c: Likewise.
44837 * math/s_cexp.c: Likewise.
44838 * math/s_cexpf.c: Likewise.
44839 * math/s_cexpl.c: Likewise.
44840 * math/s_clog.c: Likewise.
44841 * math/s_clog10.c: Likewise.
44842 * math/s_clog10f.c: Likewise.
44843 * math/s_clog10l.c: Likewise.
44844 * math/s_clogf.c: Likewise.
44845 * math/s_clogl.c: Likewise.
44846 * math/s_csqrt.c: Likewise.
44847 * math/s_csqrtf.c: Likewise.
44848 * math/s_csqrtl.c: Likewise.
44849 * math/s_ctanf.c: Likewise.
44850 * math/s_ctanh.c: Likewise.
44851 * math/s_ctanhf.c: Likewise.
44852 * math/s_ctanhl.c: Likewise.
44853 * math/s_ctanl.c: Likewise.
44855 * math/math_private.h: Define __nan, __nanf, __nanl.
44856 * math/s_cacosh.c: Include <math_private.h>.
44857 * math/s_cacoshl.c: Likewise.
44858 * math/s_casinh.c: Likewise.
44859 * math/s_casinhf.c: Likewise.
44860 * math/s_casinhl.c: Likewise.
44861 * math/s_ccos.c: Rely entire on ccosh.
44862 * math/s_ccosf.c: Rely entire on ccoshf.
44863 * math/s_ccosl.c: Rely entirely on ccoshl.
44864 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44865 Remove tests for FE_INVALID.
44866 * math/s_ccoshf.c: Likewise.
44867 * math/s_ccoshl.c: Likewise.
44868 * math/s_csin.c: Likewise.
44869 * math/s_csinf.c: Likewise.
44870 * math/s_csinh.c Likewise.
44871 * math/s_csinhf.c: Likewise.
44872 * math/s_csinhl.c: Likewise.
44873 * math/s_csinl.c: Likewise.
44874 * math/s_ctan.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44876 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44877 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44879 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44882 compilation problems.
44884 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44887 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44889 * sysdeps/i386/configure.in: Test for -mfma4 option.
44890 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44891 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44892 COMMON_CPUID_INDEX_80000001.
44893 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44894 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44895 use it if FMA3 is not supported.
44896 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44898 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44899 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44901 2011-10-20 Andreas Schwab <schwab@redhat.com>
44904 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44905 it would create a cycle with a link time dependency.
44907 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44909 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44911 * string/Makefile (strop-tests): Add rawmemchr.
44912 * string/test-rawmemchr.c: New file.
44914 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44916 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44917 when compiling str{,n}casecmp and when AVX is available. Hook up
44918 new optimized code in initializers.
44920 2011-10-19 Andreas Schwab <schwab@redhat.com>
44922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44923 __feraiseexcept instead of feraiseexcept.
44925 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44927 * math/math_private.h: Define defaults for libc_fetestexcept and
44929 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44930 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44931 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44932 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44933 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44934 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44935 libc_fetestexcept and libc_feupdateenv.
44937 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44938 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44939 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44940 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44941 libc_feholdexcept_setround.
44943 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44944 Add s_nearbyint-c and s_nearbyintf-c.
44945 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44946 nearbyintf inlines.
44947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44948 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44949 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44950 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44952 * math/math_private.h: Define defaults for libc_fegetround,
44953 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44954 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44955 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44957 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44958 standard functions.
44959 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44960 Remove comments and hacks for old compiler versions.
44961 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44962 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44963 libc_feholdexceptl.
44965 2011-10-18 Andreas Schwab <schwab@redhat.com>
44967 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44968 (__feraiseexcept_renamed): Add __NTH.
44969 (feraiseexcept): Add __NTH. Rename local variables to fix
44970 namespace violations.
44972 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44974 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44976 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44978 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44979 recently added interfaces.
44980 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44982 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44983 about macro parameter expansion.
44985 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44986 __NO_MATH_INLINES is defined. Cleanups.
44988 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44989 and __floorf is target has SSE4.1.
44990 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44991 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44992 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44993 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44995 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44997 (floorf): Likewise.
44999 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45001 2011-10-17 Andreas Schwab <schwab@redhat.com>
45003 * misc/sys/cdefs.h: Fix last change.
45005 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45008 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45010 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45012 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45017 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45020 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45021 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45022 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45023 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45024 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45025 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45026 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45027 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45028 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45029 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45031 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45032 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45033 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45035 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45036 ceil, ceilf, floor, floorf.
45038 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45039 Perform IRELATIVE relocations last.
45041 * elf/do-rel.h: Add another parameter nrelative, replacing the
45042 local variable with the same name. Change name of the function
45043 to end in Rel or Rela (uppercase).
45044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45045 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45046 elf_dynamic_do_##reloc function.
45048 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45050 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45051 is sufficient, at least on modern CPUs.
45053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45055 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45058 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45060 * math/bits/math-finite.h: Add entries for exp.
45061 * math/e_expl.c: Add __*_finite alias.
45062 * sysdeps/i386/fpu/e_exp.S: Likewise.
45063 * sysdeps/i386/fpu/e_expf.S: Likewise.
45064 * sysdeps/i386/fpu/e_expl.c: Likewise.
45065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45069 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45073 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45074 is sufficient, at least on modern CPUs.
45076 * ctype/ctype-info.c (__ctype_init): Define.
45077 * include/ctype.h (__ctype_init): Declare.
45078 (__ctype_b_loc): The variable is always initialized.
45079 (__ctype_toupper_loc): Likewise.
45080 (__ctype_tolower_loc): Likewise.
45081 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45082 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45084 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45086 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45088 * configure.in: Also look in $cxxmachine/include for C++ system
45091 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45093 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45094 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45095 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45096 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45098 (USE_AS_WMEMCMP): New macro.
45100 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45101 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45102 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45103 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45105 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45106 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45107 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45108 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45109 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45110 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45111 (USE_AS_WMEMCMP): New macro.
45112 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45113 * sysdeps/string/test-memcmp.c: Update.
45114 Fix simple_wmemcmp.
45116 * wcsmbs/wmemcmp.c: Update.
45117 (WMEMCMP): New macro.
45120 2011-10-12 Andreas Jaeger <aj@suse.de>
45123 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45125 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45127 * libio/iofwide.c (do_length): Avoid warning.
45129 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45131 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45133 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45135 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45136 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45137 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45138 * sysdeps/i386/i686/fpu/e_log.S: New file.
45139 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45140 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45142 * ctype/ctype.h: Add support for inlined isXXX functions when
45143 compiling C++ code.
45145 2011-10-14 Andreas Schwab <schwab@redhat.com>
45147 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45149 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45151 2011-10-13 Roland McGrath <roland@hack.frob.com>
45154 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45156 2011-10-13 Andreas Schwab <schwab@redhat.com>
45158 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45159 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45162 * sysdeps/x86_64/memrchr.S: Check for zero size.
45164 * string/stratcliff.c: Add memrchr tests.
45166 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45169 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45170 rawmemchr-sse2 rawmemchr-sse2-bsf.
45171 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45172 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45173 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45174 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45175 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45176 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45177 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45178 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45179 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45180 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45181 * string/memrchr.c (MEMRCHR): New macro.
45183 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45185 Add integration with gcc's -ffinite-math-only and optimize wrapper
45187 * Versions.def: Define GLIBC_2.15 version for libm.
45188 * math/Makefile (headers): Add bits/math-finite.h.
45189 * math/bits/math-finite.h: New file.
45190 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45191 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45192 * math/e_acoshl.c: Add __*_finite alias.
45193 * math/e_acosl.c: Likewise.
45194 * math/e_asinl.c: Likewise.
45195 * math/e_atan2l.c: Likewise.
45196 * math/e_atanhl.c: Likewise.
45197 * math/e_coshl.c: Likewise.
45198 * math/e_exp10.c: Likewise.
45199 * math/e_exp10f.c: Likewise.
45200 * math/e_exp10l.c: Likewise.
45201 * math/e_exp2l.c: Likewise.
45202 * math/e_fmodl.c: Likewise.
45203 * math/e_gammal_r.c: Likewise.
45204 * math/e_hypotl.c: Likewise.
45205 * math/e_j0l.c: Likewise.
45206 * math/e_j1l.c: Likewise.
45207 * math/e_jnl.c: Likewise.
45208 * math/e_lgammal_r.c: Likewise.
45209 * math/e_log10l.c: Likewise.
45210 * math/e_log2l.c: Likewise.
45211 * math/e_logl.c: Likewise.
45212 * math/e_powl.c: Likewise.
45213 * math/e_sinhl.c: Likewise.
45214 * math/e_sqrtl.c: Likewise.
45215 * math/e_scalb.c: Completely rewritten and optimized.
45216 * math/e_scalbf.c: Likewise.
45217 * math/e_scalbl.c: Likewise.
45218 * math/w_acos.c: Likewise.
45219 * math/w_acosf.c: Likewise.
45220 * math/w_acosl.c: Likewise.
45221 * math/w_acosh.c: Likewise.
45222 * math/w_acoshf.c: Likewise.
45223 * math/w_acoshl.c: Likewise.
45224 * math/w_asin.c: Likewise.
45225 * math/w_asinf.c: Likewise.
45226 * math/w_asinl.c: Likewise.
45227 * math/w_atan2.c: Likewise.
45228 * math/w_atan2f.c: Likewise.
45229 * math/w_atan2l.c: Likewise.
45230 * math/w_atanh.c: Likewise.
45231 * math/w_atanhf.c: Likewise.
45232 * math/w_atanhl.c: Likewise.
45233 * math/w_exp10.c: Likewise.
45234 * math/w_exp10f.c: Likewise.
45235 * math/w_exp10l.c: Likewise.
45236 * math/w_fmod.c: Likewise.
45237 * math/w_fmodf.c: Likewise.
45238 * math/w_fmodl.c: Likewise.
45239 * math/w_j0.c: Likewise.
45240 * math/w_j0f.c: Likewise.
45241 * math/w_j0l.c: Likewise.
45242 * math/w_j1.c: Likewise.
45243 * math/w_j1f.c: Likewise.
45244 * math/w_j1l.c: Likewise.
45245 * math/w_jn.c: Likewise.
45246 * math/w_jnf.c: Likewise.
45247 * math/w_log.c: Likewise.
45248 * math/w_logf.c: Likewise.
45249 * math/w_logl.c: Likewise.
45250 * math/w_log10.c: Likewise.
45251 * math/w_log10f.c: Likewise.
45252 * math/w_log10l.c: Likewise.
45253 * math/w_log2.c: Likewise.
45254 * math/w_log2f.c: Likewise.
45255 * math/w_log2l.c: Likewise.
45256 * math/w_pow.c: Likewise.
45257 * math/w_powf.c: Likewise.
45258 * math/w_powl.c: Likewise.
45259 * math/w_remainder.c: Likewise.
45260 * math/w_remainderf.c: Likewise.
45261 * math/w_remainderl.c: Likewise.
45262 * math/w_scalb.c: Likewise.
45263 * math/w_scalbf.c: Likewise.
45264 * math/w_scalbl.c: Likewise.
45265 * math/w_sqrt.c: Likewise.
45266 * math/w_sqrtf.c: Likewise.
45267 * math/w_sqrtl.c: Likewise.
45268 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45269 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45271 * math/math_private.h: Declare __kernel_standard_f.
45272 * math/w_cosh.c: Remove cruft and optimize a bit.
45273 * math/w_coshf.c: Likewise.
45274 * math/w_coshl.c: Likewise.
45275 * math/w_exp2.c: Likewise.
45276 * math/w_exp2f.c: Likewise.
45277 * math/w_exp2l.c: Likewise.
45278 * math/w_hypot.c: Likewise.
45279 * math/w_hypotf.c: Likewise.
45280 * math/w_hypotl.c: Likewise.
45281 * math/w_lgamma.c: Likewise.
45282 * math/w_lgamma_r.c: Likewise.
45283 * math/w_lgammaf.c: Likewise.
45284 * math/w_lgammaf_r.c: Likewise.
45285 * math/w_lgammal.c: Likewise.
45286 * math/w_lgammal_r.c: Likewise.
45287 * math/w_sinh.c: Likewise.
45288 * math/w_sinhf.c: Likewise.
45289 * math/w_sinhl.c: Likewise.
45290 * math/w_tgamma.c: Likewise.
45291 * math/w_tgammaf.c: Likewise.
45292 * math/w_tgammal.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45295 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45296 Minor optimizations. Pretty printing. Remove cruft.
45297 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45298 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45301 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45302 * sysdeps/i386/fpu/e_asin.S: Likewise.
45303 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45304 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45305 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45306 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45307 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45310 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45311 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45312 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45313 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45314 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45315 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45316 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45317 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45318 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45319 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45320 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45321 * sysdeps/i386/fpu/e_log.S: Likewise.
45322 * sysdeps/i386/fpu/e_log10.S: Likewise.
45323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45325 * sysdeps/i386/fpu/e_log2.S: Likewise.
45326 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45328 * sysdeps/i386/fpu/e_logf.S: Likewise.
45329 * sysdeps/i386/fpu/e_logl.S: Likewise.
45330 * sysdeps/i386/fpu/e_pow.S: Likewise.
45331 * sysdeps/i386/fpu/e_powf.S: Likewise.
45332 * sysdeps/i386/fpu/e_powl.S: Likewise.
45333 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45334 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45335 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45339 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45340 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45341 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45342 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45343 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45345 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45346 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45347 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45348 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45349 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45350 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45351 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45352 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45353 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45356 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45359 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45362 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45367 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45368 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45370 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45371 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45372 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45373 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45374 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45376 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45377 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45378 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45379 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45383 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45384 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45385 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45388 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45390 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45392 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45393 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45413 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45424 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45427 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45429 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45430 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45431 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45432 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45435 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45438 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45439 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45440 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45441 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45442 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45443 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45444 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45445 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45448 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45449 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45450 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45452 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45453 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45454 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45455 (__isnanf): Likewise.
45456 (__isinf_ns): Likewise.
45457 (__isinf_nsf): Likewise.
45458 (__finite): Likewise.
45459 (__finitef): Likewise.
45460 (__ieee754_sqrt): Define as macro.
45461 (__ieee754_sqrtf): Define as macro.
45462 (__ieee754_sqrtl): Define as macro.
45463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45465 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45466 __FINITE_MATH_ONLY__ consistent.
45467 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45469 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45471 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45474 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45476 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45478 * po/ja.po: Update from translation team.
45480 2011-10-08 Roland McGrath <roland@hack.frob.com>
45482 * locale/programs/locarchive.c (prepare_address_space): New function.
45483 (create_archive, enlarge_archive, open_archive): Use it.
45485 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45486 inside [SHARED], where it is used.
45488 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45490 * nss/getent.c (netgroup_keys): Remove unused variable.
45491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45493 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45495 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45499 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45500 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45501 * math/Makefile (libm-calls): Add s_isinf_ns.
45502 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45503 * math/multc3.c: Likewise.
45504 * math/s_casin.c: Likewise.
45505 * math/s_casinf.c: Likewise.
45506 * math/s_casinl.c: Likewise.
45507 * math/s_ccos.c: Likewise.
45508 * math/s_ccosf.c: Likewise.
45509 * math/s_ccosl.c: Likewise.
45510 * math/s_ctan.c: Likewise.
45511 * math/s_ctanf.c: Likewise.
45512 * math/s_ctanh.c: Likewise.
45513 * math/s_ctanhf.c: Likewise.
45514 * math/s_ctanhl.c: Likewise.
45515 * math/s_ctanl.c: Likewise.
45516 * math/w_fmod.c: Likewise.
45517 * math/w_fmodf.c: Likewise.
45518 * math/w_fmodl.c: Likewise.
45519 * math/w_remainder.c: Likewise.
45520 * math/w_remainderf.c: Likewise.
45521 * math/w_remainderl.c: Likewise.
45522 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45523 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45526 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45527 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45528 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45529 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45531 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45533 * stdio-common/printf_fphex.c: Likewise.
45534 * stdio-common/printf_size.c: Likewise.
45536 * math/e_exp10.c: Include math_private.h using <...> not "...".
45537 * math/e_exp10f.c: Likewise.
45538 * math/e_exp10l.c: Likewise.
45539 * math/e_exp2l.c: Likewise.
45540 * math/e_j0l.c: Likewise.
45541 * math/e_j1l.c: Likewise.
45542 * math/e_jnl.c: Likewise.
45543 * math/e_lgammal_r.c: Likewise.
45544 * math/e_rem_pio2l.c: Likewise.
45545 * math/e_scalb.c: Likewise.
45546 * math/e_scalbf.c: Likewise.
45547 * math/e_scalbl.c: Likewise.
45548 * math/k_cosl.c: Likewise.
45549 * math/k_sinl.c: Likewise.
45550 * math/k_tanl.c: Likewise.
45551 * math/s_cacoshf.c: Likewise.
45552 * math/s_catan.c: Likewise.
45553 * math/s_catanf.c: Likewise.
45554 * math/s_catanh.c: Likewise.
45555 * math/s_catanhf.c: Likewise.
45556 * math/s_catanhl.c: Likewise.
45557 * math/s_catanl.c: Likewise.
45558 * math/s_ccosh.c: Likewise.
45559 * math/s_ccoshf.c: Likewise.
45560 * math/s_ccoshl.c: Likewise.
45561 * math/s_cexp.c: Likewise.
45562 * math/s_cexpf.c: Likewise.
45563 * math/s_cexpl.c: Likewise.
45564 * math/s_clog.c: Likewise.
45565 * math/s_clog10.c: Likewise.
45566 * math/s_clog10f.c: Likewise.
45567 * math/s_clog10l.c: Likewise.
45568 * math/s_clogf.c: Likewise.
45569 * math/s_clogl.c: Likewise.
45570 * math/s_csin.c: Likewise.
45571 * math/s_csinf.c: Likewise.
45572 * math/s_csinh.c: Likewise.
45573 * math/s_csinhf.c: Likewise.
45574 * math/s_csinhl.c: Likewise.
45575 * math/s_csinl.c: Likewise.
45576 * math/s_csqrt.c: Likewise.
45577 * math/s_csqrtf.c: Likewise.
45578 * math/s_csqrtl.c: Likewise.
45579 * math/s_ctan.c: Likewise.
45580 * math/s_ctanf.c: Likewise.
45581 * math/s_ctanh.c: Likewise.
45582 * math/s_ctanhf.c: Likewise.
45583 * math/s_ctanhl.c: Likewise.
45584 * math/s_ctanl.c: Likewise.
45585 * math/s_ldexp.c: Likewise.
45586 * math/s_ldexpf.c: Likewise.
45587 * math/s_ldexpl.c: Likewise.
45588 * math/s_significand.c: Likewise.
45589 * math/s_significandf.c: Likewise.
45590 * math/s_significandl.c: Likewise.
45591 * math/w_acos.c: Likewise.
45592 * math/w_acosf.c: Likewise.
45593 * math/w_acosh.c: Likewise.
45594 * math/w_acoshf.c: Likewise.
45595 * math/w_acoshl.c: Likewise.
45596 * math/w_acosl.c: Likewise.
45597 * math/w_asin.c: Likewise.
45598 * math/w_asinf.c: Likewise.
45599 * math/w_asinl.c: Likewise.
45600 * math/w_atan2.c: Likewise.
45601 * math/w_atan2f.c: Likewise.
45602 * math/w_atan2l.c: Likewise.
45603 * math/w_atanh.c: Likewise.
45604 * math/w_atanhf.c: Likewise.
45605 * math/w_atanhl.c: Likewise.
45606 * math/w_cosh.c: Likewise.
45607 * math/w_coshf.c: Likewise.
45608 * math/w_coshl.c: Likewise.
45609 * math/w_dremf.c: Likewise.
45610 * math/w_exp10.c: Likewise.
45611 * math/w_exp10f.c: Likewise.
45612 * math/w_exp10l.c: Likewise.
45613 * math/w_exp2.c: Likewise.
45614 * math/w_exp2f.c: Likewise.
45615 * math/w_fmod.c: Likewise.
45616 * math/w_fmodf.c: Likewise.
45617 * math/w_fmodl.c: Likewise.
45618 * math/w_hypot.c: Likewise.
45619 * math/w_hypotf.c: Likewise.
45620 * math/w_hypotl.c: Likewise.
45621 * math/w_j0.c: Likewise.
45622 * math/w_j0f.c: Likewise.
45623 * math/w_j0l.c: Likewise.
45624 * math/w_j1.c: Likewise.
45625 * math/w_j1f.c: Likewise.
45626 * math/w_j1l.c: Likewise.
45627 * math/w_jn.c: Likewise.
45628 * math/w_jnf.c: Likewise.
45629 * math/w_jnl.c: Likewise.
45630 * math/w_lgamma.c: Likewise.
45631 * math/w_lgamma_r.c: Likewise.
45632 * math/w_lgammaf.c: Likewise.
45633 * math/w_lgammaf_r.c: Likewise.
45634 * math/w_lgammal.c: Likewise.
45635 * math/w_lgammal_r.c: Likewise.
45636 * math/w_log.c: Likewise.
45637 * math/w_log10.c: Likewise.
45638 * math/w_log10f.c: Likewise.
45639 * math/w_log10l.c: Likewise.
45640 * math/w_log2.c: Likewise.
45641 * math/w_log2f.c: Likewise.
45642 * math/w_log2l.c: Likewise.
45643 * math/w_logf.c: Likewise.
45644 * math/w_logl.c: Likewise.
45645 * math/w_pow.c: Likewise.
45646 * math/w_powf.c: Likewise.
45647 * math/w_powl.c: Likewise.
45648 * math/w_remainder.c: Likewise.
45649 * math/w_remainderf.c: Likewise.
45650 * math/w_remainderl.c: Likewise.
45651 * math/w_scalb.c: Likewise.
45652 * math/w_scalbf.c: Likewise.
45653 * math/w_scalbl.c: Likewise.
45654 * math/w_sinh.c: Likewise.
45655 * math/w_sinhf.c: Likewise.
45656 * math/w_sinhl.c: Likewise.
45657 * math/w_sqrt.c: Likewise.
45658 * math/w_sqrtf.c: Likewise.
45659 * math/w_sqrtl.c: Likewise.
45660 * math/w_tgamma.c: Likewise.
45661 * math/w_tgammaf.c: Likewise.
45662 * math/w_tgammal.c: Likewise.
45664 * po/ja.po: Update from translation team.
45666 2011-09-29 Andreas Jaeger <aj@suse.de>
45669 * sunrpc/netname.c (netname2host): Fix logic.
45673 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45675 * math/w_remainder.c (__remainder): Likewise.
45676 * math/w_remainderf.c (__remainderf): Likewise.
45677 * math/libm-test.inc (remainder_test): Add test cases.
45679 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45681 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45684 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45686 * string/test-memcmp.c: Avoid unncessary #defines.
45687 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45689 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45691 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45692 Use new sse2 version for core i3 - i7 as it's faster
45693 than sse42 version.
45694 (bit_Prefer_PMINUB_for_stringop): New.
45695 * sysdeps/x86_64/rawmemchr.S: Update.
45696 Replace with faster SSE2 version.
45697 * sysdeps/x86_64/memrchr.S: New file.
45698 * sysdeps/x86_64/memchr.S: Update.
45699 Replace with faster SSE2 version.
45701 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45703 * elf/dl-load.c (lose): Add cast to avoid warning.
45705 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45707 * po/ca.po: Update from translation team.
45709 * inet/getnetgrent_r.c: Hook up nscd.
45710 * nscd/Makefile (routines): Add nscd_netgroup.
45711 (nscd-modules): Add netgroupcache.
45712 (CFLAGS-netgroupcache.c): Define.
45713 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45714 (cache_search): Add const to second parameter.
45715 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45717 (dbs): Add netgrdb entry.
45718 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45719 (verify_persistent_db): Handle netgrdb.
45720 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45721 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45723 (netgroup_response_header): Define.
45724 (innetgroup_response_header): Define.
45725 (datahead): Add netgroup_response_header and innetgroup_response_header
45727 * nscd/nscd.conf: Add entries for netgroup cache.
45728 * nscd/nscd.h (dbtype): Add netgrdb.
45729 (_PATH_NSCD_NETGROUP_DB): Define.
45730 (netgroup_iov_disabled): Declare.
45731 (xmalloc, xcalloc, xrealloc): Move declarations here.
45732 (cache_search): Adjust prototype.
45733 Add netgroup-related prototypes.
45734 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45735 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45736 (__nscd_innetgr): Declare.
45737 * nscd/selinux.c (perms): Use access_vector_t as element type and
45738 add netgroup-related initializers.
45739 * nscd/netgroupcache.c: New file.
45740 * nscd/nscd_netgroup.c: New file.
45741 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45742 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45743 For four parameters use innetgr.
45744 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45745 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45746 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45747 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45749 * nscd/connections.c (register_traced_file): Don't register file
45750 for disabled databases.
45752 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45754 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45756 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45757 from tree and freeing node.
45759 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45761 * nss/nsswitch.c (__nss_database_lookup): Handle
45762 nss_parse_service_list out of memory case.
45764 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45766 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45767 out of memory case.
45769 2011-10-04 Andreas Schwab <schwab@redhat.com>
45771 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45772 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45774 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45775 elf_machine_rela, elf_machine_lazy_rel.
45776 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45777 (ELF_DYNAMIC_DO_REL): Likewise.
45778 (ELF_DYNAMIC_DO_RELA): Likewise.
45779 (ELF_DYNAMIC_RELOCATE): Likewise.
45780 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45781 to ELF_DYNAMIC_DO_REL.
45782 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45783 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45784 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45787 skip_ifunc, don't call ifunc function if non-zero.
45788 (elf_machine_rela): Likewise.
45789 (elf_machine_lazy_rel): Likewise.
45790 (elf_machine_lazy_rela): Likewise.
45791 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45792 (elf_machine_lazy_rel): Likewise.
45793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45795 (elf_machine_lazy_rel): Likewise.
45796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45798 (elf_machine_lazy_rel): Likewise.
45799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45800 (elf_machine_lazy_rel): Likewise.
45801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45802 (elf_machine_lazy_rel): Likewise.
45803 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45804 (elf_machine_lazy_rel): Likewise.
45805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45806 (elf_machine_lazy_rel): Likewise.
45807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45808 (elf_machine_lazy_rel): Likewise.
45809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45810 (elf_machine_lazy_rel): Likewise.
45812 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45814 * nss/nss_files/files-init.c (_nss_files_init): Use static
45815 initialization for all the *_traced_file variables.
45817 2011-09-28 Andreas Schwab <schwab@redhat.com>
45819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45821 2011-09-27 Roland McGrath <roland@hack.frob.com>
45824 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45826 2011-09-27 Andreas Schwab <schwab@redhat.com>
45828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45829 Reread the line before reparsing it.
45831 2011-09-26 Andreas Schwab <schwab@redhat.com>
45833 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45835 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45836 Maxim Kuvyrkov <maxim@codesourcery.com>
45837 Joseph Myers <joseph@codesourcery.com>
45839 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45840 if needed for __stack_chk_guard.
45842 2011-09-19 Roland McGrath <roland@hack.frob.com>
45844 * sysdeps/posix/spawni.c (script_execute): Always define it.
45845 It will be optimized away if unused.
45846 (maybe_script_execute): New function.
45847 (__spawni): Call it.
45849 * Makerules: Don't include tls.make.
45850 (config-tls): Always set to thread.
45851 * tls.make.c: File removed.
45853 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45855 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45856 * config.make.in (CPPFLAGS-config): New substituted variable.
45858 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45863 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45864 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45866 2011-09-15 Roland McGrath <roland@hack.frob.com>
45868 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45869 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45871 (CALL_FAIL): Likewise.
45872 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45873 (CALL_FAIL): Macro removed.
45874 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45876 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45879 for __FINITE_MATH_ONLY__ == 1.
45881 2011-09-15 Andreas Schwab <schwab@redhat.com>
45883 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45884 __ieee754_sqrt instead of sqrt.
45885 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45886 __ieee754_sqrtf instead of sqrtf.
45887 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45888 __floorf instead of floorf.
45889 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45890 __floorf, __truncf instead of floorf, truncf.
45892 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45894 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45896 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45897 __extern_always_inline.
45898 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45901 2011-09-14 Andreas Schwab <schwab@redhat.com>
45903 * elf/rtld.c (dl_main): Also relocate in dependency order when
45904 doing symbol dependency testing.
45906 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45909 Always define `refsym'.
45911 2011-09-13 Andreas Schwab <schwab@redhat.com>
45913 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45914 (__FD_ELT): Renamed from __FDELT.
45915 * misc/bits/select2.h (__FD_ELT): Likewise.
45916 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45917 __FD_MASK instead of __FDELT, __FDMASK.
45918 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45920 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45923 * elf/Makefile (gen-ldd): Fix pattern.
45925 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45926 (init_tls): Likewise.
45928 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45932 2011-09-12 Andreas Schwab <schwab@redhat.com>
45934 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45935 `struct cmsghdr *' instead of `void *'.
45936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45939 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45941 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45943 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45944 ldd_rewrite_script.
45946 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45948 * configure.in: Remove --with-tls option.
45949 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45950 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45951 out in case it is missing.
45952 * sysdeps/ia64/elf/configure.in: Likewise.
45953 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45954 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45955 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45956 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45957 * sysdeps/sh/elf/configure.in: Likewise.
45958 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45959 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45960 * sysdeps/x86_64/elf/configure.in: Likewise.
45961 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45962 * sysdeps/mach/hurd/tls.h: Likewise.
45965 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45968 * configure.in: Fix use of AC_INIT.
45970 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45972 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45974 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45976 * malloc/hooks.c: Likewise.
45979 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45980 variables statically.
45981 (narenas): Initialize.
45982 (list_lock): Initialize.
45983 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45984 initializtion of main_arena and list_lock. Small cleanups.
45985 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45986 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45987 Add initializers to main_arena and mp_.
45988 (malloc_state): Remove pagesize member. Change all users to use
45991 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45992 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45993 is always initialized.
45995 * malloc/malloc.c: Removed unused configurations and dead code.
45996 * malloc/arena.c: Likewise.
45997 * malloc/hooks.c: Likewise.
45998 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46000 * include/tls.h: Removed. USE___THREAD must always be defined.
46001 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46002 * elf/dl-libc.c: Likewise.
46003 * elf/dl-tsd.c: Likewise.
46004 * include/errno.h: Likewise.
46005 * include/netdb.h: Likewise.
46006 * include/resolv.h: Likewise.
46007 * inet/herrno-loc.c: Likewise.
46008 * inet/herrno.c: Likewise.
46009 * malloc/arena.c: Likewise.
46010 * malloc/hooks.c: Likewise.
46011 * malloc/malloc.c: Likewise.
46012 * resolv/res-state.c: Likewise.
46013 * resolv/res_libc.c: Likewise.
46014 * sysdeps/i386/dl-machine.h: Likewise.
46015 * sysdeps/ia64/dl-machine.h: Likewise.
46016 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46017 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46018 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46019 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46020 * sysdeps/sh/dl-machine.h: Likewise.
46021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46023 * sysdeps/unix/i386/sysdep.S: Likewise.
46024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46025 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46030 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46035 * sysdeps/x86_64/dl-machine.h: Likewise.
46036 * tls.make.c: Likewise.
46038 * configure.in: Remove --with-__thread option. Make tests for
46039 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46040 tls_model attribute fail if no support is available. Remove
46042 * Makeconfig: Adjust for dropped configure option. All features are
46044 * Makerules: Likewise.
46045 * Versions.def: Likewise.
46046 * argp/argp-fmtstream.c: Likewise.
46047 * argp/argp-fmtstream.h: Likewise.
46048 * argp/argp-help.c: Likewise.
46049 * assert/assert.c: Likewise.
46050 * config.h.in: Likewise.
46051 * config.make.in: Likewise.
46052 * configure: Likewise.
46053 * configure.in: Likewise.
46054 * csu/Versions: Likewise.
46055 * csu/init.c: Likewise.
46056 * elf/tst-audit2.c: Likewise.
46057 * elf/tst-tls10.c: Likewise.
46058 * elf/tst-tls10.h: Likewise.
46059 * elf/tst-tls11.c: Likewise.
46060 * elf/tst-tls12.c: Likewise.
46061 * elf/tst-tls14.c: Likewise.
46062 * elf/tst-tlsmod11.c: Likewise.
46063 * elf/tst-tlsmod12.c: Likewise.
46064 * elf/tst-tlsmod13.c: Likewise.
46065 * elf/tst-tlsmod13a.c: Likewise.
46066 * elf/tst-tlsmod14a.c: Likewise.
46067 * elf/tst-tlsmod15b.c: Likewise.
46068 * elf/tst-tlsmod16a.c: Likewise.
46069 * elf/tst-tlsmod16b.c: Likewise.
46070 * elf/tst-tlsmod7.c: Likewise.
46071 * elf/tst-tlsmod8.c: Likewise.
46072 * elf/tst-tlsmod9.c: Likewise.
46073 * gmon/gmon.c: Likewise.
46074 * grp/fgetgrent_r.c: Likewise.
46075 * grp/putgrent.c: Likewise.
46076 * hurd/fopenport.c: Likewise.
46077 * include/libc-symbols.h: Likewise.
46078 * include/tls.h: Likewise.
46079 * intl/gettextP.h: Likewise.
46080 * intl/loadinfo.h: Likewise.
46081 * locale/global-locale.c: Likewise.
46082 * locale/localeinfo.h: Likewise.
46083 * mach/devstream.c: Likewise.
46084 * malloc/arena.c: Likewise.
46085 * malloc/set-freeres.c: Likewise.
46086 * misc/err.c: Likewise.
46087 * misc/getttyent.c: Likewise.
46088 * misc/mntent_r.c: Likewise.
46089 * posix/getopt.c: Likewise.
46090 * posix/wordexp.c: Likewise.
46091 * pwd/fgetpwent_r.c: Likewise.
46092 * resolv/Versions: Likewise.
46093 * resolv/res_hconf.c: Likewise.
46094 * shadow/fgetspent_r.c: Likewise.
46095 * shadow/putspent.c: Likewise.
46096 * stdio-common/printf_fphex.c: Likewise.
46097 * stdio-common/tmpfile.c: Likewise.
46098 * stdlib/abort.c: Likewise.
46099 * stdlib/fmtmsg.c: Likewise.
46100 * sunrpc/auth_unix.c: Likewise.
46101 * sunrpc/clnt_perr.c: Likewise.
46102 * sunrpc/clnt_tcp.c: Likewise.
46103 * sunrpc/clnt_udp.c: Likewise.
46104 * sunrpc/clnt_unix.c: Likewise.
46105 * sunrpc/openchild.c: Likewise.
46106 * sunrpc/svc_simple.c: Likewise.
46107 * sunrpc/svc_tcp.c: Likewise.
46108 * sunrpc/svc_udp.c: Likewise.
46109 * sunrpc/svc_unix.c: Likewise.
46110 * sunrpc/xdr.c: Likewise.
46111 * sunrpc/xdr_array.c: Likewise.
46112 * sunrpc/xdr_rec.c: Likewise.
46113 * sunrpc/xdr_ref.c: Likewise.
46114 * sunrpc/xdr_stdio.c: Likewise.
46116 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46118 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46120 2011-07-03 Andreas Jaeger <aj@suse.de>
46122 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46123 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46124 regenerate with gen-libm-tests.pl.
46126 2010-05-12 Petr Baudis <pasky@suse.cz>
46129 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46130 around j0() zero points by switching to j1().
46131 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46136 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46143 Patch in part by Pavel Roskin <proski@gnu.org>.
46146 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46148 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46149 Free memory block if necessary.
46152 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46153 be NULL. Don't lock in this case.
46155 2011-09-09 Roland McGrath <roland@hack.frob.com>
46157 * elf/elf.h (ELFOSABI_GNU): New macro.
46158 (ELFOSABI_LINUX): Define to that.
46160 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46162 * string/strncat.c (strncat): Undef the symbol in case it has been
46163 defined in bits/string.h.
46165 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46167 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46169 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46172 2011-08-17 Andreas Jaeger <aj@suse.de>
46174 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46176 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46177 Ian Lance Taylor <iant@google.com>
46179 * math/libm-test.inc (lround_test): New testcase.
46180 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46182 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46184 * Makefile: Remove support for automatic cvs check-ins.
46185 * Makerules: Likewise.
46186 * config.make.in: Likewise.
46187 * configure.in: Likewise.
46188 * intl/Makefile: Likewise.
46189 * locale/Makefile: Likewise.
46190 * po/Makefile: Likewise.
46191 * posix/Makefile: Likewise.
46192 * sysdeps/gnu/Makefile: Likewise.
46193 * sysdeps/mach/hurd/Makefile: Likewise.
46194 * sysdeps/sparc/sparc32/Makefile: Likewise.
46197 * posix/Makefile (bug-regex32-ENV): Define.
46198 Patch by John Stanley <jpsinthemix@verizon.net>.
46200 * misc/Makefile (headers): Add bits/select2.h.
46201 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46202 * misc/bits/select2.h: New file.
46203 * include/bits/select2.h: New file.
46204 * debug/Makefile (routines): Add fdelt_chk.
46205 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46206 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46208 * debug/fdelt_chk.c: New file.
46210 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46211 * wcsmbs/test-wmemcmp.c: Likewise.
46212 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46213 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46215 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46217 * string/Makefile (strop-tests): Add memcmp.
46218 * string/test-wmemcmp.c: New file.
46219 * string/test-memcmp.c: Add wmemcmp support.
46221 2011-09-08 Roland McGrath <roland@hack.frob.com>
46224 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46227 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46228 garbage value in a __mach_port_mod_refs call in the cases of the
46229 task-self and thread-self ports.
46231 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46233 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46235 2011-09-08 Andreas Schwab <schwab@redhat.com>
46237 * elf/dl-load.c (lose): Check for non-null L.
46239 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46241 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46243 * elf/dl-libc.c (dlerror_run): Pass back error code from
46247 * elf/dl-load.c (lose): Free l_origin if it is valid.
46249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46252 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46253 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46254 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46255 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46256 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46258 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46260 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46261 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46263 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46264 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46265 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46266 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46267 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46268 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46269 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46271 2011-08-15 Alan Modra <amodra@gmail.com>
46274 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46275 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46276 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46277 ppc_mcount to static-only-routines.
46278 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46280 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46281 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46283 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46286 for finite and infinity parameters.
46288 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46290 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46291 and add nop instructions for throughput optimization.
46292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46294 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46297 aligned copy for power7 with vector-scalar instructions.
46298 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46300 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46305 2011-09-07 Andreas Schwab <schwab@redhat.com>
46308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46311 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46314 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46315 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46316 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46319 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46321 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46322 Forgot to demangle the pointer.
46324 * sysdeps/i386/sysdep.h: Define atom_text_section.
46325 * sysdeps/x86_64/sysdep.h: Likewise.
46326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46327 section with atom_text_section.
46328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46330 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46335 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46336 already be defined. Change to take two parameters and don't assign
46337 result to variable. Adjust all users.
46338 Define INTERNAL_GETTIME if not already defined.
46339 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46342 HAVE_CLOCK_GETTIME_VSYSCALL.
46343 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46346 gettimeofday vsyscall, just use time.
46348 2011-09-06 Andreas Schwab <schwab@redhat.com>
46350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46353 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46355 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46359 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46360 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46361 syscall if possible.
46363 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46365 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46366 e_ident. Don't pass to find_mapsXX.
46367 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46369 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46372 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46373 * sysdeps/x86_64/multiarch/strchr.S: Update.
46374 Check bit_slow_BSF bit.
46375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46376 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46377 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46379 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46382 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46384 (tryshell): Define.
46385 (__spawni): Change last parameter to be flag. Test
46386 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46387 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46388 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46389 * posix/spawni.c: Likewise.
46390 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46391 * posix/spawnp.c: Likewise. Change normal version to use
46392 SPAWN_XFLAGS_USE_PATH.
46393 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46394 SPAWN_XFLAGS_TRY_SHELL.
46397 * posix/glob.h: Remove gcc 1.x support.
46400 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46402 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46405 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46407 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46408 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46409 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46411 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46412 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46414 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46416 * sysdeps/x86_64/wcscmp.S: New file.
46418 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46419 wcscmp-c wcscmp-sse2
46420 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46421 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46422 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46423 * wcsmbs/wcscmp.c: Allow renaming.
46425 2011-09-05 David S. Miller <davem@davemloft.net>
46427 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46428 stack slot, rather than the struct return pointer slot.
46429 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46430 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46432 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46434 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46436 * po/ja.po: Update from translation team.
46439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46440 kernel in 64-bit binaries.
46442 2011-09-01 David S. Miller <davem@davemloft.net>
46444 * elf/elf.h (HWCAP_SPARC_*): Move to..
46445 * sysdeps/sparc/sysdep.h: this new file and add new values.
46446 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46447 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46448 _DL_HWCAP_COUNT to 24.
46449 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46451 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46452 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46453 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46455 instead of magic constants.
46456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46458 2011-08-31 David S. Miller <davem@davemloft.net>
46460 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46462 Reimplement to do errno handling inline.
46463 (SYSCALL_ERROR_HANDLER): New macro.
46464 (__SYSCALL_STRING): Do not do errno handling in asm.
46465 (__CLONE_SYSCALL_STRING): Delete.
46466 (__INTERNAL_SYSCALL_STRING): Delete.
46467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46468 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46469 (PSEUDO): Reimplement to do errno handling inline.
46470 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46471 (SYSCALL_ERROR_HANDLER): New macro.
46472 (__SYSCALL_STRING): Do not do errno handling in asm.
46473 (__CLONE_SYSCALL_STRING): Delete.
46474 (__INTERNAL_SYSCALL_STRING): Delete.
46475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46476 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46478 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46479 (inline_syscall*): Add 'err' argument.
46480 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46481 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46482 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46483 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46485 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46488 2011-08-30 Andreas Schwab <schwab@redhat.com>
46490 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46492 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46494 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46497 2011-08-24 David S. Miller <davem@davemloft.net>
46499 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46501 2011-08-24 Andreas Schwab <schwab@redhat.com>
46503 * elf/Makefile: Add rules to build and run unload8 test.
46504 * elf/unload8.c: New file.
46505 * elf/unload8mod1.c: New file.
46506 * elf/unload8mod1x.c: New file.
46507 * elf/unload8mod2.c: New file.
46508 * elf/unload8mod3.c: New file.
46510 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46513 2011-08-23 David S. Miller <davem@davemloft.net>
46515 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46516 subtract stack bias.
46517 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46518 %sp not %fp in calculations.
46519 (_JMPBUF_UNWINDS_ADJ): Likewise.
46521 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46522 (aio_suspend): Call it to force an exception region around the
46523 AIO_MISC_WAIT() invocation.
46525 2011-08-23 Andreas Schwab <schwab@redhat.com>
46527 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46530 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46532 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46534 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46535 and <dl-machine.h>.
46536 (Elf64_FuncDesc): Remove.
46538 2011-08-22 David S. Miller <davem@davemloft.net>
46540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46541 sigaltstack check, add missing cfi directives.
46542 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46543 missing cfi directives, and sigaltstack handling.
46545 2011-08-16 Andreas Schwab <schwab@redhat.com>
46548 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46549 object is seen twice.
46550 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46552 * elf/Makefile (distribute): Add tst-initorder2.c.
46553 (tests): Add tst-initorder2.
46554 (modules-names): Add tst-initorder2a tst-initorder2b
46555 tst-initorder2c tst-initorder2d. Add rules to build them.
46556 ($(objpfx)tst-initorder2.out): New rule.
46557 * elf/tst-initorder2.c: New file.
46558 * elf/tst-initorder2.exp: New file.
46560 2011-08-22 Andreas Schwab <schwab@redhat.com>
46562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46564 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46565 dependencies back to end of function.
46567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46568 $(elfobjdir)/ld.so.
46570 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46573 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46575 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46576 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46577 of __vdso_gettimeofday.
46578 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46579 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46581 (_libc_vdso_platform_setup): Remove initialization of
46582 __vdso_gettimeofday and __vdso_time.
46584 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46586 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46587 and fgetc_unlocked.
46588 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46591 * elf/dl-open.c (add_to_global): Report additions to the global scope
46592 for LD_DEBUG=scopes.
46593 (dl_open_worker): Also print scope of newly loaded dependencies.
46594 (_dl_show_scope): Indicate if there is no scope.
46597 * stdio-common/Makefile (tests): Add bug24.
46598 * stdio-common/bug24.c: New file.
46600 2011-08-19 Andreas Jaeger <aj@suse.de>
46603 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46604 non-existant file when using close-on-exec mode.
46606 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46609 the very first instruction.
46611 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46612 the CFI state in the end.
46613 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46614 inclusion of dl-trampoline.h.
46615 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46617 2011-08-19 Andreas Schwab <schwab@redhat.com>
46619 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46620 expectations for long double.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46623 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46625 2011-08-14 David S. Miller <davem@davemloft.net>
46627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46628 artificual limit depends upon the system page size.
46630 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46632 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46633 * resolv/Makefile: Define CFLAGS-libresolv.
46635 2011-08-17 Andreas Schwab <schwab@redhat.com>
46637 * nss/makedb.c (compute_tables): Make variables used in nested
46640 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46642 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46643 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46644 if buffer was too small.
46646 * elf/pldd.c (main): Attach to all threads in the process.
46647 Rewrite /proc handling to use *at functions.
46649 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46651 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46652 specifies first scope to show.
46653 (dl_open_worker): Update callers. Move printing scope of new
46654 object to before the relocation.
46655 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46656 * sysdeps/generic/ldsodefs.h: Update declaration.
46658 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46659 string for the scope number.
46661 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46663 * nscd/servicescache.c (cache_addserv): Make sure written is always
46666 2011-08-14 Roland McGrath <roland@hack.frob.com>
46668 * sysdeps/i386/i486/bits/atomic.h
46669 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46670 statement expression, so as to suppress "set but not used" warning.
46671 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46673 * string/strncat.c (STRNCAT): Use prototype definition.
46675 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46676 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46678 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46679 (localedef-modules): Add localedef.
46680 (locale-modules): Add locale.
46682 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46683 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46684 to avoid a warning.
46686 2011-08-14 David S. Miller <davem@davemloft.net>
46688 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46689 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46691 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46693 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46694 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46695 * elf/rtld.c (dl_main): Set l_name of vDSO.
46696 Call _dl_show_scope when DL_DEBUG_SCOPES.
46697 (process_dl_debug): Recognize scopes flag and also set it for all.
46698 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46699 Declare _dl_show_scope.
46701 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46702 (do_dlopen): Pass caller_dlopen to dl_open.
46703 (__libc_dlopen_mode): Initialize caller_dlopen.
46705 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46706 of libc. Make tolower call locale-independent. Optimize a bit by
46707 using isdigit instead of isalnum.
46708 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46710 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46712 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46713 was a dependency or dynamically loaded.
46715 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46717 * intl/l10nflist.c: Allow architecture-specific pop function.
46718 * sysdeps/x86_64/l10nflist.c: New file.
46720 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46723 2011-08-10 Andreas Schwab <schwab@redhat.com>
46725 * include/dirent.h: Add libc_hidden_proto for scandirat and
46726 scandirat64. Don't declare __scandirat64.
46727 * dirent/scandirat.c: Add libc_hidden_def.
46728 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46729 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46731 2011-08-10 David S. Miller <davem@davemloft.net>
46733 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46737 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46739 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46741 * Versions.def [libc]: Add GLIBC_2.15.
46742 * dirent/Makefile (routines): Add scandirat and scandirat64.
46743 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46745 * dirent/dirent.h: Declare scandirat and scandirat64.
46746 * dirent/scandirat.c: New file.
46747 * dirent/scandirat64.c: New file.
46748 * sysdeps/wordsize-64/scandirat.c: New file.
46749 * sysdeps/wordsize-64/scandirat64.c: New file.
46750 * dirent/opendir.c: Define opendirat.
46751 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46753 * dirent/scandir64.c: Adjust for scandir.c change.
46754 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46755 __scandirat64, and __scandir_cancel_handler.
46756 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46757 additional parameter and use openat instead of open (outside of ld.so).
46758 Add new __opendir as wrapper around __opendirat.
46759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46760 here without requiring old scandirat implementation.
46762 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46764 * dirent/scandir.c (cancel_handler): Renamed to
46765 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46766 defined. Adjust users.
46767 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46770 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46772 * string/test-string.h (IMPL): Use __STRING to expand name and then
46775 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46778 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46780 * string/Makefile: Update.
46781 (strop-tests): Append strncat.
46782 * string/test-wcscmp.c: New file.
46783 New comprehensive test for wcscmp.
46784 * string/test-strcmp.c: Update.
46785 (WIDE): New define.
46787 2011-07-22 Andreas Schwab <schwab@redhat.com>
46789 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46792 2011-07-26 Andreas Schwab <schwab@redhat.com>
46794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46795 encoding to ACE if AI_IDN.
46797 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46800 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46802 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46805 Fix overflow bug in strncat.
46806 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46808 * string/test-strncat.c: Update.
46809 Add new tests for checking overflow bugs.
46811 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46814 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46815 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46816 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46818 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46819 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46820 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46821 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46824 (USE_AS_STRCAT): Define.
46825 Add strcat and strncat support.
46826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46828 2011-07-25 Andreas Schwab <schwab@redhat.com>
46830 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46831 __n bigger than INT_MAX+1.
46832 (__strncmp_g): Likewise.
46834 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46836 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46837 * libio/stido.h: Likewise.
46839 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46844 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46851 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46856 (_dl_x86_64_save_sse): Likewise.
46858 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46862 (_dl_x86_64_save_sse): Likewise.
46864 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46866 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46868 2011-07-21 Andreas Schwab <schwab@redhat.com>
46870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46872 (_dl_x86_64_save_sse): Use correct AVX check.
46874 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46877 bug in strncpy/strncat.
46878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46880 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46882 * string/tester.c (test_strcat): Add tests for different alignments
46883 of source and destination.
46884 (test_strncat): Likewise.
46886 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46889 * posix/glob.c (glob): Check passed in values before using them in
46890 expressions to avoid some overflows.
46891 (glob_in_dir): Likewise.
46894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46895 check for AVX enablement so that we don't crash with old kernels and
46897 * elf/tst-audit4.c: Add same checks here.
46898 * elf/tst-audit6.c: Likewise.
46900 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46902 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46904 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46906 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46908 * po/cs.po: Update from translation team.
46909 * po/bg.po: Likewise.
46911 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46913 * misc/sys/cdefs.h: Add support for const attribute.
46914 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46915 to gnu_dev_{major,minor,makedev} functions.
46917 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46919 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46921 2011-07-20 Andreas Schwab <schwab@redhat.com>
46923 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46926 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46929 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46930 register in order to avoid conflicts with the soft frame pointer
46931 being held in r11 when necessary.
46932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46933 (INTERNAL_VSYSCALL_NCS): Likewise.
46935 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46937 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46938 * elf/dl-fini.c (_dl_fini): Adjust caller.
46939 * elf/dl-close.c (_dl_close_worker): Likewise.
46940 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46942 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46944 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46945 "aux_cache->nlibs < 0".
46947 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46948 in the reload-count case.
46950 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46953 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46954 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46955 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46956 * sysdeps/x86_64/multiarch/strcat.S: New file.
46957 * sysdeps/x86_64/multiarch/strncat.S: New file.
46958 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46960 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46961 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46962 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46963 (USE_AS_STRCAT): Define.
46964 Add strcat and strncat support.
46965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46966 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46967 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46968 * string/strncat.c: Update.
46969 (USE_AS_STRNCAT): Define.
46970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46971 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46973 * sysdeps/x86_64/multiarch/init-arch.h
46974 (bit_Prefer_PMINUB_for_stringop): New.
46975 (index_Prefer_PMINUB_for_stringop): Likewise.
46976 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46977 bit_Prefer_PMINUB_for_stringop.
46979 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46981 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46983 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46984 of casting of buffer.
46985 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46986 buffer32 and buffer64.
46987 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46988 writes instead of casting of buffer.
46989 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46991 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46994 2011-07-19 Andreas Schwab <schwab@redhat.com>
46996 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46998 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47000 * nscd/nscd.c (termination_handler): Don't do anything for a database
47001 if it has not yet been initialized.
47003 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47005 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47007 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47009 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47011 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47013 * po/nl.po: Update from translation team.
47014 * po/sv.po: Likewise.
47016 2011-07-16 Roland McGrath <roland@hack.frob.com>
47018 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47019 now disallowed by GCC.
47021 * configure.in (use-default-link): Default to yes if a test -shared
47022 link meets our qualifications.
47023 * configure: Regenerated.
47025 * config.make.in (output-format): New variable.
47026 * configure.in: Check for ld --print-output-format support.
47027 * configure: Regenerated.
47028 * Makerules ($(common-objpfx)format.lds)
47029 [$(output-format) != unknown]: Just use $(output-format),
47030 instead of the linker-script munging.
47032 2011-07-14 Roland McGrath <roland@hack.frob.com>
47034 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47035 of $(common-objpfx)shlib.lds.
47036 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47038 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47039 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47041 * configure.in (-z relro check): Adjust test code to add a large
47042 writable data section after it.
47043 * configure: Regenerated.
47045 2011-07-11 Roland McGrath <roland@hack.frob.com>
47047 * configure.in (-z relro check): Fix test code to make the variable
47049 * configure: Regenerated.
47051 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47053 * nscd/nscd.h (struct traced_file): Define.
47054 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47055 elements. Add traced_files.
47056 (inotify_fd): Declare.
47057 (register_traced_file): Declare.
47058 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47059 (inotify_fd): Export.
47060 (resolv_conf_descr): Remove.
47061 (nscd_init): Move inotify descriptor creation to main.
47062 Don't register files for notification here.
47063 (register_traced_file): New function.
47064 (invalidate_cache): Don't use reset_res to determine whether to call
47065 res_init, go through the list of registered files.
47066 (main_loop_poll): The inotify descriptors are now stored in the
47067 structures for the traced files.
47068 (main_loop_epoll): Likewise
47069 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47070 to __nss_disable_nscd.
47071 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47072 for a database anymore. Check the records for all the registered
47074 * nss/Makefile (libnss_files-routines): Add files-init.
47075 (libnss_db-routines): Add db-init.
47076 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47077 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47078 * nss/nss_db/db-init.c: New file.
47079 * nss/nss_files/files-init.c: New file.
47080 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47081 __nss_lookup_function.
47082 (__nss_lookup_function): Call nss_load_library.
47083 (nss_load_all_libraries): New function.
47084 (__nss_disable_nscd): Take parameter with callback function for files
47085 to register. Set is_nscd. Load all the DSOs for the NSS modules
47086 used for the cached services.
47087 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47088 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47089 options for features to all the files in nscd.
47091 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47093 2011-07-10 Roland McGrath <roland@hack.frob.com>
47095 * csu/elf-init.c (__libc_csu_init): Comment typo.
47097 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47099 * po/pl.po: Update from translation team.
47100 * po/ja.po: Likewise.
47101 * po/ru.po: Likewise.
47102 * po/ko.po: Likewise.
47103 * po/fr.po: Likewise.
47105 2011-07-09 Roland McGrath <roland@hack.frob.com>
47107 * configure.in (.ctors/.dtors header and trailer check):
47108 Use an empirical test on a built program.
47109 * configure: Regenerated.
47111 * configure.in (-z relro check): Use an empirical test on a built DSO.
47112 Detect, but do not require, on ia64.
47113 * configure: Regenerated.
47115 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47116 Update tests that use readelf to use $READELF instead.
47117 * configure: Regenerated.
47119 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47121 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47122 if the result is not used.
47124 2011-07-05 Andreas Jaeger <aj@suse.de>
47127 * stdlib/tst-strtod.c: Add testcase.
47129 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47131 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47132 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47133 The latter has a higher limit. Take additional parameter to pass to
47135 (__pathconf): Pass file to __statfs_link_max.
47136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47138 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47142 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47146 (__statfs_filesize_max): Likewise.
47147 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47149 2011-07-05 Andreas Jaeger <aj@suse.de>
47151 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47153 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47155 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47157 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47160 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47162 * Makefile (strop-tests): Add strncat.
47163 * string/test-strncat.c: New file.
47165 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47167 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47169 2011-06-21 Andreas Jaeger <aj@suse.de>
47171 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47172 Copy rule from iconvdata/Makefile.
47174 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47177 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47178 but no long options are defined, just return 'W'.
47180 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47183 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47185 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47187 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47189 (innetgr): Likewise.
47191 2011-07-05 Roland McGrath <roland@hack.frob.com>
47193 * config.make.in (install_root): Default to $(DESTDIR).
47195 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47199 2011-07-02 Roland McGrath <roland@hack.frob.com>
47201 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47203 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47204 containing directory rather than embedding absolute directory names.
47206 * scripts/check-local-headers.sh: Rewritten using awk.
47207 Match by word, not by line. Print error messages for matches.
47208 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47210 * Makerules [shlib-lds-flags empty]:
47211 ($(common-objpfx)libc_pic.opts): New target.
47212 ($(common-objpfx)libc_pic.os.clean): New target.
47213 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47215 * config.make.in (OBJCOPY): New variable.
47216 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47217 * configure: Regenerated.
47219 * config.make.in (use-default-link): New variable.
47220 * configure.in (use_default_link): Grok --with-default-link to set it.
47221 * configure: Regenerated.
47222 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47223 (shlib-lds, shlib-lds-flags): Define to empty.
47225 * Makerules (shlib-lds): New variable.
47226 (shlib-lds-flags): New variable.
47227 (build-shlib, build-moduile, build-module-asneeded): Use it.
47228 ($(common-objpfx)libc.so): Use $(shlib-lds).
47229 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47230 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47232 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47233 DT_FLAGS/DT_FLAGS_1 with zero flags.
47235 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47236 linker script munging.
47238 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47240 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47242 * crypt/sha512.c (sha512_process_block): Perform total addition using
47243 128-bit if possible.
47244 (__sha512_finish_ctx): Likewise.
47245 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47247 * crypt/sha256.c (SWAP64): Define.
47248 (sha256_process_block): Perform total addition using 64-bit if
47250 (__sha256_finish_ctx): Likewise.
47252 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47254 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47256 * nscd/hstcache.c (cache_addhst): Likewise.
47257 * nscd/grpcache.c (cache_addgr): Likewise.
47258 * nscd/aicache.c (addhstaiX): Likewise
47259 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47261 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47263 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47265 * nscd/hstcache.c (cache_addhst): Likewise.
47266 * nscd/grpcache.c (cache_addgr): Likewise.
47267 * nscd/aicache.c (addhstaiX): Likewise
47269 2011-07-01 Andreas Schwab <schwab@redhat.com>
47271 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47272 domain only when needed.
47274 2011-06-30 Andreas Schwab <schwab@redhat.com>
47276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47277 is always restored.
47279 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47281 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47282 are re-adding the entry.
47283 * nscd/servicescache.c (cache_addserv): Likewise.
47285 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47287 * sysdeps/generic/dl-irel.h: fix protection against multiple
47289 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47291 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47294 * malloc/memusage.sh: Fix quoting in message.
47295 * debug/xtrace.sh: Likewise.
47297 * configure.in: Remove support for --experimental-malloc option, make
47299 * config.make.in: Likewise.
47300 * malloc/Makefile: Likewise.
47302 2011-06-27 Andreas Schwab <schwab@redhat.com>
47304 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47305 two-byte characters.
47307 2011-06-27 Roland McGrath <roland@hack.frob.com>
47309 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47310 AC_CACHE_CHECK invocation.
47311 * configure: Regenerated.
47313 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47315 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47318 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47319 bit from old_res_options.
47321 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47323 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47324 value type for setfct.
47326 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47329 __gettimeofday instead of gettimeofday.
47331 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47333 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47335 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47337 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47342 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47345 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47346 strcpy-sse2-unaligned strncpy-sse2-unaligned
47347 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47348 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47349 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47350 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47351 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47352 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47354 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47355 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47356 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47357 (STRCPY): Support SSE2 and SSSE3 versions.
47359 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47363 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47364 kernels which artificially limit size of requests.
47366 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47369 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47370 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47371 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47372 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47373 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47374 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47375 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47376 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47378 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47379 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47380 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47381 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47382 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47384 Enable unaligned load optimization for Intel Core i3, i5 and i7
47386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47388 (index_Fast_Unaligned_Load): Define.
47389 (HAS_FAST_UNALIGNED_LOAD): Define.
47391 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47393 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47395 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47399 until it is clear that the information is realy needed.
47400 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47402 2011-06-22 Andreas Schwab <schwab@redhat.com>
47404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47406 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47409 /sys/devices/system/cpu/online if it is usable.
47411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47412 reading the information from the /proc filesystem to once a second.
47414 2011-06-21 Andreas Jaeger <aj@suse.de>
47416 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47417 NULL after inclusion of kernel headers.
47419 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47421 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47422 calls to internal_setent.
47425 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47426 addresses using gethostbyname4_r ignore IPv4 addresses.
47428 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47429 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47431 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47433 2011-06-20 David S. Miller <davem@davemloft.net>
47435 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47437 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47439 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47440 (elf_irel): Use it.
47441 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47442 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47443 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47444 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47445 * sysdeps/x86_64/dl-irel.h: Likewise.
47447 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47448 * elf/dl-sym.c: Likewise.
47450 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47452 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47453 need to dereference resplen2.
47455 2011-06-14 Andreas Schwab <schwab@redhat.com>
47457 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47459 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47461 * Makeconfig: Define vardbdir and inst_vardbdir.
47462 * nss/Makefile: Add rules to install db-Makefile.
47464 * nss/nss_db/db-XXX.c: Cleanup.
47466 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47467 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47469 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47470 * nss/makedb.c: Implement -g option to specify that value strings
47471 are generated and should not be added to table iterated over for
47473 * nss/nss_db/db-initgroups.c: New file.
47475 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47478 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47479 (internal_getgrouplist): Adjust to name change.
47480 Update use_initgroups_entry if this is not the first call.
47481 * nss/databases.def: Add initgroups entry.
47483 * nss/makedb.c (compute_tables): Check result of multiple hash table
47484 sizes to minimize maximum chain length.
47486 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47488 * Versions.def: Add entry for libnss_db.
47489 * shlib-versions: Likewise.
47490 * nss/Makefile: Add rules to build libnss_db.
47491 * nss/Versions: Add libnss_db information. Organize libnss_files
47493 * nss/db-Makefile: Add gshadow support. Change rules for the new
47494 makedb progra. Some minor improvements to generate smaller files.
47495 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47497 * nss/makedb.c: ...here.
47498 Improve database format to be smaller and require less memory at
47500 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47502 * nss/nss_db/db-netgrp.c: Likewise.
47503 * nss/nss_db/db-open.c: Likewise.
47504 * nss/nss_files/flies-XXX.x: Adjust comments.
47505 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47506 * nss/nss_files/files-grp.c: Likewise.
47507 * nss/nss_files/files-hosts.c: Likewise.
47508 * nss/nss_files/files-network.c: Likewise.
47509 * nss/nss_files/files-proto.c: Likewise.
47510 * nss/nss_files/files-pwd.c: Likewise.
47511 * nss/nss_files/files-rpc.c: Likewise.
47512 * nss/nss_files/files-service.c: Likewise.
47513 * nss/nss_files/files-sgrp.c: Likewise.
47514 * nss/nss_files/files-spwd.c: Likewise.
47515 * nss/nss_db/db-alias.c: Removed.
47516 * nss/nss_db/dummy-db.h: Removed.
47518 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47520 * nss/makedb.c: Rewritten to not use database library.
47521 * nss/Makefile: Update to build new makedb program.
47523 2011-06-14 Andreas Jaeger <aj@suse.de>
47525 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47526 memset declaration.
47528 2011-06-10 Andreas Schwab <schwab@redhat.com>
47530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47533 2011-06-10 Roland McGrath <roland@hack.frob.com>
47535 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47536 * elf/Makefile ($(objpfx)ld.so): Likewise.
47538 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47539 Don't list ld.so twice in dependencies.
47541 * posix/bug-regex31.c: Include <stdlib.h>.
47543 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47545 * nis/nss_compat/compat-spwd.c
47546 (getspent_next_nss_netgr): Remove unused variable.
47547 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47549 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47550 nonmembers" output to use the right array.
47552 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47554 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47556 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47557 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47558 * catgets/gencat.c (read_input_file): Likewise.
47559 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47561 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47562 variable definition inside #if's controlling its use.
47564 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47566 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47568 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47570 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47573 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47575 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47576 * configure: Regenerated.
47578 * Makerules: Revert last change.
47579 * elf/Makefile: Likewise.
47581 2011-06-09 Roland McGrath <roland@hack.frob.com>
47583 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47584 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47585 (reloc-link): Likewise.
47587 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47589 * elf/Makefile: Add rules to build pldd.
47590 * elf/pldd.c: New file.
47591 * elf/pldd-xx.c: New file.
47593 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47595 * version.h: Update for 2.15 development version.
47597 2011-06-07 David S. Miller <davem@davemloft.net>
47599 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47602 elf_machine_lazy_rel): Likewise.
47603 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47605 elf_machine_lazy_rel): Likewise.
47606 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47607 dl_hwcap via passed in argument.
47608 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47611 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47613 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47615 2011-06-06 Roland McGrath <roland@hack.frob.com>
47618 * manual/fdl-1.1.texi: New file, verbatim from:
47619 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47620 * manual/lgpl-2.1.texi: New file, verbatim from:
47621 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47622 * manual/Makefile (licenses): New variable, list those new file names.
47624 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47626 * manual/fdl.texi: File removed.
47627 * manual/lesser.texi: File removed.
47628 * manual/libc.texinfo (Copying, Documentation License):
47629 Use new @include file names, put @appendix directive before @include.
47631 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47634 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47635 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47636 (mq_open): Add __NTH.
47638 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47641 Assume Intel Core i3/i5/i7 processor if AVX is available.
47643 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47648 2011-05-31 Andreas Schwab <schwab@redhat.com>
47650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47651 memory. Use alloca_account. Fix memory leak when retrying.
47653 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47655 * version.h (RELEASE): Bump for 2.14 release.
47656 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47658 * config.make.in (RANLIB): Remove entry.
47660 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47662 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47663 (libc.pot): Work around missing support for .ksh extension in xgettext.
47666 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47667 if both request failed.
47668 (send_dg): In case of server errors clear resplen or *resplen2.
47671 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47672 when there are multiple maps.
47673 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47674 (_dl_fini): Remove test here.
47676 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47678 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47681 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47682 bit from old_res_options.
47683 (gaih_inet): Likewise.
47686 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47689 * resolv/res_init.c (res_setoptions): Make the code more compact.
47692 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47696 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47698 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47701 * malloc/malloc.h: Declare malloc hook variables as volatile.
47703 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47707 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47708 raise in the comment.
47709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47711 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47713 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47716 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47717 grow the buffers more if it already has to be sufficient.
47718 (build_wcs_upper_buffer): Likewise.
47719 * posix/regexec.c (check_matching): Likewise.
47720 (clean_state_log_if_needed): Likewise.
47721 (extend_buffers): Don't enlarge buffers beyond size of the input
47723 Patches mostly by Emil Wojak <emil@wojak.eu>.
47724 * posix/bug-regex32.c: New file.
47725 * posix/Makefile (tests): Add bug-regex32.
47727 * locale/findlocale.c (_nl_find_locale): Return right away if
47728 _nl_explode_name failed.
47729 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47731 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47733 * debug/xtrace.sh: Unify messages.
47734 * malloc/memusage.sh: Likewise.
47737 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47738 time symbol from vDSO. Substitute with vsyscall if not available.
47739 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47743 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47744 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47745 Add sendmmsg and internal_sendmmsg.
47746 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47747 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47750 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47751 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47754 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47758 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47764 * iconvdata/Makefile (tests): Add bug-iconv9.
47765 * iconvdata/bug-iconv9.c: New file.
47767 2011-05-27 Andreas Schwab <schwab@redhat.com>
47770 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47772 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47775 (struct user_regs_struct): Change intcs field back to cs.
47777 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47779 * po/ja.po: Update from translation team.
47781 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47784 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47787 2011-05-20 Andreas Schwab <schwab@redhat.com>
47789 * stdlib/longlong.h: Update from GCC.
47791 2011-05-23 Andreas Schwab <schwab@redhat.com>
47793 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47795 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47796 Add parameter name.
47797 (__sysconf): Pass it down.
47799 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47802 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47805 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47806 add in in __libc_use_alloca calls. Adjust callers.
47807 (glob): Use malloc in some situations.
47809 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47810 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47813 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47815 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47816 and CLOCK_BOOTTIME_ALARM.
47819 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47822 * string/_strerror.c (__strerror_r): Print negative errors as signed
47826 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47827 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47828 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47830 * configure.in: Fix typo in redirection and correct removal of test
47831 files in two cases.
47834 * locale/setlocale.c (new_composite_name): Fix test to check for
47835 identical name of all categories.
47838 * libio/filedoalloc.c (local_isatty): New function.
47839 (_IO_file_doallocate): Use local_isatty.
47840 * stdio-common/perror.c (perror): In case a new stream is used
47841 forward the stream error.
47842 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47845 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47850 * include/alloca.h (extend_alloca_account): Define.
47853 * posix/regex.h: Fix comments with documentation of user-accessible
47854 fields after compilation and describe correct free'ing of pattern
47855 after re_compile_pattern.
47856 Patch by Reuben Thomas <rrt@sc3d.org>.
47858 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47860 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47861 and -mno-altivec to prevent the compiler from using Altivec and/or
47862 VSX instructions when the corresponding registers are not available.
47864 2011-05-19 Andreas Schwab <schwab@redhat.com>
47866 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47868 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47870 * libio/freopen.c (freopen): Use __dup2, not dup2.
47871 * libio/freopen64.c (freopen64): Likewise.
47873 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47876 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47877 * math/Makefile (tests): Add test-powl.
47878 (CFLAGS-test-powl.c): Define.
47879 * math/test-powl.c: New file.
47881 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47883 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47885 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47888 * iconvdata/gb18030.c: Update to GB18020-2005.
47890 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47892 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47893 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47894 Patch by Aharon Robbins <arnold@skeeve.com>.
47897 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47901 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47902 through underflows.
47905 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47906 point to strings before performing equality test for error_one_per_line
47910 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47914 (struct user_fpregs_struct): Avoid __uint*_t types.
47917 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47918 symbol info. Use it instead of calling _dl_addr locally.
47919 (lock_and_info): New function.
47920 (tr_freehook): Call lock_and_info and pass symbol info as additional
47921 parameter to tr_where.
47922 (tr_mallochook): Likewise.
47923 (tr_reallochook): Likewise.
47924 (tr_memalignhook): Likewise.
47926 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47927 used and couldn't be at all thread-safe.
47929 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47931 * libio/freopen.c (freopen): Don't close old file descriptor
47932 before the new one is opened. Instead dup the new file descriptor
47933 to the old one after the new stream is created.
47934 * libio/freopen64.c (freopen64): Likewise.
47935 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47936 * libio/fileops.c (_IO_new_file_close_it): Handle new
47937 _IO_FLAGS2_NOCLOSE flag.
47938 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47939 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47940 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47941 _IO_FLAGS2_NOCLOSE flag.
47942 * include/unistd.h: Add hidden_proto for dup3.
47943 Define __have_dup3.
47944 * io/dup3.c: Define hidden symbol.
47945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47948 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47949 when an incomplete long option is used.
47950 * posix/tst-getopt_long1.c: New file.
47951 * posix/Makefile (tests): Add tst-getopt_long1.
47954 * scripts/config.guess: Update from autoconf-2.68.
47955 * scripts/config.sub: Likewise.
47958 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47960 (has_cpuclock): ...this. New function.
47961 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47962 macro here based on has_cpuclock code.
47965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47966 First byte (not low byte) is now always NUL.
47967 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47970 Use non-cancelable interfaces.
47973 * locale/iso-639.def: Add entry for Sorani.
47976 * include/stdlib.h: Move include protection to the right place.
47977 Define abort_msg_s. Declare __abort_msg with it.
47978 * stdlib/abort.c (__abort_msg): Adjust type.
47979 * assert/assert.c (__assert_fail_base): New function. Majority
47980 of code from __assert_fail. Allocate memory for __abort_msg with
47982 (__assert_fail): Now call __assert_fail_base.
47983 * assert/assert-perr.c: Remove bulk of implementation. Use
47984 __assert_fail_base.
47985 * include/assert.hL Declare __assert_fail_base.
47986 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47988 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47990 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47994 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47995 until all modules are registered in the DTV.
47996 * elf/Makefile: Add rules to build and run tst-tls19.
47997 * elf/tst-tls19.c: New file.
47998 * elf/tst-tls19mod1.c: New file.
47999 * elf/tst-tls19mod2.c: New file.
48000 * elf/tst-tls19mod3.c: New file.
48001 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48004 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48008 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48009 two-byte sequence errors.
48010 * iconvdata/Makefile (tests): Add bug-iconv8.
48011 * iconvdata/bug-iconv8.c: New file.
48014 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48017 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48020 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48021 (dummy_getcfa): New function.
48022 (init): Get _Unwind_GetCFA address, use dummy if not found.
48023 (backtrace_helper): In recursion check, also check whether CFA changes.
48024 (__backtrace): Completely initialize arg.
48026 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48027 storing incomplete byte sequence in state object. Avoid testing for
48028 guaranteed too small input if we know there is enough data available.
48030 2011-05-11 Andreas Schwab <schwab@redhat.com>
48032 * Makeconfig (+link-pie): Indent.
48033 * Rules (binaries-pie): Define if $(have-fpie) and
48035 (binaries-shared): Also filter out $(binaries-pie).
48036 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48037 * nscd/Makefile (others-pie): Add nscd.
48038 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48039 ($(objpfx)nscd): Remove command override.
48040 * login/Makefile (others-pie): Add pt_chown.
48041 ($(objpfx)pt_chown): Remove command override.
48042 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48043 remove command overrides.
48045 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48047 * libio/tst_putwc.c: Fix error messages.
48050 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48051 currently writing and seek to current position when not.
48052 * libio/Makefile (tests): Add bug-fclose1.
48053 * libio/bug-fclose1.c: New file.
48055 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48058 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48059 don't set DF_1_NODELETE here.
48060 (do_lookup_x): When entering new entry test for copy relocation
48061 and if necessary set DF_1_NODELETE flag.
48062 * elf/tst-unique4.cc: New file.
48063 * elf/tst-unique4.h: New file.
48064 * elf/tst-unique4lib.cc: New file.
48065 * elf/Makefile: Add rules to build and run tst-unique4.
48066 Patch by Piotr Bury <pbury@goahead.com>.
48068 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48071 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48074 * misc/mntent_r.c (addmntent): Flush the stream after the output
48077 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48078 (is_trusted_path_normalize): Skip initial colon. Append slash
48079 to empty buffer. Duplicate is_trusted_path code but allow
48080 constructed patch to be prefix.
48081 (is_dst): Allow $ORIGIN followed by /.
48082 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48083 Correct testing of result of is_trusted_path_normalize
48084 (decompose_rpath): Fix warning.
48086 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48089 * grp/initgroups.c (internal_getgrouplist): When we found the service
48090 list through the initgroups entry in nsswitch.conf do not always
48091 continue on a successful lookup. Don't always use the
48092 __nss_group_database value if it is set.
48093 * nss/nsswitch.conf (initgroups): Change action for successful db
48094 lookup to continue for compatibility.
48096 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48099 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48101 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48103 * iconvdata/tst-tables.sh: Likewise.
48104 * iconvdata/cp770.c: New file.
48105 * iconvdata/cp771.c: New file.
48106 * iconvdata/cp772.c: New file.
48107 * iconvdata/cp773.c: New file.
48108 * iconvdata/cp774.c: New file.
48109 * iconvdata/testdata/CP770: New file.
48110 * iconvdata/testdata/CP770..UTF8: New file.
48111 * iconvdata/testdata/CP771: New file.
48112 * iconvdata/testdata/CP771..UTF8: New file.
48113 * iconvdata/testdata/CP772: New file.
48114 * iconvdata/testdata/CP772..UTF8: New file.
48115 * iconvdata/testdata/CP773: New file.
48116 * iconvdata/testdata/CP773..UTF8: New file.
48117 * iconvdata/testdata/CP774: New file.
48118 * iconvdata/testdata/CP774..UTF8: New file.
48120 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48122 * iconvdata/gen-8bit-gap.sh: Likewise.
48123 * iconvdata/gen-8bit.sh: Likewise.
48125 * locale/iso-639.def: Add ary entry.
48128 * locale/C-translit.h.in: Add U20A1 transliteration.
48131 * locale/iso-639.def: Add wae entry.
48132 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48135 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48139 * locale/C-translit.h.in: Add entry for U20B9.
48140 Patch by pravin.d.s@gmail.com.
48142 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48145 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48146 ENAMETOOLONG use generic getcwd.
48147 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48148 in rtld. Use *stat64.
48149 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48150 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48151 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48152 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48153 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48154 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48155 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48156 __fstatat64 macros.
48157 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48158 * dirent/rewinddir.c: Add libc_hidden_def.
48159 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48160 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48162 * include/dirent.h (__alloc_dir): Add flags parameter.
48163 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48164 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48166 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48167 from fdopendir if O_CLOEXEC is already set.
48169 2011-03-15 Alan Modra <amodra@gmail.com>
48171 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48172 l_tls_firstbyte_offset non-zero. Save padding offset in
48173 l_tls_firstbyte_offset for later use.
48174 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48175 freeing static tls block.
48177 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48179 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48180 where #ifdef was intended. The intent is to prevent ARG_MAX from
48181 being defined by the kernel headers.
48183 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48186 * resolv/resolv.h: Define RES_NOTLDQUERY.
48187 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48188 no-tld-query and set RES_NOTLDQUERY.
48189 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48190 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48191 modern BIND to search name as TLD unless forbidden.
48193 2011-05-07 Petr Baudis <pasky@suse.cz>
48194 Ulrich Drepper <drepper@gmail.com>
48197 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48198 (is_trusted_path): ...to here.
48199 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48200 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48201 using is_trusted_path_normalize() in setuid scripts.
48203 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48205 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48206 __BEGIN/__END_DECLS.
48208 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48211 NSS_STATUS_NOTFOUND if no record was found.
48213 2011-05-05 Andreas Schwab <schwab@redhat.com>
48215 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48216 (headers-not-in-tirpc): Remove rpc/netdb.h
48217 * resolv/netdb.h: Revert last change.
48219 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48221 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48222 circular dependency between libgcc.a and libc.a.
48224 2011-05-05 Andreas Schwab <schwab@redhat.com>
48226 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48227 * nis/Makefile: Don't install rpcsvc/*.
48228 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48229 instead of <rpc/types.h>.
48230 (MAXHOSTNAMELEN): Define.
48232 2011-05-03 Andreas Schwab <schwab@redhat.com>
48234 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48236 2011-04-28 Maciej Babinski <mbabinski@google.com>
48239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48240 gethostbyname4_r when IPv6 results are possible.
48242 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48245 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48246 _PC_PIPE_BUF handling.
48248 2011-04-30 Bruno Haible <bruno@clisp.org>
48251 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48252 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48254 * inet/getnameinfo.c (getnameinfo): Likewise.
48256 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48258 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48259 to groups setting in database lookup.
48260 * nss/nsswitch.conf: Add initgroups entry.
48262 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48265 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48267 Patch by Eric Blake <eblake@redhat.com>.
48269 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48271 * sunrpc/Makefile (need-export-routines): Add svc_run.
48272 (routines): Remove svc_run.
48273 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48274 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48275 * sunrpc/svc_run.c (svc_run): Likewise.
48276 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48278 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48281 problem in reallocation in last patch.
48283 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48285 * sunrpc/Makefile: Move inclusion of Rules.
48287 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48289 * nss/nss_files/files-initgroups.c: New file.
48290 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48291 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48292 _nss_files_initgroups_dyn.
48294 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48296 * elf/elf.h (R_ARM_IRELATIVE): Define.
48298 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48300 * po/ru.po: Update from translation team.
48302 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48304 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48307 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48310 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48311 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48314 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48316 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48320 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48324 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48327 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48329 * stdlib/bug-getcontext.c: New file.
48330 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48332 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48334 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48335 instructions into .machine "z9-109".
48336 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48337 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48339 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48341 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48342 between environment variables and auxiliary vector.
48344 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48346 * Makefile: Add rules to build linkobj/libc.so.
48347 * include/libc-symbols.h: Define libc_hidden_nolink.
48348 * include/rpc/auth.h: Mark functions which are to be hidden.
48349 * include/rpc/auth_des.h: Likewise.
48350 * include/rpc/auth_unix.h: Likewise.
48351 * include/rpc/clnt.h: Likewise.
48352 * include/rpc/des_crypt.h: Likewise.
48353 * include/rpc/key_prot.h: Likewise.
48354 * include/rpc/pmap_clnt.h: Likewise.
48355 * include/rpc/pmap_prot.h: Likewise.
48356 * include/rpc/pmap_rmt.h: Likewise.
48357 * include/rpc/rpc_msg.h: Likewise.
48358 * include/rpc/svc.h: Likewise.
48359 * include/rpc/svc_auth.h: Likewise.
48360 * include/rpc/xdr.h: Likewise.
48361 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48362 * nss/Makefile: Likewise.
48363 * sunrpc/Makefile: Don't install headers. Build library with normal
48364 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48365 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48366 for the compat linking library. Remove use of INTDEF/INTUSE.
48367 * sunrpc/auth_none.c: Likewise.
48368 * sunrpc/auth_unix.c: Likewise.
48369 * sunrpc/authdes_prot.c: Likewise.
48370 * sunrpc/authuxprot.c: Likewise.
48371 * sunrpc/clnt_gen.c: Likewise.
48372 * sunrpc/clnt_perr.c: Likewise.
48373 * sunrpc/clnt_raw.c: Likewise.
48374 * sunrpc/clnt_simp.c: Likewise.
48375 * sunrpc/clnt_tcp.c: Likewise.
48376 * sunrpc/clnt_udp.c: Likewise.
48377 * sunrpc/clnt_unix.c: Likewise.
48378 * sunrpc/des_crypt.c: Likewise.
48379 * sunrpc/des_soft.c: Likewise.
48380 * sunrpc/get_myaddr.c: Likewise.
48381 * sunrpc/key_call.c: Likewise.
48382 * sunrpc/key_prot.c: Likewise.
48383 * sunrpc/netname.c: Likewise.
48384 * sunrpc/pm_getmaps.c: Likewise.
48385 * sunrpc/pm_getport.c: Likewise.
48386 * sunrpc/pmap_clnt.c: Likewise.
48387 * sunrpc/pmap_prot.c: Likewise.
48388 * sunrpc/pmap_prot2.c: Likewise.
48389 * sunrpc/pmap_rmt.c: Likewise.
48390 * sunrpc/publickey.c: Likewise.
48391 * sunrpc/rpc_cmsg.c: Likewise.
48392 * sunrpc/rpc_common.c: Likewise.
48393 * sunrpc/rpc_dtable.c: Likewise.
48394 * sunrpc/rpc_prot.c: Likewise.
48395 * sunrpc/rpc_thread.c: Likewise.
48396 * sunrpc/rtime.c: Likewise.
48397 * sunrpc/svc.c: Likewise.
48398 * sunrpc/svc_auth.c: Likewise.
48399 * sunrpc/svc_authux.c: Likewise.
48400 * sunrpc/svc_raw.c: Likewise.
48401 * sunrpc/svc_run.c: Likewise.
48402 * sunrpc/svc_simple.c: Likewise.
48403 * sunrpc/svc_tcp.c: Likewise.
48404 * sunrpc/svc_udp.c: Likewise.
48405 * sunrpc/svc_unix.c: Likewise.
48406 * sunrpc/svcauth_des.c: Likewise.
48407 * sunrpc/xcrypt.c: Likewise.
48408 * sunrpc/xdr.c: Likewise.
48409 * sunrpc/xdr_array.c: Likewise.
48410 * sunrpc/xdr_float.c: Likewise.
48411 * sunrpc/xdr_intXX_t.c: Likewise.
48412 * sunrpc/xdr_mem.c: Likewise.
48413 * sunrpc/xdr_rec.c: Likewise.
48414 * sunrpc/xdr_ref.c: Likewise.
48415 * sunrpc/xdr_sizeof.c: Likewise.
48416 * sunrpc/xdr_stdio.c: Likewise.
48418 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48421 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48422 * sysdeps/ia64/dl-tls.h: Likewise.
48423 * sysdeps/powerpc/dl-tls.h: Likewise.
48424 * sysdeps/s390/dl-tls.h: Likewise.
48425 * sysdeps/sh/dl-tls.h: Likewise.
48426 * sysdeps/sparc/dl-tls.h: Likewise.
48427 * sysdeps/x86_64/dl-tls.h: Likewise.
48428 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48430 2011-03-14 Andreas Schwab <schwab@redhat.com>
48432 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48433 rpath element also skip the following colon.
48434 (expand_dynamic_string_token): Add is_path parameter and pass
48435 down to DL_DST_REQUIRED and _dl_dst_substitute.
48436 (decompose_rpath): Call expand_dynamic_string_token with
48437 non-zero is_path. Ignore empty rpaths.
48438 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48441 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48446 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48449 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48450 Patch by Filipe David Manana <fdmanana@apache.org>.
48452 2011-04-07 Andreas Schwab <schwab@redhat.com>
48454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48455 Maintain aligned stack.
48456 (CHECK_RSP): Remove unused macro.
48458 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48460 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48463 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48465 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48467 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48469 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48472 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48473 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48474 * sysdeps/x86_64/memmove.c: New file.
48475 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48476 (memcpy): Renamed to ...
48477 (__new_memcpy): This.
48478 (memcpy): Provide GLIBC_2_14 memcpy.
48479 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48480 (memcpy): Provide GLIBC_2_2_5 memcpy.
48482 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48485 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48487 2011-03-30 Andreas Schwab <schwab@redhat.com>
48489 * misc/syncfs.c: New file.
48490 * misc/Makefile (routines): Add syncfs.
48491 * posix/unistd.h: Declare syncfs.
48492 * sysdeps/unix/syscalls.list: Add syncfs.
48494 2011-04-01 Andreas Schwab <schwab@redhat.com>
48496 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48503 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48506 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48512 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48516 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48517 sync_file_range.c with -fexceptions.
48518 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48519 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48520 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48521 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48522 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48523 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48525 sync_file_range as cancellation point
48526 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48527 now a wrapper around __call_sync_file_range with cancellation handling.
48528 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48529 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48530 function name to __call_sync_file_range.
48531 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48532 Add call_sync_file_range.
48534 2011-04-01 Andreas Schwab <schwab@redhat.com>
48536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48539 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48541 * iconv/iconv.h: Fix typo in comment.
48542 * io/fcntl.h: Likewise.
48543 * libio/stdio.h: Likewise.
48544 * posix/spawn.h: Likewise.
48545 * posix/unistd.h: Likewise.
48546 * stdlib/stdlib.h: Likewise.
48547 * time/time.h: Likewise.
48548 * wcsmbs/wchar.h: Likewise.
48550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48551 open_by_handle): Add.
48552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48553 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48554 Augment a few comments.
48555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48560 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48563 * io/fcntl.h (AT_EMPTY_PATH): Define.
48565 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48567 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48568 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48569 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48571 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48572 * Versions.def: Add GLIBC_2.14.
48573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48576 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48582 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48585 * string/test-strncmp.c (do_page_test): New function.
48586 (check2): Likewise.
48587 (test_main): Call check2.
48588 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48590 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48593 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48594 Handle cache information in CPU leaf 4.
48595 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48597 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48600 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48601 character representation.
48602 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48604 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48606 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48607 END(__isnan) to END(__isnanf) to match function entry point/label
48608 EALIGN(__isnanf,...).
48610 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48612 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48614 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48617 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48618 copy from the symbol referenced in the relocation to initialize the
48620 Patch by Piotr Bury <pbury@goahead.com>.
48621 * elf/Makefile: Add rules to build and tst-unique3.
48622 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48623 * elf/tst-unique3.cc: New file.
48624 * elf/tst-unique3.h: New file.
48625 * elf/tst-unique3lib.cc: New file.
48626 * elf/tst-unique3lib2.cc: New file.
48628 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48630 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48632 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48633 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48636 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48638 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48639 to-be-loaded object along a path to loader is ld.so.
48641 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48642 Ulrich Drepper <drepper@gmail.com>
48644 * sysdeps/x86_64/memset.S: After aligning destination, code
48645 branches to different locations depending on the value of
48646 misalignment, when multiarch is enabled. Fix this.
48648 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48650 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48651 Set _x86_64_preferred_memory_instruction for AMD processsors.
48652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48653 Set bit_Prefer_SSE_for_memop for AMD processors.
48655 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48657 * libio/fmemopen.c (fmemopen): Optimize a bit.
48659 2011-03-03 Andreas Schwab <schwab@redhat.com>
48661 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48663 2011-03-03 Roland McGrath <roland@redhat.com>
48665 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48667 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48669 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48670 __bzero_ultra1 instead of __memset_ultra1.
48672 2011-02-23 Andreas Schwab <schwab@redhat.com>
48673 Ulrich Drepper <drepper@gmail.com>
48676 * include/link.h (struct link_map): Add l_orig_initfini.
48677 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48678 returning unsuccessfully.
48679 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48680 close of a file loaded at startup, restore the original l_initfini
48682 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48683 list, store the pointer.
48684 * elf/Makefile ($(objpfx)noload-mem): New rule.
48685 (noload-ENV): Define.
48686 (tests): Add $(objpfx)noload-mem.
48687 * elf/noload.c: Include <memcheck.h>.
48688 (main): Call mtrace. Close all opened handles.
48690 2011-02-17 Andreas Schwab <schwab@redhat.com>
48693 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48694 dependencies are missing.
48696 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48698 Fix __if_freereq crash: Unlike the generic version which uses free,
48700 * sysdeps/mach/hurd/ifreq.h: New file.
48702 2011-01-27 Petr Baudis <pasky@suse.cz>
48703 Ulrich Drepper <drepper@gmail.com>
48706 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48707 to extend_alloca().
48708 * stdio-common/bug23.c: New file.
48709 * stdio-common/Makefile (tests): Add bug23.
48711 2010-09-28 Andreas Schwab <schwab@redhat.com>
48712 Ulrich Drepper <drepper@gmail.com>
48715 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48716 before performing relro protection. At old place add assertion
48717 to make sure nothing changed.
48719 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48720 Glauber de Oliveira Costa <glommer@gmail.com>
48722 * elf/elf.h: Add new ARM TLS relocs.
48724 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48727 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48729 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48731 * sysdeps/wordsize-64/tst-writev.c: New file.
48733 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48735 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48736 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48737 insns in _dl_start to prevent a TOC reference before relocs are
48740 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48743 * Makeconfig: Remove RANLIB definition.
48744 * Makerules: Don't use RANLIB.
48745 * aclocal.m4: Remove ranlib test.
48746 * configure.in: No need to check for ranlib.
48747 * elf/rtld-Rules: Don't use RANLIB.
48749 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48751 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48753 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48754 inclusion protection macro.
48756 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48757 SIGRTMIN and SIGRTMAX and print information in that case only when
48758 SIGRTMIN is defined.
48760 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48762 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48763 arginfo fn returning -1.
48765 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48766 and thousands string is zero terminated.
48768 2011-02-03 Andreas Schwab <schwab@redhat.com>
48770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48771 sysdeps/unix/sysv/linux/bits/socket.h.
48773 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48775 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48776 (__CPU_COUNT): Remove old macros.
48777 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48778 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48779 (__CPU_ALLOC, __CPU_FREE): Add macros.
48780 (__sched_cpualloc, __sched_cpufree): Add declarations.
48782 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48784 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48785 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48786 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48787 (readdhstai): Return value of addhstaiX call.
48788 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48789 (addgrbyX): Return value returned by cache_addgr.
48790 (readdgrbyname): Return value returned by addgrbyX.
48791 (readdgrbygid): Likewise.
48792 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48793 (addpwbyX): Return value returned by cache_addpw.
48794 (readdpwbyname): Return value returned by addhstbyX.
48795 (readdpwbyuid): Likewise.
48796 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48797 (addservbyX): Return value returned by cache_addserv.
48798 (readdservbyname): Return value returned by addservbyX:
48799 (readdservbyport): Likewise.
48800 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48801 (addhstbyX): Return value returned by cache_addhst.
48802 (readdhstbyname): Return value returned by addhstbyX.
48803 (readdhstbyaddr): Likewise.
48804 (readdhstbynamev6): Likewise.
48805 (readdhstbyaddrv6): Likewise.
48806 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48807 (readdinitgroups): Return value returned by addinitgroupsX.
48808 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48809 (prune_cache): Keep track of timeout value of re-added entries.
48810 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48811 * nscd/nscd.h: Adjust prototypes of readd* functions.
48813 2011-02-04 Roland McGrath <roland@redhat.com>
48815 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48816 (nis_stats): Likewise.
48817 * nis/nis_modify.c (nis_modify): Likewise.
48818 * nis/nis_remove.c (nis_remove): Likewise.
48819 * nis/nis_add.c (nis_add): Likewise.
48821 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48823 * posix/fnmatch_loop.c: Add some consts.
48825 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48827 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48830 * config.make.in (config-cflags-novzeroupper): Define.
48831 * configure.in: Substitute libc_cv_cc_novzeroupper.
48832 * elf/Makefile (AVX-CFLAGS): Define.
48833 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48834 (CFLAGS-tst-auditmod4a.c): Likewise.
48835 (CFLAGS-tst-auditmod4b.c): Likewise.
48836 (CFLAGS-tst-auditmod6b.c): Likewise.
48837 (CFLAGS-tst-auditmod6c.c): Likewise.
48838 (CFLAGS-tst-auditmod7b.c): Likewise.
48839 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48841 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48843 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48844 function to the callback.
48845 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48847 2011-02-02 Andreas Schwab <schwab@redhat.com>
48849 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48852 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48855 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48857 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48859 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48862 * elf/Makefile: Add rules to build and run new test.
48863 * elf/tst-initorder.c: New file.
48864 * elf/tst-initorder.exp: New file.
48865 * elf/tst-initordera1.c: New file.
48866 * elf/tst-initordera2.c: New file.
48867 * elf/tst-initordera3.c: New file.
48868 * elf/tst-initordera4.c: New file.
48869 * elf/tst-initorderb1.c: New file.
48870 * elf/tst-initorderb2.c: New file.
48871 * elf/tst-order-a1.c: New file.
48872 * elf/tst-order-a2.c: New file.
48873 * elf/tst-order-a3.c: New file.
48874 * elf/tst-order-a4.c: New file.
48875 * elf/tst-order-b1.c: New file.
48876 * elf/tst-order-b2.c: New file.
48877 * elf/tst-order-main.c: New file.
48878 New test case by George Gensure <werkt0@gmail.com>.
48880 2010-10-01 Andreas Schwab <schwab@redhat.com>
48882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48883 decoding ACE if AI_CANONIDN.
48885 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48887 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48889 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48891 * version.h (RELEASE): Bump for 2.13 release.
48892 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48894 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48896 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48898 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48900 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48902 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48905 * posix/getconf.c: Update copyright year.
48906 * catgets/gencat.c: Likewise.
48907 * csu/version.c: Likewise.
48908 * debug/catchsegv.sh: Likewise.
48909 * debug/xtrace.sh: Likewise.
48910 * elf/ldconfig.c: Likewise.
48911 * elf/ldd.bash.in: Likewise.
48912 * elf/sprof.c (print_version): Likewise.
48913 * iconv/iconv_prog.c: Likewise.
48914 * iconv/iconvconfig.c: Likewise.
48915 * locale/programs/locale.c: Likewise.
48916 * locale/programs/localedef.c: Likewise.
48917 * malloc/memusage.sh: Likewise.
48918 * malloc/mtrace.pl: Likewise.
48919 * nscd/nscd.c (print_version): Likewise.
48920 * nss/getent.c: Likewise.
48922 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48923 PF_CAIF, and PF_ALG.
48924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48926 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48928 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48929 (modules-names): Use them.
48930 (ifunc-test-modules, ifunc-pie-tests): Define.
48931 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48932 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48933 (test-extras): Likewise.
48934 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48935 $(compile-command.c).
48936 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48937 (all-built-dso): Define.
48938 (check-textrel.out, check-execstack.out): Depend on it.
48940 * configure.in: Don't override --enable-multi-arch.
48942 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48945 * nscd/hstcache.c (tryagain): Define.
48946 (cache_addhst): Return tryagain not notfound for temporary errors.
48947 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48950 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48953 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48954 to make the syscall.
48955 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48958 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48959 and fall back to matching as normal character if the string ends before
48960 the matching ']' is found. This is what POSIX requires.
48961 * posix/testfnm.c: Adjust test result.
48962 * posix/globtest.sh: Adjust test result. Add new test.
48963 * posix/tst-fnmatch.input: Likewise.
48964 * posix/tst-fnmatch2.c: Add new test.
48966 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48968 * elf/Makefile (check-execstack): Revert last change. Depend on
48970 (check-execstack.h): New target.
48971 (generated): Add check-execstack.h.
48972 * elf/check-execstack.c: Include "check-execstack.h".
48973 (main): Revert last change.
48974 (handle_file): Return zero if GNU_STACK is absent and
48975 DEFAULT_STACK_PERMS doesn't include PF_X.
48977 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48979 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48980 in child fails because the descriptor is already closed.
48981 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48982 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48983 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48986 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48990 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48991 temporary buffer used to handle multi lookups locally.
48992 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48994 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48996 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48999 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49001 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49002 alignment for SSE2.
49004 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49007 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49008 characters. When rounding increased number of integer digits recompute
49010 * stdio-common/tst-grouping.c: New file.
49011 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49013 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49015 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49016 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49018 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49020 * bits/select.h: Likewise.
49022 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49024 * po/ja.po: Update from translation team.
49026 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49029 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49030 implementation just like for lxstat, fxstatat, et al.
49032 2010-12-27 Jim Meyering <meyering@redhat.com>
49035 * posix/regexec.c (build_trtable): Return failure indication upon
49036 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49038 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49041 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49042 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49043 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49047 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49050 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49051 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49053 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49055 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49056 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49057 script has SORT_BY_INIT_PRIORITY.
49058 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49059 NO_CTORS_DTORS_SECTIONS is defined.
49060 * elf/soinit.c: Likewise.
49061 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49062 NO_CTORS_DTORS_SECTIONS is defined.
49063 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49064 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49065 * sysdeps/sh/init-first.c: Likewise.
49066 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49068 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49070 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49071 always use the slow path.
49073 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49075 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49076 similar rule which adds the sysdep directories to the header search in
49077 order to pick up the correct platform stackinfo.h.
49078 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49079 perform test if it is, otherwise return successfully without testing.
49080 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49081 DEFAULT_STACK_PERMS define in stackinfo.h.
49082 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49083 defined in stackinfo.h.
49084 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49085 DEFAULT_STACK_PERMS defined in stackinfo.h.
49086 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49087 * sysdeps/ia64/stackinfo.h: Likewise.
49088 * sysdeps/s390/stackinfo.h: Likewise.
49089 * sysdeps/sh/stackinfo.h: Likewise.
49090 * sysdeps/sparc/stackinfo.h: Likewise.
49091 * sysdeps/x86_64/stackinfo.h: Likewise.
49092 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49093 PF_X for powerpc64. Retain PF_X for powerpc32.
49095 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49097 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49099 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49100 GETDENTS_64BIT_ALIGNED.
49102 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49104 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49106 2010-12-10 Andreas Schwab <schwab@redhat.com>
49108 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49111 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49112 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49114 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49115 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49117 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49120 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49123 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49125 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49127 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49129 * po/it.po: Update from translation team.
49131 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49136 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49138 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49140 2010-11-24 Andreas Schwab <schwab@redhat.com>
49142 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49144 (gaih_getanswer_slice): Likewise.
49146 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49150 2010-05-31 Petr Baudis <pasky@suse.cz>
49153 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49154 silently even in the chroot mode.
49156 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49158 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49159 last patch a bit. Pretty printing
49161 2010-05-31 Petr Baudis <pasky@suse.cz>
49164 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49165 initialization of skip_initgroups_dyn.
49167 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49169 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49172 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49174 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49176 2010-11-11 Andreas Schwab <schwab@redhat.com>
49178 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49179 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49180 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49181 ($(objpfx)tst-fnmatch-mem): New rule.
49182 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49183 * posix/tst-fnmatch.c (main): Call mtrace.
49185 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49188 Support Intel processor model 6 and model 0x2c.
49190 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49195 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49198 * string/test-strncasecmp.c (check_result): New function.
49199 (do_one_test): Use it.
49200 (check1): New function.
49201 (test_main): Use it.
49202 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49203 Support strcasecmp and strncasecmp.
49205 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49208 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49211 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49213 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49217 * sysdeps/x86_64/multiarch/bzero.S: New file.
49218 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49219 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49220 * sysdeps/x86_64/multiarch/memset.S: New file.
49221 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49223 Set bit_Prefer_SSE_for_memop for Intel processors.
49224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49226 (index_Prefer_SSE_for_memop): Define.
49227 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49229 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49232 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49234 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49237 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49238 (__x86_64_raw_data_cache_size_half): Likewise.
49239 (__x86_64_raw_shared_cache_size): Likewise.
49240 (__x86_64_raw_shared_cache_size_half): Likewise.
49242 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49243 (__x86_64_raw_data_cache_size_half): Likewise.
49244 (__x86_64_raw_shared_cache_size): Likewise.
49245 (__x86_64_raw_shared_cache_size_half): Likewise.
49246 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49247 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49248 and __x86_64_raw_shared_cache_size_half. Round
49249 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49250 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49251 to multiple of 256 bytes.
49253 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49257 of inacessible symlinks. Verify result of symlink before returning it.
49258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49259 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49261 2010-10-28 Erich Ritz <erichritz@gmail.com>
49263 * math/math.h (isinf): Fix typo in comment.
49265 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49267 * po/da.po: Update from translation team.
49269 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49271 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49272 is added to the list.
49274 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49275 Ulrich Drepper <drepper@gmail.com>
49277 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49278 the global list here. Move code to...
49279 (_dl_add_to_namespace_list): ...here. New function.
49280 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49281 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49282 * elf/dl-load.c (lose): Don't remove the element from the list.
49283 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49284 (_dl_map_object): Likewise.
49286 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49289 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49290 into all bytes of SSE register.
49291 Patch by Richard Li <richardpku@gmail.com>.
49293 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49296 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49299 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49301 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49302 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49303 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49309 2010-10-22 Andreas Schwab <schwab@redhat.com>
49311 * include/dlfcn.h (__RTLD_SECURE): Define.
49312 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49313 mode & __RTLD_SECURE instead.
49314 (open_path): Rename preloaded parameter to secure.
49315 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49316 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49317 * elf/dl-deps.c (openaux): Likewise.
49318 * elf/rtld.c (struct map_args): Remove is_preloaded.
49319 (map_doit): Don't use it.
49320 (dl_main): Likewise.
49321 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49322 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49324 2010-09-09 Andreas Schwab <schwab@redhat.com>
49326 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49327 (sysd-rules-targets): Remove duplicates.
49328 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49329 rtld-%.$o dependency.
49331 2010-10-18 Andreas Schwab <schwab@redhat.com>
49333 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49334 _dl_map_object do it.
49336 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49338 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49339 fast fma builtins, define the macros in the C99 standard.
49340 (FP_FAST_FMAF): Likewise.
49341 (FP_FAST_FMAL): Likewise.
49342 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49344 * bits/mathdef.h: Update copyright year.
49345 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49347 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49349 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49350 builtins, define the macros in the C99 standard.
49351 (FP_FAST_FMAF): Likewise.
49352 (FP_FAST_FMAL): Likewise.
49353 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49355 (FP_FAST_FMAF): Likewise.
49357 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49360 * math/libm-test.inc (fma_test): Some new testcases.
49361 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49363 y and infinite z. Do multiplication by C already in long double.
49364 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49366 y and infinite z. Do bitwise or of inexact bit into u.d.
49367 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49368 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49369 * sysdeps/i386/fpu/s_fma.S: Removed.
49370 * sysdeps/i386/fpu/s_fmal.S: Removed.
49372 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49375 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49377 computation is not scheduled after fetestexcept. Fix value
49378 of minimum denormal long double.
49380 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49383 * math/libm-test.inc (fma_test): Add some more tests.
49384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49387 2010-10-15 Andreas Schwab <schwab@redhat.com>
49389 * scripts/data/localplt-s390-linux-gnu.data: New file.
49390 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49392 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49395 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49396 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49398 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49400 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49402 if one of x and y is very large and the other is subnormal.
49403 * sysdeps/s390/fpu/s_fmaf.c: New file.
49404 * sysdeps/s390/fpu/s_fma.c: New file.
49405 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49406 * sysdeps/powerpc/fpu/s_fma.S: New file.
49407 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49408 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49409 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49411 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49414 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49417 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49418 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49419 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49420 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49421 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49424 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49427 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49428 * posix/bug-regex31.input: Add test case.
49430 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49432 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49433 * posix/bug-regex31.input: New file.
49436 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49437 (parse_sub_exp): Fix last change, use postorder.
49439 * posix/bug-regex31.c: New file.
49440 * posix/Makefile: Add rules to build and run bug-regex31.
49442 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49445 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49448 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49449 to have entries in sys_siglist.
49452 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49455 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49458 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49459 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49460 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49461 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49462 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49463 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49464 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49465 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49466 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49467 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49468 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49469 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49470 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49471 * math/ftestexcept.c (fetestexcept): Likewise.
49472 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49473 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49474 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49475 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49476 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49477 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49478 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49480 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49483 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49486 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49488 * string/bug-strstr1.c: New file.
49489 * string/Makefile: Add rules to build and run bug-strstr1.
49491 2010-10-05 Eric Blake <eblake@redhat.com>
49494 * string/str-two-way.h (two_way_long_needle): Always clear memory
49495 when skipping input due to the shift table.
49497 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49500 * malloc/mcheck.c: Handle large requests.
49503 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49504 for strncmp and strncasecmp.
49505 * string/stratcliff.c: Add tests for strcmp and strncmp.
49506 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49508 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49510 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49513 2010-09-30 Andreas Jaeger <aj@suse.de>
49515 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49516 (CGROUP_SUPER_MAGIC): Define.
49517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49518 Handle btrfs and cgroup file systems.
49519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49522 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49524 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49525 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49527 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49530 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49531 trying to locate the ELF header.
49533 2010-09-27 Andreas Schwab <schwab@redhat.com>
49536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49537 Mask out sign-bit copies when constructing f_fsid.
49539 2010-09-24 Petr Baudis <pasky@suse.cz>
49541 * debug/stack_chk_fail_local.c: Add missing licence exception.
49542 * debug/warning-nop.c: Likewise.
49544 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49546 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49547 implementing getdents64 using getdents syscall, set d_type if
49548 __ASSUME_GETDENTS32_D_TYPE.
49550 2010-09-16 Andreas Schwab <schwab@redhat.com>
49552 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49553 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49555 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49558 * posix/unistd.h: Undo change of feature selection for ftruncate from
49561 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49563 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49566 2010-09-20 Andreas Schwab <schwab@redhat.com>
49568 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49572 2010-09-14 Andreas Schwab <schwab@redhat.com>
49574 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49575 variables after CHECK_SP call.
49576 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49578 2010-09-13 Andreas Schwab <schwab@redhat.com>
49579 Ulrich Drepper <drepper@redhat.com>
49581 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49582 re-relocationg ld.so.
49583 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49584 _dl_init_paths call.
49585 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49588 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49590 * resolv/res_init.c (__res_vinit): Count the default server we added.
49592 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49593 Ulrich Drepper <drepper@redhat.com>
49596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49597 (____longjmp_chk): Use %ebx for saving value across system call.
49600 2010-09-06 Andreas Schwab <schwab@redhat.com>
49602 * manual/Makefile: Don't mix pattern rules with normal rules.
49604 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49606 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49608 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49609 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49610 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49611 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49615 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49618 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49619 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49621 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49623 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49624 * sysdeps/x86_64/addmul_1.S: Likewise.
49625 * sysdeps/x86_64/lshift.S: Likewise.
49626 * sysdeps/x86_64/mul_1.S: Likewise.
49627 * sysdeps/x86_64/rshift.S: Likewise.
49628 * sysdeps/x86_64/sub_n.S: Likewise.
49629 * sysdeps/x86_64/submul_1.S: Likewise.
49631 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49633 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49634 Define __sched_param instead of SCHED_* and sched_param when
49635 <bits/sched.h> is included with __need_schedparam defined.
49636 * bits/sched.h [__need_schedparam]
49637 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49638 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49639 (__defined_schedparam): Define to 1.
49640 (__sched_param): New structure, identical to sched_param.
49641 (__need_schedparam): Undefine.
49643 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49646 (epoll_create1): Declare.
49648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49650 2010-08-31 Andreas Schwab <schwab@redhat.com>
49653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49654 shifting retval into place.
49656 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49658 * nis/rpcsvc/nis.h: Update copyright notice.
49659 * nis/rpcsvc/nis.x: Likewise.
49660 * nis/rpcsvc/nis_callback.h: Likewise.
49661 * nis/rpcsvc/nis_callback.x: Likewise.
49662 * nis/rpcsvc/nis_object.x: Likewise.
49663 * nis/rpcsvc/nis_tags.h: Likewise.
49664 * nis/rpcsvc/yp.h: Likewise.
49665 * nis/rpcsvc/yp.x: Likewise.
49666 * nis/rpcsvc/ypupd.h: Likewise.
49667 * nis/yp_xdr.c: Likewise.
49668 * nis/ypupdate_xdr.c: Likewise.
49670 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49671 mainly the body of pmap_getport. Add parameters to specify timeouts.
49672 (pmap_getport): Use __libc_rpc_getport.
49673 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49674 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49675 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49677 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49682 2010-08-27 Roland McGrath <roland@redhat.com>
49684 * sysdeps/i386/i686/multiarch/Makefile
49685 (CFLAGS-varshift.c): New variable.
49687 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49689 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49690 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49694 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49696 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49698 * sysdeps/x86_64/strlen.S: Unroll the loop.
49699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49700 strlen-sse2 strlen-sse2-bsf.
49701 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49702 __strlen_no_bsf if bit_Slow_BSF is set.
49703 (__strlen_sse42): Removed.
49704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49705 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49707 2010-08-25 Roland McGrath <roland@redhat.com>
49709 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49710 * sysdeps/x86_64/multiarch/varshift.c: New file.
49711 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49712 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49713 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49714 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49716 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49719 strlen-sse2 strlen-sse2-bsf.
49720 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49721 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49722 (__strlen_sse2): Removed.
49723 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49726 bit_Slow_BSF for Atom.
49727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49728 (index_Slow_BSF): Define.
49729 (HAS_SLOW_BSF): Define.
49731 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49734 * resolv/res_init.c (__res_vinit): When no server address at all
49735 is given default to loopback.
49737 2010-08-24 Roland McGrath <roland@redhat.com>
49739 * configure.in: Remove config-name.h generation.
49740 * configure: Regenerated.
49741 * config-name.in: File removed.
49742 * scripts/config-uname.sh: New file.
49743 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49744 ($(objdir)config-name.h): New target.
49746 * sunrpc/rpc_parse.h: Avoid nested comment.
49748 2010-08-24 Richard Henderson <rth@redhat.com>
49749 Ulrich Drepper <drepper@redhat.com>
49750 H.J. Lu <hongjiu.lu@intel.com>
49752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49754 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49755 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49756 _mm_alignr_epi8 with _mm_loadu_si128.
49757 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49758 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49759 (__m128i_shift_right): Removed.
49760 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49761 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49762 * sysdeps/x86_64/multiarch/varshift.h: New file.
49763 * sysdeps/x86_64/multiarch/varshift.S: New file.
49765 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49767 * configure.in: Move assembler checks to before sysdep dir checking.
49769 2010-08-20 Petr Baudis <pasky@suse.cz>
49771 * LICENSES: Sync the sunrpc license.
49773 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49775 * sunrpc/auth_des.c: Update copyright notice once again.
49776 * sunrpc/auth_none.c: Likewise.
49777 * sunrpc/auth_unix.c: Likewise.
49778 * sunrpc/authdes_prot.c: Likewise.
49779 * sunrpc/authuxprot.c: Likewise.
49780 * sunrpc/bindrsvprt.c: Likewise.
49781 * sunrpc/clnt_gen.c: Likewise.
49782 * sunrpc/clnt_perr.c: Likewise.
49783 * sunrpc/clnt_raw.c: Likewise.
49784 * sunrpc/clnt_simp.c: Likewise.
49785 * sunrpc/clnt_tcp.c: Likewise.
49786 * sunrpc/clnt_udp.c: Likewise.
49787 * sunrpc/clnt_unix.c: Likewise.
49788 * sunrpc/des_crypt.c: Likewise.
49789 * sunrpc/des_soft.c: Likewise.
49790 * sunrpc/get_myaddr.c: Likewise.
49791 * sunrpc/getrpcport.c: Likewise.
49792 * sunrpc/key_call.c: Likewise.
49793 * sunrpc/key_prot.c: Likewise.
49794 * sunrpc/openchild.c: Likewise.
49795 * sunrpc/pm_getmaps.c: Likewise.
49796 * sunrpc/pm_getport.c: Likewise.
49797 * sunrpc/pmap_clnt.c: Likewise.
49798 * sunrpc/pmap_prot.c: Likewise.
49799 * sunrpc/pmap_prot2.c: Likewise.
49800 * sunrpc/pmap_rmt.c: Likewise.
49801 * sunrpc/rpc/auth.h: Likewise.
49802 * sunrpc/rpc/auth_unix.h: Likewise.
49803 * sunrpc/rpc/clnt.h: Likewise.
49804 * sunrpc/rpc/des_crypt.h: Likewise.
49805 * sunrpc/rpc/key_prot.h: Likewise.
49806 * sunrpc/rpc/netdb.h: Likewise.
49807 * sunrpc/rpc/pmap_clnt.h: Likewise.
49808 * sunrpc/rpc/pmap_prot.h: Likewise.
49809 * sunrpc/rpc/pmap_rmt.h: Likewise.
49810 * sunrpc/rpc/rpc.h: Likewise.
49811 * sunrpc/rpc/rpc_des.h: Likewise.
49812 * sunrpc/rpc/rpc_msg.h: Likewise.
49813 * sunrpc/rpc/svc.h: Likewise.
49814 * sunrpc/rpc/svc_auth.h: Likewise.
49815 * sunrpc/rpc/types.h: Likewise.
49816 * sunrpc/rpc/xdr.h: Likewise.
49817 * sunrpc/rpc_clntout.c: Likewise.
49818 * sunrpc/rpc_cmsg.c: Likewise.
49819 * sunrpc/rpc_common.c: Likewise.
49820 * sunrpc/rpc_cout.c: Likewise.
49821 * sunrpc/rpc_dtable.c: Likewise.
49822 * sunrpc/rpc_hout.c: Likewise.
49823 * sunrpc/rpc_main.c: Likewise.
49824 * sunrpc/rpc_parse.c: Likewise.
49825 * sunrpc/rpc_parse.h: Likewise.
49826 * sunrpc/rpc_prot.c: Likewise.
49827 * sunrpc/rpc_sample.c: Likewise.
49828 * sunrpc/rpc_scan.c: Likewise.
49829 * sunrpc/rpc_scan.h: Likewise.
49830 * sunrpc/rpc_svcout.c: Likewise.
49831 * sunrpc/rpc_tblout.c: Likewise.
49832 * sunrpc/rpc_util.c: Likewise.
49833 * sunrpc/rpc_util.h: Likewise.
49834 * sunrpc/rpcinfo.c: Likewise.
49835 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49836 * sunrpc/rpcsvc/key_prot.x: Likewise.
49837 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49838 * sunrpc/rpcsvc/mount.x: Likewise.
49839 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49840 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49841 * sunrpc/rpcsvc/rex.x: Likewise.
49842 * sunrpc/rpcsvc/rstat.x: Likewise.
49843 * sunrpc/rpcsvc/rusers.x: Likewise.
49844 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49845 * sunrpc/rpcsvc/spray.x: Likewise.
49846 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49847 * sunrpc/rtime.c: Likewise.
49848 * sunrpc/svc.c: Likewise.
49849 * sunrpc/svc_auth.c: Likewise.
49850 * sunrpc/svc_authux.c: Likewise.
49851 * sunrpc/svc_raw.c: Likewise.
49852 * sunrpc/svc_run.c: Likewise.
49853 * sunrpc/svc_simple.c: Likewise.
49854 * sunrpc/svc_tcp.c: Likewise.
49855 * sunrpc/svc_udp.c: Likewise.
49856 * sunrpc/svc_unix.c: Likewise.
49857 * sunrpc/svcauth_des.c: Likewise.
49858 * sunrpc/xcrypt.c: Likewise.
49859 * sunrpc/xdr.c: Likewise.
49860 * sunrpc/xdr_array.c: Likewise.
49861 * sunrpc/xdr_float.c: Likewise.
49862 * sunrpc/xdr_mem.c: Likewise.
49863 * sunrpc/xdr_rec.c: Likewise.
49864 * sunrpc/xdr_ref.c: Likewise.
49865 * sunrpc/xdr_sizeof.c: Likewise.
49866 * sunrpc/xdr_stdio.c: Likewise.
49868 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49871 2010-08-19 Andreas Schwab <schwab@redhat.com>
49873 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49875 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49877 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49880 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49882 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49883 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49884 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49887 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49888 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49889 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49890 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49892 2010-07-26 Anton Blanchard <anton@samba.org>
49894 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49895 * malloc/arena.c (heap_trim): Likewise.
49897 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49899 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49902 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49904 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49906 * sysdeps/i386/elf/Makefile: New file.
49908 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49910 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49911 from fanotify_init.
49912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49915 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49917 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49919 * sysdeps/multiarch/strcmp.S: Likewise.
49921 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49923 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49924 strncase_l-nonascii.
49925 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49926 Add strncase_l-ssse3.
49927 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49928 * sysdeps/x86_64/strcmp.S: Likewise.
49929 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49930 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49931 * sysdeps/x86_64/strncase.S: New file.
49932 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49933 * sysdeps/x86_64/strncase_l.S: New file.
49934 * string/Makefile (strop-tests): Add strncasecmp.
49935 * string/test-strncasecmp.c: New file.
49937 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49940 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49943 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49945 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49947 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49949 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49953 2010-05-01 Alan Modra <amodra@gmail.com>
49955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49956 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49957 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49958 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49959 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49960 tidying. Don't tail-call __sigjmp_save for static lib.
49961 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49963 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49964 (CALL_MCOUNT): Add eh info, and nop after bl.
49965 (TAIL_CALL_SYSCALL_ERROR): New macro.
49966 (PSEUDO_RET): Use it.
49967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49968 Correct save location of integer regs and cr.
49969 (_dl_profile_resolve): Correct cr save location. Delete nops
49970 after bl when SHARED. Reduce cfi size a little by better
49971 placement of cfi directives.
49972 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49973 make a stack frame. Instead use parm save area as a temp.
49974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49975 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49977 Don't make a stack frame for parent, use parm save area.
49978 Increase child stack frame to 112 bytes. Don't save unused reg,
49979 and adjust reg usage. Set up cfi on error recovery and
49980 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49982 (__makecontext): Add dummy nop after jump to exit.
49983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49984 Use correct parm save area and cr save, reduce stack frame.
49985 Correct cfi for possible PSEUDO_RET frame setup.
49986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49987 Branch to local label emitted by PSEUDO_RET rather than
49990 2010-08-12 Andreas Schwab <schwab@redhat.com>
49993 * locale/programs/locale.c (print_assignment): New function.
49994 (show_locale_vars): Use it.
49996 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49998 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50000 (struct statfs64): Likewise.
50001 (_STATFS_F_FLAGS): Define.
50002 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50003 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50004 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50005 (ST_VALID): Define locally.
50006 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50007 __statvfs_getflags, use the provided value.
50008 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50009 __ASSUME_STATFS_F_FLAGS.
50011 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50013 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50014 Add sys/fanotify.h.
50015 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50016 fanotify_mask for GLIBC_2.13.
50017 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50018 fanotify_init and fanotify_mark.
50019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50020 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50022 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50024 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50025 prlimit64 for GLIBC_2.13.
50026 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50032 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50036 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50039 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50040 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50042 * nss/Makefile: Add rules to build and run tst-nss-test1.
50043 * shlib-versions: Add entry for libnss_test1.
50044 * nss/nss_test1.c: New file.
50045 * nss/tst-nss-test1.c: New file.
50047 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50048 (__nss_configure_lookup): Set appropriate entry in
50049 __nss_configure_lookup to true.
50050 * nss/nsswitch.h: Define enum with indeces of databases in
50051 databases and __nss_database_custom arrays. Declare
50052 __nss_database_custom.
50053 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50054 to avoid using nscd when custom rules are installed.
50055 * nss/getXXbyYY_r.c: Likewise.
50056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50058 * nss/nss_files/files-parse.c: Whitespace fixes.
50060 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50063 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50064 * posix/fnmatch_loop.c: Likewise.
50066 2010-07-17 Andi Kleen <ak@linux.intel.com>
50068 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50069 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50070 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50071 * Versions.def [GLIBC_2.13]: Add.
50073 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50076 Also fail if tpwd after pwuid call is NULL.
50078 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50080 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50081 when converting to ms.
50083 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50085 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50086 EOPNOTSUPP errors with ENOTTY.
50087 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50088 EOPNOTSUPP errors with ENOTTY.
50090 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50092 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50093 Add strcasecmp_l-ssse3.
50094 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50096 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50097 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50098 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50100 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50102 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50104 * string/Makefile (strop-tests): Add strcasecmp.
50105 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50106 strcasecmp_l-nonascii.
50107 (gen-as-const-headers): Add locale-defines.sym.
50108 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50109 * sysdeps/x86_64/strcasecmp.S: New file.
50110 * sysdeps/x86_64/strcasecmp_l.S: New file.
50111 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50112 * sysdeps/x86_64/locale-defines.sym: New file.
50113 * string/test-strcasecmp.c: New file.
50115 * string/test-strcasestr.c: Test both ends of the range of characters.
50116 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50118 2010-07-29 Roland McGrath <roland@redhat.com>
50121 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50123 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50125 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50128 2010-07-27 Andreas Schwab <schwab@redhat.com>
50130 * manual/memory.texi (Malloc Tunable Parameters): Document
50133 2010-07-26 Roland McGrath <roland@redhat.com>
50136 * configure.in (-fgnu89-inline check): Set and substitute
50137 gnu89_inline, not libc_cv_gnu89_inline.
50138 * configure: Regenerated.
50139 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50141 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50143 * string/test-strnlen.c: New file.
50144 * string/Makefile (strop-tests): Add strnlen.
50145 * string/tester.c (test_strnlen): Add a few more test cases.
50146 * string/tst-strlen.c: Better error reporting.
50148 * sysdeps/x86_64/strnlen.S: New file.
50150 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50153 lower-latency instructions.
50155 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50157 * string/test-strcasestr.c: New file.
50158 * string/test-strstr.c: New file.
50159 * string/Makefile (strop-tests): Add strstr and strcasestr.
50160 * string/str-two-way.h: Don't undefine MAX.
50161 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50163 2010-07-21 Andreas Schwab <schwab@redhat.com>
50165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50166 strcasestr-nonascii.
50167 (CFLAGS-strcasestr-nonascii.c): Define.
50168 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50170 Remove unused attribute.
50172 2010-07-20 Roland McGrath <roland@redhat.com>
50174 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50175 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50176 ld.so.cache was broken. With it, there is no way to disable dsocaps
50177 like LD_HWCAP_MASK can disable hwcaps.
50179 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50181 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50183 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50185 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50186 call in strcasestr.
50187 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50188 __strcasestr_sse42_nonascii.
50189 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50190 strcasestr-nonascii.c.
50191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50193 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50200 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50202 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50205 2010-07-06 Andreas Schwab <schwab@redhat.com>
50208 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50211 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50214 _PC_PIPE_BUF using F_GETPIPE_SZ.
50216 2010-07-05 Roland McGrath <roland@redhat.com>
50218 * manual/arith.texi (Rounding Functions): Fix rint description
50219 implicit in round description.
50221 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50223 * elf/Makefile: Fix linking for a few tests to make recent linker
50226 2010-06-30 Andreas Schwab <schwab@redhat.com>
50228 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50229 $(common-objpfx)libc_nonshared.a.
50231 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50233 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50234 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50235 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50236 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50237 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50238 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50239 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50240 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50255 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50256 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50257 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50258 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50259 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50260 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50261 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50262 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50263 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50264 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50265 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50266 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50282 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50284 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50285 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50286 * string/memmove.c (memmove): Renamed to ...
50287 (MEMMOVE): ...this. Default to memmove.
50288 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50289 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50292 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50293 mempcpy-ssse3-back memmove-ssse3-back.
50294 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50297 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50298 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50299 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50300 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50301 * sysdeps/x86_64/multiarch/memmove.c: New file.
50302 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50303 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50304 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50305 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50307 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50309 (index_Fast_Copy_Backward): Define.
50310 (HAS_ARCH_FEATURE): Define.
50311 (HAS_FAST_REP_STRING): Define.
50312 (HAS_FAST_COPY_BACKWARD): Define.
50314 2010-06-21 Andreas Schwab <schwab@redhat.com>
50316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50317 Restore proper fallback handling.
50319 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50322 * posix/group_member.c (__group_member): Correct checking loop.
50324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50325 OOM in getpwuid_r correctly. Return error number when the caller
50326 should return, otherwise -1.
50327 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50328 call returning > 0 value.
50329 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50331 2010-06-07 Andreas Schwab <schwab@redhat.com>
50333 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50334 libc_nonshared.a from targets in modules-names.
50336 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50338 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50341 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50344 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50348 2010-06-02 Andreas Schwab <schwab@redhat.com>
50350 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50352 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50363 2010-06-14 Roland McGrath <roland@redhat.com>
50365 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50367 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50369 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50370 __REDIRECT followed by __THROW.
50371 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50372 * posix/getopt.h (getopt): Likewise.
50374 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50376 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50377 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50378 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50380 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50381 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50383 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50387 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50391 Properly check family and model.
50393 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50395 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50397 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50399 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50401 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50403 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50406 2010-05-19 Andreas Schwab <schwab@redhat.com>
50408 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50411 2010-05-21 Andreas Schwab <schwab@redhat.com>
50413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50414 and internal_recvmmsg.
50415 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50416 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50417 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50418 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50420 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50421 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50422 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50424 2010-05-20 Andreas Schwab <schwab@redhat.com>
50426 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50428 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50430 POWER7 optimizations.
50431 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50432 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50434 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50436 * version.h: Update for 2.13 development version.
50438 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50440 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50441 exceptions. Return 0.
50443 2010-05-07 Roland McGrath <roland@redhat.com>
50445 * elf/ldconfig.c (main): Add a const.
50447 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50449 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50450 (args_options): Add no-idn option.
50451 (ahosts_keys_int): Add idn_flags to ai_flags.
50452 (parse_option): Handle 'i' option to clear idn_flags.
50454 * malloc/malloc.c (_int_free): Possible race in the most recently
50455 added check. Only act on the data if no current modification
50458 See ChangeLog.17 for earlier changes.