1 2014-10-01 Steve Ellcey <sellcey@mips.com>
3 * sysdeps/mips/strcmp.S: New.
5 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11 (readlinkat): Likewise.
13 (symlinkat): Likewise.
15 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
17 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23 2014-09-30 Will Newton <will.newton@linaro.org>
25 * math/math.h: Define long double math functions if
26 _LIBC_TEST is defined.
27 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29 * localedata/Makefile: Move assignment to tests-special
30 into an ifdef testing run-built-tests.
31 * timezone/Makefile: Likewise.
33 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
36 with $(BASH) not $(SHELL).
38 2014-09-29 Carlos O'Donell <carlos@redhat.com>
39 Matthew LeGendre <legendre1@llnl.gov>
42 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
47 * stdio-common/printf_fp.c
48 (hack_digit): New function, broken out of ...
49 (__printf_fp): ... local function here. Update call sites.
50 hack_digit now takes an additional parameter that is a pointer
51 to a struct of the referenced locals. Those locals moved inside
52 the struct and references updated.
54 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
56 * aclocal.m4: Require autoconf 2.69.
57 * configure: Regenerated.
58 * sysdeps/aarch64/configure: Likewise.
59 * sysdeps/alpha/configure: Likewise.
60 * sysdeps/arm/armv7/configure: Likewise.
61 * sysdeps/arm/configure: Likewise.
62 * sysdeps/ia64/configure: Likewise.
63 * sysdeps/mach/configure: Likewise.
64 * sysdeps/mips/configure: Likewise.
65 * sysdeps/s390/configure: Likewise.
66 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
69 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
71 * sysdeps/ia64/configure.ac: Likewise.
73 2014-09-26 Joseph Myers <joseph@codesourcery.com>
75 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
76 specify symbol version for ld.so. Do not include entry for
78 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
79 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
80 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
83 * Makeconfig [$(build-shared) = yes]
84 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
86 [$(build-shared) = yes && $(soversions.mk-done) = t]
87 ($(common-objpfx)gnu/lib-names.h): Remove rule.
88 [$(build-shared) = yes && $(soversions.mk-done) = t]
89 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
91 [$(build-shared) = yes && $(soversions.mk-done) = t]
92 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
94 [$(build-shared) = yes && $(soversions.mk-done) = t]
95 (common-generated): Don't append gnu/lib-names.h and
96 gnu/lib-names.stmp here.
97 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
98 (lib-names-h-abi): New variable.
99 [$(build-shared) = yes && $(soversions.mk-done) = t]
100 (lib-names-stmp-abi): Likewise.
101 [$(build-shared) = yes && $(soversions.mk-done) = t &&
102 abi-variants] (before-compile): Append
103 $(common-objpfx)$(lib-names-h-abi).
104 [$(build-shared) = yes && $(soversions.mk-done) = t &&
105 abi-variants] (common-generated): Append gnu/lib-names.h.
106 [$(build-shared) = yes && $(soversions.mk-done) = t &&
107 abi-variants] (install-others-nosubdir): Depend on
108 $(inst_includedir)/$(lib-names-h-abi).
109 [$(build-shared) = yes && $(soversions.mk-done) = t &&
110 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
111 [$(build-shared) = yes && $(soversions.mk-done) = t]
112 ($(common-objpfx)$(lib-names-h-abi)): New rule.
113 [$(build-shared) = yes && $(soversions.mk-done) = t]
114 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
115 [$(build-shared) = yes && $(soversions.mk-done) = t]
116 (common-generated): Append $(lib-names-h-abi) and
117 $(lib-names-stmp-abi).
118 * scripts/lib-names.awk: Do not handle multi being set.
119 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
121 (abi-lp64_be-ld-soname): Likewise.
122 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
124 (abi-hard-ld-soname): Likewise.
125 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
126 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
128 (abi-o32_hard-ld-soname): Likewise.
129 (abi-o32_soft_2008-ld-soname): Likewise.
130 (abi-o32_hard_2008-ld-soname): Likewise.
131 (abi-n32_soft-ld-soname): Likewise.
132 (abi-n32_hard-ld-soname): Likewise.
133 (abi-n32_soft_2008-ld-soname): Likewise.
134 (abi-n32_hard_2008-ld-soname): Likewise.
135 (abi-n64_soft-ld-soname): Likewise.
136 (abi-n64_hard-ld-soname): Likewise.
137 (abi-n64_soft_2008-ld-soname): Likewise.
138 (abi-n64_hard_2008-ld-soname): Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
141 (abi-64-v2-ld-soname): Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
144 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
146 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
148 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
150 (abi-64-ld-soname): Likewise.
151 (abi-x32-ld-soname): Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
154 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
156 2014-09-23 Joseph Myers <joseph@codesourcery.com>
159 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
160 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
161 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
162 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
163 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
164 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
165 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
166 syscall entry for GLIBC_2.2 symbol version.
167 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
170 (setrlimit): Likewise.
171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
174 2014-09-23 Will Newton <will.newton@linaro.org>
176 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
177 _LINUX_ARM_SYSDEP_H include guard too.
178 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
181 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
183 * sysdeps/unix/sysv/linux/eventfd.c:
184 Make first argument unsigned.
185 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
186 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
188 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
190 * socket/recvmmsg.c (recvmmsg): Drop const argument.
191 * socket/sys/socket.h: Likewise
192 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
194 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
196 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
198 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
200 * time/tst-ftime.c: New test.
201 * time/Makefile (tests): Add tst-ftime.
203 2014-09-17 Joseph Myers <joseph@codesourcery.com>
205 * soft-fp/extended.h: Fix comment formatting.
206 * soft-fp/op-1.h: Likewise.
207 * soft-fp/op-2.h: Likewise.
208 * soft-fp/op-4.h: Likewise.
209 * soft-fp/op-8.h: Likewise.
210 * soft-fp/op-common.h: Likewise.
211 * soft-fp/soft-fp.h: Likewise.
213 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
215 2014-09-16 Joseph Myers <joseph@codesourcery.com>
218 * Makeconfig (soversions-default-setname): Remove variable.
219 ($(common-objpfx)soversions.i): Don't pass default_setname to
221 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
222 oldest_abi to abi-versions.awk.
223 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
224 * config.make.in (oldest-abi): Remove variable.
225 * configure.ac (--enable-oldest-abi): Remove configure option.
226 * configure: Regenerated.
227 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
229 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
230 * scripts/soversions.awk: Do not handle default_setname variable.
231 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
233 * sysdeps/mach/hurd/configure: Regenerated.
234 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
236 * sysdeps/unix/sysv/linux/configure: Regenerated.
238 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
240 * elf/Makefile (CFLAGS-interp.c): Remove.
241 ($(elf-objpfx)runtime-linker.h): Generate header with linker
243 * elf/interp.c: Include generated runtime-linker.h
245 * Makerules (lib%.so): Don't include $(+interp) in
247 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
248 * dlfcn/eval.c: Remove file.
250 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
254 * misc/sys/cdefs.h: Define __extern_always_inline for clang
258 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
260 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
261 Jakub Jelinek <jakub@redhat.com>
264 * libio/stdio.h: Check definition of __fortify_function
265 instead of __extern_always_inline to include bits/stdio2.h.
266 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
267 check if __extern_always_inline is defined.
268 [__USE_MISC || __USE_XOPEN]: Likewise.
269 [__USE_ISOC99] Likewise.
270 * misc/sys/cdefs.h (__fortify_function): Define only if
271 __extern_always_inline is defined.
272 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
273 __extern_always_inline and __extern_inline only for g++-4.3
274 and newer or a compatible gcc.
276 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
279 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
280 last change to handle zero prefix length.
282 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
284 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
287 * posix/getconf.c (vars): Add _POSIX_IPV6 and
290 2014-09-13 Allan McRae <allan@archlinux.org>
292 * po/ru.po: Update Russian translation from translation project.
294 2014-09-12 Roland McGrath <roland@hack.frob.com>
296 * locale/programs/locale.c (show_locale_vars): Inline local function
297 into its sole call site. Clean up some style nits.
298 (print_item): New function, broken out of ...
299 (show_info): ... local function here. Clean up style nits.
301 * locale/programs/ld-ctype.c (set_one_default): New function, broken
303 (set_class_defaults): ... local function set_default here.
304 Define set_default as a macro locally to pass constant parameters.
305 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
306 rather than a shared local.
308 * stdlib/rpmatch.c (try): New function, broken out of ...
309 (rpmatch): ... local function here. Also, prototypify definition.
311 2014-09-12 Joseph Myers <joseph@codesourcery.com>
313 * scripts/soversions.awk: Do not handle configuration names.
314 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
315 vendor and os variables to soversions.awk.
316 * configure.ac: Do not modify gnu-* host_os.
317 * configure: Regenerated
318 * shlib-versions: Remove first column with configuration names.
319 * nptl/shlib-versions: Likewise.
320 * nptl_db/shlib-versions: Likewise.
321 * sysdeps/hppa/shlib-versions: Likewise.
322 * sysdeps/m68k/shlib-versions: Likewise.
323 * sysdeps/mach/hurd/shlib-versions: Likewise.
324 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
325 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
326 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
327 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
328 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
329 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
330 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
331 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
334 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
335 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
336 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
337 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
339 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
340 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
341 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
344 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
347 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
349 Condition symbol version definitions on [HAVE_ELFV2_ABI].
351 * shlib-versions: Remove OS-specific entries. Moved to files in
353 * sysdeps/mach/hurd/shlib-versions: New file.
354 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
356 * nptl/shlib-versions: Remove architecture-specific entries.
357 Moved to files in sysdeps.
358 * shlib-versions: Likewise.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
361 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
362 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
363 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
364 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
366 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
367 (UDP_NO_CHECK6_RX): Likewise.
369 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
371 * sysdeps/posix/sysconf.c (__sysconf): Spell
372 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
374 2014-08-12 Florian Weimer <fweimer@redhat.com>
376 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
378 * iconv/Versions (__gconv_transliterate): Export for use from
380 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
381 (struct __gconv_trans_data, __gconv_trans_fct,
382 __gconv_trans_context_fct, __gconv_trans_query_fct,
383 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
385 (struct __gconv_step_data): Remove __trans member.
386 (__gconv_transliterate): Declaration moved from gconv_int.h. No
387 longer hidden. Remove unused trans_data argument.
388 * iconv/gconv_int.h (struct trans_struct): Remove definition.
389 (__gconv_translit_find): Remove declaration.
390 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
392 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
393 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
394 trans_data argument. Add hidden definition.
395 (__gconv_translit_find): Remove.
396 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
397 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
398 * iconv/skeleton.c: Remove transliteration initialization.
399 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
400 __gconv_step_data initialization.
401 * libio/iofwide.c (__libio_translit_): Remove.
402 (_IO_fwide): Adjust struct __gconv_step_data initialization.
403 * wcsmbs/btowc.c (__btowc): Likewise.
404 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
405 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
406 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
407 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
408 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
409 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
410 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
411 * wcsmbs/wctob.c (wctob): Likewise.
413 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
416 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
417 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
419 * sysdeps/x86/Makefile: Adjust.
421 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
422 Roland McGrath <roland@hack.frob.com>
424 * locale/weight.h: Add include guard.
425 (findidx): Make static rather than auto; take new parameters
426 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
427 * locale/weightwc.h: Likewise.
428 * posix/fnmatch_loop.c
429 (FCT): Change type of EXTRA from int32_t to wint_t.
430 Don't include either header inside the function.
431 Call FINDIDX rather than findidx, and pass new arguments.
432 #undef FINDIDX at the end of the file.
433 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
434 FINDIDX before including fnmatch_loop.c for the non-wide version.
435 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
436 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
437 for the wide version.
438 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
439 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
440 Pass new arguments to findidx.
441 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
442 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
443 Don't #include it inside the function. Pass new arguments to findidx.
444 * posix/regex_internal.h
445 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
446 (re_string_elem_size_at): Don't #include it inside the function.
447 Pass new arguments to findidx.
448 * string/strcoll_l.c: #include WEIGHT_H at top level.
449 (get_next_seq): Don't #include it inside the function.
450 Pass new arguments to findidx.
451 (get_next_seq_nocache): Likewise.
452 * string/strxfrm_l.c: #include WEIGHT_H at top level.
453 (STRXFRM): Don't #include it inside the function.
454 Pass new arguments to findidx.
456 2014-09-11 Florian Weimer <fweimer@redhat.com>
459 * malloc/malloc.c (unlink): Turn asserts into a call to
462 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
465 * libio/wfileops (do_ftell_wide): Free OUT.
467 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
469 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
471 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
474 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
475 group if the current group is empty.
477 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479 * benchtests/bench-memset.c (test_main): Add more test from size
480 from 32 to 512 bytes.
481 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
482 Add POWER8 memset object.
483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
484 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
485 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
487 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
489 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
490 multiarch POWER8 memset optimization.
491 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
492 POWER8 memset optimization.
494 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
495 Remove bzero multiarch objects.
496 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
497 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
498 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
499 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
501 [__bzero]: Redefine to specific name.
502 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
504 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
506 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
507 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
509 2014-09-10 Florian Weimer <fweimer@redhat.com>
511 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
512 warnings into errors.
514 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
515 __cxa_thread_atexit_impl prototype.
517 2014-09-09 Steve Ellcey <sellcey@mips.com>
519 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
520 Fix capitalization of error message.
522 2014-09-09 Steve Ellcey <sellcey@mips.com>
524 * sysdeps/mips/preconfigure: Modify ABI tests.
526 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
528 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
530 2014-09-07 Roland McGrath <roland@hack.frob.com>
531 Carlos O'Donell <carlos@systemhalted.org>
533 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
534 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
535 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
536 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
537 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
539 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
540 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
541 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
542 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
544 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
545 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
546 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
547 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
548 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
549 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
550 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
551 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
552 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
553 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
554 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
555 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
556 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
557 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
558 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
559 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
560 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
561 Deconditionalize the code that was previously under [RESET_PID].
562 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
563 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
564 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
565 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
568 2014-09-08 Allan McRae <allan@archlinux.org>
570 * version.h (RELEASE): Set to "development".
571 (VERSION): Set to "2.20.90"
573 2014-09-07 Allan McRae <allan@archlinux.org
575 * version.h (RELEASE): Set to "stable".
576 (VERSION): Set to "2.20"
577 * include/features.h (__GLIBC_MINOR__): Set to 20.
579 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
582 * po/ko.po: Update Korean translation from translation project.
584 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
587 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
588 macro for handling signed relocations.
590 2014-09-03 Florian Weimer <fweimer@redhat.com>
593 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
594 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
596 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
597 * iconvdata/ibm935.c (BODY): Likewise.
598 * iconvdata/ibm937.c (BODY): Likewise.
599 * iconvdata/ibm939.c (BODY): Likewise.
600 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
602 * iconvdata/Makefile (iconv-test.out): Pass module list to test
604 * iconvdata/run-iconv-test.sh: New test loop for checking for
607 2014-09-02 Khem Raj <raj.khem@gmail.com>
609 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
612 2014-09-01 Allan McRae <allan@archlinux.org>
614 * po/eo.po: Update Esperanto translation from translation project.
616 * po/ca.po: Update Catalan translation from translation project.
618 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
620 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
623 2014-08-27 Mark Wielaard <mjw@redhat.com>
626 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
627 to call set_thread_area instead of hand written asm.
628 (__NR_set_thread_area): Removed define.
629 (TLS_FLAG_WRITABLE): Likewise.
630 (__ASSUME_SET_THREAD_AREA): Remove check.
631 (TLS_EBX_ARG): Remove define.
632 (TLS_LOAD_EBX): Likewise.
634 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
636 Simplify atomicity of socket creation in bind.
638 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
639 looking up the name after linking the file.
641 2014-08-27 Allan McRae <allan@archlinux.org>
643 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
645 2014-08-26 Florian Weimer <fweimer@redhat.com>
648 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
649 trans_compare, open_translit, __gconv_translit_find):
650 Remove module loading code.
652 2014-08-26 Allan McRae <allan@archlinux.org>
654 * po/vi.po: Update Vietnamese translation from translation project.
656 * po/uk.po: Update Ukrainian translation from translation project.
658 * po/fr.po: Update French translation from translation project.
660 * po/ru.po: Update Russian translation from translation project.
662 * po/pl.po: Update Polish translation from translation project.
664 * po/cs.po: Update Czech translation from translation project.
666 * po/de.po: Update German translation from translation project.
668 * po/bg.po: Update Bulgarian translation from translation project.
670 * po/sv.po: Update Sweedish translation from translation project.
672 * po/nl.po: Update Dutch translation from translation project.
674 * po/es.po: Update Spanish translation from translation project.
676 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
678 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
680 * catgets/Makefile (CPPFLAGS-gencat): Remove.
681 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
682 (CPPFLAGS-iconvconfig): Likewise.
683 * timezone/Makefile (CPPFLAGS-zic): Likewise.
685 * include/libc-symbols.h: Remove unnecessary check for
687 * nptl/pthreadP.h: Likewise.
688 * sysdeps/aarch64/setjmp.S: Likewise.
689 * sysdeps/alpha/setjmp.S: Likewise.
690 * sysdeps/arm/sysdep.h: Likewise.
691 * sysdeps/i386/setjmp.S: Likewise.
692 * sysdeps/m68k/setjmp.c: Likewise.
693 * sysdeps/posix/getcwd.c: Likewise.
694 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
695 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
696 * sysdeps/s390/s390-32/setjmp.S: Likewise.
697 * sysdeps/s390/s390-64/setjmp.S: Likewise.
698 * sysdeps/sh/sh3/setjmp.S: Likewise.
699 * sysdeps/sh/sh4/setjmp.S: Likewise.
700 * sysdeps/unix/alpha/sysdep.h: Likewise.
701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
703 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
704 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
709 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
712 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
714 * sysdeps/x86_64/setjmp.S: Likewise.
716 2014-08-13 Joseph Myers <joseph@codesourcery.com>
719 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
721 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
722 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
724 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
726 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
729 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
730 and __x86_64__ when disabling x87 inline functions.
732 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
736 asm statement with __cpuid_count.
738 2014-08-12 Mike Frysinger <vapier@gentoo.org>
740 * configure.ac: Change __ehdr_start code to dereference the struct.
741 Run readelf on the output to look for relocations.
742 * configure: Regenerated.
744 2014-08-12 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
749 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
751 2014-08-12 Roland McGrath <roland@hack.frob.com>
753 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
755 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
758 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
759 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
761 2014-08-12 Sean Anderson <seanga2@gmail.com>
763 * malloc/malloc.c: Fix typo in comment.
765 2014-08-09 Allan McRae <allan@archlinux.org>
767 * Regenerate libc.po.
769 2014-08-08 Mike Frysinger <vapier@gentoo.org>
771 * intl/tst-gettext2.sh: Check every lang file for creation.
773 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
775 * sysdeps/aarch64/fpu/math_private.h
776 (libc_feholdsetround_noex_aarch64_ctx): New function.
778 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
780 * sysdeps/arm/armv6/strcpy.S (strcpy):
781 Fix performance issue in misaligned cases.
783 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
786 Move definition from termios.h.
787 (struct termio): Likewise.
788 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
789 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
790 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
791 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
794 Move definition to ioctl-types.h
795 (struct termio): Likewise.
796 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
797 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
798 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
799 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
802 2014-08-05 Richard Henderson <rth@redhat.com>
804 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
806 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
808 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
810 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
811 Protect libm symbols with IS_IN_libm.
813 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
815 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
817 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
819 2014-08-04 Will Newton <will.newton@linaro.org>
821 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
824 2014-08-04 Mike Frysinger <vapier@gentoo.org>
826 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
827 variants for each function.
829 2014-08-04 Roland McGrath <roland@hack.frob.com>
831 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
833 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
834 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
836 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
837 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
838 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
839 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
840 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
841 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
842 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
843 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
844 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
845 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
846 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
847 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
848 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
849 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
851 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
853 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
855 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
857 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
859 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
861 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
863 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
865 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
867 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
869 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
871 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
872 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
873 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
874 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
875 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
876 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
877 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
878 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
879 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
880 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
881 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
882 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
883 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
884 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
885 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
886 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
887 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
888 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
890 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
891 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
893 2014-08-04 Roland McGrath <roland@hack.frob.com>
895 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
896 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
897 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
898 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
899 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
900 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
902 2014-08-04 Roland McGrath <roland@hack.frob.com>
904 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
905 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
906 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
907 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
909 2014-08-04 Roland McGrath <roland@hack.frob.com>
911 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
912 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
913 (__libc_vfork): Define function under this name.
914 (__vfork): Define as an alias.
915 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
916 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
918 2014-08-04 Roland McGrath <roland@hack.frob.com>
920 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
921 that was previously under [RESET_PID].
922 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
924 2014-08-04 Andreas Schwab <schwab@suse.de>
926 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
928 2014-08-03 Mike Frysinger <vapier@gentoo.org>
930 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
933 2014-08-01 Roland McGrath <roland@hack.frob.com>
935 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
937 2014-08-01 Richard Henderon <rth@redhat.com>
939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
940 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
941 typo in exact zero test.
942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
946 2014-08-01 Roland McGrath <roland@hack.frob.com>
948 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
949 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
950 * sysdeps/arm/sysdep.h: ... here.
951 [!__ASSEMBLER__]: Include <stdint.h>.
953 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
955 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
956 (HAVE_WCTYPE_H): Likewise.
957 (HAVE_ISWCTYPE): Likewise.
958 (ENABLE_NLS): Likewise.
959 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
960 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
962 * posix/regex_internal.c: Check if DEBUG is defined and is
965 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
966 (HAVE_MBSRTOWCS): Likewise.
967 * posix/fnmatch.c: Include string.h unconditionally.
969 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
971 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
974 2014-07-31 Roland McGrath <roland@hack.frob.com>
976 * sysdeps/generic/safe-fatal.h: New file.
977 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
978 * nptl/forward.c: Include it.
979 (__pthread_unwind): Use __safe_fatal as default action, rather
980 than a bogus use of INTERNAL_SYSCALL that could never work.
982 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
983 * configure.ac (libc_cv_builtin_trap): New test.
984 * configure: Regenerated.
985 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
986 (ABORT_INSTRUCTION): Define using __builtin_trap.
988 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
989 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
990 * sysdeps/nptl/nptl-signals.h: New file.
991 * nptl/pthreadP.h: Include <nptl-signals.h>.
993 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
995 * sysdeps/s390/s390-64/utf16-utf32-z9.c
996 (ONE_DIRECTION): Define.
997 * sysdeps/s390/s390-64/utf8-utf16-z9.c
998 (ONE_DIRECTION): Define.
999 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1000 (ONE_DIRECTION): Define.
1002 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1004 * sysdeps/s390/Makefile: Delete file.
1005 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1006 * sysdeps/s390/__longjmp.c: Delete file.
1007 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1008 Remove fields __flags and __reserved.
1009 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1011 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1012 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1013 * sysdeps/s390/rtld-setjmp.S: Likewise.
1014 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1015 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1016 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1017 * sysdeps/s390/s390-32/setjmp.S: ... here.
1019 (__sigsetjmp): Remove setting __flags field.
1020 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1021 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1022 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1023 * sysdeps/s390/s390-64/setjmp.S: ... here.
1025 (__sigsetjmp): Remove setting __flags field.
1026 * sysdeps/s390/setjmp.S: Delete file.
1027 * sysdeps/s390/sigjmp.c: Likewise.
1028 * sysdeps/s390/v1-longjmp.c: Likewise.
1029 * sysdeps/s390/v1-setjmp.h: Likewise.
1030 * sysdeps/s390/v1-sigjmp.c: Likewise.
1031 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1032 Remove v1-longjmp_chk.
1033 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1034 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1035 Include debug/longjmp_chk.c and add versioning.
1036 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1037 Include nptl/pt-longjmp.c and add versioning.
1038 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1039 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1040 Include __longjmp.c.
1041 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1043 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1044 (__getcontext): Remove setting __flags field.
1046 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1047 Don't restore upper high grps.
1048 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1050 (__swapcontext): Remove setting uc_flags field.
1051 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1053 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1054 Include __longjmp.c.
1055 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1057 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1058 (__getcontext): Remove setting __flags field.
1060 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1061 (__swapcontext): Remove setting uc_flags field.
1062 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1063 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1064 Remove fields uc_high_gprs and __reserved.
1065 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1066 New file with reverted content.
1067 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1070 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1073 2014-07-31 Andreas Schwab <schwab@suse.de>
1075 * config.h.in (HAVE_IFUNC): Define to 0.
1076 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1079 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1082 memmove-avx-unaligned, memcpy-avx-unaligned and
1083 mempcpy-avx-unaligned.
1084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1085 Add tests for AVX memcpy functions.
1086 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1087 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1089 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1090 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1092 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1095 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1096 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1097 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1099 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1105 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1108 * manual/llio.texi: Add section about open file description locks.
1109 * manual/examples/ofdlocks.c: Example of open file description
1111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1112 F_OFD_SETLK, and F_OFD_SETLKW.
1114 2014-07-23 Allan McRae <allan@archlinux.org>
1116 * po/es.po: Update Spanish translation from translation project.
1118 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1120 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1122 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1125 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1126 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1127 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1129 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1132 * math/fesetenv.c (__fesetenv)
1133 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1134 * math/feupdateenv.c (__feupdateenv)
1135 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1137 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1138 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1139 (__ASSUME_SOCKETCALL): Do not define.
1141 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1142 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1143 (__ASSUME_SOCKETCALL): Do not define.
1144 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1145 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1146 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1147 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1148 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1149 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1150 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1151 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1153 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1154 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1155 (__ASSUME_SOCKETCALL): Do not define.
1156 (__ASSUME_IPC64): Define unconditionally.
1157 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1158 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1159 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1160 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1161 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1162 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1163 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1166 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1167 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1168 (__ASSUME_SOCKETCALL): Do not define.
1169 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1170 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1171 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1172 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1173 (__ASSUME_REQUEUE_PI): Define unconditionally.
1174 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1175 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1176 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1177 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1178 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1179 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1181 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1182 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1183 (__ASSUME_SOCKETCALL): Do not define.
1184 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1185 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1186 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1187 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1188 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1189 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1191 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1192 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1193 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1194 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1195 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1196 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1197 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1198 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1199 (__ASSUME_GETCPU_SYSCALL): Likewise.
1201 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1202 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1203 cases for individual architectures.
1204 * sysdeps/gnu/configure: Regenerated.
1205 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1206 LIBC_SLIBDIR_RTLDDIR.
1207 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1208 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1209 LIBC_SLIBDIR_RTLDDIR.
1210 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1212 LIBC_SLIBDIR_RTLDDIR.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1215 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1216 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1221 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1222 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1224 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1226 * sysdeps/aarch64/shlib-versions: Move to ...
1227 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1228 * sysdeps/alpha/shlib-versions: Move to ...
1229 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1230 * sysdeps/arm/shlib-versions: Move to ...
1231 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1232 * sysdeps/hppa/shlib-versions: Move all contents except for
1233 libgcc_s entry to ...
1234 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1236 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1237 * sysdeps/ia64/shlib-versions: Move to ...
1238 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1240 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1241 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1242 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1243 * sysdeps/microblaze/shlib-versions: Move to ...
1244 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1245 * sysdeps/mips/shlib-versions: Move to ...
1246 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1248 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1249 * sysdeps/tile/shlib-versions: Move to ...
1250 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1251 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1253 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1256 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1258 2014-07-17 Will Newton <will.newton@linaro.org>
1260 * sysdeps/arm/bits/atomic.h
1261 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1262 (__arch_compare_and_exchange_bool_16_int): Likewise.
1263 (__arch_compare_and_exchange_bool_64_int): Likewise.
1265 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1266 into an #else block.
1268 2014-07-16 Roland McGrath <roland@hack.frob.com>
1270 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1271 just Linux configurations. Test empirically that the compiler sets
1272 __ARM_EABI__, rather than using the tuple to decide.
1273 * sysdeps/arm/preconfigure: Regenerated.
1274 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1275 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1276 contents appended ...
1277 * sysdeps/arm/configure.ac: ... here.
1278 * sysdeps/arm/configure: Regenerated.
1280 2014-07-15 Roland McGrath <roland@hack.frob.com>
1282 * nptl/pthread_kill.c: New file.
1283 * nptl/pthread_sigmask.c: New file.
1284 * nptl/pthread_sigqueue.c: New file.
1286 * sysdeps/nptl/lowlevellock.h: New file.
1287 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1288 * sysdeps/nptl/lowlevellock-futex.h: New file.
1290 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1291 Remove dead declarations.
1293 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1295 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1296 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1298 * sysdeps/x86_64/configure.ac: Likewise.
1299 * sysdeps/i386/configure: Regenerated.
1300 * sysdeps/x86_64/configure: Likewise.
1301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1302 memset-avx2 only if config-cflags-avx2 is yes.
1303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1304 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1306 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1307 only if HAVE_AVX2_SUPPORT is defined.
1308 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1310 2014-07-14 Alan Modra <amodra@gmail.com>
1313 * elf/elf.h (DT_PPC64_NUM): Correct value.
1314 * NEWS: Add to fixed bug list.
1316 2014-07-13 Jim Meyering <meyering@fb.com>
1319 regex: don't deref NULL upon heap allocation failure
1320 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1321 failure in one more place.
1322 To trigger the segfault, configure grep -with-included-regex,
1323 build it, and run these commands:
1324 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1326 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1328 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1330 2014-07-11 Richard Henderson <rth@redhat.com>
1332 * sysdeps/aarch64/libm-test-ulps: Update.
1334 2014-07-10 Florian Weimer <fweimer@redhat.com>
1337 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1338 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1339 (__nptl_setxid): Initialize error member. Call
1340 __nptl_setxid_error.
1341 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1342 * nptl/descr.h (struct xid_command): Add error member.
1343 * nptl/tst-setuid3.c: New file.
1344 * nptl/Makefile (tests): Add it.
1346 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1350 (__lll_trylock): Use __lll_base_trylock.
1351 (__lll_cond_trylock): Likewise.
1353 2014-07-10 Roland McGrath <roland@hack.frob.com>
1355 * nptl/pthread_create.c (start_thread): Use atomic_or and
1356 lll_futex_wake directly rather than lll_robust_dead.
1357 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1358 (lll_robust_dead): Macro removed.
1359 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1360 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1361 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1362 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1363 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1364 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1365 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1366 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1367 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1368 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1369 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1372 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1375 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1376 Use atomic_compare_and_exchange_val_acq directly rather than
1378 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1379 (__lll_robust_trylock, lll_robust_trylock): Removed.
1380 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1381 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1382 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1383 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1386 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1387 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1389 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1392 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1395 2014-07-02 Florian Weimer <fweimer@redhat.com>
1397 * manual/locale.texi (Locale Names): New section documenting
1398 locale name syntax. Adjust menu and node chaining accordingly.
1399 (Choosing Locale): Reference Locale Names, Locale Categories.
1400 Mention setting LC_ALL=C. Reflect that name syntax is now
1402 (Locale Categories): New section title. Reference Locale Names.
1403 LC_ALL is an environment variable, but not a category.
1404 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1405 description, now in Locale Name. Reference that section. Locale
1406 name syntax is now documented.
1408 2014-07-02 Florian Weimer <fweimer@redhat.com>
1411 * locale/findlocale.c (name_present, valid_locale_name): New
1413 (_nl_find_locale): Use the loc_name variable to store name
1414 candidates. Call name_present and valid_locale_name to check and
1415 validate locale names. Return an error if the locale is invalid.
1417 2014-07-02 Florian Weimer <fweimer@redhat.com>
1419 * locale/setlocale.c (setlocale): Use strdup for allocating
1420 composite name copy.
1422 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1424 Sync up with gnulib.
1425 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1426 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1427 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1428 and _GL_ARG_NONNULL.
1429 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1430 [!_LIBC]: Include code for Windows and Cygwin.
1431 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1432 Include prototype for int strerror_r.
1433 [!_LIBC] (is_open): New function.
1434 (flush_stdout): New function.
1435 (print_errno_message): Use it.
1437 (error_at_line): Likewise.
1438 (error_tail) Add function attribute macros. Use
1441 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1443 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1445 * io/ftw.c: Include sys/param.h unconditionally.
1447 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1450 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1452 (freecache): New function to free CACHE on exit.
1454 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1457 2014-07-09 David S. Miller <davem@davemloft.net>
1459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1461 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1462 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1463 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1464 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1465 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1466 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1467 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1468 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1469 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1470 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1471 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1472 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1473 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1475 2014-07-09 Andreas Schwab <schwab@suse.de>
1477 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1479 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1480 (do_test): Likewise.
1482 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1484 2014-07-09 Will Newton <will.newton@linaro.org>
1486 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1487 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1488 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1489 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1490 * sysdeps/hppa/start.S (_start): Likewise.
1492 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1496 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1499 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1501 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1502 after checking that it is non-NULL.
1504 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1506 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * sysdeps/powerpc/memmove.c: Remove file.
1509 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1510 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1511 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1512 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1513 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1514 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1515 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1516 string memmove instead of removed powerpc one.
1518 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1519 [weak_alias]: Fix compiler warning due trailing data.
1520 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1521 [weak_alias]: Likewise.
1522 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1523 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Add memmove functions.
1528 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1530 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1532 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1534 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1536 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1538 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1540 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1542 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1544 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1546 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1548 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1550 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1552 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1554 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1556 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1558 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1560 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1562 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1565 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1568 to avoid alignment traps in non-cacheable memory.
1569 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1573 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1574 file: multiarch power7 memmove.
1575 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1576 multiarch default memmove.
1577 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1578 multiarch memove for powerpc32/power4.
1580 * string/bcopy.c: Use full path to include memmove.c.
1581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1583 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1584 bcopy for powerpc64.
1585 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1586 bcopy for powerpc64.
1587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1588 and memmove implementations.
1589 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1590 optimized multiarch memmove for POWER7/powerpc64.
1591 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1592 default multiarch memmove for powerpc64.
1593 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1594 multiarch for powerpc64.
1595 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1596 for POWER7/powerpc64.
1597 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1598 memmove for POWER7/powerpc64.
1600 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1603 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1604 __ELF_NATIVE_CLASS equal to 64.
1606 2014-07-07 Roland McGrath <roland@hack.frob.com>
1608 * sysdeps/nptl/lowlevellock.h: File removed.
1610 * NEWS: NPTL is no longer an add-on!
1611 * nptl/internaltypes.h: Moved ...
1612 * sysdeps/nptl/internaltypes.h: ... here.
1613 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1614 * sysdeps/nptl/fork.c: Likewise.
1615 * sysdeps/nptl/gai_misc.h: Likewise.
1616 * sysdeps/nptl/librt-cancellation.c: Likewise.
1617 * sysdeps/nptl/jmp-unwind.c: Likewise.
1618 * sysdeps/nptl/setxid.h: Likewise.
1619 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1620 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1621 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1622 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1623 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1624 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1625 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1626 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1627 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1628 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1629 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1630 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1631 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1632 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1633 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1634 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1635 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1636 * nptl/Makeconfig: Moved ...
1637 * sysdeps/nptl/Makeconfig: ... here.
1638 * nptl/configure: File removed.
1639 * nptl/ANNOUNCE: File removed.
1640 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1641 * sysdeps/unix/sysv/linux/configure: Regenerated.
1643 * nptl/Makefile (routines): Add libc_pthread_init,
1644 libc_multiple_threads, register-atfork and unregister-atfork.
1645 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1646 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1647 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1648 pthread-pi-defines.sym, structsem.sym.
1649 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1650 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1651 [$(subdir) = nptl] (tests): Add tst-setgetname.
1652 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1653 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1654 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1655 [!LIBC_SIGACTION]: Remove aliases.
1656 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1657 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1658 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1659 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1660 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1661 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1665 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1666 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1667 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1668 __libc_allocate_rtsig_private.
1669 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1670 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1671 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1672 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1673 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1674 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1675 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1676 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1677 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1678 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1679 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1680 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1681 * nptl/internaltypes.h: ... here.
1682 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1683 * sysdeps/nptl/jmp-unwind.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1685 * nptl/libc-lowlevellock.c: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1687 * nptl/libc_multiple_threads.c: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1689 * nptl/libc_pthread_init.c: ... here.
1690 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1691 * nptl/lowlevelbarrier.sym: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1693 * nptl/lowlevelcond.sym: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1695 * nptl/lowlevellock.c: ... here.
1696 * nptl/lowlevellock.h: Moved ...
1697 * sysdeps/nptl/lowlevellock.h: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1699 * nptl/lowlevelrobustlock.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1701 * nptl/lowlevelrobustlock.sym: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1703 * nptl/lowlevelrwlock.sym: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1705 * nptl/pt-fork.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1707 * nptl/pthread-pi-defines.sym: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1709 * nptl/pthread_attr_getaffinity.c: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1711 * nptl/pthread_attr_setaffinity.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1713 * nptl/pthread_mutex_cond_lock.c: ... here.
1714 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1716 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1717 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1718 * nptl/pthread_once.c: ... here, replacing old file.
1719 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1720 * nptl/pthread_yield.c: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1722 * nptl/register-atfork.c: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1724 * nptl/sem_post.c: ... here.
1725 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1726 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1727 * nptl/sem_timedwait.c: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1729 * nptl/sem_trywait.c: ... here.
1730 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1731 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1732 * nptl/sem_wait.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1734 * nptl/structsem.sym: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1736 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1737 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1738 * nptl/unregister-atfork.c: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1740 * nptl/unwindbuf.sym: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1742 * sysdeps/nptl/fork.c: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1744 * sysdeps/nptl/fork.h: ... here.
1745 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1746 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1747 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1749 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1751 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1753 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1755 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1757 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1759 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1761 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1762 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1763 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1764 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1765 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1767 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1769 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1771 * sysdeps/unix/sysv/linux/raise.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1773 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1775 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1777 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1779 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1781 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1783 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1785 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1786 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1788 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1790 * sysdeps/generic/memcopy.h: Add comment for
1791 MEMCPY_OK_FOR_FWD_MEMMOVE.
1793 2014-07-04 Will Newton <will.newton@linaro.org>
1795 * string/memchr.c: Merge from gnulib.
1796 [_LIBC]: Remove conditionals.
1797 (__ptr_t): Remove define.
1798 (LONG_MAX_32_BITS): Likewise.
1799 (LONG_MAX): Likewise.
1800 (MEMCHR): Use ANSI prototype and optimize algorithm.
1802 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1804 2014-07-03 Roland McGrath <roland@hack.frob.com>
1806 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1807 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1809 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1810 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1811 in a bare environment with no <stdlib.h> installed.
1812 * sysdeps/nptl/configure: Regenerated.
1814 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1816 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1817 AC_EGREP_CPP for kernel header checks, so they only succeed if
1818 including <linux/version.h> actually works right.
1819 * sysdeps/unix/sysv/linux/configure: Regenerated.
1821 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1822 value so it's not diagnosed as unused.
1824 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1825 thing) with "ifeq ($(subdir),rt)".
1827 2014-07-03 Richard Henderson <rth@redhat.com>
1829 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1830 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1831 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1833 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1834 (math_force_eval): New.
1836 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1837 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1839 * sysdeps/alpha/fpu/s_round.c: Remove file.
1840 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1842 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1843 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1844 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1845 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1846 (_dl_start, print_statistics): Likewise.
1847 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1848 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1850 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1851 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1852 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1853 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1854 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1855 (HP_SMALL_TIMING_AVAIL): Define.
1856 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1857 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1858 (HP_SMALL_TIMING_AVAIL): Define.
1859 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1860 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1862 * sysdeps/aarch64/hp-timing.h: New file.
1864 * sysdeps/generic/hp-timing.h: Remove dead comment.
1865 * sysdeps/generic/hp-timing-common.h: New file.
1866 * sysdeps/alpha/hp-timing.h: Include it.
1867 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1868 * sysdeps/i386/i686/hp-timing.h: Likewise.
1869 * sysdeps/ia64/hp-timing.h: Likewise.
1870 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1871 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1872 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1873 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1874 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1875 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1878 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1879 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1880 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1881 * elf/rtld.c (_dl_start_final): Likewise.
1882 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1883 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1884 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1885 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1886 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1888 (HP_TIMING_DIFF_INIT): Remove.
1889 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1890 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1891 (HP_TIMING_DIFF_INIT): Remove.
1892 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1893 * sysdeps/i386/i686/hp-timing.c: Remove file.
1894 * sysdeps/x86_64/hp-timing.c: Remove file.
1895 * sysdeps/ia64/hp-timing.c: Remove file.
1896 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1897 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1899 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1901 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1902 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1903 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1904 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1906 (HP_TIMING_ACCUM): Remove.
1907 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1908 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1909 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1911 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1912 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1913 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1914 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1915 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1916 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1918 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1920 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1922 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1924 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1926 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1928 Sync up with gettext.
1929 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1930 [_MSC_VER]: Include malloc.h
1931 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1932 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1933 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1934 TEMP_FAILURE_RETRY. Cast return of alloca.
1935 [!_LIBC] Call gl_rwlock_init.
1936 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1938 2014-07-02 Roland McGrath <roland@hack.frob.com>
1940 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1941 before checking its value.
1943 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1945 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1947 * debug/memcpy_chk.c: Don't include pagecopy.h.
1948 * debug/mempcpy_chk.c: Likewise.
1949 * string/memcpy.c: Likewise.
1950 * string/memmove.c: Likewise.
1951 * sysdeps/powerpc/memmove.c: Likewise.
1952 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1953 definition of PAGE_COPY_FWD_MAYBE here...
1954 * sysdeps/generic/pagecopy.h: ... from here.
1955 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1957 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1958 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1964 (__libc_ifunc_impl_list): Likewise.
1965 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1966 multiarch strcat for PPC64.
1967 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1968 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1970 2014-07-02 Roland McGrath <roland@hack.frob.com>
1972 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1974 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1976 * intl/loadmsgcat.c: Remove declaration of
1977 get_sysdep_segment_value.
1978 (get_sysdep_segment_value): Use ISO C style.
1979 (_nl_load_domain): Use ISO C style. Get rid of redundant
1980 semicolon. Fix typo and formatting in comment.
1981 (_nl_unload_domain): Use ISO C style.
1983 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1985 2014-07-02 Will Newton <will.newton@linaro.org>
1987 * malloc/obstack.c: Merge from gnulib master.
1988 [HAVE_CONFIG_H]: Remove conditional code.
1989 [!_LIBC]: Include config.h.
1990 [!ELIDE_CODE]: Don't include inttypes.h, include
1991 stdint.h unconditionally.
1992 (print_and_abort): Mark as _Noreturn.
1993 (_obstack_allocated_p): Mark as __attribute_pure__.
1994 (obstack_free): Rename to __obstack_free.
1995 [!__attribute__]: Remove conditional code.
1996 * malloc/obstack.h: Merge from gnulib master.
1997 [__cplusplus]: Move conditional down.
1998 [!__attribute_pure__]: Define __attribute_pure__ here
1999 if it is not already defined.
2000 (_obstack_memory_used): Mark as __attribute_pure__.
2001 [!__obstack_free]: Define as obstack_free.
2002 [__GNUC__]: Remove check for ancient NeXT gcc.
2004 2014-07-02 Will Newton <will.newton@linaro.org>
2005 Paul Eggert <eggert@cs.ucla.edu>
2007 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2009 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2011 * resolv/gethnamaddr.c: Add comment warning that the file is
2014 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2016 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2019 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2020 entry for aio_cancel and aio_cancel64.
2021 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2022 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2023 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2024 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2025 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2026 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2027 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2028 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2029 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2030 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2031 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2032 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2033 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2035 2014-07-01 Roland McGrath <roland@hack.frob.com>
2037 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2038 * nptl/pthread_mutex_lock.c: Likewise.
2039 * nptl/pthread_mutex_timedlock.c: Likewise.
2040 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2042 2014-07-01 Richard henderson <rth@redhat.com>
2044 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2045 (__isnan, __isnanl): Remove.
2046 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2048 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2050 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2052 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2054 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2056 * resolv/nss_dns/dns-host.c (getanswer_r)
2057 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2059 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2061 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2062 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2064 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2065 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2067 2014-07-01 Roland McGrath <roland@hack.frob.com>
2069 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2070 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2072 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2073 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2075 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2076 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2078 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2079 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2081 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2082 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2083 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2084 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2086 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2087 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2088 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2092 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2094 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2101 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2107 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2109 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2110 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2111 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2112 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2113 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2115 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2116 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2118 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2119 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2120 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2121 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2122 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2124 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2126 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2127 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2128 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2131 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2135 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2137 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2138 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2140 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2142 * sysdeps/arm/libm-test-ulps: Regenerated.
2144 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2145 Roland McGrath <roland@hack.frob.com>
2147 * test-skeleton.c (signal_handler): Kill the whole process group
2148 before killing the child individually.
2149 (main): Report any failure on `setpgid'.
2151 2014-06-30 Roland McGrath <roland@hack.frob.com>
2153 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2154 from _TLS_H to _ARM_NPTL_TLS_H.
2155 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2156 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2158 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2161 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2162 (__expm1l): Return argument unchanged when small but not
2165 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2167 (_FP_UNPACK_RAW_1_P): Likewise.
2168 (_FP_PACK_RAW_1): Likewise.
2169 (_FP_PACK_RAW_1_P): Likewise.
2170 (_FP_MUL_MEAT_1_wide): Likewise.
2171 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2172 (_FP_MUL_MEAT_1_hard): Likewise.
2173 (_FP_DIV_MEAT_1_imm): Likewise.
2174 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2175 (_FP_DIV_MEAT_1_udiv): Likewise.
2176 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2177 (_FP_UNPACK_RAW_2): Likewise.
2178 (_FP_UNPACK_RAW_2_P): Likewise.
2179 (_FP_PACK_RAW_2): Likewise.
2180 (_FP_PACK_RAW_2_P): Likewise.
2181 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2182 (_FP_MUL_MEAT_2_wide): Likewise.
2183 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2184 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2185 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2186 (_FP_MUL_MEAT_2_gmp): Likewise.
2187 (_FP_DIV_MEAT_2_udiv): Likewise.
2188 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2189 (_FP_FRAC_SRL_4): Likewise.
2190 (_FP_FRAC_SRST_4): Likewise.
2191 (_FP_FRAC_SRS_4): Likewise.
2192 (_FP_UNPACK_RAW_4): Likewise.
2193 (_FP_UNPACK_RAW_4_P): Likewise.
2194 (_FP_PACK_RAW_4): Likewise.
2195 (_FP_PACK_RAW_4_P): Likewise.
2196 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2197 (_FP_MUL_MEAT_4_wide): Likewise.
2198 (_FP_MUL_MEAT_4_gmp): Likewise.
2199 (umul_ppppmnnn): Likewise.
2200 (_FP_DIV_MEAT_4_udiv): Likewise.
2201 (__FP_FRAC_ADD_4): Likewise.
2202 (__FP_FRAC_SUB_3): Likewise.
2203 (__FP_FRAC_SUB_4): Likewise.
2204 (__FP_FRAC_DEC_3): Likewise.
2205 (__FP_FRAC_DEC_4): Likewise.
2206 (__FP_FRAC_ADDI_4): Likewise.
2207 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2208 (_FP_FRAC_SRL_8): Likewise.
2209 (_FP_FRAC_SRS_8): Likewise.
2211 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2213 (FP_UNPACK_RAW_EP): Likewise.
2214 (FP_PACK_RAW_E): Likewise.
2215 (FP_PACK_RAW_EP): Likewise.
2216 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2217 (_FP_ISSIGNAN): Likewise.
2218 (_FP_ADD_INTERNAL): Likewise.
2219 (_FP_FMA): Likewise.
2220 (_FP_CMP): Likewise.
2221 (_FP_SQRT): Likewise.
2222 (_FP_TO_INT): Likewise.
2223 (_FP_FROM_INT): Likewise.
2224 (FP_EXTEND): Likewise.
2225 (_FP_DIV_MEAT_N_loop): Likewise.
2227 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2229 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2232 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2235 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2236 result with correct sign in case of exponents that produce
2237 overflow except for X very close to 1.
2239 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2241 mktime: merge #if/#ifdef usage from glibc
2242 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2243 as that works with both Glibc's and Gnulib's style.
2244 See thread starting at Siddhesh Poyarekar's bug report at:
2245 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2247 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2249 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2250 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2251 * sysdeps/tile/tilegx/memmove.c: Remove file.
2253 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2255 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2256 abi-name definition.
2257 * scripts/soversions.awk: Do not handle or generate ABI lines.
2258 * shlib-versions: Remove ABI entries.
2259 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2260 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2262 2014-06-27 Roland McGrath <roland@hack.frob.com>
2264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2265 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2266 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2272 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2288 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2295 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2298 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2303 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2312 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2317 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2320 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2322 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2325 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2328 Identical file removed.
2329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2331 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2333 Identical file removed.
2334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2338 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2340 Identical file removed.
2341 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2344 Identical file removed.
2345 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2348 Identical file removed.
2349 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2352 Identical file removed.
2353 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2355 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2357 Identical file removed.
2358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2360 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2364 Identical file removed.
2365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2367 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2370 Identical file removed.
2371 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2373 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2375 Identical file removed.
2376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2378 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2379 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2385 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2387 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2389 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2390 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2391 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2392 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2393 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2395 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2398 * nscd/nscd.c (monitor_child): Return exit status of child
2399 instead of return value from wait syscall.
2401 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2403 * configure.ac (libc_commonpagesize): Remove variable.
2404 (libc_relro_required): Likewise.
2405 (libc_cv_z_relro): Remove configure test.
2406 * configure: Regenerated.
2407 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2409 (libc_relro_required): Likewise.
2410 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2411 (libc_relro_required): Likewise.
2412 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2413 (libc_relro_required): Likewise.
2414 * sysdeps/arm/preconfigure: Regenerated.
2415 * sysdeps/ia64/preconfigure: Remove file.
2416 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2418 (libc_relro_required): Likewise.
2422 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2423 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2424 recompute overflowing results in original rounding mode.
2425 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2426 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2427 recompute overflowing results in original rounding mode.
2428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2429 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2430 recompute overflowing results in original rounding mode.
2431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2432 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2433 recompute overflowing results in original rounding mode.
2434 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2435 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2436 recompute overflowing results in original rounding mode.
2437 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2438 (libc_feholdsetround_ctx): New macro.
2439 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2440 * sysdeps/i386/fpu/libm-test-ulps: Update.
2441 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2443 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2445 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2446 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2447 corresponding .cpsetup call.
2449 2014-06-26 Roland McGrath <roland@hack.frob.com>
2451 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2452 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2453 * sysdeps/arm/Makefile [$(subdir) = csu]
2454 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2455 (static-only-routines): Add aeabi_read_tp here.
2456 (shared-only-routines): Add libc-aeabi_read_tp here.
2457 (CFLAGS-libc-start.c): Add -fexceptions here.
2458 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2459 (sysdep_routines, static-only-routines, shared-only-routines):
2460 Don't add to these here.
2461 (CFLAGS-libc-start.c): Likewise.
2463 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2464 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2465 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2466 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2467 * sysdeps/arm/Makefile [$(subdir) = rt]
2468 (librt-sysdep_routines, librt-shared-only-routines):
2469 Append rt-aeabi_unwind_cpp_pr1 here.
2470 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2471 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2472 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2473 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2474 Append nptl-aeabi_unwind_cpp_pr1 here.
2475 (tests): Filter out tst-cleanupx4 here.
2476 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2477 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2478 Don't do those here.
2480 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2482 * scripts/list-sources.sh: Do not handle ports specially.
2484 2014-06-26 Roland McGrath <roland@hack.frob.com>
2486 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2487 * sysdeps/arm/feupdateenv.c: Likewise.
2489 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2491 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2493 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2494 trailing whitespace removed.
2495 * scripts/config.guess: Update to version 2014-03-23.
2496 * scripts/config.sub: Update to version 2014-05-01
2497 * scripts/install-sh: Update to version 2013-12-25.23.
2498 * scripts/move-if-change: Update from gnulib.
2500 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2502 * debug/memmove_chk.c: Remove pagecopy.h include.
2504 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2506 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2507 identical to gnulib mktime.
2509 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2511 * configure.ac: Do not test for machine being rs6000. Do not test
2513 * configure: Regenerated.
2515 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2517 * configure: Regenerated.
2518 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2519 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2520 Remove configure test.
2521 * sysdeps/arm/configure: Regenerated.
2522 * sysdeps/nptl/configure.ac: Do not check
2523 libc_cv_asm_cfi_directives.
2524 * sysdeps/nptl/configure: Regenerated.
2525 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2526 * sysdeps/x86_64/nptl/configure: Remove generated file.
2527 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2529 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2531 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2533 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2534 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2535 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2538 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2539 instead of whether it is defined.
2540 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2541 * sysdeps/hppa/dl-machine.h: Likewise.
2542 * sysdeps/ia64/dl-machine.h: Likewise.
2543 * sysdeps/m68k/dl-machine.h: Likewise.
2544 * sysdeps/microblaze/dl-machine.h: Likewise.
2545 * sysdeps/mips/dl-machine.: Likewise.
2546 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2547 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2548 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2549 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2550 * sysdeps/sh/dl-machine.h: Likewise.
2551 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2552 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2553 * sysdeps/tile/dl-machine.h: Likewise.
2554 * sysdeps/x86_64/dl-machine.h: Likewise.
2556 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2558 (verify_persistent_db): Likewise.
2560 2014-06-26 Roland McGrath <roland@hack.frob.com>
2562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2563 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2565 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2568 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2571 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2573 Identical file removed.
2574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2575 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2577 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2579 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2583 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2586 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2588 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2590 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2593 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2595 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2597 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2599 Identical file removed.
2600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2601 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2603 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2606 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2609 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2611 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2613 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2617 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2620 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2623 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2625 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2628 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2630 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2634 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2635 * sysdeps/unix/sysv/linux/s390/Versions
2636 (libpthread: GLIBC_2.19): New version set.
2637 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2638 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2639 (librt: GLIBC_2.3.3): New version set.
2640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2641 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2642 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2644 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2646 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2648 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2650 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2652 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2654 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2656 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2658 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2660 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2662 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2664 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2666 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2667 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2668 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2669 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2670 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2676 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2678 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2680 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2682 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2684 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2686 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2687 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2688 (__libc_vfork): Define the function under this name.
2689 [!NOT_IN_libc] (__vfork): Make this an alias.
2690 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2692 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2693 (__libc_vfork): Define the function under this name.
2694 [!NOT_IN_libc] (__vfork): Make this an alias.
2695 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2696 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2697 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2698 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2702 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2703 code that was previously under [RESET_PID].
2704 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2705 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2709 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2710 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2711 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2712 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2713 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2714 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2715 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2716 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2717 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2720 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2722 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2724 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2725 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2726 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2728 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2730 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2731 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2732 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2744 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2745 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2746 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2747 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2748 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2750 2014-06-25 Roland McGrath <roland@hack.frob.com>
2752 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2753 that was previously under [RESET_PID].
2754 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2756 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2758 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2759 not undefine and redefine.
2760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2761 [O_CLOEXEC]: Make code unconditional.
2762 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2763 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2764 <kernel-features.h>.
2765 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2766 conditional variable definition.
2767 (shm_open) [O_CLOEXEC]: Make code unconditional.
2768 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2771 * configure.ac (USE_REGPARMS): Don't define here.
2772 * configure: Regenerated.
2773 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2774 * sysdeps/i386/configure: Regenerated.
2776 * nptl/createthread.c: Don't include kernel-features.h.
2777 * nptl/pthread_cancel.c: Likewise.
2778 * nptl/pthread_condattr_setclock.c: Likewise.
2779 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2780 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2781 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2782 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2783 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2784 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2785 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2788 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2789 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2790 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2791 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2792 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2793 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2794 * nscd/gai.c: Likewise.
2795 * nss/nss_db/db-open.c: Likewise.
2796 * sysdeps/generic/ldsodefs.h: Likewise.
2797 * sysdeps/sh/nptl/tls.h: Likewise.
2798 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2799 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2800 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2801 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2802 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2803 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2804 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2805 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2807 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2808 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2809 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2810 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2811 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2812 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2813 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2814 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2815 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2816 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2817 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2820 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2821 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2822 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2823 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2824 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2825 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2826 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2827 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2828 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2829 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2830 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2831 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2832 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2833 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2834 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2835 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2836 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2837 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2838 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2839 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2840 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2841 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2842 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2843 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2844 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2845 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2846 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2847 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2848 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2849 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2850 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2851 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2852 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2853 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2854 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2878 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2879 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2880 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2881 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2882 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2885 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2886 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2887 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2889 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2890 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2891 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2892 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2893 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2896 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2897 * sysdeps/unix/sysv/linux/system.c: Likewise.
2898 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2899 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2900 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2901 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2902 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2904 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2906 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2907 * configure: Regenerated.
2908 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2910 * configure.ac (base_machine): Do not set specially for particular
2912 * configure: Regenerated.
2913 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2914 settings from configure.ac.
2915 * sysdeps/i386/preconfigure: New file.
2916 * sysdeps/s390/preconfigure: Likewise.
2917 * sysdeps/sh/preconfigure: Likewise.
2918 * sysdeps/sparc/preconfigure: Likewise.
2920 2014-06-25 Roland McGrath <roland@hack.frob.com>
2922 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2923 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2924 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2925 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2926 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2927 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2928 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2929 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2930 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2931 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2932 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2933 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2934 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2935 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2936 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2937 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2938 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2939 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2940 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2942 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2943 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2944 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2945 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2946 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2947 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2948 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2949 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2950 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2951 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2952 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2953 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2954 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2955 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2956 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2957 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2958 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2959 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2960 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2961 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2962 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2963 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2967 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2968 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2969 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2970 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2971 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2973 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2975 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2976 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2977 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2979 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2982 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2987 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2992 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2995 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3004 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3007 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3014 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3016 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3018 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3020 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3026 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3048 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3050 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3054 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3056 * timezone/checktab.awk: Update from tzcode 2014e.
3057 * timezone/private.h: Likewise.
3058 * timezone/tzfile.h: Likewise.
3059 * timezone/zdump.c: Likewise.
3060 * timezone/zic.c: Likewise.
3062 * sysdeps/unix/sysv/linux/kernel-features.h
3063 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3065 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3066 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3067 Remove conditional code.
3069 2014-06-25 Will Newton <will.newton@linaro.org>
3071 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3072 (_dl_arm_cap_flags): Add HWCAP2 values.
3073 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3074 (_DL_HWCAP_COUNT): Increase to 37.
3075 (_DL_HWCAP_LAST): New define.
3076 (_DL_HWCAP2_LAST): New define.
3077 (_dl_procinfo): Add support for printing
3079 (_dl_string_hwcap): Use _dl_hwcap_string.
3081 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3085 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3087 * README: Do not mention ports directory.
3089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3091 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3092 <kernel-features.h>.
3093 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3094 conditional variable definition.
3095 (__futimes): Update comment.
3096 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3097 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3100 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3101 arguments close to 0.
3102 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3104 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3106 * math/auto-libm-test-in: Add more tests of exp10.
3107 * math/auto-libm-test-out: Regenerated.
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3110 * sysdeps/unix/sysv/linux/kernel-features.h
3111 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3112 * sysdeps/unix/sysv/linux/readv.c: Do not include
3113 <kernel-features.h>.
3114 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3115 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3116 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3118 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3120 * sysdeps/unix/sysv/linux/writev.c: Do not include
3121 <kernel-features.h>.
3122 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3123 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3124 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3126 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3129 2014-06-25 Will Newton <will.newton@linaro.org>
3131 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3132 comment changes throughout the file. Remove checks
3133 for HAVE_*_H definitions that are not required.
3134 (__gen_tempname): Call abort if an unknown kind value is
3137 2014-06-25 Andreas Schwab <schwab@suse.de>
3140 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3141 scalbln, scalblnf, scalblnl in libc.
3143 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3147 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3148 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3150 2014-06-24 Roland McGrath <roland@hack.frob.com>
3152 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3153 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3154 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3155 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3157 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3158 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3160 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3161 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3162 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3163 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3164 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3165 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3166 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3167 * sysdeps/x86/bits/semaphore.h: ... here.
3168 * sysdeps/x86/nptl/elide.h: Moved ...
3169 * sysdeps/x86/elide.h: ... here.
3170 * sysdeps/x86_64/nptl/Implies: File removed.
3171 * sysdeps/i386/nptl/Implies: File removed.
3173 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3177 return the argument for normal arguments with exponent below -64.
3178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3180 * math/auto-libm-test-in: Add another test of expm1.
3181 * math/auto-libm-test-out: Regenerated.
3184 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3185 calling __erfcl for arguments at least 16.
3186 * math/auto-libm-test-in: Add more tests of erf.
3187 * math/auto-libm-test-out: Regenerated.
3189 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3190 individual architectures.
3191 * sysdeps/unix/sysv/linux/configure: Regenerated.
3192 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3193 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3194 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3195 (ldd_rewrite_script): Define variable.
3196 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3201 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3202 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3203 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3204 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3205 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3206 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3207 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3208 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3210 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3213 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3214 Rename member __data.d to __data.__elision_data.
3216 2014-06-24 Wilco <wdijkstr@arm.com>
3218 * NEWS: Add 16918 to fixed bug list.
3220 2014-06-24 Wilco <wdijkstr@arm.com>
3222 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3224 2014-06-24 Wilco <wdijkstr@arm.com>
3226 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3227 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3228 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3229 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3230 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3231 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3232 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3235 2014-06-24 Wilco <wdijkstr@arm.com>
3237 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3239 2014-06-24 Wilco <wdijkstr@arm.com>
3241 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3242 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3243 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3244 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3246 2014-06-24 Wilco <wdijkstr@arm.com>
3249 * sysdeps/arm/feupdateenv.c (feupdateenv):
3250 Rewrite to reduce FPSCR accesses and fix return value.
3252 2014-06-24 Wilco <wdijkstr@arm.com>
3254 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3255 Optimize to avoid unnecessary FPSCR writes.
3256 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3257 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3258 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3259 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3261 2014-06-24 Wilco <wdijkstr@arm.com>
3263 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3264 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3265 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3266 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3267 Call libc_fetestexcept_vfp.
3268 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3269 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3270 __SOFTFP__ ifdef so that they can be built for softfp.
3272 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3274 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3275 argument type signed char.
3277 * Makerules (check-abi): Dump diff of symlist if the test
3280 2014-06-23 Roland McGrath <roland@hack.frob.com>
3282 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3285 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3286 Remove unused variable ST.
3288 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3292 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3293 small arguments before calling __expm1.
3294 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3295 small arguments before calling __expm1f.
3296 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3297 small arguments before calling __expm1l.
3298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3300 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3301 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3302 spurious underflow for some cosh tests.
3303 * math/auto-libm-test-out: Regenerated.
3304 * sysdeps/i386/fpu/libm-test-ulps: Update.
3307 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3308 (__ieee754_y1): Set errno if return value overflows.
3309 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3310 (__ieee754_y1f): Set errno if return value overflows.
3311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3312 (__ieee754_y1l): Set errno if return value overflows.
3313 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3314 (__ieee754_y1l): Set errno if return value overflows.
3315 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3316 * math/auto-libm-test-out: Regenerated.
3318 * math/gen-auto-libm-tests.c: Document use of
3319 ignore-zero-inf-sign.
3320 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3321 (input_flags): Add ignore-zero-inf-sign.
3322 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3323 * math/gen-libm-test.pl (generate_testfile): Handle
3324 ignore-zero-inf-sign.
3325 * math/auto-libm-test-in: Mark some cpow tests with
3326 ignore-zero-inf-sign and some with xfail-rounding.
3327 * math/auto-libm-test-out: Regenerated.
3328 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3334 overflowing or underflowing operations take place with sign of
3336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3337 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3338 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3339 (__ieee754_pow): Recompute overflowing and underflowing results in
3340 original rounding mode.
3341 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3342 (__powl_helper): Allow negative argument X and scale negated value
3343 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3344 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3345 overflowing or underflowing operations take place with sign of
3347 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3349 * math/auto-libm-test-in: Add more tests of pow.
3350 * math/auto-libm-test-out: Regenerated.
3351 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3352 (pow_tonearest_test_data): Remove.
3353 (pow_test_tonearest): Likewise.
3354 (pow_towardzero_test_data): Likewise.
3355 (pow_test_towardzero): Likewise.
3356 (pow_downward_test_data): Likewise.
3357 (pow_test_downward): Likewise.
3358 (pow_upward_test_data): Likewise.
3359 (pow_test_upward): Likewise.
3360 (main): Don't call removed functions.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3364 2014-06-23 Roland McGrath <roland@hack.frob.com>
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3540 2014-06-23 Will Newton <will.newton@linaro.org>
3541 Wilco <wdijkstr@arm.com>
3543 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3544 implementation. Include get-rounding-mode.h.
3545 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3546 [!libc_feholdsetround_noex_ctx]: Define
3547 libc_feholdsetround_noex_ctx.
3548 [!libc_feholdsetround_noexf_ctx]: Define
3549 libc_feholdsetround_noexf_ctx.
3550 [!libc_feholdsetround_noexl_ctx]: Define
3551 libc_feholdsetround_noexl_ctx.
3552 (libc_feholdsetround_ctx): New function.
3553 (libc_feresetround_ctx): New function.
3554 (libc_feholdsetround_noex_ctx): New function.
3555 (libc_feresetround_noex_ctx): New function.
3557 2014-06-23 Roland McGrath <roland@hack.frob.com>
3559 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3560 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3561 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3562 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3563 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3564 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3566 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3567 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3568 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3569 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3570 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3571 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3573 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3574 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3575 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3578 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3581 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3586 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3595 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3598 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3603 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3605 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3606 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3607 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3608 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3609 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3614 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3616 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3630 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3637 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3641 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3643 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3644 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3645 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3646 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3658 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3660 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3661 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3662 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3663 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3665 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3666 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3672 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3675 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3676 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3677 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3678 (IPV6_PMTUDISC_INTERFACE): Likewise.
3679 (IPV6_PMTUDISC_OMIT): Likewise.
3681 2014-06-23 Andreas Schwab <schwab@suse.de>
3683 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3684 Remove unused errout label.
3686 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3688 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3689 macro: hardware supports Vector Crypto instructions.
3691 2014-06-23 Will Newton <will.newton@linaro.org>
3693 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3694 rather than __builtin_expect.
3696 * elf/dl-lookup.c (undefined_msg): Remove variable.
3697 (_dl_lookup_symbol_x): Replace undefined_msg with string
3700 * elf/dl-lookup.c (do_lookup_unique): New function.
3701 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3702 to a separate function.
3704 2014-06-23 Andreas Schwab <schwab@suse.de>
3707 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3708 before reading the next line.
3710 2014-06-23 Will Newton <will.newton@linaro.org>
3712 * test-skeleton.c (signal_handler): Use printf and %m
3713 rather than perror. Use printf rather than fprintf to
3714 stderr. Use puts rather than fputs to stderr.
3717 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3719 * nscd/nscd.c (thread_info_t): Remove typedef.
3720 (thread_info): Remove variable.
3722 2014-06-21 Allan McRae <allan@archlinux.org>
3724 * NEWS: Mention CVE-2014-4043.
3726 2014-06-20 Roland McGrath <roland@hack.frob.com>
3728 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3729 * nptl/smp.h: ... here.
3731 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3733 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3734 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3735 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3736 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3738 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3739 * nptl/stack-aliasing.h: New file.
3740 * sysdeps/i386/i686/stack-aliasing.h: New file.
3741 * sysdeps/i386/i686/nptl/Makefile: File removed.
3742 * sysdeps/x86_64/stack-aliasing.h: New file.
3743 * sysdeps/x86_64/nptl/Makefile
3744 (CFLAGS-pthread_create.c): Variable removed.
3746 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3747 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3749 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3750 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3753 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3755 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3756 (__ASSUME_SIGFRAME_V2): Remove macro.
3757 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3758 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3759 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3760 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3761 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3762 Declare as function. Remove conditional macro definitions.
3763 (__default_rt_sa_restorer): Likewise.
3764 (__default_sa_restorer_v1): Remove declaration.
3765 (__default_sa_restorer_v2): Likewise.
3766 (__default_rt_sa_restorer_v1): Likewise.
3767 (__default_rt_sa_restorer_v2): Likewise.
3768 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3769 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3770 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3772 2014-06-20 Roland McGrath <roland@hack.frob.com>
3774 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3775 (libpthread-routines): Add sysdep.
3776 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3777 * sysdeps/unix/sysv/linux/sparc/Versions
3778 (libpthread: GLIBC_2.3.3): New version set.
3779 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3780 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3781 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3783 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3784 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3786 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3788 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3790 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3791 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3792 * sysdeps/sparc/nptl/sem_init.c: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3794 * sysdeps/sparc/nptl/sem_post.c: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3796 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3797 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3798 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3800 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3801 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3802 (libpthread-routines): Add cpu_relax.
3803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3806 (librt: GLIBC_2.3.3): New version set.
3807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3808 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3809 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3810 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3813 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3816 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3818 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3820 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3822 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3824 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3827 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3835 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3839 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3843 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3847 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3850 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3856 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3858 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3865 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3867 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3869 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3870 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3871 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3872 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3873 * nscd/nscd.c: Likewise.
3874 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3875 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3876 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3877 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3879 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3880 <kernel-features.h>.
3881 (init_mq_netlink): Remove conditional have_sock_cloexec
3882 definitions. Remove code conditional on have_sock_cloexec < 0.
3883 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3884 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3885 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3886 <kernel-features.h>.
3887 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3888 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3890 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3893 Add tests for memset_chk and memset.
3895 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3898 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3901 * elf/tst-dl-iter-static.c: New file.
3902 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3904 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3907 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3909 * sysdeps/unix/sysv/linux/kernel-features.h
3910 (__ASSUME_F_GETOWN_EX): Remove macro.
3911 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3912 <kernel-features.h>.
3913 (miss_F_GETOWN_EX): Remove variable or macro.
3914 (do_fcntl): Do not check miss_F_GETOWN_EX.
3915 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3917 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3920 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3921 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3923 * sysdeps/unix/sysv/linux/kernel-features.h
3924 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3925 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3926 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3927 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3929 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3932 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3933 Fix calculation of the symbol's value.
3934 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3935 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3936 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3937 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3938 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3939 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3940 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3941 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3942 (modules-names): Add `tst-armtlsdescmod',
3943 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3944 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3945 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3946 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3947 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3948 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3949 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3950 ($(objpfx)tst-armtlsdescloc): New dependency.
3951 ($(objpfx)tst-armtlsdescextnow): Likewise.
3952 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3953 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3955 * sysdeps/arm/configure: Regenerate.
3957 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3959 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3960 (__atfct_seterrno_2): Likewise.
3961 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3962 <kernel-features.h>.
3963 (__ASSUME_ATFCTS): Do not undefine and redefine.
3964 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3965 (__have_atfcts): Remove conditional definition.
3966 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3967 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3968 unreachable if [__ASSUME_ATFCTS].
3969 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3970 not undefine and redefine.
3971 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3972 <kernel-features.h>.
3973 (faccessat) [__NR_faccessat]: Make code unconditional.
3974 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3975 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3976 <kernel-features.h>.
3977 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3978 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3979 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3980 <kernel-features.h>.
3981 (fchownat) [__NR_fchownat]: Make code unconditional.
3982 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3983 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3984 <kernel-features.h>.
3985 (futimesat) [__NR_futimesat]: Make code unconditional.
3986 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3987 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3988 <kernel-features.h>.
3989 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3990 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3991 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3992 <kernel-features.h>.
3993 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3994 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3996 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3997 <kernel-features.h>.
3998 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3999 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4000 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4001 <kernel-features.h>.
4002 (linkat) [__NR_linkat]: Make code unconditional.
4003 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4004 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4005 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4006 <kernel-features.h>.
4007 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4008 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4009 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4010 <kernel-features.h>.
4011 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4012 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4013 * sysdeps/unix/sysv/linux/openat.c: Do not include
4014 <kernel-features.h>.
4015 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4016 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4017 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4018 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4019 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4020 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4021 <kernel-features.h>.
4022 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4023 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4024 result of INLINE_SYSCALL directly, not via int variable.
4025 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4026 <kernel-features.h>.
4027 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4028 (renameat) [__NR_renameat]: Make code unconditional.
4029 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4030 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4031 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4032 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4034 (__ASSUME_ATFCTS): Do not undefine and redefine.
4035 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4036 <kernel-features.h>.
4037 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4038 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4040 <kernel-features.h>.
4041 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4042 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4044 (__ASSUME_ATFCTS): Do not undefine and redefine.
4045 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4046 <kernel-features.h>.
4047 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4048 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4049 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4050 <kernel-features.h>.
4051 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4052 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4054 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4056 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4058 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4061 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4062 constructed tree before returning error.
4063 * posix/bug-regexp36.c: Expand test case.
4065 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4068 * math/libm-test.inc (scalbln_test_date):
4069 Add errno expectations.
4070 * math/w_scalblnf.c: New File.
4071 Add wrapper which checks for setting errno to ERANGE.
4072 Add weak_alias for corresponding scalbln function.
4073 * math/w_scalbln.c: Likewise.
4074 * math/w_scalblnl.c: Likewise.
4075 * math/Makefile (libm-calls): Add w_scalbln.
4076 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4077 Remove weak_alias for corresponding scalbln function.
4078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4082 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4083 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4084 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4085 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4086 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4087 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4088 Remove long_double_symbol for scalblnl function in libm, libc.
4089 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4090 Add wrapper which checks for setting errno to ERANGE.
4091 Add long_double_symbol for scalblnl function in libm, libc.
4092 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4093 Remove long_double_symbol for scalblnl in libm.
4094 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4095 Add wrapper which checks for setting errno to ERANGE.
4096 Add long_double_symbol for scalblnl function in libm.
4097 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4098 Do not use wrapper because of own implementation.
4100 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4102 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4103 3 bytes for __pad1 for x32.
4104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4106 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4107 H.J. Lu <hongjiu.lu@intel.com>
4109 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4110 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4111 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4112 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4113 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4115 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4118 * posix/regcomp.c (parse_expression): Deallocate partially
4119 constructed tree before returning error.
4120 * posix/Makefile.c (tests): Add bug-regex36.
4121 (generated): Add bug-regex36.mtrace.
4122 (tests-special): Add $(objpfx)bug-regex36-mem.out
4123 (bug-regex36-ENV): New variable.
4124 ($(objpfx)bug-regex36-mem.out): New rule.
4125 * posix/bug-regex36.c: New file.
4127 2014-06-19 Will Newton <will.newton@linaro.org>
4129 * malloc/malloc.c (systrim): If extra is zero then return
4132 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4134 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4136 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4138 * sysdeps/aarch64/strchr.S: New file.
4140 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4143 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4144 from arguments -2 or below.
4145 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4146 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4148 2014-06-18 Andreas Schwab <schwab@suse.de>
4151 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4152 of a bracket expr not to run off the end of the string.
4153 * posix/Makefile (tests): Add tst-fnmatch3.
4154 * posix/tst-fnmatch3.c: New file.
4156 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4158 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4159 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4160 [$(cross-compiling) = no]: Likewise.
4161 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4162 [$(cross-compiling) = no]: Likewise.
4164 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4168 double, adjusted for any remainder from the high double.
4169 * math/libm-test.inc (nearbyint): Add tests.
4172 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4174 * nptl/sysdeps/powerpc/Makefile: Moved ...
4175 * sysdeps/powerpc/nptl/Makefile: ... here.
4176 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4177 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4178 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4179 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4180 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4181 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4182 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4183 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4184 * nptl/sysdeps/powerpc/tls.h: Moved ...
4185 * sysdeps/powerpc/nptl/tls.h: ... here.
4187 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4190 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4191 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4192 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4193 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4194 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4195 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4196 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4197 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4198 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4200 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4202 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4204 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4206 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4209 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4212 2014-06-16 Florian Weimer <fweimer@redhat.com>
4215 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4216 non-executed part of the test.
4218 2014-06-16 Andreas Schwab <schwab@suse.de>
4220 * string/bits/string2.h (strdup, strndup): Update feature guard.
4222 2014-06-14 David S. Miller <davem@davemloft.net>
4224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4226 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4228 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4229 that was previously under [RESET_PID].
4230 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4232 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4233 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4234 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4235 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4236 (__libc_vfork): New strong alias.
4237 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4239 2014-06-14 Andi Kleen <ak@linux.intel.com>
4241 * sysdeps/generic/elide.h: New file.
4243 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4245 * Makefile (installed-headers): Adjust path of pthread.h header.
4247 2014-06-13 Roland McGrath <roland@hack.frob.com>
4249 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4250 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4252 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4254 * nptl/sysdeps/s390/Makefile: Moved ...
4255 * sysdeps/s390/nptl/Makefile: ... here.
4256 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4257 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4258 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4259 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4260 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4261 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4262 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4263 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4264 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4265 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4266 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4267 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4268 * nptl/sysdeps/s390/tls.h: Moved ...
4269 * sysdeps/s390/nptl/tls.h: ... here.
4271 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4272 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4274 2014-06-13 David S. Miller <davem@davemloft.net>
4276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4283 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4284 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4285 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4286 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4287 Remove RESET_PID cpp guards.
4288 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4289 Remove RESET_PID cpp guards.
4290 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4292 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4294 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4297 2014-06-13 Andi Kleen <ak@linux.intel.com>
4299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4301 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4302 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4304 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4305 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4306 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4307 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4311 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4312 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4314 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4315 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4316 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4317 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4318 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4320 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4321 (pthread_rwlock_rdlock): Add elision.
4322 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4323 (pthread_rwlock_wrlock): Add elision.
4324 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4325 (pthread_rwlock_trywrlock): Add elision.
4326 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4327 (pthread_rwlock_tryrdlock): Add elision.
4328 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4329 (pthread_rwlock_tryrdlock): Add elision unlock.
4330 * nptl/sysdeps/pthread/pthread.h:
4331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4332 (PTHREAD_RWLOCK_INITIALIZER,
4333 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4334 Handle new elision field.
4335 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4336 * sysdeps/arm/nptl/bits/pthreadtypes.h
4337 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4338 * sysdeps/sh/nptl/bits/pthreadtypes.h
4339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4340 * sysdeps/tile/nptl/bits/pthreadtypes.h
4341 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4342 * sysdeps/a/nptl/bits/pthreadtypes.h
4343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4344 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4346 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4347 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4348 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4350 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4352 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4354 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4356 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4357 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4358 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4360 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4361 (elision_init): Set try_xbegin to zero when no RTM.
4362 * sysdeps/x86/nptl/bits/pthreadtypes.h
4363 (pthread_rwlock_t): Change __pad1 to __rwelision.
4364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4366 2014-06-13 Andi Kleen <ak@linux.intel.com>
4368 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4369 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4370 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4371 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4373 2014-06-13 Meador Inge <meadori@codesourcery.com>
4376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4377 that the cached result has been set before returning it.
4379 2014-06-12 Roland McGrath <roland@hack.frob.com>
4381 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4382 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4384 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4386 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4388 * nptl/sysdeps/sparc/Makefile: Moved ...
4389 * sysdeps/sparc/nptl/Makefile: ... here.
4390 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4391 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4392 * nptl/sysdeps/sparc/tls.h: Moved ...
4393 * sysdeps/sparc/nptl/tls.h: ... here.
4394 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4395 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4396 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4397 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4398 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4399 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4400 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4401 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4402 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4403 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4404 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4405 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4406 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4407 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4408 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4409 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4413 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4416 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4417 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4419 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4423 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4425 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4426 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4428 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4429 (struct list_links): Type removed.
4430 (struct thread_node, struct timer_node): Replace struct list_links
4431 with struct list_head.
4432 (list_unlink_ip): Likewise.
4433 * sysdeps/pthread/timer_routines.c
4434 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4435 (list_append, list_insbefore): Likewise.
4436 (list_init): Function removed.
4437 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4438 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4439 * sysdeps/pthread/Makefile: ... here, new file.
4441 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4442 * sysdeps/nptl/Implies: ... here.
4443 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4444 * nptl/sysdeps/pthread/list.h: Moved ...
4445 * include/list.h: ... here.
4446 * nptl/sysdeps/pthread/createthread.c: Moved ...
4447 * nptl/createthread.c: ... here.
4448 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4449 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4450 * nptl/pt-longjmp.c: ... here.
4451 * nptl/sysdeps/pthread/Makefile: Moved ...
4452 * sysdeps/nptl/Makefile: ... here.
4453 * nptl/sysdeps/pthread/Subdirs: Moved ...
4454 * sysdeps/nptl/Subdirs: ... here.
4455 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4456 * sysdeps/nptl/aio_misc.h: ... here.
4457 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4458 * sysdeps/nptl/bits/libc-lock.h: ... here.
4459 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4460 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4461 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4462 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4463 * nptl/sysdeps/pthread/configure: Moved ...
4464 * sysdeps/nptl/configure: ... here.
4465 * nptl/sysdeps/pthread/configure.ac: Moved ...
4466 * sysdeps/nptl/configure.ac: ... here.
4467 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4468 * sysdeps/nptl/gai_misc.h: ... here.
4469 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4470 * sysdeps/nptl/librt-cancellation.c: ... here.
4471 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4472 * sysdeps/nptl/malloc-machine.h: ... here.
4473 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4474 * sysdeps/nptl/pthread-functions.h: ... here.
4475 * nptl/sysdeps/pthread/pthread.h: Moved ...
4476 * sysdeps/nptl/pthread.h: ... here.
4477 * nptl/sysdeps/pthread/setxid.h: Moved ...
4478 * sysdeps/nptl/setxid.h: ... here.
4479 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4480 * sysdeps/nptl/sigfillset.c: ... here.
4481 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4482 * sysdeps/nptl/tcb-offsets.h: ... here.
4483 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4484 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4485 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4486 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4487 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4488 * sysdeps/pthread/allocalim.h: ... here.
4489 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4490 * sysdeps/pthread/bits/sigthread.h: ... here.
4491 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4492 * sysdeps/pthread/flockfile.c: ... here.
4493 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4494 * sysdeps/pthread/ftrylockfile.c: ... here.
4495 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4496 * sysdeps/pthread/funlockfile.c: ... here.
4497 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4498 * sysdeps/pthread/posix-timer.h: ... here.
4499 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4500 * sysdeps/pthread/timer_create.c: ... here.
4501 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4502 * sysdeps/pthread/timer_delete.c: ... here.
4503 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4504 * sysdeps/pthread/timer_getoverr.c: ... here.
4505 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4506 * sysdeps/pthread/timer_gettime.c: ... here.
4507 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4508 * sysdeps/pthread/timer_routines.c: ... here.
4509 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4510 * sysdeps/pthread/timer_settime.c: ... here.
4511 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4512 * sysdeps/pthread/tst-timer.c: ... here.
4513 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4514 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4516 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4517 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4519 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4520 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4521 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4522 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4523 Update #include target.
4524 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4525 * sysdeps/i386/i686/nptl/Makefile: ... here.
4526 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4527 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4528 Update #include target.
4529 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4530 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4531 * nptl/sysdeps/i386/Makefile: Moved ...
4532 * sysdeps/i386/nptl/Makefile: ... here.
4533 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4534 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4535 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4536 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4537 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4538 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4539 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4540 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4541 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4542 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4543 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4544 * nptl/sysdeps/i386/tls.h: Moved ...
4545 * sysdeps/i386/nptl/tls.h: ... here.
4547 * sysdeps/sh/Makefile [$(subdir) = csu]
4548 (gen-as-const-headers): Add tcb-offsets.sym.
4549 * nptl/sysdeps/sh/Makefile: File removed.
4550 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4551 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4552 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4553 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4554 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4555 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4556 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4557 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4558 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4559 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4560 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4561 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4562 * nptl/sysdeps/sh/tls.h: Moved ...
4563 * sysdeps/sh/nptl/tls.h: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4565 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4567 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4568 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4569 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4571 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4573 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4574 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4575 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4576 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4577 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4578 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4579 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4581 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4583 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4585 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4587 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4590 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4593 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4595 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4597 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4599 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4601 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4603 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4604 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4605 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4607 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4609 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4610 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4611 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4613 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4615 * posix/spawn_faction_addopen.c: Include string.h.
4617 2014-06-11 Roland McGrath <roland@hack.frob.com>
4619 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4620 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4621 * nptl/sysdeps/x86_64/Makefile: Moved ...
4622 * sysdeps/x86_64/nptl/Makefile: ... here.
4623 * nptl/sysdeps/x86_64/configure: Moved ...
4624 * sysdeps/x86_64/nptl/configure: ... here.
4625 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4626 * sysdeps/x86_64/nptl/configure.ac: ... here.
4627 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4628 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4629 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4630 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4631 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4632 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4633 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4634 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4635 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4636 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4637 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4638 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4639 * nptl/sysdeps/x86_64/tls.h: Moved ...
4640 * sysdeps/x86_64/nptl/tls.h: ... here.
4641 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4642 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4643 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4644 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4646 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4648 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4654 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4656 [POSIX] (off_t): Likewise.
4657 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4658 [POSIX] (S_ISBLK): Require macro.
4659 [POSIX] (S_ISCHR): Likewise.
4660 [POSIX] (S_ISDIR): Likewise.
4661 [POSIX] (S_ISFIFO): Likewise.
4662 [POSIX] (S_ISREG): Likewise.
4663 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4665 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4667 [POSIX] (time_t): Likewise.
4668 [POSIX] (timer_t): Likewise.
4670 2014-06-11 Florian Weimer <fweimer@redhat.com>
4673 * posix/spawn_int.h (struct __spawn_action): Make the path string
4674 non-const to support deallocation.
4675 * posix/spawn_faction_addopen.c
4676 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4677 * posix/spawn_faction_destroy.c
4678 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4679 path in all spawn_do_open actions.
4680 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4681 posix_spawn_file_actions_addopen.
4683 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4685 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4686 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4687 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4688 conditional code always true.
4689 (__libc_vfork): New alias.
4691 2014-06-11 Roland McGrath <roland@hack.frob.com>
4693 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4694 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4696 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4698 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4699 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4701 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4702 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4704 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4705 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4707 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4709 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4710 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4711 multiarch strcmp for PPC64.
4712 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4713 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4715 multiarch optimizations.
4716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4717 (__libc_ifunc_impl_list): Likewise.
4719 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4721 * benchtests/scripts/validate_benchout.py: New script.
4722 * benchtests/Makefile (bench-func): Call it.
4723 * benchtests/scripts/benchout.schema.json: New file.
4725 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4727 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4728 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4729 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4730 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4731 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4732 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4733 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4734 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4735 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4736 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4737 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4738 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4739 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4740 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4741 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4742 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4846 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4847 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4849 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4852 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4854 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4868 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4871 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4876 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4877 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4878 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4880 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4881 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4882 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4884 2014-06-10 Wilco <wdijkstr@arm.com>
4886 * math/test-fenv-return.c: New file.
4887 * math/Makefile: Add new test test-fenv-return.
4889 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4892 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4894 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4895 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4896 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4897 0.0L for an argument of 1.0L.
4898 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4900 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4901 value when x - 1 is zero.
4902 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4909 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4911 2014-06-09 Roland McGrath <roland@hack.frob.com>
4913 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4914 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4916 2014-06-09 Roland McGrath <roland@hack.frob.com>
4918 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4919 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4921 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4922 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4924 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4925 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4927 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4928 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4930 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4931 if not already defined.
4932 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4933 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4934 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4935 (TLS_INIT_TP): Use it.
4936 (TLS_DEFINE_INIT_TP): New macro.
4937 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4939 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4941 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4943 [POSIX] (IXANY): Likewise.
4944 [POSIX] (OLCUC): Likewise.
4945 [POSIX || POSIX2008] (CBAUD): Do not allow.
4946 [POSIX || POSIX2008] (DEFECHO): Likewise.
4947 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4948 [POSIX || POSIX2008] (ECHOKE): Likewise.
4949 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4950 [POSIX || POSIX2008] (EXTA): Likewise.
4951 [POSIX || POSIX2008] (EXTB): Likewise.
4952 [POSIX || POSIX2008] (FLUSHO): Likewise.
4953 [POSIX || POSIX2008] (LOBLK): Likewise.
4954 [POSIX || POSIX2008] (PENDIN): Likewise.
4955 [POSIX || POSIX2008] (SWTCH): Likewise.
4956 [POSIX || POSIX2008] (VDISCARD): Likewise.
4957 [POSIX || POSIX2008] (VDSUSP): Likewise.
4958 [POSIX || POSIX2008] (VLNEXT): Likewise.
4959 [POSIX || POSIX2008] (VREPRINT): Likewise.
4960 [POSIX || POSIX2008] (VSTATUS): Likewise.
4961 [POSIX || POSIX2008] (VWERASE): Likewise.
4962 (B*): Change to B[0123456789]*.
4963 * conform/data/time.h-data [POSIX || UNIX98]
4964 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4965 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4966 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4967 [POSIX] (tm_*): Do not allow.
4969 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4971 * Makefile (install): Don't set LANGUAGE.
4972 * Makefile.in (install): Likewise.
4973 * assert/Makefile (test-assert-ENV): Remove variable.
4974 (test-assert-perr-ENV): Likewise.
4975 * elf/Makefile (neededtest4-ENV): Likewise.
4976 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4977 [$(cross-compiling) = no]: Don't set LANGUAGE.
4978 * io/ftwtest-sh (LANG): Remove variable.
4979 * libio/Makefile (tst-widetext-ENV): Likewise.
4980 * manual/install.texi (Running make install): Don't refer to
4981 environment settings for make install.
4982 * INSTALL: Regenerated.
4983 * nptl/tst-tls6.sh: Don't set LANG.
4984 * posix/globtest.sh (LANG): Remove variable.
4985 * string/Makefile (tester-ENV): Likewise.
4986 (inl-tester-ENV): Likewise.
4987 (noinl-tester-ENV): Likewise.
4988 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4989 [$(cross-compiling) = no]: Don't set LANGUAGE.
4990 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4991 without explicit environment settings.
4993 2014-06-06 Roland McGrath <roland@hack.frob.com>
4995 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4996 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4998 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5000 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5002 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5003 other files in the crypt directory.
5004 * crypt/crypt.c: Remove duplicate includes.
5005 * crypt/crypt-entry.c: Likewise.
5006 * crypt/crypt_util.c: Likewise.
5008 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5010 * Makeconfig (run-program-env): New variable.
5011 (run-program-prefix-before-env): Likewise.
5012 (run-program-prefix-after-env): Likewise.
5013 (run-program-prefix): Define in terms of new variables.
5014 (built-program-cmd-before-env): New variable.
5015 (built-program-cmd-after-env): Likewise.
5016 (built-program-cmd): Define in terms of new variables.
5017 (test-program-prefix-before-env): New variable.
5018 (test-program-prefix-after-env): Likewise.
5019 (test-program-prefix): Define in terms of new variables.
5020 (test-program-cmd-before-env): New variable.
5021 (test-program-cmd-after-env): Likewise.
5022 (test-program-cmd): Define in terms of new variables.
5023 * Rules (make-test-out): Use $(run-program-env).
5024 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5025 (help): Do not mention environment variables. Mention
5026 --timeoutfactor option.
5027 (timeoutfactor): New variable.
5028 (blacklist_exports): Remove function.
5029 (exports): Remove variable.
5030 (command): Do not include ${exports}.
5031 * manual/install.texi (Configuring and compiling): Do not mention
5032 test wrappers preserving environment variables. Mention that last
5033 assignment to a variable must take precedence.
5034 * INSTALL: Regenerated.
5035 * benchtests/Makefile (run-bench): Use $(run-program-env).
5036 * catgets/Makefile ($(objpfx)test1.cat): Use
5037 $(built-program-cmd-before-env), $(run-program-env) and
5038 $(built-program-cmd-after-env).
5039 ($(objpfx)test2.cat): Do not specify environment variables
5041 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5042 $(run-program-env) and $(built-program-cmd-after-env).
5043 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5044 $(run-program-env) and $(test-program-cmd-after-env).
5045 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5047 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5048 run_program_env and test_program_cmd_after_env arguments.
5049 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5050 * elf/tst-pathopt.sh: Use run_program_env argument.
5051 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5052 $(test-wrapper-env) and $(run-program-env).
5053 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5054 run_program_env arguments.
5055 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5056 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5057 $(test-program-prefix-before-env), $(run-program-env) and
5058 $(test-program-prefix-after-env).
5059 ($(objpfx)tst-gettext2.out): Likewise.
5060 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5061 run_program_env and test_program_prefix_after_env arguments.
5062 * intl/tst-gettext2.sh: Likewise.
5063 * intl/tst-gettext4.sh: Do not set environment variables
5065 * intl/tst-gettext6.sh: Likewise.
5066 * intl/tst-translit.sh: Likewise.
5067 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5068 $(test-program-prefix-before-env), $(run-program-env) and
5069 $(test-program-prefix-after-env).
5070 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5071 run_program_env and test_program_prefix_after_env arguments.
5072 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5073 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5074 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5075 explicitly with each use of ${test_wrapper_env}.
5076 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5077 $(test-program-prefix-before-env), $(run-program-env) and
5078 $(test-program-prefix-after-env).
5079 * posix/tst-getconf.sh: Do not set environment variables
5081 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5082 run_program_env and test_program_prefix_after_env arguments.
5083 * stdio-common/tst-printf.sh: Do not set environment variables
5085 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5086 $(test-program-prefix-before-env), $(run-program-env) and
5087 $(test-program-prefix-after-env).
5088 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5089 run_program_env and test_program_prefix_after_env arguments.
5090 Split $test calls into $test_pre and $test.
5091 * timezone/Makefile (build-testdata): Use
5092 $(built-program-cmd-before-env), $(run-program-env) and
5093 $(built-program-cmd-after-env).
5095 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5097 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5098 strlen for non SHARED builds.
5100 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5102 * nptl/allocatestack.c (check_list): Inlined function...
5103 (__reclaim_stacks): ... here.
5105 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5108 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5111 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5113 * Rules (make-test-out): Include
5114 LOCPATH=$(common-objpfx)localedata in default environment.
5115 * debug/Makefile (tst-chk1-ENV): Remove variable.
5116 (tst-chk2-ENV): Likewise.
5117 (tst-chk3-ENV): Likewise.
5118 (tst-chk4-ENV): Likewise.
5119 (tst-chk5-ENV): Likewise.
5120 (tst-chk6-ENV): Likewise.
5121 (tst-lfschk1-ENV): Likewise.
5122 (tst-lfschk2-ENV): Likewise.
5123 (tst-lfschk3-ENV): Likewise.
5124 (tst-lfschk4-ENV): Likewise.
5125 (tst-lfschk5-ENV): Likewise.
5126 (tst-lfschk6-ENV): Likewise.
5127 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5128 (tst-iconv7-ENV): Likewise.
5129 * intl/Makefile (LOCPATH-ENV): Likewise.
5130 (tst-codeset-ENV): Likewise.
5131 (tst-gettext3-ENV): Likewise.
5132 (tst-gettext5-ENV): Likewise.
5133 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5134 (tst-fopenloc-ENV): Likewise.
5135 (tst-fgetws-ENV): Remove variable.
5136 (tst-ungetwc1-ENV): Likewise.
5137 (tst-ungetwc2-ENV): Likewise.
5138 (bug-ungetwc2-ENV): Likewise.
5139 (tst-swscanf-ENV): Likewise.
5140 (bug-ftell-ENV): Likewise.
5141 (tst-fgetwc-ENV): Likewise.
5142 (tst-fseek-ENV): Likewise.
5143 (tst-ftell-partial-wide-ENV): Likewise.
5144 (tst-ftell-active-handler-ENV): Likewise.
5145 (tst-ftell-append-ENV): Likewise.
5146 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5147 (tst-regexloc-ENV): Likewise.
5148 (bug-regex1-ENV): Likewise.
5149 (tst-regex-ENV): Likewise.
5150 (tst-regex2-ENV): Likewise.
5151 (bug-regex5-ENV): Likewise.
5152 (bug-regex6-ENV): Likewise.
5153 (bug-regex17-ENV): Likewise.
5154 (bug-regex18-ENV): Likewise.
5155 (bug-regex19-ENV): Likewise.
5156 (bug-regex20-ENV): Likewise.
5157 (bug-regex22-ENV): Likewise.
5158 (bug-regex23-ENV): Likewise.
5159 (bug-regex25-ENV): Likewise.
5160 (bug-regex26-ENV): Likewise.
5161 (bug-regex30-ENV): Likewise.
5162 (bug-regex32-ENV): Likewise.
5163 (bug-regex33-ENV): Likewise.
5164 (bug-regex34-ENV): Likewise.
5165 (bug-regex35-ENV): Likewise.
5166 (tst-rxspencer-ENV): Likewise.
5167 (tst-rxspencer-no-utf8-ENV): Likewise.
5168 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5169 (tst-sscanf-ENV): Likewise.
5170 (tst-swprintf-ENV): Likewise.
5171 (tst-swscanf-ENV): Likewise.
5172 (test-vfprintf-ENV): Likewise.
5173 (scanf13-ENV): Likewise.
5174 (bug14-ENV): Likewise.
5175 (tst-grouping-ENV): Likewise.
5176 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5177 (tst-strtod3-ENV): Likewise.
5178 (tst-strtod4-ENV): Likewise.
5179 (tst-strtod5-ENV): Likewise.
5180 (testmb2-ENV): Likewise./
5181 * string/Makefile (tst-strxfrm-ENV): Likewise.
5182 (tst-strxfrm2-ENV): Likewise.
5183 (bug-strcoll1-ENV): Likewise.
5184 (test-strcasecmp-ENV): Likewise.
5185 (test-strncasecmp-ENV): Likewise.
5186 * time/Makefile (tst-strptime-ENV): Likewise.
5187 (tst-ftime_l-ENV): Likewise.
5188 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5189 (tst-mbrtowc-ENV): Likewise.
5190 (tst-wcrtomb-ENV): Likewise.
5191 (tst-mbrtowc2-ENV): Likewise.
5192 (tst-c16c32-1-ENV): Likewise.
5193 (tst-mbsnrtowcs-ENV): Likewise.
5195 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5197 * manual/resource.texi (How to get information about the memory
5198 subsystem?): Fix typo.
5199 Reported by Peon de la Parra Ivan <peon@keba.com>
5201 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5204 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5205 (pthread_spin_lock): Branch out of spin loop to proper location.
5206 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5207 (pthread_spin_lock): Likewise.
5209 * nptl/tst-spin4.c: New test.
5210 * nptl/Makefile (tests): Add tst-spin4.
5212 2014-06-03 Andreas Schwab <schwab@suse.de>
5215 * resolv/res_send.c (send_dg): Reload file descriptor after
5218 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5220 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5222 2014-06-03 Richard Henderson <rth@redhat.com>
5224 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5225 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5226 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5227 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5228 in the SAVE_PID block.
5229 (__libc_vfork): New alias.
5230 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5232 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5233 child in registers, not on the stack. Remove RESET_PID conditionals.
5234 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5236 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5238 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5240 2014-06-03 Wilco <wdijkstr@arm.com>
5242 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5243 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5244 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5245 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5246 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5249 2014-06-03 Wilco <wdijkstr@arm.com>
5251 * sysdeps/aarch64/fpu/math_private.h
5252 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5253 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5254 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5255 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5258 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5260 * crypt/crypt-private.h: Include ufc-crypt.h.
5261 (__b64_from_24bit): Declare extern.
5262 * crypt/crypt_util.c(__b64_from_24bit): New function.
5263 (b64t): New static const variable.
5264 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5265 (b64t): Remove variable.
5266 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5267 * crypt/sha256-crypt.c: Include crypt-private.h.
5268 (b64t): Remove variable.
5269 (__sha256_crypt_r): Remove b64_from_24bit and replace
5270 with __b64_from_24bit.
5271 * crypt/sha512-crypt.c: Likewise.
5273 2014-06-02 Roland McGrath <roland@hack.frob.com>
5275 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5276 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5277 Label the code __libc_vfork rather than __vfork.
5278 [!NOT_IN_libc] (vfork): Define as weak alias.
5279 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5280 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5281 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5283 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5285 * malloc/malloc.c (malloc_info): Fix format specifier for
5288 2014-06-02 Wilco <wdijkstr@arm.com>
5290 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5293 2014-06-02 Wilco <wdijkstr@arm.com>
5296 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5297 Rewrite to reduce FPCR/FPSR accesses.
5299 2014-06-01 David S. Miller <davem@davemloft.net>
5301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5303 2014-05-31 David S. Miller <davem@davemloft.net>
5305 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5306 to occur in round to nearest mode when |x| >= 2.0
5308 2014-05-30 Richard Henderson <rth@twiddle.net>
5310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5311 (PSEUDO_RET_NOERRNO): Remove.
5312 (ret): Don't redefine.
5313 (ret_NOERRNO): Define in terms of ret.
5314 (ret_ERRVAL): Likewise.
5316 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5317 use of PSEUDO_RET; perform the error check directly.
5319 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5321 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5324 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5326 * malloc/malloc (malloc_info): Fix formatting.
5328 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5329 Roland McGrath <roland@hack.frob.com>
5331 * malloc/malloc (malloc_info): Also print mmapped statistics.
5333 2014-05-30 Roland McGrath <roland@hack.frob.com>
5335 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5336 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5338 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5340 * malloc/malloc.c (malloc_info): Inline mi_arena.
5342 2014-05-29 Richard Henderson <rth@twiddle.net>
5344 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5345 Remove comma before expanding ASM_ARGS_##nr.
5346 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5347 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5349 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5350 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5351 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5352 (ASM_ARGS_1): Add leading comma.
5354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5355 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5356 to __errno_location.
5357 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5358 Remove the expected plt for __errno_location.
5360 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5361 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5364 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5365 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5366 it and break it down.
5367 (DOCARGS_0, DOCARGS_1): Do nothing.
5368 (DOCARGS_2): Update to store into the new stack frame.
5369 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5370 (UNDOCARGS_1): Update to restore from the new stack frame.
5371 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5372 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5375 (SINGLE_THREAD_P): New parameter for result regno.
5376 (PSEUDO): Update to match; use cbz instead of beq.
5378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5379 Use ENTRY to define the _nocancel entry point. Share the syscall
5380 and syscall error check paths with the cancel path.
5383 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5384 whitespace; tabs before and after asm mnemonics.
5386 2014-05-29 Eric Wong <normalperson@yhbt.net>
5389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5390 Call fstat64 or stat64 internally, depending on arguments passed.
5391 Replace stat buffer argument with file descriptor argument.
5392 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5393 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5394 Pass fd to __internal_statvfs instead of calling fstat64.
5395 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5396 Pass fd to __internal_statvfs64 instead of calling fstat64.
5397 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5398 Pass -1 to __internal_statvfs instead of calling stat64.
5399 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5400 Pass -1 to __internal_statvfs64 instead of calling stat64.
5402 2014-05-28 Roland McGrath <roland@hack.frob.com>
5404 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5405 that was previously under [RESET_PID].
5406 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5408 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5409 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5411 2014-05-27 Roland McGrath <roland@hack.frob.com>
5413 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5415 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5416 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5418 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5420 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5422 2014-05-27 Andreas Schwab <schwab@suse.de>
5424 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5426 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5427 * elf/rtld.c (init_tls, dl_main): Likewise.
5428 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5429 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5430 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5431 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5432 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5433 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5434 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5435 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5436 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5437 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5438 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5439 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5440 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5441 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5442 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5443 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5444 * sysdeps/generic/tls.h: Update description.
5446 2014-05-27 Will Newton <will.newton@linaro.org>
5449 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5450 and restore r2 rather than just restoring.
5452 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5455 * libio/tst-ftell-append.c: New test case.
5456 * libio/Makefile (tests): Add test case.
5457 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5459 * libio/wfileops.c (do_ftell_wide): Likewise.
5461 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5465 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5469 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5470 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5472 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5482 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5484 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5487 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5490 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5492 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5494 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5496 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5499 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5501 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5524 conditional [RESET_PID].
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5533 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5534 (__libc_vfork): New strong alias.
5535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5542 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5543 (__libc_vfork): New strong alias.
5544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5549 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5551 * malloc/malloc.c (mi_arena): New function.
5552 (malloc_info): Remove nested function mi_arena. Call non-nosted
5555 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5559 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5560 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5561 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5562 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5563 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5564 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5567 2014-05-26 Andreas Schwab <schwab@suse.de>
5570 * locale/programs/repertoire.c (repertoire_read): Add slash
5571 between I18NPATH element and file name.
5572 * locale/programs/locfile.c (locfile_read): Likewise.
5574 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5576 * nptl/pthread_mutexattr_settype.c
5577 (__pthread_mutexattr_settype):
5578 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5580 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5582 * nptl/tst-mutex5 (do_test):
5583 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5585 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5587 * benchtests/README: Document 'init' directive.
5588 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5590 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5591 (parse_file): Recognize 'init' directive.
5593 2014-05-26 Kyle McMartin <kyle@redhat.com>
5596 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5597 alignment of struct pthread.
5599 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5602 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5603 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5604 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5605 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5607 2014-05-25 Richard Henderson <rth@twiddle.net>
5609 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5610 (SINGLE_THREAD_P_PIC): Remove.
5611 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5612 (SINGLE_THREAD_P_PIC): Remove.
5614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5615 branch to syscall error ...
5617 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5618 from __local_syscall_error to .Lsyscall_error.
5619 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5620 (SYSCALL_ERROR): Update label name.
5622 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5623 Do not use DOARGS/UNDOARGS.
5624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5625 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5626 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5627 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5628 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5633 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5634 define if !NOT_IN_libc.
5635 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5636 define with non-default symbol versions.
5638 2014-05-23 Richard Henderson <rth@twiddle.net>
5640 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5641 (vfork, __vfork): Define via compat_symbol.
5643 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5644 [!HAVE_IFUNC] (vfork_compat): Remove.
5645 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5647 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5650 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5651 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5654 2014-05-23 Richard Henderson <rth@twiddle.net>
5656 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5657 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5658 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5659 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5661 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5662 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5664 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5665 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5666 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5667 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5668 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5669 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5670 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5671 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5672 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5673 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5680 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5684 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5685 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5700 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5701 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5702 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5703 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5704 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5705 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5706 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5708 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5710 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5711 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5712 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5713 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5714 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5715 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5716 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5718 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5719 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5720 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5721 before exiting on error.
5722 (__libc_vfork): New strong alias.
5723 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5724 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5726 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5727 that was previously under [RESET_PID].
5728 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5730 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5732 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5735 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5736 value when x - 1 is zero.
5737 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5738 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5739 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5740 0.0L for an argument of 1.0L.
5741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5743 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5744 value when x - 1 is zero.
5745 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5751 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5752 alphasort and versionsort.
5754 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5756 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5758 [copysignf]: Likewise.
5760 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5762 * crypt/md5-crypt.c: Fix formatting.
5764 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5766 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5767 (b64_from_24bit): New function.
5769 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5772 libc_hidden_builtin_def to ifunc.
5773 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5774 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5776 2014-05-21 Roland McGrath <roland@hack.frob.com>
5778 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5779 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5781 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5783 * nscd/Depend (linuxthreads): Remove.
5785 * resolv/Depend (linuxthreads): Remove.
5786 * rt/Depend (linuxthreads): Remove.
5788 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5789 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5790 $(common-objpfx)elf/.
5791 (link-libc-before-gnulib): Likewise.
5792 (elfobjdir): Remove variable.
5793 * Makefile (install): Use $(elf-objpfx) instead of
5794 $(common-objpfx)elf/.
5795 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5797 (link-libc-deps): Likewise.
5798 ($(common-objpfx)libc.so): Likewise.
5799 ($(common-objpfx)linkobj/libc.so): Likewise.
5800 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5801 instead of $(common-objpfx)elf/.
5802 (symbolic-link-list): Likewise.
5803 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5804 [$(cross-compiling) = no]: Likewise.
5805 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5807 (static-gnulib-arch): Likewise.
5808 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5809 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5810 $(common-objpfx)elf/.
5812 2014-05-21 Richard Henderson <rth@redhat.com>
5814 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5815 (SINGLE_THREAD_P): Use the correct width load. Fold
5816 into the ldr offset.
5818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5819 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5821 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5824 (libgcc_s_resume): Use __attribute_used__.
5825 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5828 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5831 optimization when used with float constants.
5833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5835 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5838 * locale/nl_langinfo_l.c: Make direct reference to every
5839 _nl_current_CATEGORY symbol.
5840 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5841 (tests-static): Add tst-langinfo-static.
5842 (tests-special): Add tst-langinfo-static.out.
5843 ($(objpfx)tst-langinfo.out): Redirect output.
5844 ($(objpfx)tst-langinfo-static.out): New.
5845 * localedata/tst-langinfo.sh: Send output to stdout.
5846 * localedata/tst-langinfo-static.c: New file.
5849 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5850 when the shift amount is modulo the limb size.
5852 2014-05-20 Richard Henderson <rth@redhat.com>
5855 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5856 Change type of sa_flags from unsigned int to int.
5859 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5861 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5863 2014-05-20 Will Newton <will.newton@linaro.org>
5865 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5866 Test the return value of the system call in the nocancel case.
5868 2014-05-20 Will Newton <will.newton@linaro.org>
5869 Yvan Roux <yvan.roux@linaro.org>
5871 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5872 #include of asm/ptrace.h.
5873 (PTRACE_GET_THREAD_AREA): Remove #undef.
5874 (PTRACE_GETHBPREGS): Likewise.
5875 (PTRACE_SETHBPREGS): Likewise.
5876 (struct user_regs_struct): New structure.
5877 (struct user_fpsimd_struct): New structure.
5878 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5879 #include of asm/ptrace.h and second #include of sys/user.h.
5880 (PTRACE_GET_THREAD_AREA): Remove #undef.
5881 (PTRACE_GETHBPREGS): Likewise.
5882 (PTRACE_SETHBPREGS): Likewise.
5883 (ELF_NGREG): Use new struct user_regs_struct.
5884 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5886 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5891 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5895 membar to avoid block loads/stores to overlap previous stores.
5897 2014-05-17 Richard Henderson <rth@redhat.com>
5899 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5900 Create the __##syscall_name##_nocancel entry point.
5901 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5902 Remove; let the sysdep-cancel.h code create it.
5904 2014-05-17 David S. Miller <davem@davemloft.net>
5906 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5907 Protect with __USE_GNU.
5908 (TIOCSET_TEMPT): Likewise.
5909 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5910 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5911 these are already provided in bits/ioctl-types.h
5913 2014-05-16 Roland McGrath <roland@hack.frob.com>
5915 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5916 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5918 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5919 Use wait4 regardless of [__NR_waitpid].
5921 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5924 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5925 (_FP_NANSIGN_Q): Set the quiet bit.
5927 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5929 * benchtests/Makefile
5930 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5931 not $(common-objpfx)math/libm.so.
5932 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5933 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5934 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5935 $(common-objpfx)dlfcn/libdl.so.
5936 ($(objpfx)tst-audit8): Depend on $(libm), not
5937 $(common-objpfx)math/libm.so.
5938 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5939 not $(common-objpfx)dlfcn/libdl.so.
5941 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5942 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5943 [$(build-shared) = yes].
5944 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5945 $(common-objpfx)nptl/libpthread.so.
5946 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5947 $(common-objpfx)math/libm.so$(libm.so-version) or
5948 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5949 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5950 $(common-objpfx)dlfcn/libdl.so.
5951 * setjmp/Makefile (link-libm): Remove variable.
5952 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5953 * stdio-common/Makefile (link-libm): Remove variable.
5954 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5955 * stdlib/Makefile (link-libm): Remove variable.
5956 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5957 ($(objpfx)tst-strtod-round): Likewise.
5958 ($(objpfx)tst-tininess): Likewise.
5959 ($(objpfx)tst-strtod-underflow): Likewise.
5960 ($(objpfx)tst-strtod6): Likewise.
5961 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5962 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5963 $(common-objpfx)dlfcn/libdl.so.
5965 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5968 BSD terminal modes definitions.
5970 2014-05-16 Roland McGrath <roland@hack.frob.com>
5972 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5973 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5975 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5976 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5977 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5978 Don't do #include_next.
5979 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5980 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5981 Don't do #include_next.
5982 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5983 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5984 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5985 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5987 2014-05-16 Allan McRae <allan@archlinux.org>
5989 * po/sv.po: Update Swedish translation from translation project.
5991 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5994 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5997 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5998 errno if the TIOCGPTN ioctl fails with an error different than
6000 * login/tst-ptsname.c: New file.
6001 * login/Makefile (tests): Add tst-ptsname.
6004 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6007 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6011 herrno to return EAI_AGAIN.
6013 2014-05-14 Roland McGrath <roland@hack.frob.com>
6015 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6016 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6017 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6018 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6019 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6020 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6021 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6028 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6044 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6046 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6051 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6053 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6063 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6065 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6067 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6069 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6071 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6075 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6080 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6082 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6084 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6086 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6088 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6090 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6092 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6094 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6096 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6098 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6101 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6103 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6106 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6107 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6108 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6109 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6110 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6111 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6113 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6115 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6117 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6118 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6119 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6120 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6121 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6123 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6125 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6127 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6129 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6131 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6133 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6135 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6137 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6138 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6140 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6141 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6142 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6143 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6144 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6147 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6150 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6151 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6153 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6157 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6158 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6161 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6162 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6163 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6164 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6165 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6167 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6170 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6171 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6173 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6175 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6176 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6177 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6178 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6181 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6183 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6186 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6187 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6188 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6189 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6193 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6195 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6198 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6203 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6206 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6207 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6208 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6209 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6210 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6211 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6212 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6215 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6218 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6220 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6221 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6223 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6226 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6228 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6230 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6231 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6232 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6233 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6234 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6235 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6236 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6237 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6238 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6241 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6244 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6247 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6250 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6258 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6259 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6260 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6261 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6262 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6263 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6266 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6271 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6272 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6273 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6274 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6283 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6284 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6285 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6286 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6287 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6288 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6289 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6290 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6291 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6293 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6294 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6296 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6297 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6299 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6300 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6301 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6303 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6304 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6305 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6307 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6309 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6310 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6311 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6312 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6313 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6315 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6318 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6320 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6323 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6325 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6327 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6329 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6335 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6337 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6338 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6339 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6340 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6341 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6343 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6345 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6347 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6351 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6354 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6355 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6356 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6357 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6359 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6360 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6362 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6363 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6364 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6365 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6366 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6367 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6368 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6373 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6374 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6376 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6378 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6379 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6380 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6381 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6382 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6383 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6384 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6385 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6386 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6393 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6409 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6411 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6412 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6413 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6414 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6415 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6418 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6419 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6420 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6421 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6423 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6424 that was previously under [RESET_PID].
6425 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6426 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6427 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6429 * sysdeps/i386/nptl/Implies: New file.
6430 * sysdeps/x86_64/nptl/Implies: New file.
6431 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6432 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6433 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6434 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6436 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6437 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6438 (__libc_vfork): New strong alias.
6439 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6440 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6442 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6443 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6444 (__libc_vfork): New strong alias.
6445 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6446 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6448 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6449 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6450 (__libc_vfork): New strong alias.
6451 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6452 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6453 * nptl/pt-vfork.c: New file.
6454 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6455 (libpthread: GLIBC_2.20): New version set (empty).
6457 2014-05-14 Will Newton <will.newton@linaro.org>
6459 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6462 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6465 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6466 arguments with exponent 65 or above.
6467 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6468 arguments 0x1p113L or above.
6469 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6470 to arguments 0x1p107L or above.
6471 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6472 positive arguments with exponent 65 or above.
6473 * math/auto-libm-test-in: Add more tests of log1p.
6474 * math/auto-libm-test-out: Regenerated.
6477 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6478 non-finite arguments is +0.
6479 * math/s_cacosf.c (__cacosf): Likewise.
6480 * math/s_cacosl.c (__cacosl): Likewise.
6481 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6486 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6488 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6489 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6490 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6491 for explicit high bit of mantissa when testing for argument equal
6493 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6499 (__erf): Scale by 16 instead of 8 in potentially underflowing
6500 case. Ensure exception if result actually underflows.
6501 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6502 (__erff): Scale by 16 instead of 8 in potentially underflowing
6503 case. Ensure exception if result actually underflows.
6504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6505 (efx8): Remove variable.
6506 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6507 case. Ensure exception if result actually underflows.
6508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6509 (efx8): Remove variable.
6510 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6511 case. Ensure exception if result actually underflows.
6512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6513 (efx8): Remove variable.
6514 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6515 case. Ensure exception if result actually underflows.
6516 * math/auto-libm-test-in: Add more tests of erf.
6517 * math/auto-libm-test-out: Regenerated.
6519 2014-05-14 Andreas Schwab <schwab@suse.de>
6521 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6522 Remove code conditionalized on USE___THREAD.
6524 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6525 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6528 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6531 Define unconditionally.
6532 (__ASSUME_O_CLOEXEC): Likewise.
6533 (__ASSUME_SOCK_CLOEXEC): Likewise.
6534 (__ASSUME_IN_NONBLOCK): Likewise.
6535 (__ASSUME_PIPE2): Likewise.
6536 (__ASSUME_EVENTFD2): Likewise.
6537 (__ASSUME_SIGNALFD4): Likewise.
6538 (__ASSUME_DUP3): Likewise.
6539 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6540 (__ASSUME_DUP3): Do not define.
6541 (__ASSUME_EVENTFD2): Likewise.
6542 (__ASSUME_IN_NONBLOCK): Likewise.
6543 (__ASSUME_O_CLOEXEC): Likewise.
6544 (__ASSUME_PIPE2): Likewise.
6545 (__ASSUME_SIGNALFD4): Likewise.
6546 (__ASSUME_SOCK_CLOEXEC): Likewise.
6547 (__ASSUME_UTIMES): Undefine.
6548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6549 (__ASSUME_UTIMES): Do not define.
6550 (__ASSUME_O_CLOEXEC): Likewise.
6551 (__ASSUME_SOCK_CLOEXEC): Likewise.
6552 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6553 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6555 (__ASSUME_PIPE2): Likewise.
6556 (__ASSUME_EVENTFD2): Likewise.
6557 (__ASSUME_SIGNALFD4): Likewise.
6558 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6559 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6561 (__ASSUME_EVENTFD2): Likewise.
6562 (__ASSUME_SIGNALFD4): Likewise.
6563 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6564 (__ASSUME_32BITUIDS): Likewise.
6565 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6566 (__ASSUME_IPC64): Likewise.
6567 (__ASSUME_ST_INO_64_BIT): Likewise.
6568 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6569 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6570 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6571 (__ASSUME_UTIMES): Do not define.
6572 (__ASSUME_PSELECT): Likewise.
6573 (__ASSUME_PPOLL): Likewise.
6574 (__ASSUME_O_CLOEXEC): Likewise.
6575 (__ASSUME_SOCK_CLOEXEC): Likewise.
6576 (__ASSUME_IN_NONBLOCK): Likewise.
6577 (__ASSUME_PIPE2): Likewise.
6578 (__ASSUME_EVENTFD2): Likewise.
6579 (__ASSUME_SIGNALFD4): Likewise.
6580 (__ASSUME_DUP3): Likewise.
6581 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6582 (__ASSUME_UTIMES): Likewise.
6583 (__ASSUME_O_CLOEXEC): Likewise.
6584 (__ASSUME_SOCK_CLOEXEC): Likewise.
6585 (__ASSUME_IN_NONBLOCK): Likewise.
6586 (__ASSUME_PIPE2): Likewise.
6587 (__ASSUME_EVENTFD2): Likewise.
6588 (__ASSUME_SIGNALFD4): Likewise.
6589 (__ASSUME_DUP3): Likewise.
6590 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6591 (__ASSUME_UTIMES): Likewise.
6592 (__ASSUME_O_CLOEXEC): Likewise.
6593 (__ASSUME_SOCK_CLOEXEC): Likewise.
6594 (__ASSUME_IN_NONBLOCK): Likewise.
6595 (__ASSUME_PIPE2): Likewise.
6596 (__ASSUME_EVENTFD2): Likewise.
6597 (__ASSUME_SIGNALFD4): Likewise.
6598 (__ASSUME_DUP3): Likewise.
6599 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6601 (__ASSUME_UTIMES): Likewise.
6602 (__ASSUME_EVENTFD2): Likewise.
6603 (__ASSUME_SIGNALFD4): Likewise.
6604 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6605 (__ASSUME_O_CLOEXEC): Likewise.
6606 (__ASSUME_SOCK_CLOEXEC): Likewise.
6607 (__ASSUME_IN_NONBLOCK): Likewise.
6608 (__ASSUME_PIPE2): Likewise.
6609 (__ASSUME_EVENTFD2): Likewise.
6610 (__ASSUME_SIGNALFD4): Likewise.
6611 (__ASSUME_DUP3): Likewise.
6612 (__ASSUME_UTIMES): Undefine.
6614 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6615 feclearexcept. Remove symbol versioning code.
6616 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6617 symbol versioning code.
6618 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6619 symbol versioning code.
6620 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6621 feupdateenv. Remove symbol versioning code.
6622 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6623 fegetexceptflag. Remove symbol versioning code.
6624 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6625 fesetexceptflag. Remove symbol versioning code.
6626 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6627 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6628 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6629 (__posix_fadvise64_l32): Remove prototype.
6630 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6633 2014-05-13 Roland McGrath <roland@hack.frob.com>
6635 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6636 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6637 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6638 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6640 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6642 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6643 current working directory
6645 2014-05-13 Roland McGrath <roland@hack.frob.com>
6647 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6648 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6649 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6650 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6651 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6652 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6653 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6654 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6656 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6658 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6662 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6663 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6668 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6672 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6673 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6674 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6680 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6681 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6682 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6683 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6684 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6685 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6686 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6687 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6688 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6690 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6691 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6693 * sysdeps/unix/sysv/linux/arm/Makefile
6694 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6695 Add rt-aeabi_unwind_cpp_pr1.
6696 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6697 Add nptl-aeabi_unwind_cpp_pr1.
6698 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6699 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6700 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6701 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6702 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6703 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6705 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6706 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6707 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6708 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6710 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6711 Deconditionalize the code that was previously under [RESET_PID].
6712 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6714 * sysdeps/generic/exit-thread.h: New file.
6715 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6716 * include/unistd.h (__exit_thread): Remove declaration.
6717 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6718 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6719 * csu/libc-start.c: Include <exit-thread.h>.
6720 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6721 * nptl/pthread_create.c: Include <exit-thread.h>.
6722 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6723 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6724 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6725 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6726 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6727 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6728 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6729 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6730 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6731 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6732 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6733 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6734 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6735 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6736 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6737 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6738 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6740 2014-05-13 Andreas Schwab <schwab@suse.de>
6742 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6744 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6746 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6747 (__ASSUME_UTIMES): Do not condition on kernel version.
6748 (__ASSUME_PSELECT): Define unconditionally.
6749 (__ASSUME_PPOLL): Likewise.
6750 (__ASSUME_ATFCTS): Likewise.
6751 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6752 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6753 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6754 (__ASSUME_UTIMENSAT): Define unconditionally.
6755 (__ASSUME_PRIVATE_FUTEX): Likewise.
6756 (__ASSUME_FALLOCATE): Likewise.
6757 (__ASSUME_O_CLOEXEC): Likewise.
6758 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6759 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6760 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6761 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6762 (__ASSUME_IN_NONBLOCK): Likewise.
6763 (__ASSUME_PIPE2): Likewise.
6764 (__ASSUME_EVENTFD2): Likewise.
6765 (__ASSUME_SIGNALFD4): Likewise.
6766 (__ASSUME_DUP3): Likewise.
6767 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6768 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6769 (__ASSUME_AT_RANDOM): Likewise.
6770 (__ASSUME_PREADV): Likewise.
6771 (__ASSUME_PWRITEV): Likewise.
6772 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6773 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6774 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6775 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6776 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6778 (__ASSUME_O_CLOEXEC): Define unconditionally.
6779 (__ASSUME_PSELECT): Do not undefine conditionally.
6780 (__ASSUME_PPOLL): Likewise.
6781 (__ASSUME_ATFCTS): Likewise.
6782 (__ASSUME_SET_ROBUST_LIST): Likewise.
6783 (__ASSUME_UTIMENSAT): Likewise.
6784 (__ASSUME_FDATASYNC): Define unconditionally.
6785 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6786 (__ASSUME_SIGFRAME_V2): Likewise.
6787 )__ASSUME_EVENTFD2): Likewise.
6788 (__ASSUME_SIGNALFD4): Likewise.
6789 (__ASSUME_PSELECT): Do not undefine conditionally.
6790 (__ASSUME_PPOLL): Likewise.
6791 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6792 (__ASSUME_PSELECT): Define unconditionally.
6793 (__ASSUME_PPOLL): Likewise.
6794 (__ASSUME_O_CLOEXEC): Likewise.
6795 (__ASSUME_SOCK_CLOEXEC): Likewise.
6796 (__ASSUME_IN_NONBLOCK): Likewise.
6797 (__ASSUME_PIPE2): Likewise.
6798 (__ASSUME_EVENTFD2): Likewise.
6799 (__ASSUME_SIGNALFD4): Likewise.
6800 (__ASSUME_DUP3): Likewise.
6801 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6802 (__ASSUME_O_CLOEXEC): Likewise.
6803 (__ASSUME_SOCK_CLOEXEC): Likewise.
6804 (__ASSUME_IN_NONBLOCK): Likewise.
6805 (__ASSUME_PIPE2): Likewise.
6806 (__ASSUME_EVENTFD2): Likewise.
6807 (__ASSUME_SIGNALFD4): Likewise.
6808 (__ASSUME_DUP3): Likewise.
6809 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6810 (__ASSUME_EVENTFD2): Likewise.
6811 (__ASSUME_SIGNALFD4): Likewise.
6812 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6814 2014-05-12 Andreas Schwab <schwab@suse.de>
6817 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6818 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6819 than maximum RPC packet size.
6820 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6821 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6822 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6823 (_nss_nis_getservbyport_r): Likewise.
6825 2014-05-12 Will Newton <will.newton@linaro.org>
6827 * malloc/Makefile (tests): Add tst-mallopt.
6828 * malloc/tst-mallopt.c: New file.
6830 2014-05-09 Roland McGrath <roland@hack.frob.com>
6832 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6833 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6835 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6838 (tst-tlsmod6.so): Likewise.
6840 2014-05-09 Roland McGrath <roland@hack.frob.com>
6842 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6844 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6848 and <dl-procinfo.h>.
6849 (__fegetenv): Save SSE state in envp->__eip if supported.
6850 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6851 envp->__eip if supported.
6852 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6853 and <dl-procinfo.h>.
6854 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6855 __data_offset and __data_selector in environment to 0. Set SSE
6857 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6859 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6861 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6863 2014-05-09 Will Newton <will.newton@linaro.org>
6865 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6866 and libc_relro_required for ARM.
6867 * sysdeps/arm/preconfigure: Regenerate.
6869 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6870 Stefan Liebler <stli@linux.vnet.ibm.com>
6872 * config.make.in (enable-lock-elision): New Makefile variable.
6873 * configure.ac: Likewise.
6874 * configure: Regenerate.
6875 * sysdeps/s390/configure.ac:
6876 Add check for gcc transactions support.
6877 * sysdeps/s390/configure: Regenerate.
6878 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6879 Build elision files if enabled.
6880 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6881 Add lock elision support for s390.
6882 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6883 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6884 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6885 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6886 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6887 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6890 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6892 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6894 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6896 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6897 (__lll_timedlock_elision, __lll_lock_elision)
6898 (__lll_unlock_elision, __lll_trylock_elision)
6899 (lll_timedlock_elision, lll_lock_elision)
6900 (lll_unlock_elision, lll_trylock_elision): Add.
6901 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6902 (pthread_mutex_t): Add lock elision support for s390.
6904 2014-05-14 Wilco <wdijkstr@arm.com>
6906 * sysdeps/arm/fclrexcpt.c: Cleanup.
6907 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6908 * sysdeps/arm/feenablxcpt.c: Cleanup.
6909 * sysdeps/arm/fegetenv.c: Cleanup.
6910 * sysdeps/arm/fegetexcept.c: Cleanup.
6911 * sysdeps/arm/fegetround.c: Cleanup.
6912 * sysdeps/arm/feholdexcpt.c: Cleanup.
6913 * sysdeps/arm/fesetenv.c: Cleanup.
6914 * sysdeps/arm/fesetround.c: Cleanup.
6915 * sysdeps/arm/feupdateenv.c: Cleanup.
6916 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6917 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6918 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6919 * sysdeps/arm/ftestexcept.c: Cleanup.
6920 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6921 * sysdeps/arm/setfpucw.c: Cleanup.
6923 2014-05-09 Will Newton <will.newton@linaro.org>
6925 * sysdeps/arm/armv7/strcmp.S: New file.
6926 * NEWS: Mention addition of ARMv7 optimized strcmp.
6928 2014-05-08 Roland McGrath <roland@hack.frob.com>
6930 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6931 look for %.ac rather than %.in.
6933 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6934 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6935 * sysdeps/mach/hurd/configure: Regenerated.
6936 * sysdeps/unix/sysv/linux/configure: Regenerated.
6938 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6940 2014-05-07 Steve Ellcey <sellcey@mips.com>
6943 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6947 2014-05-07 Andreas Schwab <schwab@suse.de>
6949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6950 when skipping over non-matching result from nscd.
6952 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6955 * nptl/sockperf.c (client): Check socket return value.
6958 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6959 nscd security class.
6961 2014-05-06 Roland McGrath <roland@hack.frob.com>
6963 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6964 * sysdeps/arm/unwind.h: ... here.
6966 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6969 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6972 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6974 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6975 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6976 multiarch strncpy for PPC64.
6977 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6978 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6980 multiarch optimizations.
6981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6982 (__libc_ifunc_impl_list): Likewise.
6983 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6984 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6985 multiarch stpncpy for PPC64.
6986 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6987 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6989 2014-05-06 Andreas Schwab <schwab@suse.de>
6992 * gmon/mcount.c (_MCOUNT_DECL): Use
6993 atomic_compare_and_exchange_bool_acq instead of
6994 catomic_compare_and_exchange_bool_acq.
6996 2014-05-05 Roland McGrath <roland@hack.frob.com>
6998 * elf/Makefile (others, install-bin): Remove pldd.
6999 (pldd-modules): Variable removed.
7000 ($(objpfx)pldd): Target removed.
7001 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7002 (others, install-bin): Append pldd here.
7003 ($(objpfx)pldd): New target.
7005 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7006 to 0, so the first #if test emitted later doesn't see it undefined.
7007 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7008 * sysdeps/gnu/errlist.c: Regenerated.
7010 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7013 [libc_hidden_builtin_def]: Define to empty value.
7014 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7015 [libc_hidden_builtin_def]: Likewise.
7016 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7017 [libc_hidden_builtin_def]: Likewise.
7018 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7019 [libc_hidden_builtin_def]: Likewise.
7020 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7021 __redirect_memcpy and define ifunc as default hidden symbol.
7022 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7023 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7025 2014-05-04 Adam Conrad <adconrad@0c3.net>
7027 * locale/iso-4217.def: Reintroduce XDR currency.
7029 2014-05-04 Allan McRae <allan@archlinux.org>
7031 * po/eo.po: Update Esperanto translation from translation project.
7033 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7035 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7036 and FEATURE_INDEX_MAX to 1.
7037 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7039 2014-05-01 Steve Ellcey <sellcey@mips.com>
7041 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7042 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7043 * iconvdata/big5.c (ONE_DIRECTION): Define.
7044 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7045 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7046 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7047 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7048 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7049 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7050 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7051 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7052 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7053 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7054 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7055 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7056 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7057 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7058 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7059 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7060 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7061 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7062 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7063 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7064 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7065 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7066 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7067 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7068 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7069 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7070 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7071 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7072 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7073 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7074 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7075 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7076 * iconvdata/johab.c (ONE_DIRECTION): Define.
7077 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7078 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7079 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7080 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7081 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7082 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7083 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7084 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7085 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7086 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7088 2014-05-01 Roland McGrath <roland@hack.frob.com>
7090 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7091 (_IO_JUMPS_OFFSET): Define to 0.
7093 * nptl/sysdeps/pthread/bits/libc-lock.h
7094 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7095 (__libc_lock_define_initialized_recursive): Always define using
7096 initializer. Modern compilers treat uninitialized (implicit zero) and
7097 explicit zero initializers the same (i.e. put the datum in bss).
7099 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7101 * nscd/nscd-client.h: Include <string.h>.
7103 2014-05-01 David S. Miller <davem@davemloft.net>
7106 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7107 multiple zero bytes exist at the end of a string.
7108 Reported by Aurelien Jarno <aurelien@aurel32.net>
7110 * string/test-strcmp.c (check): Add explicit test for situations where
7111 there are multiple zero bytes after the first.
7113 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7116 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7117 when compiling wprintf.
7118 * stdio-common/tstdiomisc.c (t3): New function.
7121 2014-05-01 Steve Ellcey <sellcey@mips.com>
7123 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7124 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7125 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7126 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7128 2014-05-01 Steve Ellcey <sellcey@mips.com>
7130 * stdlib/longlong.h: Updated from GCC.
7132 2014-05-01 Will Newton <will.newton@linaro.org>
7133 Bernard Ogden <bernie.ogden@linaro.org>
7135 * NEWS: Update fixed bug list.
7138 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7140 2014-04-30 David S. Miller <davem@davemloft.net>
7142 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7143 (libc_feholdexcept_setround_sparc_ctx): New function.
7144 (libc_fesetenv_sparc_ctx): Likewise.
7145 (libc_feupdateenv_sparc_ctx): Likewise.
7146 (libc_feholdsetround_sparc_ctx): Likewise.
7147 (libc_feholdexcept_setround_ctx): Define.
7148 (libc_feholdexcept_setroundf_ctx): Likewise.
7149 (libc_feholdexcept_setroundl_ctx): Likewise.
7150 (libc_fesetenv_ctx): Likewise.
7151 (libc_fesetenvf_ctx): Likewise.
7152 (libc_fesetenvl_ctx): Likewise.
7153 (libc_feupdateenv_ctx): Likewise.
7154 (libc_feupdateenvf_ctx): Likewise.
7155 (libc_feupdateenvl_ctx): Likewise.
7156 (libc_feresetround_ctx): Likewise.
7157 (libc_feresetroundf_ctx): Likewise.
7158 (libc_feresetroundl_ctx): Likewise.
7159 (libc_feholdsetround_ctx): Likewise.
7160 (libc_feholdsetroundf_ctx): Likewise.
7161 (libc_feholdsetroundl_ctx): Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7164 with __USE_GNU instead of XOPEN cpp guards.
7166 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7170 with XOPEN cpp guards.
7172 2014-04-30 Julian Brown <julian@codesourcery.com>
7175 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7178 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7181 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7183 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7184 * sysdeps/unix/sysv/linux/configure: Regenerated.
7185 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7186 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7187 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7188 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7189 * README: Update reference to required Linux kernel version.
7190 * manual/install.texi (Linux): Update reference to required Linux
7191 kernel headers version.
7192 * INSTALL: Regenerated.
7194 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7196 [POSIX] (limits.h): Likewise.
7197 [POSIX] (math.h): Likewise.
7198 [POSIX] (sys/wait.h): Likewise.
7199 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7201 [POSIX] (stddef.h): Do not allow header inclusion.
7203 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7205 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7207 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7209 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7210 Return immediately after lll_futex_wake.
7212 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7215 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7217 (datahead_init_pos): Call datahead_init_common early.
7218 (datahead_init_neg): Likewise.
7220 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7221 datahead_init_neg): New functions.
7222 * nscd/aicache.c (addhstaiX): Use them.
7223 * nscd/grpcache.c (cache_addgr): Likewise.
7224 * nscd/hstcache.c (cache_addhst): Likewise.
7225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7226 * nscd/netgroupcache.c (do_notfound): Likewise.
7227 (addgetnetgrentX): Likewise.
7228 (addinnetgrX): Likewise.
7229 * nscd/pwdcache.c (cache_addpw): Likewise.
7230 * nscd/servicescache.c (cache_addserv): Likewise.
7232 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7233 Atsushi Onoe <atsushi@onoe.org>
7238 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7239 one response is valid.
7240 * resolv/res_send.c (send_dg): Check for validity of other
7241 response if the current response is a referral.
7243 2014-04-29 Steve Ellcey <sellcey@mips.com>
7245 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7247 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7251 Always divide by positive zero when computing -Inf result.
7252 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7253 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7255 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7257 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7258 FPSCR if value do not change.
7259 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7260 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7261 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7262 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7263 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7264 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7267 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7269 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7270 * sysdeps/unix/sysv/linux/hppa: Move directory from
7271 ports/systeps/unix/sysv/linux/hppa.
7272 * README: Update listing for hppa-*-linux-gnu.
7274 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7277 * manual/stdio.texi (Hook functions): Fix types of stream hook
7280 * socket/sys/socket.h: Fix typo in comment.
7282 2014-04-28 Wilco <wdijkstr@arm.com>
7284 * sysdeps/arm/fenv_private.h: New file.
7285 * sysdeps/arm/math_private.h: New file.
7286 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7288 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7290 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7292 (La_x86_64_retval): Likewise.
7294 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7296 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7297 fpsr if value didn't change.
7298 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7299 to fpcr if value didn't change.
7300 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7301 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7302 fpsr or fpcr if value didn't change.
7303 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7304 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7305 fpcr if value didn't change.
7306 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7307 to fpsr if value didn't change.
7309 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7311 * nptl/tst-sem3.c: Use test-skeleton.c
7312 (main): Rename to do_test. Use return instead of
7314 * nptl/tst-sem4.c: Use test-skeleton.c
7315 (main): Rename to do_test.
7317 2014-04-22 David S. Miller <davem@davemloft.net>
7319 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7320 (struct sigaction): New struct member __glibc_reserved0, change
7321 type of sa_flags to int.
7323 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7325 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7326 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7328 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7330 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7331 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7333 2014-04-22 Will Newton <will.newton@linaro.org>
7334 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7336 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7337 (__longjmp): Add longjmp and longjmp_target SystemTap
7339 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7340 (__sigsetjmp): Add setjmp SystemTap probe.
7342 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7344 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7347 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7351 * sysdeps/powerpc/fpu/fenv_private.h
7352 (libc_feholdexcept_setroundl_ctx): Define to
7353 libc_feholdexcept_setround_ppc_ctx.
7354 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7355 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7356 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7357 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7359 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7361 * sysdeps/aarch64/math-tests.h: New file.
7363 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7365 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7368 Check and set bit_AVX2_Usable.
7369 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7371 (bit_AVX2): Likewise.
7372 (index_AVX2_Usable): Likewise.
7373 (CPUID_AVX2): Likewise.
7374 (HAS_AVX2): Likewise.
7376 2014-04-17 Will Newton <will.newton@linaro.org>
7378 * manual/setjmp.texi (System V contexts): Add note that
7379 calling setcontext on a context created by a call to a
7380 signal handler is undefined. Update text to note that
7381 setcontext from a signal handler is possible but not
7385 * stdlib/tst-setcontext.c: Include signal.h.
7386 (main): Check that the signal stack before and
7387 after swapcontext is the same.
7389 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7390 Re-implement to restore registers in user code and avoid
7391 rt_sigreturn system call.
7393 2014-04-17 Wilco <wdijkstr@arm.com>
7395 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7396 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7397 * math/test-fenv.c: Skip exception trap tests on targets which only
7398 support non-stop mode.
7400 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7401 Wilco Dijkstra <wilco.dijkstra@arm.com>
7403 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7404 (libc_feholdsetround_aarch64_ctx)
7405 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7406 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7407 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7408 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7409 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7410 (libc_feresetround_noexl_ctx): Define.
7412 2014-04-16 Richard Henderson <rth@redhat.com>
7414 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7416 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7419 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7420 const from the non-libc, non-ldso copy.
7422 * sysdeps/alpha/libm-test-ulps: Regenerate.
7424 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7425 Wilco Dijkstra <wilco.dijkstra@arm.com>
7427 * sysdeps/aarch64/fpu/math_private.h: New file.
7429 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7431 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7433 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7436 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7437 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7439 Intel MPX bound registers before _dl_profile_fixup.
7440 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7441 registers after _dl_profile_fixup. Save and restore bound
7442 registers bnd0/bnd1 when calling _dl_call_pltexit.
7443 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7444 (LR_BND_OFFSET): Likewise.
7445 (LRV_BND0_OFFSET): Likewise.
7446 (LRV_BND1_OFFSET): Likewise.
7448 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7450 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7452 * sysdeps/mach/hurd/i386/tls.h: ... here.
7453 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7454 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7457 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7459 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7461 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7463 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7465 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7468 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7469 * sysdeps/s390/configure: Regenerate.
7472 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7473 Set round-to-nearest internally to reduce error accumulation.
7475 2014-04-16 Alan Modra <amodra@gmail.com>
7479 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7480 * math/libm-test.inc (frexp_test_data): Add tests.
7481 * NEWS: Update fixed bug list.
7483 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7485 * benchtests/Makefile: Depend on libraries in build directory.
7486 (bench-math): Separate out math tests.
7487 (bench-pthread): Separate out pthread tests.
7488 (bench): Include math and pthread tests.
7490 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7493 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7494 _dl_debug_initialize.
7496 * configure.ac: Remove SELinux header check.
7497 * configure: Regenerate.
7498 * nscd/selinux.c (perms): Array of const char* to permission names.
7499 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7500 default policy. Call string_to_security_class and string_to_av_perm to
7501 translate strings. Enforce default policy and call avs_has_perm with
7502 results of translated strings.
7504 2014-04-13 David S. Miller <davem@davemloft.net>
7506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7508 2014-04-12 Allan McRae <allan@archlinux.org>
7511 * manual/string.texi (Collation Functions): Fix qsort argument
7513 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7515 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7517 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7518 Make the test a no-op if there are no exceptions defined.
7520 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7522 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7523 enable-hardcoded-path-in-tests
7525 2014-04-11 Will Newton <will.newton@linaro.org>
7527 * benchtests/Makefile (extra-objs): Add json-lib.o.
7528 (bench-func): Tidy up JSON output.
7529 * benchtests/bench-skeleton.c: Include json-lib.h.
7530 (main): Use JSON library functions to do output of
7532 * benchtests/bench-timing-type.c (main): Output the
7533 timing type simply, leaving formatting to the user.
7534 * benchtests/json-lib.c: New file.
7535 * benchtests/json-lib.h: Likewise.
7537 2014-04-11 Torvald Riegel <triegel@redhat.com>
7540 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7541 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7542 memory barriers. Add comments.
7543 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7544 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7545 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7546 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7547 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7548 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7550 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7552 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7553 * sysdeps/s390/s390-64/configure.ac: ... this ...
7554 * sysdeps/s390/configure.ac: ... to here.
7555 * sysdeps/s390/s390-32/configure: Delete file.
7556 * sysdeps/s390/s390-64/configure: Delete file.
7557 * sysdeps/s390/configure: Regenerate.
7559 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7561 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7563 2014-04-11 Will Newton <will.newton@linaro.org>
7565 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7566 to zero if it is not defined elsewhere. (mtrim): Test
7567 the value of MALLOC_DEBUG with #if rather than #ifdef.
7569 2014-04-10 Torvald Riegel <triegel@redhat.com>
7571 * benchtests/pthread_once-inputs: New file.
7572 * benchtests/pthread_once-source.c: New file.
7573 * benchtests/README: Update documentation.
7575 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7576 H.J. Lu <hongjiu.lu@intel.com>
7579 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7580 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7581 * sysdeps/x86_64/configure: Regenerated.
7582 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7584 (REGISTER_SAVE_RAX): Likewise.
7585 (REGISTER_SAVE_RCX): Likewise.
7586 (REGISTER_SAVE_RDX): Likewise.
7587 (REGISTER_SAVE_RSI): Likewise.
7588 (REGISTER_SAVE_RDI): Likewise.
7589 (REGISTER_SAVE_R8): Likewise.
7590 (REGISTER_SAVE_R9): Likewise.
7591 (REGISTER_SAVE_BND0): Likewise.
7592 (REGISTER_SAVE_BND1): Likewise.
7593 (REGISTER_SAVE_BND2): Likewise.
7594 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7595 bound registers when calling _dl_fixup.
7597 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7599 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7600 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7602 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7603 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7604 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7605 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7606 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7607 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7608 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7610 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7613 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7614 pathconf(_PC_NAME_MAX).
7616 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7618 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7620 (__PTHREAD_SPINS): Move definition to ...
7621 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7622 (__PTHREAD_SPINS): ... here.
7623 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7624 (__PTHREAD_SPIN): Likewise.
7625 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7626 (__PTHREAD_SPIN): Likewise.
7627 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7628 (__PTHREAD_SPIN): Likewise.
7629 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7630 (__PTHREAD_SPIN): Likewise.
7631 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7632 (__PTHREAD_SPIN): Likewise.
7633 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7634 (__PTHREAD_SPIN): Likewise.
7635 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7636 (__PTHREAD_SPIN): Likewise.
7637 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7638 (__PTHREAD_SPIN): Likewise.
7639 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7640 (__PTHREAD_SPIN): Likewise.
7641 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7642 (__PTHREAD_SPIN): Likewise.
7643 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7644 (__PTHREAD_SPIN): Likewise.
7645 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7646 (__PTHREAD_SPIN): Likewise.
7648 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7649 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7650 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7651 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7654 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7655 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7656 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7658 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7659 strlen symbol for non multi-arch builds.
7660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7661 missing hidden_def and weak_alias.
7663 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7665 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7667 2014-04-07 Will Newton <will.newton@linaro.org>
7669 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7670 and contents. [!_LIBC] Remove #ifndef and contents.
7671 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7672 * string/memccpy.c (__memccpy): Use ANSI prototype.
7673 * string/memfrob.c (memfrob): Likewise.
7674 * string/strcoll.c (STRCOLL): Likewise.
7675 * string/strlen.c (strlen): Likewise.
7676 * string/strtok.c (STRTOK): Likewise.
7677 * string/strcat.c: Remove unused #include of memcopy.h.
7678 (strcat): Use ANSI prototype.
7679 * string/strchr.c: Remove unused #include of memcopy.h.
7680 (strchr): Use ANSI prototype.
7681 * string/strcmp.c: Remove unused #include of memcopy.h.
7682 (strcmp): Use ANSI prototype.
7683 * string/strcpy.c: Remove unused #include of memcopy.h.
7684 (strcpy): Use ANSI prototype.
7686 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7688 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7689 * config.make.in (config-extra-cppflags): Set it from
7690 libc_extra_cppflags.
7691 * configure.ac (libc_extra_cflags): Make it accumulate over
7692 configure fragments.
7693 (libc_extra_cppflags): New flag.
7694 * configure. Regenerate.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7696 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7697 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7702 result for FE_DOWNWARD rounding mode.
7703 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7707 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7709 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7710 in function argument name.
7712 2014-04-03 David Svoboda <svoboda@cert.org>
7715 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7718 2014-04-03 Roland McGrath <roland@hack.frob.com>
7720 * elf/dl-unmap-segments.h: New file.
7721 * sysdeps/generic/ldsodefs.h
7722 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7723 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7724 * elf/dl-fptr.c: Likewise.
7725 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7726 * sysdeps/aarch64/tlsdesc.c: Likewise.
7727 * sysdeps/arm/tlsdesc.c: Likewise.
7728 * sysdeps/i386/tlsdesc.c: Likewise.
7729 * sysdeps/tile/dl-runtime.c: Likewise.
7730 * sysdeps/x86_64/tlsdesc.c: Likewise.
7731 * elf/dl-load.h: New file.
7732 * elf/dl-load.c: Include it.
7733 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7734 Macros moved to dl-load.h.
7735 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7736 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7737 Use _dl_unmap_segments in place of __munmap.
7738 Break out segment-mapping loop into ...
7739 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7741 2014-04-03 Will Newton <will.newton@linaro.org>
7743 * elf/dl-lookup.c (do_lookup_x): Remove comment
7744 referring to nested function and move variable
7745 declarations down to before first use.
7747 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7751 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7753 * math/s_catanf.c (__catanf): Likewise.
7754 * math/s_catanh.c (__catanh): Likewise.
7755 * math/s_catanhf.c (__catanhf): Likewise.
7756 * math/s_catanhl.c (__catanhl): Likewise.
7757 * math/s_catanl.c (__catanl): Likewise.
7758 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7759 by positive zero when computing -Inf result.
7760 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7761 (catanh_test): Likewise.
7762 * sysdeps/i386/fpu/libm-test-ulps: Update.
7763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7766 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7767 instead of using underflowing value in computing result.
7768 * math/s_clog10.c (__clog10): Likewise.
7769 * math/s_clog10f.c (__clog10f): Likewise.
7770 * math/s_clog10l.c (__clog10l): Likewise.
7771 * math/s_clogf.c (__clogf): Likewise.
7772 * math/s_clogl.c (__clogl): Likewise.
7773 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7774 (clog10_test): Likewise.
7775 * sysdeps/i386/fpu/libm-test-ulps: Update.
7776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7778 2014-04-02 Alan Modra <amodra@gmail.com>
7781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7782 output when value is near a power of two. Use int64_t for lx and
7783 remove casts. Use decimal rather than hex exponent constants.
7784 Don't use long double multiplication when double will suffice.
7785 * math/libm-test.inc (nextafter_test_data): Add tests.
7786 * NEWS: Add 16739 and 16786 to bug list.
7788 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7790 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7792 2014-04-01 Will Newton <will.newton@linaro.org>
7794 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7795 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7797 2014-04-01 Florian Weimer <fweimer@redhat.com>
7800 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7801 * nptl/tst-setuid2.c: New file.
7802 * nptl/Makefile (xtests): Add tst-setuid2.
7804 2014-04-01 Alan Modra <amodra@gmail.com>
7807 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7809 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7813 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7814 set errno as appropriate.
7815 * math/w_scalbf.c (__scalbf): Likewise.
7816 * math/w_scalbl.c (__scalbl): Likewise.
7817 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7818 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7819 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7823 * math/w_atan2.c: Include <errno.h>.
7824 (__atan2): Set errno for result underflowing to zero.
7825 * math/w_atan2f.c: Include <errno.h>.
7826 (__atan2f): Set errno for result underflowing to zero.
7827 * math/w_atan2l.c: Include <errno.h>.
7828 (__atan2l): Set errno for result underflowing to zero.
7829 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7831 * math/auto-libm-test-out: Regenerated.
7833 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7836 Encode instruction correctly in little endian.
7837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7839 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7841 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7843 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7846 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/unix/sysv/linux/kernel-features.h
7850 [__sparc__ && !__arch64__ && !__sparc_v9__]
7851 (__ASSUME_SET_ROBUST_LIST): Do not define.
7852 [__sparc__ && !__arch64__ && !__sparc_v9__]
7853 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7854 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7856 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7857 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7858 (__ASSUME_REQUEUE_PI): Likewise.
7859 (__ASSUME_SET_ROBUST_LIST): Likewise.
7860 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7861 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7864 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7866 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7868 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7870 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7871 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7873 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7874 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7880 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7882 2014-03-31 Will Newton <will.newton@linaro.org>
7884 * benchtests/Makefile (bench): Add ffs and ffsll to list
7886 * benchtests/ffs-inputs: New file.
7887 * benchtests/ffsll-inputs: Likewise.
7889 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7892 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7893 too large before casting to int.
7894 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7895 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7896 * math/libm-test.inc (scalb_test_data): Add more tests.
7898 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7900 * benchtests/Makefile (DETAILED_OPT): New make option.
7901 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7903 * benchtests/bench-skeleton.c: Include stdbool.h.
7904 (main): Store and print timings per input.
7905 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7906 member to each argument value.
7907 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7908 (_print_arg_data): Initialize per-input timing to 0.
7910 * benchtests/Makefile (timing-type): New binary.
7911 (bench-clean): Also remove bench-timing-type.
7912 (bench): New target for timing-type.
7913 (bench-func): Print output in JSON format.
7914 * benchtests/bench-skeleton.c (main): Print output in JSON
7916 * benchtests/bench-timing-type.c: New file.
7917 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7918 (TIMING_PRINT_STATS): Remove.
7919 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7922 * benchtests/bench-modf.c: Remove.
7923 * benchtests/modf-inputs: New inputs file.
7925 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7928 * math/s_clog10.c (M_PI_LOG10E): New macro.
7929 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7930 imaginary parts are 0.
7931 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7932 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7933 imaginary parts are 0.
7934 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7935 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7936 imaginary parts are 0.
7937 * math/libm-test.inc (clog10_test_data): Update expected results
7938 for when real and imaginary parts are 0.
7940 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7942 * elf/dl-load.c: Finish conversion of __builtin_expect into
7945 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7949 1+x for argument with exponent below -67.
7950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7952 * math/auto-libm-test-in: Add more tests of exp.
7953 * math/auto-libm-test-out: Regenerated.
7955 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7958 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7959 (nscd_getnetgrent): Use it.
7962 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7965 2014-03-27 Andi Kleen <ak@linux.intel.com>
7967 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7968 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7969 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7970 (lll_robust_unlock): Remove out of line section. Use cfi
7972 (LLL_STUB_UNWIND_INFO*): Remove.
7973 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7974 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7975 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7976 (lll_robust_unlock): Remove out of line section. Use cfi
7978 (LLL_STUB_UNWIND_INFO*): Remove.
7980 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7986 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7988 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7990 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7995 * math/test-fenv-preserve.c: New file.
7996 * math/Makefile (tests): Add test-fenv-preserve.
7998 2014-03-26 Will Newton <will.newton@linaro.org>
8000 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8002 2014-03-25 Roland McGrath <roland@hack.frob.com>
8004 * scripts/versionlist.awk: Partition the version sets and emit all
8005 GLIBC_* (sorted) before all others (sorted).
8007 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8009 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8010 GLIBC_2.2.5 version.
8012 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8014 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8017 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8022 2014-03-25 Andreas Schwab <schwab@suse.de>
8024 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8025 label to be used after in6ailist is initialized.
8027 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8029 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8030 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8032 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8036 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8038 (fp_formats): Update initializers.
8039 (init_fp_formats): Initialize new field.
8040 (output_for_one_input_case): Allow underflow for results up to
8042 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8043 * math/auto-libm-test-in: Don't mark some underflows from asin and
8045 * math/auto-libm-test-out: Regenerated.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049 2014-03-25 Andreas Schwab <schwab@suse.de>
8051 * libio/Makefile (tst-ftell-partial-wide-ENV)
8052 (tst-ftell-active-handler-ENV): Define.
8054 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8056 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8058 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8060 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8062 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8064 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8065 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8066 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8068 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8071 * elf/dl-load.c (open_verify): Add mode parameter.
8072 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8073 (open_path): Change from boolean 'secure' to complete flag 'mode'
8074 (_dl_map_object): Adjust.
8075 * elf/Makefile (tests): Add tst-dlopen-aout.
8076 * elf/tst-dlopen-aout.c: New test.
8078 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8081 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8082 (struct stat): Rename member pad0 to __glibc_reserved0.
8085 * sysdeps/s390/s390-32/bits/wordsize.h
8086 (__WORDSIZE32_SIZE_ULONG): New define.
8087 * sysdeps/s390/s390-64/bits/wordsize.h
8088 (__WORDSIZE32_SIZE_ULONG): Likewise.
8089 * sysdeps/generic/stdint.h (SIZE_MAX):
8090 Define as UL if __WORDSIZE32_SIZE_ULONG.
8093 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8094 (__glibc_reserved0): New variable.
8095 (sa_flags): Change type to int.
8097 * posix/Makefile (before-compile): Use += before-compile instead
8100 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8101 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8103 2014-03-20 Andreas Schwab <schwab@suse.de>
8106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8107 non-matching result from nscd.
8109 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8111 * scripts/bench.py: Moved to ...
8112 * benchtests/scripts/bench.py: ... here.
8113 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8115 2014-03-24 Andreas Schwab <schwab@suse.de>
8118 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8119 alloca_account and account alloca use for struct in6ailist.
8121 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8124 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8125 rounding mode to recompute results that overflow to infinity or
8127 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8129 * math/auto-libm-test-out: Regenerated.
8130 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8131 (ccosh_test): Likewise.
8132 (csin_test_data): Use plus_oflow.
8133 (csin_test): Use ALL_RM_TEST.
8134 (csinh_test_data): Use plus_oflow.
8135 (csinh_test): Use ALL_RM_TEST.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8141 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8142 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8143 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8146 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8148 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8149 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8150 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8153 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8154 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8156 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8162 * scripts/bench.pl: Remove file.
8163 * scripts/bench.py: New benchmark script.
8164 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8165 * benchtests/README: Mention python dependency.
8166 * scripts/pylintrc: New file.
8167 * scripts/pylint: New file.
8169 * bits/mathdef.h: Use #ifdef instead of #if.
8170 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8171 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8172 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8173 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8174 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8175 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8177 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8178 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8180 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8182 and strpbrk-ppc64 objects.
8183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8184 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8185 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8186 multiarch strpbrk for POWER7.
8187 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8188 multiarch strpbrk for PPC64.
8189 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8191 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8194 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8196 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8197 (atan_test): Likewise.
8198 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8199 (atanh_test): Use ALL_RM_TEST.
8200 (atan2_test_data): Likewise.
8201 (cabs_test): Likewise.
8202 (cacosh_test): Likewise.
8203 (carg_test): Likewise.
8204 (casin_test): Likewise.
8205 (casinh_test): Likewise.
8206 (cbrt_test): Likewise.
8207 (csqrt_test): Likewise.
8208 (erf_test): Likewise.
8209 (erfc_test): Likewise.
8210 (pow10_test): Likewise.
8211 (exp2_test): Likewise.
8212 (hypot_test): Likewise.
8213 (j0_test): Likewise.
8214 (j1_test): Likewise.
8215 (lgamma_test): Likewise.
8216 (gamma_test): Likewise.
8217 (sincos_test): Likewise.
8218 (tanh_test): Likewise.
8219 (y0_test): Likewise.
8220 (y1_test): Likewise.
8221 * sysdeps/i386/fpu/libm-test-ulps: Update.
8222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8224 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8228 and strcspn-ppc64 objects.
8229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8230 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8231 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8232 multiarch strcspn for POWER7.
8233 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8234 multiarch strcspn for PPC64.
8235 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8237 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8240 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8242 * math/gen-libm-test.pl (generate_testfile): Expect only function
8243 name as argument to AUTO_TESTS_* and pass results for all rounding
8244 modes to parse_args.
8245 (parse_auto_input): Separate inputs of automatic tests from
8246 outputs before storing in %auto_tests.
8247 * math/libm-test.inc (acos_test_data): Update call to
8249 (acos_test): Use ALL_RM_TEST.
8250 (acos_tonearest_test_data): Remove.
8251 (acos_test_tonearest): Likewise.
8252 (acos_towardzero_test_data): Likewise.
8253 (acos_test_towardzero): Likewise.
8254 (acos_downward_test_data): Likewise.
8255 (acos_test_downward): Likewise.
8256 (acos_upward_test_data): Likewise.
8257 (acos_test_upward): Likewise.
8258 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8259 (asin_test_data): Likewise.
8260 (asin_test): Use ALL_RM_TEST.
8261 (asin_tonearest_test_data): Remove.
8262 (asin_test_tonearest): Likewise.
8263 (asin_towardzero_test_data): Likewise.
8264 (asin_test_towardzero): Likewise.
8265 (asin_downward_test_data): Likewise.
8266 (asin_test_downward): Likewise.
8267 (asin_upward_test_data): Likewise.
8268 (asin_test_upward): Likewise.
8269 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8270 (atan_test_data): Likewise.
8271 (atanh_test_data): Likewise.
8272 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8273 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8274 (carg_test_data): Likewise.
8275 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8276 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8277 (ccosh_test_data): Likewise.
8278 (cexp_test_data): Likewise.
8279 (clog_test_data): Likewise.
8280 (clog10_test_data): Likewise.
8281 (cos_test_data): Update call to AUTO_TESTS_f_f.
8282 (cos_test): Use ALL_RM_TEST.
8283 (cos_tonearest_test_data): Remove.
8284 (cos_test_tonearest): Likewise.
8285 (cos_towardzero_test_data): Likewise.
8286 (cos_test_towardzero): Likewise.
8287 (cos_downward_test_data): Likewise.
8288 (cos_test_downward): Likewise.
8289 (cos_upward_test_data): Likewise.
8290 (cos_test_upward): Likewise.
8291 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8292 (cosh_test): Use ALL_RM_TEST.
8293 (cosh_tonearest_test_data): Remove.
8294 (cosh_test_tonearest): Likewise.
8295 (cosh_towardzero_test_data): Likewise.
8296 (cosh_test_towardzero): Likewise.
8297 (cosh_downward_test_data): Likewise.
8298 (cosh_test_downward): Likewise.
8299 (cosh_upward_test_data): Likewise.
8300 (cosh_test_upward): Likewise.
8301 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8302 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8303 (ctan_test_data): Likewise.
8304 (ctan_test): Use ALL_RM_TEST.
8305 (ctan_tonearest_test_data): Remove.
8306 (ctan_test_tonearest): Likewise.
8307 (ctan_towardzero_test_data): Likewise.
8308 (ctan_test_towardzero): Likewise.
8309 (ctan_downward_test_data): Likewise.
8310 (ctan_test_downward): Likewise.
8311 (ctan_upward_test_data): Likewise.
8312 (ctan_test_upward): Likewise.
8313 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8314 (ctanh_test): Use ALL_RM_TEST.
8315 (ctanh_tonearest_test_data): Remove.
8316 (ctanh_test_tonearest): Likewise.
8317 (ctanh_towardzero_test_data): Likewise.
8318 (ctanh_test_towardzero): Likewise.
8319 (ctanh_downward_test_data): Likewise.
8320 (ctanh_test_downward): Likewise.
8321 (ctanh_upward_test_data): Likewise.
8322 (ctanh_test_upward): Likewise.
8323 (erf_test_data): Update call to AUTO_TESTS_f_f.
8324 (erfc_test_data): Likewise.
8325 (exp_test_data): Likewise.
8326 (exp_test): Use ALL_RM_TEST.
8327 (exp_tonearest_test_data): Remove.
8328 (exp_test_tonearest): Likewise.
8329 (exp_towardzero_test_data): Likewise.
8330 (exp_test_towardzero): Likewise.
8331 (exp_downward_test_data): Likewise.
8332 (exp_test_downward): Likewise.
8333 (exp_upward_test_data): Likewise.
8334 (exp_test_upward): Likewise.
8335 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8336 (exp10_test): Use ALL_RM_TEST.
8337 (exp10_tonearest_test_data): Remove.
8338 (exp10_test_tonearest): Likewise.
8339 (exp10_towardzero_test_data): Likewise.
8340 (exp10_test_towardzero): Likewise.
8341 (exp10_downward_test_data): Likewise.
8342 (exp10_test_downward): Likewise.
8343 (exp10_upward_test_data): Likewise.
8344 (exp10_test_upward): Likewise.
8345 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8346 (expm1_test_data): Likewise.
8347 (expm1_test): Use ALL_RM_TEST.
8348 (expm1_tonearest_test_data): Remove.
8349 (expm1_test_tonearest): Likewise.
8350 (expm1_towardzero_test_data): Likewise.
8351 (expm1_test_towardzero): Likewise.
8352 (expm1_downward_test_data): Likewise.
8353 (expm1_test_downward): Likewise.
8354 (expm1_upward_test_data): Likewise.
8355 (expm1_test_upward): Likewise.
8356 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8357 (fma_test): Use ALL_RM_TEST.
8358 (fma_towardzero_test_data): Remove.
8359 (fma_test_towardzero): Likewise.
8360 (fma_downward_test_data): Likewise.
8361 (fma_test_downward): Likewise.
8362 (fma_upward_test_data): Likewise.
8363 (fma_test_upward): Likewise.
8364 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8365 (j0_test_data): Update call to AUTO_TESTS_f_f.
8366 (j1_test_data): Likewise.
8367 (jn_test_data): Update call to AUTO_TESTS_if_f.
8368 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8369 (log_test_data): Update call to AUTO_TESTS_f_f.
8370 (log10_test_data): Likewise.
8371 (log1p_test_data): Likewise.
8372 (log2_test_data): Likewise.
8373 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8374 (pow_tonearest_test_data): Likewise.
8375 (sin_test_data): Update call to AUTO_TESTS_f_f.
8376 (sin_test): Use ALL_RM_TEST.
8377 (sin_tonearest_test_data): Remove.
8378 (sin_test_tonearest): Likewise.
8379 (sin_towardzero_test_data): Likewise.
8380 (sin_test_towardzero): Likewise.
8381 (sin_downward_test_data): Likewise.
8382 (sin_test_downward): Likewise.
8383 (sin_upward_test_data): Likewise.
8384 (sin_test_upward): Likewise.
8385 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8386 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8387 (sinh_test): Use ALL_RM_TEST.
8388 (sinh_tonearest_test_data): Remove.
8389 (sinh_test_tonearest): Likewise.
8390 (sinh_towardzero_test_data): Likewise.
8391 (sinh_test_towardzero): Likewise.
8392 (sinh_downward_test_data): Likewise.
8393 (sinh_test_downward): Likewise.
8394 (sinh_upward_test_data): Likewise.
8395 (sinh_test_upward): Likewise.
8396 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8397 (sqrt_test): Use ALL_RM_TEST.
8398 (sqrt_tonearest_test_data): Remove.
8399 (sqrt_test_tonearest): Likewise.
8400 (sqrt_towardzero_test_data): Likewise.
8401 (sqrt_test_towardzero): Likewise.
8402 (sqrt_downward_test_data): Likewise.
8403 (sqrt_test_downward): Likewise.
8404 (sqrt_upward_test_data): Likewise.
8405 (sqrt_test_upward): Likewise.
8406 (tan_test_data): Update call to AUTO_TESTS_f_f.
8407 (tan_test): Use ALL_RM_TEST.
8408 (tan_tonearest_test_data): Remove.
8409 (tan_test_tonearest): Likewise.
8410 (tan_towardzero_test_data): Likewise.
8411 (tan_test_towardzero): Likewise.
8412 (tan_downward_test_data): Likewise.
8413 (tan_test_downward): Likewise.
8414 (tan_upward_test_data): Likewise.
8415 (tan_test_upward): Likewise.
8416 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8417 (tgamma_test_data): Likewise.
8418 (y0_test_data): Likewise.
8419 (y1_test_data): Likewise.
8420 (yn_test_data): Update call to AUTO_TESTS_if_f.
8421 (main): Do not call removed functions.
8423 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8425 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8426 (ldexp_test_data): Remove.
8427 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8429 (scalb_test): Use ALL_RM_TEST.
8431 2014-03-19 Andreas Schwab <schwab@suse.de>
8433 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8435 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8438 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8439 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8440 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8442 (__ASSUME_PREADV): Undefine.
8443 (__ASSUME_PWRITEV): Likewise.
8445 2014-03-18 Roland McGrath <roland@hack.frob.com>
8447 * bits/mman-linux.h: Add comment about non-Linux use.
8448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8449 bits/mman-linux.h resting place.
8451 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8452 * bits/mman-linux.h: ... here.
8454 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8456 * conform/conformtest.pl: Add standard definition when calling C
8457 preprocessor on data files.
8458 (checknamespace): Remove unused variable.
8460 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8462 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8463 minus_oflow, plus_uflow and minus_uflow in expected results.
8464 * math/libm-test.inc (scalbn_test_data): Add more tests of
8465 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8467 (scalbn_test): Use ALL_RM_TEST.
8468 (scalbln_test_data): Add more tests of negative arguments. Use
8469 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8470 (scalbln_test): Use ALL_RM_TEST.
8472 2014-03-18 Roland McGrath <roland@hack.frob.com>
8474 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8476 2014-03-18 Will Newton <will.newton@linaro.org>
8478 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8481 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8483 * Makerules [!subdir] (check-abi): Exit with error status if a
8486 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8488 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8489 for rint. Include results for all rounding modes.
8490 (nearbyint_test): Use ALL_RM_TEST.
8491 (rint_test_data): Include all tests used for nearbyint.
8493 2014-03-17 Will Newton <will.newton@linaro.org>
8495 * nptl/sysdeps/pthread/pthread.h: Revert previous
8498 * sysdeps/generic/ldsodefs.h: Revert previous
8501 * libio/genops.c: Revert previous change.
8502 * libio/libioP.h: Likewise.
8503 * stdio-common/vfprintf.c: Likewise.
8505 * sysdeps/generic/math_private.h: Revert previous
8508 * sysdeps/generic/math_private.h: Check whether
8509 HAVE_RM_CTX is defined with #ifdef rather
8512 * argp/argp-fmtstream.h: Check whether
8513 __STRICT_ANSI__ is defined with #ifdef rather
8515 * argp/argp.h: Likewise.
8517 * libio/genops.c: Check whether
8518 _IO_JUMPS_OFFSET is defined with #ifdef rather
8520 * libio/libioP.h: Likewise.
8521 * stdio-common/vfprintf.c: Likewise.
8523 * sysdeps/generic/ldsodefs.h: Check whether
8524 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8527 * nptl/sysdeps/pthread/pthread.h: Check
8528 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8531 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8533 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8535 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8539 * libio/fileops.c (_IO_file_open): Seek to end of file but
8540 don't cache the offset.
8541 (get_file_offset): Remove function.
8542 (do_ftell): Use cached offset when available.
8543 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8544 don't cache the offset.
8545 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8547 (do_one_test): Call it.
8548 (do_ftell_test): Fix up expected old offset for a+ mode.
8549 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8552 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8553 up test status with function return status.
8554 (do_write_test): Likewise.
8555 (do_append_test): Likewise.
8557 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8558 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8561 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8563 * math/gen-libm-test.pl (parse_args): Handle results specified for
8564 each rounding mode separately.
8565 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8566 tests and results from lrint_tonearest_test_data,
8567 lrint_towardzero_test_data, lrint_downward_test_data and
8568 lrint_upward_test_data.
8569 (lrint_test): Use ALL_RM_TEST.
8570 (lrint_tonearest_test_data): Remove.
8571 (lrint_test_tonearest): Likewise.
8572 (lrint_towardzero_test_data): Likewise.
8573 (lrint_test_towardzero): Likewise.
8574 (lrint_downward_test_data): Likewise.
8575 (lrint_test_downward): Likewise.
8576 (lrint_upward_test_data): Likewise.
8577 (lrint_test_upward): Likewise.
8578 (llrint_test_data): Merge in per-rounding-mode tests and results
8579 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8580 llrint_downward_test_data and llrint_upward_test_data.
8581 (llrint_test): Use ALL_RM_TEST.
8582 (llrint_tonearest_test_data): Remove.
8583 (llrint_test_tonearest): Likewise.
8584 (llrint_towardzero_test_data): Likewise.
8585 (llrint_test_towardzero): Likewise.
8586 (llrint_downward_test_data): Likewise.
8587 (llrint_test_downward): Likewise.
8588 (llrint_upward_test_data): Likewise.
8589 (llrint_test_upward): Likewise.
8590 (rint_test_data): Merge in per-rounding-mode tests and results
8591 from rint_tonearest_test_data, rint_towardzero_test_data,
8592 rint_downward_test_data and rint_upward_test_data. Add
8593 per-rounding-mode results for tests not in those arrays.
8594 (rint_test): Use ALL_RM_TEST.
8595 (rint_tonearest_test_data): Remove.
8596 (rint_test_tonearest): Likewise.
8597 (rint_towardzero_test_data): Likewise.
8598 (rint_test_towardzero): Likewise.
8599 (rint_downward_test_data): Likewise.
8600 (rint_test_downward): Likewise.
8601 (rint_upward_test_data): Likewise.
8602 (rint_test_upward): Likewise.
8603 (main): Don't call removed functions.
8605 2014-03-14 Roland McGrath <roland@hack.frob.com>
8607 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8608 "Compiled on ..." crapola. It is anti-useful.
8610 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8612 * scripts/evaluate-test.sh: Handle fourth argument to determine
8613 whether test run should stop on failure.
8614 * Makeconfig (stop-on-test-failure): New variable.
8615 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8616 $(stop-on-test-failure).
8617 * Makefile (tests): Give a summary of results from testing and
8618 exit with failure status if they include an ERROR or FAIL.
8620 * manual/install.texi (Configuring and compiling): Mention
8621 stop-on-test-failure=y.
8622 * INSTALL: Regenerated.
8624 2014-03-14 Roland McGrath <roland@hack.frob.com>
8626 * scripts/versionlist.awk: New file.
8627 * Makerules [$(build-shared) = yes]
8628 (postclean-generated): Add Versions.def, not Versions.def.v and
8630 ($(common-objpfx)Versions.def.v.i): Target removed.
8631 ($(common-objpfx)Versions.def): New target.
8632 ($(common-objpfx)Versions.all): Depend on that rather that
8633 $(common-objpfx)Versions.def.v.
8634 * Versions.def: File removed.
8636 * Makeconfig (+gccwarn): Add -Wundef.
8637 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8638 a dl-sysdep.h breaking its contract.
8639 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8640 * include/stackinfo.h: New file.
8641 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8642 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8643 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8644 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8645 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8646 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8647 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8648 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8649 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8650 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8651 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8652 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8653 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8654 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8655 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8657 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8660 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8662 * math/libm-test.inc (round_test_data): Add more tests.
8665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8667 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8670 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8672 * math/libm-test.inc (ceil_test_data): Add more tests.
8674 * math/libm-test.inc (trunc_test_data): Add more tests related to
8677 2014-03-14 Roland McGrath <roland@hack.frob.com>
8679 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8680 with #if rather than #ifdef.
8681 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8683 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8685 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8686 first. Disable AVX-512 GCC support if assembler doesn't support
8688 * sysdeps/x86_64/configure: Regenerated.
8690 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8692 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8693 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8694 (__old_pthread_attr_setstack): Likewise.
8695 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8696 [!_STACK_GROWS_DOWN]: Likewise.
8698 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8700 * config.make.in (have-bash2): Delete.
8701 * configure.ac (libc_cv_have_bash2): Delete.
8702 * configure: Regenerate.
8703 * elf/Makefile (common-ldd-rewrite): Rename to ...
8704 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8705 (sh-ldd-rewrite): Delete.
8706 (bash-ldd-rewrite): Delete.
8707 (have-bash2): Delete checks.
8708 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8711 * config.make.in (have-ksh): Delete.
8713 * configure.ac (libc_cv_have_ksh): Delete.
8714 * configure: Regenerate.
8716 * elf/Makefile: Delete $(have-ksh) check.
8717 ($(objpfx)sotruss): Change KSH to BASH.
8718 * elf/sotruss.ksh: Rename to ...
8719 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8720 function style to match POSIX. Drop ksh vim mode setting.
8722 * manual/time.texi (Specifying the Time Zone with TZ): Change
8723 Tuesday to Thursday.
8725 * debug/tst-longjmp_chk2.c: Update header comment.
8726 (stackoverflow_handler): Add comment. Call assert on pass value.
8728 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8731 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8732 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8733 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8734 (La_x86_64_vector): Add zmm.
8735 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8736 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8737 ($(objpfx)tst-audit10): New target.
8738 ($(objpfx)tst-audit10.out): Likewise.
8739 (tst-audit10-ENV): New.
8740 (AVX512-CFLAGS): Likewise.
8741 (CFLAGS-tst-audit10.c): Likewise.
8742 (CFLAGS-tst-auditmod10a.c): Likewise.
8743 (CFLAGS-tst-auditmod10b.c): Likewise.
8744 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8745 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8746 * sysdeps/x86_64/configure: Regenerated.
8747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8748 AVX-512 zmm register support.
8749 (_dl_x86_64_save_sse): Likewise.
8750 (_dl_x86_64_restore_sse): Likewise.
8751 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8752 size vector registers.
8753 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8754 (ZMM_SIZE): Likewise.
8755 * sysdeps/x86_64/tst-audit10.c: New file.
8756 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8757 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8759 2014-03-13 Roland McGrath <roland@hack.frob.com>
8761 * configure.ac (HAVE_EHDR_START): New check.
8762 * configure: Regenerated.
8763 * config.h.in (HAVE_EHDR_START): New #undef.
8764 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8765 assuming the lowest-addressed segment maps the start of the file.
8767 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8769 * INSTALL: Regenerated.
8771 2014-03-13 Will Newton <will.newton@linaro.org>
8773 * manual/setjmp.texi (System V contexts): Improve
8774 clarity and grammar of documentation.
8776 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8779 * elf/Makefile (tests): Add tst-pie2.
8780 (tests-pie): Add tst-pie2.
8781 * elf/tst-pie2.c: New file.
8782 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8784 * elf/rtld.c (map_doit): Load executable as lt_executable.
8785 (dl_main): Likewise.
8787 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8791 (__ASSUME_PSELECT): Undefine.
8793 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8797 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8800 selector for static builds.
8802 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8808 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8810 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8811 IFUNC selector for static builds.
8813 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8815 * sysdeps/mips/math_private.h [__mips_hard_float]
8816 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8817 libc_feresetround_mips_ctx.
8818 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8819 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8820 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8823 * math/s_nextafter.c (__nextafter): Do not return value from
8824 overflowing computation.
8825 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8826 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8831 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8832 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8834 2014-03-11 Roland McGrath <roland@hack.frob.com>
8836 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8837 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8838 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8839 the new mov targetting sp.
8841 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8844 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8845 Define it for static builds as well.
8846 (NO_BZERO_IMPL): Likewise.
8848 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8850 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8851 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8852 multiarch strspn for PPC64.
8853 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8854 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8856 (__libc_ifunc_impl_list): Likewise.
8857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8858 multiarch optimizations
8859 * string/strspn.c (strspn): Using macro to redefine symbol name.
8861 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8862 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8865 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8866 multiarch strncat for PPC64.
8867 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8868 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8870 (__libc_ifunc_impl_list): Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8872 multiarch optimizations
8874 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8877 * nscd/nscd.service: Make service type forking.
8879 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8881 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8882 sign in non default rounding modes.
8883 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8885 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8887 * math/libm-test.inc (ALL_RM_TEST): New macro.
8888 (ceil_test): Use ALL_RM_TEST.
8889 (cimag_test): Likewise.
8890 (conj_test): Likewise.
8891 (copysign_test): Likewise.
8892 (cproj_test): Likewise.
8893 (creal_test): Likewise.
8894 (fabs_test): Likewise.
8895 (floor_test): Likewise.
8896 (fmax_test): Likewise.
8897 (fmin_test): Likewise.
8898 (fmod_test): Likewise.
8899 (fpclassify_test): Likewise.
8900 (frexp_test): Likewise.
8901 (ilogb_test): Likewise.
8902 (isfinite_test): Likewise.
8903 (finite_test): Likewise.
8904 (isgreater_test): Likewise.
8905 (isgreaterequal_test): Likewise.
8906 (isinf_test): Likewise.
8907 (isless_test): Likewise.
8908 (islessequal_test): Likewise.
8909 (islessgreater_test): Likewise.
8910 (isnan_test): Likewise.
8911 (isnormal_test): Likewise.
8912 (issignaling_test): Likewise.
8913 (isunordered_test): Likewise.
8914 (logb_test): Likewise.
8915 (logb_downward_test_data): Remove.
8916 (logb_test_downward): Likewise.
8917 (lround_test): Use ALL_RM_TEST.
8918 (llround_test): Likewise.
8919 (modf_test): Likewise.
8920 (nexttoward_test): Likewise.
8921 (remainder_test): Likewise.
8922 (drem_test): Likewise.
8923 (remainder_tonearest_test_data): Likewise.
8924 (remainder_test_tonearest): Likewise.
8925 (drem_test_tonearest): Likewise.
8926 (remainder_towardzero_test_data): Likewise.
8927 (remainder_test_towardzero): Likewise.
8928 (drem_test_towardzero): Likewise.
8929 (remainder_downward_test_data): Likewise.
8930 (remainder_test_downward): Likewise.
8931 (drem_test_downward): Likewise.
8932 (remainder_upward_test_data): Likewise.
8933 (remainder_test_upward): Likewise.
8934 (drem_test_upward): Likewise.
8935 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8936 (round_test): Use ALL_RM_TEST.
8937 (signbit_test): Likewise.
8938 (trunc_test): Likewise.
8939 (significand_test): Likewise.
8940 (main): Don't call removed functions.
8942 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8945 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8968 (TRAP_TRACE): Likewise.
8969 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8971 (CLD_KILLED): Likewise.
8972 (CLD_DUMPED): Likewise.
8973 (CLD_TRAPPED): Likewise.
8974 (CLD_STOPPED): Likewise.
8975 (CLD_CONTINUED): Likewise.
8976 (POLL_IN): Likewise.
8977 (POLL_OUT): Likewise.
8978 (POLL_MSG): Likewise.
8979 (POLL_ERR): Likewise.
8980 (POLL_PRI): Likewise.
8981 (POLL_HUP): Likewise.
8982 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8984 (ILL_ILLOPN): Likewise.
8985 (ILL_ILLADR): Likewise.
8986 (ILL_ILLTRP): Likewise.
8987 (ILL_PRVOPC): Likewise.
8988 (ILL_PRVREG): Likewise.
8989 (ILL_COPROC): Likewise.
8990 (ILL_BADSTK): Likewise.
8991 (FPE_INTDIV): Likewise.
8992 (FPE_INTOVF): Likewise.
8993 (FPE_FLTDIV): Likewise.
8994 (FPE_FLTOVF): Likewise.
8995 (FPE_FLTUND): Likewise.
8996 (FPE_FLTRES): Likewise.
8997 (FPE_FLTINV): Likewise.
8998 (FPE_FLTSUB): Likewise.
8999 (SEGV_MAPERR): Likewise.
9000 (SEGV_ACCERR): Likewise.
9001 (BUS_ADRALN): Likewise.
9002 (BUS_ADRERR): Likewise.
9003 (BUS_OBJERR): Likewise.
9004 (BUS_MCEERR_AR): Likewise.
9005 (BUS_MCEERR_AO): Likewise.
9006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9007 (TRAP_TRACE): Likewise.
9008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9010 (CLD_KILLED): Likewise.
9011 (CLD_DUMPED): Likewise.
9012 (CLD_TRAPPED): Likewise.
9013 (CLD_STOPPED): Likewise.
9014 (CLD_CONTINUED): Likewise.
9015 (POLL_IN): Likewise.
9016 (POLL_OUT): Likewise.
9017 (POLL_MSG): Likewise.
9018 (POLL_ERR): Likewise.
9019 (POLL_PRI): Likewise.
9020 (POLL_HUP): Likewise.
9021 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9022 (ILL_ILLOPN): Likewise.
9023 (ILL_ILLADR): Likewise.
9024 (ILL_ILLTRP): Likewise.
9025 (ILL_PRVOPC): Likewise.
9026 (ILL_PRVREG): Likewise.
9027 (ILL_COPROC): Likewise.
9028 (ILL_BADSTK): Likewise.
9029 (FPE_INTDIV): Likewise.
9030 (FPE_INTOVF): Likewise.
9031 (FPE_FLTDIV): Likewise.
9032 (FPE_FLTOVF): Likewise.
9033 (FPE_FLTUND): Likewise.
9034 (FPE_FLTRES): Likewise.
9035 (FPE_FLTINV): Likewise.
9036 (FPE_FLTSUB): Likewise.
9037 (SEGV_MAPERR): Likewise.
9038 (SEGV_ACCERR): Likewise.
9039 (BUS_ADRALN): Likewise.
9040 (BUS_ADRERR): Likewise.
9041 (BUS_OBJERR): Likewise.
9042 (BUS_MCEERR_AR): Likewise.
9043 (BUS_MCEERR_AO): Likewise.
9044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9045 (TRAP_TRACE): Likewise.
9046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9048 (CLD_KILLED): Likewise.
9049 (CLD_DUMPED): Likewise.
9050 (CLD_TRAPPED): Likewise.
9051 (CLD_STOPPED): Likewise.
9052 (CLD_CONTINUED): Likewise.
9053 (POLL_IN): Likewise.
9054 (POLL_OUT): Likewise.
9055 (POLL_MSG): Likewise.
9056 (POLL_ERR): Likewise.
9057 (POLL_PRI): Likewise.
9058 (POLL_HUP): Likewise.
9059 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9061 (ILL_ILLOPN): Likewise.
9062 (ILL_ILLADR): Likewise.
9063 (ILL_ILLTRP): Likewise.
9064 (ILL_PRVOPC): Likewise.
9065 (ILL_PRVREG): Likewise.
9066 (ILL_COPROC): Likewise.
9067 (ILL_BADSTK): Likewise.
9068 (ILL_BADIADDR): Likewise.
9069 (ILL_BREAK): Likewise.
9070 (FPE_INTDIV): Likewise.
9071 (FPE_INTOVF): Likewise.
9072 (FPE_FLTDIV): Likewise.
9073 (FPE_FLTOVF): Likewise.
9074 (FPE_FLTUND): Likewise.
9075 (FPE_FLTRES): Likewise.
9076 (FPE_FLTINV): Likewise.
9077 (FPE_FLTSUB): Likewise.
9078 (FPE_DECOVF): Likewise.
9079 (FPE_DECDIV): Likewise.
9080 (FPE_DECERR): Likewise.
9081 (FPE_INVASC): Likewise.
9082 (FPE_INVDEC): Likewise.
9083 (SEGV_MAPERR): Likewise.
9084 (SEGV_ACCERR): Likewise.
9085 (SEGV_PSTKOVF): Likewise.
9086 (BUS_ADRALN): Likewise.
9087 (BUS_ADRERR): Likewise.
9088 (BUS_OBJERR): Likewise.
9089 (BUS_MCEERR_AR): Likewise.
9090 (BUS_MCEERR_AO): Likewise.
9091 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9092 (TRAP_TRACE): Likewise.
9093 (TRAP_BRANCH): Likewise.
9094 (TRAP_HWBKPT): Likewise.
9095 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9097 (CLD_KILLED): Likewise.
9098 (CLD_DUMPED): Likewise.
9099 (CLD_TRAPPED): Likewise.
9100 (CLD_STOPPED): Likewise.
9101 (CLD_CONTINUED): Likewise.
9102 (POLL_IN): Likewise.
9103 (POLL_OUT): Likewise.
9104 (POLL_MSG): Likewise.
9105 (POLL_ERR): Likewise.
9106 (POLL_PRI): Likewise.
9107 (POLL_HUP): Likewise.
9108 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9109 (ILL_ILLOPN): Likewise.
9110 (ILL_ILLADR): Likewise.
9111 (ILL_ILLTRP): Likewise.
9112 (ILL_PRVOPC): Likewise.
9113 (ILL_PRVREG): Likewise.
9114 (ILL_COPROC): Likewise.
9115 (ILL_BADSTK): Likewise.
9116 (FPE_INTDIV): Likewise.
9117 (FPE_INTOVF): Likewise.
9118 (FPE_FLTDIV): Likewise.
9119 (FPE_FLTOVF): Likewise.
9120 (FPE_FLTUND): Likewise.
9121 (FPE_FLTRES): Likewise.
9122 (FPE_FLTINV): Likewise.
9123 (FPE_FLTSUB): Likewise.
9124 (SEGV_MAPERR): Likewise.
9125 (SEGV_ACCERR): Likewise.
9126 (BUS_ADRALN): Likewise.
9127 (BUS_ADRERR): Likewise.
9128 (BUS_OBJERR): Likewise.
9129 (BUS_MCEERR_AR): Likewise.
9130 (BUS_MCEERR_AO): Likewise.
9131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9132 (TRAP_TRACE): Likewise.
9133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9135 (CLD_KILLED): Likewise.
9136 (CLD_DUMPED): Likewise.
9137 (CLD_TRAPPED): Likewise.
9138 (CLD_STOPPED): Likewise.
9139 (CLD_CONTINUED): Likewise.
9140 (POLL_IN): Likewise.
9141 (POLL_OUT): Likewise.
9142 (POLL_MSG): Likewise.
9143 (POLL_ERR): Likewise.
9144 (POLL_PRI): Likewise.
9145 (POLL_HUP): Likewise.
9146 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9147 (ILL_ILLOPN): Likewise.
9148 (ILL_ILLADR): Likewise.
9149 (ILL_ILLTRP): Likewise.
9150 (ILL_PRVOPC): Likewise.
9151 (ILL_PRVREG): Likewise.
9152 (ILL_COPROC): Likewise.
9153 (ILL_BADSTK): Likewise.
9154 (FPE_INTDIV): Likewise.
9155 (FPE_INTOVF): Likewise.
9156 (FPE_FLTDIV): Likewise.
9157 (FPE_FLTOVF): Likewise.
9158 (FPE_FLTUND): Likewise.
9159 (FPE_FLTRES): Likewise.
9160 (FPE_FLTINV): Likewise.
9161 (FPE_FLTSUB): Likewise.
9162 (SEGV_MAPERR): Likewise.
9163 (SEGV_ACCERR): Likewise.
9164 (BUS_ADRALN): Likewise.
9165 (BUS_ADRERR): Likewise.
9166 (BUS_OBJERR): Likewise.
9167 (BUS_MCEERR_AR): Likewise.
9168 (BUS_MCEERR_AO): Likewise.
9169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9170 (TRAP_TRACE): Likewise.
9171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9173 (CLD_KILLED): Likewise.
9174 (CLD_DUMPED): Likewise.
9175 (CLD_TRAPPED): Likewise.
9176 (CLD_STOPPED): Likewise.
9177 (CLD_CONTINUED): Likewise.
9178 (POLL_IN): Likewise.
9179 (POLL_OUT): Likewise.
9180 (POLL_MSG): Likewise.
9181 (POLL_ERR): Likewise.
9182 (POLL_PRI): Likewise.
9183 (POLL_HUP): Likewise.
9184 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9185 (ILL_ILLOPN): Likewise.
9186 (ILL_ILLADR): Likewise.
9187 (ILL_ILLTRP): Likewise.
9188 (ILL_PRVOPC): Likewise.
9189 (ILL_PRVREG): Likewise.
9190 (ILL_COPROC): Likewise.
9191 (ILL_BADSTK): Likewise.
9192 (FPE_INTDIV): Likewise.
9193 (FPE_INTOVF): Likewise.
9194 (FPE_FLTDIV): Likewise.
9195 (FPE_FLTOVF): Likewise.
9196 (FPE_FLTUND): Likewise.
9197 (FPE_FLTRES): Likewise.
9198 (FPE_FLTINV): Likewise.
9199 (FPE_FLTSUB): Likewise.
9200 (SEGV_MAPERR): Likewise.
9201 (SEGV_ACCERR): Likewise.
9202 (BUS_ADRALN): Likewise.
9203 (BUS_ADRERR): Likewise.
9204 (BUS_OBJERR): Likewise.
9205 (BUS_MCEERR_AR): Likewise.
9206 (BUS_MCEERR_AO): Likewise.
9207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9208 (TRAP_TRACE): Likewise.
9209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9211 (CLD_KILLED): Likewise.
9212 (CLD_DUMPED): Likewise.
9213 (CLD_TRAPPED): Likewise.
9214 (CLD_STOPPED): Likewise.
9215 (CLD_CONTINUED): Likewise.
9216 (POLL_IN): Likewise.
9217 (POLL_OUT): Likewise.
9218 (POLL_MSG): Likewise.
9219 (POLL_ERR): Likewise.
9220 (POLL_PRI): Likewise.
9221 (POLL_HUP): Likewise.
9222 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9223 (ILL_ILLOPN): Likewise.
9224 (ILL_ILLADR): Likewise.
9225 (ILL_ILLTRP): Likewise.
9226 (ILL_PRVOPC): Likewise.
9227 (ILL_PRVREG): Likewise.
9228 (ILL_COPROC): Likewise.
9229 (ILL_BADSTK): Likewise.
9230 (ILL_DBLFLT): Likewise.
9231 (ILL_HARDWALL): Likewise.
9232 (FPE_INTDIV): Likewise.
9233 (FPE_INTOVF): Likewise.
9234 (FPE_FLTDIV): Likewise.
9235 (FPE_FLTOVF): Likewise.
9236 (FPE_FLTUND): Likewise.
9237 (FPE_FLTRES): Likewise.
9238 (FPE_FLTINV): Likewise.
9239 (FPE_FLTSUB): Likewise.
9240 (SEGV_MAPERR): Likewise.
9241 (SEGV_ACCERR): Likewise.
9242 (BUS_ADRALN): Likewise.
9243 (BUS_ADRERR): Likewise.
9244 (BUS_OBJERR): Likewise.
9245 (BUS_MCEERR_AR): Likewise.
9246 (BUS_MCEERR_AO): Likewise.
9247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9248 (TRAP_TRACE): Likewise.
9249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9251 (CLD_KILLED): Likewise.
9252 (CLD_DUMPED): Likewise.
9253 (CLD_TRAPPED): Likewise.
9254 (CLD_STOPPED): Likewise.
9255 (CLD_CONTINUED): Likewise.
9256 (POLL_IN): Likewise.
9257 (POLL_OUT): Likewise.
9258 (POLL_MSG): Likewise.
9259 (POLL_ERR): Likewise.
9260 (POLL_PRI): Likewise.
9261 (POLL_HUP): Likewise.
9262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9263 (ILL_ILLOPN): Likewise.
9264 (ILL_ILLADR): Likewise.
9265 (ILL_ILLTRP): Likewise.
9266 (ILL_PRVOPC): Likewise.
9267 (ILL_PRVREG): Likewise.
9268 (ILL_COPROC): Likewise.
9269 (ILL_BADSTK): Likewise.
9270 (FPE_INTDIV): Likewise.
9271 (FPE_INTOVF): Likewise.
9272 (FPE_FLTDIV): Likewise.
9273 (FPE_FLTOVF): Likewise.
9274 (FPE_FLTUND): Likewise.
9275 (FPE_FLTRES): Likewise.
9276 (FPE_FLTINV): Likewise.
9277 (FPE_FLTSUB): Likewise.
9278 (SEGV_MAPERR): Likewise.
9279 (SEGV_ACCERR): Likewise.
9280 (BUS_ADRALN): Likewise.
9281 (BUS_ADRERR): Likewise.
9282 (BUS_OBJERR): Likewise.
9283 (BUS_MCEERR_AR): Likewise.
9284 (BUS_MCEERR_AO): Likewise.
9285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9286 (TRAP_TRACE): Likewise.
9287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9289 (CLD_KILLED): Likewise.
9290 (CLD_DUMPED): Likewise.
9291 (CLD_TRAPPED): Likewise.
9292 (CLD_STOPPED): Likewise.
9293 (CLD_CONTINUED): Likewise.
9294 (POLL_IN): Likewise.
9295 (POLL_OUT): Likewise.
9296 (POLL_MSG): Likewise.
9297 (POLL_ERR): Likewise.
9298 (POLL_PRI): Likewise.
9299 (POLL_HUP): Likewise.
9300 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9301 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9304 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9305 before #include of <time.h>.
9306 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9307 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9308 (test-xfail-UNIX98/sched.h/conform): Likewise.
9310 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9313 error absence of trapping exception support.
9314 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9316 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9318 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9319 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9320 * timezone/Makefile (testdata): Move definition above include of
9322 (test-zones): New variable.
9323 (tests-special): Add zone files.
9324 (build-testdata): Use $(evaluate-test).
9326 * elf/Makefile (tests-special): Rename tests to end with .out.
9327 ($(objpfx)noload-mem): Likewise.
9328 ($(objpfx)tst-leaks1-mem): Likewise.
9329 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9330 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9331 $(objpfx)test-iconvconfig.out.
9332 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9333 set -e inside subshell and redirect output to file.
9334 * iconvdata/Makefile (generated): Rename tests to end with .out.
9336 (tests-special): Rename tests to end with .out.
9337 ($(objpfx)mtrace-tst-loading): Likewise.
9338 * intl/Makefile (generated): Likewise.
9339 (tests-special): Likewise.
9340 ($(objpfx)mtrace-tst-gettext): Likewise.
9341 * misc/Makefile (generated): Likewise.
9342 (tests-special): Likewise.
9343 ($(objpfx)tst-error1-mem): Likewise.
9344 * nptl/Makefile (tests-special): Likewise.
9345 ($(objpfx)tst-stack3-mem): Likewise.
9346 (generated): Likewise.
9347 * posix/Makefile (generated): Likewise.
9348 (tests-special): Likewise.
9349 (xtests-special): Likewise.
9350 ($(objpfx)tst-fnmatch-mem): Likewise.
9351 ($(objpfx)bug-regex2-mem): Likewise.
9352 ($(objpfx)bug-regex14-mem): Likewise.
9353 ($(objpfx)bug-regex21-mem): Likewise.
9354 ($(objpfx)bug-regex31-mem): Likewise.
9355 ($(objpfx)tst-vfork3-mem): Likewise.
9356 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9357 ($(objpfx)tst-pcre-mem): Likewise.
9358 ($(objpfx)tst-boost-mem): Likewise.
9359 ($(objpfx)bug-ga2-mem): Likewise.
9360 ($(objpfx)bug-glob2-mem): Likewise.
9361 * resolv/Makefile (generate): Likewise.
9362 (tests-special): Likewise.
9363 (xtests-special): Likewise.
9364 (generated): Likewise.
9365 ($(objpfx)mtrace-tst-leaks): Likewise.
9366 ($(objpfx)mtrace-tst-leaks2): Likewise.
9368 * scripts/merge-test-results.sh: New file.
9369 * Makefile (tests-special-notdir): New variable.
9370 (tests): Run merge-test-results.sh.
9372 * Rules (tests-special-notdir): New variable.
9373 (xtests-special-notdir): Likewise.
9374 (tests): Run merge-test-results.sh
9377 * Makeconfig (test-xfail-name): New variable.
9378 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9379 compute variable name for expected failures.
9380 * conform/Makefile (conformtest-headers-data): New variable.
9381 (conformtest-standards): Likewise.
9382 (conformtest-headers-ISO): Likewise.
9383 (conformtest-headers-ISO99): Likewise.
9384 (conformtest-headers-ISO11): Likewise.
9385 (conformtest-headers-POSIX): Likewise.
9386 (conformtest-headers-XPG3): Likewise.
9387 (conformtest-headers-XPG4): Likewise.
9388 (conformtest-headers-UNIX98): Likewise.
9389 (conformtest-headers-XOPEN2K): Likewise.
9390 (conformtest-headers-POSIX2008): Likewise.
9391 (conformtest-headers-XOPEN2K8): Likewise.
9392 (conformtest-header-list-base): Likewise.
9393 (conformtest-header-list-tests): Likewise.
9394 (conformtest-header-base): Likewise.
9395 (conformtest-header-tests): Likewise.
9396 (tests-special): Add $(conformtest-header-list-tests). If
9397 [$(fast-check) && !$(cross-compiling)], add
9398 $(conformtest-header-tests) instead of
9399 $(objpfx)run-conformtest.out.
9400 (generated): Add $(conformtest-header-list-base). If
9401 [$(fast-check) && !$(cross-compiling)], add
9402 $(conformtest-header-base). Remove previous setting.
9403 ($(conformtest-header-list-tests)): New target.
9404 (test-xfail-run-conformtest): Remove variable.
9405 ($(objpfx)run-conformtest.out): Remove target.
9406 (test-xfail-ISO11/complex.h/conform): New variable.
9407 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9408 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9409 (test-xfail-XPG3/varargs.h/conform): Likewise.
9410 (test-xfail-XPG4/varargs.h/conform): Likewise.
9411 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9412 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9413 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9414 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9415 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9416 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9417 (test-xfail-XPG3/ftw.h/conform): Likewise.
9418 (test-xfail-XPG3/grp.h/conform): Likewise.
9419 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9420 (test-xfail-XPG3/limits.h/conform): Likewise.
9421 (test-xfail-XPG3/pwd.h/conform): Likewise.
9422 (test-xfail-XPG3/search.h/conform): Likewise.
9423 (test-xfail-XPG3/signal.h/conform): Likewise.
9424 (test-xfail-XPG3/stdio.h/conform): Likewise.
9425 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9426 (test-xfail-XPG3/string.h/conform): Likewise.
9427 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9428 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9429 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9430 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9431 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9432 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9433 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9434 (test-xfail-XPG3/termios.h/conform): Likewise.
9435 (test-xfail-XPG3/time.h/conform): Likewise.
9436 (test-xfail-XPG3/unistd.h/conform): Likewise.
9437 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9438 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9439 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9440 (test-xfail-XPG4/netdb.h/conform): Likewise.
9441 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9442 (test-xfail-XPG4/signal.h/conform): Likewise.
9443 (test-xfail-XPG4/stdio.h/conform): Likewise.
9444 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9445 (test-xfail-XPG4/stropts.h/conform): Likewise.
9446 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9447 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9448 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9449 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9450 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9451 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9452 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9453 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9454 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9455 (test-xfail-XPG4/termios.h/conform): Likewise.
9456 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9457 (test-xfail-XPG4/unistd.h/conform): Likewise.
9458 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9459 (test-xfail-POSIX/sched.h/conform): Likewise.
9460 (test-xfail-POSIX/signal.h/conform): Likewise.
9461 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9462 (test-xfail-POSIX/tar.h/conform): Likewise.
9463 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9464 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9465 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9466 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9467 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9468 (test-xfail-UNIX98/sched.h/conform): Likewise.
9469 (test-xfail-UNIX98/signal.h/conform): Likewise.
9470 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9471 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9472 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9473 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9474 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9475 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9476 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9477 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9478 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9479 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9480 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9481 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9482 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9483 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9484 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9485 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9486 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9487 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9488 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9489 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9490 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9491 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9492 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9493 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9494 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9495 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9496 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9497 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9498 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9499 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9500 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9501 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9502 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9503 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9504 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9505 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9506 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9507 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9508 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9509 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9510 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9511 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9512 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9513 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9514 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9515 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9516 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9517 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9518 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9519 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9520 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9521 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9522 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9523 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9524 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9525 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9526 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9527 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9528 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9529 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9530 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9531 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9532 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9533 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9534 (conformtest-cc-flags): Likewise.
9535 ($(conformtest-header-tests): New target.
9536 * conform/check-header-lists.sh: New file.
9537 * conform/run-conformtest.sh: Remove.
9539 * conform/conformtest.pl: Allow ' and \ in values given for
9541 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9543 [POSIX] (sys/types.h): Likewise.
9544 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9546 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9548 * conform/data/signal.h-data (SIGIO): Remove expectation.
9549 [XPG3] (SIGBUS): Do not expect.
9550 [POSIX || XPG3] (SIGPOLL): Likewise.
9551 [POSIX || XPG3] (SIGPROF): Likewise.
9552 [POSIX || XPG3] (SIGSYS): Likewise.
9553 [XPG3] (SIGTRAP): Likewise.
9554 [POSIX || XPG3] (SIGURG): Likewise.
9555 [POSIX || XPG3] (SIGVTALRM): Likewise.
9556 [POSIX || XPG3] (SIGXCPU): Likewise.
9557 [POSIX || XPG3] (SIGXFSZ): Likewise.
9558 [POSIX] (SA_SIGINFO): Expect.
9559 [XPG3] (siginfo_t): Do not expect type or contents.
9560 [POSIX] (si_pid): Do not expect element.
9561 [POSIX] (si_uid): Likewise.
9562 [POSIX] (si_addr): Likewise.
9563 [POSIX] (si_status): Likewise.
9564 [POSIX] (si_band): Likewise.
9565 [XPG4] (si_value): Likewise.
9566 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9567 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9568 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9569 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9570 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9571 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9572 [POSIX || XPG3] (ILL_COPROC): Likewise.
9573 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9574 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9575 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9576 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9577 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9578 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9579 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9580 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9581 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9582 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9583 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9584 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9585 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9586 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9587 [POSIX || XPG3] (CLD_EXITED): Likewise.
9588 [POSIX || XPG3] (CLD_KILLED): Likewise.
9589 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9590 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9591 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9592 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9593 [POSIX || XPG3] (POLL_IN): Likewise.
9594 [POSIX || XPG3] (POLL_OUT): Likewise.
9595 [POSIX || XPG3] (POLL_MSG): Likewise.
9596 [POSIX || XPG3] (POLL_ERR): Likewise.
9597 [POSIX || XPG3] (POLL_PRI): Likewise.
9598 [POSIX || XPG3] (POLL_HUP): Likewise.
9599 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9600 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9601 (SIG*): Do not allow.
9602 [XPG3] (si_*): Likewise.
9603 [XPG3] (SI_*): Likewise.
9604 [XPG3 || XPG4] (sigev_*): Likewise.
9605 [XPG3 || XPG4] (SIGEV_*): Likewise.
9606 [XPG3 || XPG4] (sival_*): Likewise.
9607 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9608 [POSIX || XPG3] (BUS_*): Likewise.
9609 [POSIX || XPG3] (CLD_*): Likewise.
9610 [POSIX || XPG3] (FPE_*): Likewise.
9611 [POSIX || XPG3] (ILL_*): Likewise.
9612 [POSIX || XPG3] (POLL_*): Likewise.
9613 [POSIX || XPG3] (SEGV_*): Likewise.
9614 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9615 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9616 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9617 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9618 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9619 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9620 Specify type and value.
9621 (TVERSLEN): Likewise.
9622 (REGTYPE): Likewise.
9623 (AREGTYPE): Likewise.
9624 (LNKTYPE): Likewise.
9625 (SYMTYPE): Likewise.
9626 (CHRTYPE): Likewise.
9627 (BLKTYPE): Likewise.
9628 (DIRTYPE): Likewise.
9629 (FIFOTYPE): Likewise.
9630 (CONTTYPE): Likewise.
9635 (TUWRITE): Likewise.
9638 (TGWRITE): Likewise.
9641 (TOWRITE): Likewise.
9643 [POSIX] (TSVTX): Expect constant.
9645 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9647 * Makefile (tests): Change dependencies to ....
9648 (tests-special): ... additions to this variable.
9649 (tests): Depend on $(tests-special).
9650 * Makerules (check-abi-list): New variable.
9651 (check-abi): Depend on $(check-abi-list).
9652 [$(subdir) = elf] (tests-special): Add
9653 $(objpfx)check-abi-libc.out.
9654 [$(build-shared) = yes && subdir] (tests-special): Add
9656 [$(build-shared) = yes && subdir] (tests): Do not depend on
9658 * Rules (tests): Depend on $(tests-special).
9659 (xtests): Depend on $(xtests-special).
9660 * catgets/Makefile (tests): Change dependencies to ....
9661 (tests-special): ... additions to this variable.
9662 * conform/Makefile (tests): Change dependencies to ....
9663 (tests-special): ... additions to this variable.
9664 * elf/Makefile (tests): Change dependencies to ....
9665 (tests-special): ... additions to this variable.
9666 * grp/Makefile (tests): Change dependencies to ....
9667 (tests-special): ... additions to this variable.
9668 * iconv/Makefile (xtests): Change dependencies to ....
9669 (xtests-special): ... additions to this variable.
9670 * iconvdata/Makefile (tests): Change dependencies to ....
9671 (tests-special): ... additions to this variable.
9672 * intl/Makefile (tests): Change dependencies to ....
9673 (tests-special): ... additions to this variable. Also add
9674 $(objpfx)tst-gettext.out.
9675 * io/Makefile (tests): Change dependencies to ....
9676 (tests-special): ... additions to this variable.
9677 * libio/Makefile (tests): Change dependencies to ....
9678 (tests-special): ... additions to this variable.
9679 * malloc/Makefile (tests): Change dependencies to ....
9680 (tests-special): ... additions to this variable.
9681 * misc/Makefile (tests): Change dependencies to ....
9682 (tests-special): ... additions to this variable.
9683 * nptl/Makefile (tests): Change dependencies to ....
9684 (tests-special): ... additions to this variable.
9685 * nptl_db/Makefile (tests): Change dependencies to ....
9686 (tests-special): ... additions to this variable.
9687 * posix/Makefile (tests): Change dependencies to ....
9688 (tests-special): ... additions to this variable.
9689 (xtests): Change dependencies to ....
9690 (xtests-special): ... additions to this variable.
9691 * resolv/Makefile (tests): Change dependencies to ....
9692 (tests-special): ... additions to this variable.
9693 (xtests): Change dependencies to ....
9694 (xtests-special): ... additions to this variable.
9695 * stdio-common/Makefile (tests): Change dependencies to ....
9696 (tests-special): ... additions to this variable.
9697 (do-tst-unbputc): Remove target.
9698 (do-tst-printf): Likewise.
9699 * stdlib/Makefile (tests): Change dependencies to ....
9700 (tests-special): ... additions to this variable.
9701 * string/Makefile (tests): Change dependencies to ....
9702 (tests-special): ... additions to this variable.
9703 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9704 (tests-special): ... additions to this variable.
9706 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9708 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9710 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9711 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9713 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9714 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9715 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9716 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9717 * conform/data/libgen.h-data [XPG3]: Likewise.
9718 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9719 * conform/data/ndbm.h-data [XPG3]: Likewise.
9720 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9721 * conform/data/netdb.h-data [XPG3]: Likewise.
9722 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9723 * conform/data/poll.h-data [XPG3]: Likewise.
9724 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9725 * conform/data/strings.h-data [XPG3]: Likewise.
9726 * conform/data/stropts.h-data [XPG3]: Likewise.
9727 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9728 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9729 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9731 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9732 * conform/data/sys/time.h-data [XPG3]: Likewise.
9733 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9734 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9735 * conform/data/sys/un.h-data [XPG3]: Likewise.
9736 * conform/data/syslog.h-data [XPG3]: Likewise.
9737 * conform/data/ucontext.h-data [XPG3]: Likewise.
9738 * conform/data/utmpx.h-data [XPG3]: Likewise.
9739 * conform/data/varargs.h-data [UNIX98]: Enable file.
9741 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9743 * math/libm-test.inc (struct test_f_f_data): Move expected results
9744 into structure for each rounding mode.
9745 (struct test_ff_f_data): Likewise.
9746 (struct test_ff_f_data_nexttoward): Likewise.
9747 (struct test_fi_f_data): Likewise.
9748 (struct test_fl_f_data): Likewise.
9749 (struct test_if_f_data): Likewise.
9750 (struct test_fff_f_data): Likewise.
9751 (struct test_c_f_data): Likewise.
9752 (struct test_f_f1_data): Likewise.
9753 (struct test_fF_f1_data): Likewise.
9754 (struct test_ffI_f1_data): Likewise.
9755 (struct test_c_c_data): Likewise.
9756 (struct test_cc_c_data): Likewise.
9757 (struct test_f_i_data): Likewise.
9758 (struct test_ff_i_data): Likewise.
9759 (struct test_f_l_data): Likewise.
9760 (struct test_f_L_data): Likewise.
9761 (struct test_fFF_11_data): Likewise.
9763 (RM_FE_DOWNWARD): Likewise.
9764 (RM_FE_TONEAREST): Likewise.
9765 (RM_FE_TOWARDZERO): Likewise.
9766 (RM_FE_UPWARD): Likewise.
9767 (RUN_TEST_LOOP_f_f): Update references to expected results.
9768 (RUN_TEST_LOOP_2_f): Likewise.
9769 (RUN_TEST_LOOP_fff_f): Likewise.
9770 (RUN_TEST_LOOP_c_f): Likewise.
9771 (RUN_TEST_LOOP_f_f1): Likewise.
9772 (RUN_TEST_LOOP_fF_f1): Likewise.
9773 (RUN_TEST_LOOP_fI_f1): Likewise.
9774 (RUN_TEST_LOOP_ffI_f1): Likewise.
9775 (RUN_TEST_LOOP_c_c): Likewise.
9776 (RUN_TEST_LOOP_cc_c): Likewise.
9777 (RUN_TEST_LOOP_f_i): Likewise.
9778 (RUN_TEST_LOOP_f_i_tg): Likewise.
9779 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9780 (RUN_TEST_LOOP_f_b): Likewise.
9781 (RUN_TEST_LOOP_f_b_tg): Likewise.
9782 (RUN_TEST_LOOP_f_l): Likewise.
9783 (RUN_TEST_LOOP_f_L): Likewise.
9784 (RUN_TEST_LOOP_fFF_11): Likewise.
9785 * math/gen-libm-test.pl (parse_args): Output four copies of
9786 expected results for each test.
9788 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9789 (__ASSUME_UTIMES): Remove.
9790 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9791 (__ASSUME_UTIMES): Likewise.
9793 * math/gen-auto-libm-tests.c: Update comment on output format.
9794 (output_for_one_input_case): Generate before-rounding and
9795 after-rounding information as conditions on output flags not
9796 floating-point format.
9797 * math/auto-libm-test-out: Regenerated.
9798 * math/gen-libm-test.pl (cond_value): New function.
9799 (or_cond_value): Use cond_value.
9800 (generate_testfile): Handle conditional exceptions.
9802 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9804 * math/libm-test.inc (max_valid_error): New variable.
9805 (init_max_error): Take new argument specifying whether function
9806 results are exactly determined. Set max_valid_error and bound
9807 other variables for errors based on this argument.
9808 (set_max_error): Do not record results above max_valid_error.
9809 (check_float_internal): Only accept errors of up to 0.5ulps if
9810 also at most max_valid_error.
9811 (START): Take new argument EXACT and pass it to init_max_error.
9812 (acos_test): Update call to START.
9813 (acos_test_tonearest): Likewise.
9814 (acos_test_towardzero): Likewise.
9815 (acos_test_downward): Likewise.
9816 (acos_test_upward): Likewise.
9817 (acosh_test): Likewise.
9818 (asin_test): Likewise.
9819 (asin_test_tonearest): Likewise.
9820 (asin_test_towardzero): Likewise.
9821 (asin_test_downward): Likewise.
9822 (asin_test_upward): Likewise.
9823 (asinh_test): Likewise.
9824 (atan_test): Likewise.
9825 (atanh_test): Likewise.
9826 (atan2_test): Likewise.
9827 (cabs_test): Likewise.
9828 (cacos_test): Likewise.
9829 (cacosh_test): Likewise.
9830 (carg_test): Likewise.
9831 (casin_test): Likewise.
9832 (casinh_test): Likewise.
9833 (catan_test): Likewise.
9834 (catanh_test): Likewise.
9835 (cbrt_test): Likewise.
9836 (ccos_test): Likewise.
9837 (ccosh_test): Likewise.
9838 (ceil_test): Likewise.
9839 (cexp_test): Likewise.
9840 (cimag_test): Likewise.
9841 (clog_test): Likewise.
9842 (clog10_test): Likewise.
9843 (conj_test): Likewise.
9844 (copysign_test): Likewise.
9845 (cos_test): Likewise.
9846 (cos_test_tonearest): Likewise.
9847 (cos_test_towardzero): Likewise.
9848 (cos_test_downward): Likewise.
9849 (cos_test_upward): Likewise.
9850 (cosh_test): Likewise.
9851 (cosh_test_tonearest): Likewise.
9852 (cosh_test_towardzero): Likewise.
9853 (cosh_test_downward): Likewise.
9854 (cosh_test_upward): Likewise.
9855 (cpow_test): Likewise.
9856 (cproj_test): Likewise.
9857 (creal_test): Likewise.
9858 (csin_test): Likewise.
9859 (csinh_test): Likewise.
9860 (csqrt_test): Likewise.
9861 (ctan_test): Likewise.
9862 (ctan_test_tonearest): Likewise.
9863 (ctan_test_towardzero): Likewise.
9864 (ctan_test_downward): Likewise.
9865 (ctan_test_upward): Likewise.
9866 (ctanh_test): Likewise.
9867 (ctanh_test_tonearest): Likewise.
9868 (ctanh_test_towardzero): Likewise.
9869 (ctanh_test_downward): Likewise.
9870 (ctanh_test_upward): Likewise.
9871 (erf_test): Likewise.
9872 (erfc_test): Likewise.
9873 (exp_test): Likewise.
9874 (exp_test_tonearest): Likewise.
9875 (exp_test_towardzero): Likewise.
9876 (exp_test_downward): Likewise.
9877 (exp_test_upward): Likewise.
9878 (exp10_test): Likewise.
9879 (exp10_test_tonearest): Likewise.
9880 (exp10_test_towardzero): Likewise.
9881 (exp10_test_downward): Likewise.
9882 (exp10_test_upward): Likewise.
9883 (pow10_test): Likewise.
9884 (exp2_test): Likewise.
9885 (expm1_test): Likewise.
9886 (expm1_test_tonearest): Likewise.
9887 (expm1_test_towardzero): Likewise.
9888 (expm1_test_downward): Likewise.
9889 (expm1_test_upward): Likewise.
9890 (fabs_test): Likewise.
9891 (fdim_test): Likewise.
9892 (floor_test): Likewise.
9893 (fma_test): Likewise.
9894 (fma_test_towardzero): Likewise.
9895 (fma_test_downward): Likewise.
9896 (fma_test_upward): Likewise.
9897 (fmax_test): Likewise.
9898 (fmin_test): Likewise.
9899 (fmod_test): Likewise.
9900 (fpclassify_test): Likewise.
9901 (frexp_test): Likewise.
9902 (hypot_test): Likewise.
9903 (ilogb_test): Likewise.
9904 (isfinite_test): Likewise.
9905 (finite_test): Likewise.
9906 (isgreater_test): Likewise.
9907 (isgreaterequal_test): Likewise.
9908 (isinf_test): Likewise.
9909 (isless_test): Likewise.
9910 (islessequal_test): Likewise.
9911 (islessgreater_test): Likewise.
9912 (isnan_test): Likewise.
9913 (isnormal_test): Likewise.
9914 (issignaling_test): Likewise.
9915 (isunordered_test): Likewise.
9916 (j0_test): Likewise.
9917 (j1_test): Likewise.
9918 (jn_test): Likewise.
9919 (ldexp_test): Likewise.
9920 (lgamma_test): Likewise.
9921 (gamma_test): Likewise.
9922 (lrint_test): Likewise.
9923 (lrint_test_tonearest): Likewise.
9924 (lrint_test_towardzero): Likewise.
9925 (lrint_test_downward): Likewise.
9926 (lrint_test_upward): Likewise.
9927 (llrint_test): Likewise.
9928 (llrint_test_tonearest): Likewise.
9929 (llrint_test_towardzero): Likewise.
9930 (llrint_test_downward): Likewise.
9931 (llrint_test_upward): Likewise.
9932 (log_test): Likewise.
9933 (log10_test): Likewise.
9934 (log1p_test): Likewise.
9935 (log2_test): Likewise.
9936 (logb_test): Likewise.
9937 (logb_test_downward): Likewise.
9938 (lround_test): Likewise.
9939 (llround_test): Likewise.
9940 (modf_test): Likewise.
9941 (nearbyint_test): Likewise.
9942 (nextafter_test): Likewise.
9943 (nexttoward_test): Likewise.
9944 (pow_test): Likewise.
9945 (pow_test_tonearest): Likewise.
9946 (pow_test_towardzero): Likewise.
9947 (pow_test_downward): Likewise.
9948 (pow_test_upward): Likewise.
9949 (remainder_test): Likewise.
9950 (drem_test): Likewise.
9951 (remainder_test_tonearest): Likewise.
9952 (drem_test_tonearest): Likewise.
9953 (remainder_test_towardzero): Likewise.
9954 (drem_test_towardzero): Likewise.
9955 (remainder_test_downward): Likewise.
9956 (drem_test_downward): Likewise.
9957 (remainder_test_upward): Likewise.
9958 (drem_test_upward): Likewise.
9959 (remquo_test): Likewise.
9960 (rint_test): Likewise.
9961 (rint_test_tonearest): Likewise.
9962 (rint_test_towardzero): Likewise.
9963 (rint_test_downward): Likewise.
9964 (rint_test_upward): Likewise.
9965 (round_test): Likewise.
9966 (scalb_test): Likewise.
9967 (scalbn_test): Likewise.
9968 (scalbln_test): Likewise.
9969 (signbit_test): Likewise.
9970 (sin_test): Likewise.
9971 (sin_test_tonearest): Likewise.
9972 (sin_test_towardzero): Likewise.
9973 (sin_test_downward): Likewise.
9974 (sin_test_upward): Likewise.
9975 (sincos_test): Likewise.
9976 (sinh_test): Likewise.
9977 (sinh_test_tonearest): Likewise.
9978 (sinh_test_towardzero): Likewise.
9979 (sinh_test_downward): Likewise.
9980 (sinh_test_upward): Likewise.
9981 (sqrt_test): Likewise.
9982 (sqrt_test_tonearest): Likewise.
9983 (sqrt_test_towardzero): Likewise.
9984 (sqrt_test_downward): Likewise.
9985 (sqrt_test_upward): Likewise.
9986 (tan_test): Likewise.
9987 (tan_test_tonearest): Likewise.
9988 (tan_test_towardzero): Likewise.
9989 (tan_test_downward): Likewise.
9990 (tan_test_upward): Likewise.
9991 (tanh_test): Likewise.
9992 (tgamma_test): Likewise.
9993 (trunc_test): Likewise.
9994 (y0_test): Likewise.
9995 (y1_test): Likewise.
9996 (yn_test): Likewise.
9997 (significand_test): Likewise.
9999 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10000 individual tests in comment.
10001 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10002 (prev_max_error): New variable.
10003 (prev_real_max_error): Likewise.
10004 (prev_imag_max_error): Likewise.
10005 (compare_ulp_data): Don't refer to test names in comment.
10006 (find_test_ulps): Remove function.
10007 (find_function_ulps): Likewise.
10008 (find_complex_function_ulps): Likewise.
10009 (init_max_error): Take function name as argument. Look up ulps
10011 (print_ulps): Remove function.
10012 (print_max_error): Use prev_max_error instead of calling
10013 find_function_ulps.
10014 (print_complex_max_error): Use prev_real_max_error and
10015 prev_imag_max_error instead of calling find_complex_function_ulps.
10016 (check_float_internal): Take max_ulp parameter instead of calling
10017 find_test_ulps. Don't call print_ulps.
10018 (check_float): Update call to check_float_internal.
10019 (check_complex): Update calls to check_float_internal.
10020 (START): Pass argument to init_max_error.
10021 * math/gen-libm-test.pl (%results): Don't include "kind"
10023 (parse_ulps): Don't handle ulps of individual tests.
10024 (print_ulps_file): Likewise.
10025 (output_ulps): Likewise.
10026 * math/README.libm-test: Update.
10027 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10029 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10030 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10031 * sysdeps/arm/libm-test-ulps: Likewise.
10032 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10033 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10034 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10035 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10036 * sysdeps/microblaze/libm-test-ulps: Likewise.
10037 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10038 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10040 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10041 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10042 * sysdeps/sh/libm-test-ulps: Likewise.
10043 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10044 * sysdeps/tile/libm-test-ulps: Likewise.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10047 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10049 * math/libm-test.inc (print_complex_max_error): Check separately
10050 whether real and imaginary errors are within allowed range and
10051 pass 0 to print_complex_function_ulps instead of value within
10054 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10056 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10058 (get_handles_fopen): Likewise.
10059 (do_write_test): Likewise.
10061 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10063 * libio/fileops.c (do_ftell): Use cached offset when
10065 * libio/iofwide.c (do_ftell_wide): Likewise.
10066 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10068 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10071 * libio/libioP.h (get_file_offset): New function.
10072 * libio/fileops.c (get_file_offset): Likewise.
10073 (do_ftell): Likewise.
10074 (_IO_new_file_seekoff): Split out ftell logic.
10075 * libio/wfileops.c (do_ftell_wide): Likewise.
10076 (_IO_wfile_seekoff): Split out ftell logic.
10077 * libio/tst-ftell-active-handler.c: New test case.
10078 * libio/Makefile (tests): Add it.
10080 2014-03-03 Roland McGrath <roland@hack.frob.com>
10082 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10083 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10085 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10088 * nscd/connections.c (nscd_init): Call do_exit.
10089 (start_threads): Call do_exit and notify_parent.
10090 (begin_drop_privileges): Call do_exit.
10091 (finish_drop_privileges): Likewise.
10092 * nscd/selinux.c (preserve_capabilities): Likewise.
10093 (install_real_capabilities): Likewise.
10094 (nscd_selinux_enabled): Likewise.
10095 (avc_create_thread): Likewise.
10096 (avc_alloc_lock): Likewise.
10097 (nscd_avc_init): Likewise.
10098 * nscd/nscd.c (parent_fd): New static variable.
10099 (main): Create a pipe between parent and child processes.
10100 Skip closing parent_fd.
10101 (monitor_child): New function.
10102 (do_exit): Likewise.
10103 (notify_parent): Likewise.
10104 * nscd/nscd.h (notify_parent): Likewise.
10105 (do_exit): Likewise.
10107 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10109 * malloc/malloc.c (__libc_calloc): Revert last change.
10111 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10115 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10117 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10121 (__libc_ifunc_impl_list): Likewise.
10122 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10123 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10124 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10125 * string/strrchr.c: Define STRRCHR.
10127 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10129 * benchtest/bench-strtok.c (simple_strtok): Delete.
10130 (strtok_string): Use as benchmark.
10131 * string/strtok (STRTOK): New macro.
10133 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10135 * manual/threads.texi: Add header and standard comments to all
10138 * elf/dl-lookup.c (check_match): New function.
10139 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10140 (do_lookup_x): Remove nested function check_match. Use non-nested
10141 function check_match.
10143 2014-02-28 Roland McGrath <roland@hack.frob.com>
10145 * csu/Makefile (generated, before-compile): Use += rather than =.
10146 * catgets/Makefile (generated, generated-dirs): Likewise.
10147 * debug/Makefile (generated): Likewise.
10148 * dlfcn/Makefile (generated): Likewise.
10149 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10150 * iconvdata/Makefile (before-compile, generated): Likewise.
10151 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10152 * libio/Makefile (generated): Likewise.
10153 * malloc/Makefile (generated): Likewise.
10154 * manual/Makefile (generated, generated-dirs): Likewise.
10155 * misc/Makefile (generated): Likewise.
10156 * posix/Makefile (generated): Likewise.
10157 * resolv/Makefile (generated): Likewise.
10158 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10159 * timezone/Makefile (generated, generated-dirs): Likewise.
10161 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10163 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10166 power8 implementation.
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10168 file: POWER8 llround ifunc implementation.
10169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10170 (__lllround): Add POWER8 implementation.
10171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10172 POWER8 llround implementation.
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10175 power8 implementation.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10177 file: POWER8 llrint ifunc implementation.
10178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10179 Add POWER8 implementation.
10180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10181 POWER8 llrint implementation.
10183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10184 power8 implementation.
10185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10186 file: POWER8 finite ifunc implementation.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10188 Add POWER8 implementation.
10189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10191 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10192 POWER8 finite implementation.
10193 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10196 power8 implementation.
10197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10198 file: POWER8 isinf ifunc implementation.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10200 POWER8 implementation.
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10203 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10204 isinf implementation.
10205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10208 (INIT_ARCH): Add hwcap2 initialization.
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10210 power8 implementation.
10211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10212 file: POWER8 isnan ifunc implementation.
10213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10214 POWER8 implementation.
10215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10218 isnan implementation.
10219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10221 2014-02-27 Joey Ye <joey.ye@arm.com>
10223 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10224 (_FP_NANFRAC_Q): Set to zero.
10226 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10229 * math/auto-libm-test-in: New test inputs.
10230 * math/auto-libm-test-out: Regenerate.
10231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10234 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10236 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10238 * scripts/evaluate-test.sh: Take new argument indicating whether
10239 failure is expected.
10240 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10241 indicating whether failure is expected.
10242 * conform/Makefile (test-xfail-run-conformtest): New variable.
10243 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10245 * posix/Makefile (test-xfail-annexc): New variable.
10246 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10248 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10250 * argp/Makefile: Include Makeconfig immediately after defining
10252 * assert/Makefile: Likewise.
10253 * benchtests/Makefile: Likewise.
10254 * catgets/Makefile: Likewise.
10255 * conform/Makefile: Likewise.
10256 * crypt/Makefile: Likewise.
10257 * csu/Makefile: Likewise.
10258 (all): Remove target.
10259 * ctype/Makefile: Include Makeconfig immediately after defining
10261 * debug/Makefile: Likewise.
10262 * dirent/Makefile: Likewise.
10263 * dlfcn/Makefile: Likewise.
10264 * gmon/Makefile: Likewise.
10265 * gnulib/Makefile: Likewise.
10266 * grp/Makefile: Likewise.
10267 * gshadow/Makefile: Likewise.
10268 * hesiod/Makefile: Likewise.
10269 * hurd/Makefile: Likewise.
10270 (all): Remove target.
10271 * iconvdata/Makefile: Include Makeconfig immediately after
10273 * inet/Makefile: Likewise.
10274 * intl/Makefile: Likewise.
10275 * io/Makefile: Likewise.
10276 * libio/Makefile: Likewise.
10277 (all): Remove target.
10278 * locale/Makefile: Include Makeconfig immediately after defining
10280 * login/Makefile: Likewise.
10281 * mach/Makefile: Likewise.
10282 (all): Remove target.
10283 * malloc/Makefile: Include Makeconfig immediately after defining
10285 (all): Remove target.
10286 * manual/Makefile: Include Makeconfig immediately after defining
10288 * math/Makefile: Likewise.
10289 * misc/Makefile: Likewise.
10290 * nis/Makefile: Likewise.
10291 * nss/Makefile: Likewise.
10292 * po/Makefile: Likewise.
10293 (all): Remove target.
10294 * posix/Makefile: Include Makeconfig immediately after defining
10296 * pwd/Makefile: Likewise.
10297 * resolv/Makefile: Likewise.
10298 * resource/Makefile: Likewise.
10299 * rt/Makefile: Likewise.
10300 * setjmp/Makefile: Likewise.
10301 * shadow/Makefile: Likewise.
10302 * signal/Makefile: Likewise.
10303 * socket/Makefile: Likewise.
10304 * soft-fp/Makefile: Likewise.
10305 * stdio-common/Makefile: Likewise.
10306 * stdlib/Makefile: Likewise.
10307 * streams/Makefile: Likewise.
10308 * string/Makefile: Likewise.
10309 * sunrpc/Makefile: Likewise.
10310 (all): Remove target.
10311 * sysvipc/Makefile: Include Makeconfig immediately after defining
10313 * termios/Makefile: Likewise.
10314 * time/Makefile: Likewise.
10315 * timezone/Makefile: Likewise.
10316 (all): Remove target.
10317 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10319 * wctype/Makefile: Likewise.
10321 2014-02-26 Steve Ellcey <sellcey@mips.com>
10323 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10324 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10325 (libc_feholdexcept_setround_mips): Ditto.
10326 (libc_feholdsetround): New.
10327 (libc_feholdsetroundf): New.
10328 (libc_feholdsetroundl): New.
10329 (libc_feupdateenv_test_mips): New.
10330 (libc_feupdateenv_test): New.
10331 (libc_feupdateenv_testf): New.
10332 (libc_feupdateenv_testl): New.
10333 (libc_feresetround): New.
10334 (libc_feresetroundf): New.
10335 (libc_feresetroundl): New.
10336 (libc_fetestexcept_mips): New.
10337 (libc_fetestexcept): New.
10338 (libc_fetestexceptf): New.
10339 (libc_fetestexceptl): New.
10340 (HAVE_RM_CTX): New.
10341 (libc_feholdexcept_setround_mips_ctx): New.
10342 (libc_feholdexcept_setround_ctx): New.
10343 (libc_feholdexcept_setroundf_ctx): New.
10344 (libc_feholdexcept_setroundl_ctx): New.
10345 (libc_fesetenv_mips_ctx): New.
10346 (libc_fesetenv_ctx): New.
10347 (libc_fesetenv_ctxf): New.
10348 (libc_fesetenv_ctxl): New.
10349 (libc_feupdateenv_mips_ctx): New.
10350 (libc_feupdateenv_ctx): New.
10351 (libc_feupdateenvf_ctx): New.
10352 (libc_feupdateenvl_ctx): New.
10353 (libc_feholdsetround_mips_ctx): New.
10354 (libc_feholdsetround_ctx): New.
10355 (libc_feholdsetroundf_ctx): New.
10356 (libc_feholdsetroundl_ctx): New.
10357 (libc_feresetround_mips_ctx): New.
10358 (libc_feresetround_ctx): New.
10359 (libc_feresetroundf_ctx): New.
10360 (libc_feresetroundl_ctx): New.
10362 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10364 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10366 * manual/ipc.texi: New file.
10367 * manual/Makefile (chapters): Add ipc.
10368 * manual/job.texi: Add "Inter-Process Communication" to next.
10369 * manual/process.texi: Add "Inter-Process Communication" to prev.
10371 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10375 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10377 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10379 * manual/arith.texi: Fix spaces after sentences.
10380 * manual/charset.texi: Likewise.
10381 * manual/errno.texi: Likewise.
10382 * manual/install.texi: Likewise.
10383 * manual/llio.texi: Likewise.
10384 * manual/locale.texi: Likewise.
10385 * manual/maint.texi: Likewise.
10386 * manual/math.texi: Likewise.
10387 * manual/memory.texi: Likewise.
10388 * manual/message.texi: Likewise.
10389 * manual/probes.texi: Likewise.
10390 * manual/resource.texi: Likewise.
10391 * manual/signal.texi: Likewise.
10392 * manual/socket.texi: Likewise.
10393 * manual/stdio.texi: Likewise.
10394 * manual/string.texi: Likewise.
10395 * manual/time.texi: Likewise.
10396 * manual/users.texi: Likewise.
10398 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10401 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10402 _DEFAULT_SOURCE is defined.
10404 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10405 Carlos O'Donell <carlos@redhat.com>
10408 * elf/dl-tls.c (_dl_count_modids): New function.
10409 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10410 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10411 audit library and increment generation counter.
10412 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10413 * elf/tst-audit9.c: New file.
10414 * elf/tst-auditmod9a.c: New file.
10415 * elf/tst-auditmod9b.c: New file.
10416 * elf/Makefile: Add rules to build and run tst-audit9.
10418 2014-02-25 Florian Weimer <fweimer@redhat.com>
10421 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10423 2014-02-25 Will Newton <will.newton@linaro.org>
10425 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10426 (__longjmp): Restore sp and lr before restoring callee
10427 saved registers. Add longjmp and longjmp_target
10428 SystemTap probe point.
10429 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10430 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10431 Define to zero to match jmpbuf layout.
10432 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10433 (__sigsetjmp): Save sp and lr before saving callee
10434 saved registers. Add setjmp SystemTap probe point.
10436 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10438 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10440 2014-02-24 Andreas Schwab <schwab@suse.de>
10443 * elf/pldd.c (wait_for_ptrace_stop): New function.
10444 (main): Call it after attaching.
10446 2014-02-22 Roland McGrath <roland@hack.frob.com>
10448 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10449 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10450 Versions files is now verboten.
10451 * hurd/Versions (libc: GLIBC_2.0):
10452 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10453 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10454 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10455 * mach/Versions: Likewise.
10457 * csu/Versions: Remove unused %include.
10458 * resolv/Versions: Likewise.
10460 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10462 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10463 ($(objpfx)check-local-headers.out): Likewise.
10464 ($(objpfx)begin-end-check.out): Likewise.
10465 * Makerules (check-abi-%.out): Likewise.
10466 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10467 ($(objpfx)test2.cat): Likewise.
10468 ($(objpfx)de/libc.cat): Likewise.
10469 ($(objpfx)test-gencat.out): Likewise.
10470 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10471 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10472 ($(objpfx)noload-mem): Likewise.
10473 ($(objpfx)tst-pathopt.out): Likewise.
10474 ($(objpfx)tst-rtld-load-self.out): Likewise.
10475 ($(objpfx)tst-array1-cmp.out): Likewise.
10476 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10477 ($(objpfx)tst-array2-cmp.out): Likewise.
10478 ($(objpfx)tst-array3-cmp.out): Likewise.
10479 ($(objpfx)tst-array4-cmp.out): Likewise.
10480 ($(objpfx)tst-array5-cmp.out): Likewise.
10481 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10482 ($(objpfx)check-textrel.out): Likewise.
10483 ($(objpfx)check-execstack.out): Likewise.
10484 ($(objpfx)check-localplt.out): Likewise.
10485 ($(objpfx)order2-cmp.out): Likewise.
10486 ($(objpfx)tst-leaks1-mem): Likewise.
10487 ($(objpfx)tst-leaks1-static-mem): Likewise.
10488 ($(objpfx)tst-initorder-cmp.out): Likewise.
10489 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10490 ($(objpfx)tst-unused-dep.out): Likewise.
10491 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10492 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10493 * iconv/Makefile (test-iconvconfig): Likewise.
10494 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10495 ($(objpfx)iconv-test.out): Likewise.
10496 ($(objpfx)tst-tables.out): Likewise.
10497 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10498 ($(objpfx)tst-gettext.out): Likewise.
10499 ($(objpfx)tst-translit.out): Likewise.
10500 ($(objpfx)tst-gettext2.out): Likewise.
10501 ($(objpfx)tst-gettext4.out): Likewise.
10502 ($(objpfx)tst-gettext6.out): Likewise.
10503 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10504 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10505 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10506 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10507 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10508 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10509 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10510 ($(objpfx)wordexp-tst.out): Likewise.
10511 ($(objpfx)annexc.out): Likewise.
10512 ($(objpfx)tst-fnmatch-mem): Likewise.
10513 ($(objpfx)bug-regex2-mem): Likewise.
10514 ($(objpfx)bug-regex14-mem): Likewise.
10515 ($(objpfx)bug-regex21-mem): Likewise.
10516 ($(objpfx)bug-regex31-mem): Likewise.
10517 ($(objpfx)tst-vfork3-mem): Likewise.
10518 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10519 ($(objpfx)tst-pcre-mem): Likewise.
10520 ($(objpfx)tst-boost-mem): Likewise.
10521 ($(objpfx)tst-getconf.out): Likewise.
10522 ($(objpfx)bug-ga2-mem): Likewise.
10523 ($(objpfx)bug-glob2-mem): Likewise.
10524 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10525 ($(objpfx)mtrace-tst-leaks2): Likewise.
10526 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10527 ($(objpfx)tst-printf.out): Likewise.
10528 ($(objpfx)tst-setvbuf1.out): Likewise.
10529 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10530 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10531 ($(objpfx)tst-fmtmsg.out): Likewise.
10532 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10533 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10535 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10536 * bits/sigaction.h [__USE_MISC]: Likewise.
10537 * bits/waitstatus.h: Update #endif comments.
10538 * ctype/ctype.h: Likewise.
10539 * dirent/dirent.h: Likewise.
10540 [__USE_MISC]: Remove redundant conditionals.
10541 * grp/grp.h: Update #endif comments.
10542 [__USE_GNU]: Remove redundant conditionals.
10543 [__USE_MISC]: Likewise.
10544 * inet/netinet/in.h [__USE_GNU]: Likewise.
10545 * io/sys/stat.h [__USE_MISC]: Likewise.
10546 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10547 * libio/bits/stdio.h: Update #endif comments.
10548 [__USE_MISC]: Remove redundant conditionals.
10549 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10550 * libio/stdio.h: Update #endif comments.
10551 [__USE_MISC]: Remove redundant conditionals.
10552 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10553 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10554 * math/math.h: Update #else and #endif comments.
10555 [__USE_MISC]: Remove redundant conditionals.
10556 * misc/sys/uio.h: Update #endif comments.
10557 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10558 * posix/glob.h [__USE_MISC]: Likewise.
10559 * posix/sys/types.h: Update #endif comments.
10560 [__USE_MISC]: Remove redundant conditionals.
10561 * posix/sys/wait.h: Update #endif comments.
10562 [__USE_MISC]: Remove redundant conditionals.
10563 * posix/unistd.h: Update #endif comments.
10564 [__USE_MISC]: Remove redundant conditionals.
10565 * pwd/pwd.h [__USE_GNU]: Likewise.
10566 [__USE_MISC]: Likewise.
10567 * resolv/netdb.h [__USE_GNU]: Likewise.
10568 * signal/signal.h: Update #endif comments.
10569 [__USE_MISC]: Remove redundant conditionals.
10570 * stdlib/stdlib.h: Update #else and #endif comments.
10571 [__USE_MISC]: Remove redundant conditionals.
10572 [__USE_GNU]: Likewise.
10573 * string/bits/string2.h [__USE_MISC]: Likewise.
10574 * string/string.h: Update #endif comments.
10575 [__USE_MISC]: Remove redundant conditionals.
10576 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10578 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10579 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10580 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10582 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10586 [__USE_MISC]: Remove redundant conditionals.
10587 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10588 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10589 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10590 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10591 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10593 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10594 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10596 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10599 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10601 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10602 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10604 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10606 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10607 * sysdeps/x86/bits/string.h: Update #endif comments.
10608 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10610 * time/sys/time.h: Update #endif comments.
10611 * time/time.h: Likewise.
10612 [__USE_MISC]: Remove redundant conditionals.
10614 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10617 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10619 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10621 * Versions.def (librt): Add GLIBC_2.17.
10623 2014-02-21 Adam Conrad <adconrad@0c3.net>
10625 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10626 synonym for _SYS_AUXV_H to allow direct inclusion.
10627 * sysdeps/sparc/bits/hwcap.h: Likewise.
10628 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10629 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10630 * sysdeps/sparc/sysdep.h: Likewise.
10632 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10634 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10636 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10638 * benchtests/bench-strrchr.c: Print length instead of position.
10640 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10643 * sysdeps/unix/sysv/linux/kernel-features.h
10644 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10645 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10646 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10647 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10649 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10650 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10651 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10652 (__ASSUME_SENDMMSG): Define instead of using previous
10653 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10654 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10655 (__ASSUME_SENDMMSG_SYSCALL): Define.
10656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10657 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10660 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10662 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10663 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10665 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10666 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10667 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10668 [__ASSUME_SENDMMSG]: Change conditionals to
10669 [__ASSUME_SENDMMSG_SOCKETCALL].
10670 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10671 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10673 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10674 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10676 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10677 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10678 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10679 [!__ASSUME_SENDMMSG]: Change conditional to
10680 [!__ASSUME_SENDMMSG_SOCKETCALL].
10681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10682 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10686 * sysdeps/unix/sysv/linux/kernel-features.h
10687 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10688 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10689 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10690 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10691 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10692 [__i386__ || __sparc__]
10693 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10694 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10695 (__ASSUME_RECVMMSG): Define instead of using previous
10696 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10697 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10698 (__ASSUME_RECVMMSG_SYSCALL): Define.
10699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10703 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10706 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10708 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10709 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10710 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10711 [__ASSUME_RECVMMSG]: Change condition to
10712 [__ASSUME_RECVMMSG_SOCKETCALL].
10713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10714 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10716 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10717 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10718 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10720 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10721 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10722 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10723 [!__ASSUME_RECVMMSG]: Change condition to
10724 [!__ASSUME_RECVMMSG_SOCKETCALL].
10725 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10726 (__ASSUME_RECVMMSG_SYSCALL): Define.
10729 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10730 __powerpc__ || __s390__ || __sh__ || __sparc__]
10731 (__ASSUME_SOCKETCALL): Define.
10732 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10733 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10734 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10735 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10736 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10737 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10738 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10739 (__ASSUME_ACCEPT4): Define instead of using previous
10740 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10741 __powerpc__ || __sparc__ || __s390__)] condition.
10742 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10743 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10744 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10745 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10746 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10747 [!__ASSUME_ACCEPT4]: Change condition to
10748 [!__ASSUME_ACCEPT4_SOCKETCALL].
10749 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10750 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10751 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10753 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10754 __ASSUME_ACCEPT4_SYSCALL.
10755 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10756 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10758 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10759 __ASSUME_ACCEPT4_SYSCALL.
10760 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10761 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10762 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10763 [__ASSUME_ACCEPT4]: Change condition to
10764 [__ASSUME_ACCEPT4_SOCKETCALL].
10765 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10766 (__ASSUME_SOCKETCALL): Define.
10767 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10769 (__ASSUME_SOCKETCALL): Define.
10770 (__ASSUME_ACCEPT4): Remove.
10771 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10773 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10774 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10777 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10779 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10781 (HWCAP_ARM_LPAE): Likewise.
10782 (HWCAP_ARM_EVTSTRM): Likewise.
10783 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10784 Add vpfd32, lpae and evtstrm.
10785 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10788 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10790 * math/auto-libm-test-in: Add tests of clog10.
10791 * math/auto-libm-test-out: Regenerated.
10792 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10793 * sysdeps/i386/fpu/libm-test-ulps: Update.
10794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796 2014-02-18 Andreas Schwab <schwab@suse.de>
10799 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10800 Store non-zero if the second buffer was newly allocated.
10801 (send_dg): Likewise.
10802 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10803 to send_vc and send_dg.
10804 (res_nsend): Pass NULL for ansp2_malloced.
10805 * resolv/res_query.c (__libc_res_nquery): Add parameter
10806 answerp2_malloced and pass it down to __libc_res_nsend.
10807 (res_nquery): Pass additional NULL to __libc_res_nquery.
10808 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10809 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10810 second answer buffer if answerp2_malloced was set.
10811 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10812 (__libc_res_nquerydomain): Add parameter
10813 answerp2_malloced and pass it down to __libc_res_nquery.
10814 (res_nquerydomain): Pass additional NULL to
10815 __libc_res_nquerydomain.
10816 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10817 additional NULL to __libc_res_nsend and __libc_res_nquery.
10818 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10819 additional NULL to __libc_res_nsearch.
10820 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10821 parameter of __libc_res_nsearch to check for separately allocated
10823 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10825 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10826 additional NULL to __libc_res_nquery.
10827 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10828 __libc_res_nsearch.
10829 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10830 * include/resolv.h: Update prototypes of __libc_res_nquery,
10831 __libc_res_nsearch, __libc_res_nsend.
10833 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10835 * math/auto-libm-test-in: Add tests of fma.
10836 * math/auto-libm-test-out: Regenerated.
10837 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10838 (fma_towardzero_test_data): Likewise.
10839 (fma_downward_test_data): Likewise.
10840 (fma_upward_test_data): Likewise.
10841 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10843 (rounding_modes): Add values for new field.
10844 (func_calc_method): Add value mpfr_fff_f.
10845 (func_calc_desc): Add mpfr_fff_f union field.
10846 (test_function): Add field exact_args.
10847 (FUNC): Add macro argument EXACT_ARGS.
10848 (FUNC_mpfr_f_f): Update call to FUNC.
10849 (FUNC_mpfr_f_f): Likewise.
10850 (FUNC_mpfr_ff_f): Likewise.
10851 (FUNC_mpfr_if_f): Likewise.
10852 (FUNC_mpc_c_f): Likewise.
10853 (FUNC_mpc_c_c): Likewise.
10854 (test_functions): Add fma. Update calls to FUNC.
10855 (handle_input_arg): Add argument exact_args.
10856 (add_test): Update call to handle_input_arg.
10857 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10858 (output_for_one_input_case): Update call to calc_generic_results.
10859 Recalculate exact zero results in each rounding mode.
10861 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10862 non-negative before setting low bit.
10863 * math/auto-libm-test-in: Mark one asin test possibly having
10864 spurious underflow.
10865 * math/auto-libm-test-out: Regenerated.
10866 * sysdeps/i386/fpu/libm-test-ulps: Update.
10867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10871 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10872 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10873 ports/sysdeps/unix/sysv/linux/microblaze.
10874 * README: Add missing listing for microblaze*-*-linux-gnu.
10876 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10878 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10881 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10883 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10884 * sysdeps/unix/sysv/linux/ia64: Move directory from
10885 ports/sysdeps/unix/sysv/linux/ia64.
10886 * README: Update listing for ia64-*-linux-gnu.
10888 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10889 Joseph Myers <joseph@codesourcery.com>
10891 * Makeconfig (test-name): New variable.
10892 (evaluate-test): Likewise.
10893 * Makerules (do-test-clean): Remove .test-result files.
10894 (common-mostlyclean): Likewise.
10895 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10896 * scripts/evaluate-test.sh: New file.
10898 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10900 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10901 separate $(objpfx)tst-fopenloc-cmp.out and
10902 $(objpfx)tst-fopenloc-mem.out targets.
10903 (tests): Update dependencies.
10904 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10905 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10906 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10907 (tst-rxspencer-no-utf8-ARGS): New variable.
10908 (tst-rxspencer-no-utf8-ENV): Likewise.
10909 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10910 instead of $(objpfx)tst-rxspencer-mem.
10911 ($(objpfx)tst-rxspencer-mem): Change target to
10912 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10913 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10914 * posix/tst-rxspencer-no-utf8.c: New file.
10916 * elf/Makefile ($(objpfx)order.out): Remove rule.
10917 [$(run-built-tests) = yes] (tests): Depend on
10918 $(objpfx)order-cmp.out.
10919 ($(objpfx)order-cmp.out): New rule.
10920 [$(run-built-tests) = yes] (tests): Depend on
10921 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10922 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10923 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10924 $(objpfx)tst-array5-static-cmp.out.
10925 ($(objpfx)tst-array1.out): Remove rule.
10926 ($(objpfx)tst-array1-cmp.out): New rule.
10927 ($(objpfx)tst-array1-static.out): Remove rule.
10928 ($(objpfx)tst-array1-static-cmp.out): New rule.
10929 ($(objpfx)tst-array2.out): Remove rule.
10930 ($(objpfx)tst-array2-cmp.out): New rule.
10931 ($(objpfx)tst-array3.out): Remove rule.
10932 ($(objpfx)tst-array3-cmp.out): New rule.
10933 ($(objpfx)tst-array4.out): Remove rule.
10934 ($(objpfx)tst-array4-cmp.out): New rule.
10935 ($(objpfx)tst-array5.out): Remove rule.
10936 ($(objpfx)tst-array5-cmp.out): New rule.
10937 ($(objpfx)tst-array5-static.out): Remove rule.
10938 ($(objpfx)tst-array5-static-cmp.out): New rule.
10939 [$(run-built-tests) = yes] (tests): Depend on
10940 $(objpfx)order2-cmp.out.
10941 ($(objpfx)order2.out): Remove rule.
10942 ($(objpfx)order2-cmp.out): New rule.
10943 ($(objpfx)tst-initorder.out): Remove rule.
10944 [$(run-built-tests) = yes] (tests): Depend on
10945 $(objpfx)tst-initorder-cmp.out.
10946 ($(objpfx)tst-initorder-cmp.out): New rule.
10947 ($(objpfx)tst-initorder2.out): Remove rule.
10948 [$(run-built-tests) = yes] (tests): Depend on
10949 $(objpfx)tst-initorder2-cmp.out.
10950 ($(objpfx)tst-initorder2-cmp.out): New rule.
10951 [$(run-built-tests) = yes] (tests): Depend on
10952 $(objpfx)tst-unused-dep-cmp.out.
10953 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10954 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10955 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10956 on $(objpfx)tst-setvbuf1-cmp.out.
10957 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10958 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10959 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10960 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10961 ($(objpfx)tst-svc.out): Remove rule.
10962 ($(objpfx)tst-svc-cmp.out): New rule.
10964 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10966 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10967 * ctype/ctype.h [__USE_MISC]: Likewise.
10968 * dirent/dirent.h [__USE_MISC]: Likewise.
10969 * grp/grp.h [__USE_MISC]: Likewise.
10970 * io/fcntl.h [__USE_MISC]: Likewise.
10971 * io/sys/stat.h [__USE_MISC]: Likewise.
10972 * libio/stdio.h [__USE_MISC]: Likewise.
10973 * posix/unistd.h [__USE_MISC]: Likewise.
10974 * pwd/pwd.h [__USE_MISC]: Likewise.
10975 * stdlib.h [__USE_MISC]: Likewise.
10976 * string/bits/string2.h [__USE_MISC]: Likewise.
10977 * string/string.h [__USE_MISC]: Likewise.
10978 * time/time.h [__USE_MISC]: Likewise.
10980 2014-02-13 Andreas Schwab <schwab@suse.de>
10983 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10984 second answer buffer if it was separately allocated.
10986 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10988 * sysdeps/mips/math-tests.h: Include <features.h>.
10989 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10990 (ROUNDING_TESTS_long_double): Do not define.
10991 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10992 (EXCEPTION_TESTS_long_double): Likewise.
10993 * sysdeps/mips/mips64/libm-test-ulps: Update.
10995 * include/features.h (__USE_BSD): Remove macro definitions.
10996 (__USE_SVID): Likewise.
10997 (_BSD_SOURCE): Likewise.
10998 (_SVID_SOURCE): Likewise.
10999 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11000 from definition of _DEFAULT_SOURCE.
11001 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11003 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11004 * bits/mman.h [__USE_BSD]: Likewise.
11005 * bits/termios.h [__USE_BSD]: Likewise.
11006 * bits/waitstatus.h [__USE_BSD]: Likewise.
11007 * ctype/ctype.h [__USE_SVID]: Likewise.
11008 * dirent/dirent.h [__USE_BSD]: Likewise.
11009 * grp/grp.h [__USE_SVID]: Likewise.
11010 [__USE_BSD]: Likewise.
11011 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11012 * io/fcntl.h [__USE_BSD]: Likewise.
11013 * io/ftw.h [__USE_BSD]: Likewise.
11014 * io/sys/stat.h [__USE_BSD]: Likewise.
11015 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11016 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11017 * libio/stdio.h [__USE_SVID]: Likewise.
11018 [__USE_BSD]: Likewise.
11019 * math/math.h [__USE_SVID]: Likewise.
11020 [__USE_BSD]: Likewise.
11021 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11022 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11023 * misc/search.h [__USE_SVID]: Likewise.
11024 * misc/sys/mman.h [__USE_BSD]: Likewise.
11025 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11026 * misc/sys/uio.h [__USE_BSD]: Likewise.
11027 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11028 * posix/glob.h [__USE_BSD]: Likewise.
11029 * posix/regex.h [__USE_BSD]: Likewise.
11030 * posix/sys/types.h [__USE_BSD]: Likewise.
11031 [__USE_SVID]: Likewise.
11032 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11033 * posix/sys/wait.h [__USE_BSD]: Likewise.
11034 [__USE_SVID]: Likewise.
11035 * posix/unistd.h [__USE_BSD]: Likewise.
11036 [__USE_SVID]: Likewise.
11037 * pwd/pwd.h [__USE_SVID]: Likewise.
11038 * resolv/netdb.h [__USE_BSD]: Likewise.
11039 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11040 * signal/signal.h [__USE_BSD]: Likewise.
11041 [__USE_SVID]: Likewise.
11042 * socket/sys/socket.h [__USE_BSD]: Likewise.
11043 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11044 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11045 [__USE_SVID]: Likewise.
11046 * string/bits/string2.h [__USE_BSD]: Likewise.
11047 [__USE_SVID]: Likewise.
11048 * string/bits/string3.h [__USE_BSD]: Likewise.
11049 * string/endian.h [__USE_BSD]: Likewise.
11050 * string/string.h [__USE_SVID]: Likewise.
11051 [__USE_BSD]: Likewise.
11052 * string/strings.h [__USE_BSD]: Likewise.
11053 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11054 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11055 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11056 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11057 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11058 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11062 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11063 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11065 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11066 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11068 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11070 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11071 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11074 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11076 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11077 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11078 * termios/termios.h [__USE_BSD]: Likewise.
11079 * time/sys/time.h [__USE_BSD]: Likewise.
11080 * time/time.h [__USE_BSD]: Likewise.
11081 [__USE_SVID]: Likewise.
11083 * Makefile (subdir_targets): Remove subdir_lint.out.
11085 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11086 (do-tst-printf): Likewise.
11087 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11088 $(objpfx)tst-printf.out.
11090 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11092 * Makerules (check-abi-%): Change target to
11093 $(objpfx)check-abi-%.out.
11094 (check-abi target): Update dependencies.
11095 (check-abi-pattern variable): Redirect output of diff to $@.
11096 (check-abi variable): Likewise.
11097 * elf/Makefile (check-abi): Update dependencies.
11099 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11101 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11102 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11104 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11105 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11106 value has largest subnormal exponent.
11107 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11108 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11109 * sysdeps/aarch64/soft-fp/sfp-machine.h
11110 (_FP_TININESS_AFTER_ROUNDING): New macro.
11111 * sysdeps/alpha/soft-fp/sfp-machine.h
11112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11115 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11116 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11117 * sysdeps/mips/soft-fp/sfp-machine.h
11118 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11119 * sysdeps/powerpc/soft-fp/sfp-machine.h
11120 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11121 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11123 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11124 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11125 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11126 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11127 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11130 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11133 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11136 2014-02-12 Richard Henderson <rth@redhat.com>
11138 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11139 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11140 * sysdeps/unix/sysv/linux/alpha: Move directory from
11141 ports/sysdeps/unix/sysv/linux/alpha.
11142 * README: Update listing for alpha-*-linux-gnu.
11144 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11146 * include/features.h: Update comment documenting feature test
11148 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11150 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11151 (_SVID_SOURCE): Likewise.
11152 (_DEFAULT_SOURCE): Update description of default features.
11153 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11155 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11156 (S_ISVTX): Likewise.
11157 * manual/math.texi (Mathematical Constants): Likewise.
11158 * manual/signal.texi (Interrupted Primitives): Likewise.
11159 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11160 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11161 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11162 Don't refer to _SVID_SOURCE in warning text.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11166 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11168 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11169 * sysdeps/mips/dl-lookup.c: Remove.
11170 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11172 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11175 * math/auto-libm-test-in: Add testcase for expl.
11176 * math/auto-libm-test-out: Regenerate.
11177 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11178 calculation of unsafe.
11179 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11181 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11183 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11184 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11185 ports/sysdeps/unix/sysv/linux/aarch64.
11186 * README: Update listing for aarch64*-*-linux-gnu.
11188 2014-02-11 Will Newton <will.newton@linaro.org>
11190 * manual/probes.texi (Mathematical Function Probes): Use
11191 "triggered" instead of "hit".
11193 * manual/probes.texi (Internal Probes): Add documentation
11194 of setjmp, longjmp and longjmp_target probes.
11196 * include/stap-probe.h: Add comment about probe argument
11199 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11200 definition. (tr_where, tr_freehook, tr_mallochook,
11201 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11203 2014-02-11 David S. Miller <davem@davemloft.net>
11205 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11206 processing int_tests.
11208 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11211 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11212 * sysdeps/unix/sysv/linux/mips: Move directory from
11213 ports/sysdeps/unix/sysv/linux/mips.
11214 * README: Update listing for mips-*-linux-gnu and
11215 mips64-*-linux-gnu.
11217 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11219 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11220 * sysdeps/unix/sysv/linux/m68k: Move directory from
11221 ports/sysdeps/unix/sysv/linux/m68k.
11222 * README: Update listing for m68k-*-linux-gnu.
11224 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11226 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11227 * sysdeps/unix/sysv/linux/generic: Move directory from
11228 ports/sysdeps/unix/sysv/linux/generic.
11229 * sysdeps/unix/sysv/linux/tile: Move directory from
11230 ports/sysdeps/unix/sysv/linux/tile.
11231 * README: Update listing for tile*-*-linux-gnu.
11233 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11235 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11237 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11238 * catgets/open_catalog.c (__open_catalog): Likewise.
11239 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11240 * debug/confstr_chk.c: Likewise.
11241 * debug/fread_chk.c (__fread_chk): Likewise.
11242 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11243 * debug/getgroups_chk.c: Likewise.
11244 * debug/mbsnrtowcs_chk.c: Likewise.
11245 * debug/mbsrtowcs_chk.c: Likewise.
11246 * debug/mbstowcs_chk.c: Likewise.
11247 * debug/memcpy_chk.c: Likewise.
11248 * debug/memmove_chk.c: Likewise.
11249 * debug/mempcpy_chk.c: Likewise.
11250 * debug/memset_chk.c: Likewise.
11251 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11252 * debug/strcat_chk.c (__strcat_chk): Likewise.
11253 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11254 * debug/strncat_chk.c (__strncat_chk): Likewise.
11255 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11256 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11257 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11258 * debug/wcpncpy_chk.c: Likewise.
11259 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11260 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11261 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11262 * debug/wcsncpy_chk.c: Likewise.
11263 * debug/wcsnrtombs_chk.c: Likewise.
11264 * debug/wcsrtombs_chk.c: Likewise.
11265 * debug/wcstombs_chk.c: Likewise.
11266 * debug/wmemcpy_chk.c: Likewise.
11267 * debug/wmemmove_chk.c: Likewise.
11268 * debug/wmempcpy_chk.c: Likewise.
11269 * debug/wmemset_chk.c: Likewise.
11270 * dirent/scandirat.c (SCANDIRAT): Likewise.
11271 * dlfcn/dladdr1.c (dladdr1): Likewise.
11272 * dlfcn/dladdr.c (dladdr): Likewise.
11273 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11274 * dlfcn/dlerror.c (__dlerror): Likewise.
11275 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11276 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11277 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11278 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11279 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11280 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11281 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11282 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11284 * elf/dl-conflict.c: Likewise.
11285 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11286 * elf/dl-dst.h: Likewise.
11287 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11288 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11290 * elf/dl-init.c (call_init, _dl_init): Likewise.
11291 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11292 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11293 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11295 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11297 * elf/dl-minimal.c (__libc_memalign): Likewise.
11298 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11299 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11300 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11301 * elf/dl-sym.c (do_sym): Likewise.
11302 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11303 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11304 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11305 * elf/dl-writev.h (_dl_writev): Likewise.
11306 * elf/ldconfig.c (search_dir): Likewise.
11307 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11308 (dl_main): Likewise.
11309 * elf/setup-vdso.h (setup_vdso): Likewise.
11310 * grp/compat-initgroups.c (compat_call): Likewise.
11311 * grp/fgetgrent.c (fgetgrent): Likewise.
11312 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11313 * grp/putgrent.c (putgrent): Likewise.
11314 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11316 * hurd/hurdinit.c: Likewise.
11317 * iconvdata/8bit-gap.c (struct): Likewise.
11318 * iconvdata/ansi_x3.110.c : Likewise.
11319 * iconvdata/big5.c : Likewise.
11320 * iconvdata/big5hkscs.c : Likewise.
11321 * iconvdata/cp1255.c: Likewise.
11322 * iconvdata/cp1258.c : Likewise.
11323 * iconvdata/cp932.c : Likewise.
11324 * iconvdata/euc-cn.c: Likewise.
11325 * iconvdata/euc-jisx0213.c : Likewise.
11326 * iconvdata/euc-jp.c: Likewise.
11327 * iconvdata/euc-jp-ms.c : Likewise.
11328 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11329 * iconvdata/gb18030.c : Likewise.
11330 * iconvdata/gbbig5.c (const): Likewise.
11331 * iconvdata/gbgbk.c: Likewise.
11332 * iconvdata/gbk.c : Likewise.
11333 * iconvdata/ibm1364.c : Likewise.
11334 * iconvdata/ibm930.c : Likewise.
11335 * iconvdata/ibm932.c: Likewise.
11336 * iconvdata/ibm933.c : Likewise.
11337 * iconvdata/ibm935.c : Likewise.
11338 * iconvdata/ibm937.c : Likewise.
11339 * iconvdata/ibm939.c : Likewise.
11340 * iconvdata/ibm943.c: Likewise.
11341 * iconvdata/iso_11548-1.c: Likewise.
11342 * iconvdata/iso-2022-cn.c : Likewise.
11343 * iconvdata/iso-2022-cn-ext.c : Likewise.
11344 * iconvdata/iso-2022-jp-3.c: Likewise.
11345 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11346 * iconvdata/iso-2022-kr.c : Likewise.
11347 * iconvdata/iso646.c (gconv_end): Likewise.
11348 * iconvdata/iso_6937-2.c : Likewise.
11349 * iconvdata/iso_6937.c : Likewise.
11350 * iconvdata/iso8859-1.c: Likewise.
11351 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11352 * iconvdata/shift_jisx0213.c : Likewise.
11353 * iconvdata/sjis.c : Likewise.
11354 * iconvdata/t.61.c : Likewise.
11355 * iconvdata/tcvn5712-1.c : Likewise.
11356 * iconvdata/tscii.c: Likewise.
11357 * iconvdata/uhc.c : Likewise.
11358 * iconvdata/unicode.c (gconv_end): Likewise.
11359 * iconvdata/utf-16.c (gconv_end): Likewise.
11360 * iconvdata/utf-32.c (gconv_end): Likewise.
11361 * iconvdata/utf-7.c (base64): Likewise.
11362 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11363 * iconv/gconv_close.c (__gconv_close): Likewise.
11364 * iconv/gconv_open.c (__gconv_open): Likewise.
11365 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11366 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11367 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11368 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11369 (ucs4le_internal_loop_single): Likewise.
11370 * iconv/iconv.c (iconv): Likewise.
11371 * iconv/iconv_close.c: Likewise.
11372 * iconv/loop.c (SINGLE): Likewise.
11373 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11374 * include/atomic.h: Likewise.
11375 * inet/inet6_option.c (option_alloc): Likewise.
11376 * intl/bindtextdom.c (set_binding_values): Likewise.
11377 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11378 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11379 * intl/localealias.c (read_alias_file): Likewise.
11380 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11381 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11382 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11383 * libio/fmemopen.c (fmemopen): Likewise.
11384 * libio/iofgets.c (_IO_fgets): Likewise.
11385 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11386 * libio/iofgetws.c (fgetws): Likewise.
11387 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11388 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11389 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11390 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11391 * locale/findlocale.c (_nl_find_locale): Likewise.
11392 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11393 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11395 * locale/setlocale.c (setlocale): Likewise.
11396 * login/programs/pt_chown.c (main): Likewise.
11397 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11398 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11399 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11400 (mmap, mmap64, mremap, munmap): Likewise.
11401 * math/e_exp2l.c: Likewise.
11402 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11403 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11404 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11405 * math/s_catan.c (__catan): Likewise.
11406 * math/s_catanf.c (__catanf): Likewise.
11407 * math/s_catanh.c (__catanh): Likewise.
11408 * math/s_catanhf.c (__catanhf): Likewise.
11409 * math/s_catanhl.c (__catanhl): Likewise.
11410 * math/s_catanl.c (__catanl): Likewise.
11411 * math/s_ccosh.c (__ccosh): Likewise.
11412 * math/s_ccoshf.c (__ccoshf): Likewise.
11413 * math/s_ccoshl.c (__ccoshl): Likewise.
11414 * math/s_cexp.c (__cexp): Likewise.
11415 * math/s_cexpf.c (__cexpf): Likewise.
11416 * math/s_cexpl.c (__cexpl): Likewise.
11417 * math/s_clog10.c (__clog10): Likewise.
11418 * math/s_clog10f.c (__clog10f): Likewise.
11419 * math/s_clog10l.c (__clog10l): Likewise.
11420 * math/s_clog.c (__clog): Likewise.
11421 * math/s_clogf.c (__clogf): Likewise.
11422 * math/s_clogl.c (__clogl): Likewise.
11423 * math/s_csin.c (__csin): Likewise.
11424 * math/s_csinf.c (__csinf): Likewise.
11425 * math/s_csinh.c (__csinh): Likewise.
11426 * math/s_csinhf.c (__csinhf): Likewise.
11427 * math/s_csinhl.c (__csinhl): Likewise.
11428 * math/s_csinl.c (__csinl): Likewise.
11429 * math/s_csqrt.c (__csqrt): Likewise.
11430 * math/s_csqrtf.c (__csqrtf): Likewise.
11431 * math/s_csqrtl.c (__csqrtl): Likewise.
11432 * math/s_ctan.c (__ctan): Likewise.
11433 * math/s_ctanf.c (__ctanf): Likewise.
11434 * math/s_ctanh.c (__ctanh): Likewise.
11435 * math/s_ctanhf.c (__ctanhf): Likewise.
11436 * math/s_ctanhl.c (__ctanhl): Likewise.
11437 * math/s_ctanl.c (__ctanl): Likewise.
11438 * math/w_pow.c: Likewise.
11439 * math/w_powf.c: Likewise.
11440 * math/w_powl.c: Likewise.
11441 * math/w_scalb.c (sysv_scalb): Likewise.
11442 * math/w_scalbf.c (sysv_scalbf): Likewise.
11443 * math/w_scalbl.c (sysv_scalbl): Likewise.
11444 * misc/error.c (error_tail): Likewise.
11445 * misc/pselect.c (__pselect): Likewise.
11446 * nis/nis_callback.c (__nis_create_callback): Likewise.
11447 * nis/nis_call.c (__nisfind_server): Likewise.
11448 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11449 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11450 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11451 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11452 * nis/nis_lookup.c (nis_lookup): Likewise.
11453 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11454 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11455 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11456 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11457 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11458 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11459 * nis/nss_compat/compat-initgroups.c (add_group)
11460 (internal_getgrent_r): Likewise.
11461 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11462 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11463 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11464 (internal_getspnam_r): Likewise.
11465 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11466 (_nss_nis_getaliasbyname_r): Likewise.
11467 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11468 (_nss_nis_getntohost_r): Likewise.
11469 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11470 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11471 (_nss_nis_getgrgid_r): Likewise.
11472 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11473 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11474 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11475 (_nss_nis_gethostbyname4_r): Likewise.
11476 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11477 (initgroups_netid): Likewise.
11478 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11479 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11480 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11481 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11482 (_nss_nis_getprotobynumber_r): Likewise.
11483 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11484 (_nss_nis_getsecretkey): Likewise.
11485 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11486 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11487 (_nss_nis_getpwuid_r): Likewise.
11488 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11489 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11490 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11491 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11492 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11493 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11494 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11496 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11497 (_nss_nisplus_getntohost_r): Likewise.
11498 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11499 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11500 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11501 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11503 * nis/nss_nisplus/nisplus-initgroups.c
11504 (_nss_nisplus_initgroups_dyn): Likewise.
11505 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11506 (_nss_nisplus_getnetbyaddr_r): Likewise.
11507 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11508 (_nss_nisplus_getprotobynumber_r): Likewise.
11509 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11510 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11511 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11513 * nis/nss_nisplus/nisplus-service.c
11514 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11515 (_nss_nisplus_getservbyport_r): Likewise.
11516 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11517 (_nss_nisplus_getspnam_r): Likewise.
11518 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11520 * nscd/aicache.c (addhstaiX): Likewise.
11521 * nscd/cache.c (cache_search, prune_cache): Likewise.
11522 * nscd/connections.c (register_traced_file, send_ro_fd)
11523 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11524 (main_loop_epoll): Likewise.
11525 * nscd/grpcache.c (addgrbyX): Likewise.
11526 * nscd/hstcache.c (addhstbyX): Likewise.
11527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11528 * nscd/mem.c (gc, mempool_alloc): Likewise.
11529 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11530 (addinnetgrX): Likewise.
11531 * nscd/nscd-client.h (__nscd_acquire_maplock)
11532 (__nscd_drop_map_ref): Likewise.
11533 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11534 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11535 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11537 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11538 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11539 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11540 (__nscd_get_map_ref): Likewise.
11541 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11542 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11544 * nscd/pwdcache.c (addpwbyX): Likewise.
11545 * nscd/selinux.c (preserve_capabilities): Likewise.
11546 * nscd/servicescache.c (addservbyX): Likewise.
11547 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11548 * posix/fnmatch.c (fnmatch): Likewise.
11549 * posix/getopt.c (_getopt_internal_r): Likewise.
11550 * posix/glob.c (glob, glob_in_dir): Likewise.
11551 * posix/wordexp.c (exec_comm_child): Likewise.
11552 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11553 (getanswer_r, gaih_getanswer_slice): Likewise.
11554 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11555 * resolv/res_init.c: Likewise.
11556 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11557 * resolv/res_query.c (__libc_res_nquery): Likewise.
11558 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11560 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11561 * stdio-common/perror.c (perror): Likewise.
11562 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11563 * stdio-common/tmpnam.c (tmpnam): Likewise.
11564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11565 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11566 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11568 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11569 * stdlib/putenv.c (putenv): Likewise.
11570 * stdlib/setenv.c (__add_to_environ): Likewise.
11571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11572 * stdlib/strtol_l.c (INTERNAL): Likewise.
11573 * string/memmem.c (memmem): Likewise.
11574 * string/strerror.c (strerror): Likewise.
11575 * string/strnlen.c (__strnlen): Likewise.
11576 * string/test-memmem.c (simple_memmem): Likewise.
11577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11578 * sunrpc/pm_getport.c (__get_socket): Likewise.
11579 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11580 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11581 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11582 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11584 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11585 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11586 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11587 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11588 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11589 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11593 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11594 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11596 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11597 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11601 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11602 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11603 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11606 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11610 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11613 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11614 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11615 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11616 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11619 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11631 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11635 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11637 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11638 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11639 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11640 * sysdeps/posix/sleep.c: Likewise.
11641 * sysdeps/posix/tempname.c: Likewise.
11642 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11643 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11645 * sysdeps/powerpc/powerpc32/dl-machine.h
11646 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11647 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11649 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11650 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11652 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11653 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11654 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11656 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11657 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11658 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11659 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11660 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11661 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11663 (elf_machine_lazy_rel): Likewise.
11664 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11666 (elf_machine_lazy_rel): Likewise.
11667 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11668 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11669 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11670 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11671 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11672 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11673 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11676 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11677 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11678 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11679 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11680 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11681 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11682 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11683 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11684 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11685 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11686 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11688 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11689 (__posix_fallocate64_l64): Likewise.
11690 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11691 (posix_fallocate): Likewise.
11692 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11695 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11696 (getifaddrs_internal): Likewise.
11697 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11698 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11699 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11700 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11701 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11702 (__posix_fallocate64_l64): Likewise.
11703 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11705 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11707 (__get_clockfreq): Likewise.
11708 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11709 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11710 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11713 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11714 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11715 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11717 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11718 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11719 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11721 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11722 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11725 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11726 (posix_fallocate): Likewise.
11727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11728 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11729 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11730 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11731 (elf_machine_rela, elf_machine_rela_relative)
11732 (elf_machine_lazy_rel): Likewise.
11733 * time/asctime.c (asctime_internal): Likewise.
11734 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11735 * time/tzset.c (__tzset_parse_tz): Likewise.
11736 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11737 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11738 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11739 * wcsmbs/wcsmbsload.h: Likewise.
11742 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11744 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11745 (arena_get2): Remove THREAD_STATS conditionals.
11746 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11747 (__malloc_stats, int): Likewise.
11749 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11751 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11752 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11754 * manual/setjmp.texi: Fix typos/grammar errors.
11756 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11757 Only return early when n is <= 0. Delete unused return statement.
11759 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11760 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11761 * debug/tst-longjmp_chk3.c: New file.
11763 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11764 (test_main): Replace code with set_fortify_handler call.
11765 * debug/test-strcpy_chk.c: Likewise.
11766 * debug/tst-chk1.c: Likewise.
11767 * debug/tst-longjmp_chk.c: Likewise.
11768 * test-skeleton.c: Include fcntl.h & paths.h
11769 (set_fortify_handler): Define.
11771 * debug/tst-longjmp_chk.c: Add header comment and include
11772 ../test-skeleton.c.
11773 (do_test): Mark static.
11774 (TEST_FUNCTION): Define.
11776 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11777 (IP_PMTUDISC_INTERFACE): Likewise.
11778 (IP_MULTICAST_IF): Likewise.
11779 (IP_MULTICAST_TTL): Likewise.
11780 (IP_MULTICAST_LOOP): Likewise.
11781 (IP_ADD_MEMBERSHIP): Likewise.
11782 (IP_DROP_MEMBERSHIP): Likewise.
11783 (IP_UNBLOCK_SOURCE): Likewise.
11784 (IP_BLOCK_SOURCE): Likewise.
11785 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11786 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11787 (IP_MSFILTER): Likewise.
11788 (MCAST_JOIN_GROUP): Likewise.
11789 (MCAST_BLOCK_SOURCE): Likewise.
11790 (MCAST_UNBLOCK_SOURCE): Likewise.
11791 (MCAST_LEAVE_GROUP): Likewise.
11792 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11793 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11794 (MCAST_MSFILTER): Likewise.
11795 (IP_MULTICAST_ALL): Likewise.
11796 (IP_UNICAST_IF): Likewise.
11798 * timezone/Makefile: Delete $(have-ksh) check.
11799 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11800 * timezone/tzselect.ksh: Add +x mode bits.
11802 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11803 (ANON_INODE_FS_MAGIC): Likewise.
11804 (BDEVFS_MAGIC): Likewise.
11805 (BINFMTFS_MAGIC): Likewise.
11806 (BTRFS_TEST_MAGIC): Likewise.
11807 (CRAMFS_MAGIC_WEND): Likewise.
11808 (DEBUGFS_MAGIC): Likewise.
11809 (ECRYPTFS_SUPER_MAGIC): Likewise.
11810 (EXT3_SUPER_MAGIC): Likewise.
11811 (EXT4_SUPER_MAGIC): Likewise.
11812 (FUTEXFS_SUPER_MAGIC): Likewise.
11813 (HOSTFS_SUPER_MAGIC): Likewise.
11814 (HUGETLBFS_MAGIC): Likewise.
11815 (MINIX3_SUPER_MAGIC): Likewise.
11816 (MTD_INODE_FS_MAGIC): Likewise.
11817 (NILFS_SUPER_MAGIC): Likewise.
11818 (OPENPROM_SUPER_MAGIC): Likewise.
11819 (PIPEFS_MAGIC): Likewise.
11820 (PSTOREFS_MAGIC): Likewise.
11821 (QNX6_SUPER_MAGIC): Likewise.
11822 (RAMFS_MAGIC): Likewise.
11823 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11824 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11825 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11826 (SECURITYFS_MAGIC): Likewise.
11827 (SELINUX_MAGIC): Likewise.
11828 (SMACK_MAGIC): Likewise.
11829 (SOCKFS_MAGIC): Likewise.
11830 (SQUASHFS_MAGIC): Likewise.
11831 (STACK_END_MAGIC): Likewise.
11832 (TMPFS_MAGIC): Likewise.
11833 (USBDEVICE_SUPER_MAGIC): Likewise.
11834 (V9FS_MAGIC): Likewise.
11835 (XENFS_SUPER_MAGIC): Likewise.
11836 (CRAMFS_MAGIC): Fix typo in comment.
11837 (EXT2_SUPER_MAGIC): Update comment.
11838 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11840 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11842 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11843 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11844 * sysdeps/unix/sysv/linux/arm: Move directory from
11845 ports/sysdeps/unix/sysv/linux/arm.
11846 * README: Update listing for arm-*-linux-gnueabi.
11848 * README: Remove mention of am33.
11850 2014-02-07 Roland McGrath <roland@hack.frob.com>
11852 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11853 than the comma operator, to avoid "rhs of comma has no effect"
11855 (__sigfillset, __sigandset, __sigorset): Likewise.
11856 * include/signal.h (__sigemptyset): Likewise.
11857 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11859 2014-02-07 Allan McRae <allan@archlinux.org>
11861 * version.h (RELEASE): Set to "development".
11862 (VERSION): Set to "2.19.90"
11863 * NEWS: Add 2.20 section.
11865 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11868 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11870 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11872 * manual/contrib.texi: Update entry for Carlos O'Donell,
11873 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11875 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11877 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11879 * sysdeps/unix/sysv/linux/kernel-features.h
11880 [__LINUX_KERNEL_VERSION >= 0x020621]
11881 (__ASSUME_PROC_PID_TASK_COMM): Define.
11883 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11886 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11887 conversion when destination buffer does not have enough space.
11888 * libio/tst-ftell-partial-wide.c: New test case.
11889 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11891 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11892 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11893 Leonard and Allan McRae.
11895 2014-02-04 David S. Miller <davem@davemloft.net>
11897 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11900 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11929 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11931 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11932 * shlib-versions: Likewise.
11934 2014-02-04 Roland McGrath <roland@hack.frob.com>
11935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11937 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11938 (abilist-pattern): New variable, set to %-le.abilist.
11940 * Makerules (abilist-pattern): New variable.
11941 (vpath): Use $(abilist-pattern) in place of %.abilist.
11942 (check-abi-% pattern rule): Likewise.
11943 (check-abi, update-abi): Likewise.
11945 2014-02-04 Eric Wong <normalperson@yhbt.net>
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11949 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11951 * manual/startup.texi: Add next, previous, and top entries for
11952 the `Program Arguments' and `Environment Variables' nodes.
11954 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11956 * manual/macros.texi: Add comments before MTASC-safety macros.
11958 * manual/users.texi: Document MTASC-safety properties.
11960 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11961 (pthread_getspecific, pthread_setspecific): Format with
11962 @deftypefun, and add @safety note.
11963 * manual/signal.texi: Move comments that analyze the above
11964 functions to their home place.
11966 2014-02-03 Allan McRae <allan@archlinux.org>
11968 * po/sl.po: Update Slovenian translation from translation project.
11970 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11972 * manual/time.texi (timegm): Add missing blank after @c.
11973 Reported by Joseph Myers <joseph@codesourcery.com>.
11975 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11977 * manual/check-safety.sh: New.
11978 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11980 * manual/terminal.texi: Document MTASC-safety properties.
11982 * manual/filesys.texi: Document MTASC-safety properties.
11984 * manual/errno.texi: Document MTASC-safety properties.
11986 * manual/intro.texi: Document safety identifiers and
11989 * manual/string.texi (wcstok): Fix prototype.
11990 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11992 * manual/time.texi: Document MTASC-safety properties.
11994 * manual/string.texi: Document MTASC-safety properties.
11996 * manual/threads.texi: Document MTASC-safety properties.
11998 * manual/stdio.texi: Document MTASC-safety properties.
12000 * manual/syslog.texi: Document MTASC-safety properties.
12002 * manual/sysinfo.texi: Document MTASC-safety properties.
12004 * manual/startup.texi: Document MTASC-safety properties.
12006 * manual/socket.texi: Document MTASC-safety properties.
12008 * manual/signal.texi: Document MTASC-safety properties.
12010 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12012 * manual/setjmp.texi: Document MTASC-safety properties.
12014 * manual/search.texi: Document MTASC-safety properties.
12016 * manual/resource.texi: Document MTASC-safety properties.
12018 * manual/process.texi: Document MTASC-safety properties.
12020 * manual/platform.texi: Document MTASC-safety properties.
12022 * manual/pipe.texi: Document MTASC-safety properties.
12024 * manual/pattern.texi: Document MTASC-safety properties.
12026 * manual/message.texi: Document MTASC-safety properties.
12029 * manual/memory.texi: Document MTASC-safety properties.
12031 * manual/math.texi: Document MTASC-safety properties.
12033 * manual/locale.texi: Document MTASC-safety properties.
12035 * manual/llio.texi: Document MTASC-safety properties.
12037 * manual/libdl.texi: New.
12039 * manual/lang.texi: Document MTASC-safety properties.
12041 * manual/job.texi: Document MTASC-safety properties.
12043 * manual/getopt.texi: Document MTASC-safety properties.
12045 * manual/ctype.texi: Document MTASC-safety properties.
12047 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12050 * csu/libc-tls.c (static_map): Remove variable.
12051 (__libc_setup_tls): Use main executable's link map for TLS data.
12052 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12053 casing for LM_ID_BASE and GL(dl_nns).
12054 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12055 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12056 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12057 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12058 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12060 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12063 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12065 * manual/debug.texi: Document MTASC-safety properties.
12067 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12070 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12071 of __x86_64__ when disabling x87 inline functions.
12073 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12075 * manual/charset.texi: Document MTASC-safety properties.
12077 * manual/crypt.texi: Document MTASC-safety properties.
12079 * manual/conf.texi: Document MTASC-safety properties.
12081 * manual/arith.texi: Document MTASC-safety properties.
12083 * manual/argp.texi: Document MTASC-safety properties.
12085 * manual/macros.texi: Introduce macros to document multi
12086 thread, asynchronous signal and asynchronous cancellation
12088 * manual/intro.texi: Introduce the properties themselves.
12090 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12092 * sysdeps/sh/sh4/Makefile: New file.
12094 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12096 * math/gen-libm-test.pl ($srcdir): New variable.
12097 ($auto_input): Use it.
12099 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12103 access beyond array bounds when parsing netgroups file.
12105 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12106 the old buffer before realloc.
12108 2014-01-27 Allan McRae <allan@archlinux.org>
12110 * po/fr.po: Update French translation from translation project.
12112 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12114 * sysdeps/sh/libm-test-ulps: Regenerate.
12116 2014-01-24 David S. Miller <davem@davemloft.net>
12118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12120 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12122 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12123 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12125 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12129 string pointers after reallocation.
12131 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12133 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12134 __SH4A__ instead of __SH_FPU_ANY__.
12136 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12138 * sysdeps/sh/fpu_control.h: New file.
12139 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12140 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12141 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12142 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12143 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12144 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12145 * sysdeps/sh/sys/ucontext.h: Remove.
12146 * sysdeps/sh/sys: Remove directory.
12148 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12150 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12151 s390/sys/ucontext.h.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12155 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12160 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12164 Adjust the vDSO correctly for internal calls.
12165 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12167 2014-01-20 Allan McRae <allan@archlinux.org>
12169 * po/ca.po: Update Catalan translation from translation project.
12171 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12173 * sysdeps/s390/sotruss-lib.c: New file.
12175 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12179 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12180 local calls issues by not having a PLT stub required for IFUNC calls.
12181 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12183 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12185 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12186 * math/test-fpucw-static.c: Likewise.
12188 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12191 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12193 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12195 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12196 implementation for powerpc.
12198 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12201 * sysdeps/posix/system.c (__libc_system): Do not enable
12202 asynchronous cancellation.
12204 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12208 handling only for numbers special also in the IEEE case.
12210 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12212 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12214 2014-01-11 Allan McRae <allan@archlinux.org>
12216 * po/bg.po: Update Bulgarian translation from translation project.
12218 * po/de.po: Update German translation from translation project.
12220 2014-01-10 Roland McGrath <roland@hack.frob.com>
12222 * sysdeps/generic/gcc-compat.h: New file.
12224 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12226 * benchtests/asin-inputs: Correct slow inputs.
12227 * benchtests/acos-inputs: Likewise.
12229 2014-01-10 Allan McRae <allan@archlinux.org>
12231 * po:sv.po: Update Swedish translation from translation project.
12233 * po/vi.po: Update Vietnamese translation from translation project.
12235 * po/eo.po: Update Esperanto translation from translation project.
12237 * po/cs.po: Update Czech translation from translation project.
12239 * po/nl.po: Update Dutch translation from translation project.
12241 * po/pl.po: Update Polish translation from translation project.
12243 * po/ru.po: Update Russian translation from translation project.
12245 * po/uk.po: Update Ukrainian translation from translation project.
12247 2014-01-08 Brooks Moses <bmoses@google.com>
12249 * elf/dl-load.c: Fix comment typo.
12251 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12253 * po/header.pot: Rename to...
12254 * po/pot.header: ... this.
12255 * po/Makefile: Use pot.header.
12257 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12258 Maxim Kuvyrkov <maxim@kugelworks.com>
12261 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12262 SRC and DEST against LEN.
12264 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12269 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12271 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12275 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12278 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12279 for large positive arguments.
12281 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12285 * math/auto-libm-test-in: Mark various tests with
12286 xfail-rounding:ldbl-128ibm.
12287 * math/auto-libm-test-out: Regenerated.
12290 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12291 Increase overflow threshold.
12293 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12296 * stdio-common/vfprintf.c: Check for integer overflow.
12298 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12300 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12301 the first argument and return value of __tls_get_addr_internal.
12303 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12305 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12306 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12308 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12310 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12311 * sysdeps/s390/rtld-global-offsets.sym: New file.
12312 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12314 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12316 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12318 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12319 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12325 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12326 halfs of GPRs for high_gprs contexts.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12328 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12330 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12334 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12335 for high GPRs (uc_high_gprs) and for future extensions
12337 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12338 for future extensions (__reserved).
12339 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12341 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12342 SC_HIGHGPRS offset definition.
12343 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12344 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12346 * Versions.def: Add GLIBC_2.19 for libpthread.
12347 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12348 siglongjmp for libpthread with GLIBC_2.19 symver.
12349 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12350 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12351 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12352 * sysdeps/s390/__longjmp.c: New file.
12353 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12354 * sysdeps/s390/longjmp.c: New file.
12355 * sysdeps/s390/setjmp.S: New file.
12356 * sysdeps/s390/sigjmp.S: New file.
12357 * sysdeps/s390/v1-longjmp.c: New file.
12358 * sysdeps/s390/v1-setjmp.h: New file.
12359 * sysdeps/s390/v1-sigjmp.c: New file.
12360 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12361 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12362 GLIBC_2.19 version.
12363 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12365 versioned symbols for ____longjmp_chk.
12366 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12376 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12377 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12378 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12379 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12380 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12381 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12382 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12383 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12384 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12385 * sysdeps/s390/rtld-__longjmp.c: New file.
12386 * sysdeps/s390/rtld-setjmp.S: New file.
12388 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12392 Return -__logl (x) for small positive arguments without evaluating
12395 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12397 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12399 (__ptrace_peeksiginfo_args): ... this.
12400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12404 2014-01-06 Allan McRae <allan@archlinux.org>
12406 * inet/netinet/in.h: Fix typo in comment.
12408 2014-01-05 Andreas Jaeger <aj@suse.de>
12410 * sysdeps/i386/fpu/libm-test-ulps: Update.
12412 2014-01-05 Allan McRae <allan@archlinux.org>
12414 * po/libc.pot: Regenerated.
12416 * malloc/memusagestat.c: Fix gettext call formatting.
12418 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12420 * nscd/nscd.c: Improve usage() output.
12422 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12424 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12425 * sysdeps/unix/sysv/linux/configure: Regenerated.
12426 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12427 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12429 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12432 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12433 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12435 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12438 extra tokens at end of #undef directive.
12439 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12443 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12445 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12447 * math/auto-libm-test-in: Mark various tests with
12448 xfail-rounding:ldbl-128ibm.
12449 * math/auto-libm-test-out: Regenerated.
12451 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12454 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12455 numbers with subnormal high part when calculating exponent.
12458 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12464 (__ieee754_acoshl): Use __log1pl not __log1p.
12466 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12468 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12469 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12470 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12471 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12472 (reused_arena, arena_get2): Convert to GNU style.
12473 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12474 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12475 (memalign_check, __malloc_set_state): Likewise.
12476 * malloc/mallocbug.c (main): Likewise.
12477 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12478 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12479 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12480 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12481 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12482 (__posix_memalign, malloc_info): Likewise.
12483 * malloc/malloc.h: Likewise.
12484 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12485 (mallochook, memalignhook, reallochook, mabort): Likewise.
12486 * malloc/mcheck.h: Likewise.
12487 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12488 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12489 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12490 * malloc/morecore.c (__default_morecore): Likewise.
12491 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12492 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12493 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12494 (print_and_abort): Likewise.
12495 * malloc/obstack.h: Likewise.
12496 * malloc/set-freeres.c (__libc_freeres): Likewise.
12497 * malloc/tst-mallocstate.c (main): Likewise.
12498 * malloc/tst-mtrace.c (main): Likewise.
12499 * malloc/tst-realloc.c (do_test): Likewise.
12501 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12504 * nscd/netgroupcache.c (do_notfound): New function.
12505 (addgetnetgrentX): Use it.
12508 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12509 NSS_STATUS_NOTFOUND.
12511 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12513 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12516 2014-01-01 Allan McRae <allan@archlinux.org>
12518 * scripts/update-copyrights: Update configure input file suffix.
12520 * NEWS: Update copyright year.
12521 * catgets/gencat.c: Likewise.
12522 * csu/version.c: Likewise.
12523 * debug/catchsegv.sh: Likewise.
12524 * debug/pcprofiledump.c: Likewise.
12525 * debug/xtrace.sh: Likewise.
12526 * elf/ldconfig.c: Likewise.
12527 * elf/ldd.bash.in: Likewise.
12528 * elf/pldd.c: Likewise.
12529 * elf/sotruss.ksh: Likewise.
12530 * elf/sprof.c: Likewise.
12531 * iconv/iconv_prog.c: Likewise.
12532 * iconv/iconvconfig.c: Likewise.
12533 * locale/programs/locale.c: Likewise.
12534 * locale/programs/localedef.c: Likewise.
12535 * login/programs/pt_chown.c: Likewise.
12536 * malloc/memusage.sh: Likewise.
12537 * malloc/memusagestat.c: Likewise.
12538 * malloc/mtrace.pl: Likewise.
12539 * manual/libc.texinfo: Likewise.
12540 * nscd/nscd.c: Likewise.
12541 * nss/getent.c: Likewise.
12542 * nss/makedb.c: Likewise.
12543 * posix/getconf.c: Likewise.
12544 * scripts/test-installation.pl: Likewise.
12546 * All files with FSF copyright notices: Update copyright dates
12547 using scripts/update-copyrights.
12548 * intl/plural.c: Regenerated.
12549 * locale/programs/charmap-kw.h: Likewise.
12550 * locale/programs/locfile-kw.h: Likewise.
12552 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12554 * sysdeps/unix/sysv/linux/configure: Regenerated.
12555 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12556 the linux/fanotify.h header.
12557 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12558 HAVE_LINUX_FANOTIFY_H is defined.
12560 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * benchtests/cos-inputs: New inputs.
12563 * benchtests/sin-inputs: Likewise.
12565 * benchtests/atan-inputs: New inputs. Fix name of multiple
12566 precision fallback inputs.
12568 * benchtests/atanh-inputs: New inputs.
12569 * benchtests/tanh-inputs: Likewise.
12571 * benchtests/acosh-inputs: New inputs.
12572 * benchtests/asinh-inputs: Likewise.
12574 * benchtests/cosh-inputs: New inputs.
12575 * benchtests/sinh-inputs: Likewise.
12577 * benchtests/acos-inputs: Add more inputs.
12578 * benchtests/asin-inputs: Likewise.
12580 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12583 * manual/arith.texi: Fix spelling.
12584 * manual/charset.texi: Likewise.
12585 * manual/errno.texi: Likewise.
12586 * manual/filesys.texi: Likewise.
12587 * manual/lang.texi: Likewise.
12588 * manual/llio.texi: Likewise.
12589 * manual/locale.texi: Likewise.
12590 * manual/message.texi: Likewise.
12591 * manual/resource.texi: Likewise.
12592 * manual/search.texi: Likewise.
12593 * manual/setjmp.texi: Likewise.
12594 * manual/stdio.texi: Likewise.
12595 * manual/string.texi: Likewise.
12596 * manual/sysinfo.texi: Likewise.
12597 * manual/time.texi: Likewise.
12599 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12601 * po/sl.po: New file.
12603 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12605 * .gitignore: Add core/.gdbinit/.gdb_history.
12607 2013-12-27 Allan McRae <allan@archlinux.org>
12610 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12611 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12613 2013-12-24 Brooks Moses <bmoses@google.com>
12615 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12616 all compilers that claim C++98 compliance, not just GCC.
12617 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12620 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12622 * NEWS: Restore accidentally deleted bug-fix entries.
12624 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12625 Ondřej Bílka <neleai@seznam.cz>
12628 * malloc/malloc.c (_int_free): Perform sanity check only if we
12631 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12634 * manual/stdio.texi (String Input Conversions): Clarify that character
12635 classes are not supported.
12637 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12641 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12644 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12645 Calculate results for small negative arguments directly rather
12646 than using reflection formula with special underflow handling.
12648 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12649 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12650 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12651 (fchflags): Likewise.
12652 (revoke): Likewise.
12653 (setlogin): Likewise.
12654 (sigaltstack): Likewise.
12656 (sigblock): Remove.
12657 (sigsetmask): Likewise.
12659 (waitpid): Likewise.
12660 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12661 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12663 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12664 * sysdeps/unix/bsd/Makefile: ... here.
12665 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12666 * sysdeps/unix/bsd/Versions: ... here.
12667 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12668 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12669 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12670 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12671 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12672 * sysdeps/unix/bsd/sigblock.c: ... here.
12673 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12674 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12675 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12676 * sysdeps/unix/bsd/sigvec.c: ... here.
12677 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12678 * sysdeps/unix/bsd/tcdrain.c: ... here.
12679 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12680 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12681 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12682 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12683 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12684 * sysdeps/unix/bsd/wait.c: ... here.
12685 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12686 * sysdeps/unix/bsd/wait3.c: ... here.
12687 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12688 * sysdeps/unix/bsd/waitpid.c: ... here.
12690 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12693 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12694 round-to-nearest for [!USE_AS_EXPM1L].
12695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12696 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12697 more tests of exp and exp10. Expect some exp10 tests to miss
12698 exceptions or fail in directed rounding modes.
12699 * math/auto-libm-test-out: Regenerated.
12700 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12701 (exp10_test_tonearest): New function.
12702 (exp10_towardzero_test_data): New array.
12703 (exp10_test_towardzero): New function.
12704 (exp10_downward_test_data): New array.
12705 (exp10_test_downward): New function.
12706 (exp10_upward_test_data): New array.
12707 (exp10_test_upward): New function.
12708 (main): Call the new functions.
12709 * sysdeps/i386/fpu/libm-test-ulps: Update.
12710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12714 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12715 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12716 * math/auto-libm-test-out: Regenerated.
12717 * math/libm-test.inc (acosh_test_data): Add more tests.
12718 (atanh_test_data): Likewise.
12719 (ceil_test_data): Likewise.
12720 (copysign_test_data): Likewise.
12721 * sysdeps/i386/fpu/libm-test-ulps: Update.
12722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12724 * timezone/checktab.awk: Update from tzcode 2013i.
12725 * timezone/private.h: Likewise.
12726 * timezone/scheck.c: Likewise.
12727 * timezone/tzfile.h: Likewise.
12728 * timezone/tzselect.ksh: Likewise.
12729 * timezone/zdump.c: Likewise.
12730 * timezone/zic.c: Likewise.
12732 * math/auto-libm-test-in: Add tests of cpow.
12733 * math/auto-libm-test-out: Regenerated.
12734 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12735 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12737 (func_calc_desc): Add mpc_cc_c union field.
12738 (test_functions): Add cpow.
12739 (special_fill_2pi): New function.
12740 (special_real_inputs): Add 2pi.
12741 (calc_generic_results): Handle mpc_cc_c.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12745 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12746 csqrt, ctan and ctanh.
12747 * math/auto-libm-test-out: Regenerated.
12748 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12749 (TEST_COND_x86): Likewise.
12750 (ccos_test_data): Use AUTO_TESTS_c_c.
12751 (ccosh_test_data): Likewise.
12752 (cexp_test_data): Likewise.
12753 (clog_test_data): Likewise.
12754 (csqrt_test_data): Likewise.
12755 (ctan_test_data): Likewise.
12756 (ctan_tonearest_test_data): Likewise.
12757 (ctan_towardzero_test_data): Likewise.
12758 (ctan_downward_test_data): Likewise.
12759 (ctan_upward_test_data): Likewise.
12760 (ctanh_test_data): Likewise.
12761 (ctanh_tonearest_test_data): Likewise.
12762 (ctanh_towardzero_test_data): Likewise.
12763 (ctanh_downward_test_data): Likewise.
12764 (ctanh_upward_test_data): Likewise.
12765 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12767 (func_calc_desc): Add mpc_c_c union field.
12768 (FUNC_mpc_c_c): New macro.
12769 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12770 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12772 (special_fill_min_subnorm_p120): New function.
12773 (special_real_inputs): Add min_subnorm_p120.
12774 (calc_generic_results): Handle mpc_c_c.
12775 * sysdeps/i386/fpu/libm-test-ulps: Update.
12776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12778 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12780 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12781 (do_sin_slow): New functions.
12782 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12783 (cslow2, csloww1, csloww2): Use the new functions.
12785 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12786 Use M to change sign of result instead of X. Assume X is
12788 (csloww1): Likewise.
12792 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12793 arguments A and DA.
12797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12799 (sloww1): Don't adjust sign of DX.
12800 (csloww1): Likewise.
12801 (sloww2): Use X directly and don't adjust sign of DX.
12802 (csloww2): Likewise.
12804 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12806 * math/auto-libm-test-in: Add tests of cabs and carg.
12807 * math/auto-libm-test-out: Regenerated.
12808 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12809 (carg_test_data): Likewise.
12810 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12812 (func_calc_desc): Add mpc_c_f union field.
12813 (test_functions): Add cabs and carg.
12814 (calc_generic_results): Handle mpc_c_f.
12816 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12817 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12818 as a macro and a compat symbol.
12819 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12820 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12821 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12822 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12823 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12830 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12832 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12834 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12836 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12837 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12840 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12844 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12846 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12847 trailing whitespace removed.
12848 * scripts/config.guess: Update to version 2013-11-29.
12849 * scripts/config.sub: Update to version 2013-10-01.
12851 * math/auto-libm-test-in: Add tests of sincos.
12852 * math/auto-libm-test-out: Regenerated.
12853 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12854 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12856 (func_calc_desc): Add mpfr_f_11 union field.
12857 (test_functions): Add sincos.
12858 (calc_generic_results): Handle mpfr_f_11.
12859 * sysdeps/i386/fpu/libm-test-ulps: Update.
12860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862 2013-12-19 Andreas Schwab <schwab@suse.de>
12864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12867 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12868 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12870 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12872 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12873 * sysdeps/i386/fpu/libm-test-ulps: Update.
12874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12878 round-to-nearest mode when using frndint.
12879 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12880 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12883 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12885 * math/auto-libm-test-out: Regenerated.
12886 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12887 (TEST_COND_x86): Likewise.
12888 (expm1_tonearest_test_data): New array.
12889 (expm1_test_tonearest): New function.
12890 (expm1_towardzero_test_data): New array.
12891 (expm1_test_towardzero): New function.
12892 (expm1_downward_test_data): New array.
12893 (expm1_test_downward): New function.
12894 (expm1_upward_test_data): New array.
12895 (expm1_test_upward): New function.
12896 (main): Run the new test functions.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12900 * include/features.h: Update comment documenting feature test
12901 macros. Mention _DEFAULT_SOURCE in comment.
12902 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12903 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12904 _BSD_SOURCE and _SVID_SOURCE.
12905 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12906 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12907 !_SVID_SOURCE]: Likewise.
12908 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12909 (__USE_POSIX_IMPLICITLY): Define.
12910 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12911 (_POSIX_SOURCE): Undefine and redefine.
12912 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12913 (_POSIX_C_SOURCE): Likewise.
12914 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12915 (Feature Test Macros): Update documentation of default features.
12917 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12919 * benchtests/Makefile: Add bench-strtok.
12920 * benchtests/bench-strtok.c: New file: strtok benchtest.
12922 2013-12-19 Allan McRae <allan@archlinux.org>
12924 * manual/install.texi: Suppress menu for plain text output.
12925 * INSTALL: Regenerated.
12927 2013-12-18 Brooks Moses <bmoses@google.com>
12930 * misc/getauxval.c: Include errno.h.
12931 (__getauxval): Set errno to ENOENT if the requested type is not
12933 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12934 don't declare with __attribute_const__.
12935 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12936 * manual/startup.texi: Document that getauxval sets errno.
12938 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12940 * math/auto-libm-test-in: Add tests of jn and yn.
12941 * math/auto-libm-test-out: Regenerated.
12942 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12943 (yn_test_data): Likewise.
12944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12946 (func_calc_desc): Add mpfr_if_f union field.
12947 (FUNC_mpfr_if_f): New macro.
12948 (test_functions): Add jn and yn.
12949 (calc_generic_results): Assert type of second input for
12950 mpfr_ff_f. Handle mpfr_if_f.
12951 (output_for_one_input_case): Disable all checking for arguments
12952 fitting floating-point types in case of an integer argument.
12953 * sysdeps/i386/fpu/libm-test-ulps: Update.
12954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12957 Don't expect fegetround reference in libm.so.
12959 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12961 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12962 $(config-cflags-nofma).
12964 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12966 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12967 * math/auto-libm-test-out: Regenerated.
12970 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12971 to determine exponent and adjust argument to have exponent of -1.
12972 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12974 * math/auto-libm-test-out: Regenerated.
12975 * sysdeps/i386/fpu/libm-test-ulps: Update.
12976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12978 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12980 * manual/probes.texi: Remove cases when per-thread arenas are
12983 2013-12-18 Andreas Schwab <schwab@suse.de>
12985 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12986 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12987 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12988 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12989 * sysdeps/i386/i686/multiarch/Makefile: Update.
12990 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12992 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12994 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12995 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12997 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13000 Support TZ transition times < 00:00:00.
13001 This is needed for version-3 tz-format files; it supports time
13002 stamps past 2037 for America/Godthab (the only entry in the tz
13003 database for which this change is relevant).
13004 * manual/time.texi (TZ Variable): Document transition times
13005 from -167:59:59 through -00:00:01.
13006 * time/tzset.c (tz_rule): Time of day is now signed.
13007 (__tzset_parse_tz): Parse negative time of day.
13009 Document TZ transition times >= 25:00:00.
13010 * manual/time.texi (TZ Variable): Document transition times from
13011 25:00:00 through 167:59:59. These are already supported, and this
13012 support will help with version-3 tz-format files.
13014 * manual/time.texi (TZ Variable): Modernize North America example
13015 to reflect current (i.e., 2007-and-later) daylight saving rules.
13017 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13019 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13021 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13022 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13025 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13026 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13027 * sysdeps/unix/bsd/clock.c: Likewise.
13028 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13029 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13030 * sysdeps/unix/bsd/init-posix.c: Likewise.
13031 * sysdeps/unix/bsd/poll.c: Likewise.
13032 * sysdeps/unix/bsd/ptsname.c: Likewise.
13033 * sysdeps/unix/bsd/seekdir.c: Likewise.
13034 * sysdeps/unix/bsd/setegid.c: Likewise.
13035 * sysdeps/unix/bsd/seteuid.c: Likewise.
13036 * sysdeps/unix/bsd/setgid.c: Likewise.
13037 * sysdeps/unix/bsd/setrgid.c: Likewise.
13038 * sysdeps/unix/bsd/setruid.c: Likewise.
13039 * sysdeps/unix/bsd/setsid.c: Likewise.
13040 * sysdeps/unix/bsd/setuid.c: Likewise.
13041 * sysdeps/unix/bsd/sigaction.c: Likewise.
13042 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13043 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13044 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13045 * sysdeps/unix/bsd/telldir.c: Likewise.
13046 * sysdeps/unix/bsd/times.c: Likewise.
13047 * sysdeps/unix/bsd/usleep.c: Likewise.
13049 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13050 ($(objpfx)libbsd-compat.a): Remove rule.
13052 * include/features.h (__FAVOR_BSD): Do not define.
13053 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13054 features conflicting with POSIX.
13055 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13056 (_BSD_SOURCE): Remove description of not being a subset of other
13057 feature test macros.
13058 * manual/job.texi (getpgrp): Do not document BSD version.
13059 (getpgid): Do not document by reference to BSD getpgrp.
13060 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13061 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13062 * signal/signal.h [__FAVOR_BSD]: Likewise.
13063 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13064 instead of making contents conditional on [__FAVOR_BSD].
13065 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13067 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13071 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13075 values below 2**-450, not 2**-500.
13076 * math/auto-libm-test-in: Don't allow spurious underflow from
13078 * math/auto-libm-test-out: Regenerated.
13082 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13083 values of ha and hb and sort them after adjusting subnormal
13085 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13088 values of ea and eb and sort them after adjusting subnormal
13090 * math/auto-libm-test-in: Do not expect some hypot tests of
13091 subnormals to fail. Add more hypot tests.
13092 * math/auto-libm-test-out: Regenerated.
13094 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13097 * sysdeps/sh/s_fma.c: New file.
13098 * sysdeps/sh/s_fmaf.c: New file.
13099 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13101 * sysdeps/sh/Implies: Add sh/soft-fp.
13103 2013-12-16 Roland McGrath <roland@hack.frob.com>
13105 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13106 level of indirection to members `objname', `errstring', `malloced'.
13107 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13108 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13109 it as the __longjmp argument (just pass 1 instead).
13110 (_dl_catch_error): Initialize C with argument pointers and address of
13111 volatile local ERRCODE rather than copying values out of C at return.
13113 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13115 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13116 * math/auto-libm-test-out: Regenerated.
13117 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13118 (hypot_test_data): Likewise.
13119 (pow_test_data): Likewise.
13120 (pow_tonearest_test_data): Likewise.
13121 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13123 (func_calc_desc): Add mpfr_ff_f union field.
13124 (FUNC_mpfr_ff_f): New macro.
13125 (test_functions): Add atan2, hypot and pow.
13126 (special_fill_min): New function.
13127 (special_fill_minus_min): Likewise.
13128 (special_fill_min_subnorm): Likewise.
13129 (special_fill_minus_min_subnorm): Likewise.
13130 (special_real_inputs): Add min, -min, min_subnorm and
13132 (calc_generic_results): Handle mpfr_ff_f.
13133 * sysdeps/i386/fpu/libm-test-ulps: Update.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13136 2013-12-16 Will Newton <will.newton@linaro.org>
13138 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13139 (Aligned Memory Blocks): Add documentation for aligned_alloc
13140 and suggest it as an alternative to posix_memalign.
13141 (Hooks for Malloc): Document __memalign_hook is also called
13142 for aligned_alloc. (Summary of Malloc): Add summary for
13143 aligned alloc. Document __memalign_hook is also called
13146 2013-12-16 Will Newton <will.newton@linaro.org>
13148 * manual/memory.texi (Malloc Examples): Clarify default
13149 alignment documentation. Suggest posix_memalign rather
13150 than memalign or valloc.
13151 (Aligned Memory Blocks): Remove suggestion to use memalign
13152 or valloc. Remove obsolete comment about BSD.
13153 Document memalign errno values and mark the function obsolete.
13154 Document posix_memalign returned error codes. Mark valloc
13155 as obsolete. (Hooks for Malloc): __memalign_hook is also
13156 called for posix_memalign and valloc.
13157 (Summary of Malloc): Add posix_memalign to function summary.
13158 __memalign_hook is also called for posix_memalign and valloc.
13160 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13162 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13166 (sloww): Use mynumber union. Expand ternary operator into
13167 if-else statements.
13168 (cslow): use mynumber union.
13170 2013-12-16 Allan McRae <allan@archlinux.org>
13172 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13173 * configure: Regenerated.
13175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13178 * configure.ac: Added --enable-maintainer-mode. Check for
13179 autoconf when enabled.
13180 * configure: Regenerated.
13182 * nscd/nscd.service: New file.
13183 * nscd/nscd.tmpfiles: New file.
13185 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13188 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13189 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13190 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13191 (strstr): Add __strstr_sse2_unaligned ifunc.
13192 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13193 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13194 (strcasestr): Remove __strcasestr_sse42 ifunc.
13195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13199 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13201 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13202 * sysdeps/sh/bits/fenv.h: ... here.
13203 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13205 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13207 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13210 hypotf multiarch implementations.
13211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13214 multiarch hypot for PPC64.
13215 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13218 multiarch hypotf for PPC64.
13220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13221 modff multiarch implementations.
13222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13225 multiarch modf for PPC64.
13226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13229 multiarch modff for PPC64.
13231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13232 and logl multiarch implementations.
13233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13236 multiarch logb for PPC64.
13237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13240 multiarch logb for PPC64.
13241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13244 multiarch logb for PPC64.
13246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13247 isinff multiarch implementation.
13248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13252 multiarch isinf for PPC64.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13256 multiarch isinff for PPC64.
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13259 finitef multiarch implementation.
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13264 multiarch finite for PPC64.
13265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13268 multiarch finitef for PPC64.
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13271 lrint multiarch implementation.
13272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13276 multiarch llrint for PPC64.
13277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13278 multiarch lrint for PPC64.
13280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13281 copysignf multiarch implementation.
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13287 multiarch copysign for PPC64.
13288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13289 multiarch copysignf for PPC64.
13291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13292 multiarch implementation.
13293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13301 multiarch llround for PPC64.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13303 multiarch trunc for PPC64.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13305 multiarch truncf for PPC64.
13307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13308 multiarch implementation.
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13317 multiarch llround for PPC64.
13318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13319 multiarch round for PPC64.
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13321 multiarch roundf for PPC64.
13323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13324 multiarch implementation.
13325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13333 multiarch llround for PPC64.
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13335 multiarch floor for PPC64.
13336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13337 multiarch floorf for PPC64.
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13340 multiarch implementation.
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13349 multiarch llround for PPC64.
13350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13351 multiarch ceil for PPC64.
13352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13353 multiarch ceilf for PPC64.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13356 multiarch implementation.
13357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13364 multiarch llround for PPC64.
13365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13366 multiarch lround for PPC64.
13368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13369 multiarch implementation.
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13377 multiarch isnan for PPC64.
13378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13379 multiarch isnanf for PPC64.
13381 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13382 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13383 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13384 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13385 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13388 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13389 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13394 multiarch implementations.
13395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13396 (__libc_ifunc_impl_list): Likewise.
13397 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13398 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13399 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13400 multiarch stpcpy for PPC64.
13402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13403 multiarch implementations.
13404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13405 (__libc_ifunc_impl_list): Likewise.
13406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13407 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13408 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13409 multiarch strcpy for PPC64.
13411 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13412 redefine function name.
13413 (_wordcopy_fwd_dest_aligned): Likewise.
13414 (_wordcopy_bwd_aligned): Likewise.
13415 (_wordcopy_bwd_dest_aligned): Likewise.
13416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13417 multiarch implementations.
13418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13419 (__libc_ifunc_impl_list): Likewise.
13420 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13421 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13422 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13423 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13424 multiarch wcscpy for PPC64.
13426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13427 multiarch implementations.
13428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13429 (__libc_ifunc_impl_list): Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13431 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13432 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13433 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13434 multiarch wcscpy for PPC64.
13436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13437 multiarch implementations.
13438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13439 (__libc_ifunc_impl_list): Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13441 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13442 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13444 multiarch wcsrchr for PPC64.
13446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13447 multiarch implementations.
13448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13449 (__libc_ifunc_impl_list): Likewise.
13450 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13451 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13452 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13453 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13454 multiarch wcschr for PPC64.
13456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13457 multiarch implementations.
13458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13459 (__libc_ifunc_impl_list): Likewise.
13460 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13461 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13462 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13463 multiarch strchrnul for PPC64.
13465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13468 (__libc_ifunc_impl_list): Likewise.
13469 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13470 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13471 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13472 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13478 (__libc_ifunc_impl_list): Likewise.
13479 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13480 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13481 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13482 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13486 multiarch implementations.
13487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13488 (__libc_ifunc_impl_list): Likewise.
13489 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13490 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13491 strncasecmp for PPC64.
13492 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13493 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13494 multiarch strncasecmp_l for PPC64.
13496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13497 multiarch implementations.
13498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13499 (__libc_ifunc_impl_list): Likewise.
13500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13502 multiarch strcasecmp for PPC64.
13503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13506 multiarch strcasecmp_l for PPC64.
13508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13511 (__libc_ifunc_impl_list): Likewise.
13512 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13514 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13520 (__libc_ifunc_impl_list): Likewise.
13521 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13522 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13523 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13529 (__libc_ifunc_impl_list): Likewise.
13530 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13531 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13532 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13533 rawmemrchr for PPC64.
13535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13538 (__libc_ifunc_impl_list): Likewise.
13539 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13540 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13541 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13547 (__libc_ifunc_impl_list): Likewise.
13548 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13549 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13550 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13556 (__libc_ifunc_impl_list): Likewise.
13557 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13559 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13562 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13563 avoid cretion of __bzero symbol.
13564 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13566 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13568 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13571 multiarch implementations.
13572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13573 (__libc_ifunc_impl_list): Likewise.
13574 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13575 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13576 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13577 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13579 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13580 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13581 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13582 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13583 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13585 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13587 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13591 (__libc_ifunc_impl_list): Likewise.
13592 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13593 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13594 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13595 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13599 multiarch for POWER/PPC64.
13600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13601 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13604 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13605 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13606 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13607 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13608 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13611 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13612 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13613 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13614 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13615 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13616 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13617 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13618 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13619 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13620 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13621 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13622 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13623 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13624 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13625 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13634 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13636 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13638 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13640 * benchtests/Makefile (bench): Add exp2 and log2.
13641 (LDLIBS-bench-exp2): Add -lm.
13642 (LDLIBS-bench-log2): Likewise.
13643 * benchtests/exp2-inputs: New inputs file.
13644 * benchtests/log2-inputs: New inputs file.
13645 * benchtests/log-inputs: Add new inputs.
13646 * benchtests/tan-inputs: Likewise.
13648 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13650 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13652 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13653 (csloww2): ... from here.
13655 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13656 instead of structures.
13657 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13658 (POLYNOMIAL): Likewise.
13659 (TAYLOR_SLOW): Likewise.
13665 (sloww1); Likewise.
13666 (sloww2): Likewise.
13667 (bsloww1): Likewise.
13668 (bsloww2): Likewise.
13669 (cslow2): Likewise.
13670 (csloww): Likewise.
13671 (csloww1): Likewise.
13672 (csloww2): Likewise.
13674 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13676 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13677 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13678 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13679 * malloc/hooks.c (realloc_check): Likewise.
13681 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13682 * malloc/arena.c: Remove PER_THREAD conditional.
13683 [!PER_THREAD]: Remove code.
13684 (ptmalloc_unlock_all2): Likewise.
13685 (ptmalloc_init): Likewise.
13686 (_int_new_arena): Likewise.
13687 (arena_get2): Likewise.
13688 * malloc/hooks.c (__malloc_get_state): Likewise.
13689 (__malloc_set_state): Likewise.
13690 * malloc/malloc.c: Likewise.
13691 (struct malloc_state): Likewise.
13692 (struct malloc_par): Likewise.
13693 (__libc_realloc): Likewise.
13694 (__libc_mallopt): Likewise.
13696 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13700 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13702 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13703 macro to a function. Check for zero perturb_byte.
13704 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13706 * malloc/malloc.c: (force_reg): Remove.
13707 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13708 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13709 force_reg by atomic_forced_read.
13710 * malloc/arena.c (ptmalloc_init): Likewise.
13711 * malloc/hooks.c (top_check): Likewise.
13713 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13717 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13721 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13723 * math/auto-libm-test-in: Add tests of lgamma.
13724 * math/auto-libm-test-out: Regenerated.
13725 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13726 (M_LOG_2_SQRT_PIl): Likewise.
13727 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13730 (func_calc_desc): Add mpfr_f_f1 union field.
13731 (ARGS1): New macro.
13739 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13740 (test_functions): Add lgamma.
13741 (calc_generic_results): Handle mpfr_f_f1.
13742 * sysdeps/i386/fpu/libm-test-ulps: Update.
13743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13748 __mpn_add_n for PowerPC64/POWER7.
13749 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13750 __mpn_sub_n for PowerPC64/POWER7.
13752 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13753 __mpn_addmul_1 for PowerPC64.
13754 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13755 __mpn_submul_1 for PowerPC64.
13756 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13758 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13761 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13764 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13766 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13768 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13770 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13771 add multiarch folders.
13772 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13773 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13774 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13775 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13776 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13777 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13778 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13779 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13780 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13781 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13782 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13791 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13797 multiarch __ieee754_hypot for PowerPC32.
13798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13803 multiarch __ieee754_hypotf for PowerPC32.
13805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13806 long_double_symbol only if __logbl is defined.
13807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13808 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13810 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13812 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13814 path for implementation.
13815 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13818 logb, and logbl multiarch implementations for PowerPC32.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13824 multiarch logb for PowerPC32.
13825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13830 multiarch logbf for PowerPC32.
13831 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13835 multiarch logbl implementation for PowerPC32.
13837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13838 and modff multiarch implementations.
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13844 multiarch modf for PowerPC32.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13850 multiarch modff for PowerPC32.
13852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13853 and lrintf multiarch implementations.
13854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13859 multiarch lrint for PowerPC32.
13860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13861 file: multiarch lrintf for PowerPC32.
13863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13864 and lroundf multiarch implementations.
13865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13872 multiarch lround for PowerPC32.
13873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13874 file: multiarch lroundf for PowerPC32.
13876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13877 copysign and copysignf multiarch implementations.
13878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13883 file: multiarch copysign for PowerPC32.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13885 file: multiarch copysignf for PowerPC32.
13887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13888 and truncf multiarch implementations.
13889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13894 multiarch trunc for PowerPC32.
13895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13900 multiarch truncf for PowerPC32.
13902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13903 and roundf multiarch implementations.
13904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13909 multiarch round for PowerPC32.
13910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13915 multiarch roundf for PowerPC32.
13917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13918 and floorf multiarch implementations.
13919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13924 multiarch floor for PowerPC32.
13925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13930 multiarch floorf for PowerPC32.
13932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13933 and ceilf multiarch implementations.
13934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13939 multiarch ceil for PowerPC32.
13940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13945 multiarch ceilf for PowerPC32.
13947 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13949 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13950 FINITEF is defined.
13951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13952 and finitef multiarch implementations.
13953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13958 multiarch finite for PowerPC32.
13959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13962 file: multiarch finitef for PowerPC32.
13964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13965 and isinff multiarch implementations.
13966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13971 multiarch isinf for PowerPC32.
13972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13975 multiarch isinff for PowerPC32.
13977 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13978 alias when __isnan is defined.
13979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13980 and isnanf multiarch implementations.
13981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13990 multiarch isnan for PowerPC32.
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13996 multiarch isnanf for PowerPC32.
13998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13999 and sqrtf multiarch implementations.
14000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14005 multiarch sqrt for PowerPC32.
14006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14011 multiarch sqrtf for PowerPC32.
14013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14014 and llroundf multiarch implementations.
14015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14022 file: multiarch llround for PowerPC32.
14023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14024 file: multiarch llroundf for PowerPC32.
14026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14027 multiarch PowerPC32 fpu implementations.
14028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14033 multiarch llrint for PowerPC32.
14034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14043 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14045 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14047 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14049 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14050 multiarch wordcopy for PPC32.
14051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14054 (__libc_ifunc_impl_list): Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14056 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14057 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14058 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14060 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14062 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14070 multiarch wcscpy for PPC32.
14071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14074 (__libc_ifunc_impl_list): Likewise.
14075 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14076 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14077 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14078 sysdeps/powerpc/power6/wcscpy.c.
14080 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14088 multiarch wcsrchr for PPC32.
14089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14092 (__libc_ifunc_impl_list): Likewise.
14093 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14094 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14095 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14096 sysdeps/powerpc/power6/wcsrchr.c.
14098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14104 multiarch wcschr for PPc32.
14105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14108 (__libc_ifunc_impl_list): Likewise.
14109 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14110 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14111 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14112 sysdeps/powerpc/power6/wcschr.c.
14114 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14115 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14117 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14118 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14119 file: multiarch strchr for PPC32.
14120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14123 (__libc_ifunc_impl_list): Likewise.
14125 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14127 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14132 multiarch strchrnul for PPC32.
14133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14136 (__libc_ifunc_impl_list): Likewise.
14138 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14140 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14141 multiarch strncasecmp for PPC32.
14142 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14145 multiarch strncasecmp_l for PPC32.
14146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14147 strncasecmp multiarch objects.
14148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14149 (__libc_ifunc_impl_list): Likewise.
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14154 multiarch strncasecmp for PPC32.
14155 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14157 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14158 multiarch strcasecmp_l for PPC32.
14159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14162 (__libc_ifunc_impl_list): Likewise.
14164 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14166 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14169 multiarch strncmp for PPC32.
14170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14173 (__libc_ifunc_impl_list): Likewise.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14176 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14178 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14179 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14183 (__libc_ifunc_impl_list): Likewise.
14185 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14187 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14189 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14193 (__libc_ifunc_impl_list): Likewise.
14195 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14197 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14199 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14200 multiarch rawmemchr for PPC32.
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14204 (__libc_ifunc_impl_list): Likewise.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14211 file: memrchr multiarch for PPC32.
14212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14215 (__libc_ifunc_impl_list): Likewise.
14217 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14218 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14220 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14221 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14222 multiarch memchr for PPC32.
14223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14226 (__libc_ifunc_impl_list): Likewise.
14228 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14229 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14231 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14234 file: multiarch mempcpy for PPC32.
14235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14238 (__libc_ifunc_impl_list): Likewise.
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14242 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14244 multiarch bzero for PPC32.
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14250 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14251 file: multiarch memset for PPC32.
14252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14254 memset multiarch objects.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14256 (__libc_ifunc_impl_list): Likewise.
14258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14263 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14267 (__libc_ifunc_impl_list): Likewise.
14269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14278 multiarch memcpy for PPC32.
14279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14282 (__libc_ifunc_impl_list): Likewise.
14284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14285 support multiarch for POWER/PPC32.
14286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14288 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14290 Implies file to make multiarch folder appers before the fpu and
14291 default folder for power4 configuration.
14293 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 * scripts/bench.pl: Append volatile keyword to type.
14297 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14299 * sysdeps/sh/sotruss-lib.c: New file.
14300 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14302 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14306 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14309 * math/w_tgamma.c: Include <errno.h>.
14310 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14311 * math/w_tgammaf.c: Include <errno.h>.
14312 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14313 * math/w_tgammal.c: Include <errno.h>.
14314 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14315 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14316 underflow. Add more tgamma tests.
14317 * math/auto-libm-test-out: Regenerated.
14318 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14322 sin, sinh, tan, tanh, tgamma, y0 and y1.
14323 * math/auto-libm-test-out: Regenerated.
14324 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14325 (TEST_COND_x86): Likewise.
14326 (M_E2l): Remove macro.
14328 (M_2_SQRT_PIl): Likewise.
14329 (M_SQRT_PIl): Likewise.
14330 (M_1_DIV_El): Likewise.
14331 (log_test_data): Use AUTO_TESTS_f_f.
14332 (log10_test_data): Likewise.
14333 (log1p_test_data): Likewise.
14334 (log2_test_data): Likewise.
14335 (sin_test_data): Likewise.
14336 (sin_tonearest_test_data): Likewise.
14337 (sin_towardzero_test_data): Likewise.
14338 (sin_downward_test_data): Likewise.
14339 (sin_upward_test_data): Likewise.
14340 (sinh_test_data): Likewise.
14341 (sinh_tonearest_test_data): Likewise.
14342 (sinh_towardzero_test_data): Likewise.
14343 (sinh_downward_test_data): Likewise.
14344 (sinh_upward_test_data): Likewise.
14345 (tan_test_data): Likewise.
14346 (tan_tonearest_test_data): Likewise.
14347 (tan_towardzero_test_data): Likewise.
14348 (tan_downward_test_data): Likewise.
14349 (tan_upward_test_data): Likewise.
14350 (tanh_test_data): Likewise.
14351 (tgamma_test_data): Likewise.
14352 (y0_test_data): Likewise.
14353 (y1_test_data): Likewise.
14354 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14355 (special_real_inputs): Add pi/4.
14356 * sysdeps/i386/fpu/libm-test-ulps: Update.
14357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14361 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14362 "longjmp_target" static probes.
14363 (__longjmp): Rename to __longjmp_symbol.
14364 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14366 on which longjmp to generate.
14367 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14370 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14371 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14372 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14374 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14375 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14377 __longjmp_symbol based on which __longjmp to generate.
14378 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14380 (setjmp): Rename to setjmp_symbol.
14381 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14382 (_setjmp): Rename to _setjmp_symbol.
14383 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14384 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14385 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14386 which setjmp to generate.
14387 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14388 "longjmp_target" static probes.
14390 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14392 * benchtests/README: Add note about output arguments.
14393 * benchtests/bench-sincos.c: Remove file.
14394 * benchtests/sincos-inputs: New file.
14395 * scripts/bench.pl: Identify output arguments and define
14396 static variables for them.
14398 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14401 * Makefile (INSTALL): Add install-plain.texi as the primary
14403 * manual/install-plain.texi: New file.
14404 * manual/install.texi: Include node directive only for
14405 non-plaintext output.
14407 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14409 * stdlib/longlong.h: Update from GCC.
14413 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14414 * math/w_j0f.c (y0f): Likewise.
14415 * math/w_j0l.c (__y0l): Likewise.
14416 * math/w_j1.c (y1): Likewise.
14417 * math/w_j1f.c (y1f): Likewise.
14418 * math/w_j1l.c (__y1l): Likewise
14419 * math/w_jn.c (yn): Likewise.
14420 * math/w_jnf.c (ynf): Likewise.
14421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14422 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14423 value for Bessel function domain errors outside _SVID_ mode.
14424 Adjust sign of return value for yn (negative integer, 0).
14425 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14426 by zero in return for negative x and set sign appropriately for
14428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14429 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14430 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14431 expectations in error cases.
14432 (y1_test_data): Likewise.
14433 (yn_test_data): Likewise.
14434 * sysdeps/i386/fpu/libm-test-ulps: Update.
14435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14437 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14439 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14440 "64" to "64-v1". Add "64-v2".
14441 (abi-64-options): Rename to ...
14442 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14443 (abi-64-condition): Rename to ...
14444 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14445 (abi-64-ld-soname): Rename to ...
14446 (abi-64-v1-ld-soname): ... this.
14447 (abi-64-v2-options): Define.
14448 (abi-64-v2-condition): Likewise.
14449 (abi-64-v2-ld-soname): Likewise.
14450 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14451 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14456 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14457 Alan Modra <amodra@gmail.com>
14459 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14460 New versions for use with the ELFv2 ABI.
14461 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14462 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14464 (struct La_ppc64v2_retval): Likewise.
14465 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14466 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14467 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14468 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14469 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14471 Do not save or restore CR.
14472 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14473 (_dl_profile_resolve): Do no save or restore CR. Support extended
14474 return values for ELFv2 ABI. Fix location of FPR return registers.
14475 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14476 updated values for _CALL_ELF == 2.
14477 (La_regs, La_retval, int_retval): Likewise.
14479 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14481 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14482 (FRAME_MIN_SIZE_PARM): Likewise.
14483 (FRAME_BACKCHAIN): Likewise.
14484 (FRAME_CR_SAVE): Likewise.
14485 (FRAME_LR_SAVE): Likewise.
14486 (FRAME_TOC_SAVE): Likewise.
14487 (FRAME_PARM_SAVE): Likewise.
14488 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14489 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14490 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14491 (call_mcount_parm_offset): New macro.
14492 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14493 (PROF): Use symbolic stack frame offsets.
14494 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14495 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14496 Redefine in terms of FRAME_MIN_SIZE.
14497 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14498 (_dl_profile_resolve): Likewise. Update comment.
14499 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14500 symbols stack frame offsets.
14501 (__sigsetjmp): Likewise.
14502 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14503 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14504 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14505 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14508 (FRAME_BACKCHAIN): Remove.
14509 (FRAME_CR_SAVE): Likewise.
14510 (FRAME_LR_SAVE): Likewise.
14511 (FRAME_COMPILER_DW): Likewise.
14512 (FRAME_LINKER_DW): Likewise.
14513 (FRAME_TOC_SAVE): Likewise.
14514 (FRAME_PARM_SAVE): Likewise.
14515 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14516 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14517 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14519 (CHECK_SP): Use symbolic stack frame offsets.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14521 zone" instead of caller's parameter save area for temp storage.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14523 Likewise. Also, use symbolic stack frame offsets.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14525 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14526 our own stack frame instead of the caller's.
14527 (__socket): Use symbolic stack frame offsets.
14529 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14530 Alan Modra <amodra@gmail.com>
14532 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14534 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14535 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14536 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14538 (elf_machine_fixup_plt): Call it.
14539 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14541 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14543 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14544 r2 before calling target.
14546 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14547 Alan Modra <amodra@gmail.com>
14549 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14550 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14551 versions of macros to support ELFv2 ABI.
14552 (LOCALENTRY): New macro.
14553 (ENTRY, EALIGN): Use it.
14554 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14555 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14556 fall through into ENTRY entry point.
14557 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14558 Only define if _CALL_ELF != 2.
14560 (elf_machine_matches_host): Verify ABI version matches.
14561 (RTLD_START): Use LOCALENTRY.
14562 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14563 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14564 (PLT_ENTRY_WORDS): New macro.
14565 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14566 (elf_machine_runtime_setup): Support ELFv2 ABI.
14567 (elf_machine_fixup_plt): Likewise.
14568 (elf_machine_plt_conflict): Likewise.
14569 (resolve_ifunc): Likewise.
14570 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14571 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14574 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14576 (makecontext): Support ELFv2 ABI.
14577 * elf/elf.h (EF_PPC64_ABI): Define.
14579 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14581 * sysdeps/powerpc/powerpc64/sysdep.h
14582 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14583 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14584 (ENTRY) [ASSEMBLER]: ... but instead here ...
14585 (EALIGN) [ASSEMBLER]: ... and here.
14586 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14587 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14588 (ENTRY_2) [!ASSEMBLER]: Use it.
14589 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14590 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14592 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14593 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14595 Use PPC64_LOAD_FUNCPTR.
14597 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14599 2013-12-04 Alan Modra <amodra@gmail.com>
14601 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14602 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14603 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14604 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14607 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14608 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14609 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14610 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14611 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14613 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14616 (__makecontext): Fix incorrect CFI when backtracing out of
14617 context created via makecontext.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14619 (__setcontext): Fix incorrect CFI during switch to new context.
14620 (__novec_setcontext): Likewise.
14622 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14625 * time/strptime_l.c (__strptime_internal): Allow modifiers
14627 * time/tst-strptime.c (day_tests): Add testcase.
14629 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14631 * scripts/bench.pl: Skip over blank lines.
14633 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14636 * manual/time.texi (Calendar Time): Clarify what timezone functions
14639 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14643 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14645 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14647 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14648 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14649 * debug/memset_chk.c (__memset_chk): Likewise.
14650 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14651 * debug/strncpy_chk.c: Likewise.
14653 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14658 (__ieee754_exp): For possibly underflowing results, check size of
14659 result and force underflow exception if required.
14660 * math/auto-libm-test-in: Add more tests of exp.
14661 * math/auto-libm-test-out: Regenerated.
14662 * sysdeps/i386/fpu/libm-test-ulps: Update.
14663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14667 * math/w_exp2f.c (__exp2f): Likewise.
14668 * math/w_exp2l.c (__exp2l): Likewise.
14669 * math/auto-libm-test-in: Do not allow missing errno on exp2
14671 * math/auto-libm-test-out: Regenerated.
14673 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14676 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14677 handle filename validation.
14678 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14681 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14684 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14685 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14686 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14688 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14689 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14690 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14692 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14693 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14694 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14695 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14696 Add more erfc tests.
14697 * math/auto-libm-test-out: Regenerated.
14698 * sysdeps/i386/fpu/libm-test-ulps: Update.
14699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14701 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14702 exp2, expm1, j0 and j1.
14703 * math/auto-libm-test-out: Regenerated.
14704 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14705 (erfc_test_data): Likewise.
14706 (exp_test_data): Likewise.
14707 (exp_tonearest_test_data): Likewise.
14708 (exp_towardzero_test_data): Likewise.
14709 (exp_downward_test_data): Likewise.
14710 (exp_upward_test_data): Likewise.
14711 (exp10_test_data): Likewise.
14712 (exp2_test_data): Likewise.
14713 (expm1_test_data): Likewise.
14714 (j0_test_data): Likewise.
14715 (j1_test_data): Likewise.
14716 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14717 (input_flag_type): Add flag_xfail_rounding.
14718 (input_flags): Add xfail-rounding.
14719 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14720 (output_for_one_input_case): Handle flag_xfail_rounding.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14727 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14730 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14733 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14734 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14735 (STAP_PROBE0): New macro.
14736 (STAP_PROBE1): Likewise.
14737 (STAP_PROBE2): Likewise.
14738 (STAP_PROBE3): Likewise.
14739 (STAP_PROBE4): Likewise.
14741 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14743 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14745 2013-12-02 Steve Ellcey <sellcey@mips.com>
14747 * benchtests/Makefile (bench): Add sqrt.
14748 (LDLIBS-bench-sqrt): New.
14749 * benchtests/sqrt-input: New.
14751 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14753 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14754 (GAIH_EAI): Likewise.
14755 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14756 (gaih_inet): Likewise.
14757 (getaddrinfo): Don't use GAIH_EAI.
14759 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14760 (struct gaih): Remove definition.
14762 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14764 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14765 Use HERRNOP directly.
14767 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14771 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14773 * math/gen-auto-libm-tests.c (test_functions): Add more
14774 single-argument functions.
14775 (special_fill_pi_2): New function.
14776 (special_fill_minus_pi_2): Likewise.
14777 (special_fill_pi_6): Likewise.
14778 (special_fill_minus_pi_6): Likewise.
14779 (special_fill_pi_3): Likewise.
14780 (special_fill_2pi_3): Likewise.
14781 (special_fill_e): Likewise.
14782 (special_fill_1_e): Likewise.
14783 (special_fill_e_minus_1): Likewise.
14784 (special_real_inputs): Add more special inputs.
14785 (output_for_one_input_case): Do not require ERANGE on underflow to
14786 zero if round-to-nearest result does not underflow to zero, unless
14787 exact results required.
14788 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14789 atan, atanh, cbrt, cos and cosh.
14790 * math/auto-libm-test-out: Regenerated.
14791 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14792 (acos_tonearest_test_data): Likewise.
14793 (acos_towardzero_test_data): Likewise.
14794 (acos_downward_test_data): Likewise.
14795 (acos_upward_test_data): Likewise.
14796 (acosh_test_data): Likewise.
14797 (asin_test_data): Likewise.
14798 (asin_tonearest_test_data): Likewise.
14799 (asin_towardzero_test_data): Likewise.
14800 (asin_upward_test_data): Likewise.
14801 (asinh_test_data): Likewise.
14802 (atan_test_data): Likewise.
14803 (atanh_test_data): Likewise.
14804 (cbrt_test_data): Likewise.
14805 (cos_test_data): Likewise.
14806 (cos_tonearest_test_data): Likewise.
14807 (cos_towardzero_test_data): Likewise.
14808 (cos_downward_test_data): Likewise.
14809 (cos_upward_test_data): Likewise.
14810 (cosh_test_data): Likewise.
14811 (cosh_tonearest_test_data): Likewise.
14812 (cosh_towardzero_test_data): Likewise.
14813 (cosh_downward_test_data): Likewise.
14814 (cosh_upward_test_data): Likewise.
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14821 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14822 * math/w_exp10f.c (__exp10f): Likewise.
14823 * math/w_exp10l.c (__exp10l): Likewise.
14824 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14825 errno settings in existing tests.
14828 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14829 precision control set to double precision.
14830 * sysdeps/i386/fpu/w_sqrt.c: New file.
14831 * math/auto-libm-test-in: Add more tests.
14832 * math/auto-libm-test-out: Update.
14834 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14835 (sqrt_test_tonearest): New function.
14836 (sqrt_towardzero_test_data): New variable.
14837 (sqrt_test_towardzero): New function.
14838 (sqrt_downward_test_data): New variable.
14839 (sqrt_test_downward): New function.
14840 (sqrt_upward_test_data): New variable.
14841 (sqrt_test_upward): New function.
14842 (main): Call the new functions.
14844 * math/gen-auto-libm-tests.c: New file.
14845 * math/auto-libm-test-in: Likewise.
14846 * math/auto-libm-test-out: New generated file.
14847 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14849 (%beautify): Add generated representations of zero.
14850 (top level): Set $auto_input and call parse_auto_input.
14851 (beautify): Remove trailing "f" from hex float constants.
14852 (parse_args): Handle XFAIL_TEST.
14853 (convert_condition): New function.
14854 (or_value): Likewise.
14855 (or_cond_value): Likewise.
14856 (generate_testfile): Handle AUTO_TESTS_* lines.
14857 (parse_auto_input): New function.
14858 * math/libm-test.inc (XFAIL_TEST): New macro.
14859 (ERRNO_UNCHANGED): Update value.
14860 (ERRNO_EDOM): Likewise.
14861 (ERRNO_ERANGE): Likewise.
14862 (IGNORE_RESULT): Likewise.
14863 (TEST_COND_flt_32): New macro.
14864 (TEST_COND_dbl_64): Likewise.
14865 (TEST_COND_ldbl_96_intel): Likewise.
14866 (TEST_COND_ldbl_96_m68k): Likewise.
14867 (TEST_COND_ldbl_128): Likewise.
14868 (TEST_COND_ldbl_128ibm): Likewise.
14869 (TEST_COND_long32): Likewise.
14870 (TEST_COND_long64): Likewise.
14871 (TEST_COND_before_rounding): Likewise.
14872 (TEST_COND_after_rounding): Likewise.
14873 (enable_test): Handle XFAIL_TEST flag.
14874 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14875 with finite results.
14876 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14877 auto-libm-test-out.
14879 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14880 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14883 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14884 __tls_get_addr_internal instead of __tls_get_offset in order to
14885 avoid GOT pointer dependency. Make rtld export
14886 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14887 __tls_get_addr since we are a __tls_get_offset platform.
14888 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14889 GOT pointer being set up before.
14890 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14892 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14894 * manual/math.texi (Errors in Math Functions): Document accuracy
14898 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14899 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14902 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14904 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14915 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14916 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14917 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14918 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14919 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14921 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14923 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14925 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14926 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14927 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14928 atomic-feupdateenv and flt-rounds.
14929 * sysdeps/powerpc/nofpu/Versions (libc): Add
14930 __atomic_feholdexcept, __atomic_feclearexcept,
14931 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14932 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14933 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14934 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14935 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14940 * manual/arith.texi (FP Exceptions): Document that exceptions may
14941 not be raised when matherr is used.
14942 (Math Error Reporting): Document overflow in directed rounding
14943 modes. Document that errno may not be set when finite values are
14944 returned on overflow. Document intent to set errno on underflow
14945 only for underflow to zero.
14948 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14949 round-to-nearest then adjust result for other rounding modes.
14950 * include/fenv.h (fegetround): Use libm_hidden_proto.
14951 * math/fegetround.c (fegetround): Use libm_hidden_def.
14952 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14953 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14954 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14955 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14957 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14958 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14959 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14960 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14962 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14965 * nss/Versions (libnss_files): Add
14966 _nss_files_gethostbyname3_r.
14967 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14969 (HOST_DB_LOOKUP): Remove macro.
14970 (_nss_files_gethostbyname_r): Implement function without the
14971 HOST_DB_LOOKUP macro.
14972 (_nss_files_gethostbyname2_r): Likewise.
14974 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14976 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14978 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14980 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14981 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14984 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14986 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14987 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14988 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14989 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14990 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14991 __fe_nomask_env_priv and attribute_hidden.
14992 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14993 (libc_feupdateenv_test_ppc): Likewise.
14994 (libc_feresetround_ppc): Likewise.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14996 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14997 compat_symbol macro.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14999 (__fe_nomask_env): Likewise.
15000 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15002 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15004 * string/Makefile: Remove ifunc tests.
15005 * string/test-string.h: Define TEST_IFUNC.
15006 * string/test-bcopy-ifunc.c: Remove.
15007 * string/test-bzero-ifunc.c: Likewise.
15008 * string/test-memccpy-ifunc.c: Likewise.
15009 * string/test-memchr-ifunc.c: Likewise.
15010 * string/test-memcmp-ifunc.c: Likewise.
15011 * string/test-memcpy-ifunc.c: Likewise.
15012 * string/test-memmem-ifunc.c: Likewise.
15013 * string/test-memmove-ifunc.c: Likewise.
15014 * string/test-mempcpy-ifunc.c: Likewise.
15015 * string/test-memrchr-ifunc.c: Likewise.
15016 * string/test-memset-ifunc.c: Likewise.
15017 * string/test-rawmemchr-ifunc.c: Likewise.
15018 * string/test-stpcpy-ifunc.c: Likewise.
15019 * string/test-stpncpy-ifunc.c: Likewise.
15020 * string/test-strcasecmp-ifunc.c: Likewise.
15021 * string/test-strcasestr-ifunc.c: Likewise.
15022 * string/test-strcat-ifunc.c: Likewise.
15023 * string/test-strchr-ifunc.c: Likewise.
15024 * string/test-strchrnul-ifunc.c: Likewise.
15025 * string/test-strcmp-ifunc.c: Likewise.
15026 * string/test-strcpy-ifunc.c: Likewise.
15027 * string/test-strcspn-ifunc.c: Likewise.
15028 * string/test-strlen-ifunc.c: Likewise.
15029 * string/test-strncasecmp-ifunc.c: Likewise.
15030 * string/test-strncat-ifunc.c: Likewise.
15031 * string/test-strncmp-ifunc.c: Likewise.
15032 * string/test-strncpy-ifunc.c: Likewise.
15033 * string/test-strnlen-ifunc.c: Likewise.
15034 * string/test-strpbrk-ifunc.c: Likewise.
15035 * string/test-strrchr-ifunc.c: Likewise.
15036 * string/test-strspn-ifunc.c: Likewise.
15037 * string/test-strstr-ifunc.c: Likewise.
15039 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15041 * benchtests/Makefile: Remove ifunc tests.
15042 * benchtests/bench-string.h: Define TEST_IFUNC.
15043 * benchtests/bench-bcopy-ifunc.c: Remove.
15044 * benchtests/bench-bzero-ifunc.c: Likewise.
15045 * benchtests/bench-memccpy-ifunc.c: Likewise.
15046 * benchtests/bench-memchr-ifunc.c: Likewise.
15047 * benchtests/bench-memcmp-ifunc.c: Likewise.
15048 * benchtests/bench-memcpy-ifunc.c: Likewise.
15049 * benchtests/bench-memmem-ifunc.c: Likewise.
15050 * benchtests/bench-memmove-ifunc.c: Likewise.
15051 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15052 * benchtests/bench-memrchr-ifunc.c: Likewise.
15053 * benchtests/bench-memset-ifunc.c: Likewise.
15054 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15055 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15056 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15057 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15058 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15059 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15060 * benchtests/bench-strcat-ifunc.c: Likewise.
15061 * benchtests/bench-strchr-ifunc.c: Likewise.
15062 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15063 * benchtests/bench-strcmp-ifunc.c: Likewise.
15064 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15065 * benchtests/bench-strcpy-ifunc.c: Likewise.
15066 * benchtests/bench-strcspn-ifunc.c: Likewise.
15067 * benchtests/bench-strlen-ifunc.c: Likewise.
15068 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15069 * benchtests/bench-strncat-ifunc.c: Likewise.
15070 * benchtests/bench-strncmp-ifunc.c: Likewise.
15071 * benchtests/bench-strncpy-ifunc.c: Likewise.
15072 * benchtests/bench-strnlen-ifunc.c: Likewise.
15073 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15074 * benchtests/bench-strrchr-ifunc.c: Likewise.
15075 * benchtests/bench-strsep-ifunc.c: Likewise.
15076 * benchtests/bench-strspn-ifunc.c: Likewise.
15077 * benchtests/bench-strstr-ifunc.c: Likewise.
15079 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15081 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15083 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15085 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15086 * rt/aio.h: Likewise.
15087 * sysdeps/gnu/bits/utmp.h: Likewise.
15088 * sysdeps/gnu/bits/utmpx.h: Likewise.
15089 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15090 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15091 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15092 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15093 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15094 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15095 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15096 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15097 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15098 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15100 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15101 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15103 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15104 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15105 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15106 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15107 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15108 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15109 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15110 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15111 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15112 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15113 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15117 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15118 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15119 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15121 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15124 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15125 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15126 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15127 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15128 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15129 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15130 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15132 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15135 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15136 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15138 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15140 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15141 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15144 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15147 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15148 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15149 (__fesetround): Remove define.
15150 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15151 rounding and exceptions handling.
15152 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15153 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15154 (__fe_nomask_env): Likewise.
15155 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15156 __fegetround instead of fegetround.
15157 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15160 2013-11-21 Roland McGrath <roland@hack.frob.com>
15162 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15165 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15167 2013-11-21 Meador Inge <meadori@codesourcery.com>
15170 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15171 (encrypt_r): Likewise.
15172 * malloc/obstack.h (obstack_free): Likewise.
15173 * posix/unistd.h (encrypt): Likewise.
15175 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15177 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15178 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15179 DL_CALL_DT_FINI() that call the functions directly.
15180 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15181 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15182 * elf/dl-fini.c: Likewise.
15184 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15186 * malloc/hooks.c (memalign_check): Add alignment rounding.
15187 * malloc/malloc.c (_mid_memalign): New function.
15188 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15189 Implement by calling _mid_memalign.
15190 * manual/probes.texi (Memory Allocation Probes): Remove
15191 memory_valloc_retry and memory_pvalloc_retry.
15193 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 * locale/programs/locarchive.c (open_archive): Add const
15196 qualifier to ARCHIVEFNAME and copy default fname to
15200 * libio/tst-widetext.input: Rename Oriya to Odia.
15201 * locale/iso-639.def: Likewise.
15203 * manual/probes.texi (Mathematical Function Probes): Add
15204 documentation for sin, cos, asin and acos probes.
15205 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15206 (__sin32): Add slowasin probe.
15207 (__cos32): Add slowacos probe.
15208 (__mpsin): Add slowsin probe.
15209 (__mpcos): Add slowcos probe.
15211 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15214 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15215 thread-local __sim_exceptions_thread and global
15216 __sim_exceptions_global.
15217 (__sim_disabled_exceptions): Change to thread-local
15218 __sim_disabled_exceptions_thread and global
15219 __sim_disabled_exceptions_global.
15220 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15221 and global __sim_round_mode_global.
15222 (__simulate_exceptions): Use thread-local floating-point state and
15223 set global state from it as needed.
15224 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15225 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15226 __sim_round_mode_thread.
15227 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15228 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15229 and global __sim_exceptions_global.
15230 (__sim_disabled_exceptions): Change to thread-local
15231 __sim_disabled_exceptions_thread and global
15232 __sim_disabled_exceptions_global.
15233 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15234 and global __sim_round_mode_global.
15235 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15236 (SIM_SET_GLOBAL): Likewise.
15237 * sysdeps/powerpc/soft-fp/sfp-machine.h
15238 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15239 __sim_round_mode_thread.
15240 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15241 __sim_disabled_exceptions_thread.
15242 (__sim_exceptions): Change to __sim_exceptions_thread.
15243 (__sim_disabled_exceptions): Change to
15244 __sim_disabled_exceptions_thread.
15245 (__sim_round_mode): Change to __sim_round_mode_thread.
15246 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15247 thread-local floating-point state and set global state from it as
15249 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15250 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15251 (__sim_disabled_exceptions): Remove extern declaration.
15252 (feenableexcept): Use thread-local floating-point state and set
15253 global state from it as needed.
15254 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15255 extern declaration.
15256 (__sim_disabled_exceptions): Likewise.
15257 (__sim_round_mode): Likewise.
15258 (__fegetenv): Use thread-local floating-point state.
15259 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15260 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15261 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15262 floating-point state and set global state from it as needed.
15263 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15264 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15265 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15267 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15268 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15270 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15271 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15272 Use __sim_round_mode_thread.
15273 * math/test-fenv-tls.c: New file.
15274 * math/Makefile (tests): Add test-fenv-tls.
15275 ($(objpfx)test-fenv-tls): Depend on
15276 $(common-objpfx)nptl/libpthread.so.
15278 2013-11-19 Andreas Schwab <schwab@suse.de>
15280 * locale/programs/locale.c (show_info): Decode wordarray elements.
15281 * locale/categories.def (LC_MONETARY): Add element for
15282 _NL_MONETARY_CRNCYSTR.
15283 * locale/C-monetary.c (conversion_rate): New variable.
15284 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15287 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15289 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15290 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15292 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15294 * elf/Makefile (tst-auxv): New test.
15295 * elf/tst-auxv.c: New
15296 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15298 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15300 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15301 (hidden_proto): Caller changed.
15302 (hidden_tls_proto): New macro.
15303 (libc_hidden_tls_proto): Likewise.
15304 (rtld_hidden_tls_proto): Likewise.
15305 (libm_hidden_tls_proto): Likewise.
15306 (libresolv_hidden_tls_proto): Likewise.
15307 (librt_hidden_tls_proto): Likewise.
15308 (libdl_hidden_tls_proto): Likewise.
15309 (libnss_files_hidden_tls_proto): Likewise.
15310 (libnsl_hidden_tls_proto): Likewise.
15311 (libnss_nisplus_hidden_tls_proto): Likewise.
15312 (libutil_hidden_tls_proto): Likewise.
15314 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15317 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15318 (decompose_rpath): Defer expansion to fillin_rpath.
15319 (_dl_init_paths): Pass linkmap to fillin_rpath.
15321 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15323 * benchtests/Makefile: Add strsep.
15324 * benchtests/bench-strsep.c: New file: strsep benchtest.
15325 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15327 2013-11-18 Andreas Schwab <schwab@suse.de>
15329 * locale/programs/locale.c (show_info) [case byte]: Check for
15330 '\377' instead of '\177'.
15331 * locale/C-monetary.c (not_available): Always use "\377".
15332 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15333 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15334 detect unavailable sign_posn locale elements.
15335 * locale/localeconv.c (__localeconv): For grouping and
15336 mon_grouping handle "\177" and "\377" like no grouping.
15337 (INT_ELEM): New macro. Use it to set all numeric members.
15338 * locale/programs/ld-monetary.c (monetary_read)
15339 <tok_mon_grouping>: Normalize single -1 to the empty string.
15340 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15343 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15347 when we match (nil).
15348 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15350 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15352 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15353 (NO_TEST_INLINE): Update value.
15354 (ERRNO_UNCHANGED): Likewise.
15355 (ERRNO_EDOM): Likewise.
15356 (ERRNO_ERANGE): Likewise.
15357 (IGNORE_RESULT): Likewise.
15358 (check_float_internal): Check signs of NaN results if
15359 TEST_NAN_SIGN used.
15360 (check_complex): Pass TEST_NAN_SIGN flag through to second
15361 check_float_internal call.
15362 (copysign_test_data): Add tests with quiet NaNs as second
15363 argument. Use TEST_NAN_SIGN.
15364 (fabs_test_data): Add test of negative quiet NaN argument. Use
15366 (signbit_test_data): Add tests of quiet NaN argument.
15367 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15369 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15371 (parse_args): Handle function results specified as IGNORE.
15372 * math/libm-test.inc (IGNORE_RESULT): New macro.
15373 (check_float_internal): Do not check numerical result if flag
15375 (check_complex): Pass through IGNORE_RESULT to second
15376 check_float_internal call.
15377 (check_int): Do not check numerical result if flag IGNORE_RESULT
15379 (check_long): Likewise.
15380 (check_bool): Likewise.
15381 (check_longlong): Likewise.
15382 (lrint_test_data): Add tests of infinite and NaN arguments.
15383 (lrint_tonearest_test_data): Likewise.
15384 (lrint_towardzero_test_data): Likewise.
15385 (lrint_downward_test_data): Likewise.
15386 (lrint_upward_test_data): Likewise.
15387 (llrint_test_data): Likewise.
15388 (llrint_tonearest_test_data): Likewise.
15389 (llrint_towardzero_test_data): Likewise.
15390 (llrint_downward_test_data): Likewise.
15391 (llrint_upward_test_data): Likewise.
15392 (lround_test_data): Likewise.
15393 (llround_test_data): Likewise.
15395 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15396 (ERRNO_UNCHANGED): Update value.
15397 (ERRNO_EDOM): Likewise.
15398 (ERRNO_ERANGE): Likewise.
15399 (NO_TEST_INLINE_FLOAT): New macro.
15400 (NO_TEST_INLINE_DOUBLE): Likewise.
15401 (enable_test): New function.
15402 (RUN_TEST_f_f): Check enable_test before running test.
15403 (RUN_TEST_2_f): Likewise.
15404 (RUN_TEST_fff_f): Likewise.
15405 (RUN_TEST_c_f): Likewise.
15406 (RUN_TEST_f_f1): Likewise.
15407 (RUN_TEST_fF_f1): Likewise.
15408 (RUN_TEST_fI_f1): Likewise.
15409 (RUN_TEST_ffI_f1): Likewise.
15410 (RUN_TEST_c_c): Likewise.
15411 (RUN_TEST_cc_c): Likewise.
15412 (RUN_TEST_f_i): Likewise.
15413 (RUN_TEST_f_i_tg): Likewise.
15414 (RUN_TEST_ff_i_tg): Likewise.
15415 (RUN_TEST_f_b): Likewise.
15416 (RUN_TEST_f_b_tg): Likewise.
15417 (RUN_TEST_f_l): Likewise.
15418 (RUN_TEST_f_L): Likewise.
15419 (RUN_TEST_fFF_11): Likewise.
15420 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15422 (cosh_test_data): Likewise.
15423 (exp_test_data): Likewise.
15424 (expm1_test_data): Likewise.
15425 (hypot_test_data): Likewise.
15426 (pow_test_data): Likewise.
15427 (sinh_test_data): Likewise.
15428 (tanh_test_data): Likewise.
15429 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15432 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15433 tests with quiet NaN input and output.
15434 (acosh_test_data): Likewise.
15435 (asin_test_data): Likewise.
15436 (asinh_test_data): Likewise.
15437 (atan_test_data): Likewise.
15438 (atanh_test_data): Likewise.
15439 (atan2_test_data): Likewise.
15440 (cbrt_test_data): Likewise.
15441 (cos_test_data): Likewise.
15442 (cosh_test_data): Likewise.
15443 (erf_test_data): Likewise.
15444 (erfc_test_data): Likewise.
15445 (exp_test_data): Likewise.
15446 (exp10_test_data): Likewise.
15447 (exp2_test_data): Likewise.
15448 (expm1_test_data): Likewise.
15449 (hypot_test_data): Likewise.
15450 (j0_test_data): Likewise.
15451 (j1_test_data): Likewise.
15452 (jn_test_data): Likewise.
15453 (lgamma_test_data): Likewise.
15454 (log_test_data): Likewise.
15455 (log10_test_data): Likewise.
15456 (log1p_test_data): Likewise.
15457 (log2_test_data): Likewise.
15458 (pow_test_data): Likewise.
15459 (scalb_test_data): Likewise.
15460 (sin_test_data): Likewise.
15461 (sincos_test_data): Likewise.
15462 (sinh_test_data): Likewise.
15463 (tan_test_data): Likewise.
15464 (tanh_test_data): Likewise.
15465 (tgamma_test_data): Likewise.
15466 (y0_test_data): Likewise.
15467 (y1_test_data): Likewise.
15468 (yn_test_data): Likewise.
15471 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15472 argument being NaN and avoid computations with second argument in
15474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15475 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15476 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15478 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15480 * locale/iso-639.def: Add Chitwani Tharu (the).
15482 2013-11-14 Andreas Schwab <schwab@suse.de>
15484 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15485 word instead of empty string.
15487 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15490 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15492 (__fe_nomask_env): Likewise.
15494 2013-11-13 Steve Ellcey <sellcey@mips.com>
15496 * benchtests/bench-timing.h: Include time.h.
15498 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15501 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15503 * sysdeps/unix/sysv/linux/configure: Regenerated.
15505 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15508 * stdlib/strtod_l.c (round_and_return): Do not consider
15509 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15510 exponent one less than half the least subnormal exponent.
15511 * stdlib/test-strtod-round-data: Add more tests.
15512 * stdlib/tst-strtod-round.c (tests): Regenerated.
15514 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15517 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15518 (__fe_mask_env): Likewise.
15519 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15520 libm_hidden_proto and add function prototype.
15521 (__fe_mask_env): Add function prototype.
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15523 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15525 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15527 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15529 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15531 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15532 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15534 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15536 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15537 of htab_find_slot().
15539 2013-11-11 David S. Miller <davem@davemloft.net>
15542 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15543 symbol in the non-vis3 case in static builds.
15544 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15545 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15546 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15547 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15549 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15552 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15555 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15557 * benchtests/Makefile: Add bench-strtod.
15558 * benchtests/bench-strtod.c: New file: strtod benchtest
15560 2013-11-11 Andreas Schwab <schwab@suse.de>
15563 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15564 terminating NUL in key length.
15566 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15568 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15569 Add artificial ODP entry for vDSO symbol for PPC64.
15570 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15571 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15573 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15576 * nss/getent.c (services_keys): Recognize services starting with digit.
15578 2013-11-06 David S. Miller <davem@davemloft.net>
15581 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15582 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15584 2013-11-06 Will Newton <will.newton@linaro.org>
15586 * manual/memory.texi (Malloc Examples): Remove register
15587 keyword from examples.
15589 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15591 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15593 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15596 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15597 depending on [__GCC_IEC_559 > 0].
15598 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15599 depending on [__GCC_IEC_559_COMPLEX > 0].
15601 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15603 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15606 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15608 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15610 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15613 * malloc/malloc (malloc_info): Do not handle first bin as
15616 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15618 * locale/iso-639.def: Add Central Nahuatl (nhn).
15620 2013-11-01 Bruno Haible <bruno@clisp.org>
15623 * manual/math.texi (BSD Random): Specify range upper bound as
15626 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15628 * locale/iso-639.def: Add Meadow Mari (mhr).
15630 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15632 [BZ #14752], [BZ #15763]
15633 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15635 * rt/tst_shm.c: Add test for escaping directory.
15637 2013-10-31 Andreas Schwab <schwab@suse.de>
15640 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15641 followed by 'x' as part of digit sequence.
15642 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15644 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15647 * configure.ac: allow GNU Make 4.0 and greater.
15648 * configure: Regenerated.
15650 2013-10-30 Will Newton <will.newton@linaro.org>
15653 * malloc/hooks.c (memalign_check): Limit alignment to the
15654 maximum representable power of two.
15655 * malloc/malloc.c (__libc_memalign): Likewise.
15656 * malloc/tst-memalign.c (do_test): Add test for very
15657 large alignment values.
15658 * malloc/tst-posix_memalign.c (do_test): Likewise.
15660 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15663 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15664 (munmap_chunk): Likewise.
15665 (mremap_chunk): Likewise.
15667 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15670 * stdlib/div.c (div): Remove obsolete code.
15671 * stdlib/ldiv.c (ldiv): Likewise.
15672 * stdlib/lldiv.c (lldiv): Likewise.
15674 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15677 * nss/nss_files/files-XXX.c (get_contents_ret): New
15679 (get_contents): New function.
15680 (internal_getent): Use it. Expand size of LINEBUFLEN.
15682 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15684 * configure.in: Moved to ...
15685 * configure.ac: ... here. Change reference to configure.in
15687 * sysdeps/arm/preconfigure.ac: ... here.
15688 configure.in to configure.ac.
15689 * sysdeps/gnu/configure.in: Moved to ...
15690 * sysdeps/gnu/configure.ac: ... here.
15691 * sysdeps/i386/configure.in: Moved to ...
15692 * sysdeps/i386/configure.ac: ... here.
15693 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15694 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15695 * sysdeps/mach/configure.in: Moved to ...
15696 * sysdeps/mach/configure.ac: ... here.
15697 * sysdeps/mach/hurd/configure.in: Moved to ...
15698 * sysdeps/mach/hurd/configure.ac: ... here.
15699 * sysdeps/powerpc/configure.in: Moved to ...
15700 * sysdeps/powerpc/configure.ac: ... here.
15701 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15702 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15703 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15704 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15705 * sysdeps/s390/s390-32/configure.in: Moved to ...
15706 * sysdeps/s390/s390-32/configure.ac: ... here.
15707 * sysdeps/s390/s390-64/configure.in: Moved to ...
15708 * sysdeps/s390/s390-64/configure.ac: ... here.
15709 * sysdeps/sh/configure.in: Moved to ...
15710 * sysdeps/sh/configure.ac: ... here.
15711 * sysdeps/sparc/configure.in: Moved to ...
15712 * sysdeps/sparc/configure.ac: ... here.
15713 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15714 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15715 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15716 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15717 * sysdeps/x86_64/configure.in: Moved to ...
15718 * sysdeps/x86_64/configure.ac: ... here.
15719 * sysdeps/x86_64/preconfigure.in: Moved to ...
15720 * sysdeps/x86_64/preconfigure.ac: ... here.
15721 * aclocal.m4: Change reference to configure.in to configure.ac.
15722 * config.h.in: Likewise.
15723 * manual/install.texi: Likewise.
15724 * manual/maint.texi: Likewise.
15725 * Makefile: Likewise.
15726 * malloc/Makefile: Likewise.
15727 * nscd/Makefile: Likewise.
15728 * Makeconfig: Change reference to configure.in and
15729 preconfigure.in to configure.ac and preconfigure.ac
15731 * INSTALL: Regenerated.
15732 * configure: Likewise.
15733 * sysdeps/gnu/configure: Likewise.
15734 * sysdeps/i386/configure: Likewise.
15735 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15736 * sysdeps/mach/configure: Likewise.
15737 * sysdeps/mach/hurd/configure: Likewise.
15738 * sysdeps/powerpc/configure: Likewise.
15739 * sysdeps/powerpc/powerpc32/configure: Likewise.
15740 * sysdeps/powerpc/powerpc64/configure: Likewise.
15741 * sysdeps/s390/s390-32/configure: Likewise.
15742 * sysdeps/s390/s390-64/configure: Likewise.
15743 * sysdeps/sh/configure: Likewise.
15744 * sysdeps/sparc/configure: Likewise.
15745 * sysdeps/unix/sysv/linux/configure: Likewise.
15746 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15747 * sysdeps/x86_64/configure: Likewise.
15748 * sysdeps/x86_64/preconfigure: Likewise.
15750 2013-10-29 Andreas Schwab <schwab@suse.de>
15752 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15754 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15756 * benchtests/pow-inputs: Add new inputs.
15758 * benchtests/exp-inputs: Add new inputs.
15760 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15761 conditional check for return value.
15762 (__cos32): Likewise.
15764 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15766 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15767 to provide a boost for large inputs with word alignment.
15768 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15769 implementation based on optimized PPC64 strcpy.
15770 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15771 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15772 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15773 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15775 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15778 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15780 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15783 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15784 * time/tst-strptime.c (day_tests): Add testcase.
15786 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15789 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15791 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15794 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15795 MAP_FAILED on error.
15797 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15800 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15801 heap for large requests.
15803 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15806 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15807 result if the result has no associated interface.
15808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15809 interface for all 127.X.Y.Z addresses.
15811 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15813 * locale/iso-639.def: Add Ligurian (lij)
15815 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15818 * sunrpc/rpc_main.c: Document rpcgen -5.
15820 2013-10-19 Michael Stahl <mstahl@redhat.com>
15822 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15824 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15827 * posix/glob.c: Match only directories when trailing slash is present.
15828 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15829 (main): Add testcase.
15831 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15834 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15836 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15838 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15839 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15840 AUTH_DES and cindex for FIPS 140-2.
15841 (DES Encryption): Add cindex FIPS 46-3.
15843 * locale/locarchive.h (struct locarhandle): Add fname.
15844 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15845 if an optional argument was specified to --list-archive,
15847 * locale/programs/locarchive.c (show_archive_content): Take new
15848 argument fname and pass it via ah.fname to open_archive.
15849 * locale/programs/localedef.h: Update decl.
15850 (open_archive): If AH->fname is non-null, open that file
15851 rather than the default file name, and don't ignore ENOENT.
15852 (create_archive): Set AH.fname to NULL.
15853 (delete_locales_from_archive): Likewise.
15854 (add_locales_to_archive): Likewise.
15855 * locale/programs/locfile.c (write_all_categories): Likewise.
15857 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15858 Aldy Hernandez <aldyh@redhat.com>
15860 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15861 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15862 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15863 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15864 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15865 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15866 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15867 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15868 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15869 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15870 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15871 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15872 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15873 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15874 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15876 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15878 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15880 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15882 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15883 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15885 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15886 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15887 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15888 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15890 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15891 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15892 * sysdeps/powerpc/preconfigure: Likewise.
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15895 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15896 Replace contents of file by #include of <fenv_libc.h>.
15897 * sysdeps/powerpc/soft-fp/sfp-machine.h
15898 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15900 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15907 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15913 Allow copysignl PLT reference to be missing.
15915 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15916 Joseph Myers <joseph@codesourcery.com
15919 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15921 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15923 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15925 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15926 * elf/tst-tls1.c: Likewise.
15927 * elf/tst-tls10.h: Likewise.
15928 * elf/tst-tls14.c: Likewise.
15929 * elf/tst-tls2.c: Likewise.
15930 * elf/tst-tls3.c: Likewise.
15931 * elf/tst-tls4.c: Likewise.
15932 * elf/tst-tls5.c: Likewise.
15933 * elf/tst-tls6.c: Likewise.
15934 * elf/tst-tls7.c: Likewise.
15935 * elf/tst-tls8.c: Likewise.
15936 * elf/tst-tls9.c: Likewise.
15937 * elf/tst-tlsmod1.c: Likewise.
15938 * elf/tst-tlsmod13.c: Likewise.
15939 * elf/tst-tlsmod13a.c: Likewise.
15940 * elf/tst-tlsmod14a.c: Likewise.
15941 * elf/tst-tlsmod16a.c: Likewise.
15942 * elf/tst-tlsmod16b.c: Likewise.
15943 * elf/tst-tlsmod2.c: Likewise.
15944 * elf/tst-tlsmod3.c: Likewise.
15945 * elf/tst-tlsmod4.c: Likewise.
15946 * elf/tst-tlsmod5.c: Likewise.
15947 * elf/tst-tlsmod6.c: Likewise.
15949 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15952 * malloc/malloc.c: remove checks for statistics.
15954 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15957 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15958 * inet/tst-network.c: Add testcase.
15960 2013-10-17 Andreas Schwab <schwab@suse.de>
15963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15964 to determine canonical name.
15966 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15968 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15969 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15992 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15998 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16019 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16023 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16027 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16030 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16031 make result into a quiet NaN.
16033 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16035 * soft-fp/adddf3.c: Fix horizontal whitespace.
16036 * soft-fp/addsf3.c: Likewise.
16037 * soft-fp/addtf3.c: Likewise.
16038 * soft-fp/divdf3.c: Likewise.
16039 * soft-fp/divsf3.c: Likewise.
16040 * soft-fp/divtf3.c: Likewise.
16041 * soft-fp/double.h: Likewise.
16042 * soft-fp/eqdf2.c: Likewise.
16043 * soft-fp/eqsf2.c: Likewise.
16044 * soft-fp/eqtf2.c: Likewise.
16045 * soft-fp/extenddftf2.c: Likewise.
16046 * soft-fp/extended.h: Likewise.
16047 * soft-fp/extendsfdf2.c: Likewise.
16048 * soft-fp/extendsftf2.c: Likewise.
16049 * soft-fp/extendxftf2.c: Likewise.
16050 * soft-fp/fixdfdi.c: Likewise.
16051 * soft-fp/fixdfsi.c: Likewise.
16052 * soft-fp/fixdfti.c: Likewise.
16053 * soft-fp/fixsfdi.c: Likewise.
16054 * soft-fp/fixsfsi.c: Likewise.
16055 * soft-fp/fixsfti.c: Likewise.
16056 * soft-fp/fixtfdi.c: Likewise.
16057 * soft-fp/fixtfsi.c: Likewise.
16058 * soft-fp/fixtfti.c: Likewise.
16059 * soft-fp/fixunsdfdi.c: Likewise.
16060 * soft-fp/fixunsdfsi.c: Likewise.
16061 * soft-fp/fixunsdfti.c: Likewise.
16062 * soft-fp/fixunssfdi.c: Likewise.
16063 * soft-fp/fixunssfsi.c: Likewise.
16064 * soft-fp/fixunssfti.c: Likewise.
16065 * soft-fp/fixunstfdi.c: Likewise.
16066 * soft-fp/fixunstfsi.c: Likewise.
16067 * soft-fp/fixunstfti.c: Likewise.
16068 * soft-fp/floatdidf.c: Likewise.
16069 * soft-fp/floatdisf.c: Likewise.
16070 * soft-fp/floatditf.c: Likewise.
16071 * soft-fp/floatsidf.c: Likewise.
16072 * soft-fp/floatsisf.c: Likewise.
16073 * soft-fp/floatsitf.c: Likewise.
16074 * soft-fp/floattidf.c: Likewise.
16075 * soft-fp/floattisf.c: Likewise.
16076 * soft-fp/floattitf.c: Likewise.
16077 * soft-fp/floatundidf.c: Likewise.
16078 * soft-fp/floatundisf.c: Likewise.
16079 * soft-fp/floatunditf.c: Likewise.
16080 * soft-fp/floatunsidf.c: Likewise.
16081 * soft-fp/floatunsisf.c: Likewise.
16082 * soft-fp/floatunsitf.c: Likewise.
16083 * soft-fp/floatuntidf.c: Likewise.
16084 * soft-fp/floatuntisf.c: Likewise.
16085 * soft-fp/floatuntitf.c: Likewise.
16086 * soft-fp/fmadf4.c: Likewise.
16087 * soft-fp/fmasf4.c: Likewise.
16088 * soft-fp/fmatf4.c: Likewise.
16089 * soft-fp/gedf2.c: Likewise.
16090 * soft-fp/gesf2.c: Likewise.
16091 * soft-fp/getf2.c: Likewise.
16092 * soft-fp/ledf2.c: Likewise.
16093 * soft-fp/lesf2.c: Likewise.
16094 * soft-fp/letf2.c: Likewise.
16095 * soft-fp/muldf3.c: Likewise.
16096 * soft-fp/mulsf3.c: Likewise.
16097 * soft-fp/multf3.c: Likewise.
16098 * soft-fp/negdf2.c: Likewise.
16099 * soft-fp/negsf2.c: Likewise.
16100 * soft-fp/negtf2.c: Likewise.
16101 * soft-fp/op-1.h: Likewise.
16102 * soft-fp/op-2.h: Likewise.
16103 * soft-fp/op-4.h: Likewise.
16104 * soft-fp/op-8.h: Likewise.
16105 * soft-fp/op-common.h: Likewise.
16106 * soft-fp/quad.h: Likewise.
16107 * soft-fp/single.h: Likewise.
16108 * soft-fp/soft-fp.h: Likewise.
16109 * soft-fp/sqrtdf2.c: Likewise.
16110 * soft-fp/sqrtsf2.c: Likewise.
16111 * soft-fp/sqrttf2.c: Likewise.
16112 * soft-fp/subdf3.c: Likewise.
16113 * soft-fp/subsf3.c: Likewise.
16114 * soft-fp/subtf3.c: Likewise.
16115 * soft-fp/truncdfsf2.c: Likewise.
16116 * soft-fp/trunctfdf2.c: Likewise.
16117 * soft-fp/trunctfsf2.c: Likewise.
16118 * soft-fp/trunctfxf2.c: Likewise.
16119 * soft-fp/unorddf2.c: Likewise.
16120 * soft-fp/unordsf2.c: Likewise.
16121 * soft-fp/unordtf2.c: Likewise.
16123 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16125 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16126 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16128 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16130 * elf/dl-libc.c: Clear initfini list after freeing.
16132 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16134 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16135 * soft-fp/addsf3.c: Likewise.
16136 * soft-fp/addtf3.c: Likewise.
16137 * soft-fp/divdf3.c: Likewise.
16138 * soft-fp/divsf3.c: Likewise.
16139 * soft-fp/divtf3.c: Likewise.
16140 * soft-fp/double.h: Likewise.
16141 * soft-fp/eqdf2.c: Likewise.
16142 * soft-fp/eqsf2.c: Likewise.
16143 * soft-fp/eqtf2.c: Likewise.
16144 * soft-fp/extenddftf2.c: Likewise.
16145 * soft-fp/extended.h: Likewise.
16146 * soft-fp/extendsfdf2.c: Likewise.
16147 * soft-fp/extendsftf2.c: Likewise.
16148 * soft-fp/extendxftf2.c: Likewise.
16149 * soft-fp/fixdfdi.c: Likewise.
16150 * soft-fp/fixdfsi.c: Likewise.
16151 * soft-fp/fixdfti.c: Likewise.
16152 * soft-fp/fixsfdi.c: Likewise.
16153 * soft-fp/fixsfsi.c: Likewise.
16154 * soft-fp/fixsfti.c: Likewise.
16155 * soft-fp/fixtfdi.c: Likewise.
16156 * soft-fp/fixtfsi.c: Likewise.
16157 * soft-fp/fixtfti.c: Likewise.
16158 * soft-fp/fixunsdfdi.c: Likewise.
16159 * soft-fp/fixunsdfsi.c: Likewise.
16160 * soft-fp/fixunsdfti.c: Likewise.
16161 * soft-fp/fixunssfdi.c: Likewise.
16162 * soft-fp/fixunssfsi.c: Likewise.
16163 * soft-fp/fixunssfti.c: Likewise.
16164 * soft-fp/fixunstfdi.c: Likewise.
16165 * soft-fp/fixunstfsi.c: Likewise.
16166 * soft-fp/fixunstfti.c: Likewise.
16167 * soft-fp/floatdidf.c: Likewise.
16168 * soft-fp/floatdisf.c: Likewise.
16169 * soft-fp/floatditf.c: Likewise.
16170 * soft-fp/floatsidf.c: Likewise.
16171 * soft-fp/floatsisf.c: Likewise.
16172 * soft-fp/floatsitf.c: Likewise.
16173 * soft-fp/floattidf.c: Likewise.
16174 * soft-fp/floattisf.c: Likewise.
16175 * soft-fp/floattitf.c: Likewise.
16176 * soft-fp/floatundidf.c: Likewise.
16177 * soft-fp/floatundisf.c: Likewise.
16178 * soft-fp/floatunsidf.c: Likewise.
16179 * soft-fp/floatunsisf.c: Likewise.
16180 * soft-fp/floatuntidf.c: Likewise.
16181 * soft-fp/floatuntisf.c: Likewise.
16182 * soft-fp/floatuntitf.c: Likewise.
16183 * soft-fp/fmadf4.c: Likewise.
16184 * soft-fp/fmasf4.c: Likewise.
16185 * soft-fp/fmatf4.c: Likewise.
16186 * soft-fp/gedf2.c: Likewise.
16187 * soft-fp/gesf2.c: Likewise.
16188 * soft-fp/getf2.c: Likewise.
16189 * soft-fp/ledf2.c: Likewise.
16190 * soft-fp/lesf2.c: Likewise.
16191 * soft-fp/letf2.c: Likewise.
16192 * soft-fp/muldf3.c: Likewise.
16193 * soft-fp/mulsf3.c: Likewise.
16194 * soft-fp/multf3.c: Likewise.
16195 * soft-fp/negdf2.c: Likewise.
16196 * soft-fp/negsf2.c: Likewise.
16197 * soft-fp/negtf2.c: Likewise.
16198 * soft-fp/op-1.h: Likewise.
16199 * soft-fp/op-2.h: Likewise.
16200 * soft-fp/op-4.h: Likewise.
16201 * soft-fp/op-8.h: Likewise.
16202 * soft-fp/op-common.h: Likewise.
16203 * soft-fp/quad.h: Likewise.
16204 * soft-fp/single.h: Likewise.
16205 * soft-fp/soft-fp.h: Likewise.
16206 * soft-fp/sqrtdf2.c: Likewise.
16207 * soft-fp/sqrtsf2.c: Likewise.
16208 * soft-fp/sqrttf2.c: Likewise.
16209 * soft-fp/subdf3.c: Likewise.
16210 * soft-fp/subsf3.c: Likewise.
16211 * soft-fp/subtf3.c: Likewise.
16212 * soft-fp/truncdfsf2.c: Likewise.
16213 * soft-fp/trunctfdf2.c: Likewise.
16214 * soft-fp/trunctfsf2.c: Likewise.
16215 * soft-fp/trunctfxf2.c: Likewise.
16216 * soft-fp/unorddf2.c: Likewise.
16217 * soft-fp/unordsf2.c: Likewise.
16218 * soft-fp/unordtf2.c: Likewise.
16220 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16223 * misc/error.c (error_tail): Fix possible buffer overflow.
16225 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16228 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16231 2013-10-14 P. J. McDermott <pj@pehjota.net>
16234 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16235 testing pipefail option.
16237 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16239 * soft-fp/double.h: Indent preprocessor directives inside #if.
16240 * soft-fp/extended.h: Likewise.
16241 * soft-fp/op-2.h: Likewise.
16242 * soft-fp/op-4.h: Likewise.
16243 * soft-fp/op-common.h: Likewise.
16244 * soft-fp/quad.h: Likewise.
16245 * soft-fp/single.h: Likewise.
16246 * soft-fp/soft-fp.h: Likewise.
16248 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16250 * iconv/iconv_prog.c: Fix typos.
16251 * stdio-common/psiginfo-data.h: Likewise.
16253 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16256 * locale/setlocale.c: Fix typo.
16258 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16261 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16262 signaling NaN arguments.
16263 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16264 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16267 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16268 unordered operands.
16269 * soft-fp/gesf2.c (__gesf2): Likewise.
16270 * soft-fp/getf2.c (__getf2): Likewise.
16271 * soft-fp/ledf2.c (__ledf2): Likewise.
16272 * soft-fp/lesf2.c (__lesf2): Likewise.
16273 * soft-fp/letf2.c (__letf2): Likewise.
16275 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16276 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16277 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16278 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16279 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16280 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16281 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16282 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16283 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16284 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16285 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16286 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16287 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16288 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16289 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16290 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16291 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16292 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16293 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16294 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16295 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16296 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16297 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16298 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16299 * soft-fp/floattidf.c (__floattidf): Likewise.
16300 * soft-fp/floattisf.c (__floattisf): Likewise.
16301 * soft-fp/floattitf.c (__floattitf): Likewise.
16302 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16303 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16304 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16305 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16306 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16307 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16308 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16309 * soft-fp/gesf2.c (__gesf2): Likewise.
16310 * soft-fp/getf2.c (__getf2): Likewise.
16311 * soft-fp/ledf2.c (__ledf2): Likewise.
16312 * soft-fp/lesf2.c (__lesf2): Likewise.
16313 * soft-fp/letf2.c (__letf2): Likewise.
16315 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16316 Undefine and redefine.
16317 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16318 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16319 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16320 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16321 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16322 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16323 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16324 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16325 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16326 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16327 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16328 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16329 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16330 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16331 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16334 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16335 without decrementing exponent if mantissa >= that for the
16336 denominator, not >.
16337 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16338 denominator, not >. Decrement exponent in < case instead of
16339 incrementing in >= case.
16340 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16341 without decrementing exponent if mantissa >= that for the
16342 denominator, not >.
16344 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16345 computing saturated result for unsigned overflow.
16347 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16348 Jeff Law <law@redhat.com>
16350 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16351 (atan2Mp): Add systemtap probe marker.
16352 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16353 (__ieee754_log): Add systemtap probe marker.
16354 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16355 (atanMp): Add systemtap probe marker.
16356 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16357 (tanMp): Add systemtap probe marker.
16358 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16359 (__slowexp): Add systemtap probe marker.
16360 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16361 (__slowpow): Add systemtap probe marker.
16362 * manual/probes.texi: Document probes.
16364 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16367 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16369 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16371 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16372 written to buffer but not flushed.
16373 * libio/iofwrite_u.c: Likewise.
16374 * libio/iopadn.c: Return bytes returned even if EOF was
16376 * libio/iowpadn.c: Likewise.
16377 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16378 if _IO_padn does not write the whole buffer.
16379 [!COMPILE_WPRINTF] (PAD): Likewise.
16381 2013-10-10 David S. Miller <davem@davemloft.net>
16383 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16386 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16388 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16389 instead of FSF address.
16390 * soft-fp/fixdfti.c: Likewise.
16391 * soft-fp/fixsfti.c: Likewise.
16392 * soft-fp/fixtfti.c: Likewise.
16393 * soft-fp/fixunsdfti.c: Likewise.
16394 * soft-fp/fixunssfti.c: Likewise.
16395 * soft-fp/fixunstfti.c: Likewise.
16396 * soft-fp/floattidf.c: Likewise.
16397 * soft-fp/floattisf.c: Likewise.
16398 * soft-fp/floattitf.c: Likewise.
16399 * soft-fp/floatuntidf.c: Likewise.
16400 * soft-fp/floatuntisf.c: Likewise.
16401 * soft-fp/floatuntitf.c: Likewise.
16402 * soft-fp/trunctfxf2.c: Likewise.
16404 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16405 * soft-fp/fixdfti.c: Likewise.
16406 * soft-fp/fixsfti.c: Likewise.
16407 * soft-fp/fixtfti.c: Likewise.
16408 * soft-fp/fixunsdfti.c: Likewise.
16409 * soft-fp/fixunssfti.c: Likewise.
16410 * soft-fp/fixunstfti.c: Likewise.
16411 * soft-fp/floattidf.c: Likewise.
16412 * soft-fp/floattisf.c: Likewise.
16413 * soft-fp/floattitf.c: Likewise.
16414 * soft-fp/floatuntidf.c: Likewise.
16415 * soft-fp/floatuntisf.c: Likewise.
16416 * soft-fp/floatuntitf.c: Likewise.
16417 * soft-fp/trunctfxf2.c: Likewise.
16419 2013-10-10 David S. Miller <davem@davemloft.net>
16421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16423 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16425 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16426 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16427 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16428 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16429 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16430 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16431 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16434 for NaNs before doing comparisons on argument.
16435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16438 2013-10-10 Will Newton <will.newton@linaro.org>
16440 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16441 passed to _int_memalign does not overflow.
16443 2013-10-10 Torvald Riegel <triegel@redhat.com>
16445 * scripts/bench.pl: Add include-sources directive.
16446 * benchtests/README: Update documentation.
16448 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16450 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16451 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16452 instead of FP_INIT_ROUNDMODE.
16453 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16454 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16457 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16458 copy class of input value.
16459 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16460 not handle exceptions.
16461 * soft-fp/negsf2.c (__negsf2): Likewise.
16462 * soft-fp/negtf2.c (__negtf2): Likewise.
16463 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16465 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16467 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16468 semicolon. From Linux kernel.
16470 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16472 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16474 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16477 * manual/socket.texi: Added statement about buffer
16478 for gethostbyname2_r.
16480 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16482 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16483 Use .p2align directive instead, throughout.
16484 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16485 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16486 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16489 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16490 * sysdeps/x86_64/strchr.S: Likewise.
16491 * sysdeps/x86_64/strrchr.S: Likewise.
16493 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16495 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16497 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16499 * sysdeps/generic/math_private.h (__mpsin1): Remove
16501 (__mpcos1): Likewise.
16502 (__mpsin): New argument __range_reduce.
16503 (__mpcos): Likewise.
16504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16505 (slow): Use __mpsin and __mpcos.
16509 (sloww1): Likewise.
16510 (sloww2): Likewise.
16511 (bsloww): Likewise.
16512 (bsloww1): Likewise.
16513 (bsloww2): Likewise.
16514 (cslow2): Likewise.
16515 (csloww): Likewise.
16516 (csloww1): Likewise.
16517 (csloww2): Likewise.
16518 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16519 range_reduce. Merge in __mpsin1.
16520 (__mpcos): Likewise.
16521 (__mpsin1): Remove.
16522 (__mpcos1): Likewise.
16524 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16526 * locale/loadlocale.c (_nl_intern_locale_data): Use
16528 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16529 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16530 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16531 obstack data is appropriately aligned.
16532 (obstack_int32_grow_fast): Likewise.
16533 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16534 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16535 (add_locale_uint32_array): Likewise.
16537 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * benchtests/Makefile: Remove ARGLIST and RET variables.
16540 ($(objpfx)bench-%.c): Pass only function name to the script.
16541 * benchtests/README: Update documentation.
16542 * benchtests/acos-inputs: Add new directives.
16543 * benchtests/acosh-inputs: Likewise.
16544 * benchtests/asin-inputs: Likewise.
16545 * benchtests/asinh-inputs: Likewise.
16546 * benchtests/atan-inputs: Likewise.
16547 * benchtests/atanh-inputs: Likewise.
16548 * benchtests/cos-inputs: Likewise.
16549 * benchtests/cosh-inputs: Likewise.
16550 * benchtests/exp-inputs: Likewise.
16551 * benchtests/log-inputs: Likewise.
16552 * benchtests/pow-inputs: Likewise.
16553 * benchtests/rint-inputs: Likewise.
16554 * benchtests/sin-inputs: Likewise.
16555 * benchtests/sinh-inputs: Likewise.
16556 * benchtests/tan-inputs: Likewise.
16557 * benchtests/tanh-inputs: Likewise.
16558 * scripts/bench.pl: Add support for new directives.
16560 2013-10-07 Alan Modra <amodra@gmail.com>
16562 * README: Fix careless merge.
16564 2013-10-05 Alan Modra <amodra@gmail.com>
16566 * NEWS: Mention powerpc64le support and bugs fixed.
16567 * README: Both big-endian and little-endian powerpc64 supported.
16569 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16571 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16572 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16573 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16574 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16576 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16578 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16581 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16583 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16584 Move -mhard-float appending from
16585 ports/sysdeps/powerpc/powerpc32/Makefile.
16586 [$(with-fp) = yes] (ASFLAGS): Likewise.
16587 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16588 * sysdeps/powerpc/nofpu: Move directory from
16589 ports/sysdeps/powerpc/nofpu.
16590 * sysdeps/powerpc/soft-fp: Move directory from
16591 ports/sysdeps/powerpc/soft-fp.
16592 * sysdeps/powerpc/powerpc32/405: Move directory from
16593 ports/sysdeps/powerpc/powerpc32/405.
16594 * sysdeps/powerpc/powerpc32/440: Move directory from
16595 ports/sysdeps/powerpc/powerpc32/440.
16596 * sysdeps/powerpc/powerpc32/464: Move directory from
16597 ports/sysdeps/powerpc/powerpc32/464.
16598 * sysdeps/powerpc/powerpc32/476: Move directory from
16599 ports/sysdeps/powerpc/powerpc32/476.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16601 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16603 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16605 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16607 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16609 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16610 * README: Update for powerpc-*-linux-gnu software floating point
16613 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16614 case to powerpc/powerpc32*.
16615 * sysdeps/unix/sysv/linux/configure: Regenerated.
16617 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16618 (_FPU_MASK_OM): Define as 0x04.
16619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16627 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16630 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16633 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16634 and setcontext_e500.
16636 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16638 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16640 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16642 * manual/threads.texi (Default Thread Attributes): Fix typo.
16644 2013-10-04 Will Newton <will.newton@linaro.org>
16646 * malloc/Makefile: Add tst-memalign.
16647 * malloc/tst-memalign.c: New file.
16649 * malloc/tst-posix_memalign.c: Add comments.
16650 (do_test): Add comments and call free on all potentially
16651 allocated pointers. Add space after cast.
16653 * malloc/tst-pvalloc.c: Add comments.
16654 (do_test): Add comments and call free on all potentially
16655 allocated pointers. Remove duplicate check for NULL pointer.
16656 Add space after cast.
16658 * malloc/tst-valloc.c: Add comments.
16659 (do_test): Add comments and call free on all potentially
16660 allocated pointers. Remove duplicate check for NULL pointer.
16661 Add space after cast.
16663 2013-10-04 Alan Modra <amodra@gmail.com>
16665 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16666 Use stdint types in rather than __attribute__((mode())).
16667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16669 2013-10-04 Alan Modra <amodra@gmail.com>
16671 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16672 Correct handling of unaligned relocs for little-endian.
16673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16675 2013-10-04 Alan Modra <amodra@gmail.com>
16677 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16678 * configure: Regenerate.
16679 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16680 * shlib-versions: Likewise.
16682 2013-10-04 Alan Modra <amodra@gmail.com>
16684 * string/tester.c (test_memrchr): Increment reported test cycle.
16686 2013-10-04 Alan Modra <amodra@gmail.com>
16688 * string/test-memcpy.c (do_one_test): When reporting errors, print
16689 string address and don't overrun end of string.
16691 2013-10-04 Alan Modra <amodra@gmail.com>
16693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16694 insrdi. Make better use of reg selection to speed exit slightly.
16695 Schedule entry path a little better. Remove useless "are we done"
16696 checks on entry to main loop. Handle wrapping around zero address.
16697 Correct main loop count. Handle single left-over word from main
16698 loop inline rather than by using loop_small. Remove extra word
16699 case in loop_small caused by wrong loop count. Add little-endian
16701 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16705 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16706 support. Avoid rlwimi.
16707 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16709 2013-10-04 Alan Modra <amodra@gmail.com>
16711 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16712 insrdi. Formatting.
16713 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16714 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16715 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16716 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16717 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16718 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16720 2013-10-04 Alan Modra <amodra@gmail.com>
16722 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16724 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16725 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16726 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16727 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16730 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16731 use of regs. Use power7 mtocrf. Tidy function tails.
16733 2013-10-04 Alan Modra <amodra@gmail.com>
16735 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16736 Formatting. Consistently use rXXX register defines or rN defines.
16737 Use early exit labels that avoid restoring unused non-volatile regs.
16738 Make cr field use more consistent with rWORDn compares. Rename
16739 regs used as shift registers for unaligned loop, using rN defines
16740 for short lifetime/multiple use regs.
16741 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16743 addi 1,1,64 to pop stack frame. Simplify return value code.
16744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16746 2013-10-04 Alan Modra <amodra@gmail.com>
16748 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16749 support. Correct typos, formatting. Optimize tail. Use insrdi
16750 rather than rlwimi.
16751 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16752 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16753 little-endian support. Correct typos.
16754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16755 rather than rlwimi.
16756 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16757 in loop and entry code to keep "and." results.
16758 (strchr): Add little-endian support. Comment. Move cntlzd
16760 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16762 2013-10-04 Alan Modra <amodra@gmail.com>
16764 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16765 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16766 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16767 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16769 2013-10-04 Alan Modra <amodra@gmail.com>
16771 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16772 (rTMP): Define as r11.
16773 (strcmp): Add little-endian support. Optimise tail.
16774 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16775 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16776 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16777 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16778 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16779 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16782 2013-10-04 Alan Modra <amodra@gmail.com>
16784 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16785 little-endian support. Remove unnecessary "are we done" tests.
16786 Handle "s" wrapping around zero and extremely large "size".
16787 Correct main loop count. Handle single left-over word from main
16788 loop inline rather than by using small_loop. Correct comments.
16789 Delete "zero" tail, use "end_max" instead.
16790 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16792 2013-10-04 Alan Modra <amodra@gmail.com>
16794 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16795 support. Don't branch over align.
16796 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16797 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16798 support. Rearrange tmp reg use to suit. Comment.
16799 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16801 2013-10-04 Alan Modra <amodra@gmail.com>
16803 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16805 2013-10-04 Alan Modra <amodra@gmail.com>
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16808 conditional form of branch and link when obtaining pc.
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16811 2013-10-04 Alan Modra <amodra@gmail.com>
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16818 2013-10-04 Alan Modra <amodra@gmail.com>
16820 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16821 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16822 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16823 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16824 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16825 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16826 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16827 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16829 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16831 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16832 Alistair Popple <alistair@ozlabs.au.ibm.com>
16833 Alan Modra <amodra@gmail.com>
16836 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16837 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16838 _dl_hwcap access for little-endian.
16839 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16840 destroy vmx regs when saving unaligned.
16841 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16842 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16843 destroy vmx regs when saving unaligned.
16845 2013-10-04 Alan Modra <amodra@gmail.com>
16847 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16848 Don't use a union to pack hi/low value.
16850 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16852 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16854 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16855 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16856 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16857 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16858 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16860 2013-10-04 Alan Modra <amodra@gmail.com>
16862 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16863 constants to usual value for .cst8 section, and remove redundant
16865 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16866 constant for 0x1p52. Load little-endian words of double from
16867 correct stack offsets.
16869 2013-10-04 Alan Modra <amodra@gmail.com>
16871 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16872 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16873 words of double from correct stack offsets.
16874 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16875 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16876 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16879 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16881 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16882 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16883 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16884 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16886 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16887 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16888 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16889 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16890 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16892 2013-10-04 Alan Modra <amodra@gmail.com>
16894 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16895 64-bit int/double union.
16896 (_FPU_SETCW): Likewise.
16897 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16898 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16900 2013-10-04 Alan Modra <amodra@gmail.com>
16902 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16903 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16905 2013-10-04 Alan Modra <amodra@gmail.com>
16907 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16908 use vector int constants.
16909 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16911 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16913 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16914 array with long long.
16915 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16916 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16917 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16918 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16919 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16920 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16921 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16922 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16923 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16924 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16925 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16926 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16927 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16929 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16931 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16932 (__signbit): Likewise. Correct for little-endian.
16933 (__signbitl): Call __signbit.
16934 (lrint): Correct for little-endian.
16935 (lrintf): Call lrint.
16937 2013-10-04 Alan Modra <amodra@gmail.com>
16939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16940 union 32-bit int array member with 64-bit int array.
16941 (t515, tm256): Double rather than long double.
16942 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16944 2013-10-04 Alan Modra <amodra@gmail.com>
16946 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16948 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16950 version of math_ldbl.h.
16952 2013-10-04 Alan Modra <amodra@gmail.com>
16954 [BZ #15734], [BZ #15735]
16955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16956 all uses of ieee875 long double macros and unions. Simplify test
16957 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16958 ldbl_extract_mantissa value for ix,iy exponents. Properly
16959 normalize after ldbl_extract_mantissa, and don't add hidden bit
16960 already handled. Don't treat low word of ieee854 mantissa like
16961 low word of IBM long double and mask off bit when testing for
16963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16964 all uses of ieee875 long double macros and unions. Simplify tests
16965 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16966 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16967 two1022, instead use their values. Recognise that tests for large
16968 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16969 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16970 Rewrite all uses of ieee875 long double macros and unions. Simplify
16971 test for 0.0L and nan. Correct negation.
16972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16973 ieee875 long double macros and unions. Correct output for large
16974 magnitude x. Correct absolute value calculation.
16975 (__erfcl): Likewise.
16976 * math/libm-test.inc: Add tests for errors discovered in IBM long
16977 double versions of fmodl, remainderl, erfl and erfcl.
16979 2013-10-04 Alan Modra <amodra@gmail.com>
16981 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16982 all uses of ieee854 long double macros and unions. Simplify tests
16983 for long doubles that are fully specified by the high double.
16984 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16986 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16987 Remove dead code too.
16988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16989 (__ieee754_ynl): Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16993 Remove dead code too.
16994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16997 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16999 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17001 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17004 Comment on variable precision.
17005 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17008 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17009 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17010 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17012 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17014 2013-10-04 Alan Modra <amodra@gmail.com>
17016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17017 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17018 all uses of ieee854 long double macros and unions.
17019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17032 Simplify sign and nan test too.
17033 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17038 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17048 2013-10-04 Alan Modra <amodra@gmail.com>
17050 * stdio-common/printf_size.c (__printf_size): Don't use
17051 union ieee854_long_double in fpnum union.
17052 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17053 signbit macro to retrieve sign from long double.
17054 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17055 retrieve sign from long double.
17056 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17057 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17058 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17059 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17060 * math/test-misc.c (main): Don't use union ieee854_long_double.
17062 2013-10-04 Alan Modra <amodra@gmail.com>
17065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17067 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17068 calculation. Remove unnecessary test for denormal exponent.
17069 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17070 Correct handling of denormals. Avoid undefined shift behaviour.
17071 Correct normalisation of low mantissa when low double is denormal.
17072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17073 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17074 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17075 Correct normalisation of low mantissa. Test for overflow of high
17076 mantissa and normalise.
17077 (ldbl_nearbyint): Use more readable constant for two52.
17078 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17079 (__mpn_construct_long_double): Fix test for overflow of high
17080 mantissa and correct normalisation. Avoid undefined shift.
17082 2013-10-04 Alan Modra <amodra@gmail.com>
17084 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17085 (union ibm_extended_long_double): Define as an array of ieee754_double.
17086 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17087 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17088 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17089 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17098 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17100 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17101 page size instead of calling getpagesize.
17103 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17104 (LOCFILE_ALIGN_MASK): Likewise.
17105 (LOCFILE_ALIGN_UP): Likewise.
17106 (LOCFILE_ALIGNED_P): Likewise.
17107 * locale/programs/ld-collate.c (collate_output): Use the new
17108 macros instead of __alignof__ (int32_t).
17109 * locale/weight.h (findidx): Likewise.
17111 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17114 * manual/string.texi: Fix strncat and wcsncat.
17116 2013-10-03 Brooks Moses <bmoses@google.com>
17119 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17120 * Makerules: ...here, and adjust associated comments.
17122 2013-10-02 Will Newton <will.newton@linaro.org>
17124 * malloc/Makefile: Add tst-pvalloc.
17125 * malloc/tst-pvalloc.c: New file.
17127 2013-10-02 Will Newton <will.newton@linaro.org>
17129 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17130 improve test coverage.
17132 2013-10-02 Will Newton <will.newton@linaro.org>
17134 * malloc/Makefile: Add tst-posix_memalign.
17135 * malloc/tst-posix_memalign.c: New file.
17137 2013-10-01 Eric Blake <eblake@redhat.com>
17139 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17140 Use __THROWNL rather than __THROW on static functions.
17142 2013-09-30 Petr Machata <pmachata@redhat.com>
17144 * elf/elf.h (R_AARCH64_ABS16): New macro.
17145 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17146 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17147 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17148 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17149 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17150 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17151 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17152 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17153 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17154 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17155 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17156 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17157 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17158 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17159 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17160 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17161 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17162 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17163 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17164 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17165 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17166 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17167 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17168 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17169 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17170 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17171 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17172 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17173 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17174 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17175 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17176 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17177 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17178 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17179 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17180 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17181 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17182 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17183 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17184 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17185 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17186 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17187 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17188 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17189 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17190 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17191 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17192 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17193 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17194 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17195 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17196 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17197 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17198 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17199 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17200 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17201 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17202 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17203 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17204 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17205 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17206 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17207 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17208 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17209 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17210 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17211 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17212 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17213 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17214 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17215 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17216 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17217 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17218 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17219 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17220 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17221 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17222 (R_AARCH64_TLSDESC_LDR): Likewise.
17223 (R_AARCH64_TLSDESC_ADD): Likewise.
17224 (R_AARCH64_TLSDESC_CALL): Likewise.
17226 2013-09-30 Andreas Schwab <schwab@suse.de>
17229 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17230 the nss database lookup.
17231 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17234 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17236 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17238 2013-09-28 P. J. McDermott <pj@pehjota.net>
17240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17241 ${Bash-specific parameter/pattern/string} parameter expansion.
17242 * sysdeps/unix/make-syscalls.sh: Likewise.
17244 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17246 * sysdeps/sh/stackguard-macros.h: New file.
17248 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17252 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17253 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17254 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17255 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17257 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17260 Fix thread ID register.
17262 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17264 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17265 [POSIX || UNIX98]: Require rather than permitting all symbols from
17267 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17268 element of struct sched_param.
17269 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17270 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17271 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17272 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17275 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17277 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17278 argument calculation.
17280 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17282 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17284 [POSIX] (pthread_attr_t): Do not require type.
17285 [POSIX] (pthread_cond_t): Likewise.
17286 [POSIX] (pthread_condattr_t): Likewise.
17287 [POSIX] (pthread_key_t): Likewise.
17288 [POSIX] (pthread_mutex_t): Likewise.
17289 [POSIX] (pthread_mutexattr_t): Likewise.
17290 [POSIX] (pthread_once_t): Likewise.
17291 [POSIX] (pthread_t): Likewise.
17292 [POSIX-based standards] (pthread_atfork): Expect function.
17294 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17295 Richard Sandiford <richard@codesourcery.com>
17297 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17298 (swap_endianness_p): New extern variable.
17299 (set_big_endian): New inline function.
17300 (maybe_swap_uint32): Likewise.
17301 (maybe_swap_uint32_array): Likewise.
17302 (maybe_swap_uint32_obstack): Likewise.
17303 * locale/programs/locfile.c: Include <stdbool.h>.
17304 (swap_endianness_p): New variable.
17305 (add_locale_uint32): Call maybe_swap_uint32.
17306 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17307 (write_locale_data): Call maybe_swap_uint32_array.
17308 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17310 (obstack_int32_grow_fast): Likewise.
17311 (output_weightwc): Call maybe_swap_uint32_obstack.
17312 (collate_output): Likewise.
17313 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17314 (OPT_LITTLE_ENDIAN): Likewise.
17315 (options): Add --little-endian and --big-endian options.
17316 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17317 * locale/programs/locarchive.c: Include "locfile.h".
17321 (create_archive): Use the new macros to access fields of
17322 structures directly mapped from or written to locale archives.
17323 (oldlocrecentcmp): Likewise.
17324 (enlarge_archive): Likewise.
17325 (insert_name): Likewise.
17326 (add_alias): Likewise.
17327 (add_locale): Likewise.
17328 (delete_locales_from_archive): Likewise.
17329 (show_archive_content): Likewise.
17330 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17333 2013-09-24 Roland McGrath <roland@hack.frob.com>
17335 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17336 http://www.gnu.org/doc/freemanuals.texi.
17337 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17339 2013-09-24 Will Newton <will.newton@linaro.org>
17341 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17344 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17346 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17349 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17351 * manual/threads.texi (POSIX Threads): Fix a typo.
17353 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17356 * string/tst-strcoll-overflow.c: New test case.
17357 * string/Makefile (xtests): Add tst-strcoll-overflow.
17358 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17359 cache if string sizes may cause integer overflow.
17362 * string/strcoll_l.c (coll_seq): New members rule, idx,
17363 save_idx and back_us.
17364 (get_next_seq_nocache): New function.
17365 (do_compare_nocache): New function.
17366 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17369 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17372 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17373 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17374 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17377 * elf/Makefile (tests): Add tst-ptrguard1.
17378 (tests-static): Add tst-ptrguard1-static.
17379 (tst-ptrguard1-ARGS): Define.
17380 (tst-ptrguard1-static-ARGS): Define.
17381 * elf/tst-ptrguard1.c: New file.
17382 * elf/tst-ptrguard1-static.c: New file.
17383 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17384 * sysdeps/i386/stackguard-macros.h: Likewise.
17385 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17386 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17387 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17388 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17389 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17390 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17392 2013-09-23 Hector Marco <hecmargi@upv.es>
17393 Ismael Ripoll <iripoll@disca.upv.es>
17394 Carlos O'Donell <carlos@redhat.com>
17397 * sysdeps/generic/stackguard-macros.h: Define
17398 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17399 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17400 Define __pointer_chk_guard_local.
17401 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17402 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17404 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17407 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17409 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17411 * include/string.h (__ffs): Declare as hidden.
17412 * string/ffs.c (__ffs): Define as hidden.
17413 * sysdeps/i386/ffs.c (__ffs): Likewise.
17414 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17415 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17416 * sysdeps/s390/ffs.c (__ffs): Likewise.
17417 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17419 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17421 * NEWS: Mention malloc probes.
17423 * malloc/arena.c (new_heap): New memory_heap_new probe.
17424 (grow_heap): New memory_heap_more probe.
17425 (shrink_heap): New memory_heap_less probe.
17426 (heap_trim): New memory_heap_free probe.
17427 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17428 (systrim): New memory_sbrk_less probe.
17429 * manual/probes.texi: Document them.
17431 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17432 * manual/probes.texi: Document it.
17434 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17435 (__libc_realloc): Add memory_realloc_retry probe.
17436 (__libc_memalign): Add memory_memalign_retry probe.
17437 (__libc_valloc): Add memory_valloc_retry probe.
17438 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17439 (__libc_calloc): Add memory_calloc_retry probe.
17440 * manual/probes.texi: Document them.
17442 * malloc/arena.c (get_free_list): Add probe
17443 memory_arena_reuse_free_list.
17444 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17445 and memory_arena_reuse.
17446 (arena_get2) [!PER_THREAD]: Likewise.
17447 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17448 memory_arena_reuse_realloc.
17449 * manual/probes.texi: Document them.
17451 * malloc/malloc.c (__libc_free): Add
17452 memory_mallopt_free_dyn_thresholds probe.
17453 (__libc_mallopt): Add multiple memory_mallopt probes.
17454 * manual/probes.texi: Document them.
17456 * malloc/malloc.c: Include stap-probe.h.
17457 (__libc_mallopt): Add memory_mallopt probe.
17458 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17459 * manual/probes.texi: New.
17460 * manual/Makefile (chapters): Add probes.
17461 * manual/threads.texi: Set next node.
17463 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17465 [BZ #15963, #13985]
17466 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17467 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17468 Add `Chinese' to `nan' entry name.
17470 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17473 (POLYNOMIAL): Likewise.
17474 (TAYLOR_SINCOS): Likewise.
17475 (TAYLOR_SLOW): Likewise.
17476 (__sin): Use TAYLOR_SINCOS.
17478 (slow): Use TAYLOR_SLOW.
17480 (bsloww): Likewise.
17481 (csloww): Likewise.
17483 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17485 * stdlib/strtod_l.c: Fix buffer overrun.
17487 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * benchtests/Makefile (bench): Add sincos.
17490 * benchtests/bench-sincos.c: New file.
17492 * math/libm-test.inc (cos_test_data): New test inputs.
17493 (sin_test_data): Likewise.
17495 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17501 (sloww1): Likewise.
17502 (sloww2): Likewise.
17503 (bsloww1): Likewise.
17504 (bsloww2): Likewise.
17505 (cslow2): Likewise.
17506 (csloww1): Likewise.
17507 (csloww2): Likewise.
17509 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17518 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17520 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17521 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17522 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17523 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17524 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17525 * elf/cache.c (print_entry): Handle the new cache flags.
17527 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17528 Aldy Hernandez <aldyh@redhat.com>
17530 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17531 Change condition to [_SOFT_FLOAT].
17532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17544 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17547 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17550 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17553 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17554 (__longjmp): Use LOAD_GP to load saved GPRs.
17555 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17556 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17557 (__sigsetjmp): Use SAVE_GP to save GPRs.
17559 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17560 Do not append -msoft-float.
17561 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17563 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17565 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17567 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17570 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17571 (_FPU_GETCW): Use initial "__" on variable and field names but not
17572 on macro parameter name.
17573 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17574 parentheses around reference to macro parameter.
17576 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17578 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17580 (ctype_startup): Use uint32_t in cast and sizeof for
17583 2013-09-11 Jia Liu <proljc@gmail.com>
17585 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17587 [__FreeBSD__]: Likewise.
17589 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17592 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17593 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17594 (strchr): Remove __strchr_sse42 ifunc selection.
17595 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17596 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17598 2013-09-11 Will Newton <will.newton@linaro.org>
17600 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17601 parameter to RES. Remove hardcoded 1000 value.
17602 * benchtests/bench-skeleton.c (main): Pass RES parameter
17603 to TIMING_INIT and multiply result by 1000.
17605 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17609 2013-09-11 Andreas Schwab <schwab@suse.de>
17611 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17613 (O_TMPFILE) [__USE_GNU]: Define.
17614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17617 2013-09-11 Will Newton <will.newton@linaro.org>
17620 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17623 2013-09-11 Will Newton <will.newton@linaro.org>
17626 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17629 2013-09-11 Will Newton <will.newton@linaro.org>
17632 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17635 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17637 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17643 2013-09-10 Allan McRae <allan@archlinux.org>
17646 * manual/arith.texi (Parsing of Floats): Clarify
17650 * manual/install.texi (Running make install): Mention
17652 * INSTALL: Regenerated.
17654 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17656 * csu/init-first.c (_init): Remove the !SHARED condition around
17657 FPU control word initialization.
17658 * elf/dl-support.c (_dl_fpu_control): New variable.
17659 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17660 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17661 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17662 * math/test-fpucw-static.c: New file.
17663 * math/test-fpucw-ieee.c: New file.
17664 * math/test-fpucw-ieee-static.c: New file.
17665 * math/Makefile (tests): Add `test-fpucw-ieee' and
17667 (tests-static): New variable.
17668 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17670 [($(build-shared),yes)]
17671 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17673 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17676 2013-09-09 Allan McRae <allan@archlinux.org>
17679 * manual/string.texi (Collation Functions): Fix typo in
17681 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17684 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17687 * libio/memstream.c (open_memstream): Fix memory leak.
17688 * libio/wmemstream.c (open_wmemstream): Likewise.
17691 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17693 2013-09-09 Will Newton <will.newton@linaro.org>
17695 * malloc/Makefile: Add tst-realloc to tests.
17696 * malloc/tst-realloc.c: New file.
17698 2013-09-09 Allan McRae <allan@archlinux.org>
17701 * COPYING: Update from GNU website to fix FSF address.
17702 * COPYING.LIB: Likewise.
17704 2013-09-06 David S. Miller <davem@davemloft.net>
17706 * po/zh_TW.po: Update Chinese (traditional) translation from
17707 translation project.
17709 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17710 Joseph Myers <joseph@codesourcery.com>
17712 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17714 (obstack_chunk_alloc): New macro.
17715 (obstack_chunk_free): Likewise.
17716 (record_offset): New function.
17717 (init_locale_data): Likewise.
17718 (align_locale_data): Likewise.
17719 (add_locale_empty): Likewise.
17720 (add_locale_raw_data): Likewise.
17721 (add_locale_raw_obstack): Likewise.
17722 (add_locale_string): Likewise.
17723 (add_locale_wstring): Likewise.
17724 (add_locale_uint32): Likewise.
17725 (add_locale_uint32_array): Likewise.
17726 (add_locale_char): Likewise.
17727 (start_locale_structure): Likewise.
17728 (end_locale_structure): Likewise.
17729 (start_locale_prelude): Likewise.
17730 (end_locale_prelude): Likewise.
17731 (write_locale_data): Take locale_file structure rather than an
17733 * locale/programs/locfile.h: Include "obstack.h".
17734 (struct locale_file): Change to store locale file contents instead
17736 (init_locale_data): New prototype.
17737 (align_locale_data): Likewise.
17738 (add_locale_empty): Likewise.
17739 (add_locale_raw_data): Likewise.
17740 (add_locale_raw_obstack): Likewise.
17741 (add_locale_string): Likewise.
17742 (add_locale_wstring): Likewise.
17743 (add_locale_uint32): Likewise.
17744 (add_locale_uint32_array): Likewise.
17745 (add_locale_char): Likewise.
17746 (start_locale_structure): Likewise.
17747 (end_locale_structure): Likewise.
17748 (start_locale_prelude): Likewise.
17749 (end_locale_prelude): Likewise.
17750 (write_locale_data): Update prototype.
17751 * locale/programs/3level.h (struct TABLE): Remove result field.
17752 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17753 Use new locale_file interface.
17754 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17755 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17756 * locale/programs/ld-address.c (address_output): Use new
17757 locale_file interface.
17758 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17760 (collate_finish): Don't call collseq_table_finalize.
17761 (collate_output): Use new locale_file interface.
17762 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17764 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17765 (TABLE): Move defines earlier in file.
17766 (ELEMENT): Likewise.
17767 (DEFAULT): Likewise.
17768 (wctrans_table_add): Move macro and inline function earlier in
17770 (struct wctype_table): Move type earlier in file.
17771 (add_locale_wctype_table): New static prototype.
17772 (struct locale_ctype_t): Use logical types instead of struct iovec
17773 pointers for members.
17774 (ctype_output): Use new locale_file interface.
17775 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17776 new locale_file interface.
17777 (allocate_arrays): Update for use of new locale_file interface.
17778 * locale/programs/ld-identification.c (identification_output): Use
17779 new locale_file interface.
17780 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17781 * locale/programs/ld-messages.c (messages_output): Likewise.
17782 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17783 * locale/programs/ld-name.c (name_output): Likewise.
17784 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17785 * locale/programs/ld-paper.c (paper_output): Likewise.
17786 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17787 * locale/programs/ld-time.c (time_output): Likewise.
17789 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17791 * benchtests/Makefile: Add memrchr benchmark.
17792 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17793 benchmark as memrchr.
17794 * benchtests/bench-memrchr-ifunc.c: New file.
17795 * benchtests/bench-memrchr.c: New file.
17797 2013-09-06 Will Newton <will.newton@linaro.org>
17799 * benchtests/Makefile (string-bench): Add memcpy.
17801 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17802 Cong Wang <amwang@redhat.com>
17805 * sysdeps/unix/sysv/linux/bits/in.h
17806 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17807 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17808 before __USE_KERNEL_IPV6_DEFS uses.
17809 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17811 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17812 sockaddr_in6, or ipv6_mreq.
17814 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17816 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17817 memory access for final bytes in some large inputs.
17818 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17820 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17822 * string/test-memrchr.c: New file.
17823 * string/test-memrchr-ifunc.c: New file.
17824 * string/Makefile: Add new memrchr testcase.
17826 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17828 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17829 fanotify_init returns EPERM.
17831 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17833 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17835 (top level): Treat second token from macro or constant entries for
17836 allowed headers as allowed.
17837 * include/complex.h: Condition internal declarations on
17839 * include/fenv.h: Condition include of <stdbool.h> and internal
17840 declarations on [!_ISOMAC].
17842 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17845 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17847 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17849 * configure.in (--enable-versioning): Remove configure option.
17850 (libc_cv_asm_symver_directive): Remove configure test.
17851 (libc_cv_ld_version_script_option): Likewise.
17852 (VERSIONING): Remove variable and AC_SUBST.
17853 (DO_VERSIONING): Remove AC_DEFINE.
17854 * configure: Regenerated.
17855 * config.h.in (DO_VERSIONING): Remove macro.
17856 * Makerules [$(versioning) = yes]: Change conditionals to
17857 [$(build-shared) = yes].
17858 * config.make.in (versioning): Remove variable.
17859 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17860 [$(build-shared) = yes].
17861 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17862 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17863 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17864 [$(build-shared) = yes].
17865 * extra-lib.mk [$(versioning) = yes]: Likewise.
17866 * hurd/Makefile [$(versioning) = yes]: Likewise.
17867 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17869 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17871 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17872 [SHARED && !NO_HIDDEN].
17873 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17875 [SHARED && DO_VERSIONING]: Likewise..
17876 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17877 [$(build-shared) = yes].
17878 * manual/install.texi (--disable-versioning): Remove
17880 * INSTALL: Regenerated.
17881 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17883 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17884 [$(build-shared) = yes].
17885 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17886 * sysdeps/i386/i686/multiarch/strstr-c.c
17887 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17888 [SHARED && !NO_HIDDEN].
17889 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17890 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17891 * sysdeps/powerpc/powerpc32/dl-machine.c
17892 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17893 * sysdeps/powerpc/powerpc32/sysdep.h
17894 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17895 to [SHARED && PIC && !NO_HIDDEN].
17896 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17897 conditional to [SHARED].
17899 2013-09-04 Will Newton <will.newton@linaro.org>
17901 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17902 * benchtests/bench-string.h: Include bench-timing.h instead
17903 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17904 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17905 call to HP_TIMING_DIFF_INIT.
17906 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17907 instead of hp-timing.h macros.
17908 * benchtests/bench-memchr.c: Likewise.
17909 * benchtests/bench-memcmp.c: Likewise.
17910 * benchtests/bench-memcpy.c: Likewise.
17911 * benchtests/bench-memmem.c: Likewise.
17912 * benchtests/bench-memmove.c: Likewise.
17913 * benchtests/bench-memset.c: Likewise.
17914 * benchtests/bench-rawmemchr.c: Likewise.
17915 * benchtests/bench-strcasecmp.c: Likewise.
17916 * benchtests/bench-strcasestr.c: Likewise.
17917 * benchtests/bench-strcat.c: Likewise.
17918 * benchtests/bench-strchr.c: Likewise.
17919 * benchtests/bench-strcmp.c: Likewise.
17920 * benchtests/bench-strcpy.c: Likewise.
17921 * benchtests/bench-strcpy_chk.c: Likewise.
17922 * benchtests/bench-strlen.c: Likewise.
17923 * benchtests/bench-strncasecmp.c: Likewise.
17924 * benchtests/bench-strncat.c: Likewise.
17925 * benchtests/bench-strncmp.c: Likewise.
17926 * benchtests/bench-strncpy.c: Likewise.
17927 * benchtests/bench-strnlen.c: Likewise.
17928 * benchtests/bench-strpbrk.c: Likewise.
17929 * benchtests/bench-strrchr.c: Likewise.
17930 * benchtests/bench-strspn.c: Likewise.
17931 * benchtests/bench-strstr.c: Likewise.
17933 2013-09-04 Will Newton <will.newton@linaro.org>
17935 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17937 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17941 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17942 * math/libm-test.inc (lgamma_test_data): Add more tests.
17943 * sysdeps/i386/fpu/libm-test-ulps: Update.
17944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17946 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17948 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17952 Add strcmp-sse2-unaligned
17953 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17955 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17957 * Versions.def (libc): Add GLIBC_2.19.
17959 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17961 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17962 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17964 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17967 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17968 intermediate calculations in recurrence.
17969 (__ieee754_ynf): Likewise.
17970 * math/libm-test.inc (jn_test_data): Do not allow spurious
17971 underflow exception. Add more tests.
17972 (yn_test_data): Add more tests.
17973 * sysdeps/i386/fpu/libm-test-ulps: Update.
17974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17976 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17980 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17982 * csu/init-first.c: Fix then/than typos.
17983 * locale/programs/ld-collate.c: Likewise.
17984 * locale/programs/linereader.h: Likewise.
17985 * manual/charset.texi: Likewise.
17986 * manual/filesys.texi: Likewise.
17987 * manual/stdio.texi: Likewise.
17988 * manual/string.texi: Likewise.
17989 * stdlib/fmtmsg.c: Likewise.
17990 * sysdeps/i386/stpncpy.S: Likewise.
17991 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17992 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17993 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17994 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17996 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17998 * elf/dl-open.c: Fix typos.
17999 * iconvdata/gbbig5.c: Likewise.
18000 * iconvdata/iso-2022-jp.c: Likewise.
18001 * iconv/gconv_int.h: Likewise.
18002 * iconv/loop.c: Likewise.
18003 * nis/rpcsvc/nis.h: Likewise.
18004 * resolv/ns_name.c: Likewise.
18005 * stdio-common/vfscanf.c: Likewise.
18006 * streams/stropts.h: Likewise.
18007 * sunrpc/rpc_thread.c: Likewise.
18008 * sysdeps/i386/strpbrk.S: Likewise.
18009 * sysdeps/ieee754/k_standard.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18012 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18013 * sysdeps/mach/hurd/profil.c: Likewise.
18014 * sysdeps/s390/dl-procinfo.h: Likewise.
18015 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18016 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18017 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18018 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18021 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18023 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18026 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18028 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18029 aix specific files.
18030 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18031 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18032 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18034 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18035 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18036 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18037 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18039 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18040 Roland McGrath <roland@hack.frob.com>
18042 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18043 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18045 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18047 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18048 __executable_start symbol instead of _start.
18050 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18052 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18053 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18055 * sysdeps/gnu/ldsodefs.h: ... this new file.
18057 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18058 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18059 instead of ELFOSABI_LINUX.
18061 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18062 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18063 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18064 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18066 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18067 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18070 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18071 (ibm_extended_long_double): Add ieee_nan member.
18072 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18073 (do_test): New function.
18075 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18077 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18078 functions, renamed from truncdfsf_test, trunctfsf_test,
18080 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18082 (do_test): Run all these.
18084 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18086 * argp/argp-help.c: Fix typos.
18087 * argp/argp-parse.c: Likewise.
18088 * debug/backtracesyms.c: Likewise.
18089 * elf/elf.h: Likewise.
18090 * malloc/malloc.c: Likewise.
18091 * nis/nis_print.c: Likewise.
18092 * resolv/res_comp.c: Likewise.
18093 * stdlib/stdlib.h: Likewise.
18094 * sunrpc/clnt_tcp.c: Likewise.
18095 * sunrpc/clnt_udp.c: Likewise.
18096 * sunrpc/clnt_unix.c: Likewise.
18097 * sysdeps/unix/bsd/ptsname.c: Likewise.
18098 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18099 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18106 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18108 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18110 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18113 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18116 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18117 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18118 ($(objpfx)bug-dl-leaf): New rule.
18119 ($(objpfx)bug-dl-leaf.so): Likewise.
18120 ($(objpfx)bug-dl-leaf.out): Likewise.
18121 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18122 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18123 * dlfcn/bug-dl-leaf.c: New test.
18124 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18125 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18126 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18127 (dlclose): Likewise.
18128 (dlmopen): Likewise.
18130 2013-08-27 Roland McGrath <roland@hack.frob.com>
18132 * include/netdb.h [!_ISOMAC]:
18133 Don't include <tls.h>.
18134 (h_errno, __libc_h_errno): Move declaration and macros out of
18137 * include/resolv.h [_RESOLV_H_]:
18138 Don't include <tls.h>.
18139 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18140 * resolv/res_libc.c: Don't include <tls.h>.
18141 (_res): Use __attribute__ ((nocommon)) in place of
18142 __attribute__ ((section (".bss"))).
18144 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18145 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18147 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18149 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18150 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18152 * resolv/res_mkquery.c: Include <sys/time.h>.
18154 * inet/ifreq.c: Moved to ...
18155 * sysdeps/unix/ifreq.c: ... here.
18156 * inet/ifreq.c: New file, true stub version.
18158 * socket/sa_len.c: New file.
18159 * socket/Makefile (aux): Add it.
18160 * sysdeps/unix/sysv/linux/Makefile
18161 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18162 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18163 and #include <socket/sa_len.c>.
18164 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18165 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18167 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18168 * bits/socket.h: ... here.
18170 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18171 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18172 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18174 2013-08-27 Andreas Schwab <schwab@suse.de>
18177 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18178 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18179 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18180 * string/test-strcasecmp.c (test_main): Run tests in several
18182 * string/test-strncasecmp.c (test_main): Likewise.
18184 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18185 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18186 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18188 (__strncasecmp_ssse3) [PIC]: Likewise.
18190 2013-08-26 Roland McGrath <roland@hack.frob.com>
18192 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18194 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18195 instead of explicitly declaring xdecrypt.
18196 * nis/nss_nis/nis-publickey.c: Likewise.
18198 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18201 * nscd/aicache.c: Include res_hconf.h.
18202 (addhstaiX): Initialize res_hconf.
18204 2013-08-26 Andreas Schwab <schwab@suse.de>
18206 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18207 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18209 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18211 * nscd/aicache.c (addhstaiX): Fix indentation.
18213 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18215 * configure.ac: Quote $build_pt_chown test.
18216 * configure: Regenerated.
18218 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18221 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18222 * math/s_cexpf.c (__cexpf): Likewise.
18223 * math/s_cexpl.c (__cexpl): Likewise.
18224 * math/libm-test.inc (cexp_test_data): Correct expected return
18225 value for NaN + i0. Add another test.
18227 2013-08-22 David S. Miller <davem@davemloft.net>
18229 * po/ca.po: Update Catalan translation from translation project.
18230 * po/uk.po: Add Ukrainian translations from translation project.
18232 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18235 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18236 is infinite, not alongside NaN test.
18237 * math/s_fdimf.c (__fdimf): Likewise.
18238 * math/s_fdiml.c (__fdiml): Likewise.
18239 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18240 errno is unchanged.
18242 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18244 * argp/argp-help.c: Fix typos.
18245 * crypt/speeds.c: Likewise.
18246 * csu/check_fds.c: Likewise.
18247 * elf/dl-load.c: Likewise.
18248 * elf/dl-open.c: Likewise.
18249 * elf/reldep3.c: Likewise.
18250 * elf/reldep.c: Likewise.
18251 * elf/sprof.c: Likewise.
18252 * iconv/iconv_charmap.c: Likewise.
18253 * iconv/skeleton.c: Likewise.
18254 * iconv/strtab.c: Likewise.
18255 * io/lockf64.c: Likewise.
18256 * libio/libioP.h: Likewise.
18257 * resolv/gai_notify.c: Likewise.
18258 * resolv/ns_name.c: Likewise.
18259 * resolv/ns_samedomain.c: Likewise.
18260 * resolv/res_send.c: Likewise.
18261 * stdlib/random.c: Likewise.
18262 * sunrpc/rpc/xdr.h: Likewise.
18263 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18264 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18265 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18266 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18267 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18271 * sysdeps/mach/hurd/check_fds.c: Likewise.
18272 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18275 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18276 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18277 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18278 * sysdeps/pthread/aio_notify.c: Likewise.
18279 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18280 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18281 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18283 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18285 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18287 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18288 version if bit_Slow_SSE4_2 is set.
18289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18292 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18295 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18296 trampoline stack frame information.
18297 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18298 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18299 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18300 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18301 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18302 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18303 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18304 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18306 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18307 interrupting a syscall and set with option SA_SIGINFO.
18309 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18312 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18313 argument is infinite.
18314 * math/s_cprojf.c (__cprojf): Likewise.
18315 * math/s_cprojl.c (__cprojl): Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18317 * math/libm-test.inc (cproj_test_data): Add more tests.
18319 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18321 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18322 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18323 size. Use __ffs to determine corresponding shift.
18325 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18326 Roland McGrath <roland@hack.frob.com>
18328 * Makefile (INSTALL): Remove trailing blank lines from output of
18331 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18333 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18334 Align 32 bit compat elf_greg to 8 bytes.
18336 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18338 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18340 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18342 * string/strcoll_l.c (coll_seq): New structure.
18343 (get_next_seq_cached): New function.
18344 (get_next_seq): New function.
18345 (do_compare): New function.
18346 (STRCOLL): Use GNU style definition. Simplify implementation
18347 by using get_next_seq, get_next_seq_cached and do_compare.
18349 2013-08-16 Florian Weimer <fweimer@redhat.com>
18353 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18355 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18357 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18358 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18359 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18361 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18362 GETDENTS_64BIT_ALIGNED.
18363 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18364 * manual/filesys.texi (Reading/Closing Directory): Document
18365 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18367 * manual/conf.texi (Limits for Files): Add portability note to
18368 NAME_MAX, PATH_MAX.
18369 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18371 2013-08-13 Andreas Schwab <schwab@suse.de>
18374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18376 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18377 LDBL_MAX_EXP >= 16384]: Add tests for it.
18379 2013-08-12 David S. Miller <davem@davemloft.net>
18381 * version.h (RELEASE): Set to "development".
18382 (VERSION): Set to "2.18.90".
18383 * NEWS: Add 2.19 section.
18385 2013-08-03 David S. Miller <davem@davemloft.net>
18387 * po/ko.po: Update Korean translation from translation project.
18389 2013-08-01 David S. Miller <davem@davemloft.net>
18391 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18392 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18395 2013-07-30 David S. Miller <davem@davemloft.net>
18397 * po/fr.po: Update French translation from translation project.
18399 2013-07-28 David S. Miller <davem@davemloft.net>
18401 * po/cs.po: Update Czech translation from translation project.
18403 * po/sv.po: Update Swedish translation from translation project.
18405 2013-07-27 David S. Miller <davem@davemloft.net>
18407 * po/eo.po: Update Esperanto translation from translation project.
18409 * po/vi.po: Update Vietnamese translation from translation project.
18411 * po/de.po: Update German translation from translation project.
18413 2013-07-26 David S. Miller <davem@davemloft.net>
18415 * po/bg.po: Update Bulgarian translation from translation project.
18417 * po/nl.po: Update Dutch translation from translation project.
18418 * po/pl.po: Update Polish translation from translation project.
18419 * po/ru.po: Update Russian translation from translation project.
18421 2013-07-24 David S. Miller <davem@davemloft.net>
18423 * po/libc.pot: Update.
18425 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18428 variable page size.
18429 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18430 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18433 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18435 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18437 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18438 Andreas Schwab <schwab@suse.de>
18439 Roland McGrath <roland@hack.frob.com>
18440 Joseph Myers <joseph@codesourcery.com>
18441 Carlos O'Donell <carlos@redhat.com>
18444 * config.h.in: Define HAVE_PT_CHOWN.
18445 * config.make.in (build-pt-chown): New variable.
18446 * configure.in (--enable-pt_chown): New configure option.
18447 * configure: Regenerate.
18448 * login/Makefile: Include Makeconfig. Build pt_chown only if
18449 build-pt-chown is enabled.
18450 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18451 pt_chown to fix pty ownership.
18452 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18454 * manual/install.texi (Configuring and compiling): Mention
18455 --enable-pt_chown. Add @findex for grantpt.
18456 * INSTALL: Regenerate.
18458 2013-07-20 David S. Miller <davem@davemloft.net>
18460 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18461 difference between 32-bit and 64-bit.
18463 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18466 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18467 Avoid system header dependency with -ffreestanding.
18468 ($(objpfx)bits/syscall%d): Likewise.
18470 2013-07-13 David S. Miller <davem@davemloft.net>
18472 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18473 underflows from atanl/atan2l due to bug 15319.
18474 (casinh_test_data): Likewise.
18476 2013-07-07 David S. Miller <davem@davemloft.net>
18478 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18480 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18482 * sysdeps/i386/fpu/libm-test-ulps: Update.
18483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18485 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18487 * configure.in (--enable-lock-elision): Fix message text.
18488 * INSTALL: Regenerate.
18489 * configure: Regenerate.
18491 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18495 2013-07-03 Andreas Jaeger <aj@suse.de>
18497 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18499 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18500 (ptrace_peeksiginfo_args): Add.
18501 (__ptrace_peeksiginfo_flags): Add.
18502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18506 2013-07-03 Allan McRae <allan@archlinux.org>
18508 * sysdeps/i386/fpu/libm-test-ulps: Update.
18510 2013-07-02 David S. Miller <davem@davemloft.net>
18512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18514 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18518 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18520 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523 2013-07-02 Andi Kleen <ak@linux.intel.com>
18525 * config.h.in (ENABLE_LOCK_ELISION): Add.
18526 * configure.in (--enable-lock-elision): Add option.
18527 * manual/install.texi: Document --enable lock elision.
18528 * configure: Regenerate
18529 * INSTALL: Regenerate.
18531 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18533 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18534 SSE4.2 strcasecmp for libc.a.
18535 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18537 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18540 * soft-fp/op-common.h (_FP_FMA): New macro.
18541 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18542 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18543 (_FP_MUL_MEAT_1_imm): ... here.
18544 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18545 (_FP_MUL_MEAT_1_wide): ... here.
18546 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18547 (_FP_MUL_MEAT_1_hard): ... here.
18548 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18549 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18550 (_FP_MUL_MEAT_2_wide): ... here.
18551 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18552 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18553 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18554 (_FP_MUL_MEAT_2_gmp): ... here.
18555 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18556 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18557 (_FP_MUL_MEAT_4_wide): ... here.
18558 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18559 (_FP_MUL_MEAT_4_gmp): ... here.
18560 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18561 (_FP_WFRACBITS_DW_S): Likewise.
18562 (_FP_WFRACXBITS_DW_S): Likewise.
18563 (_FP_HIGHBIT_DW_S): Likewise.
18564 (FP_FMA_S): Likewise.
18565 (_FP_FRAC_HIGH_DW_S): Likewise.
18566 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18567 (_FP_WFRACBITS_DW_D): Likewise.
18568 (_FP_WFRACXBITS_DW_D): Likewise.
18569 (_FP_HIGHBIT_DW_D): Likewise.
18570 (FP_FMA_D): Likewise.
18571 (_FP_FRAC_HIGH_DW_D): Likewise.
18572 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18573 (_FP_WFRACBITS_DW_E): Likewise.
18574 (_FP_WFRACXBITS_DW_E): Likewise.
18575 (_FP_HIGHBIT_DW_E): Likewise.
18576 (FP_FMA_E): Likewise.
18577 (_FP_FRAC_HIGH_DW_E): Likewise.
18578 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18579 (_FP_WFRACBITS_DW_Q): Likewise.
18580 (_FP_WFRACXBITS_DW_Q): Likewise.
18581 (_FP_HIGHBIT_DW_Q): Likewise.
18582 (FP_FMA_Q): Likewise.
18583 (_FP_FRAC_HIGH_DW_Q): Likewise.
18584 * soft-fp/fmasf4.c: New file.
18585 * soft-fp/fmadf4.c: Likewise.
18586 * soft-fp/fmatf4.c: Likewise.
18588 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18591 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18595 (index_Slow_SSE4_2): Likewise.
18596 (index_Prefer_PMINUB_for_stringop): Likewise.
18597 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18598 bit_Slow_SSE4_2 is set.
18599 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18602 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18604 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18605 rtld_global._dl_hwcap2.
18606 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18608 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18609 POWER8 feature descriptions defined in _dl_hwcap2.
18610 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18611 string handling for POWER8 feature bits.
18612 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18613 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18614 _dl_powerpc_cap_flags.
18615 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18616 * sysdeps/powerpc/rtld-global-offsets.sym
18617 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18618 _dl_hwcap2 in the rtld_global_ro structure.
18620 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18622 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18623 hardware capabilities in support of AT_HWCAP2.
18624 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18625 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18627 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18628 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18629 explicitly the unknown a_type display mechanism is used.
18630 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18631 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18633 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18634 to macro prototype for AT_HWCAP2 support.
18635 * sysdeps/i386/dl-procinfo.h: Likewise.
18636 * sysdeps/s390/dl-procinfo.h: Likewise.
18637 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18638 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18639 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18640 return -1 for unknown a_type display fallback.
18641 * sysdeps/sparc/dl-procinfo.h: Likewise.
18642 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18643 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18645 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18647 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18648 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18650 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18653 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18654 mprotect making __stack_prot writable.
18656 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18657 Joseph Myers <joseph@codesourcery.com>
18659 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18660 as being properly aligned.
18662 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18664 * dlfcn/modstatic5.c: New file.
18665 * dlfcn/tststatic5.c: New file.
18666 * dlfcn/Makefile (tests): Add tststatic5.
18667 (tests-static): Likewise.
18668 (modules-names): Add modstatic5.
18669 (tststatic5-ENV): New variable.
18670 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18673 * elf/dl-support.c (_dl_main_map): New variable.
18674 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18675 (_dl_nns, _dl_load_adds): Set to 1.
18676 (_dl_initial_searchlist): Refer to _dl_main_map.
18677 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18678 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18679 call to _dl_get_origin.
18680 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18682 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18683 * dlfcn/modstatic3.c: New file.
18684 * dlfcn/tststatic3.c: New file.
18685 * dlfcn/tststatic4.c: New file.
18686 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18687 (tests-static): Likewise.
18688 (modules-names): Add modstatic3.
18689 (tststatic3-ENV, tststatic4-ENV): New variables.
18690 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18691 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18693 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18695 * configure.in (CC): Require GCC version 4.4 or later.
18696 * configure: Regenerated.
18697 * manual/install.texi (Tools for Compilation): Update GCC version
18699 * INSTALL: Regenerated.
18701 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18704 * string/test-memcmp.c (check2): New.
18705 (main): Call check2.
18707 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18709 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18712 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18714 (dl_open_worker) [!SHARED]: ... here.
18716 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18718 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18720 2013-06-25 Richard Henderson <rth@redhat.com>
18722 * locale/programs/locarchive.c: Include <libc-internal.h>
18724 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18726 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18727 trailing whitespace removed.
18729 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18732 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18733 * locale/programs/locarchive.c: Include libc-mmap.h.
18734 (prepare_address_space): Take two new outputs (the mmap base and len).
18735 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18737 (create_archive): Declare new mmap base and len values for
18738 prepare_address_space, and store the result in ah.
18739 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18740 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18741 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18742 Declare new mmap base and len values for
18743 prepare_address_space, and store the result in new_ah.
18744 (open_archive): Declare new mmap base and len values for
18745 prepare_address_space, and store the result in ah.
18746 (close_archive): If ah->mmap_base is not NULL, use that and
18747 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18748 * sysdeps/generic/libc-mmap.h: New file.
18750 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18752 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18753 (ALIGN_UP): Likewise.
18754 (PTR_ALIGN_DOWN): Likewise.
18755 (PTR_ALIGN_UP): Likewise.
18757 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18759 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18760 entry mapped to PPC_PLATFORM_POWER8.
18761 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18763 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18764 (_dl_string_platform): Add case for exporting platform position for
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18767 search path to sysdeps/powerpc/powerpc32/power8 directory.
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18769 search path to sysdeps/powerpc/powerpc64/power8 directory.
18770 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18771 power7 directories.
18772 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18773 power7 directories.
18775 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18777 * INSTALL: Regenerate.
18779 * nscd/connections.c (nscd_init): Fix comment.
18781 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18783 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18786 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18787 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18789 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18791 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18793 (DL_DST_REQ_STATIC): Remove macro.
18795 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18798 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18799 with a shift of 0 bits.
18801 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18803 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18806 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18809 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18811 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18813 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18814 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18815 accepts -fno-tree-loop-distribute-patterns.
18816 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18817 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18819 * string/memset.c (memset): Likewise.
18820 * string/test-memmove.c (simple_memmove): Disable loop transformation
18822 * string/test-memset.c (simple_memset): Likewise.
18823 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18824 * benchtests/bench-memset.c (simple_memset): Likewise.
18825 * configure: Regenerated.
18827 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18829 * math/test-misc.c (main): Ignore fesetround failure when failures
18830 of subsequent rounding tests would be ignored.
18833 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18834 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18835 * math/fegetenv.c (__fegetenv): Return 0.
18836 * math/fegetexcept.c (fegetexcept): Return 0.
18837 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18839 * math/feholdexcpt.c (feholdexcept): Return 0.
18840 * math/fesetenv.c (__fesetenv): Return 0.
18841 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18842 argument FE_TONEAREST.
18843 * math/feupdateenv.c (__feupdateenv): Return 0.
18844 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18846 2013-06-18 Roland McGrath <roland@hack.frob.com>
18848 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18849 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18850 ($(objpfx)rtld-%.os rules): Use them.
18852 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18854 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18857 2013-06-17 Roland McGrath <roland@hack.frob.com>
18859 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18860 length of target pattern, then descending length of dependency pattern.
18861 * configure.in (AWK): Require gawk 3.1.2 or newer.
18862 * manual/install.texi (Tools for Compilation): Say that we do.
18863 * configure: Regenerated.
18865 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18866 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18867 * scripts/sysd-rules.awk: ... this new script.
18868 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18869 than a glob-style pattern.
18871 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18873 * math/test-misc.c (main): Do not treat incorrectly rounded
18874 conversions as failure unless ROUNDING_TESTS passes.
18876 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18879 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18880 restore exception state around main square root computation, then
18881 check for inexactness explicitly.
18883 * math/libm-test.inc (fma_test_data): Add another test.
18885 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18887 * manual/threads.texi (Non-POSIX Extensions): New document
18888 node. Document pthread_getattr_default_np and
18889 pthread_setattr_default_np.
18891 * Versions.def (libpthread): Add GLIBC_2.18.
18892 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18901 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18912 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18915 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18917 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18918 H.J. Lu <hjl.tools@gmail.com>
18921 * sysdeps/x86_64/rtld-memset.c: Remove file.
18922 * sysdeps/x86_64/rtld-memset.S: New file.
18924 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18926 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18927 (test_in_one_mode): Take arguments for whether the rounding mode
18928 is supported for each floating-point type.
18929 (do_test): Pass new arguments to test_in_one_mode using
18932 2013-06-13 Roland McGrath <roland@hack.frob.com>
18934 * posix/tst-waitid.c (do_test): Distinguish different instances of
18935 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18936 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18937 before entering the kernel for waitpid.
18939 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18941 * NEWS: Fix note on clock function precision. Text by Roland
18944 2013-06-13 Roland McGrath <roland@hack.frob.com>
18946 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18947 it into place only when and if the sanity check passes.
18949 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18951 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18952 output for whether conversion result is exact. Take argument
18953 indicating whether type is IBM long double.
18954 (round_for_all): Change need_exact field to ibm_ld.
18955 * stdlib/tst-strtod-round.c (struct exactness): New type.
18956 (struct test): Change bool ld_ok field to struct exactness exact.
18957 (TEST): Update all definitions for change to field.
18958 (tests): Regenerate array contents.
18959 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18960 field value. Check for IBM long double here.
18961 (do_test): Update calls to test_in_one_mode.
18963 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18966 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18967 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18969 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18972 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18973 generated by the compiler on loop optimizations.
18974 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18975 general definitions.
18977 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18979 * math/bug-nextafter.c: Include <math-tests.h>.
18980 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18982 * math/bug-nexttoward.c: Include <math-tests.h>.
18983 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18985 * math/test-misc.c: Include <math-tests.h>.
18986 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18989 2013-06-12 Andreas Jaeger <aj@suse.de>
18991 * po/ia.po: Update Interlingua translation from translation
18994 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18996 * include/fenv.h: Include stdbool.h.
18997 (struct rm_ctx): New structure.
18998 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19000 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19001 (SET_RESTORE_ROUNDF): Likewise.
19002 (SET_RESTORE_ROUNDL): Likewise.
19003 (SET_RESTORE_ROUND_NOEX): Likewise.
19004 (SET_RESTORE_ROUND_NOEXF): Likewise.
19005 (SET_RESTORE_ROUND_NOEXL): Likewise.
19006 (SET_RESTORE_ROUND_53BIT): Likewise.
19007 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19008 (libc_feresetround_noexf_ctx): Likewise.
19009 (libc_feresetround_noexl_ctx): Likewise.
19010 (libc_feholdsetround_53bit_ctx): Likewise.
19011 (libc_feresetround_53bit_ctx): Likewise.
19012 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19013 (libc_feholdexcept_setround_sse_ctx): New function.
19014 (libc_fesetenv_sse_ctx): Likewise.
19015 (libc_feupdateenv_sse_ctx): Likewise.
19016 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19017 (libc_feholdexcept_setround_387_ctx): Likewise.
19018 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19019 (libc_feholdsetround_387_prec_ctx): Likewise.
19020 (libc_feholdsetround_387_ctx): Likewise.
19021 (libc_feholdsetround_387_53bit_ctx): Likewise.
19022 (libc_feholdsetround_sse_ctx): Likewise.
19023 (libc_feresetround_sse_ctx): Likewise.
19024 (libc_feresetround_387_ctx): Likewise.
19025 (libc_feupdateenv_387_ctx): Likewise.
19026 (libc_feholdexcept_setroundf_ctx): Define macro.
19027 (libc_fesetenvf_ctx): Likewise.
19028 (libc_feupdateenvf_ctx): Likewise.
19029 (libc_feholdsetroundf_ctx): Likewise.
19030 (libc_feresetroundf_ctx): Likewise.
19031 (libc_feholdexcept_setround_ctx): Likewise.
19032 (libc_fesetenv_ctx): Likewise.
19033 (libc_feupdateenv_ctx): Likewise.
19034 (libc_feholdsetround_ctx): Likewise.
19035 (libc_feresetround_ctx): Likewise.
19036 (libc_feholdexcept_setroundl_ctx): Likewise.
19037 (libc_feupdateenvl_ctx): Likewise.
19038 (libc_feholdsetroundl_ctx): Likewise.
19039 (libc_feresetroundl_ctx): Likewise.
19040 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19041 (libc_feresetround_53bit_ctx): Likewise.
19043 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * locale/iso-639.def: Convert to UTF-8.
19047 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19049 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19050 (EXCEPTION_TESTS_double): Likewise.
19051 (EXCEPTION_TESTS_long_double): Likewise.
19052 (EXCEPTION_TESTS): Likewise.
19053 * math/libm-test.inc (test_exceptions): Only test exceptions if
19054 EXCEPTION_TESTS (FLOAT).
19056 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19058 * benchtests/Makefile (string-bench): Add strcpy_chk and
19060 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19061 * benchtests/bench-stpcpy_chk.c: New file.
19062 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19063 * benchtests/bench-strcpy_chk.c: New file.
19064 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19066 (do_test): Likewise.
19068 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19070 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19071 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19072 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19073 with tabs where appropriate.
19074 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19076 [PPC_PLATFORM_PPC440]: Likewise.
19077 [PPC_PLATFORM_PPC464]: Likewise.
19078 [PPC_PLATFORM_PPC476]: Likewise.
19079 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19080 ppc464, and ppc476 platform strings merging from ports/
19083 2013-06-11 Andreas Schwab <schwab@suse.de>
19086 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19087 (from_ucs4_idx): Regenerate.
19088 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19089 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19090 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19091 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19092 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19093 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19094 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19095 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19096 from FROM_LOOP and TO_LOOP specific macros.
19097 (BODY): Handle combining characters.
19098 * iconvdata/BIG5HKSCS.irreversible: Update.
19099 * iconvdata/BIG5HKSCS.precomposed: New file.
19100 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19102 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19104 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19106 * include/sys/time.h: Fix indentation and add copyright header.
19108 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19109 (do_test): Likewise.
19110 * string/test-memchr.c (do_one_test): Likewise.
19111 (do_test): Likewise.
19112 * string/test-memcmp.c (do_one_test): Likewise.
19113 (do_test): Likewise.
19114 * string/test-memcpy.c (do_one_test): Likewise.
19115 (do_test): Likewise.
19116 * string/test-memmem.c (do_one_test): Likewise.
19117 (do_test): Likewise.
19118 (do_random_tests): Likewise.
19119 * string/test-memmove.c (do_one_test): Likewise.
19120 (do_test): Likewise.
19121 * string/test-memset.c (do_one_test): Likewise.
19122 (do_test): Likewise.
19123 * string/test-rawmemchr.c (do_one_test): Likewise.
19124 (do_test): Likewise.
19125 * string/test-strcasecmp.c (do_one_test): Likewise.
19126 (do_test): Likewise.
19127 * string/test-strcasestr.c (do_one_test): Likewise.
19128 (do_test): Likewise.
19129 * string/test-strcat.c (do_one_test): Likewise.
19130 (do_test): Likewise.
19131 * string/test-strchr.c (do_one_test): Likewise.
19132 (do_test): Likewise.
19133 * string/test-strcmp.c (do_one_test): Likewise.
19134 (do_test): Likewise.
19135 * string/test-strcpy.c (do_one_test): Likewise.
19136 (do_test): Likewise.
19137 * string/test-string.h: Likewise.
19138 (test_init): Likewise.
19139 * string/test-strlen.c (do_one_test): Likewise.
19140 (do_test): Likewise.
19141 * string/test-strncasecmp.c (do_one_test): Likewise.
19142 (do_test): Likewise.
19143 * string/test-strncat.c (do_one_test): Likewise.
19144 (do_test): Likewise.
19145 * string/test-strncmp.c (do_one_test): Likewise.
19146 (do_test_limit): Likewise.
19147 (do_test): Likewise.
19148 * string/test-strncpy.c (do_one_test): Likewise.
19149 (do_test): Likewise.
19150 * string/test-strnlen.c (do_one_test): Likewise.
19151 (do_test): Likewise.
19152 * string/test-strpbrk.c (do_one_test): Likewise.
19153 (do_test): Likewise.
19154 * string/test-strrchr.c (do_one_test): Likewise.
19155 (do_test): Likewise.
19156 * string/test-strspn.c (do_one_test): Likewise.
19157 (do_test): Likewise.
19158 * string/test-strstr.c (do_one_test): Likewise.
19159 (do_test): Likewise.
19161 * benchtests/Makefile (string-bench): Add string benchmarks.
19162 * benchtests/bench-bcopy-ifunc.c: New file.
19163 * benchtests/bench-bcopy.c: New file.
19164 * benchtests/bench-bzero-ifunc.c: New file.
19165 * benchtests/bench-bzero.c: New file.
19166 * benchtests/bench-memccpy-ifunc.c: New file.
19167 * benchtests/bench-memccpy.c: New file.
19168 * benchtests/bench-memchr-ifunc.c: New file.
19169 * benchtests/bench-memchr.c: New file.
19170 * benchtests/bench-memcmp-ifunc.c: New file.
19171 * benchtests/bench-memcmp.c: New file.
19172 * benchtests/bench-memmem-ifunc.c: New file.
19173 * benchtests/bench-memmem.c: New file.
19174 * benchtests/bench-memmove-ifunc.c: New file.
19175 * benchtests/bench-memmove.c: New file.
19176 * benchtests/bench-mempcpy-ifunc.c: New file.
19177 * benchtests/bench-mempcpy.c: New file.
19178 * benchtests/bench-memset-ifunc.c: New file.
19179 * benchtests/bench-memset.c: New file.
19180 * benchtests/bench-rawmemchr-ifunc.c: New file.
19181 * benchtests/bench-rawmemchr.c: New file.
19182 * benchtests/bench-stpcpy-ifunc.c: New file.
19183 * benchtests/bench-stpcpy.c: New file.
19184 * benchtests/bench-stpncpy-ifunc.c: New file.
19185 * benchtests/bench-stpncpy.c: New file.
19186 * benchtests/bench-strcasecmp-ifunc.c: New file.
19187 * benchtests/bench-strcasecmp.c: New file.
19188 * benchtests/bench-strcasestr-ifunc.c: New file.
19189 * benchtests/bench-strcasestr.c: New file.
19190 * benchtests/bench-strcat-ifunc.c: New file.
19191 * benchtests/bench-strcat.c: New file.
19192 * benchtests/bench-strchr-ifunc.c: New file.
19193 * benchtests/bench-strchr.c: New file.
19194 * benchtests/bench-strchrnul-ifunc.c: New file.
19195 * benchtests/bench-strchrnul.c: New file.
19196 * benchtests/bench-strcmp-ifunc.c: New file.
19197 * benchtests/bench-strcmp.c: New file.
19198 * benchtests/bench-strcpy-ifunc.c: New file.
19199 * benchtests/bench-strcpy.c: New file.
19200 * benchtests/bench-strcspn-ifunc.c: New file.
19201 * benchtests/bench-strcspn.c: New file.
19202 * benchtests/bench-strlen-ifunc.c: New file.
19203 * benchtests/bench-strlen.c: New file.
19204 * benchtests/bench-strncasecmp-ifunc.c: New file.
19205 * benchtests/bench-strncasecmp.c: New file.
19206 * benchtests/bench-strncat-ifunc.c: New file.
19207 * benchtests/bench-strncat.c: New file.
19208 * benchtests/bench-strncmp-ifunc.c: New file.
19209 * benchtests/bench-strncmp.c: New file.
19210 * benchtests/bench-strncpy-ifunc.c: New file.
19211 * benchtests/bench-strncpy.c: New file.
19212 * benchtests/bench-strnlen-ifunc.c: New file.
19213 * benchtests/bench-strnlen.c: New file.
19214 * benchtests/bench-strpbrk-ifunc.c: New file.
19215 * benchtests/bench-strpbrk.c: New file.
19216 * benchtests/bench-strrchr-ifunc.c: New file.
19217 * benchtests/bench-strrchr.c: New file.
19218 * benchtests/bench-strspn-ifunc.c: New file.
19219 * benchtests/bench-strspn.c: New file.
19220 * benchtests/bench-strstr-ifunc.c: New file.
19221 * benchtests/bench-strstr.c: New file.
19223 * benchtests/Makefile: Disable parallel execution of targets.
19224 (string-bench): Add memcpy.
19225 (benchset): New variable to store a list of benchmark sets.
19226 (bench-func): Renamed from bench.
19227 (bench-set): New target.
19228 (bench): Depend on bench-func and bench-set.
19229 * benchtests/README: Add section on benchmark sets.
19230 * benchtests/bench-memcpy-ifunc.c: New file.
19231 * benchtests/bench-memcpy.c: New file.
19232 * benchtests/bench-string.h: New file.
19234 2013-06-11 Andreas Schwab <schwab@suse.de>
19237 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19238 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19239 values in the triple.
19240 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19241 terminator in the group key.
19243 2013-06-11 Andreas Jaeger <aj@suse.de>
19245 * po/zh_TW.po: Update Chinese (traditional) translation from
19246 translation project.
19248 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19250 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19251 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19252 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19254 (clock_getcpuclockid): Likewise.
19255 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19256 Add weak_alias and libc_hidden_def.
19257 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19258 * rt/clock_gettime.c (clock_gettime): Rename to
19259 __clock_gettime. Add weak_alias and libc_hidden_def.
19260 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19261 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19262 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19263 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19264 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19266 * rt/clock_settime.c (clock_settime): Rename to
19267 __clock_settime. Add weak_alias and libc_hidden_def.
19268 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19270 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19272 * mach/err_boot.sub: Remove trailing whitespace.
19273 * mach/err_ipc.sub: Likewise.
19274 * mach/err_mach.sub: Likewise.
19276 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19277 (ROUNDING_TESTS_double): Likewise.
19278 (ROUNDING_TESTS_long_double): Likewise.
19279 (ROUNDING_TESTS): Likewise.
19280 * math/libm-test.inc: Include <math-tests.h>.
19281 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19282 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19283 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19284 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19286 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19288 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19291 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19293 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19294 otherwise empty TRANS lines.
19295 * sysdeps/gnu/errlist.c: Regenerated.
19297 * catgets/gencat.c (error_print): Use (void) in function
19299 * crypt/crypt_util.c (__init_des): Likewise.
19300 * crypt/speeds.c (Stop): Likewise.
19302 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19303 * inet/ruserpass.c (token): Likewise.
19304 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19305 * intl/localealias.c (extend_alias_table): Likewise.
19306 * intl/plural-exp.c (init_germanic_plural): Likewise.
19307 * libio/fcloseall.c (__fcloseall): Likewise.
19308 * libio/genops.c (_IO_flush_all): Likewise.
19309 (_IO_flush_all_linebuffered): Likewise.
19310 (_IO_cleanup): Likewise.
19311 (_IO_iter_begin): Likewise.
19312 (_IO_iter_end): Likewise.
19313 (_IO_list_lock): Likewise.
19314 (_IO_list_unlock): Likewise.
19315 (_IO_list_resetlock): Likewise.
19316 * libio/getchar.c (getchar): Likewise.
19317 * libio/getchar_u.c (getchar_unlocked): Likewise.
19318 * libio/getwchar.c (getwchar): Likewise.
19319 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19320 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19321 * login/getpt.c (__getpt): Likewise.
19322 * login/tst-utmp.c (main): Likewise.
19323 * malloc/hooks.c (__malloc_check_init): Likewise.
19324 * malloc/malloc.c (__malloc_stats): Likewise.
19325 * malloc/mtrace.c (tr_break): Likewise.
19326 (mtrace): Likewise.
19327 (muntrace): Likewise.
19328 * misc/fstab.c (endfsent): Likewise.
19329 * misc/getclktck.c (__getclktck): Likewise.
19330 * misc/getdtsz.c (__getdtablesize): Likewise.
19331 * misc/gethostid.c (gethostid): Likewise.
19332 * misc/getpagesize.c (__getpagesize): Likewise.
19333 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19334 (__get_nprocs): Likewise.
19335 (__get_phys_pages): Likewise.
19336 (__get_avphys_pages): Likewise.
19337 * misc/getttyent.c (getttyent): Likewise.
19338 (setttyent): Likewise.
19339 (endttyent): Likewise.
19340 * misc/getusershell.c (getusershell): Likewise.
19341 (endusershell): Likewise.
19342 (setusershell): Likewise.
19343 (initshells): Likewise.
19344 * misc/hsearch.c (__hdestroy): Likewise.
19345 * misc/sync.c (sync): Likewise.
19346 * misc/syslog.c (closelog_internal): Likewise.
19347 (closelog): Likewise.
19348 * misc/ttyslot.c (ttyslot): Likewise.
19349 * misc/vhangup.c (vhangup): Likewise.
19350 * posix/fork.c (__fork): Likewise.
19351 * posix/getegid.c (__getegid): Likewise.
19352 * posix/geteuid.c (__geteuid): Likewise.
19353 * posix/getgid.c (__getgid): Likewise.
19354 * posix/getpid.c (__getpid): Likewise.
19355 * posix/getppid.c (__getppid): Likewise.
19356 * posix/getuid.c (__getuid): Likewise.
19357 * posix/pause.c (pause): Likewise.
19358 * posix/setpgrp.c (setpgrp): Likewise.
19359 * posix/setsid.c (__setsid): Likewise.
19360 * posix/test-vfork.c (noop): Likewise.
19361 * resolv/gethnamaddr.c (_endhtent): Likewise.
19362 (_gethtent): Likewise.
19363 (ht_endhostent): Likewise.
19364 (gethostent): Likewise.
19365 (dns_service): Likewise.
19366 * stdlib/drand48.c (drand48): Likewise.
19367 * stdlib/lrand48.c (lrand48): Likewise.
19368 * stdlib/mrand48.c (mrand48): Likewise.
19369 * stdlib/rand.c (rand): Likewise.
19370 * stdlib/random.c (__random): Likewise.
19371 * stdlib/setenv.c (clearenv): Likewise.
19372 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19373 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19374 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19375 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19376 (__get_nprocs): Likewise.
19377 (__get_phys_pages): Likewise.
19378 (__get_avphys_pages): Likewise.
19379 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19380 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19381 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19382 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19383 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19384 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19385 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19386 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19387 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19388 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19389 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19390 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19391 * sysdeps/posix/clock.c (clock): Likewise.
19392 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19393 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19394 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19395 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19396 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19398 (__get_nprocs_conf): Likewise.
19399 (__get_phys_pages): Likewise.
19400 (__get_avphys_pages): Likewise.
19401 * time/clock.c (clock): Likewise.
19402 * time/tzset.c (__tzname_max): Likewise.
19404 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19406 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19407 (__bswap_32): Do not use "register".
19408 * crypt/crypt.c (_ufc_doit_r): Likewise.
19409 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19410 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19411 * gmon/gmon.c (__monstartup): Likewise.
19412 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19413 * hurd/hurdmalloc.c (more_memory): Likewise.
19414 (malloc): Likewise.
19416 (realloc): Likewise.
19417 (malloc_fork_prepare): Likewise.
19418 (malloc_fork_parent): Likewise.
19419 (malloc_fork_child): Likewise.
19420 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19421 (_svcauth_des): Likewise.
19422 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19423 * inet/inet_net.c (inet_network): Likewise.
19424 * inet/inet_netof.c (inet_netof): Likewise.
19425 * inet/rcmd.c (__validuser2_sa): Likewise.
19426 * io/fts.c (fts_open): Likewise.
19427 (fts_load): Likewise.
19428 (fts_close): Likewise.
19429 (fts_read): Likewise.
19430 (fts_children): Likewise.
19431 (fts_build): Likewise.
19432 (fts_stat): Likewise.
19433 (fts_sort): Likewise.
19434 (fts_alloc): Likewise.
19435 (fts_lfree): Likewise.
19436 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19437 (_IO_file_xsgetn): Likewise.
19438 (_IO_file_xsgetn_mmap): Likewise.
19439 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19440 (_IO_cookie_write): Likewise.
19441 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19442 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19443 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19444 * malloc/obstack.c (_obstack_begin): Likewise.
19445 (_obstack_begin_1): Likewise.
19446 (_obstack_newchunk): Likewise.
19447 (_obstack_allocated_p): Likewise.
19448 (obstack_free): Likewise.
19449 (_obstack_memory_used): Likewise.
19450 * misc/getttyent.c (getttynam): Likewise.
19451 (getttyent): Likewise.
19454 * misc/getusershell.c (initshells): Likewise.
19455 * misc/syslog.c (__vsyslog_chk): Likewise.
19456 * misc/ttyslot.c (ttyslot): Likewise.
19457 * nis/nis_hash.c (__nis_hash): Likewise.
19458 * posix/fnmatch_loop.c (FCT): Likewise.
19459 * posix/getconf.c (print_all): Likewise.
19461 * posix/getopt.c (exchange): Likewise.
19462 * posix/glob.c (globfree): Likewise.
19463 (prefix_array): Likewise.
19464 (__glob_pattern_type): Likewise.
19465 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19466 (NS_GET32): Likewise.
19467 (NS_PUT16): Likewise.
19468 (NS_PUT32): Likewise.
19469 * resolv/gethnamaddr.c (getanswer): Likewise.
19470 (gethostbyname2): Likewise.
19471 (gethostbyaddr): Likewise.
19472 (_gethtent): Likewise.
19473 (_gethtbyname2): Likewise.
19474 (_gethtbyaddr): Likewise.
19475 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19476 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19477 * resolv/res_init.c (__res_vinit): Likewise.
19478 (net_mask): Likewise.
19479 * resolv/res_mkquery.c (outchar): Likewise.
19481 * stdio-common/printf_fp.c (outchar): Likewise.
19483 * stdio-common/printf_fphex.c (outchar): Likewise.
19485 * stdio-common/printf_size.c (outchar): Likewise.
19487 * stdio-common/test_rdwr.c (main): Likewise.
19488 * stdio-common/tfformat.c (matches): Likewise.
19489 * stdio-common/vfprintf.c (outchar): Likewise.
19490 (printf_unknown): Likewise.
19491 (buffered_vfprintf): Likewise.
19492 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19493 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19494 (ReadFile): Likewise.
19495 * stdlib/qsort.c (SWAP): Likewise.
19496 (_quicksort): Likewise.
19497 * stdlib/setenv.c (__add_to_environ): Likewise.
19498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19499 * stdlib/strtol_l.c (__strtol_l): Likewise.
19500 * stdlib/tst-strtod.c (main): Likewise.
19501 * stdlib/tst-strtol.c (main): Likewise.
19502 * stdlib/tst-strtoll.c (main): Likewise.
19503 * string/bits/string2.h (__strcmp_cc): Likewise.
19504 (__strcmp_cg): Likewise.
19505 (__strcspn_c1): Likewise.
19506 (__strcspn_c2): Likewise.
19507 (__strcspn_c3): Likewise.
19508 (__strspn_c1): Likewise.
19509 (__strspn_c2): Likewise.
19510 (__strspn_c3): Likewise.
19511 (__strsep_1c): Likewise.
19512 (__strsep_2c): Likewise.
19513 (__strsep_3c): Likewise.
19514 * string/memccpy.c (__memccpy): Likewise.
19515 * string/stpcpy.c (__stpcpy): Likewise.
19516 * string/strcmp.c (strcmp): Likewise.
19517 * string/strrchr.c (strrchr): Likewise.
19518 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19520 * sysdeps/mach/hurd/getcwd.c
19521 (_hurd_canonicalize_directory_name_internal): Likewise.
19522 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19523 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19524 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19525 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19526 Likewise, in both definitions.
19527 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19529 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19530 64] (__bswap_64): Likewise.
19531 * time/test_time.c (main): Likewise.
19532 * time/tzfile.c (__tzfile_read): Likewise.
19533 (__tzfile_compute): Likewise.
19534 * time/tzset.c (__tzset_parse_tz): Likewise.
19535 (tzset_internal): Likewise.
19536 (compute_change): Likewise.
19537 * wcsmbs/wcscat.c (__wcscat): Likewise.
19538 * wcsmbs/wcschr.c (wcschr): Likewise.
19539 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19540 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19541 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19542 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19543 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19544 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19545 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19546 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19547 * wcsmbs/wmemset.c (wmemset): Likewise.
19549 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19551 * scripts/config.guess: Update to version 2013-05-16.
19552 * scripts/config.sub: Update to version 2013-04-24.
19553 * scripts/install-sh: Update to version 2011-11-20.07.
19554 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19555 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19557 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19559 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19560 * elf/sln.c: Likewise.
19561 * hurd/hurd/ioctl.h: Likewise.
19562 * hurd/hurdmalloc.c: Likewise.
19563 * hurd/xattr.c: Likewise.
19564 * include/shlib-compat.h: Likewise.
19565 * inet/ruserpass.c: Likewise.
19566 * libio/iofgets_u.c: Likewise.
19567 * libio/iofgetws_u.c: Likewise.
19568 * locale/programs/ld-identification.c: Likewise.
19569 * locale/programs/ld-time.c: Likewise.
19570 * mach/msg-destroy.c: Likewise.
19571 * nss/nss_files/files-netgrp.c: Likewise.
19572 * resolv/res_data.c: Likewise.
19573 * soft-fp/op-1.h: Likewise.
19574 * soft-fp/op-2.h: Likewise.
19575 * soft-fp/op-4.h: Likewise.
19576 * soft-fp/op-common.h: Likewise.
19577 * stdio-common/printf_fphex.c: Likewise.
19578 * stdlib/strtod_l.c: Likewise.
19579 * sunrpc/rpc/clnt.h: Likewise.
19580 * sysdeps/generic/framestate.c: Likewise.
19581 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19582 * sysdeps/i386/bsd-setjmp.S: Likewise.
19583 * sysdeps/i386/__longjmp.S: Likewise.
19584 * sysdeps/i386/setjmp.S: Likewise.
19585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19586 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19603 * sysdeps/ieee754/support.c: Likewise.
19604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19605 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19606 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19607 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19608 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19609 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19610 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19611 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19612 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19613 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19614 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19615 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19616 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19617 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19618 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19619 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19620 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19623 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19625 * posix/transbug.c: Remove executable mode.
19627 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19629 * crypt/speeds.c: Remove trailing whitespace.
19630 * dlfcn/default.c: Likewise.
19631 * elf/ifuncdep2.c: Likewise.
19632 * elf/ifuncmain1.c: Likewise.
19633 * elf/ifuncmain1vis.c: Likewise.
19634 * elf/testobj.h: Likewise.
19635 * elf/tst-stackguard1.c: Likewise.
19636 * gmon/sys/gmon.h: Likewise.
19637 * hurd/hurdmsg.c: Likewise.
19638 * hurd/new-fd.c: Likewise.
19639 * hurd/ports-get.c: Likewise.
19640 * iconvdata/ibm1008_420.c: Likewise.
19641 * inet/tst-getni1.c: Likewise.
19642 * inet/tst-getni2.c: Likewise.
19643 * libio/ioungetc.c: Likewise.
19644 * libio/wfiledoalloc.c: Likewise.
19645 * manual/libm-err-tab.pl: Likewise.
19646 * math/w_dremf.c: Likewise.
19647 * misc/ftruncate.c: Likewise.
19648 * posix/bug-glob2.c: Likewise.
19649 * posix/tst-pcre.c: Likewise.
19650 * posix/wait4.c: Likewise.
19651 * resolv/README: Likewise.
19652 * resolv/res_debug.h: Likewise.
19653 * resolv/tst-inet_ntop.c: Likewise.
19654 * setjmp/bug269-setjmp.c: Likewise.
19655 * soft-fp/extended.h: Likewise.
19656 * soft-fp/op-1.h: Likewise.
19657 * soft-fp/op-2.h: Likewise.
19658 * soft-fp/op-4.h: Likewise.
19659 * soft-fp/op-8.h: Likewise.
19660 * soft-fp/testit.c: Likewise.
19661 * stdio-common/bug16.c: Likewise.
19662 * stdlib/random.c: Likewise.
19663 * sunrpc/rpcsvc/rquota.x: Likewise.
19664 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19665 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19666 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19667 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19668 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19669 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19670 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19674 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19675 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19682 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19687 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19688 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19692 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19693 * sysdeps/ieee754/s_lib_version.c: Likewise.
19694 * sysdeps/mach/hurd/check_fds.c: Likewise.
19695 * sysdeps/mach/hurd/getsockname.c: Likewise.
19696 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19697 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19698 * sysdeps/powerpc/bits/link.h: Likewise.
19699 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19700 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19701 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19702 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19703 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19704 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19705 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19706 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19707 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19708 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19709 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19710 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19711 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19712 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19713 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19714 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19715 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19716 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19718 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19722 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19724 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19733 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19734 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19736 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19739 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19741 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19751 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19752 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19754 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19755 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19758 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19760 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19761 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19763 * sysdeps/powerpc/sysdep.h: Likewise.
19764 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19765 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19766 * sysdeps/sh/dl-trampoline.S: Likewise.
19767 * sysdeps/sh/memset.S: Likewise.
19768 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19769 * sysdeps/sh/strlen.S: Likewise.
19770 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19771 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19772 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19773 * sysdeps/sparc/sparc32/rem.S: Likewise.
19774 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19776 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19777 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19778 * sysdeps/sparc/sparc32/urem.S: Likewise.
19779 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19780 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19781 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19782 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19783 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19784 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19785 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19786 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19787 * sysdeps/unix/bsd/times.c: Likewise.
19788 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19789 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19793 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19794 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19795 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19796 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19797 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19798 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19799 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19800 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19801 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19802 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19803 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19804 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19805 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19806 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19807 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19808 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19809 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19810 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19811 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19812 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19813 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19814 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19815 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19816 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19817 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19818 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19819 * sysdeps/x86_64/strcspn.S: Likewise.
19821 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19823 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19824 generated file. Regenerate properly from gen-translit.pl.
19825 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19826 locale/C-translit.h.
19828 2013-06-05 Andreas Schwab <schwab@suse.de>
19831 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19832 week as 6 instead of -1.
19833 * time/tst-strptime.c (day_tests): Add test case.
19835 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19837 * sysdeps/generic/math_private.h
19838 (libc_feholdexcept_setround_53bit): Replace with
19839 libc_feholdsetround_53bit.
19840 (libc_feupdateenv_53bit): Replace with
19841 libc_feresetround_53bit.
19842 (SET_RESTORE_ROUND_53BIT): Adjust.
19844 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19846 * string/test-strchrnul.c: Add copyright header.
19848 * posix/tst-getaddrinfo4.c: Increase test timeout.
19850 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19853 * math/libm-test.inc (MAX_EXP): Remove
19855 (ulp): Use MIN_EXP - MANT_DIG.
19856 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19858 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19860 * po/be.po: Revert last change.
19861 * po/zh_CN.po: Likewise.
19862 * po/header.pot: Likewise.
19864 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19866 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19867 link-libc-deps to empty as target-specific variable.
19868 * Makerules (link-libc-args): New variable.
19869 (libc-for-link): Likewise.
19870 (link-libc-deps): Likewise.
19871 (lib%.so): Depend on $(link-libc-deps). Link with
19873 (build-module): Link with $(link-libc-args).
19874 (build-module-asneeded): Likewise.
19875 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19877 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19878 target-specific variable.
19879 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19880 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19881 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19883 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19885 ($(objpfx)libpcprofile.so): Likewise.
19886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19888 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19889 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19890 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19892 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19893 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19894 * login/Makefile ($(objpfx)libutil.so): Likewise.
19895 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19896 * math/Makefile ($(objpfx)libm.so): Likewise.
19897 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19898 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19899 variable instead of depending directly on libc.
19900 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19901 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19903 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19905 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19906 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19907 ($(objpfx)libanl.so): Likewise.
19908 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19910 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19912 * sysdeps/i386/fpu/Makefile: Remove file.
19913 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19914 ($(objpfx)libm.so): Remove dependency on ld.so.
19916 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19919 * nis/yp_xdr.c (XDRMAXNAME): Define.
19920 (XDRMAXRECORD): Define.
19921 (xdr_domainname): Use XDRMAXNAME.
19922 (xdr_mapname): Likewise.
19923 (xdr_peername): Likewise.
19924 (xdr_keydat): Use XDRMAXRECORD.
19925 (xdr_valdat): Likewise.
19927 2013-05-30 Jeff Law <law@redhat.com>
19930 * manual/errno.texi (ESTALE): Update to account for more than
19931 just NFS file systems.
19932 * sysdeps/gnu/errlist.c: Regenerated.
19934 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19937 * elf/Makefile (tests): Add tst-null-argv.
19938 (modules-names): Add tst-null-argv-lib.
19939 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19940 (tst-null-argv-ENV): Set environment for tst-null-argv.
19941 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19942 (RTLD_PROGNAME): New macro.
19943 * elf/tst-null-argv.c: New test case.
19944 * elf/tst-null-argv-lib.c: Library for test case.
19945 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19946 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19947 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19948 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19949 * elf/dl-init.c (call_init): Likewise.
19950 (_dl_init): Likewise.
19951 * elf/dl-load.c (print_search_path): Likewise.
19952 (_dl_map_object): Likewise.
19953 * elf/dl-lookup.c (do_lookup_x): Likewise.
19954 (add_dependency): Likewise.
19955 (_dl_lookup_symbol_x): Likewise.
19956 (_dl_debug_bindings): Likewise.
19957 * elf/dl-open.c (_dl_show_scope): Likewise.
19958 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19959 * elf/dl-version.c (match_symbol): Likewise.
19960 (_dl_check_map_versions): Likewise.
19961 * elf/rtld.c (dl_main): Likewise.
19962 (print_unresolved): Use RTLD_PROGNAME.
19963 (print_missing_version): Likewise.
19964 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19965 (elf_machine_rela): Likewise.
19966 * sysdeps/powerpc/powerpc32/dl-machine.c
19967 (__process_machine_rela): Likewise.
19968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19981 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19983 * po/be.po: Add descriptive title.
19984 * po/zh_CN.po: Likewise.
19985 * po/header.pot: Likewise.
19987 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19989 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19991 (enlarge_archive): Likewise.
19993 2013-05-28 Ben North <ben@redfrontdoor.org>
19995 * manual/arith.texi (frexp): It is the magnitude of the return
19996 value which lies in [0.5, 1), not the return value itself.
19998 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20002 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20004 * stdio-common/bug26.c (main): Correct fscanf template.
20006 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20007 declare _dl_skip_args.
20009 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20012 * manual/platform.texi: Add missing @end deftypefun.
20014 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20018 bit of mantissa of 2^16382.
20019 * math/libm-test.inc (hypot_test_data): Add more tests.
20021 * math/libm-test.inc: Add drem and pow10 to list of tested
20023 (pow10_test): New function.
20024 (drem_test): Likewise.
20025 (drem_test_tonearest): Likewise.
20026 (drem_test_towardzero): Likewise.
20027 (drem_test_downward): Likewise.
20028 (drem_test_upward): Likewise.
20029 (main): Call the new functions.
20031 * math/libm-test.inc (finite_test_data): Remove.
20032 (finite_test): Run tests from isfinite_test_data.
20033 (gamma_test_data): Remove.
20034 (gamma_test): Run tests from lgamma_test_data.
20035 * sysdeps/i386/fpu/libm-test-ulps: Update.
20036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20038 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20040 * manual/platform.texi: Add PowerPC PPR function set documentation.
20041 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20044 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20046 * math/libm-test.inc (MAX_EXP): Define.
20048 (ulp): New function.
20049 (check_float_internal): Use ULPDIFF.
20050 (cpow_test): Disable failing test.
20051 (check_ulp): Test ulp() implemetnation.
20052 (main): Call check_ulp before starting tests.
20054 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20056 * math/gen-libm-test.pl (generate_testfile): Do not handle
20057 START_DATA and END_DATA.
20058 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20060 (acos_tonearest_test_data): Likewise.
20061 (acos_towardzero_test_data): Likewise.
20062 (acos_downward_test_data): Likewise.
20063 (acos_upward_test_data): Likewise.
20064 (acosh_test_data): Likewise.
20065 (asin_test_data): Likewise.
20066 (asin_tonearest_test_data): Likewise.
20067 (asin_towardzero_test_data): Likewise.
20068 (asin_downward_test_data): Likewise.
20069 (asin_upward_test_data): Likewise.
20070 (asinh_test_data): Likewise.
20071 (atan_test_data): Likewise.
20072 (atanh_test_data): Likewise.
20073 (atan2_test_data): Likewise.
20074 (cabs_test_data): Likewise.
20075 (cacos_test_data): Likewise.
20076 (cacosh_test_data): Likewise.
20077 (carg_test_data): Likewise.
20078 (casin_test_data): Likewise.
20079 (casinh_test_data): Likewise.
20080 (catan_test_data): Likewise.
20081 (catanh_test_data): Likewise.
20082 (cbrt_test_data): Likewise.
20083 (ccos_test_data): Likewise.
20084 (ccosh_test_data): Likewise.
20085 (ceil_test_data): Likewise.
20086 (cexp_test_data): Likewise.
20087 (cimag_test_data): Likewise.
20088 (clog_test_data): Likewise.
20089 (clog10_test_data): Likewise.
20090 (conj_test_data): Likewise.
20091 (copysign_test_data): Likewise.
20092 (cos_test_data): Likewise.
20093 (cos_tonearest_test_data): Likewise.
20094 (cos_towardzero_test_data): Likewise.
20095 (cos_downward_test_data): Likewise.
20096 (cos_upward_test_data): Likewise.
20097 (cosh_test_data): Likewise.
20098 (cosh_tonearest_test_data): Likewise.
20099 (cosh_towardzero_test_data): Likewise.
20100 (cosh_downward_test_data): Likewise.
20101 (cosh_upward_test_data): Likewise.
20102 (cpow_test_data): Likewise.
20103 (cproj_test_data): Likewise.
20104 (creal_test_data): Likewise.
20105 (csin_test_data): Likewise.
20106 (csinh_test_data): Likewise.
20107 (csqrt_test_data): Likewise.
20108 (ctan_test_data): Likewise.
20109 (ctan_tonearest_test_data): Likewise.
20110 (ctan_towardzero_test_data): Likewise.
20111 (ctan_downward_test_data): Likewise.
20112 (ctan_upward_test_data): Likewise.
20113 (ctanh_test_data): Likewise.
20114 (ctanh_tonearest_test_data): Likewise.
20115 (ctanh_towardzero_test_data): Likewise.
20116 (ctanh_downward_test_data): Likewise.
20117 (ctanh_upward_test_data): Likewise.
20118 (erf_test_data): Likewise.
20119 (erfc_test_data): Likewise.
20120 (exp_test_data): Likewise.
20121 (exp_tonearest_test_data): Likewise.
20122 (exp_towardzero_test_data): Likewise.
20123 (exp_downward_test_data): Likewise.
20124 (exp_upward_test_data): Likewise.
20125 (exp10_test_data): Likewise.
20126 (exp2_test_data): Likewise.
20127 (expm1_test_data): Likewise.
20128 (fabs_test_data): Likewise.
20129 (fdim_test_data): Likewise.
20130 (finite_test_data): Likewise.
20131 (floor_test_data): Likewise.
20132 (fma_test_data): Likewise.
20133 (fma_towardzero_test_data): Likewise.
20134 (fma_downward_test_data): Likewise.
20135 (fma_upward_test_data): Likewise.
20136 (fmax_test_data): Likewise.
20137 (fmin_test_data): Likewise.
20138 (fmod_test_data): Likewise.
20139 (fpclassify_test_data): Likewise.
20140 (frexp_test_data): Likewise.
20141 (gamma_test_data): Likewise.
20142 (hypot_test_data): Likewise.
20143 (ilogb_test_data): Likewise.
20144 (isfinite_test_data): Likewise.
20145 (isgreater_test_data): Likewise.
20146 (isgreaterequal_test_data): Likewise.
20147 (isinf_test_data): Likewise.
20148 (isless_test_data): Likewise.
20149 (islessequal_test_data): Likewise.
20150 (islessgreater_test_data): Likewise.
20151 (isnan_test_data): Likewise.
20152 (isnormal_test_data): Likewise.
20153 (issignaling_test_data): Likewise.
20154 (isunordered_test_data): Likewise.
20155 (j0_test_data): Likewise.
20156 (j1_test_data): Likewise.
20157 (jn_test_data): Likewise.
20158 (ldexp_test_data): Likewise.
20159 (lgamma_test_data): Likewise.
20160 (lrint_test_data): Likewise.
20161 (lrint_tonearest_test_data): Likewise.
20162 (lrint_towardzero_test_data): Likewise.
20163 (lrint_downward_test_data): Likewise.
20164 (lrint_upward_test_data): Likewise.
20165 (llrint_test_data): Likewise.
20166 (llrint_tonearest_test_data): Likewise.
20167 (llrint_towardzero_test_data): Likewise.
20168 (llrint_downward_test_data): Likewise.
20169 (llrint_upward_test_data): Likewise.
20170 (log_test_data): Likewise.
20171 (log10_test_data): Likewise.
20172 (log1p_test_data): Likewise.
20173 (log2_test_data): Likewise.
20174 (logb_test_data): Likewise.
20175 (logb_downward_test_data): Likewise.
20176 (lround_test_data): Likewise.
20177 (llround_test_data): Likewise.
20178 (modf_test_data): Likewise.
20179 (nearbyint_test_data): Likewise.
20180 (nextafter_test_data): Likewise.
20181 (nexttoward_test_data): Likewise.
20182 (pow_test_data): Likewise.
20183 (pow_tonearest_test_data): Likewise.
20184 (pow_towardzero_test_data): Likewise.
20185 (pow_downward_test_data): Likewise.
20186 (pow_upward_test_data): Likewise.
20187 (remainder_test_data): Likewise.
20188 (remainder_tonearest_test_data): Likewise.
20189 (remainder_towardzero_test_data): Likewise.
20190 (remainder_downward_test_data): Likewise.
20191 (remainder_upward_test_data): Likewise.
20192 (remquo_test_data): Likewise.
20193 (rint_test_data): Likewise.
20194 (rint_tonearest_test_data): Likewise.
20195 (rint_towardzero_test_data): Likewise.
20196 (rint_downward_test_data): Likewise.
20197 (rint_upward_test_data): Likewise.
20198 (round_test_data): Likewise.
20199 (scalb_test_data): Likewise.
20200 (scalbn_test_data): Likewise.
20201 (scalbln_test_data): Likewise.
20202 (signbit_test_data): Likewise.
20203 (sin_test_data): Likewise.
20204 (sin_tonearest_test_data): Likewise.
20205 (sin_towardzero_test_data): Likewise.
20206 (sin_downward_test_data): Likewise.
20207 (sin_upward_test_data): Likewise.
20208 (sincos_test_data): Likewise.
20209 (sinh_test_data): Likewise.
20210 (sinh_tonearest_test_data): Likewise.
20211 (sinh_towardzero_test_data): Likewise.
20212 (sinh_downward_test_data): Likewise.
20213 (sinh_upward_test_data): Likewise.
20214 (sqrt_test_data): Likewise.
20215 (tan_test_data): Likewise.
20216 (tan_tonearest_test_data): Likewise.
20217 (tan_towardzero_test_data): Likewise.
20218 (tan_downward_test_data): Likewise.
20219 (tan_upward_test_data): Likewise.
20220 (tanh_test_data): Likewise.
20221 (tgamma_test_data): Likewise.
20222 (trunc_test_data): Likewise.
20223 (y0_test_data): Likewise.
20224 (y1_test_data): Likewise.
20225 (yn_test_data): Likewise.
20226 (significand_test_data): Likewise.
20228 * math/gen-libm-test.pl (@functions): Remove variable.
20229 (generate_testfile): Don't handle START and END lines.
20230 * math/libm-test.inc (START): New macro.
20232 (END_COMPLEX): Likewise.
20233 (acos_test): Use END macro without arguments.
20234 (acos_test_tonearest): Likewise.
20235 (acos_test_towardzero): Likewise.
20236 (acos_test_downward): Likewise.
20237 (acos_test_upward): Likewise.
20238 (acosh_test): Likewise.
20239 (asin_test): Likewise.
20240 (asin_test_tonearest): Likewise.
20241 (asin_test_towardzero): Likewise.
20242 (asin_test_downward): Likewise.
20243 (asin_test_upward): Likewise.
20244 (asinh_test): Likewise.
20245 (atan_test): Likewise.
20246 (atanh_test): Likewise.
20247 (atan2_test): Likewise.
20248 (cabs_test): Likewise.
20249 (cacos_test): Use END_COMPLEX macro without arguments.
20250 (cacosh_test): Likewise.
20251 (carg_test): Use END macro without arguments.
20252 (casin_test): Use END_COMPLEX macro without arguments.
20253 (casinh_test): Likewise.
20254 (catan_test): Likewise.
20255 (catanh_test): Likewise.
20256 (cbrt_test): Use END macro without arguments.
20257 (ccos_test): Use END_COMPLEX macro without arguments.
20258 (ccosh_test): Likewise.
20259 (ceil_test): Use END macro without arguments.
20260 (cexp_test): Use END_COMPLEX macro without arguments.
20261 (cimag_test): Use END macro without arguments.
20262 (clog_test): Use END_COMPLEX macro without arguments.
20263 (clog10_test): Likewise.
20264 (conj_test): Likewise.
20265 (copysign_test): Use END macro without arguments.
20266 (cos_test): Likewise.
20267 (cos_test_tonearest): Likewise.
20268 (cos_test_towardzero): Likewise.
20269 (cos_test_downward): Likewise.
20270 (cos_test_upward): Likewise.
20271 (cosh_test): Likewise.
20272 (cosh_test_tonearest): Likewise.
20273 (cosh_test_towardzero): Likewise.
20274 (cosh_test_downward): Likewise.
20275 (cosh_test_upward): Likewise.
20276 (cpow_test): Use END_COMPLEX macro without arguments.
20277 (cproj_test): Likewise.
20278 (creal_test): Use END macro without arguments.
20279 (csin_test): Use END_COMPLEX macro without arguments.
20280 (csinh_test): Likewise.
20281 (csqrt_test): Likewise.
20282 (ctan_test): Likewise.
20283 (ctan_test_tonearest): Likewise.
20284 (ctan_test_towardzero): Likewise.
20285 (ctan_test_downward): Likewise.
20286 (ctan_test_upward): Likewise.
20287 (ctanh_test): Likewise.
20288 (ctanh_test_tonearest): Likewise.
20289 (ctanh_test_towardzero): Likewise.
20290 (ctanh_test_downward): Likewise.
20291 (ctanh_test_upward): Likewise.
20292 (erf_test): Use END macro without arguments.
20293 (erfc_test): Likewise.
20294 (exp_test): Likewise.
20295 (exp_test_tonearest): Likewise.
20296 (exp_test_towardzero): Likewise.
20297 (exp_test_downward): Likewise.
20298 (exp_test_upward): Likewise.
20299 (exp10_test): Likewise.
20300 (exp2_test): Likewise.
20301 (expm1_test): Likewise.
20302 (fabs_test): Likewise.
20303 (fdim_test): Likewise.
20304 (finite_test): Likewise.
20305 (floor_test): Likewise.
20306 (fma_test): Likewise.
20307 (fma_test_towardzero): Likewise.
20308 (fma_test_downward): Likewise.
20309 (fma_test_upward): Likewise.
20310 (fmax_test): Likewise.
20311 (fmin_test): Likewise.
20312 (fmod_test): Likewise.
20313 (fpclassify_test): Likewise.
20314 (frexp_test): Likewise.
20315 (gamma_test): Likewise.
20316 (hypot_test): Likewise.
20317 (ilogb_test): Likewise.
20318 (isfinite_test): Likewise.
20319 (isgreater_test): Likewise.
20320 (isgreaterequal_test): Likewise.
20321 (isinf_test): Likewise.
20322 (isless_test): Likewise.
20323 (islessequal_test): Likewise.
20324 (islessgreater_test): Likewise.
20325 (isnan_test): Likewise.
20326 (isnormal_test): Likewise.
20327 (issignaling_test): Likewise.
20328 (isunordered_test): Likewise.
20329 (j0_test): Likewise.
20330 (j1_test): Likewise.
20331 (jn_test): Likewise.
20332 (ldexp_test): Likewise.
20333 (lgamma_test): Likewise.
20334 (lrint_test): Likewise.
20335 (lrint_test_tonearest): Likewise.
20336 (lrint_test_towardzero): Likewise.
20337 (lrint_test_downward): Likewise.
20338 (lrint_test_upward): Likewise.
20339 (llrint_test): Likewise.
20340 (llrint_test_tonearest): Likewise.
20341 (llrint_test_towardzero): Likewise.
20342 (llrint_test_downward): Likewise.
20343 (llrint_test_upward): Likewise.
20344 (log_test): Likewise.
20345 (log10_test): Likewise.
20346 (log1p_test): Likewise.
20347 (log2_test): Likewise.
20348 (logb_test): Likewise.
20349 (logb_test_downward): Likewise.
20350 (lround_test): Likewise.
20351 (llround_test): Likewise.
20352 (modf_test): Likewise.
20353 (nearbyint_test): Likewise.
20354 (nextafter_test): Likewise.
20355 (nexttoward_test): Likewise.
20356 (pow_test): Likewise.
20357 (pow_test_tonearest): Likewise.
20358 (pow_test_towardzero): Likewise.
20359 (pow_test_downward): Likewise.
20360 (pow_test_upward): Likewise.
20361 (remainder_test): Likewise.
20362 (remainder_test_tonearest): Likewise.
20363 (remainder_test_towardzero): Likewise.
20364 (remainder_test_downward): Likewise.
20365 (remainder_test_upward): Likewise.
20366 (remquo_test): Likewise.
20367 (rint_test): Likewise.
20368 (rint_test_tonearest): Likewise.
20369 (rint_test_towardzero): Likewise.
20370 (rint_test_downward): Likewise.
20371 (rint_test_upward): Likewise.
20372 (round_test): Likewise.
20373 (scalb_test): Likewise.
20374 (scalbn_test): Likewise.
20375 (scalbln_test): Likewise.
20376 (signbit_test): Likewise.
20377 (sin_test): Likewise.
20378 (sin_test_tonearest): Likewise.
20379 (sin_test_towardzero): Likewise.
20380 (sin_test_downward): Likewise.
20381 (sin_test_upward): Likewise.
20382 (sincos_test): Likewise.
20383 (sinh_test): Likewise.
20384 (sinh_test_tonearest): Likewise.
20385 (sinh_test_towardzero): Likewise.
20386 (sinh_test_downward): Likewise.
20387 (sinh_test_upward): Likewise.
20388 (sqrt_test): Likewise.
20389 (tan_test): Likewise.
20390 (tan_test_tonearest): Likewise.
20391 (tan_test_towardzero): Likewise.
20392 (tan_test_downward): Likewise.
20393 (tan_test_upward): Likewise.
20394 (tanh_test): Likewise.
20395 (tgamma_test): Likewise.
20396 (trunc_test): Likewise.
20397 (y0_test): Likewise.
20398 (y1_test): Likewise.
20399 (yn_test): Likewise.
20400 (significand_test): Likewise.
20402 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20405 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20407 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20410 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20411 __ppc_mdoio and __ppc_mdoom.
20412 * manual/platform.texi: Document new functions __ppc_yield,
20413 __ppc_mdoio and __ppc_mdoom.
20415 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20417 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20418 (main): Mention "tls" pseudo-hwcap is legacy.
20419 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20421 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20423 * math/gen-libm-test.pl (parse_args): Output only string of
20424 arguments as text for test name, not full call or descriptions of
20425 tests for extra outputs.
20426 (generate_testfile): Do not pass function name to parse_args.
20427 Generate this_func variable from START.
20428 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20430 (struct test_ff_f_data): Likewise.
20431 (test_ff_f_data_nexttoward): Likewise.
20432 (struct test_fi_f_data): Likewise.
20433 (struct test_fl_f_data): Likewise.
20434 (struct test_if_f_data): Likewise.
20435 (struct test_fff_f_data): Likewise.
20436 (struct test_c_f_data): Likewise.
20437 (struct test_f_f1_data): Likewise. Remove field extra_name.
20438 (struct test_fF_f1_data): Likewise.
20439 (struct test_ffI_f1_data): Likewise.
20440 (struct test_c_c_data): Rename test_name field to arg_str.
20441 (struct test_cc_c_data): Likewise.
20442 (struct test_f_i_data): Likewise.
20443 (struct test_ff_i_data): Likewise.
20444 (struct test_f_l_data): Likewise.
20445 (struct test_f_L_data): Likewise.
20446 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20448 (COMMON_TEST_SETUP): New macro.
20449 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20450 (COMMON_TEST_CLEANUP): Likewise.
20451 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20452 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20454 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20455 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20457 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20458 (RUN_TEST_fff_f): Take argument string. Call new setup and
20460 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20461 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20463 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20464 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20466 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20467 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20469 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20470 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20472 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20473 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20475 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20476 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20478 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20479 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20481 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20482 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20484 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20485 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20487 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20488 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20490 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20491 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20493 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20494 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20496 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20497 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20499 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20500 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20502 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20503 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20505 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20507 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20509 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20510 to _sifields.sigfault.
20511 (si_addr_lsb): Define new macro.
20512 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20514 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20516 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20519 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20521 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20523 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20524 loading the domain.
20526 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20528 * math/gen-libm-test.pl (parse_args): Do not include expected
20529 result in test name.
20530 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20533 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20534 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * benchtests/Makefile: Sort function entries.
20541 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20542 tanh, asinh, acosh, atanh.
20543 * benchtests/acos-inputs: New file.
20544 * benchtests/acosh-inputs: New file.
20545 * benchtests/asin-inputs: New file.
20546 * benchtests/asinh-inputs: New file.
20547 * benchtests/atanh-inputs: New file.
20548 * benchtests/cosh-inputs: New file.
20549 * benchtests/log-inputs: New file.
20550 * benchtests/sinh-inputs: New file.
20551 * benchtests/tanh-inputs: New file.
20553 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20556 * posix/tst-getaddrinfo4.c: New test.
20557 * posix/Makefile (tests): Add it.
20559 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20562 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20563 when no services were used.
20564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20565 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20567 2013-05-21 Andreas Schwab <schwab@suse.de>
20570 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20571 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20573 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20574 redundant variable declarations and reallocation of buffer when
20575 parsing as IPv6 address. Always set NSS status when called from
20576 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20577 buffer too small. Correct computation of needed size.
20578 * nss/Makefile (tests): Add test-digits-dots.
20579 * nss/test-digits-dots.c: New test.
20581 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20583 * benchtests/Makefile: Remove instructions for adding
20585 * benchtests/README: New file to explain how to execute and
20586 enhance the benchmark tests.
20588 2013-05-21 Andreas Schwab <schwab@suse.de>
20591 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20592 * setjmp/tst-sigsetjmp.c: New test.
20594 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20596 * sysdeps/x86_64/memset.S (memset): New implementation.
20597 (__bzero): Likewise.
20598 (__memset_tail): New function.
20600 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20602 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20603 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20604 __memcpy_sse2_unaligned ifunc selection.
20605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20606 Add memcpy-sse2-unaligned.S.
20607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20608 Add: __memcpy_sse2_unaligned.
20610 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20613 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20614 math_force_eval before restoring floating-point envrionment.
20615 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20618 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20620 (__nearbyintl): Use math_force_eval before restoring
20621 floating-point environment.
20622 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20624 * math/gen-libm-test.pl (special_functions): Remove.
20625 (parse_args): Don't handle TEST_extra. Handle functions with no
20627 * math/libm-test.inc (struct test_sincos_data): Replace with
20628 struct test_fFF_11_data.
20629 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20630 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20631 (sincos_test_data): Change element type to struct
20632 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20633 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20634 RUN_TEST_LOOP_sincos.
20635 * math/README.libm-test: Don't mention special handling of
20636 individual functions.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20639 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20644 * math/gen-libm-test.pl (get_variable): Remove function.
20645 (parse_args): Don't show pointer parameters to call in test
20646 names. Use "extra output N" in test names for extra outputs
20647 rather than naming variables.
20649 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20652 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20653 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20654 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20656 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20658 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20661 * math/gen-libm-test.pl (@tests): Remove variable.
20662 ($count): Likewise.
20663 (new_test): Remove function.
20664 (show_exceptions): New function.
20665 (special_functions): Use show_exceptions instead of new_test.
20666 (parse_args): Likewise.
20667 (generate_testfile): Pass only function name in generated call to
20668 print_max_error or print_complex_max_error.
20669 (get_ulps): Do not handle complex tests specially.
20670 (output_test): Rename to ...
20671 (get_all_ulps_for_test): ... this. Return a string rather than
20672 printing to a file. Require ulps to be present.
20673 (output_ulps): Generate arrays rather than #defines.
20674 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20675 (struct ulp_data): New type.
20676 (BUILD_COMPLEX_ULP): Remove macro.
20677 (compare_ulp_data): New function.
20678 (find_ulps): Likewise.
20679 (find_test_ulps): Likewise.
20680 (find_function_ulps): Likewise.
20681 (find_complex_function_ulps): Likewise.
20682 (print_max_error): Determine allowed ulps using
20683 find_function_ulps.
20684 (print_complex_max_error): Determine allowed ulps using
20685 find_complex_function_ulps.
20686 (check_float_internal): Determine max ulps using find_test_ulps.
20687 (check_float): Do not take max_ulp parameter. Update call to
20688 check_float_internal.
20689 (check_complex): Likewise.
20690 (check_int): Do not take max_ulp parameter.
20691 (check_long): Likewise.
20692 (check_bool): Likewise.
20693 (check_longlong): Likewise.
20694 (struct test_f_f_data): Remove max_ulp field.
20695 (struct test_ff_f_data): Likewise.
20696 (struct test_ff_f_data_nexttoward): Likewise.
20697 (struct test_fi_f_data): Likewise.
20698 (struct test_fl_f_data): Likewise.
20699 (struct test_if_f_data): Likewise.
20700 (struct test_fff_f_data): Likewise.
20701 (struct test_c_f_data): Likewise.
20702 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20703 (struct test_fF_f1_data): Likewise.
20704 (struct test_ffI_f1_data): Likewise.
20705 (struct test_c_c_data): Remove max_ulp field.
20706 (struct test_cc_c_data): Likewise.
20707 (struct test_f_i_data): Likewise.
20708 (struct test_ff_i_data): Likewise.
20709 (struct test_f_l_data): Likewise.
20710 (struct test_f_L_data): Likewise.
20711 (struct test_sincos_data): Likewise.
20712 (RUN_TEST_f_f): Do not handle ulps.
20713 (RUN_TEST_LOOP_f_f): Likewise.
20714 (RUN_TEST_2_f): Likewise.
20715 (RUN_TEST_LOOP_2_f): Likewise.
20716 (RUN_TEST_fff_f): Likewise.
20717 (RUN_TEST_LOOP_fff_f): Likewise.
20718 (RUN_TEST_c_f): Likewise.
20719 (RUN_TEST_LOOP_c_f): Likewise.
20720 (RUN_TEST_f_f1): Likewise.
20721 (RUN_TEST_LOOP_f_f1): Likewise.
20722 (RUN_TEST_fF_f1): Likewise.
20723 (RUN_TEST_LOOP_fF_f1): Likewise.
20724 (RUN_TEST_fI_f1): Likewise.
20725 (RUN_TEST_LOOP_fI_f1): Likewise.
20726 (RUN_TEST_ffI_f1): Likewise.
20727 (RUN_TEST_LOOP_ffI_f1): Likewise.
20728 (RUN_TEST_c_c): Likewise.
20729 (RUN_TEST_LOOP_c_c): Likewise.
20730 (RUN_TEST_cc_c): Likewise.
20731 (RUN_TEST_LOOP_cc_c): Likewise.
20732 (RUN_TEST_f_i): Likewise.
20733 (RUN_TEST_LOOP_f_i): Likewise.
20734 (RUN_TEST_f_i_tg): Likewise.
20735 (RUN_TEST_LOOP_f_i_tg): Likewise.
20736 (RUN_TEST_ff_i_tg): Likewise.
20737 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20738 (RUN_TEST_f_b): Likewise.
20739 (RUN_TEST_LOOP_f_b): Likewise.
20740 (RUN_TEST_f_b_tg): Likewise.
20741 (RUN_TEST_LOOP_f_b_tg): Likewise.
20742 (RUN_TEST_f_l): Likewise.
20743 (RUN_TEST_LOOP_f_l): Likewise.
20744 (RUN_TEST_f_L): Likewise.
20745 (RUN_TEST_LOOP_f_L): Likewise.
20746 (RUN_TEST_sincos): Likewise.
20747 (RUN_TEST_LOOP_sincos): Likewise.
20749 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20753 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20754 main case of finite arguments, set rounding mode to FE_TONEAREST
20755 and discard exceptions.
20756 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20758 (remainder_tonearest_test_data): New variable.
20759 (remainder_test_tonearest): New function.
20760 (remainder_towardzero_test_data): New variable.
20761 (remainder_test_towardzero): New function.
20762 (remainder_downward_test_data): New variable.
20763 (remainder_test_downward): New function.
20764 (remainder_upward_test_data): New variable.
20765 (remainder_test_upward): New function.
20766 (main): Call the new test functions.
20768 * math/libm-test.inc (struct test_f_f1_data): Remove field
20770 (struct test_fF_f1_data): Likewise.
20771 (struct test_ffI_f1_data): Likewise.
20772 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20773 based on value of EXTRA_EXPECTED.
20774 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20775 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20776 EXTRA_VAR based on value of EXTRA_EXPECTED.
20777 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20778 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20779 EXTRA_VAR based on value of EXTRA_EXPECTED.
20780 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20781 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20782 EXTRA_VAR based on value of EXTRA_EXPECTED.
20783 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20784 * math/gen-libm-test.pl (parse_args): Don't output initializers
20785 for extra output values.
20787 * math/libm-test.inc (check_int): Expect result to be exactly
20788 equal to expected value and do not handle ulps.
20789 (check_long): Likewise.
20790 (check_longlong): Likewise.
20792 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20794 (cimag_test_data): Likewise.
20795 (conj_test_data): Likewise.
20796 (copysign_test_data): Likewise.
20797 (cproj_test_data): Likewise.
20798 (creal_test_data): Likewise.
20799 (fabs_test_data): Likewise.
20800 (fdim_test_data): Likewise.
20801 (finite_test_data): Likewise.
20802 (floor_test_data): Likewise.
20803 (fmax_test_data): Likewise.
20804 (fmin_test_data): Likewise.
20805 (fmod_test_data): Likewise.
20806 (fpclassify_test_data): Likewise.
20807 (frexp_test_data): Likewise.
20808 (ilogb_test_data): Likewise.
20809 (isfinite_test_data): Likewise.
20810 (isgreater_test_data): Likewise.
20811 (isgreaterequal_test_data): Likewise.
20812 (isinf_test_data): Likewise.
20813 (isless_test_data): Likewise.
20814 (islessequal_test_data): Likewise.
20815 (islessgreater_test_data): Likewise.
20816 (isnan_test_data): Likewise.
20817 (isnormal_test_data): Likewise.
20818 (issignaling_test_data): Likewise.
20819 (isunordered_test_data): Likewise.
20820 (ldexp_test_data): Likewise.
20821 (lrint_test_data): Likewise.
20822 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20823 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20824 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20825 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20826 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20827 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20829 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20830 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20831 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20832 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20834 (lrint_downward_test_data): Test for "inexact" exceptions.
20835 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20836 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20837 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20839 (lrint_upward_test_data): Test for "inexact" exceptions.
20840 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20842 (llrint_test_data): Test for "inexact" exceptions.
20843 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20844 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20845 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20846 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20847 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20848 (llrint_downward_test_data): Test for "inexact" exceptions.
20849 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20850 (llrint_upward_test_data): Test for "inexact" exceptions.
20851 (logb_test_data): Likewise.
20852 (logb_downward_test_data): Likewise.
20853 (nextafter_test_data): Likewise.
20854 (nexttoward_test_data): Likewise.
20855 (remainder_test_data): Likewise.
20856 (remquo_test_data): Likewise.
20857 (scalbn_test_data): Likewise.
20858 (scalbln_test_data): Likewise.
20859 (signbit_test_data): Likewise.
20860 (sqrt_test_data): Likewise.
20861 (significand_test_data): Likewise.
20863 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20866 * benchtests/bench-modf.c (struct args): Mark arg0 as
20868 * scripts/bench.pl: Mark members of struct args as volatile.
20870 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20873 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20874 negative infinity on POWER6 or lower.
20875 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20877 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20880 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20881 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20882 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20883 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20884 (_FP_SETQNAN): New macro.
20885 (_FP_SETQNAN_SEMIRAW): Likewise.
20886 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20887 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20888 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20889 (FP_EXTEND): Use _FP_FRAC_SNANP.
20890 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20891 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20893 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20898 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20900 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20901 with DIVIDE_BY_ZERO_EXCEPTION.
20902 (gamma_test_data): Likewise.
20903 (lgamma_test_data): Likewise.
20904 (log_test_data): Likewise.
20905 (log10_test_data): Likewise.
20906 (log2_test_data): Likewise.
20907 (tgamma_test_data): Likewise.
20909 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20910 (acos_test_tonearest): Likewise.
20911 (acos_test_towardzero): Likewise.
20912 (acos_test_downward): Likewise.
20913 (acos_test_upward): Likewise.
20914 (acosh_test): Likewise.
20915 (asin_test): Likewise.
20916 (asin_test_tonearest): Likewise.
20917 (asin_test_towardzero): Likewise.
20918 (asin_test_downward): Likewise.
20919 (asin_test_upward): Likewise.
20920 (asinh_test): Likewise.
20921 (atan_test): Likewise.
20922 (atanh_test): Likewise.
20923 (atan2_test): Likewise.
20924 (cabs_test): Likewise.
20925 (cacos_test): Likewise.
20926 (cacosh_test): Likewise.
20927 (casin_test): Likewise.
20928 (casinh_test): Likewise.
20929 (catan_test): Likewise.
20930 (catanh_test): Likewise.
20931 (cbrt_test): Likewise.
20932 (ccos_test): Likewise.
20933 (ccosh_test): Likewise.
20934 (cexp_test): Likewise.
20935 (clog_test): Likewise.
20936 (clog10_test): Likewise.
20937 (cos_test): Likewise.
20938 (cos_test_tonearest): Likewise.
20939 (cos_test_towardzero): Likewise.
20940 (cos_test_downward): Likewise.
20941 (cos_test_upward): Likewise.
20942 (cosh_test): Likewise.
20943 (cosh_test_tonearest): Likewise.
20944 (cosh_test_towardzero): Likewise.
20945 (cosh_test_downward): Likewise.
20946 (cosh_test_upward): Likewise.
20947 (cpow_test): Likewise.
20948 (csin_test): Likewise.
20949 (csinh_test): Likewise.
20950 (csqrt_test): Likewise.
20951 (ctan_test): Likewise.
20952 (ctan_test_tonearest): Likewise.
20953 (ctan_test_towardzero): Likewise.
20954 (ctan_test_downward): Likewise.
20955 (ctan_test_upward): Likewise.
20956 (ctanh_test): Likewise.
20957 (ctanh_test_tonearest): Likewise.
20958 (ctanh_test_towardzero): Likewise.
20959 (ctanh_test_downward): Likewise.
20960 (ctanh_test_upward): Likewise.
20961 (erf_test): Likewise.
20962 (erfc_test): Likewise.
20963 (exp_test): Likewise.
20964 (exp_test_tonearest): Likewise.
20965 (exp_test_towardzero): Likewise.
20966 (exp_test_downward): Likewise.
20967 (exp_test_upward): Likewise.
20968 (exp10_test): Likewise.
20969 (exp2_test): Likewise.
20970 (expm1_test): Likewise.
20971 (fmod_test): Likewise.
20972 (gamma_test): Likewise.
20973 (hypot_test): Likewise.
20974 (j0_test): Likewise.
20975 (j1_test): Likewise.
20976 (jn_test): Likewise.
20977 (lgamma_test): Likewise.
20978 (log_test): Likewise.
20979 (log10_test): Likewise.
20980 (log1p_test): Likewise.
20981 (log2_test): Likewise.
20982 (logb_test_downward): Likewise.
20983 (pow_test): Likewise.
20984 (pow_test_tonearest): Likewise.
20985 (pow_test_towardzero): Likewise.
20986 (pow_test_downward): Likewise.
20987 (pow_test_upward): Likewise.
20988 (remainder_test): Likewise.
20989 (remquo_test): Likewise.
20990 (sin_test): Likewise.
20991 (sin_test_tonearest): Likewise.
20992 (sin_test_towardzero): Likewise.
20993 (sin_test_downward): Likewise.
20994 (sin_test_upward): Likewise.
20995 (sincos_test): Likewise.
20996 (sinh_test): Likewise.
20997 (sinh_test_tonearest): Likewise.
20998 (sinh_test_towardzero): Likewise.
20999 (sinh_test_downward): Likewise.
21000 (sinh_test_upward): Likewise.
21001 (sqrt_test): Likewise.
21002 (tan_test): Likewise.
21003 (tan_test_tonearest): Likewise.
21004 (tan_test_towardzero): Likewise.
21005 (tan_test_downward): Likewise.
21006 (tan_test_upward): Likewise.
21007 (tanh_test): Likewise.
21008 (tgamma_test): Likewise.
21009 (y0_test): Likewise.
21010 (y1_test): Likewise.
21011 (yn_test): Likewise.
21013 * math/gen-libm-test.pl (adjust_arg): Remove function.
21014 (special_function): Remove argument $in_func. Only handle
21015 generating output for tables of tests, not inside functions.
21016 (parse_args): Likewise.
21017 (generate_testfile): Remove variable $in_func. Update call to
21019 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21020 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21021 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21022 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21023 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21024 (MAX_VALUE_INIT): Rename macro to max_value.
21025 (MIN_VALUE_INIT): Rename macro to min_value.
21026 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21027 (plus_zero): Remove variable.
21028 (minus_zero): Likewise.
21029 (plus_infty): Likewise.
21030 (minus_infty): Likewise.
21031 (qnan_value): Likewise.
21032 (max_value): Likewise.
21033 (min_value): Likewise.
21034 (min_subnorm_value): Likewise.
21036 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21038 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21039 uint64_t or uint32_t usage.
21040 * crypt/sha256-block.c: Likewise.
21041 * crypt/sha256-crypt.c: Likewise.
21042 * crypt/sha256.c: Likewise.
21043 * crypt/sha512-block.c: Likewise.
21044 * crypt/sha512-crypt.c: Likewise.
21045 * crypt/sha512.c: Likewise.
21046 * debug/backtrace-tst.c: Likewise.
21047 * debug/pcprofiledump.c: Likewise.
21048 * elf/cache.c: Likewise.
21049 * elf/dl-cache.c: Likewise.
21050 * elf/dl-misc.c: Likewise.
21051 * elf/dl-profile.c: Likewise.
21052 * elf/dl-support.c: Likewise.
21053 * elf/ldconfig.c: Likewise.
21054 * elf/sprof.c: Likewise.
21055 * iconv/dummy-repertoire.c: Likewise.
21056 * iconv/iconv_charmap.c: Likewise.
21057 * iconv/skeleton.c: Likewise.
21058 * iconvdata/8bit-generic.c: Likewise.
21059 * iconvdata/cp737.h: Likewise.
21060 * iconvdata/cp775.h: Likewise.
21061 * iconvdata/ibm1008.h: Likewise.
21062 * iconvdata/ibm1025.h: Likewise.
21063 * iconvdata/ibm1046.h: Likewise.
21064 * iconvdata/ibm1097.h: Likewise.
21065 * iconvdata/ibm1112.h: Likewise.
21066 * iconvdata/ibm1122.h: Likewise.
21067 * iconvdata/ibm1123.h: Likewise.
21068 * iconvdata/ibm1124.h: Likewise.
21069 * iconvdata/ibm1129.h: Likewise.
21070 * iconvdata/ibm1130.h: Likewise.
21071 * iconvdata/ibm1132.h: Likewise.
21072 * iconvdata/ibm1133.h: Likewise.
21073 * iconvdata/ibm1137.h: Likewise.
21074 * iconvdata/ibm1140.h: Likewise.
21075 * iconvdata/ibm1141.h: Likewise.
21076 * iconvdata/ibm1142.h: Likewise.
21077 * iconvdata/ibm1143.h: Likewise.
21078 * iconvdata/ibm1144.h: Likewise.
21079 * iconvdata/ibm1145.h: Likewise.
21080 * iconvdata/ibm1146.h: Likewise.
21081 * iconvdata/ibm1147.h: Likewise.
21082 * iconvdata/ibm1148.h: Likewise.
21083 * iconvdata/ibm1149.h: Likewise.
21084 * iconvdata/ibm1153.h: Likewise.
21085 * iconvdata/ibm1154.h: Likewise.
21086 * iconvdata/ibm1155.h: Likewise.
21087 * iconvdata/ibm1156.h: Likewise.
21088 * iconvdata/ibm1157.h: Likewise.
21089 * iconvdata/ibm1158.h: Likewise.
21090 * iconvdata/ibm1160.h: Likewise.
21091 * iconvdata/ibm1161.h: Likewise.
21092 * iconvdata/ibm1162.h: Likewise.
21093 * iconvdata/ibm1163.h: Likewise.
21094 * iconvdata/ibm1164.h: Likewise.
21095 * iconvdata/ibm1166.h: Likewise.
21096 * iconvdata/ibm1167.h: Likewise.
21097 * iconvdata/ibm12712.h: Likewise.
21098 * iconvdata/ibm1390.h: Likewise.
21099 * iconvdata/ibm1399.h: Likewise.
21100 * iconvdata/ibm16804.h: Likewise.
21101 * iconvdata/ibm4517.h: Likewise.
21102 * iconvdata/ibm4899.h: Likewise.
21103 * iconvdata/ibm4909.h: Likewise.
21104 * iconvdata/ibm4971.h: Likewise.
21105 * iconvdata/ibm5347.h: Likewise.
21106 * iconvdata/ibm803.h: Likewise.
21107 * iconvdata/ibm856.h: Likewise.
21108 * iconvdata/ibm901.h: Likewise.
21109 * iconvdata/ibm902.h: Likewise.
21110 * iconvdata/ibm9030.h: Likewise.
21111 * iconvdata/ibm9066.h: Likewise.
21112 * iconvdata/ibm921.h: Likewise.
21113 * iconvdata/ibm922.h: Likewise.
21114 * iconvdata/ibm9448.h: Likewise.
21115 * iconvdata/isiri-3342.h: Likewise.
21116 * iconvdata/jis0201.h: Likewise.
21117 * include/link.h: Likewise.
21118 * include/netdb.h: Likewise.
21119 * inet/check_native.c: Likewise.
21120 * inet/check_pf.c: Likewise.
21121 * inet/getipv4sourcefilter.c: Likewise.
21122 * inet/getnameinfo.c: Likewise.
21123 * inet/getsourcefilter.c: Likewise.
21124 * inet/htonl.c: Likewise.
21125 * inet/setipv4sourcefilter.c: Likewise.
21126 * inet/setsourcefilter.c: Likewise.
21127 * inet/test-inet6_opt.c: Likewise.
21128 * inet/tst-network.c: Likewise.
21129 * locale/C-collate.c: Likewise.
21130 * locale/C-ctype.c: Likewise.
21131 * locale/C-time.c: Likewise.
21132 * locale/C-translit.h: Likewise.
21133 * locale/loadarchive.c: Likewise.
21134 * locale/programs/3level.h: Likewise.
21135 * locale/programs/charmap.c: Likewise.
21136 * locale/programs/charmap.h: Likewise.
21137 * locale/programs/ld-address.c: Likewise.
21138 * locale/programs/ld-collate.c: Likewise.
21139 * locale/programs/ld-ctype.c: Likewise.
21140 * locale/programs/ld-identification.c: Likewise.
21141 * locale/programs/ld-measurement.c: Likewise.
21142 * locale/programs/ld-messages.c: Likewise.
21143 * locale/programs/ld-monetary.c: Likewise.
21144 * locale/programs/ld-name.c: Likewise.
21145 * locale/programs/ld-numeric.c: Likewise.
21146 * locale/programs/ld-paper.c: Likewise.
21147 * locale/programs/ld-telephone.c: Likewise.
21148 * locale/programs/ld-time.c: Likewise.
21149 * locale/programs/linereader.c: Likewise.
21150 * locale/programs/locale.c: Likewise.
21151 * locale/programs/locarchive.c: Likewise.
21152 * locale/programs/locfile.h: Likewise.
21153 * locale/programs/repertoire.c: Likewise.
21154 * locale/programs/simple-hash.c: Likewise.
21155 * locale/programs/simple-hash.h: Likewise.
21156 * malloc/memusage.c: Likewise.
21157 * malloc/memusagestat.c: Likewise.
21158 * nis/nis_defaults.c: Likewise.
21159 * nis/nis_hash.c: Likewise.
21160 * nis/nis_print.c: Likewise.
21161 * nis/nis_xdr.c: Likewise.
21162 * nscd/connections.c: Likewise.
21163 * nscd/hstcache.c: Likewise.
21164 * nscd/nscd_gethst_r.c: Likewise.
21165 * nscd/nscd_getserv_r.c: Likewise.
21166 * nscd/nscd_helper.c: Likewise.
21167 * nscd/servicescache.c: Likewise.
21168 * nss/makedb.c: Likewise.
21169 * nss/nss_db/db-XXX.c: Likewise.
21170 * nss/nss_db/db-initgroups.c: Likewise.
21171 * nss/nss_db/db-netgrp.c: Likewise.
21172 * nss/nss_files/files-network.c: Likewise.
21173 * nss/nss_files/files-parse.c: Likewise.
21174 * posix/bug-regex5.c: Likewise.
21175 * posix/fnmatch_loop.c: Likewise.
21176 * posix/regcomp.c: Likewise.
21177 * posix/regexec.c: Likewise.
21178 * posix/tst-rfc3484-2.c: Likewise.
21179 * posix/tst-rfc3484-3.c: Likewise.
21180 * posix/tst-rfc3484.c: Likewise.
21181 * resolv/nss_dns/dns-canon.c: Likewise.
21182 * resolv/nss_dns/dns-network.c: Likewise.
21183 * resolv/res_init.c: Likewise.
21184 * resolv/res_mkquery.c: Likewise.
21185 * resolv/tst-aton.c: Likewise.
21186 * stdlib/cxa_atexit.c: Likewise.
21187 * stdlib/cxa_finalize.c: Likewise.
21188 * stdlib/gen-fpioconst.c: Likewise.
21189 * stdlib/strtol_l.c: Likewise.
21190 * string/tst-endian.c: Likewise.
21191 * sunrpc/auth_des.c: Likewise.
21192 * sunrpc/clnt_udp.c: Likewise.
21193 * sunrpc/rtime.c: Likewise.
21194 * sunrpc/svcauth_des.c: Likewise.
21195 * sunrpc/xdr.c: Likewise.
21196 * sunrpc/xdr_intXX_t.c: Likewise.
21197 * sunrpc/xdr_rec.c: Likewise.
21198 * sysdeps/generic/ldconfig.h: Likewise.
21199 * sysdeps/generic/ldsodefs.h: Likewise.
21200 * sysdeps/generic/memusage.h: Likewise.
21201 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21202 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21203 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21205 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21207 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21209 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21211 * sysdeps/posix/getaddrinfo.c: Likewise.
21212 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21213 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21214 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21215 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21216 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21217 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21218 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21219 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21220 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21222 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21224 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21225 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21226 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21227 * sysdeps/x86_64/dl-tls.h: Likewise.
21228 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21229 * time/alt_digit.c: Likewise.
21230 * time/era.c: Likewise.
21231 * wcsmbs/tst-c16c32-1.c: Likewise.
21233 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21235 * math/libm-test.inc (struct test_sincos_data): New type.
21236 (RUN_TEST_LOOP_sincos): New macro.
21237 (sincos_test_data): New variable.
21238 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21240 2013-05-16 Richard Henderson <rth@redhat.com>
21242 * math/atest-exp2.c (LIMB64): New macro.
21243 (CONSTSZ): New macro.
21244 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21246 (print_mpn_fp): ... to function scope.
21247 (read_mpn_hex): Remove.
21248 (get_log2): Remove.
21249 (exp2_mpn): Use mp_log2.
21250 (main): Use mp_exp1.
21252 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21254 * math/libm-test.inc: Remove comment about not testing "inexact"
21256 (INEXACT_EXCEPTION): New macro.
21257 (NO_INEXACT_EXCEPTION): Likewise.
21258 (INVALID_EXCEPTION_OK): Update value.
21259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21260 (OVERFLOW_EXCEPTION_OK): Likewise.
21261 (UNDERFLOW_EXCEPTION_OK): Likewise.
21262 (IGNORE_ZERO_INF_SIGN): Likewise.
21263 (ERRNO_UNCHANGED): Likewise.
21264 (ERRNO_EDOM): Likewise.
21265 (ERRNO_ERANGE): Likewise.
21266 (test_exceptions): Handle testing "inexact" exceptions.
21267 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21268 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21269 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21270 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21272 (rint_towardzero_test_data): Likewise.
21273 (rint_downward_test_data): Likewise.
21274 (rint_upward_test_data): Likewise.
21276 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21277 with OVERFLOW_EXCEPTION.
21278 (exp10_test_data): Likewise.
21279 (exp2_test_data): Likewise.
21280 (expm1_test_data): Likewise.
21281 (lgamma_test_data): Likewise.
21282 (pow_test_data): Likewise.
21283 (tgamma_test_data): Likewise.
21284 (yn_test_data): Remove duplicate test of overflow.
21286 * math/libm-test.inc (struct test_cc_c_data): New type.
21287 (RUN_TEST_LOOP_cc_c): New macro.
21288 (cpow_test_data): New variable.
21289 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21291 * math/libm-test.inc (struct test_f_L_data): New type.
21292 (RUN_TEST_LOOP_f_L): New macro.
21293 (llrint_test_data): New variable.
21294 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21295 (llrint_tonearest_test_data): New variable.
21296 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21297 (llrint_towardzero_test_data): New variable.
21298 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21299 (llrint_downward_test_data): New variable.
21300 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21301 (llrint_upward_test_data): New variable.
21302 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21303 (llround_test_data): New variable.
21304 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21306 2013-05-13 Peter Collingbourne <pcc@google.com>
21308 * math/atest-exp2.c (get_log2): Remove const attribute.
21310 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21312 * math/libm-test.inc (struct test_f_l_data): New type.
21313 (RUN_TEST_LOOP_f_l): New macro.
21314 (lrint_test_data): New variable.
21315 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21316 (lrint_tonearest_test_data): New variable.
21317 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21318 (lrint_towardzero_test_data): New variable.
21319 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21320 (lrint_downward_test_data): New variable.
21321 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21322 (lrint_upward_test_data): New variable.
21323 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21324 (lround_test_data): New variable.
21325 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21327 2013-05-15 Peter Collingbourne <pcc@google.com>
21329 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21330 (EXTRACT_WORDS64) Use where appropriate.
21331 (INSERT_WORDS64) Likewise.
21333 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21334 constraints with x constraints.
21335 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21337 * malloc/obstack.c (_obstack_compat): Add initializer.
21339 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21341 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21342 si_trapno and add si_addr_lsb to _sifields.sigfault.
21343 (si_trapno): Remove macro.
21344 (si_addr_lsb): Define new macro.
21345 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21347 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21349 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21350 instead of TEST_f_l.
21351 (llrint_test_tonearest): Likewise.
21352 (llrint_test_towardzero): Likewise.
21353 (llrint_test_downward): Likewise.
21354 (llrint_test_upward): Likewise.
21355 (llround_test): Likewise.
21357 * math/libm-test.inc (struct test_f_i_data): Add comment.
21358 (RUN_TEST_LOOP_f_b): New macro.
21359 (RUN_TEST_LOOP_f_b_tg): Likewise.
21360 (finite_test_data): New variable.
21361 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21362 (isfinite_test_data): New variable.
21363 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21364 (isinf_test_data): New variable.
21365 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21366 (isnan_test_data): New variable.
21367 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21368 (isnormal_test_data): New variable.
21369 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21370 (issignaling_test_data): New variable.
21371 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21372 (signbit_test_data): New variable.
21373 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21375 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21376 with INVALID_EXCEPTION.
21377 (acosh_test_data): Likewise.
21378 (asin_test_data): Likewise.
21379 (atanh_test_data): Likewise.
21380 (fmod_test_data): Likewise.
21381 (log_test_data): Likewise.
21382 (log10_test_data): Likewise.
21383 (log2_test_data): Likewise.
21384 (pow_test_data): Likewise.
21385 (sqrt_test_data): Likewise.
21386 (y0_test_data): Likewise.
21387 (y1_test_data): Likewise.
21388 (yn_test_data): Likewise.
21390 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21393 * math/libm-test.inc (struct test_ff_i_data): New type.
21394 (RUN_TEST_LOOP_ff_i_tg): New macro.
21395 (isgreater_test_data): New variable.
21396 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21397 (isgreaterequal_test_data): New variable.
21398 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21399 (isless_test_data): New variable.
21400 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21401 (islessequal_test_data): New variable.
21402 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21403 (islessgreater_test_data): New variable.
21404 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21405 (isunordered_test_data): New variable.
21406 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21408 2013-05-14 David S. Miller <davem@davemloft.net>
21410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21412 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21414 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21416 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21418 (struct test_f_i_data): Change type of max_ulp to int.
21420 * math/libm-test.inc (test_ffI_f1_data): New type.
21421 (RUN_TEST_LOOP_ffI_f1): New macro.
21422 (remquo_test_data): New variable.
21423 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21425 * setjmp/tst-setjmp-fp.c: New file.
21426 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21427 (link-libm): New variable.
21428 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21430 * math/libm-test.inc (struct test_f_i_data): New type.
21431 (RUN_TEST_LOOP_f_i): New macro.
21432 (RUN_TEST_LOOP_f_i_tg): Likewise.
21433 (fpclassify_test_data): New variable.
21434 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21435 (ilogb_test_data): New variable.
21436 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21438 * math/libm-test.inc (scalbln_test): Correct function name in END
21441 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21442 (RUN_TEST_LOOP_fI_f1): New macro.
21443 (frexp_test_data): New variable.
21444 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21446 * math/libm-test.inc (struct test_fF_f1_data): New type.
21447 (RUN_TEST_LOOP_fF_f1): New macro.
21448 (modf_test_data): New variable.
21449 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21451 * math/libm-test.inc (struct test_f_f1_data): New type.
21452 (RUN_TEST_LOOP_f_f1): New macro.
21453 (gamma_test_data): New variable.
21454 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21455 (lgamma_test_data): New variable.
21456 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21458 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21460 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21461 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21462 (main): Comment "tls" pseudo-hwcap.
21464 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21466 * math/libm-test.inc (struct test_fl_f_data): New type.
21467 (RUN_TEST_LOOP_fl_f): New variable.
21468 (scalbln_test_data): New variable.
21469 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21471 * math/libm-test.inc (struct test_fi_f_data): New type.
21472 (RUN_TEST_LOOP_fi_f): New macro.
21473 (ldexp_test_data): New variable.
21474 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21475 (scalbn_test_data): New variable.
21476 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21478 * math/libm-test.inc (struct test_c_f_data): New type.
21479 (RUN_TEST_LOOP_c_f): New macro.
21480 (cabs_test_data): New variable.
21481 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21482 (carg_test_data): New variable.
21483 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21484 (cimag_test_data): New variable.
21485 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21486 (creal_test_data): New variable.
21487 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21489 * math/libm-test.inc (struct test_if_f_data): New type.
21490 (RUN_TEST_LOOP_if_f): New macro.
21491 (jn_test_data): New variable.
21492 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21493 (yn_test_data): New variable.
21494 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21496 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21498 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21500 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21501 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21503 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21505 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21506 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21507 (bench-deps): Add bench-timing.h.
21508 * benchtests-bench-skeleton.c: Include bench-timing.h.
21509 (main): Use TIMING_* macros instead of clock_gettime.
21510 * benchtests/bench-timing.h: New file.
21513 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21514 Renamed from _LIB_VERSION.
21515 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21517 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21519 * math/libm-test.inc (struct test_fff_f_data): New type.
21520 (RUN_TEST_LOOP_fff_f): New macro.
21521 (fma_test_data): New variable.
21522 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21523 (fma_towardzero_test_data): New variable.
21524 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21525 (fma_downward_test_data): New variable.
21526 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21527 (fma_upward_test_data): New variable.
21528 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21530 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21531 (struct test_c_c_data): New type.
21532 (RUN_TEST_LOOP_c_c): New macro.
21533 (cacos_test_data): New variable.
21534 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21535 (cacosh_test_data): New variable.
21536 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21537 (casin_test_data): New variable.
21538 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21539 (casinh_test_data): New variable.
21540 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21541 (catan_test_data): New variable.
21542 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21543 (catanh_test_data): New variable.
21544 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21545 (ccos_test_data): New variable.
21546 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21547 (ccosh_test_data): New variable.
21548 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21549 (cexp_test_data): New variable.
21550 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21551 (clog_test_data): New variable.
21552 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21553 (clog10_test_data): New variable.
21554 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21555 (conj_test_data): New variable.
21556 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21557 (cproj_test_data): New variable.
21558 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21559 (csin_test_data): New variable.
21560 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21561 (csinh_test_data): New variable.
21562 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21563 (csqrt_test_data): New variable.
21564 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21565 (ctan_test_data): New variable.
21566 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21567 (ctan_tonearest_test_data): New variable.
21568 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21569 (ctan_towardzero_test_data): New variable.
21570 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21571 (ctan_downward_test_data): New variable.
21572 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21573 (ctan_upward_test_data): New variable.
21574 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21575 (ctanh_test_data): New variable.
21576 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21577 (ctanh_tonearest_test_data): New variable.
21578 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21579 (ctanh_towardzero_test_data): New variable.
21580 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21581 (ctanh_downward_test_data): New variable.
21582 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21583 (ctanh_upward_test_data): New variable.
21584 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21585 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21588 * math/libm-test.inc (struct test_ff_f_data): New type.
21589 (struct test_ff_f_data_nexttoward): Likewise.
21590 (RUN_TEST_LOOP_2_f): New macro.
21591 (RUN_TEST_LOOP_ff_f): Likewise.
21592 (atan2_test_data): New variable.
21593 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21594 (copysign_test_data): New variable.
21595 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21596 (fdim_test_data): New variable.
21597 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21598 (fmax_test_data): New variable.
21599 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21600 (fmin_test_data): New variable.
21601 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21602 (fmod_test_data): New variable.
21603 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21604 (hypot_test_data): New variable.
21605 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21606 (nextafter_test_data): New variable.
21607 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21608 (nexttoward_test_data): New variable.
21609 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21610 (pow_test_data): New variable.
21611 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21612 (pow_tonearest_test_data): New variable.
21613 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21614 (pow_towardzero_test_data): New variable.
21615 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21616 (pow_downward_test_data): New variable.
21617 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21618 (pow_upward_test_data): New variable.
21619 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21620 (remainder_test_data): New variable.
21621 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21622 (scalb_test_data): New variable.
21623 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21624 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21628 * math/libm-test.inc (fma_test): Use max_value instead of local
21630 (nextafter_test): Likewise.
21632 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21633 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21634 (acos_downward_test_data): New variable.
21635 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21636 (acos_upward_test_data): New variable.
21637 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21638 (acosh_test_data): New variable.
21639 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21640 (asin_test_data): New variable.
21641 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21642 (asin_tonearest_test_data): New variable.
21643 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21644 (asin_towardzero_test_data): New variable.
21645 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21646 (asin_downward_test_data): New variable.
21647 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21648 (asin_upward_test_data): New variable.
21649 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21650 (asinh_test_data): New variable.
21651 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21652 (atan_test_data): New variable.
21653 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21654 (atanh_test_data): New variable.
21655 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21656 (cbrt_test_data): New variable.
21657 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21658 (ceil_test_data): New variable.
21659 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21660 (cos_test_data): New variable.
21661 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21662 (cos_tonearest_test_data): New variable.
21663 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21664 (cos_towardzero_test_data): New variable.
21665 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21666 (cos_downward_test_data): New variable.
21667 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21668 (cos_upward_test_data): New variable.
21669 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21670 (cosh_test_data): New variable.
21671 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21672 (cosh_tonearest_test_data): New variable.
21673 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21674 (cosh_towardzero_test_data): New variable.
21675 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21676 (cosh_downward_test_data): New variable.
21677 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21678 (cosh_upward_test_data): New variable.
21679 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21680 (erf_test_data): New variable.
21681 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21682 (erfc_test_data): New variable.
21683 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21684 (exp_test_data): New variable.
21685 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21686 (exp_tonearest_test_data): New variable.
21687 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21688 (exp_towardzero_test_data): New variable.
21689 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21690 (exp_downward_test_data): New variable.
21691 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21692 (exp_upward_test_data): New variable.
21693 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21694 (exp10_test_data): New variable.
21695 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21696 (exp2_test_data): New variable.
21697 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21698 (expm1_test_data): New variable.
21699 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21700 (fabs_test_data): New variable.
21701 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21702 (floor_test_data): New variable.
21703 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21704 (j0_test_data): New variable.
21705 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21706 (j1_test_data): New variable.
21707 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21708 (log_test_data): New variable.
21709 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21710 (log10_test_data): New variable.
21711 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21712 (log1p_test_data): New variable.
21713 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21714 (log2_test_data): New variable.
21715 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21716 (logb_test_data): New variable.
21717 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21718 (logb_downward_test_data): New variable.
21719 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21720 (nearbyint_test_data): New variable.
21721 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21722 (rint_test_data): New variable.
21723 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21724 (rint_tonearest_test_data): New variable.
21725 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21726 (rint_towardzero_test_data): New variable.
21727 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21728 (rint_downward_test_data): New variable.
21729 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21730 (rint_upward_test_data): New variable.
21731 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21732 (round_test_data): New variable.
21733 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21734 (sin_test_data): New variable.
21735 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21736 (sin_tonearest_test_data): New variable.
21737 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21738 (sin_towardzero_test_data): New variable.
21739 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21740 (sin_downward_test_data): New variable.
21741 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21742 (sin_upward_test_data): New variable.
21743 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21744 (sinh_test_data): New variable.
21745 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21746 (sinh_tonearest_test_data): New variable.
21747 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21748 (sinh_towardzero_test_data): New variable.
21749 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21750 (sinh_downward_test_data): New variable.
21751 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21752 (sinh_upward_test_data): New variable.
21753 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21754 (sqrt_test_data): New variable.
21755 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21756 (tan_test_data): New variable.
21757 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21758 (tan_tonearest_test_data): New variable.
21759 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21760 (tan_towardzero_test_data): New variable.
21761 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21762 (tan_downward_test_data): New variable.
21763 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21764 (tan_upward_test_data): New variable.
21765 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21766 (tanh_test_data): New variable.
21767 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21768 (tgamma_test_data): New variable.
21769 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21770 (trunc_test_data): New variable.
21771 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21772 (y0_test_data): New variable.
21773 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21774 (y1_test_data): New variable.
21775 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21776 (significand_test_data): New variable.
21777 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21779 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21782 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21784 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21786 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21788 2013-05-10 Andreas Jaeger <aj@suse.de>
21791 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21792 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21794 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21796 * math/gen-libm-test.pl (adjust_arg): New function.
21797 (special_functions): Handle generating output in both functions
21799 (parse_args): Likewise.
21800 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21801 $in_func argument to parse_args.
21802 * math/libm-test.inc (struct test_f_f_data): New type.
21803 (IF_ROUND_INIT_): New macro.
21804 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21805 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21806 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21807 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21808 (ROUND_RESTORE_): Likewise.
21809 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21810 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21811 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21812 (ROUND_RESTORE_FE_UPWARD): Likewise.
21813 (RUN_TEST_LOOP_f_f): New macro.
21814 (acos_test_data): New variable.
21815 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21816 (acos_tonearest_test_data): New variable.
21817 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21819 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21821 * benchtests/bench-skeleton.c (startup): Fix coding style.
21823 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21826 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21827 negative infinity argument.
21828 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21829 negative infinity argument.
21830 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21831 negative infinity argument.
21832 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21835 2013-05-10 Florian Weimer <fweimer@redhat.com>
21837 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21838 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21839 * iconv/iconv_prog.c (main): Likewise.
21840 * locale/programs/charmap-dir.c (charmap_readdir)
21841 (fopen_uncompressed): Likewise.
21842 * locale/programs/locfile.c (siblings_uncached)
21843 (write_locale_data): Use lstat64 instead of lstat.
21844 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21847 2013-05-10 Andreas Jaeger <aj@suse.de>
21850 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21852 Include <locale.h>.
21854 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21856 * elf/dl-close.c (_dl_close_worker): Add comments.
21858 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21861 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21863 (__ieee754_rem_pio2l): Update comments.
21866 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21868 (__ieee754_rem_pio2l): Update comments.
21870 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21871 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21873 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21876 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21877 (M_PI_34_LOG10El): Likewise.
21878 (M_PI2_LOG10El): Likewise.
21879 (M_PI4_LOG10El): Likewise.
21880 (M_PI_LOG10El): Likewise.
21882 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21886 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21888 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21889 (MINUS_ZERO_INIT): Likewise.
21890 (PLUS_INFTY_INIT): Likewise.
21891 (MINUS_INFTY_INIT): Likewise.
21892 (QNAN_VALUE_INIT): Likewise.
21893 (MAX_VALUE_INIT): Likewise.
21894 (MIN_VALUE_INIT): Likewise.
21895 (MIN_SUBNORM_VALUE_INIT): Likewise.
21896 (plus_zero): Initialize with PLUS_ZERO_INIT.
21897 (minus_zero): Initialize with MINUS_ZERO_INIT.
21898 (plus_infty): Initialize with PLUS_INFTY_INIT.
21899 (minus_infty): Initialize with MINUS_INFTY_INIT.
21900 (qnan_value): Initialize with QNAN_VALUE_INIT.
21901 (max_value): Initialize with MAX_VALUE_INIT.
21902 (min_value): Initialize with MIN_VALUE_INIT.
21903 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21905 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21906 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21907 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21908 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21910 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21911 (RUN_TEST_2_f): Likewise.
21912 (RUN_TEST_ff_f): Likewise.
21913 (RUN_TEST_fi_f): Likewise.
21914 (RUN_TEST_fl_f): Likewise.
21915 (RUN_TEST_fff_f): Likewise.
21916 (RUN_TEST_c_f): Likewise.
21917 (RUN_TEST_f_f1): Likewise.
21918 (RUN_TEST_fF_f1): Likewise.
21919 (RUN_TEST_fI_f1): Likewise.
21920 (RUN_TEST_ffI_f1): Likewise.
21921 (RUN_TEST_c_c): Likewise.
21922 (RUN_TEST_cc_c): Likewise.
21923 (RUN_TEST_f_i): Likewise.
21924 (RUN_TEST_f_i_tg): Likewise.
21925 (RUN_TEST_ff_i_tg): Likewise.
21926 (RUN_TEST_f_b): Likewise.
21927 (RUN_TEST_f_b_tg): Likewise.
21928 (RUN_TEST_f_l): Likewise.
21929 (RUN_TEST_f_L): Likewise.
21930 (RUN_TEST_sincos): Likewise.
21931 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21932 whether to show exceptions. Do not include ");\n" in return
21934 (special_functions): Output call to RUN_TEST_sincos instead of
21935 check_float calls. Update calls to new_test.
21936 (parse_args): Output call to single RUN_TEST_* macro instead of
21937 check_* calls and other assignments. Update calls to new_test.
21943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21944 input to result for tgamma overflow.
21945 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21946 (gamma_coeff): New variable.
21947 (NCOEFF): New macro.
21948 (gamma_positive): New function.
21949 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21950 underflow here. Use gamma_positive instead of exp (lgamma) for
21952 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21953 (gamma_coeff): New variable.
21954 (NCOEFF): New macro.
21955 (gammaf_positive): New function.
21956 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21957 underflow here. Use gamma_positive instead of exp (lgamma) for
21959 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21960 (gamma_coeff): New variable.
21961 (NCOEFF): New macro.
21962 (gammal_positive): New function.
21963 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21964 underflow here. Use gamma_positive instead of exp (lgamma) for
21966 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21967 (gamma_coeff): New variable.
21968 (NCOEFF): New macro.
21969 (gammal_positive): New function.
21970 (__ieee754_gammal_r): Handle positive infinity, overflow and
21971 underflow here. Handle NaN the same as positive infinity. Remove
21972 check x < 0xffffffff for negative integers. Use gamma_positive
21973 instead of exp (lgamma) for other arguments.
21974 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21975 (gamma_coeff): New variable.
21976 (NCOEFF): New macro.
21977 (gammal_positive): New function.
21978 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21979 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21983 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21984 * sysdeps/generic/math_private.h (__gamma_productf): New
21986 (__gamma_product): Likewise.
21987 (__gamma_productl): Likewise.
21988 * math/Makefile (libm-calls): Add gamma_product.
21989 * math/libm-test.inc (tgamma_test): Add more tests.
21990 * sysdeps/i386/fpu/libm-test-ulps: Update.
21991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21993 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21995 * benchtests/bench-skeleton.c (main): Preheat CPU.
21997 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21999 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22001 2013-05-07 Roland McGrath <roland@hack.frob.com>
22003 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22004 and _dl_skip_args_internal.
22006 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22008 * manual/message.texi (Message Translation): Talk about users.
22009 Message to key mapping impacts design.
22011 2013-05-06 Roland McGrath <roland@hack.frob.com>
22013 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22015 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22017 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22018 * sysdeps/wordsize-64/glob64.c: ... here.
22020 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22021 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22024 * debug/getlogin_r_chk.c: Moved to ...
22025 * login/getlogin_r_chk.c: ... here.
22026 * debug/Makefile (routines): Move getlogin_r_chk to ...
22027 * login/Makefile (routines): ... here.
22028 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22029 * login/Versions (libc: GLIBC_2.4): ... here.
22031 * io/poll.c (__poll): Renamed from poll.
22032 Add libc_hidden_def.
22033 (poll): Define as weak alias.
22035 * debug/ptsname_r_chk.c: Moved to ...
22036 * login/ptsname_r_chk.c: ... here.
22037 * debug/Makefile (routines): Move ptsname_r_chk to ...
22038 * login/Makefile (routines): ... here.
22039 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22040 * login/Versions (libc: GLIBC_2.4): ... here.
22042 * posix/getlogin.c: Moved to ...
22043 * login/getlogin.c: ... here.
22044 * posix/getlogin_r.c: Moved to ...
22045 * login/getlogin_r.c: ... here.
22046 * posix/getlogin_r.c: Moved to ...
22047 * login/getlogin_r.c: ... here.
22048 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22049 * login/Makefile (routines): ... here.
22050 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22051 * login/Versions (libc: GLIBC_2.0): ... here.
22053 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22054 (setrlimit): Define as weak alias.
22056 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22057 Call __ names for open, ftruncate, and close.
22058 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22059 (truncate): Define as weak alias.
22061 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22063 * math/gen-libm-test.pl (parse_args): Initialize x before each
22064 test of frexp, modf and remquo.
22066 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22067 test signgam value.
22069 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22073 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22075 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22077 2013-05-06 Roland McGrath <roland@hack.frob.com>
22079 * elf/dl-writev.h: New file.
22080 * elf/dl-misc.c: Include it.
22081 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22082 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22084 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22086 * math/libm-test.inc (noXFails): Remove variable.
22087 (noXPasses): Likewise.
22088 (BUILD_COMPLEX_INT): Remove macro.
22089 (print_screen): Remove xfail argument.
22090 (print_screen_max_error): Likewise.
22091 (update_stats): Likewise.
22092 (print_max_error): Likewise. Update calls to other affected
22094 (print_complex_max_error): Likewise.
22095 (test_single_exception): Update calls to print_screen.
22096 (test_single_errno): Likewise.
22097 (check_float_internal): Remove xfail argument. Update calls to
22098 other affected functions.
22099 (check_float): Likewise.
22100 (check_complex): Likewise.
22101 (check_int): Likewise.
22102 (check_long): Likewise.
22103 (check_bool): Likewise.
22104 (check_longlong): Likewise.
22105 (main): Don't print noXFails and noXPasses.
22106 * math/gen-libm-test.pl (top level): Don't mention expected
22107 failure handling in comment.
22108 (new_test): Don't handle expected failures.
22109 (parse_args): Don't mention expected failure handling in comment.
22110 (generate_testfile): Don't handle expected failures.
22111 (parse_ulps): Likewise.
22112 (print_ulps_file): Likewise.
22113 (get_failure): Remove function.
22114 (output_test): Don't handle expected failures.
22115 * make/README.libm-test: Don't mention expected failure handling.
22117 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22118 (minus_zero): Likewise.
22119 (plus_infty): Likewise.
22120 (minus_infty): Likewise.
22121 (qnan_value): Likewise.
22122 (max_value): Likewise.
22123 (min_value): Likewise.
22124 (min_subnorm_value): Likewise.
22125 (initialize): Do not initialize those variables dynamically.
22127 2013-05-03 Roland McGrath <roland@hack.frob.com>
22129 * io/open.c (__open_2): Moved to ...
22130 * io/open_2.c: ... this new file.
22131 * io/open64.c (__open64_2): Moved to ...
22132 * io/open64_2.c: ... this new file.
22133 * io/openat.c (__openat_2): Moved to ...
22134 * io/openat_2.c: ... this new file.
22135 * io/openat64.c (__openat64_2): Moved to ...
22136 * io/openat64_2.c: ... this new file.
22137 * io/Makefile (routines): Add them.
22138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22139 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22140 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22141 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22142 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22143 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22144 (__openat64): Add hidden_ver.
22145 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22146 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22148 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22149 Separately conditionalize setting of GLRO(dl_sysinfo) so
22150 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22151 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22153 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22155 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22158 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22159 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22160 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22161 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22162 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22164 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22166 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22167 test signgam value.
22169 * math/libm-test.inc (hypot_test): Do not use
22170 IGNORE_ZERO_INF_SIGN.
22172 2013-05-03 Andreas Jaeger <aj@suse.de>
22174 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22176 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22177 (PF_MAX): Adjust for VSOCK change.
22179 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22183 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22186 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22187 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22188 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22190 2013-05-02 David S. Miller <davem@davemloft.net>
22192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22194 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22196 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22198 2013-05-01 Roland McGrath <roland@hack.frob.com>
22200 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22202 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22205 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22206 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22207 Use __attribute__ ((__gnu_inline__)).
22208 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22209 Don't use __attribute__ ((__gnu_inline__)).
22211 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22214 * math/s_catan.c (__catan): Handle small real or imaginary part of
22215 input specially to avoid spurious underflow.
22216 * math/s_catanf.c (__catanf): Likewise.
22217 * math/s_catanh.c (__catanh): Likewise.
22218 * math/s_catanhf.c (__catanhf): Likewise.
22219 * math/s_catanhl.c (__catanhl): Likewise.
22220 * math/s_catanl.c (__catanl): Likewise.
22221 * math/libm-test.inc (catan_test): Add more tests.
22222 (catanh_test): Likewise.
22223 * sysdeps/i386/fpu/libm-test-ulps: Update.
22224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22226 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22230 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22233 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22234 accurately for denominator in atan2.
22235 * math/s_catanf.c (__catanf): Likewise.
22236 * math/s_catanh.c (__catanh): Likewise.
22237 * math/s_catanhf.c (__catanhf): Likewise.
22238 * math/s_catanhl.c (__catanhl): Likewise.
22239 * math/s_catanl.c (__catanl): Likewise.
22240 * math/libm-test.inc (catan_test): Add more tests.
22241 (catanh_test): Likewise.
22242 * sysdeps/i386/fpu/libm-test-ulps: Update.
22243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22247 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22249 * benchtests/Makefile (bench): Remove slow benchmarks.
22250 * benchtests/atan-inputs: Add slow benchmark inputs.
22251 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22252 (BENCH_FUNC): Accept variant offset.
22254 * benchtests/bench-skeleton.c (main): Run benchmark for each
22256 * benchtests/cos-inputs: Add slow benchmark inputs.
22257 * benchtests/exp-inputs: Likewise.
22258 * benchtests/pow-inputs: Likewise.
22259 * benchtests/sin-inputs: Likewise.
22260 * benchtests/slowatan-inputs: Remove.
22261 * benchtests/slowatan.c: Remove.
22262 * benchtests/slowcos-inputs: Remove.
22263 * benchtests/slowcos.c: Remove.
22264 * benchtests/slowexp-inputs: Remove.
22265 * benchtests/slowexp.c: Remove.
22266 * benchtests/slowpow-inputs: Remove.
22267 * benchtests/slowpow.c: Remove.
22268 * benchtests/slowsin-inputs: Remove.
22269 * benchtests/slowsin.c: Remove.
22270 * benchtests/slowtan-inputs: Remove.
22271 * benchtests/slowtan.c: Remove.
22272 * benchtests/tan-inputs: Add slow benchmark inputs.
22273 * scripts/bench.pl: Parse comments and directives.
22275 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22277 ($(objpfx)bench-%.c): Remove *-ITER.
22278 * benchtests/bench-modf.c: Remove definition of ITER.
22279 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22280 (main): Loop for DURATION seconds instead of fixed number of
22282 * scripts/bench.pl: Don't expect iterations in parameters.
22284 2013-04-29 Roland McGrath <roland@hack.frob.com>
22286 * io/fchdir.c (__fchdir): Renamed from fchdir.
22287 (fchdir): Define as weak alias.
22289 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22291 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22292 (ERRNO_EDOM): Likewise.
22293 (ERRNO_ERANGE): Likewise.
22294 (noErrnoTests): New variable.
22295 (init_max_error): Set errno to 0.
22296 (test_single_errno): New function.
22297 (test_errno): Likewise.
22298 (check_float_internal): Call test_errno. Set errno to 0.
22299 (check_complex): Refer to errno tests in comment.
22300 (check_int): Call test_errno. Set errno to 0.
22301 (check_long): Likewise.
22302 (check_bool): Likewise.
22303 (check_longlong): Likewise.
22304 (cos_test): Use ERRNO_* flags for errno tests instead of
22306 (expm1_test): Likewise.
22307 (fmod_test): Likewise.
22308 (ilogb_test): Likewise.
22309 (lgamma_test): Likewise.
22310 (pow_test): Likewise.
22311 (remainder_test): Likewise.
22312 (sin_test): Likewise.
22313 (tan_test): Likewise.
22314 (yn_test): Likewise.
22315 (initialize): Set errno to 0.
22316 (main): Print number of errno tests.
22317 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22319 2013-04-29 Andreas Jaeger <aj@suse.de>
22322 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22326 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22327 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22331 * stdlib/random.c (__initstate): Return NULL if
22335 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22336 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22339 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22343 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22345 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22346 of individual tests.
22347 (casin_test): Likewise.
22348 (casinh_test): Likewise.
22350 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22353 * math/s_catan.c (__catan): Handle arguments with large real or
22354 imaginary part separately without squaring.
22355 * math/s_catanf.c (__catanf): Likewise.
22356 * math/s_catanh.c (__catanh): Likewise.
22357 * math/s_catanhf.c (__catanhf): Likewise.
22358 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22360 (__catanhl): Handle arguments with large real or imaginary part
22361 separately without squaring.
22362 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22364 (__catanl): Handle arguments with large real or imaginary part
22365 separately without squaring.
22366 * math/libm-test.inc (catan_test): Add more tests.
22367 (catanh_test): Likewise.
22368 * sysdeps/i386/fpu/libm-test-ulps: Update.
22369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22371 2013-04-27 Andreas Jaeger <aj@suse.de>
22374 * stdlib/stdlib.h: Update guards for qecvt.
22375 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22378 2013-04-27 Allan McRae <allan@archlinux.org>
22380 * sysdeps/i386/fpu/libm-test-ulps: Update.
22382 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22385 * math/s_catan.c: Include <float.h>.
22386 (__catan): Ensure underflow exception occurs for underflowed
22388 * math/s_catanf.c: Include <float.h>.
22389 (__catanf): Ensure underflow exception occurs for underflowed
22391 * math/s_catanh.c: Include <float.h>.
22392 (__catanh): Ensure underflow exception occurs for underflowed
22394 * math/s_catanhf.c: Include <float.h>.
22395 (__catanhf): Ensure underflow exception occurs for underflowed
22397 * math/s_catanhl.c: Include <float.h>.
22398 (__catanhl): Ensure underflow exception occurs for underflowed
22400 * math/s_catanl.c: Include <float.h>.
22401 (__catanl): Ensure underflow exception occurs for underflowed
22403 * math/libm-test.inc (catan_test): Add more tests.
22404 (catanh_test): Likewise.
22407 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22408 underflowed result.
22409 * math/s_ccoshf.c (__ccoshf): Likewise.
22410 * math/s_ccoshl.c (__ccoshl): Likewise.
22411 * math/s_csin.c (__csin): Likewise.
22412 * math/s_csinf.c (__csinf): Likewise.
22413 * math/s_csinh.c (__csinh): Likewise.
22414 * math/s_csinhf.c (__csinhf): Likewise.
22415 * math/s_csinhl.c (__csinhl): Likewise.
22416 * math/s_csinl.c (__csinl): Likewise.
22417 * math/libm-test.inc (ccos_test): Add more tests.
22418 (ccosh_test): Likewise.
22419 (csin_test): Likewise.
22420 (csinh_test): Likewise.
22422 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22424 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22425 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22426 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22427 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22428 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22429 powerpc/power5+/fpu folders.
22430 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22433 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22437 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22439 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22440 additions to variable.
22441 [$(config-machine) = x86_64] (modules-names): Likewise.
22442 ($(objpfx)tst-audit3): Remove dependency.
22443 ($(objpfx)tst-audit3.out): Likewise.
22444 ($(objpfx)tst-audit4): Likewise.
22445 ($(objpfx)tst-audit4.out): Likewise.
22446 ($(objpfx)tst-audit5): Likewise.
22447 ($(objpfx)tst-audit5.out): Likewise.
22448 ($(objpfx)tst-audit6): Likewise.
22449 ($(objpfx)tst-audit6.out): Likewise.
22450 ($(objpfx)tst-audit7): Likewise.
22451 ($(objpfx)tst-audit7.out): Likewise.
22452 (tst-audit3-ENV): Remove variable.
22453 (tst-audit4-ENV): Likewise.
22454 (tst-audit5-ENV): Likewise.
22455 (tst-audit6-ENV): Likewise.
22456 (tst-audit7-ENV): Likewise.
22457 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22458 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22459 addition to variable.
22460 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22462 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22465 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22466 tst-audit3, tst-audit4 and tst-audit5.
22467 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22468 tst-audit6 and tst-audit7.
22469 [$(subdir) = elf] (modules-names): Add audit modules for those
22471 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22472 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22473 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22474 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22475 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22476 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22477 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22478 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22479 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22480 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22481 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22482 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22483 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22484 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22485 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22486 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22488 [$(subdir) = elf && $(config-cflags-avx) = yes]
22489 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22490 [$(subdir) = elf && $(config-cflags-avx) = yes]
22491 (CFLAGS-tst-auditmod4a.c): Likewise.
22492 [$(subdir) = elf && $(config-cflags-avx) = yes]
22493 (CFLAGS-tst-auditmod4b.c): Likewise.
22494 [$(subdir) = elf && $(config-cflags-avx) = yes]
22495 (CFLAGS-tst-auditmod6b.c): Likewise.
22496 [$(subdir) = elf && $(config-cflags-avx) = yes]
22497 (CFLAGS-tst-auditmod6c.c): Likewise.
22498 [$(subdir) = elf && $(config-cflags-avx) = yes]
22499 (CFLAGS-tst-auditmod7b.c): Likewise.
22500 * elf/tst-audit3.c: Move to ...
22501 * sysdeps/x86_64/tst-audit3.c: ... here.
22502 * elf/tst-audit4.c: Move to ...
22503 * sysdeps/x86_64/tst-audit4.c: ... here.
22504 * elf/tst-audit5.c: Move to ...
22505 * sysdeps/x86_64/tst-audit5.c: ... here.
22506 * elf/tst-audit6.c: Move to ...
22507 * sysdeps/x86_64/tst-audit6.c: ... here.
22508 * elf/tst-audit7.c: Move to ...
22509 * sysdeps/x86_64/tst-audit7.c: ... here.
22510 * elf/tst-auditmod3a.c: Move to ...
22511 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22512 * elf/tst-auditmod3b.c: Move to ...
22513 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22514 * elf/tst-auditmod4a.c: Move to ...
22515 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22516 * elf/tst-auditmod4b.c: Move to ...
22517 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22518 * elf/tst-auditmod5a.c: Move to ...
22519 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22520 * elf/tst-auditmod5b.c: Move to ...
22521 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22522 * elf/tst-auditmod6a.c: Move to ...
22523 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22524 * elf/tst-auditmod6b.c: Move to ...
22525 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22526 * elf/tst-auditmod6c.c: Move to ...
22527 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22528 * elf/tst-auditmod7a.c: Move to ...
22529 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22530 * elf/tst-auditmod7b.c: Move to ...
22531 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22533 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22536 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22537 define unconditionally.
22538 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22539 define unconditionally.
22540 (INT8_C, INT16_C, etc.): Likewise.
22542 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22544 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22545 __ehdr_start with hidden visibility.
22547 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22549 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22551 * math/libm-test.inc (cos_test): Use accurate hex constants.
22552 (sincost_test): Likewise.
22554 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22556 * math/libm-test.inc (catan_test): Add more tests.
22557 (catanh_test): Likewise.
22559 * math/s_catanf.c (__catanf): Use suffixed floating-point
22561 * math/s_catanhf.c (__catanhf): Likewise.
22562 * math/s_catanhl.c (__catanhl): Likewise.
22563 * math/s_catanl.c (__catanl): Likewise.
22566 * math/s_catan.c (__catan): Calculate imaginary part of result
22567 with log1p not log unless computing log of number close to 0.
22568 * math/s_catanf.c (__catanf): Likewise.
22569 * math/s_catanl.c (__catanl): Likewise.
22570 * math/s_catanh.c (__catanh): Calculate real part of result with
22571 log1p not log unless computing log of number close to 0.
22572 * math/s_catanhf.c (__catanhf): Likewise.
22573 * math/s_catanhl.c (__catanhl): Likewise.
22574 * math/libm-test.inc (catan_test): Add more tests.
22575 (catanh_test): Likewise.
22576 * sysdeps/i386/fpu/libm-test-ulps: Update.
22577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22579 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22581 * benchtests/Makefile: Mention files in which fast and slow
22582 paths of math functions are implemented.
22584 2013-04-23 Roland McGrath <roland@hack.frob.com>
22586 * sysdeps/posix/timespec_get.c: New file.
22588 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22590 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22592 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22594 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22595 powerpc/power5/fpu folders.
22596 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22597 * benchtests/Makefile: Add modf testcase.
22598 * benchtests/bench-modf.c: New file: Benchmark test for mo
22600 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22603 * time/Makefile (tests): Add tst-strptime-whitespace.
22604 * time/strptime_l.c (get_number): Use ISSPACE.
22605 (__strptime_internal): Likewise.
22606 * time/tst-strptime-whitespace.c: New test case.
22608 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22610 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22612 (_nss_files_init): Set it here.
22614 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22616 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22617 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22620 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22622 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22624 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22626 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22629 2013-04-21 David S. Miller <davem@davemloft.net>
22631 * po/ru.po: Update Russion translation from translation project.
22633 2013-04-17 Adam Conrad <adconrad@0c3.net>
22635 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22638 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22640 * configure.in: Remove i386 configure warning. Remove i386 case.
22641 * configure: Regenerate.
22642 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22643 Add example to error message.
22644 * sysdeps/i386/configure: Regenerate.
22646 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22648 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22650 * benchtests/cos-inputs: New file.
22651 * benchtests/slowcos-inputs: New file.
22652 * benchtests/slowcos.c: New file.
22653 * benchtests/slowtan-inputs: New file.
22654 * benchtests/slowtan.c: New file.
22655 * benchtests/tan-inputs: New file.
22657 2013-04-16 Roland McGrath <roland@hack.frob.com>
22659 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22662 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22664 * benchtests/Makefile: Include cppflags-iterator.mk to add
22665 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22667 * Makefile.in (bench-clean): New target.
22668 * benchtests/Makefile (bench-clean): Likewise.
22670 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22672 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22674 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22676 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22678 2013-04-15 Andreas Schwab <schwab@suse.de>
22680 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22682 * nscd/pwdcache.c (cache_addpw): Likewise.
22683 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22686 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22688 * benchtests/Makefile (bench): Write all output to
22689 bench-out.tmp together.
22691 2013-04-15 Andreas Schwab <schwab@suse.de>
22693 * nscd/nscd.c (main): Don't fork again after closing files.
22695 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22697 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22699 * benchtests/Rules (bench-deps): Collect dependencies into a
22700 single variable. Add Makefile to dependencies.
22701 ($(objpfx)bench-%.c): Depend on bench-deps.
22703 2013-04-12 Roland McGrath <roland@hack.frob.com>
22704 Xavier Roche <roche+kml2@exalead.com>
22707 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22708 just that it's a file descriptor.
22709 * manual/llio.texi (Synchronizing AIO Operations): Update description
22710 for EBADF error from aio_fsync.
22712 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22714 * Rules (bench): Move target definition...
22715 * benchtests/Makefile: ... here.
22717 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22719 * math/libm-test.inc (cos_test): Fix PI/2 test.
22720 (sincos_test): Likewise.
22721 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22722 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22724 2013-04-11 Andreas Schwab <schwab@suse.de>
22727 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22728 accept exponent character only when digits were seen.
22729 * stdio-common/Makefile (tests): Add bug26.
22730 * stdio-common/bug26.c: New file.
22733 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22736 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22738 * Makeconfig (rtld-prefix): Define built linker prefix.
22739 * Rules (run-bench): Use it.
22740 * math/Makefile (run-regen-ulps): Likewise.
22742 * Rules (bench): Remove eval.
22744 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22745 Roland McGrath <roland@hack.frob.com>
22746 Ondrej Bilka <neleai@seznam.cz>
22749 * time/getdate.c: Include ctype.h and alloca.h.
22750 (__getdate_r): Trim leading and trailing spaces of input.
22751 * time/tst-getdate.c (tests): Add tests with leading and
22754 2013-04-08 Roland McGrath <roland@hack.frob.com>
22757 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22758 when computing value.
22760 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22762 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22763 Use testrun.sh to run libm tests.
22766 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22768 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22771 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22773 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22775 * Makefile.in (regen-ulps): New target.
22776 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22777 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22778 [ifneq (no,$(PERL)] (regen-ulps): New target.
22779 [ifeq (no,$(PERL)] (regen-ulps): New target.
22780 * math/libm-test.inc (ulps_file_name): Define.
22781 (output_dir): New variable.
22782 (options): Add "output-dir" option.
22783 (parse_opt): Handle 'o' case.
22784 (main): If output_dir is non-NULL use it as a prefix
22786 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22790 [BZ #10060, #10062]
22791 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22792 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22793 fail configure if __sync_val_compare_and_swap is not inlined.
22794 * sysdeps/i386/configure: Regenerate.
22795 * configure.in: Build for i686 when configured for i386.
22796 * configure: Regenerate.
22797 * README: Remove i386 reference.
22799 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22801 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22804 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22806 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22807 (lmsnanval): New variables.
22808 (F): Add conversion tests.
22809 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22810 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22812 * stdio-common/tstdiomisc.c (F): Properly collect individual
22815 [BZ #14686, #15336]
22816 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22817 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22818 Instead, use input NaN values or generate a qNaN by arithmetic
22819 operation. Also fix bugs to comply with the standard.
22820 * math/libm-test.inc (remainder_test): Add more tests.
22822 [BZ #15335, #15342]
22823 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22825 input NaN values or generate a qNaN by arithmetic operation.
22827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22830 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22833 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22836 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22837 underflowed result.
22838 * math/s_cexpf.c (__cexpf): Likewise.
22839 * math/s_cexpl.c (__cexpl): Likewise.
22840 * math/libm-test.inc (cexp_test): Add more tests.
22842 2013-04-03 Andreas Schwab <schwab@suse.de>
22845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22846 order arrays from heap if bigger than alloca cutoff.
22848 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22850 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22851 (SNAN_TESTS_double): Refer to GCC PR56831.
22852 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22855 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22857 * Rules (bench): Move bench.out after the run is complete.
22859 * Rules (bench): Echo currently running benchmark.
22861 * benchtests/Makefile (bench): Add atan and slowatan.
22862 * benchtests/atan-inputs: New file.
22863 * benchtests/slowatan-inputs: New file.
22864 * benchtests/slowatan.c: New file.
22866 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22871 * sysdeps/unix/sysv/linux/kernel-features.h
22872 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22873 __ASSUME_XFS_RESTRICTED_CHOWN.
22874 * sysdeps/unix/sysv/linux/pathconf.c
22875 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22876 Save and restore errno.
22878 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22881 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22882 arguments using __kernel_casinh.
22883 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22884 arguments using __kernel_casinhf.
22885 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22886 arguments using __kernel_casinhl.
22887 * math/libm-test.inc (cacosh_test): Add more tests.
22888 * sysdeps/i386/fpu/libm-test-ulps: Update.
22889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22891 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22893 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22896 * bench/Makefile (bench): Add sin and slowsin.
22897 * benchtests/sin-inputs: New file.
22898 * benchtests/slowsin-inputs: New file.
22899 * benchtests/slowsin.c: New file.
22901 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22902 (bench): Add slowexp and slowpow.
22903 (exp-ITER): Increase iterations.
22904 (pow-ITER): Likewise.
22905 * benchtests/exp-inputs: Change input.
22906 * benchtests/pow-inputs: Likewise.
22907 * benchtests/slowexp-inputs: New file.
22908 * benchtests/slowexp.c: New file.
22909 * benchtests/slowpow-inputs: New file.
22910 * benchtests/slowpow.c: New file.
22912 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22914 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22916 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22919 * benchtests/Makefile: Add rint benchtest.
22920 * benchtests/rint-inputs: Input for rint benchtest.
22922 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22924 * Versions.def (libm): Add GLIBC_2.18.
22925 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22926 hidden libm prototypes.
22927 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22928 * math/Makefile (libm-calls): Add s_issignaling.
22929 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22930 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22931 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22933 * math/math.h [__USE_GNU] (issignaling): New macro.
22934 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22935 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22936 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22940 * manual/arith.texi (issignaling): New section.
22941 * manual/libm-err-tab.pl (@all_functions): Update comment.
22942 * math/gen-libm-test.pl (parse_args): Apply special handling for
22944 * math/libm-test.inc (print_float, issignaling_test): New
22946 (check_float_internal): Add issignaling checks.
22947 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22948 default definition.
22949 * sysdeps/powerpc/math-tests.h: New file.
22950 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22952 * math/test-snan.c (TEST_FUNC): Likewise.
22954 2013-03-30 David S. Miller <davem@davemloft.net>
22956 * po/de.po: Update from translation team.
22958 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22961 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22962 imaginary part less than 1.0 and real part less than 0.5
22964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22966 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22967 (cacos_test): Add more tests.
22968 (casin_test): Likewise.
22969 (casinh_test): Likewise.
22970 * sysdeps/i386/fpu/libm-test-ulps: Update.
22971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22973 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22975 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22976 ONE with its value.
22978 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22979 (__pow_mp): Replace ONE and MONE with their values.
22980 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22983 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22984 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22987 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22989 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22990 (__pow_mp): Replace ZERO and MZERO with their values.
22991 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22993 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22995 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22996 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22999 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23001 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23003 2013-03-28 Roland McGrath <roland@hack.frob.com>
23005 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23006 Declare with __attribute__ ((weak)).
23007 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23008 Call __call_tls_dtors only if it's not NULL.
23010 2013-03-28 Roland McGrath <roland@hack.frob.com>
23012 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23013 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23014 magic __ehdr_start linker symbol if it's defined.
23015 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23016 them up here if it was already done.
23018 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23019 (_dl_aux_init): Use const in cast when setting it.
23020 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23021 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23022 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23024 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23026 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23027 * csu/libc-tls.c: Nor here.
23028 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23030 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23031 (__libc_message): Never call vsyslog.
23033 2013-03-28 Alan Modra <amodra@gmail.com>
23035 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23037 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23040 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23047 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23050 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23051 Don't add gid passed as argument.
23053 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23055 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23058 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23059 imaginary part between 1.0 and 1.5 and real part less than 0.5
23061 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23062 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23063 * math/libm-test.inc (cacos_test): Add more tests.
23064 (casin_test): Likewise.
23065 (casinh_test): Likewise.
23066 * sysdeps/i386/fpu/libm-test-ulps: Update.
23067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23071 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23074 (denorm): Likewise.
23075 (__dbl_mp): Likewise.
23076 (add_magnitudes): Likewise.
23077 (sub_magnitudes): Likewise.
23085 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23087 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23088 (__dubcos): Likewise.
23089 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23090 (__ieee754_acos): Likewise.
23091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23092 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23093 (__exp1): Likewise.
23094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23097 (my_log2): Likewise.
23098 (checkint): Likewise.
23099 * sysdeps/ieee754/dbl-64/e_remainder.c
23100 (__ieee754_remainder): Likewise.
23101 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23103 (bsloww): Likewise.
23104 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23106 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23107 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23108 MANTISSA_STORE_T to store computations on mantissa. Use
23109 macros for rounding and division.
23110 (denorm): Likewise.
23111 (__dbl_mp): Likewise.
23112 (add_magnitudes): Likewise.
23113 (sub_magnitudes): Likewise.
23116 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23117 powers of two in terms of TWOPOW macro.
23118 (mp_no): Make type of mantissa as MANTISSA_T.
23119 [!RADIXI]: Define RADIXI.
23120 [!TWO52]: Define TWO52.
23121 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23123 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23125 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23126 llroundl symbol when building for PPC32.
23128 2013-03-24 Mark H Weaver <mhw@netris.org>
23130 * manual/arith.texi (Normalization Functions): Fix prototypes for
23131 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23133 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23137 high value to check if expl overflow.
23138 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23139 to check for underflow and overflow.
23140 * math/libm-test.inc: Add exp test.
23142 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23145 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23148 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23150 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23153 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23155 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23156 wrap blocks consisting of several statements.
23158 * sysdeps/generic/math-tests.h: New file.
23159 * sysdeps/i386/fpu/math-tests.h: Likewise.
23160 * math/test-snan.c: Include it.
23161 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23163 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23166 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23167 (__ieee754_j0l): Do not improve calculations using cos of twice
23168 input for inputs above LDBL_MAX / 2.0L.
23169 (__ieee754_y0l): Likewise.
23170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23171 (__ieee754_j1l): Do not improve calculations using cos of twice
23172 input for inputs above LDBL_MAX / 2.0L.
23173 (__ieee754_y1l): Likewise.
23174 * math/libm-test.inc (j0_test): Add another test.
23175 (j1_test): Likewise.
23176 (y0_test): Likewise.
23177 (y1_test): Likewise.
23178 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23182 * Rules ($(objpfx)bench-%.c): Include code from a C source
23185 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23188 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23189 imaginary part 1.0 and real part less than 0.5 specially.
23190 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23191 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23192 * math/libm-test.inc (cacos_test): Add more tests.
23193 (casin_test): Likewise.
23194 (casinh_test): Likewise.
23195 * sysdeps/i386/fpu/libm-test-ulps: Update.
23196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23198 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23201 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23203 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23205 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23206 * config.make.in (config-cflags-sse4): Remove variable.
23207 (config-cflags-avx): Likewise.
23208 (config-cflags-sse2avx): Likewise.
23209 (config-cflags-novzeroupper): Likewise.
23210 (config-asflags-i686): Likewise.
23211 (have-mfma4): Likewise.
23212 (have-as-vis3): Likewise.
23214 * configure.in (MIG): Do not AC_SUBST.
23215 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23216 (libc_cv_cc_sse4): Do not AC_SUBST.
23217 (libc_cv_cc_avx): Likewise.
23218 (libc_cv_cc_sse2avx): Likewise.
23219 (libc_cv_cc_novzeroupper): Likewise.
23220 (libc_cv_cc_fma4): Likewise.
23221 (libc_cv_as_i686): Likewise.
23222 (libc_cv_sparc_as_vis3): Likewise.
23223 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23225 (config-asflags-i686): Likewise.
23226 (config-cflags-avx): Likewise.
23227 (config-cflags-sse2avx): Likewise.
23228 (have-mfma4): Likewise.
23229 (config-cflags-novzeroupper): Likewise.
23230 * sysdeps/mach/configure.in (MIG): Likewise.
23231 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23232 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23234 (config-cflags-avx): Likewise.
23235 (config-cflags-sse2avx): Likewise.
23236 (have-mfma4): Likewise.
23237 (config-cflags-novzeroupper): Likewise.
23238 * configure: Regenerated.
23239 * sysdeps/i386/configure: Likewise.
23240 * sysdeps/mach/configure: Likewise.
23241 * sysdeps/sparc/configure: Likewise.
23242 * sysdeps/x86_64/configure: Likewise.
23244 2013-03-20 Roland McGrath <roland@hack.frob.com>
23247 * locale/programs/localedef.c (options): Put N_ translation marker
23248 on argument names, not just descriptions.
23250 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23252 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23254 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23257 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23259 2013-03-19 Roland McGrath <roland@hack.frob.com>
23261 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23262 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23263 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23264 [!BEFORE_ABORT] (before_abort): New function.
23265 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23266 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23267 (writev_for_fatal): New function.
23268 (WRITEV_FOR_FATAL): New macro; call that.
23269 (backtrace_and_maps): New function.
23270 (BEFORE_ABORT): New macro; call that.
23271 (struct str_list): Type removed.
23272 (__libc_message, __libc_fatal): Functions removed.
23273 Include <sysdeps/posix/libc_fatal.c> instead.
23275 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23277 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23279 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23282 2013-03-19 Andreas Schwab <schwab@suse.de>
23284 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23285 * sysdeps/gnu/configure: Regenerate.
23287 * configure.in: Substitute libc_cv_rtlddir.
23288 * configure: Regenerate.
23289 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23290 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23291 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23292 * elf/Makefile (install-others, CFLAGS-interp.c)
23293 (ldso_install, common-ldd-rewrite): Likewise.
23294 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23295 $(inst_slibdir)/$(rtld-installed-name).
23296 * scripts/rellns-sh: Add -p option.
23297 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23300 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23302 * manual/nptl.texi: Renamed to ...
23303 * manual/threads.texi: ... this.
23304 * manual/Makefile (chapters): Update.
23306 2013-03-18 Roland McGrath <roland@hack.frob.com>
23309 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23310 on argument names, not just descriptions.
23311 * malloc/memusagestat.c (options): Likewise.
23312 * nss/getent.c (options): Likewise.
23314 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23317 * iconv/iconv_prog.c (options): Put N_ translation marker
23318 on argument names, not just descriptions.
23319 * iconv/iconvconfig.c (options): Likewise.
23321 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23323 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23324 implementation which is faster on all x86_64 architectures.
23325 Tested on AMD, Intel Nehalem, SNB, IVB.
23326 * sysdeps/x86_64/strnlen.S: Likewise.
23328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23329 Remove all multiarch strlen and strnlen versions.
23330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23331 Remove strlen and strnlen related parts.
23333 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23334 Inline strlen part.
23335 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23337 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23338 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23339 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23340 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23341 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23342 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23344 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23346 * manual/memory.texi (Malloc Tunable Parameters):
23347 Sort parameters alphabetically. Add comments for missing entries.
23349 2013-03-17 David S. Miller <davem@davemloft.net>
23351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23353 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23356 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23357 for arguments at most half maximum finite value.
23358 * math/libm-test.inc (j0_test): Add more tests.
23359 (j1_test): Likewise.
23360 (y0_test): Likewise.
23361 (y1_test): Likewise.
23362 * sysdeps/i386/fpu/libm-test-ulps: Update.
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23366 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23367 1 / x and functions P and Q for arguments above 0x1p256L.
23368 (__ieee754_y0l): Likewise.
23369 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23370 (__ieee754_y1l): Likewise.
23371 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23372 (j1_test): Likewise.
23373 (y0_test): Likewise.
23374 (y1_test): Likewise.
23376 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23378 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23381 2013-03-15 Roland McGrath <roland@hack.frob.com>
23383 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23384 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23385 zero since it's initialized to EXEC_PAGESIZE.
23387 * sysdeps/unix/sysv/linux/ldsodefs.h
23388 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23389 * sysdeps/generic/ldsodefs.h: ... here.
23391 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23393 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23395 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23397 * math/test-snan.c: Renamed from
23398 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23399 * math/Makefile (tests): Add test-snan.
23400 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23403 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23404 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23406 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23407 __builtin_nan family of functions.
23408 * math/libm-test.inc (initialize): Initialize qnan_value with
23409 __builtin_nan family of functions.
23410 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23412 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23414 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23415 storage class. Initialize qNaN_var and sNaN_var with
23416 __builtin_nan and __builtin_nans families of functions,
23419 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23420 (sqrt_test): Remove duplicate test with qNaN input.
23421 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23422 (round_test, signbit_test, significand_test): Note missing +/-Inf
23423 as well as qNaN tests.
23425 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23426 qNaN_var. Fix a few strings, too.
23427 * math/libm-test.inc (nan_value): Rename to qnan_value.
23428 * math/gen-libm-test.pl (%beautify): Adjust to that.
23429 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23430 * math/test-misc.c (main): Likewise.
23431 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23432 to __qnan_bytes, and __qnan_union, respectively.
23433 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23435 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23436 and lqnanval, respectively.
23437 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23438 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23439 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23440 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23442 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23443 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23446 * math/test-misc.c (main): Fix copy'n'pastos.
23447 * misc/tst-efgcvt.c (special): Likewise.
23449 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23450 Remove declarations.
23452 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23454 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23455 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23456 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23457 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23459 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23462 macro to return vdso values correctly in IFUNC implementations.
23463 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23464 Optimization by using IFUNC.
23466 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23467 Richard Henderson <rth@redhat.com>
23468 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23470 * Makefile.in (bench): New target.
23471 * NEWS: Mention the benchmark framework.
23472 * Rules (bench): Likewise.
23473 (binaries-bench): Generate binaries for functions to
23475 * benchtests/Makefile: New makefile for benchmark tests.
23476 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23478 * benchtests/exp-inputs: New input file for EXP function.
23479 * benchtests/pow-inputs: New input file for POW function.
23480 * scripts/bench.pl: New script to generate source files for
23481 benchmark programs.
23483 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23485 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23487 computations on mantissa. Use macros for rounding and
23489 (denorm): Likewise.
23490 (__dbl_mp): Likewise.
23491 (add_magnitudes): Likewise.
23492 (sub_magnitudes): Likewise.
23495 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23496 powers of two in terms of TWOPOW macro.
23497 (mp_no): Make type of mantissa as MANTISSA_T.
23498 [!RADIXI]: Define RADIXI.
23499 [!TWO52]: Define TWO52.
23500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23502 * manual/nptl.texi (cindex): Modify threads to pthreads.
23504 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23506 * sysdeps/x86_64/preconfigure: Regenerated.
23508 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23511 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23513 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23514 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23516 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23517 * math/libm-test.inc (j0_test): Do not allow one spurious
23518 underflow exception.
23519 (y1_test): Likewise.
23521 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23523 * manual/Makefile (chapters): Add nptl.
23524 * manual/debug.texi (Debugging Support): Add link to Threads
23526 * manual/nptl.texi: New file.
23528 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23530 2013-03-14 Petr Baudis <pasky@ucw.cz>
23532 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23533 for non-NULL pointer before the memory validity test. Pointed
23534 out by Holger Brunck <holger.brunck@keymile.com>.
23536 2013-03-13 Andreas Schwab <schwab@suse.de>
23538 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23541 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23543 * timezone/zic.c: Update from tzcode 2013b.
23545 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23547 * manual/install.texi (Configuring and compiling):
23548 Mention i686 and i586.
23549 * INSTALL: Regenerate.
23551 2013-03-12 Roland McGrath <roland@hack.frob.com>
23553 * sysdeps/init_array/elf-init.c: New file.
23555 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23556 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23558 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23559 __gmon_start__ as global, but as static with a .preinit_array pointer.
23560 * sysdeps/init_array/gmon-start.c: New file. Use that.
23561 * sysdeps/init_array/crti.S: New file, empty except for comments.
23562 * sysdeps/init_array/crtn.S: Likewise.
23564 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23566 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23569 Remove Prefer_SSE_for_memop.
23570 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23571 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23572 HAS_PREFER_SSE_FOR_MEMOP.
23573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23576 Remove bzero, memset ifunc support.
23577 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23578 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23579 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23580 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23582 2013-03-11 Andreas Schwab <schwab@suse.de>
23585 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23588 (GLIBC_2.16): Remove pthread_atfork.
23590 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23592 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23593 (ptestcases.h): Likewise.
23595 2013-03-08 Roland McGrath <roland@hack.frob.com>
23597 * Makeconfig ($(common-objpfx)config.status): Depend on
23598 sysdeps/*/preconfigure{,.in} too.
23600 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23602 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23603 (__free_hook): Use void * instead of __malloc_ptr_t.
23604 (__malloc_hook): Likewise.
23605 (__realloc_hook): Likewise.
23606 (__memalign_hook): Likewise.
23607 (__after_morecore_hook): Likewise.
23608 * malloc/arena.c (save_malloc_hook): Likewise.
23609 (save_free_hook): Likewise.
23610 * malloc/hooks.c (malloc_hook_ini): Likewise.
23611 (realloc_hook_ini): Likewise.
23612 (memalign_hook_ini): Likewise.
23613 * malloc/malloc.c (malloc_hook_ini): Likewise.
23614 (realloc_hook_ini): Likewise.
23615 (memalign_hook_ini): Likewise.
23616 (__free_hook): Likewise.
23617 (__malloc_hook): Likewise.
23618 (__realloc_hook): Likewise.
23619 (__memalign_hook): Likewise.
23620 (__libc_malloc): Likewise.
23621 (__libc_free): Likewise.
23622 (__libc_realloc): Likewise.
23623 (__libc_memalign): Likewise.
23624 (__libc_valloc): Likewise.
23625 (__libc_pvalloc): Likewise.
23626 (__libc_calloc): Likewise.
23627 (__posix_memalign): Likewise.
23628 * malloc/morecore.c (__sbrk): Likewise.
23629 (__default_morecore): Likewise.
23631 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23633 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23634 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23635 __malloc_ptrdiff_t.
23637 * malloc/malloc.h (__malloc_size_t): Remove macro.
23638 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23640 (old_memalign_hook): Likewise.
23641 (old_realloc_hook): Likewise.
23642 (struct hdr): Likewise.
23644 (mallochook): Likewise.
23645 (memalignhook): Likewise.
23646 (reallochook): Likewise.
23647 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23648 (tr_old_realloc_hook): Likewise.
23649 (tr_old_memalign_hook): Likewise.
23650 (tr_mallochook): Likewise.
23651 (tr_reallochook): Likewise.
23652 (tr_memalignhook): Likewise.
23654 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23657 default_ldbl_pack and using as default implementation.
23658 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23660 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23661 redundant definition.
23662 (ldbl_insert_mantissa): Likewise.
23663 (ldbl_canonicalize): Likewise.
23664 (ldbl_nearbyint): Likewise.
23665 (ldbl_pack): Rename to ldbl_pack_ppc.
23666 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23667 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23668 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23670 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23673 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23674 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23675 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23677 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23678 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23679 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23681 2013-03-07 Andreas Jaeger <aj@suse.de>
23683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23686 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23688 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23689 Include mpa.h and declare __MPEXP.
23690 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23691 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23692 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23694 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23695 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23698 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23699 (__slowpow): Use long double EXPL and LOGL functions to
23701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23702 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23704 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23705 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23706 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23709 intermediate variable to calculate exponent.
23711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23715 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23716 [!NO__SQR]: Define __sqr.
23717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23718 and NO__SQR. Remove all code except __mul and __sqr. Include
23719 sysdeps/ieee754/dbl-64/mpa.c.
23720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23723 * posix/Makefile (tests): Add tst-pathconf.
23724 * posix/tst-pathconf.c: New test case.
23725 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23727 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23729 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23731 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23733 2013-03-06 Andreas Jaeger <aj@suse.de>
23735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23736 definition via __MAP_ANONYMOUS.
23738 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23739 it's not part of Linux headers.
23741 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23742 (MAP_HUGE_MASK): Define.
23744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23747 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23750 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23752 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23757 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23758 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23759 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23760 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23761 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23762 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23768 Handle f2fs and efivarfs.
23770 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23773 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23774 (EFIVARFS_MAGIC): Add.
23775 (F2FS_LINK_MAX): Add.
23777 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23779 * stdio-common/vfprintf.c: Replace __builtin_expect with
23782 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23785 * sysdeps/generic/bp-sym.h: Remove file.
23786 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23787 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23788 <bp-sym.h> and <bp-asm.h>.
23789 (__longjmp): Don't use BP_SYM.
23790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23792 (memcpy): Don't use BP_SYM.
23793 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23794 <bp-sym.h> and <bp-asm.h>.
23795 (memcpy): Don't use BP_SYM.
23796 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23798 (memcpy): Don't use BP_SYM.
23799 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23801 (memset): Don't use BP_SYM.
23802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23804 (__bzero): Don't use BP_SYM.
23805 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23806 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23807 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23808 <bp-sym.h> and <bp-asm.h>.
23809 (memcmp): Don't use BP_SYM. Remove comment about bounded
23811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23812 <bp-sym.h> and <bp-asm.h>.
23813 (memcpy): Don't use BP_SYM.
23814 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23815 <bp-sym.h> and <bp-asm.h>.
23816 (memset): Don't use BP_SYM.
23817 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23818 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23819 (__bzero): Don't use BP_SYM.
23820 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23821 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23822 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23823 <bp-sym.h> and <bp-asm.h>.
23824 (strncmp): Don't use BP_SYM. Remove comment about bounded
23826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23827 <bp-sym.h> and <bp-asm.h>.
23828 (memcpy): Don't use BP_SYM.
23829 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23830 <bp-sym.h> and <bp-asm.h>.
23831 (memset): Don't use BP_SYM.
23832 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23834 (__bzero): Don't use BP_SYM.
23835 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23836 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23837 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23838 <bp-sym.h> and <bp-asm.h>.
23839 (__memchr): Don't use BP_SYM.
23840 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23841 <bp-sym.h> and <bp-asm.h>.
23842 (memcmp): Don't use BP_SYM. Remove comment about bounded
23844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23845 <bp-sym.h> and <bp-asm.h>.
23846 (memcpy): Don't use BP_SYM.
23847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23848 <bp-sym.h> and <bp-asm.h>.
23849 (__mempcpy): Don't use BP_SYM.
23850 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23851 <bp-sym.h> and <bp-asm.h>.
23852 (__memrchr): Don't use BP_SYM.
23853 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23854 <bp-sym.h> and <bp-asm.h>.
23855 (memset): Don't use BP_SYM.
23856 (__bzero): Likewise.
23857 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23858 <bp-sym.h> and <bp-asm.h>.
23859 (__rawmemchr): Don't use BP_SYM.
23860 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23861 <bp-sym.h> and <bp-asm.h>.
23862 (__STRCMP): Don't use BP_SYM.
23863 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23864 <bp-sym.h> and <bp-asm.h>.
23865 (strchr): Don't use BP_SYM.
23866 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23867 <bp-sym.h> and <bp-asm.h>.
23868 (__strchrnul): Don't use BP_SYM.
23869 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23870 <bp-sym.h> and <bp-asm.h>.
23871 (strlen): Don't use BP_SYM.
23872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23873 <bp-sym.h> and <bp-asm.h>.
23874 (strncmp): Don't use BP_SYM. Remove comment about bounded
23876 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23877 <bp-sym.h> and <bp-asm.h>.
23878 (__strnlen): Don't use BP_SYM.
23879 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23880 <bp-sym.h> and <bp-asm.h>.
23881 (__GI__setjmp): Don't use BP_SYM.
23882 (_setjmp): Likewise.
23883 (__sigsetjmp): Likewise.
23884 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23885 (L(start_addresses)): Don't use BP_SYM.
23886 (_start): Likewise.
23887 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23889 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23890 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23891 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23892 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23893 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23895 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23896 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23897 about bounded pointers.
23898 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23899 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23900 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23902 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23903 about bounded pointers. Remove GKM FIXME comments.
23904 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23905 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23907 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23908 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23909 Remove GKM FIXME comments.
23910 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23911 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23912 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23914 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23915 about bounded pointers. Remove GKM FIXME comment.
23916 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23918 (strncmp): Don't use BP_SYM. Remove comment about bounded
23920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23921 <bp-sym.h> and <bp-asm.h>.
23922 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23924 <bp-sym.h> and <bp-asm.h>.
23925 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23928 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23930 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23933 2013-03-05 David S. Miller <davem@davemloft.net>
23935 * po/es.po: Update from translation team.
23937 2013-03-05 Andreas Jaeger <aj@suse.de>
23939 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23940 <bits/mman-linux.h>.
23941 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23944 <bits/mman-linux.h> to end of file.
23945 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23947 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23948 <bits/mman-linux.h> to end of file.
23949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23952 <bits/mman-linux.h> to end of file.
23954 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23955 (MCL_CURRENT, MCL_FUTURE): Define here.
23957 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23962 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23964 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23967 fourth parameter needed for rt_sigprocmask syscall.
23968 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23969 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23971 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23972 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23973 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23975 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23978 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23979 comment about bounded pointers.
23980 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23981 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23983 2013-03-04 Andreas Jaeger <aj@suse.de>
23985 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23986 common definitions.
23988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23989 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23995 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23999 __ieee754_sqrl instead of __sqrl.
24001 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24003 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24004 * sysdeps/powerpc/fpu_control.h: ... here.
24005 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24006 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24007 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24008 * sysdeps/powerpc/bits/mathinline.h: ... here.
24010 2013-03-01 Roland McGrath <roland@hack.frob.com>
24012 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24013 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24014 to just [NEED_DL_SYSINFO_DSO].
24015 * elf/dl-support.c: Likewise.
24016 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24017 * elf/rtld.c (dl_main): Likewise.
24018 * elf/setup-vdso.h (setup_vdso): Likewise.
24019 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24020 * sysdeps/unix/sysv/linux/dl-sysdep.c
24021 (_dl_discover_osversion): Likewise.
24023 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24025 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24026 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24028 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24030 * NEWS: Mention libm performance improvements and non-x86 PI
24033 * csu/libc-start.c (__pthread_initialize_minimal): Change
24034 function arguments.
24035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24037 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24040 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24042 <bp-sym.h> and <bp-asm.h>.
24043 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24044 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24046 (memcpy): Don't use BP_SYM.
24047 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24049 (__mpn_add_n): Don't use BP_SYM.
24050 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24051 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24053 (__mpn_addmul_1): Don't use BP_SYM.
24054 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24055 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24057 (_setjmp): Don't use BP_SYM.
24058 (__novmx_setjmp): Likewise.
24059 (__GI__setjmp): Likewise.
24060 (__vmx_setjmp): Likewise.
24061 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24063 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24064 (__bzero): Don't use BP_SYM.
24065 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24066 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24067 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24068 <bp-sym.h> and <bp-asm.h>.
24069 (memcpy): Don't use BP_SYM.
24070 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24071 <bp-sym.h> and <bp-asm.h>.
24072 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24074 <bp-sym.h> and <bp-asm.h>.
24075 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24076 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24078 (__mpn_lshift): Don't use BP_SYM.
24079 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24080 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24082 (memset): Don't use BP_SYM.
24083 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24084 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24085 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24087 (__mpn_mul_1): Don't use BP_SYM.
24088 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24090 <bp-sym.h> and <bp-asm.h>.
24091 (memcmp): Don't use BP_SYM.
24092 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24093 <bp-sym.h> and <bp-asm.h>.
24094 (memcpy): Don't use BP_SYM.
24095 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24096 <bp-sym.h> and <bp-asm.h>.
24097 (memset): Don't use BP_SYM.
24098 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24099 <bp-sym.h> and <bp-asm.h>.
24100 (strncmp): Don't use BP_SYM.
24101 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24102 <bp-sym.h> and <bp-asm.h>.
24103 (memcpy): Don't use BP_SYM.
24104 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24105 <bp-sym.h> and <bp-asm.h>.
24106 (memset): Don't use BP_SYM.
24107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24108 <bp-sym.h> and <bp-asm.h>.
24109 (__memchr): Don't use BP_SYM.
24110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24111 <bp-sym.h> and <bp-asm.h>.
24112 (memcmp): Don't use BP_SYM.
24113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24114 <bp-sym.h> and <bp-asm.h>.
24115 (memcpy): Don't use BP_SYM.
24116 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24117 <bp-sym.h> and <bp-asm.h>.
24118 (__mempcpy): Don't use BP_SYM.
24119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24120 <bp-sym.h> and <bp-asm.h>.
24121 (__memrchr): Don't use BP_SYM.
24122 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24123 <bp-sym.h> and <bp-asm.h>.
24124 (memset): Don't use BP_SYM.
24125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24126 <bp-sym.h> and <bp-asm.h>.
24127 (__rawmemchr): Don't use BP_SYM.
24128 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24129 <bp-sym.h> and <bp-asm.h>.
24130 (__STRCMP): Don't use BP_SYM.
24131 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24132 <bp-sym.h> and <bp-asm.h>.
24133 (strchr): Don't use BP_SYM.
24134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24135 <bp-sym.h> and <bp-asm.h>.
24136 (__strchrnul): Don't use BP_SYM.
24137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24138 <bp-sym.h> and <bp-asm.h>.
24139 (strlen): Don't use BP_SYM.
24140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24141 <bp-sym.h> and <bp-asm.h>.
24142 (strncmp): Don't use BP_SYM.
24143 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24144 <bp-sym.h> and <bp-asm.h>.
24145 (__strnlen): Don't use BP_SYM.
24146 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24148 (__mpn_rshift): Don't use BP_SYM.
24149 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24150 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24151 <bp-sym.h> and <bp-asm.h>.
24152 (__sigsetjmp): Don't use BP_SYM.
24153 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24154 (L(start_addresses)): Don't use BP_SYM.
24155 (_start): Likewise.
24156 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24158 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24159 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24160 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24161 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24163 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24164 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24165 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24166 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24168 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24170 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24171 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24173 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24175 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24176 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24177 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24179 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24181 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24183 (strncmp): Don't use BP_SYM,
24184 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24186 (__mpn_sub_n): Don't use BP_SYM.
24187 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24188 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24190 (__mpn_submul_1): Don't use BP_SYM.
24191 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24193 <bp-sym.h> and <bp-asm.h>.
24194 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24196 <bp-sym.h> and <bp-asm.h>.
24197 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24200 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24203 Use ZK to minimize writes to Z.
24204 (sub_magnitudes): Simplify code a bit.
24205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24206 Use ZK to minimize writes to Z.
24207 (sub_magnitudes): Simplify code a bit.
24209 2013-02-27 Roland McGrath <roland@hack.frob.com>
24211 * csu/gmon-start.c: Add special exception to license text.
24213 2013-02-27 Richard Henderson <rth@redhat.com>
24215 * scripts/config.guess: Update from config.git.
24216 * scripts/config.sub: Likewise.
24218 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24222 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24224 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24226 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24228 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24230 2013-02-26 Roland McGrath <roland@hack.frob.com>
24232 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24233 [$(build-shared = yes].
24235 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24237 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24238 (__mul): Reduce iterations for calculating mantissa.
24240 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24242 (__mpranred): Likewise.
24245 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24246 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24248 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24250 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24251 Define __attribute__.
24253 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24255 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24257 * posix/regex_internal.h (__attribute): Remove.
24258 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24259 (re_string_context_at): Likewise.
24260 (bitset_not): Use __attribute__ and mark function as possibly
24262 (bitset_merge): Likewise.
24263 (bitset_mask): Likewise.
24264 (re_string_char_size_at): Likewise.
24265 (re_string_wchar_at): Likewise.
24266 (re_string_elem_size_at): Likewise.
24268 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24274 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24278 (denorm): Likewise.
24279 (__dbl_mp): Likewise.
24280 (add_magnitudes): Likewise.
24281 (sub_magnitudes): Likewise.
24285 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24288 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24291 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24295 up changes with default code.
24296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24299 2013-02-24 Allan McRae <allan@archlinux.org>
24301 * manual/socket.texi (The Internet Namespace): Order menu items
24302 to match that in the file.
24304 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24305 node listing of the info page menu.
24307 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24310 * sysdeps/i386/bp-asm.h: Remove file.
24311 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24312 (PARMS): Do not use macros from bp-asm.h.
24316 (__mpn_add_n): Do not use BP_SYM
24317 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24319 (PARMS): Do not use macros from bp-asm.h.
24322 (__mpn_addmul_1): Do not use BP_SYM
24323 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24325 (PARMS): Do not use macros from bp-asm.h.
24326 (SIGMSK): Likewise.
24327 (_setjmp): Likewise. Do not use BP_SYM.
24328 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24330 (PARMS): Do not use macros from bp-asm.h.
24331 (SIGMSK): Likewise.
24332 (setjmp): Likewise. Do not use BP_SYM.
24333 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24335 (PARMS): Do not use macros from bp-asm.h.
24336 (__frexp): Do not use BP_SYM.
24338 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24340 (PARMS): Do not use macros from bp-asm.h.
24341 (__frexpf): Do not use BP_SYM.
24342 (frexpf): Likewise.
24343 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24345 (PARMS): Do not use macros from bp-asm.h.
24346 (__frexpl): Do not use BP_SYM.
24347 (frexpl): Likewise.
24348 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24350 (PARMS): Do not use macros from bp-asm.h.
24351 (__remquo): Do not use BP_SYM.
24352 (remquo): Likewise.
24353 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24355 (PARMS): Do not use macros from bp-asm.h.
24356 (__remquof): Do not use BP_SYM.
24357 (remquof): Likewise.
24358 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24360 (PARMS): Do not use macros from bp-asm.h.
24361 (__remquol): Do not use BP_SYM.
24362 (remquol): Likewise.
24363 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24365 (PARMS): Do not use macros from bp-asm.h.
24368 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24369 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24371 (PARMS): Do not use macros from bp-asm.h.
24372 (strlen): Do not use BP_SYM.
24373 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24375 (PARMS): Do not use macros from bp-asm.h.
24379 (__mpn_add_n): Do not use BP_SYM.
24380 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24382 (PARMS): Do not use macros from bp-asm.h.
24385 (__mpn_addmul_1): Do not use BP_SYM.
24386 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24389 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24391 (PARMS): Do not use macros from bp-asm.h.
24394 (__mpn_lshift): Do not use BP_SYM.
24395 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24397 (PARMS): Do not use macros from bp-asm.h.
24401 (memcpy): Likewise. Do not use BP_SYM.
24402 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24403 libc_hidden_def and weak_alias.
24404 (mempcpy): Do not use BP_SYM in weak_alias.
24405 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24407 (PARMS): Do not use macros from bp-asm.h.
24410 [!BZERO_P] (CHR): Likewise.
24411 (memset): Likewise. Do not use BP_SYM.
24412 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24414 (PARMS): Do not use macros from bp-asm.h.
24417 (__mpn_mul_1): Do not use BP_SYM.
24418 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24420 (PARMS): Do not use macros from bp-asm.h.
24423 (__mpn_rshift): Do not use BP_SYM.
24424 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24426 (PARMS): Do not use macros from bp-asm.h.
24429 (strchr): Likewise. Do not use BP_SYM.
24430 (index): Do not use BP_SYM in weak_alias.
24431 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24433 (PARMS): Do not use macros from bp-asm.h.
24436 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24437 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24439 (PARMS): Do not use macros from bp-asm.h.
24440 (strlen): Do not use BP_SYM.
24441 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24443 (PARMS): Do not use macros from bp-asm.h.
24447 (__mpn_sub_n): Do not use BP_SYM.
24448 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24450 (PARMS): Do not use macros from bp-asm.h.
24453 (__mpn_submul_1): Do not use BP_SYM.
24454 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24456 (PARMS): Do not use macros from bp-asm.h.
24460 (__mpn_add_n): Do not use BP_SYM.
24461 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24464 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24466 (PARMS): Do not use macros from bp-asm.h.
24469 (memcmp): Do not use BP_SYM.
24470 (bcmp): Do not use BP_SYM in weak_alias.
24471 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24473 (PARMS): Do not use macros from bp-asm.h.
24477 (memcpy): Likewise. Do not use BP_SYM.
24478 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24480 (PARMS): Do not use macros from bp-asm.h.
24484 (memmove): Likewise. Do not use BP_SYM.
24485 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24487 (PARMS): Do not use macros from bp-asm.h.
24491 (__mempcpy): Likewise. Do not use BP_SYM.
24492 (mempcpy): Do not use BP_SYM in weak_alias.
24493 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24495 (PARMS): Do not use macros from bp-asm.h.
24498 [!BZERO_P] (CHR): Likewise.
24499 (memset): Likewise. Do not use BP_SYM.
24500 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24502 (PARMS): Do not use macros from bp-asm.h.
24504 (strcmp): Do not use BP_SYM.
24505 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24507 (PARMS): Do not use macros from bp-asm.h.
24510 [USE_AS_STRTOK_R] (SAVE): Likewise.
24511 (FUNCTION): Likewise. Do not use BP_SYM.
24512 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24514 (strtok_r): Likewise.
24515 (__GI___strtok_r): Likewise.
24516 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24517 (PARMS): Do not use macros from bp-asm.h.
24520 (__mpn_lshift): Do not use BP_SYM.
24521 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24522 (PARMS): Do not use macros from bp-asm.h.
24525 (__memchr): Do not use BP_SYM.
24526 (memchr): Do not use BP_SYM in weak_alias.
24527 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24528 (PARMS): Do not use macros from bp-asm.h.
24531 (memcmp): Do not use BP_SYM.
24532 (bcmp): Do not use BP_SYM in weak_alias.
24533 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24534 (PARMS): Do not use macros from bp-asm.h.
24537 (__mpn_mul_1): Do not use BP_SYM.
24538 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24540 (PARMS): Do not use macros from bp-asm.h.
24543 (__rawmemchr): Do not use BP_SYM.
24544 (rawmemchr): Do not use BP_SYM in weak_alias.
24545 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24546 (PARMS): Do not use macros from bp-asm.h.
24549 (__mpn_rshift): Do not use BP_SYM.
24550 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24551 (PARMS): Do not use macros from bp-asm.h.
24552 (SIGMSK): Likewise.
24553 (__sigsetjmp): Likewise. Do not use BP_SYM.
24554 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24555 (_start): Do not use BP_SYM.
24556 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24557 (PARMS): Do not use macros from bp-asm.h.
24560 (__stpcpy): Likewise. Do not use BP_SYM.
24561 (stpcpy): Do not use BP_SYM in weak_alias.
24562 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24564 (PARMS): Do not use macros from bp-asm.h.
24568 (__stpncpy): Likewise. Do not use BP_SYM.
24569 (stpncpy): Do not use BP_SYM in weak_alias.
24570 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24571 (PARMS): Do not use macros from bp-asm.h.
24574 (strchr): Likewise. Do not use BP_SYM.
24575 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24577 (PARMS): Do not use macros from bp-asm.h.
24580 (__strchrnul): Likewise. Do not use BP_SYM.
24581 (strchrnul): Do not use BP_SYM in weak_alias.
24582 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24584 (PARMS): Do not use macros from bp-asm.h.
24586 (strcspn): Do not use BP_SYM.
24587 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24589 (PARMS): Do not use macros from bp-asm.h.
24592 (strpbrk): Likewise. Do not use BP_SYM.
24593 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24595 (PARMS): Do not use macros from bp-asm.h.
24598 (strrchr): Likewise. Do not use BP_SYM.
24599 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24600 (PARMS): Do not use macros from bp-asm.h.
24602 (strspn): Do not use BP_SYM.
24603 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24604 (PARMS): Do not use macros from bp-asm.h.
24608 (FUNCTION): Likewise. Do not use BP_SYM.
24609 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24611 (strtok_r): Likewise.
24612 (__GI___strtok_r): Likewise.
24613 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24614 (PARMS): Do not use macros from bp-asm.h.
24618 (__mpn_sub_n): Do not use BP_SYM.
24619 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24621 (PARMS): Do not use macros from bp-asm.h.
24624 (__mpn_submul_1): Do not use BP_SYM.
24625 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24627 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24629 (PARMS): Do not use macros from bp-asm.h.
24634 (__clone): Do not use BP_SYM.
24635 (clone): Do not use BP_SYM in weak_alias.
24636 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24638 (PARMS): Do not use macros from bp-asm.h.
24640 (__mmap64): Do not use BP_SYM.
24641 (mmap64): Do not use BP_SYM in weak_alias.
24642 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24643 <bp-sym.h> and <bp-asm.h>.
24644 (PARMS): Do not use macros from bp-asm.h.
24645 (__posix_fadvise64_l64): Do not use BP_SYM.
24646 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24647 (PARMS): Do not use macros from bp-asm.h.
24649 (semtimedop): Do not use BP_SYM.
24650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24653 2013-02-21 Allan McRae <allan@archlinux.org>
24655 * manual/message.texi (Charset conversion in gettext):
24656 Move @end statement to beginning of line.
24658 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24666 (denorm): Likewise.
24667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24670 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24672 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24673 tail-call to the resolved function if pltexit isn't needed.
24675 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24678 or Y being zero as being unlikely.
24679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24682 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24684 * manual/nss.texi (System Databases and Name Service Switch):
24685 Remove frobnicate @pxref.
24687 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24690 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24692 2013-02-20 Petr Machata <pmachata@redhat.com>
24694 * elf/elf.h (R_ARM_TARGET1): New macro.
24695 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24696 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24697 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24698 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24699 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24700 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24701 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24702 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24703 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24704 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24705 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24706 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24707 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24708 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24709 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24710 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24711 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24712 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24713 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24714 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24715 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24716 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24717 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24718 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24719 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24720 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24721 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24722 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24723 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24724 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24725 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24726 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24727 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24728 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24729 (R_ARM_THM_GOT_BREL12): Likewise.
24730 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24731 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24732 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24733 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24734 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24735 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24736 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24737 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24738 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24740 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24742 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24743 __attribute_used__ to __attribute__ ((unused)).
24745 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24747 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24750 comment formatting.
24751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24753 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24756 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24758 (ENTER): Remove both macro definitions.
24760 (CHECK_BOUNDS_LOW): Likewise.
24761 (CHECK_BOUNDS_HIGH): Likewise.
24762 (CHECK_BOUNDS_BOTH): Likewise.
24763 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24764 (RETURN_BOUNDED_POINTER): Likewise.
24765 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24766 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24767 (POP_ERRNO_LOCATION_RETURN): Likewise.
24768 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24769 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24770 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24773 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24774 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24775 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24776 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24777 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24778 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24779 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24780 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24781 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24782 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24783 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24784 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24785 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24787 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24788 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24790 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24791 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24792 * sysdeps/i386/i586/memset.S (memset): Likewise.
24793 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24794 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24795 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24797 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24798 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24799 Change uses of L(2) to L(out).
24800 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24801 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24802 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24803 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24804 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24806 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24807 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24810 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24811 (RETURN): Do not use macro LEAVE.
24812 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24813 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24814 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24815 * sysdeps/i386/i686/memset.S (memset): Likewise.
24816 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24817 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24819 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24821 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24822 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24823 L(1_2) and L(1_3) into L(1).
24824 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24825 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24827 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24828 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24829 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24830 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24831 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24832 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24834 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24836 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24837 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24838 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24839 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24840 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24841 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24842 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24843 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24844 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24845 * sysdeps/i386/strspn.S (strspn): Likewise.
24846 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24848 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24849 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24850 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24851 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24852 L(1_3) into L(1_1).
24853 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24855 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24859 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24861 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24864 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24866 * math/atest-exp.c (exp_mpn): Remove ROUND.
24867 * math/atest-exp2.c (exp_mpn): Likewise.
24868 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24870 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24871 * stdlib/tst-tls-atexit-lib.c: Likewise.
24872 * stdlib/tst-tls-atexit.c: Likewise.
24874 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24876 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24877 and __attribute_alloc_size__.
24879 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24881 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24882 __attribute_alloc_size__.
24883 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24884 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24886 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24888 * include/programs/xmalloc.h: New file.
24889 * catgets/gencat.c: Include it.
24890 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24891 * elf/pldd.c: Likewise.
24892 * iconv/iconv_charmap.c: Likewise.
24893 * iconv/iconvconfig.c: Likewise.
24894 * iconv/strtab.c: Likewise.
24895 * locale/programs/locale.c: Likewise.
24896 * locale/programs/localedef.h: Likewise.
24897 * locale/programs/simple-hash.c: Likewise.
24898 * nscd/nscd.h: Likewise.
24899 * nss/makedb.c: Likewise.
24900 * sysdeps/generic/ldconfig.h: Likewise.
24902 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24904 * Versions.def: Add GLIBC_2.18.
24905 * include/link.h (struct link_map): New member l_tls_dtor_count.
24906 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24907 (__call_tls_dtors): Likewise.
24908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24909 __cxa_thread_atexit_impl.
24910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24926 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24927 (tests): Add test case tst-tls-atexit.
24928 (modules-names): Add shared library for tst-tls-atexit.
24929 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24930 (GLIBC_PRIVATE): Add __call_tls_dtors.
24931 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24933 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24934 * stdlib/tst-tls-atexit.c: New test case.
24935 * stdlib/tst-tls-atexit-lib.c: New test case.
24937 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24939 * elf/Versions (ld): Add _dl_find_dso_for_object.
24940 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24941 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24942 (dl_open_worker): Use _dl_find_dso_for_object.
24943 * elf/dl-sym.c (do_sym): Likewise.
24944 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24946 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24948 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24949 Syntactic changes only.
24950 (_dl_runtime_profile): Do a tail-call to the resolved function.
24952 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/x86_64/bp-asm.h: Remove file.
24956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24957 <bp-sym.h> and <bp-asm.h>.
24958 (__clone): Do not use BP_SYM.
24959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24960 <bp-sym.h> and <bp-asm.h>.
24961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24962 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24964 (_setjmp): Do not use BP_SYM.
24965 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24967 (setjmp): Do not use BP_SYM.
24968 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24970 (mempcpy): Do not use BP_SYM in weak_alias.
24971 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24973 (strchr): Do not use BP_SYM.
24974 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24976 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24977 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24978 (_start): Do not use BP_SYM.
24979 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24981 (strcat): Do not use BP_SYM.
24982 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24984 (STRCMP): Do not use BP_SYM.
24985 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24987 (STRCPY): Do not use BP_SYM.
24988 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24990 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24992 (FUNCTION): Do not use BP_SYM.
24993 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24995 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24997 2013-02-17 Andreas Jaeger <aj@suse.de>
24999 * time/Versions: Sort entries.
25000 * string/Versions: Likewise.
25001 * resolv/Versions: Likewise.
25002 * posix/Versions: Likewise.
25003 * iconv/Versions: Likewise.
25004 * elf/Versions: Likewise.
25005 * wcsmbs/Versions: Likewise.
25007 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25009 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25010 loop termination condition.
25012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25013 variable to calculate EZ.
25016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25017 the lower precision input.
25019 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25022 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25023 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25024 (run-via-rtld-prefix): Do not handle %-bp tests.
25025 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25026 (all-object-suffixes): Remove .ob.
25027 (bppfx): Remove variable.
25028 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25029 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25030 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25031 [$(build-bounded) = yes] (libtype.ob): Likewise.
25032 * Makerules (elide-routines.ob): Remove variable.
25033 (do-tests-clean): Do not handle *-bp.out.
25034 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25035 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25036 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25037 (tests): Do not include $(tests-bp.out).
25038 (xtests): Do not include $(xtests-bp.out).
25039 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25040 [$(build-bounded) = yes] ($(addprefix
25041 $(objpfx),$(binaries-bounded))): Remove rule.
25042 ($(objpfx)%-bp.out): Remove rule.
25043 * config.make.in (build-bounded): Remove variable.
25044 * crypt/Makefile [$(build-bounded) = yes]
25045 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25046 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25047 append to variable.
25048 [$(build-bounded) = yes] (install-lib): Likewise.
25049 [$(build-bounded) = yes] (generated): Likewise.
25050 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25052 * intl/Makefile [$(build-bounded) = yes]
25053 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25054 * math/Makefile [$(build-bounded) = yes]
25055 ($(tests:%=$(objpfx)%-bp): Likewise.
25056 * misc/Makefile [$(build-bounded) = yes]
25057 ($(objpfx)tst-tsearch-bp): Likewise.
25058 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25059 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25061 * string/Makefile (o-objects.ob): Remove variable.
25062 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25063 (CFLAGS-.ob): Remove variable.
25064 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25066 both definitions of variable.
25067 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25068 (ASFLAGS-.ob): Remove variable.
25070 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25073 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25074 Remove __BOUNDED_POINTERS__ from condition.
25075 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25076 * string/bits/string2.h [!__NO_STRING_INLINES &&
25077 !__BOUNDED_POINTERS__]: Likewise.
25078 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25080 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25081 Remove conditional code.
25082 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25083 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25084 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25088 * csu/libc-start.c: Do not include <bp-sym.h>.
25089 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25090 * elf/dl-open.c: Do not include <bp-sym.h>.
25091 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25092 * math/fegetenv.c: Do not include <bp-sym.h>.
25093 (fegetenv): Do not use BP_SYM in versioned symbols.
25094 * nptl/sysdeps/pthread/bits/libc-lockP.h
25095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25098 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25100 (__pthread_mutex_destroy): Likewise.
25101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25102 (__pthread_mutex_lock): Likewise.
25103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25104 (__pthread_mutex_trylock): Likewise.
25105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25106 (__pthread_mutex_unlock): Likewise.
25107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25108 (__pthread_mutexattr_init): Likewise.
25109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25110 (__pthread_mutexattr_destroy): Likewise.
25111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25112 (__pthread_mutexattr_settype): Likewise.
25113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25114 (__pthread_rwlock_init): Likewise.
25115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25116 (__pthread_rwlock_destroy): Likewise.
25117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25118 (__pthread_rwlock_rdlock): Likewise.
25119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25120 (__pthread_rwlock_tryrdlock): Likewise.
25121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25122 (__pthread_rwlock_wrlock): Likewise.
25123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25124 (__pthread_rwlock_trywrlock): Likewise.
25125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25126 (__pthread_rwlock_unlock): Likewise.
25127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25128 (__pthread_key_create): Likewise.
25129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25130 (__pthread_setspecific): Likewise.
25131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25132 (__pthread_getspecific): Likewise.
25133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25136 (_pthread_cleanup_push_defer): Likewise.
25137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25138 (_pthread_cleanup_pop_restore): Likewise.
25139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25140 (pthread_setcancelstate): Likewise.
25141 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25143 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25144 (memchr): Do not use BP_SYM in weak_alias.
25145 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25146 (fegetenv): Do not use BP_SYM in versioned symbols.
25147 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25148 (fesetenv): Do not use BP_SYM in versioned symbols.
25149 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25150 (feupdateenv): Do not use BP_SYM in versioned symbols.
25151 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25152 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25153 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25154 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25155 (open64): Do not use BP_SYM in weak_alias.
25156 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25157 (fegetenv): Do not use BP_SYM in versioned symbols.
25158 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25159 (fesetenv): Do not use BP_SYM in versioned symbols.
25160 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25161 (feupdateenv): Do not use BP_SYM in versioned symbols.
25162 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25163 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25164 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25165 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25166 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25167 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25168 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25170 (__libc_start_main): Do not use BP_SYM.
25172 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25175 redundant return line.
25177 (denorm): Likewise.
25178 (dbl_mp): Likewise.
25179 (sub_magnitudes): Likewise.
25185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25187 (denorm): Likewise.
25188 (dbl_mp): Likewise.
25189 (sub_magnitudes): Likewise.
25196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25198 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25199 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25202 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25203 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25205 of __mul for squares.
25206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25211 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25213 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25216 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25218 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25219 prototype or function definition. Rename ubp_* variables and
25220 parameters. Remove argv definitions conditional on
25221 [__BOUNDED_POINTERS__].
25222 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25223 * elf/dl-runtime.c (_dl_fixup): Likewise.
25224 * include/set-hooks.h (RUN_HOOK): Likewise.
25225 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25227 * string/strcpy.c (strcpy): Do not use __unbounded.
25228 * sysdeps/generic/frame.h (struct layout): Likewise.
25229 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25230 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25231 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25232 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25233 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25234 (__backtrace): Likewise.
25235 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25237 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25239 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25241 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25242 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25243 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25244 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25245 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25246 Do not use __unbounded.
25247 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25248 Rename __unboundedrlimits parameter to rlimits in prototype.
25249 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25250 Do not use __unbounded.
25251 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25252 not use __ptrvalue.
25253 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25254 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25255 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25256 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25257 __ptrvalue or __unbounded.
25258 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25259 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25261 (__new_msgctl): Do not use __ptrvalue.
25262 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25264 (__libc_msgrcv): Do not use __ptrvalue.
25265 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25266 startup_info): Do not use __unbounded.
25267 (__libc_start_main): Likewise. Rename ubp_* variables and
25268 parameters. Remove argv definitions conditional on
25269 [__BOUNDED_POINTERS__].
25270 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25272 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25276 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25278 (__new_shmctl): Do not use __ptrvalue.
25279 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25280 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25282 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25284 (__libc_sigaction): Likewise.
25285 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25288 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25290 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25292 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25294 * string/mempcpy.c: Implement by calling memcpy.
25296 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25303 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25304 values in the mantissa.
25306 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25307 minimize writes to Z.
25308 (sub_magnitudes): Simplify code a bit.
25310 2013-02-12 Roland McGrath <roland@hack.frob.com>
25312 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25313 from the message. The linker prefixes all warnings with that already.
25315 2013-02-12 Andreas Schwab <schwab@suse.de>
25318 * posix/regexec.c (extend_buffers): Add parameter min_len.
25319 (check_matching): Pass minimum needed length.
25320 (clean_state_log_if_needed): Likewise.
25321 (get_subexp): Likewise.
25322 * posix/Makefile (tests): Add bug-regex34.
25323 (bug-regex34-ENV): Define.
25324 * posix/bug-regex34.c: New file.
25327 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25328 elements compare against the byte sequence of it, not its name.
25329 * posix/Makefile (tests): Add bug-regex35.
25330 (bug-regex35-ENV): Define.
25331 * posix/bug-regex35.c: New file.
25333 2013-02-11 Tom de Vries <tom@codesourcery.com>
25335 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25337 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25338 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25339 (CHECK_EOL): Add undef.
25341 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25343 * bits/stdlib-bsearch.h: New file.
25344 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25345 * stdlib/stdlib.h: Likewise.
25347 2013-02-11 Roland McGrath <roland@hack.frob.com>
25349 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25350 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25352 * manual/search.texi (Array Search Function): Add missing const in
25354 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25355 declaration to use rlim_t.
25356 (Basic Scheduling Functions): Remove erroneous const from
25357 sched_getparam prototype. Remove erroneous * from
25358 sched_get_priority_max and sched_get_priority_min prototypes.
25359 (Resource Usage): Fix summary @comment on vtimes to refer to
25360 sys/vtimes.h rather than vtimes.h.
25361 Add missing *s in vtimes prototype.
25362 (Limits on Resources): Fix ulimit prototype to return long int.
25363 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25364 prototypes to use long int rather than double.
25365 (BSD Random): Fix initstate and setstate to use char *, not void *.
25366 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25367 prototype to make second argument 'struct aiocb64 *const[]'.
25368 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25369 (Status of AIO Operations): Remove erroneous const in aio_return and
25370 aio_return64 prototypes.
25371 (Synchronizing I/O): Fix sync prototype to return void.
25372 * manual/startup.texi (Suboptions): Remove an erroneous const in
25373 getsubopt prototype.
25374 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25375 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25376 use size_t rather than int.
25377 (Scanning All Users): Likewise for getpwent_r.
25378 (Setting Groups): Add missing const to setgroups prototype.
25379 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25380 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25381 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25382 'const void *' rather than 'const char *'.
25383 (Host Address Functions): Likewise for inet_ntop.
25384 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25385 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25386 ssize_t for return value.
25387 (Sending Data): Likewise for send, sendto, sendmsg.
25388 (Socket Option Functions): Add a missing const in setsockopt prototype.
25389 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25390 use wchar_t for the argument.
25391 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25392 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25394 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25395 double/float/long double for second argument.
25396 Fix return types of significand, significandf, significandl.
25397 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25398 argument in fchmod prototype.
25399 (File Owner): Use uid_t and gid_t in fchown prototype.
25400 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25401 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25402 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25403 use 'const struct dirent **' as argument types to CMP function pointer
25405 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25406 (File Times): Fix summary magic @comment for struct utimbuf and utime
25407 to refer to utime.h, not time.h.
25408 * manual/string.texi (Argz Functions): Add missing const in
25409 argz_extract and argz_next prototypes.
25410 (Finding Tokens in a String): Likewise for basename.
25411 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25412 (Copying and Concatenation): Fix typo in wmemmove prototype.
25413 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25414 (Signal Stack): Remove erroneous const in sigstack prototype.
25415 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25417 (Simple Calendar Time): Likewise for stime.
25418 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25420 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25421 say sys/sysctl.h instead.
25422 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25423 and vsyslog prototypes.
25425 2013-02-11 Tom de Vries <tom@codesourcery.com>
25427 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25430 2013-02-11 Roland McGrath <roland@hack.frob.com>
25432 * misc/sys/mman.h: Fix typo in mremap comment.
25434 2013-02-08 Roland McGrath <roland@hack.frob.com>
25436 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25437 the '\0' terminator.
25439 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25442 * debug/segfault.c: Don't include <bp-checks.h>.
25443 * sysdeps/generic/bp-checks.h: Remove file.
25444 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25445 (__GETDENTS): Don't use CHECK_N.
25446 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25447 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25448 (__getgroups): Don't use CHECK_N.
25449 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25450 (setgroups): Don't use CHECK_N.
25451 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25452 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25453 (__libc_msgrcv): Don't use CHECK_N.
25454 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25455 (__libc_msgsnd): Don't use CHECK_N.
25456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25458 (__libc_pread): Don't use CHECK_N.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25460 include <bp-checks.h>.
25461 (__libc_pread64): Don't use CHECK_N.
25462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25463 include <bp-checks.h>.
25464 (__libc_pwrite): Don't use CHECK_N.
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25466 include <bp-checks.h>.
25467 (__libc_pwrite64): Don't use CHECK_N.
25468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25470 (__libc_pread): Don't use CHECK_N.
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25472 include <bp-checks.h>.
25473 (__libc_pread64): Don't use CHECK_N.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25475 include <bp-checks.h>.
25476 (__libc_pwrite): Don't use CHECK_N.
25477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25478 include <bp-checks.h>.
25479 (__libc_pwrite64): Don't use CHECK_N.
25480 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25481 (do_pread): Don't use CHECK_N.
25482 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25483 (do_pread64): Don't use CHECK_N.
25484 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25485 (do_pwrite): Don't use CHECK_N.
25486 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25487 (do_pwrite64): Don't use CHECK_N.
25488 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25489 (__libc_readv): Don't use CHECK_N.
25490 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25491 (semop): Don't use CHECK_N.
25492 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25494 (semtimedop): Don't use CHECK_N.
25495 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25496 (__libc_pread): Don't use CHECK_N.
25497 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25499 (__libc_pread64): Don't use CHECK_N.
25500 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25502 (__libc_pwrite): Don't use CHECK_N.
25503 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25505 (__libc_pwrite64): Don't use CHECK_N.
25506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25508 (__libc_msgrcv): Don't use CHECK_N.
25509 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25510 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25511 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25512 (__libc_writev): Don't use CHECK_N.
25514 2013-02-08 Roland McGrath <roland@hack.frob.com>
25516 * string/strcpy.c: Removed unused variable.
25518 * Makeconfig (+sysdep-includes): Define with := rather than =.
25519 Use an existing include/ subdir of each sysdeps dir before it.
25521 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25523 * nscd/connection.c (register_traced_file): Comment function.
25524 [HAVE_INOTIFY] (union __inev): Define.
25525 [HAVE_INOTIFY] (inotify_check_files): New function.
25526 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25527 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25529 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25531 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25533 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25534 loaded if not already and that a failure is permanent.
25536 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25539 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25540 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25542 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25545 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25546 (CHECK_1_NULL_OK): Likewise.
25547 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25548 (__fxstat): Do not use CHECK_1.
25549 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25551 (___fxstat64): Do not use CHECK_1.
25552 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25554 (__fxstatat): Do not use CHECK_1.
25555 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25557 (__fxstatat64): Do not use CHECK_1.
25558 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25560 (__fxstat): Do not use CHECK_1.
25561 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25563 (__fxstatat): Do not use CHECK_1.
25564 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25566 (__getresgid): Do not use CHECK_1.
25567 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25569 (__getresuid): Do not use CHECK_1.
25570 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25572 (__lxstat): Do not use CHECK_1.
25573 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25575 (__old_msgctl): Do not use CHECK_1.
25576 (__new_msgctl): Likewise.
25577 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25579 (__new_setrlimit): Do not use CHECK_1.
25580 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25582 (__old_shmctl): Do not use CHECK_1.
25583 (__new_shmctl): Likewise.
25584 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25586 (__xstat): Do not use CHECK_1.
25587 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25588 (__lxstat): Do not use CHECK_1.
25589 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25591 (___lxstat64): Do not use CHECK_1.
25592 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25593 (__old_msgctl): Do not use CHECK_1.
25594 (__new_msgctl): Likewise.
25595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25597 (__gettimeofday): Do not use CHECK_1.
25598 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25599 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25600 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25602 (__gettimeofday): Do not use CHECK_1.
25603 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25604 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25605 (__new_shmctl): Do not use CHECK_1.
25606 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25608 (do_sigtimedwait): Do not use CHECK_1.
25609 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25611 (do_sigwaitinfo): Do not use CHECK_1.
25612 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25614 (msgctl): Do not use CHECK_1.
25615 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25617 (shmctl): Do not use CHECK_1.
25618 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25619 (ustat): Do not use CHECK_1.
25620 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25622 (__fxstat): Do not use CHECK_1.
25623 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25625 (__fxstatat): Do not use CHECK_1.
25626 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25628 (__lxstat): Do not use CHECK_1.
25629 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25631 (__xstat): Do not use CHECK_1.
25632 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25633 (__xstat): Do not use CHECK_1.
25634 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25635 (___xstat64): Do not use CHECK_1.
25638 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25640 (CHECK_BOUNDS_HIGH): Likewise.
25641 * string/strcpy.c: Do not include <bp-checks.h>.
25642 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25644 2013-02-07 Roland McGrath <roland@hack.frob.com>
25646 * nscd/nscd-client.h (__nscd_drop_map_ref):
25647 Add __attribute__ ((unused)).
25648 * nis/nss-nisplus.h (niserr2nss): Likewise.
25650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25651 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25653 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25654 Remove inline keyword.
25655 * include/rounding-mode.h (round_away): Likewise.
25656 * libio/wfileops.c (adjust_wide_data): Likewise.
25657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25658 (__m128i_strloadu_tolower): Likewise.
25659 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25660 (__m128i_strloadu_tolower): Likewise.
25661 * time/mktime.c (ydhms_diff): Likewise.
25662 * locale/elem-hash.h (elem_hash): Likewise.
25663 * locale/setlocale.c (setdata): Likewise.
25664 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25665 (re_string_wchar_at): Likewise.
25666 (bitset_not, bitset_merge, bitset_mask): Likewise.
25667 [!(__GNUC__ > 3)] (inline): Remove macro.
25668 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25669 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25670 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25671 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25672 * string/memcmp.c (memcmp_bytes): Likewise.
25673 * locale/programs/locarchive.c (compute_hashval): Likewise.
25674 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25675 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25676 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25677 * nss/getent.c (print_rpc, print_protocols): Likewise.
25678 (print_passwd, print_group, print_aliases): Likewise.
25679 * nis/nss-nisplus.h (niserr2nss): Likewise.
25680 * nscd/connections.c (restart_p): Likewise.
25681 Change return type to bool.
25683 2013-02-05 Roland McGrath <roland@hack.frob.com>
25685 * Makeconfig (all-Depend-files): Add existing
25686 $(sorted-subdirs:=/Depend) files.
25687 (all-subdirs): Remove nss.
25688 * sysdeps/unix/inet/Subdirs: Add it here instead.
25689 * hesiod/Depend: New file.
25691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25692 instead of calling alloca.
25694 * io/lseek.c (__lseek): Rename to __libc_lseek.
25695 Define __lseek as an alias.
25697 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25699 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25701 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25702 else clause and remove check for non-standard endianness.
25704 2013-02-04 David S. Miller <davem@davemloft.net>
25706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25708 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25711 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25712 (__ubp_memchr): Remove prototype.
25713 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25714 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25715 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25716 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25717 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25719 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25720 (__ubp_memchr): Likewise.
25721 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25722 (__ubp_memchr): Likewise.
25723 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25724 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25725 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25726 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25728 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25729 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25730 (__getcwd): Do not use CHECK_STRING.
25731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25733 (__real_chown): Do not use CHECK_STRING.
25734 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25736 (fchownat): Do not use CHECK_STRING.
25737 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25739 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25741 (__lchown): Do not use CHECK_STRING.
25742 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25743 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25744 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25745 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25747 include <bp-checks.h>.
25748 (truncate64): Do not use CHECK_STRING.
25749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25751 (__real_chown): Do not use CHECK_STRING.
25752 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25754 (__lchown): Do not use CHECK_STRING.
25755 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25757 (__chown): Do not use CHECK_STRING.
25758 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25760 (truncate64): Do not use CHECK_STRING.
25761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25763 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25764 (__xmknod): Do not use CHECK_STRING.
25765 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25767 (__xmknodat): Do not use CHECK_STRING.
25768 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25769 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25771 2013-02-04 Andreas Schwab <schwab@suse.de>
25774 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25775 * include/netdb.h: Likewise for h_errno.
25776 * elf/tst-stackguard1.c: Include <tls.h>.
25778 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25780 * elf/link.h (struct link_map): Extend the l_addr comment.
25781 * include/link.h (struct link_map): Likewise.
25783 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25787 (BOUNDED_1): Remove macro.
25788 * debug/backtrace.c: Don't include <bp-checks.h>.
25789 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25790 (__backtrace): Likewise.
25791 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25793 (__backtrace): Don't use BOUNDED_1.
25794 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25796 (__backtrace): Don't use BOUNDED_1.
25797 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25798 (__backtrace): Don't use BOUNDED_1.
25799 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25800 (shmat): Don't use BOUNDED_N.
25802 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25805 * sysdeps/generic/bp-start.h: Remove file.
25806 * csu/libc-start.c: Don't include <bp-start.h>.
25807 (LIBC_START_MAIN): Set up __environ directly instead of using
25808 INIT_ARGV_and_ENVIRON.
25809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25813 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25815 (CHECK_FCNTL): Likewise.
25816 (CHECK_N_PAGES): Likewise.
25819 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25821 (CHECK_SIGSET_NULL_OK): Likewise.
25822 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25824 (sigpending): Don't use CHECK_SIGSET.
25825 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25828 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25830 (do_sigsuspend): Don't use CHECK_SIGSET.
25831 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25833 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25834 (do_sigwait): Don't use CHECK_SIGSET.
25835 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25838 include <bp-checks.h>.
25839 (sigpending): Don't use CHECK_SIGSET.
25840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25841 include <bp-checks.h>.
25842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25843 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25845 (sigpending): Don't use CHECK_SIGSET.
25846 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25851 * sysdeps/generic/bp-semctl.h: Remove file.
25852 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25853 <bp-checks.h> and <bp-semctl.h>.
25854 (__old_semctl): Don't use CHECK_SEMCTL.
25855 (__new_semctl): Likewise.
25856 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25858 (__old_semctl): Don't use CHECK_SEMCTL.
25859 (__new_semctl): Likewise.
25860 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25861 <bp-checks.h> and <bp-semctl.h>.
25862 (__old_semctl): Don't use CHECK_SEMCTL.
25863 (__new_semctl): Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25865 <bp-checks.h> and <bp-semctl.h>.
25866 (semctl): Don't use CHECK_SEMCTL.
25869 * Makerules (elide-bp-thunks): Remove variable.
25870 (elide-routines.oS): Don't use $(elide-bp-thunks).
25871 (elide-routines.os): Likewise.
25872 (elide-routines.o): Likewise.
25873 (elide-routines.op): Likewise.
25874 (elide-routines.og): Likewise.
25875 (objects): Don't use $(bp-thunks).
25876 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25878 (common-generated): Do not add s-proto-bp.d.
25879 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25882 Do not generate makefile rules for bounded-pointer thunks.
25883 * sysdeps/generic/bp-thunks.h: Remove file.
25884 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25885 * sysdeps/unix/s-proto-bp.S: Likewise.
25888 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25889 parts of result separately when argument is not close to line from
25890 -i to i and one part of argument is small.
25891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25893 * math/libm-test.inc (cacos_test): Add more tests.
25894 (casin_test): Likewise.
25895 (casinh_test): Likewise.
25896 * sysdeps/i386/fpu/libm-test-ulps: Update.
25897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899 2013-01-31 David S. Miller <davem@davemloft.net>
25901 * po/de.po: Update from translation team.
25903 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25905 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25907 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25909 * configure.in (_AC_PROG_CC_C89): New definition.
25910 * configure: Regenerate.
25912 * configure.in (AC_PROG_CPP): New definition.
25913 * configure: Regenerate.
25915 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25917 * debug/tst-backtrace.h: New file.
25918 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25919 (ret): Remove variable.
25921 (FAIL): Remove macro.
25922 (NO_INLINE): Likewise.
25923 (fn1): Use match function instead of strstr.
25924 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25925 (ret): Remove variable.
25927 (FAIL): Remove macro.
25928 (NO_INLINE): Likewise.
25929 (fn): Use match function instead of strstr.
25930 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25931 (ret): Remove variable.
25933 (FAIL): Remove macro.
25934 (NO_INLINE): Likewise.
25935 (handle_signal): Use match function instead of strstr.
25936 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25937 (ret): Remove variable.
25939 (FAIL): Remove macro.
25940 (NO_INLINE): Likewise.
25941 (handle_signal): Use match function instead of strstr.
25943 2013-01-23 Roland McGrath <roland@hack.frob.com>
25945 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25947 2013-01-23 David S. Miller <davem@davemloft.net>
25949 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25950 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25951 argument of CAS if possible.
25952 * sysdeps/sparc/sparc64/bits/atomic.h
25953 (__arch_compare_and_exchange_val_32_acq): Likewise.
25954 (__arch_compare_and_exchange_val_64_acq): Likewise.
25956 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25958 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25959 * sysdeps/posix/ulimit.c: ... this.
25960 Include <limits.h>.
25961 * sysdeps/unix/bsd/ulimit.c: Remove file.
25963 2013-01-23 Adam Conrad <adconrad@0c3.net>
25965 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25966 (LDFLAGS-tst-array5): Likewise.
25968 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25971 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25972 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25973 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25974 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25976 2013-01-21 David S. Miller <davem@davemloft.net>
25978 * sysdeps/sparc/backtrace.c: New file.
25979 * sysdeps/sparc/sparc32/backtrace.h: New file.
25980 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25981 * sysdeps/sparc/sparc64/backtrace.h: New file.
25982 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25983 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25986 2013-01-21 Andreas Schwab <schwab@suse.de>
25989 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25992 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25998 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25999 Mark Mitchell <mark@codesourcery.com>
26000 Tom de Vries <tom@codesourcery.com>
26001 Paul Pluzhnikov <ppluzhnikov@google.com>
26003 * debug/tst-backtrace2.c: New file.
26004 * debug/tst-backtrace3.c: Likewise.
26005 * debug/tst-backtrace4.c: Likewise.
26006 * debug/tst-backtrace5.c: Likewise.
26007 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26008 (CFLAGS-tst-backtrace3.c): Likewise.
26009 (CFLAGS-tst-backtrace4.c): Likewise.
26010 (CFLAGS-tst-backtrace5.c): Likewise.
26011 (LDFLAGS-tst-backtrace2): Likewise.
26012 (LDFLAGS-tst-backtrace3): Likewise.
26013 (LDFLAGS-tst-backtrace4): Likewise.
26014 (LDFLAGS-tst-backtrace5): Likewise.
26015 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26016 tst-backtrace4 and tst-backtrace5.
26018 2013-01-18 Anton Blanchard <anton@samba.org>
26019 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26021 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26022 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26024 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26026 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26027 "+r" and remove output regs list as redundant. Add explicit inline
26028 asm to specify register of return val to work around compiler codegen
26029 bug. Remove (int) cast on return value. Add return type parameter to
26030 use in macro so that this macro does not truncate return value for
26032 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26033 pass to INTERNAL_VSYSCALL_NCS.
26034 (INLINE_VSYSCALL): Add 'long int' as return type to
26035 INTERNAL_VSYSCALL_NCS macro invocation.
26036 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26037 INTERNAL_VSYSCALL_NCS macro invocation.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26040 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26043 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26044 Fix application of SIMD FP exception mask.
26046 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26047 mp_no from a power of two.
26048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26049 __mpexp_twomm1. Use __pow_mp.
26051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26054 2013-01-17 David S. Miller <davem@davemloft.net>
26056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26058 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26061 * include/complex.h: Condition contents on [!_COMPLEX_H].
26062 (__kernel_casinhf): New prototype.
26063 (__kernel_casinh): Likewise.
26064 (__kernel_casinhl): Likewise.
26065 * math/Makefile (libm_calls): Add k_casinh.
26066 * math/k_casinh.c: New file.
26067 * math/k_casinhf.c: Likewise.
26068 * math/k_casinhl.c: Likewise.
26069 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26070 finite nonzero arguments.
26071 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26072 finite nonzero arguments.
26073 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26074 finite nonzero arguments.
26075 * math/s_casinh.c: Do not include <float.h>.
26076 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26077 * math/s_casinhf.c: Do not include <float.h>.
26078 (__casinhf): Move code for finite nonzero arguments to
26080 * math/s_casinhl.c: Do not include <float.h>.
26081 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26083 (__casinhl): Move code for finite nonzero arguments to
26085 * math/libm-test.inc (cacos_test): Add more tests.
26086 * sysdeps/i386/fpu/libm-test-ulps: Update.
26087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26089 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26091 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26092 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26093 [!HAVE_MREMAP]: Remove [defined linux] case.
26094 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26096 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26098 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26100 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26102 * elf/elf.h (R_386_SIZE32): New relocation.
26103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26105 (elf_machine_rela): Likewise.
26106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26107 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26109 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26111 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26112 (FP_FAST_FMA): Do not define.
26113 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26114 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26115 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26116 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26117 !_SOFT_FLOAT]: Likewise.
26118 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26121 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26122 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26125 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26126 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26129 2013-01-16 Andreas Schwab <schwab@suse.de>
26132 * include/stdlib.h (__mktemp): Add declaration.
26133 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26134 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26136 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26138 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26140 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26141 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26142 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26144 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26145 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26149 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26150 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26151 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26153 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26154 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26156 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26158 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26160 2013-01-15 David S. Miller <davem@davemloft.net>
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26163 trunc{,f} to libm-sysdep_routes.
26164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26174 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26177 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26178 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26179 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26182 nearbyint{,f} to libm-sysdep_routes.
26183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26200 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26201 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26203 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26204 libc_feholdexcept and libc_fesetenv.
26206 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26208 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26210 2013-01-14 David S. Miller <davem@davemloft.net>
26212 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26213 (SPARC_ASM_VIS2_IFUNC): Likewise.
26214 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26216 use of 'siam' instruction.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26250 routines to libm-sysdep_routines.
26251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26254 fdim/fdimf to libm-sysdep_routines.
26255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26263 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26264 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26265 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26266 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26268 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26271 to optimize copies.
26273 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26278 local variable MPTWO.
26279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26284 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26287 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26289 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26293 * manual/pattern.texi (glob_t): Document gl_flags.
26294 (glob64_t): Likewise.
26296 2013-01-11 David S. Miller <davem@davemloft.net>
26298 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26299 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26300 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26301 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26302 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26303 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26304 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26305 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26306 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26307 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26308 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26309 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26310 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26313 sparc V9 rather than using V8 code.
26314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26319 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26322 2013-01-11 Roland McGrath <roland@hack.frob.com>
26324 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26325 not in the main loop.
26326 * configure: Regenerated.
26328 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26330 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26331 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26333 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26334 [!__GLIBC_HAVE_LONG_LONG] case.
26335 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26336 condition to just #else.
26337 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26338 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26339 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26340 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26342 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26343 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26344 #elif condition to just #else.
26345 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26346 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26347 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26348 #elif condition to just #else.
26350 2013-01-11 Steve Ellcey <sellcey@mips.com>
26352 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26353 (EF_MIPS_ARCH_64): Fix value.
26354 (EF_MIPS_ARCH_32R2): New.
26355 (EF_MIPS_ARCH_64R2): New.
26357 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26359 * Makeconfig (+link-pie-before-libc): New.
26360 (+link-pie-after-libc): Likewise.
26361 (+link-pie-tests): Likewise.
26362 (+link-pie): Rewritten.
26363 (link-before-libc): Remove $(config-LDFLAGS).
26364 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26365 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26366 (config-LDFLAGS): Renamed to ...
26367 (rtld-LDFLAGS): This.
26368 (rtld-tests-LDFLAGS): New macro.
26369 (link-libc-rpath-link): Likewise.
26370 (link-libc-tests-rpath-link): Likewise.
26371 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26372 (link-libc): Prepand $(link-libc-rpath-link).
26373 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26374 (test-program-prefix): New macro.
26375 (test-via-rtld-prefix): Likewise.
26376 (test-program-cmd): Likewise.
26377 (host-test-program-cmd): Likewise.
26378 * Makefile ($(common-objpfx)testrun.sh): Replace
26379 $(run-program-prefix) with $(test-program-prefix).
26380 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26382 ($(common-objpfx)shlib.lds): Likewise.
26383 (build-module-helper): Likewise.
26384 ($(common-objpfx)format.lds): Likewise.
26385 * Rules (binaries-pie-tests): New.
26386 (binaries-pie-notests): Likewise.
26387 (binaries-pie): Rewritten.
26388 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26389 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26390 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26391 (make-test-out): Replace $(host-built-program-cmd) with
26392 $(host-test-program-cmd).
26393 * config.make.in (build-hardcoded-path-in-tests): New variable.
26394 * configure.in (--enable-hardcoded-path-in-tests): New configure
26396 (hardcoded_path_in_tests): New AC_SUBST.
26397 * configure: Regenerated.
26398 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26399 $(built-program-cmd) with $(test-program-cmd).
26400 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26401 (test_program_cmd): This.
26402 * elf/Makefile ($(objpfx)order.out): Run test with
26403 $(test-program-prefix).
26404 ($(objpfx)order2.out): Likewise.
26405 ($(objpfx)tst-initorder.out): Likewise.
26406 ($(objpfx)tst-initorder2.out): Likewise.
26407 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26408 $(test-program-cmd).
26409 ($(objpfx)tst-array1-static.out): Likewise.
26410 ($(objpfx)tst-array2.out): Likewise.
26411 ($(objpfx)tst-array3.out): Likewise.
26412 ($(objpfx)tst-array4.out): Likewise.
26413 ($(objpfx)tst-array5.out): Likewise.
26414 ($(objpfx)tst-array5-static.out): Likewise.
26415 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26416 $(test-program-cmd).
26417 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26418 $(run-program-prefix) with $(test-program-prefix).
26419 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26420 (test_program_prefix): This.
26421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26422 $(run-program-prefix) with $(test-program-prefix).
26423 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26424 (test_program_prefix): This.
26425 * iconvdata/tst-tables.sh: Likewise.
26426 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26427 $(run-program-prefix) with $(test-program-prefix).
26428 ($(objpfx)tst-translit.out): Likewise.
26429 ($(objpfx)tst-gettext2.out): Likewise.
26430 ($(objpfx)tst-gettext4.out): Likewise.
26431 ($(objpfx)tst-gettext6.out): Likewise.
26432 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26433 (test_program_prefix): This.
26434 * intl/tst-gettext2.sh: Likewise.
26435 * intl/tst-gettext4.sh Likewise.
26436 * intl/tst-gettext6.sh: Likewise.
26437 * intl/tst-translit.sh: Likewise.
26438 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26439 with $(test-program-cmd).
26440 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26441 $(run-program-prefix) with $(test-program-prefix).
26442 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26443 (test_program_prefix): This.
26444 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26445 $(run-program-prefix) with $(test-program-prefix).
26446 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26447 (test_program_prefix): This.
26448 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26449 * posix/Makefile ($(objpfx)globtest.out): Replace
26450 $(run-via-rtld-prefix) and $(test-wrapper) with
26451 $(test-program-prefix) and $(test-via-rtld-prefix).
26452 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26453 $(test-program-prefix).
26454 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26455 $(host-test-program-cmd).
26456 (tst-spawn-ARGS): Likewise.
26457 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26458 $(test-program-prefix).
26459 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26460 (test_via_rtld_prefix): This.
26461 (test_wrapper): Renamed to ...
26462 (test_program_prefix): This.
26463 (run_program_prefix): Replaced by test_program_prefix.
26464 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26465 (test_program_prefix): This.
26466 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26467 with $(host-test-program-cmd).
26468 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26469 $(run-program-prefix) with $(test-program-prefix).
26470 ($(objpfx)tst-printf.out): Likewise.
26471 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26472 $(test-program-cmd).
26473 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26474 (test_program_prefix): This.
26475 * stdio-common/tst-unbputc.sh: Likewise.
26476 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26477 $(run-program-prefix) with $(test-program-prefix).
26478 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26479 (test_program_prefix): This.
26480 * string/Makefile ($(objpfx)tst-svc.out): Replace
26481 $(built-program-cmd) with $(test-program-cmd).
26483 2013-01-11 Andreas Jaeger <aj@suse.de>
26486 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26487 value. Sync with Linux 3.7.
26489 2013-01-10 David S. Miller <davem@davemloft.net>
26491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26495 2013-01-10 Roland McGrath <roland@hack.frob.com>
26497 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26499 * configure: Regenerated.
26501 2013-01-10 David S. Miller <davem@davemloft.net>
26503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26504 sparc V9 rather than using V8 code.
26505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26508 2013-01-10 Roland McGrath <roland@hack.frob.com>
26510 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26511 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26512 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26513 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26514 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26515 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26516 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26517 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26518 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26519 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26520 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26521 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26522 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26523 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26524 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26525 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26526 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26527 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26528 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26529 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26530 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26531 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26532 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26533 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26534 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26535 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26536 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26538 2013-01-10 David S. Miller <davem@davemloft.net>
26540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26542 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26544 * posix/Makefile (tests-static): New variable.
26545 (tests): Add $(tests-static).
26546 (tst-exec-static-ARGS): New variable.
26547 (tst-spawn-static-ARGS): Likewise.
26548 * posix/tst-exec-static.c: New file.
26549 * posix/tst-spawn-static.c: Likewise.
26550 * posix/tst-exec.c: Support run directly.
26551 * posix/tst-spawn.c: Likewise.
26553 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26555 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26557 * math/bits/mathcalls.h (llrint): Likewise.
26558 (llround): Likewise.
26559 * stdlib/stdlib.h (struct drand48_data): Likewise.
26560 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26561 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26562 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26564 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26566 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26567 (elf_greg_t): Likewise.
26568 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26569 (__jmp_buf): Likewise.
26570 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26572 (llrint): Likewise, for all definitions.
26573 (llrintl): Likewise.
26575 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26576 Remove [__GNUC__] condition.
26577 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26578 condition to just [__USE_ISOC99].
26579 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26581 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26584 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26585 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26587 (_POSIX_V6_ILP32_OFF32): Likewise.
26588 (_XBS5_ILP32_OFF32): Likewise.
26589 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26590 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26592 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26594 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26597 doubles __mpexp_twomm1. Adjust usage.
26598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26601 2013-01-10 Andreas Schwab <schwab@suse.de>
26604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26605 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26607 2013-01-09 David S. Miller <davem@davemloft.net>
26610 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26611 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26612 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26613 (TCP_FASTOPEN): Define.
26614 (tcp_repair_opt): New structure.
26615 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26617 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26618 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26619 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26620 (tcp_cookie_transactions): New structure.
26622 2013-01-09 Anton Blanchard <anton@samba.org>
26624 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26627 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26629 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26631 * include/features.h (__USE_ANSI): Remove.
26633 2013-01-09 Roland McGrath <roland@hack.frob.com>
26635 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26637 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26639 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26641 * sysdeps/s390/fpu/libm-test-ulps: Update.
26643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26649 (denorm): Likewise.
26650 (__mp_dbl): Likewise.
26651 (__dbl_mp): Likewise.
26652 (add_magnitudes): Likewise.
26653 (sub_magnitudes): Likewise.
26659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26663 (denorm): Likewise.
26664 (__mp_dbl): Likewise.
26665 (__dbl_mp): Likewise.
26666 (add_magnitudes): Likewise.
26667 (sub_magnitudes): Likewise.
26673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26677 (denorm): Likewise.
26678 (__mp_dbl): Likewise.
26679 (__dbl_mp): Likewise.
26680 (add_magnitudes): Likewise.
26681 (sub_magnitudes): Likewise.
26688 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26690 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26691 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26692 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26693 2 && __USE_EXTERN_INLINES]: Likewise.
26695 2013-01-08 Andreas Jaeger <aj@suse.de>
26698 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26700 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26701 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26703 2013-01-07 Anton Blanchard <anton@samba.org>
26705 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26706 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26707 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26708 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26709 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26710 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26711 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26712 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26722 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26723 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26725 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26728 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26729 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26730 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26731 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26732 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26737 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26738 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26739 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26743 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26747 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26749 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26751 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26752 (__MALLOC_PMT): Likewise.
26753 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26754 [__GNUC__], only on [_LIBC].
26755 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26756 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26757 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26758 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26759 forward declaration.
26760 (realloc_hook_ini): Likewise.
26761 (memalign_hook_ini): Likewise.
26762 (__libc_memalign): Do not use __MALLOC_PMT in variable
26764 (__libc_valloc): Likewise.
26765 (__libc_pvalloc): Likewise.
26766 (__libc_calloc): Likewise.
26767 (__posix_memalign): Likewise.
26770 * math/s_casinh.c: Include <float.h>.
26771 (__casinh): Do not do computation with squaring and square root
26772 for large arguments.
26773 * math/s_casinhf.c: Include <float.h>.
26774 (__casinhf): Do not do computation with squaring and square root
26775 for large arguments.
26776 * math/s_casinhl.c: Include <float.h>.
26777 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26778 (__casinhl): Do not do computation with squaring and square root
26779 for large arguments.
26780 * math/libm-test.inc (casin_test): Add more tests.
26781 (casinh_test): Likewise.
26782 * sysdeps/i386/fpu/libm-test-ulps: Update.
26783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26785 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26787 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26788 (__x86_64_raw_data_cache_size): Likewise.
26789 (__x86_64_data_cache_size_half): Likewise.
26790 (__x86_64_raw_data_cache_size_half): Likewise.
26791 (__x86_64_shared_cache_size): Likewise.
26792 (__x86_64_raw_shared_cache_size): Likewise.
26793 (__x86_64_shared_cache_size_half): Likewise.
26794 (__x86_64_raw_shared_cache_size_half): Likewise.
26795 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26797 (__x86_data_cache_size): This.
26798 (__x86_64_raw_data_cache_size): Renamed to ...
26799 (__x86_raw_data_cache_size): This.
26800 (__x86_64_data_cache_size_half): Renamed to ...
26801 (__x86_data_cache_size_half): This.
26802 (__x86_64_raw_data_cache_size_half): Renamed to ...
26803 (__x86_raw_data_cache_size_half): This.
26804 (__x86_64_shared_cache_size): Renamed to ...
26805 (__x86_shared_cache_size): This.
26806 (__x86_64_raw_shared_cache_size): Renamed to ...
26807 (__x86_raw_shared_cache_size): This.
26808 (__x86_64_shared_cache_size_half): Renamed to ...
26809 (__x86_shared_cache_size_half): This.
26810 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26811 (__x86_raw_shared_cache_size_half): This.
26812 * sysdeps/x86_64/memcpy.S: Updated.
26813 * sysdeps/x86_64/memset.S: Likewise.
26814 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26818 2013-01-04 David S. Miller <davem@davemloft.net>
26820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26822 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26825 1 to avoid redefinition warning.
26826 (__USE_GNU): Don't define.
26827 (init_signaling_nan): Protoize.
26829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26831 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26833 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26835 (__cpymn): Likewise.
26836 (norm): Remove commented code.
26837 (denorm): Likewise.
26838 (__mp_dbl): Likewise.
26840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26841 (__cpymn): Likewise.
26842 (norm): Remove commented code.
26843 (denorm): Likewise.
26844 (__mp_dbl): Likewise.
26847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26848 mp_no value for 1.0 and 2.0.
26849 (norm): Use RADIXI instead of radixi.d.
26850 (denorm): Likewise.
26851 (__mul): Use 0.0 instead of zero.d.
26852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26853 mp_no value for 1.0 and 2.0.
26854 (norm): Use RADIXI instead of radixi.d.
26855 (denorm): Likewise.
26856 (__mul): Use 0.0 instead of zero.d.
26858 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26861 * math/s_casinh.c (__casinh): Reduce finite argument to first
26862 quadrant then set signs of results at the end.
26863 * math/s_casinhf.c (__casinhf): Likewise.
26864 * math/s_casinhl.c (__casinhl): Likewise.
26865 * math/libm-test.inc (casin_test): Add more tests.
26866 (casinh_test): Likewise.
26867 * sysdeps/i386/fpu/libm-test-ulps: Update.
26868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26870 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26872 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26874 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26876 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26878 (denorm): Likewise.
26879 (__mp_dbl): Likewise.
26882 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26883 and adjust the header comment.
26885 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26886 variable name from declaration.
26888 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26891 Initialize COMMON_CPUID_INDEX_7 element.
26892 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26893 (CPUID_RTM): Likewise.
26894 (HAS_RTM): Likewise.
26895 (COMMON_CPUID_INDEX_7): New enum.
26897 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26900 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26901 size is zero, record memory as freed.
26903 2013-01-03 Andreas Jaeger <aj@suse.de>
26905 * po/ia.po: Add new Interlingua translation.
26907 2012-01-03 Allan McRae <allan@archlinux.org>
26909 * locale/programs/localedef.c: Fix description of '--posix' flag.
26911 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26913 * NEWS: Update dates in second copyright notice.
26914 * README: Update copyright dates in example.
26915 * manual/libc.texinfo: Update copyright dates.
26916 * scripts/test-installation.pl: Update copyright date in --version
26919 * hurd/ctty-input.c: Fix copyright notice formatting.
26920 * hurd/ctty-output.c: Likewise.
26921 * hurd/dtable.c: Likewise.
26922 * hurd/hurd-raise.c: Likewise.
26923 * hurd/hurdprio.c: Likewise.
26924 * hurd/msgportdemux.c: Likewise.
26925 * misc/sys/file.h: Likewise.
26926 * misc/sys/ioctl.h: Likewise.
26927 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26928 * sysdeps/mach/hurd/chdir.c: Likewise.
26929 * sysdeps/mach/hurd/fchdir.c: Likewise.
26930 * sysdeps/mach/hurd/rename.c: Likewise.
26931 * sysdeps/mach/hurd/rmdir.c: Likewise.
26932 * sysdeps/mach/hurd/seekdir.c: Likewise.
26933 * sysdeps/mach/hurd/setsid.c: Likewise.
26934 * sysdeps/posix/wait3.c: Likewise.
26936 * All files with FSF copyright notices: Update copyright dates
26937 using scripts/update-copyrights.
26938 * intl/plural.c: Regenerated.
26939 * locale/programs/charmap-kw.h: Likewise.
26940 * locale/programs/locfile-kw.h: Likewise.
26942 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26944 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26947 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26948 calculation loop and add branch prediction.
26950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26951 check access beyond bounds of m1np.
26953 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26955 (__inv): Remove local variable MPTWO to use the global
26957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26960 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26961 MP3HALFS static const.
26963 2013-01-01 David S. Miller <davem@davemloft.net>
26965 * po/ca.po: Update from translation team.
26967 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26969 * scripts/update-copyrights: New file.
26970 * Makeconfig: Reformat copyright notice.
26971 * ctype/ctype.h: Likewise.
26972 * debug/swprintf_chk.c: Likewise.
26973 * elf/dl-cache.c: Likewise.
26974 * elf/dl-debug.c: Likewise.
26975 * elf/dl-object.c: Likewise.
26976 * grp/initgroups.c: Likewise.
26977 * hurd/Makefile: Likewise.
26978 * hurd/hurd/signal.h: Likewise.
26979 * hurd/hurdfault.c: Likewise.
26980 * hurd/hurdioctl.c: Likewise.
26981 * hurd/hurdlookup.c: Likewise.
26982 * hurd/intr-msg.c: Likewise.
26983 * iconv/gconv_open.c: Likewise.
26984 * libio/swprintf.c: Likewise.
26985 * locale/lc-ctype.c: Likewise.
26986 * locale/nl_langinfo.c: Likewise.
26987 * mach/Machrules: Likewise.
26988 * mach/Makefile: Likewise.
26989 * malloc/obstack.h: Likewise.
26990 * manual/Makefile: Likewise.
26991 * manual/tsort.awk: Likewise.
26992 * misc/bits/stab.def: Likewise.
26993 * nis/nis_print_group_entry.c: Likewise.
26994 * nis/nis_table.c: Likewise.
26995 * nis/nss_compat/compat-pwd.c: Likewise.
26996 * nis/nss_compat/compat-spwd.c: Likewise.
26997 * po/Makefile: Likewise.
26998 * posix/fnmatch.c: Likewise.
26999 * posix/regex.h: Likewise.
27000 * resolv/Makefile: Likewise.
27001 * resolv/nss_dns/dns-network.c: Likewise.
27002 * resolv/res_hconf.c: Likewise.
27003 * scripts/gen-sorted.awk: Likewise.
27004 * soft-fp/soft-fp.h: Likewise.
27005 * stdio-common/printf.h: Likewise.
27006 * stdlib/monetary.h: Likewise.
27007 * stdlib/random.c: Likewise.
27008 * stdlib/random_r.c: Likewise.
27009 * sysdeps/generic/Makefile: Likewise.
27010 * sysdeps/gnu/Makefile: Likewise.
27011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27023 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27039 * sysdeps/mach/hurd/errnos.awk: Likewise.
27040 * sysdeps/mach/hurd/fork.c: Likewise.
27041 * sysdeps/mach/hurd/getcwd.c: Likewise.
27042 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27043 * sysdeps/mach/hurd/mmap.c: Likewise.
27044 * sysdeps/mach/hurd/utimes.c: Likewise.
27045 * sysdeps/mach/hurd/xmknod.c: Likewise.
27046 * sysdeps/posix/profil.c: Likewise.
27047 * sysdeps/posix/readdir_r.c: Likewise.
27048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27049 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27054 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27055 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27057 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27059 * sysdeps/pthread/lio_listio.c: Likewise.
27060 * sysdeps/sparc/dl-procinfo.h: Likewise.
27061 * sysdeps/unix/i386/sysdep.S: Likewise.
27062 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27063 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27064 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27065 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27067 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27068 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27069 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27070 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27071 * sysdeps/wordsize-32/divdi3.c: Likewise.
27072 * time/sys/time.h: Likewise.
27073 * wcsmbs/Makefile: Likewise.
27075 2013-01-01 David S. Miller <davem@davemloft.net>
27077 * po/fr.po: Update from translation team.
27079 * catgets/gencat.c: Update copyright year.
27080 * csu/version.c: Likewise.
27081 * debug/catchsegv.sh: Likewise.
27082 * debug/pcprofiledump.c: Likewise.
27083 * debug/xtrace.sh: Likewise.
27084 * elf/ldconfig.c: Likewise.
27085 * elf/ldd.bash.in: Likewise.
27086 * elf/pldd.c: Likewise.
27087 * elf/sotruss.ksh: Likewise.
27088 * elf/sprof.c: Likewise.
27089 * iconv/iconv_prog.c: Likewise.
27090 * iconv/iconvconfig.c: Likewise.
27091 * locale/programs/locale.c: Likewise.
27092 * locale/programs/localedef.c: Likewise.
27093 * login/programs/pt_chown.c: Likewise.
27094 * malloc/memusage.sh: Likewise.
27095 * malloc/memusagestat.c: Likewise.
27096 * malloc/mtrace.pl: Likewise.
27097 * nscd/nscd.c: Likewise.
27098 * nss/getent.c: Likewise.
27099 * nss/makedb.c: Likewise.
27100 * posix/getconf.c: Likewise.
27102 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27104 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27107 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27109 * math/bits/mathcalls.h (modf): Use __nonnull.
27111 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27113 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27114 (split): Use macro CN instead of the bare value.
27115 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27118 instead of the bare value.
27119 (power1): Likewise.
27121 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27123 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27125 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27127 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27131 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27132 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27134 2012-12-28 Andreas Jaeger <aj@suse.de>
27136 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27137 values are from Linux 3.7.
27139 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27140 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27142 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27144 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27149 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27150 variables with preprocessor constants.
27151 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27152 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27153 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27155 2012-12-27 Bruno Haible <bruno@clisp.org>
27158 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27161 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27164 and use variable directly.
27165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27167 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27174 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27175 include directive. Remove local variable MPONE.
27176 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27177 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27180 2012-12-25 David S. Miller <davem@davemloft.net>
27182 * version.h (RELEASE): Set to "development".
27183 (VERSION): Set to "2.17.90".
27184 * NEWS: Add 2.18 section.
27186 2012-12-21 David S. Miller <davem@davemloft.net>
27188 * po/hr.po: Update from translation team.
27190 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27192 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27194 2012-12-19 Steve Ellcey <sellcey@mips.com>
27196 * NEWS: Mention new memcpy for MIPS.
27198 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27200 * manual/contrib.texi (Contributors): Spelling correction.
27202 2012-12-15 David S. Miller <davem@davemloft.net>
27204 * po/ru.po: Update from translation team.
27206 2012-12-13 David S. Miller <davem@davemloft.net>
27208 * NEWS: Mention IFUNC testsuite enhancements.
27210 * po/pl.po: Update from translation team.
27211 * po/bg.po: Likewise.
27213 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27214 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27216 2012-12-11 David S. Miller <davem@davemloft.net>
27218 * po/sv.po: Update from translation team.
27220 * po/vi.po: Update from translation team.
27222 * po/cs.po: Update from translation team.
27224 * po/de.po: Update from translation team.
27225 * po/eo.po: Likewise.
27226 * po/nl.po: Likewise.
27228 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27231 * manual/argp.texi (Argp Helper Functions): Move node to follow
27232 Argp Parsing State.
27235 * manual/conf.texi (Limits on File System Capacity): Mention if
27236 terminating null is included in the max size.
27238 2012-12-10 Andreas Jaeger <aj@suse.de>
27240 * po/cs.po: Update from translation team.
27242 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27244 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27245 void pointer and cast to uintptr_t.
27246 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27248 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27249 * sysdeps/s390/s390-64/memset.S: Likewise.
27251 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27254 * menual/message.texi (Message Translation): Fix typos.
27255 (Helper programs for gettext): Likewise.
27257 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27260 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27263 2012-12-07 David S. Miller <davem@davemloft.net>
27265 * po/libc.pot: Update.
27267 2012-12-07 Richard Henderson <rth@redhat.com>
27270 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27271 normal/normal case to before the switch.
27272 (_FP_DIV): Likewise.
27274 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27275 Mike Frysinger <vapier@gentoo.org>
27277 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27278 check for __NR_fadvise64_64.
27280 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27282 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27283 0, not just to plain "0" as a statement.
27284 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27287 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27289 * NEWS: Use sourceware.org in Bugzilla URL.
27291 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27294 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27296 * stdio-common/tst-put-error.c (do_test): Add newline to the
27297 padded test to ensure flush.
27299 2012-12-05 Jeff Law <law@redhat.com>
27301 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27303 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27305 * README: Don't refer to ports add-on as distributed separately.
27306 Mention AArch64 in list of systems supported in the ports add-on.
27308 * LICENSES: Add more non-FSF copyright and license notices.
27310 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27315 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27316 10000 as width of padded output.
27318 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27320 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27323 variable LX with __attribute__ ((unused)).
27324 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27326 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27329 with __attribute__ ((unused)).
27331 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27333 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27335 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27337 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27338 (CFLAGS-nldbl-acos.c): New variable.
27339 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27340 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27341 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27342 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27343 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27344 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27345 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27346 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27347 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27348 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27349 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27350 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27351 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27352 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27353 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27354 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27355 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27356 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27357 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27358 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27359 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27364 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27365 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27366 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27367 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27368 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27369 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27370 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27371 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27372 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27373 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27374 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27375 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27376 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27377 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27378 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27379 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27380 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27381 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27382 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27383 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27399 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27400 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27401 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27402 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27403 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27404 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27405 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27406 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27407 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27408 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27409 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27410 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27411 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27412 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27413 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27414 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27415 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27416 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27417 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27418 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27419 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27420 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27421 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27422 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27423 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27424 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27425 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27426 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27427 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27428 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27429 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27430 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27431 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27432 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27433 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27434 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27435 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27438 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27442 whole low double instead of just low 47 bits when splitting values
27445 2012-12-03 Allan McRae <allan@archlinux.org>
27447 * manual/stdio.texi (Predefined Printf Handlers): Remove
27448 @hsep and @vsep usage.
27450 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27452 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27453 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27455 2012-12-03 Jeff Law <law@redhat.com>
27457 * time/sys/time.h (settimeofday): Do not mark TV argument
27460 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27462 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27463 when currently writing and seek to current position when not.
27464 * libio/Makefile (tests): Remove bug-fclose1.
27465 * libio/bug-fclose1.c: Delete.
27467 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27469 * manual/arith.texi (feenableexcept): Fix typo.
27470 (fedisableexcept): Likewise.
27472 2012-11-30 Roland McGrath <roland@hack.frob.com>
27474 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27475 second, differently-typed declaration, rather than a cast.
27477 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27479 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27480 * include/rpc/svc.h: ... here.
27482 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27485 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27486 depending n and resplen2 to catch cases where answer
27489 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27491 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27492 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27494 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27498 2012-11-29 Roland McGrath <roland@hack.frob.com>
27500 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27502 2012-11-28 Jeff Law <law@redhat.com>
27505 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27506 dataset_temporary. Track alloca usage into alloca_used.
27507 If dataset is large allocate and release it via malloc/free.
27509 2012-06-04 Florian Weimer <fweimer@redhat.com>
27512 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27514 2012-11-28 David S. Miller <davem@davemloft.net>
27516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27518 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27521 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27522 of pi/2 rounded to nearest to 64 bits.
27523 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27524 nearest to 64 bits.
27525 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27528 2012-11-28 Jeff Law <law@redhat.com>
27529 Martin Osvald <mosvald@redhat.com>
27532 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27533 * sunrpc/svc.c: Include time.h.
27534 (__svc_accept_failed): New function.
27535 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27536 any reason other than EINTR, call __svc_accept_failed.
27537 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27538 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27540 2012-11-28 Andreas Schwab <schwab@suse.de>
27542 * scripts/abilist.awk: Also handle indirect functions in .opd
27545 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27548 * sysdeps/x86/fpu/powl_helper.c: New file.
27549 * sysdeps/x86/fpu/Makefile: Likewise.
27550 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27552 (__ieee754_powl): Use __powl_helper for finite arguments except
27553 integer exponents below 8.
27554 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27556 (__ieee754_powl): Use __powl_helper for finite arguments except
27557 integer exponents below 8.
27558 * math/libm-test.inc (pow_test): Add more tests and enable some
27559 previously disabled tests.
27560 * sysdeps/i386/fpu/libm-test-ulps: Update.
27561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27563 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27564 Carlos O'Donell <carlos_odonell@mentor.com>
27566 * nss/makedb.c (is_prime): Assert that input is odd and greater
27567 than 4. Note that fact in a comment too.
27568 (next_prime): Add 4 to input.
27570 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27573 * libio/Makefile (tests): Add test case tst-fwrite-error.
27574 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27575 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27576 * libio/tst-fwrite-error.c: New test case.
27578 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27580 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27581 before casting to void *.
27582 * include/libc-internal.h (__pointer_type): New macro.
27583 (__integer_if_pointer_type_sub): Likewise.
27584 (__integer_if_pointer_type): Likewise.
27585 (cast_to_integer): Likewise.
27586 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27587 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27588 before casting to atomic64_t.
27589 (atomic_exchange_acq): Likewise.
27590 (__arch_exchange_and_add_body): Likewise.
27591 (__arch_add_body): Likewise.
27592 (atomic_add_negative): Likewise.
27593 (atomic_add_zero): Likewise.
27595 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27597 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27598 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27599 (add_fdes): Likewise.
27600 (linear_search_fdes): Likewise.
27601 (binary_search_unencoded_fdes): Likewise.
27603 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27605 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27607 2012-11-24 Adam Conrad <adconrad@0c3.net>
27609 * configure.in: Autodetect C++ header directories.
27610 * configure: Regenerated.
27612 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27614 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27616 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27620 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27622 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27623 LDBL_MANT_DIG == 106]: Disable some tests.
27624 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27626 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27631 input for small inputs. Return +/- pi/2 for large inputs.
27632 * math/libm-test.inc (atan_test): Add more tests.
27634 * sysdeps/generic/unwind-dw2-fde-glibc.c
27635 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27636 __attribute__ ((unused)).
27639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27640 x * y if x and y are nonzero and z is zero.
27643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27644 nonzero exponents with absolute value below 0x1p-117 to +/-
27648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27649 up arguments below 2**-450, not just those below 2**-500.
27650 * math/libm-test.inc (hypot_test): Add another test.
27653 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27654 Return a+b for ratio over 2**120, not 2**60.
27655 * math/libm-test.inc (hypot_test): Add another test.
27657 * math/libm-test.inc (clog_test): Use
27658 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27659 (clog10_test): Likewise.
27662 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27664 2012-11-22 Andreas Schwab <schwab@suse.de>
27666 * sysdeps/i386/fpu/libm-test-ulps: Update.
27668 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27670 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27671 printf output with newline.
27673 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27676 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27677 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27678 -z nodlopen, -z initfirst and -z execstack support.
27679 * configure: Regenerated.
27681 * elf/elf.h (DF_1_NODIRECT): New macro.
27682 (DF_1_IGNMULDEF): Likewise.
27683 (DF_1_NOKSYMS): Likewise.
27684 (DF_1_NOHDR): Likewise.
27685 (DF_1_EDITED): Likewise.
27686 (DF_1_NORELOC): Likewise.
27687 (DF_1_SYMINTPOSE): Likewise.
27688 (DF_1_GLOBAUDIT): Likewise.
27689 (DF_1_SINGLETON): Likewise.
27690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27691 DT_1_SUPPORTED_MASK bits.
27692 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27694 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27696 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27698 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27700 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27704 (sendmmsg): Move declarations...
27705 * socket/sys/socket.h: ... here.
27706 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27707 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27709 * socket/recvmmsg.c: ... this new file.
27710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27711 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27712 definition of __sendmmsg hidden.
27713 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27714 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27715 Move ENOSYS stub into and include it from...
27716 * socket/sendmmsg.c: ... this new file.
27717 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27718 (sysdep_routines): Move recvmmsg and sendmmsg...
27719 * socket/Makefile (routines): ... here.
27720 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27721 (GLIBC_PRIVATE): Add __sendmmsg.
27722 * include/sys/socket.h (__sendmmsg): Add declarations.
27723 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27726 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27729 variable I1 with __attribute__ ((unused)).
27730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27732 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27734 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27735 DUMMY variables with __attribute__ ((unused)).
27737 * bits/byteswap.h: Include <bits/types.h>.
27738 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27740 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27742 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27743 string_t. Do not manually set errno.
27744 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27745 length with __strnlen. Make sure to both set errno and return it on
27748 2012-11-19 David S. Miller <davem@davemloft.net>
27750 With help from Joseph Myers.
27751 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27752 very large arguments properly.
27753 * math/libm-test.inc (atan_test): New tests.
27754 (atan2_test): New tests.
27755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27758 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27761 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27764 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27765 [POSIX] (EADDRNOTAVAIL): Likewise.
27766 [POSIX] (EAFNOSUPPORT): Likewise.
27767 [POSIX] (EALREADY): Likewise.
27768 [POSIX] (ECONNABORTED): Likewise.
27769 [POSIX] (ECONNREFUSED): Likewise.
27770 [POSIX] (ECONNRESET): Likewise.
27771 [POSIX] (EDESTADDRREQ): Likewise.
27772 [POSIX] (EDQUOT): Likewise.
27773 [POSIX] (EHOSTUNREACH): Likewise.
27774 [POSIX] (EIDRM): Likewise.
27775 [POSIX] (EISCONN): Likewise.
27776 [POSIX] (ELOOP): Likewise.
27777 [POSIX] (EMULTIHOP): Likewise.
27778 [POSIX] (ENETDOWN): Likewise.
27779 [POSIX] (ENETUNREACH): Likewise.
27780 [POSIX] (ENOBUFS): Likewise.
27781 [POSIX] (ENODATA): Likewise.
27782 [POSIX] (ENOLINK): Likewise.
27783 [POSIX] (ENOMSG): Likewise.
27784 [POSIX] (ENOPROTOOPT): Likewise.
27785 [POSIX] (ENOSR): Likewise.
27786 [POSIX] (ENOSTR): Likewise.
27787 [POSIX] (ENOTCONN): Likewise.
27788 [POSIX] (ENOTSOCK): Likewise.
27789 [POSIX] (EOPNOTSUPP): Likewise.
27790 [POSIX] (EOVERFLOW): Likewise.
27791 [POSIX] (EPROTO): Likewise.
27792 [POSIX] (EPROTONOSUPPORT): Likewise.
27793 [POSIX] (EPROTOTYPE): Likewise.
27794 [POSIX] (ESTALE): Likewise.
27795 [POSIX] (ETIME): Likewise.
27796 [POSIX] (ETXTBSY): Likewise.
27797 [POSIX] (EWOULDBLOCK): Likewise.
27798 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27799 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27800 [POSIX] (SEEK_CUR): Likewise.
27801 [POSIX] (SEEK_END): Likewise.
27802 [POSIX || UNIX98] (mode_t): Do not require.
27803 [POSIX] (off_t): Likewise.
27804 [POSIX] (pid_t): Likewise.
27805 [POSIX] (sys/stat.h): Do not allow header.
27806 [POSIX] (unistd.h): Likewise.
27807 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27808 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27809 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27810 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27812 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27813 sigevent): Specify elements.
27814 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27816 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27817 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27819 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27820 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27821 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27822 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27823 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27824 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27825 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27826 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27828 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27829 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27830 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27831 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27834 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27840 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27841 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27843 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27844 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27845 Specify lower bound on value.
27846 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27847 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27848 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27849 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27850 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27851 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27852 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27853 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27855 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27857 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27858 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27859 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27860 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27861 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27864 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27865 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27866 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27867 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27868 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27869 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27870 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27874 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27876 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27877 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27878 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27879 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27880 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27881 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27883 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27885 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27886 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27887 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27888 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27891 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27894 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27895 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27896 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27897 specify as optional.
27898 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27899 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27901 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27902 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27903 [XPG3] (NL_LANGMAX): Likewise.
27904 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27905 [POSIX || XPG3] (NL_NMAX): Likewise.
27906 [POSIX || XPG3] (NL_SETMAX): Likewise.
27907 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27908 [XPG3] (NZERO): Likewise.
27909 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27910 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27911 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27912 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27913 (REG_ERANGE): Expect.
27914 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27916 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27917 Use (void) in prototype.
27918 [POSIX] (*_t): Allow.
27919 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27920 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27921 (WRDE_BADVAL): Expect.
27923 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27925 [XPG3 || XPG4] (O_RSYNC): Likewise.
27926 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27928 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27929 [XPG3 || XPG4] (sigqueue): Likewise.
27930 [XPG3 || XPG4] (sigtimedwait): Likewise.
27931 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27932 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27933 [XPG3 || XPG4] (vsnprintf): Likewise.
27934 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27936 [XPG3 || XPG4] (blksize_t): Likewise.
27937 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27939 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27940 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27941 [XPG3 || XPG4] (struct itimerspec): Likewise.
27942 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27943 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27944 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27945 [XPG3 || XPG4] (clockid_t): Likewise.
27946 [XPG3 || XPG4] (timer_t): Likewise.
27947 [XPG3 || XPG4] (clock_getres): Likewise.
27948 [XPG3 || XPG4] (clock_gettime): Likewise.
27949 [XPG3 || XPG4] (clock_settime): Likewise.
27950 [XPG3 || XPG4] (nanosleep): Likewise.
27951 [XPG3 || XPG4] (timer_create): Likewise.
27952 [XPG3 || XPG4] (timer_delete): Likewise.
27953 [XPG3 || XPG4] (timer_gettime): Likewise.
27954 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27955 [XPG3 || XPG4] (timer_settime): Likewise.
27956 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27957 [XPG3 || XPG4] (getlogin_r): Likewise.
27958 [XPG3 || XPG4] (pread): Likewise.
27959 [XPG3 || XPG4] (pthread_atfork): Likewise.
27960 [XPG3 || XPG4] (pwrite): Likewise.
27963 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27966 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27968 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27969 finalizing MALLSTREAM.
27971 * sysdeps/mach/hurd/syncfs.c: New file.
27973 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27976 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27977 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27979 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27980 (_nss_dns_gethostbyname4_r): Likewise.
27981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27982 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27984 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27987 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27989 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27991 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27992 * elf/cache.c (print_entry): Print ",AArch64" for
27995 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27996 * elf/cache.c (print_entry): Print ",hard-float" for
27999 2012-11-18 David S. Miller <davem@davemloft.net>
28001 With help from Joseph Myers.
28002 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28004 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28006 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28007 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28010 * math/libm-test.inc (y0_test): New tests.
28011 (y1_test): New tests.
28012 * sysdeps/i386/fpu/libm-test-ulps: Update.
28013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28016 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28018 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28020 * configure: Regenerated.
28022 2012-11-17 David S. Miller <davem@davemloft.net>
28025 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28026 nonzero exponents with absolute value below 0x1p-128 to +/-
28029 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28031 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28033 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28035 * posix/getconf-speclist.c: New file.
28036 * posix/posix-envs.def: Likewise.
28037 * posix/confstr.c (START_ENV_GROUP): New macro.
28038 (END_ENV_GROUP): Likewise.
28039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28040 (KNOWN_PRESENT_ENV_STRING): Likewise.
28041 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28042 (UNKNOWN_ENVIRONMENT): Likewise.
28043 (confstr): Include posix-envs.def instead of handling
28044 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28045 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28046 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28047 (END_ENV_GROUP): Likewise.
28048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28049 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28050 (UNKNOWN_ENVIRONMENT): Likewise.
28051 (__sysconf): Include posix-envs.def instead of handling associated
28052 cases directly here.
28053 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28054 preprocessing getconf-speclist.c rather than running getconf or
28055 generating empty file.
28057 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28059 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28061 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28064 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28066 2012-11-16 David S. Miller <davem@davemloft.net>
28068 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28069 smaller than LDBL_EPSILON/2.0L, just return xm1.
28071 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28073 * elf/tst-array1.c (init): Set constructor priority to 1000.
28074 (fini): Set destructor priority to 1000.
28075 * elf/tst-array2dep.c: Likewise.
28077 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28080 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28081 (_IO_new_file_xsputn): Also return EOF if none of the input
28082 data was written when overflow failed.
28083 * libio/iopadn.c (_IO_padn): Likewise.
28084 * libio/iowpadn.c (_IO_wpadn): Likewise.
28085 * stdio-common/tst-put-error.c: Add copyright notice.
28086 (do_test): Add case for printing padded string.
28087 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28088 _IO_padn returned error.
28089 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28090 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28093 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28095 * libio/libioP.h: Add comment note that the references to C++
28096 bits are now obsolete.
28098 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28100 * math/libm-test.inc (check_complex): Use asprintf.
28102 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28104 * debug/pcprofiledump.c (print_version): Update copyright year.
28105 * malloc/memusagestat.c (print_version): Likewise.
28107 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28110 * elf/Makefile (tests): Add tst-audit8.
28111 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28112 ($(objpfx)tst-audit8.out): New target.
28113 (tst-audit8-ENV): New variable.
28114 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28115 audit if l_reloc_result is NULL.
28116 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28117 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28118 * elf/tst-audit8.c: New file.
28120 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28122 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28123 * misc/Makefile (CFLAGS-select.c): Define.
28124 * posix/Makefile (CFLAGS-pause.c): Define.
28126 2012-11-13 David S. Miller <davem@davemloft.net>
28128 * crypt/Makefile: Move test targets after toplevel Rules
28129 inclusion. Grab any necessary sysdep routines when linking.
28130 * crypt/md5.c (md5_process_block): Remove define, we will always
28131 name it __md5_process_block.
28132 (md5_finish_ctx): Update md5_process_block call.
28133 (md5_stream): Likewise.
28134 (md5_process_bytes): Likewise.
28135 (md5_process_block): Rename to __md5_process_block and move to ...
28136 * crypt/md5-block.c: ... here.
28137 * crypt/sha256.c (sha256_process_block): Move to ...
28138 * crypt/sha256-block.c: ... here.
28139 * crypt/sha512.c (sha512_process_block): Move to ...
28140 * crypt/sha512-block.c: ... here.
28141 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28143 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28144 * sysdeps/sparc/sparc64/multiarch/Makefile
28145 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28147 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28148 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28150 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28151 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28152 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28153 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28154 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28155 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28156 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28157 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28163 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28165 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28167 * timezone/tzselect.ksh: Update from tzcode git revision
28168 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28169 * timezone/zdump.c: Likewise.
28170 * timezone/zic.c: Likewise.
28171 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28172 in TZVERSION setting, not $(PKGVERSION).
28173 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28174 REPORT_BUGS_TO settings.
28177 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28180 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28183 detection to immediately after _FP_ROUND().
28184 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28187 2012-11-11 David S. Miller <davem@davemloft.net>
28189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28191 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28192 __close rather than their public counterparts.
28194 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28196 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28198 [UNIX98] (sem_timedwait): Do not expect.
28199 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28200 [XPG4 || UNIX98] (sockatmark): Do not expect.
28201 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28202 (clock_getcpuclockid): Do not expect.
28203 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28204 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28206 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28207 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28208 [UNIX98] (vwscanf): Likewise.
28209 [UNIX98] (vswscanf): Likewise.
28211 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28213 * timezone/version.h: Remove file.
28214 * timezone/README: Do not refer to version.h.
28215 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28216 $(objpfx)version.h.
28217 ($(objpfx)zdump.o): Likewise.
28218 ($(objpfx)version.h): New target.
28220 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28222 * timezone/README: Don't mention modification to tzselect.ksh.
28223 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28224 work on unmodified tzselect.ksh. Substitute version numbers in
28227 * Makefile (format-me): Remove.
28228 (INSTALL): Adjust indentation. Use commands directly instead of
28229 using $(format-me).
28231 * aclocal.m4 (ACX_PKGVERSION): New macro.
28232 (ACX_BUGURL): Likewise.
28233 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28234 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28235 (REPORT_BUGS_TO): Likewise.
28236 * configure: Regenerated.
28237 * config.h.in (PKGVERSION): New macro.
28238 (REPORT_BUGS_TO): Likewise.
28239 * config.make.in (PKGVERSION): New variable.
28240 (PKGVERSION_TEXI): Likewise.
28241 (REPORT_BUGS_TO): Likewise.
28242 (REPORT_BUGS_TEXI): Likewise.
28243 * Makefile (format-me): Use -I$(common-objpfx)manual.
28244 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28245 ($(common-objpfx)manual/%): New target.
28246 (manual/%): Remove target.
28247 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28248 (print_version): Use PKGVERSION.
28249 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28250 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28251 and REPORT_BUGS_TO.
28252 ($(objpfx)xtrace): Likewise.
28253 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28254 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28255 (print_version): Use PKGVERSION.
28256 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28257 (do_version): Use PKGVERSION.
28258 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28260 (common-ldd-rewrite): Likewise.
28261 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28262 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28263 (print_version): Use PKGVERSION.
28264 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28265 * elf/pldd.c (argp_program_bug_address): Remove variable.
28266 (more_help): New function.
28267 (argp): Use more_help.
28268 (print_version): Use PKGVERSION.
28269 * elf/sln.c (main): Use PKGVERSION.
28270 (usage): Use REPORT_BUGS_TO.
28271 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28272 (top level): Use PKGVERSION.
28273 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28274 (print_version): Use PKGVERSION.
28275 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28276 (print_version): Use PKGVERSION.
28277 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28278 (print_version): Use PKGVERSION.
28279 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28280 (print_version): Use PKGVERSION.
28281 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28282 (print_version): Use PKGVERSION.
28283 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28284 (print_version): Use PKGVERSION.
28285 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28287 ($(objpfx)memusage): Likewise.
28288 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28289 (do_version): Use PKGVERSION.
28290 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28291 (print_version): Use PKGVERSION.
28292 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28293 ($PKGVERSION): New variable.
28294 ($REPORT_BUGS_TO): Likewise.
28295 (usage): Use $REPORT_BUGS_TO.
28296 (top level): Use $PKGVERSION.
28297 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28298 ($(objpfx)pkgvers.texi): New rule.
28299 ($(objpfx)stamp-pkgvers): Likewise.
28300 * manual/install.texi: Include pkgvers.texi.
28301 (--with-pkgversion): Document new configure option.
28302 (--with-bugurl): Likewise.
28303 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28304 than necessarily for this particular distribution. Use
28305 REPORT_BUGS_TO for where to report bugs.
28306 * INSTALL: Regenerated.
28307 * manual/libc.texinfo: Include pkgvers.texi.
28308 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28309 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28310 (print_version): Use PKGVERSION.
28311 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28312 (print_version): Use PKGVERSION.
28313 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28314 (print_version): Use PKGVERSION.
28315 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28316 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28318 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28319 (print_version): Use PKGVERSION.
28320 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28321 (print_version): Use PKGVERSION.
28322 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28325 * timezone/checktab.awk: Update from tzcode 2012i.
28326 * timezone/ialloc.c: Likewise.
28327 * timezone/private.h: Likewise.
28328 * timezone/scheck.c: Likewise.
28329 * timezone/tzfile.h: Likewise.
28330 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28331 (TZVERSION): Hardcode tzcode version number.
28332 * timezone/zdump.c: Update from tzcode 2012i.
28333 * timezone/zic.c: Likewise.
28334 * timezone/version.h: New file.
28335 * timezone/README: Describe version.h. Update upstream location.
28338 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28339 (mktemp): Enable declaration.
28340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28357 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28358 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28359 for copies of such integer values.
28360 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28361 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28363 2012-11-09 Andreas Jaeger <aj@suse.de>
28365 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28366 definitions and declarations that are provided by
28367 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28369 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28371 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28372 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28373 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28376 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28378 * elf/elf.h: Update comment before AArch64 relocations.
28380 2012-11-07 David S. Miller <davem@davemloft.net>
28382 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28383 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28384 (__start_context): Declare.
28385 (__makecontext_ret): Delete.
28386 (__makecontext): Hook up __start_context instead of
28388 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28389 (sysdep_routines): Add __start_context when in stdlib.
28391 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28393 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28394 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28395 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28397 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28398 (READELF): New variable. Use it instead of hardcoded "readelf".
28400 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28402 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28403 * sysdeps/x86/Makefile: Here.
28404 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28405 * sysdeps/x86/tst-xmmymm.sh: This.
28407 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28409 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28411 [UNIX98] (pthread_barrier_t): Do not expect.
28412 [UNIX98] (pthread_barrierattr_t): Likewise.
28413 [UNIX98] (pthread_spinlock_t): Likewise.
28414 [UNIX98] (pthread_barrier_destroy): Likewise.
28415 [UNIX98] (pthread_barrier_init): Likewise.
28416 [UNIX98] (pthread_barrier_wait): Likewise.
28417 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28418 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28419 [UNIX98] (pthread_barrierattr_init): Likewise.
28420 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28421 [UNIX98] (pthread_getcpuclockid): Likewise.
28422 [UNIX98] (pthread_mutex_timedlock): Likewise.
28423 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28424 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28425 [UNIX98] (pthread_sigmask): Likewise.
28426 [UNIX98] (pthread_spin_destroy): Likewise.
28427 [UNIX98] (pthread_spin_init): Likewise.
28428 [UNIX98] (pthread_spin_lock): Likewise.
28429 [UNIX98] (pthread_spin_trylock): Likewise.
28430 [UNIX98] (pthread_spin_unlock): Likewise.
28431 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28433 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28434 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28435 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28436 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28437 [XPG3 || XPG4] (pthread_key_t): Likewise.
28438 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28439 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28440 [XPG3 || XPG4] (pthread_once_t): Likewise.
28441 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28442 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28443 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28444 [XPG3 || XPG4] (pthread_t): Likewise.
28446 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28448 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28450 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28451 Change function return type to int.
28453 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28454 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28455 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28456 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28457 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28458 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28459 [!POSIX] (posix_madvise): Likewise.
28460 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28462 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28463 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28464 (mode_t): Likewise.
28465 (posix_mem_offset): Likewise.
28466 (posix_typed_mem_get_info): Likewise.
28467 (posix_typed_mem_open): Likewise.
28469 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28470 Change condition to [XOPEN2K8].
28472 * conform/conformtest.pl: Preprocess allow-header data with -x c
28473 instead of from stdin.
28474 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28475 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28476 [C99-based standards] (cerfc): Likewise.
28477 [C99-based standards] (cexp2): Likewise.
28478 [C99-based standards] (cexpm1): Likewise.
28479 [C99-based standards] (clog10): Likewise.
28480 [C99-based standards] (clog1p): Likewise.
28481 [C99-based standards] (clog2): Likewise.
28482 [C99-based standards] (clgamma): Likewise.
28483 [C99-based standards] (ctgamma): Likewise.
28484 [C99-based standards] (cerff): Likewise.
28485 [C99-based standards] (cerfcf): Likewise.
28486 [C99-based standards] (cexp2f): Likewise.
28487 [C99-based standards] (cexpm1f): Likewise.
28488 [C99-based standards] (clog10f): Likewise.
28489 [C99-based standards] (clog1pf): Likewise.
28490 [C99-based standards] (clog2f): Likewise.
28491 [C99-based standards] (clgammaf): Likewise.
28492 [C99-based standards] (ctgammaf): Likewise.
28493 [C99-based standards] (cerfl): Likewise.
28494 [C99-based standards] (cerfcl): Likewise.
28495 [C99-based standards] (cexp2l): Likewise.
28496 [C99-based standards] (cexpm1l): Likewise.
28497 [C99-based standards] (clog10l): Likewise.
28498 [C99-based standards] (clog1pl): Likewise.
28499 [C99-based standards] (clog2l): Likewise.
28500 [C99-based standards] (clgammal): Likewise.
28501 [C99-based standards] (ctgammal): Likewise.
28502 * conform/data/inttypes.h-data [C99-based standards]: Include
28503 stdint.h-data. Remove all expectations for stdint.h contents.
28504 [C99-based standards] (PRI*): Do not allow.
28505 [C99-based standards] (SCN*): Likewise.
28506 [C99-based standards] (*_t): Likewise.
28507 [C99-based-standards] (PRId8): Expect macro.
28508 [C99-based-standards] (PRIi8): Likewise.
28509 [C99-based-standards] (PRIo8): Likewise.
28510 [C99-based-standards] (PRIu8): Likewise.
28511 [C99-based-standards] (PRIx8): Likewise.
28512 [C99-based-standards] (PRIX8): Likewise.
28513 [C99-based-standards] (SCNd8): Likewise.
28514 [C99-based-standards] (SCNi8): Likewise.
28515 [C99-based-standards] (SCNo8): Likewise.
28516 [C99-based-standards] (SCNu8): Likewise.
28517 [C99-based-standards] (SCNx8): Likewise.
28518 [C99-based-standards] (PRIdLEAST8): Likewise.
28519 [C99-based-standards] (PRIiLEAST8): Likewise.
28520 [C99-based-standards] (PRIoLEAST8): Likewise.
28521 [C99-based-standards] (PRIuLEAST8): Likewise.
28522 [C99-based-standards] (PRIxLEAST8): Likewise.
28523 [C99-based-standards] (PRIXLEAST8): Likewise.
28524 [C99-based-standards] (SCNdLEAST8): Likewise.
28525 [C99-based-standards] (SCNiLEAST8): Likewise.
28526 [C99-based-standards] (SCNoLEAST8): Likewise.
28527 [C99-based-standards] (SCNuLEAST8): Likewise.
28528 [C99-based-standards] (SCNxLEAST8): Likewise.
28529 [C99-based-standards] (PRIdFAST8): Likewise.
28530 [C99-based-standards] (PRIiFAST8): Likewise.
28531 [C99-based-standards] (PRIoFAST8): Likewise.
28532 [C99-based-standards] (PRIuFAST8): Likewise.
28533 [C99-based-standards] (PRIxFAST8): Likewise.
28534 [C99-based-standards] (PRIXFAST8): Likewise.
28535 [C99-based-standards] (SCNdFAST8): Likewise.
28536 [C99-based-standards] (SCNiFAST8): Likewise.
28537 [C99-based-standards] (SCNoFAST8): Likewise.
28538 [C99-based-standards] (SCNuFAST8): Likewise.
28539 [C99-based-standards] (SCNxFAST8): Likewise.
28540 [C99-based-standards] (PRId16): Likewise.
28541 [C99-based-standards] (PRIi16): Likewise.
28542 [C99-based-standards] (PRIo16): Likewise.
28543 [C99-based-standards] (PRIu16): Likewise.
28544 [C99-based-standards] (PRIx16): Likewise.
28545 [C99-based-standards] (PRIX16): Likewise.
28546 [C99-based-standards] (SCNd16): Likewise.
28547 [C99-based-standards] (SCNi16): Likewise.
28548 [C99-based-standards] (SCNo16): Likewise.
28549 [C99-based-standards] (SCNu16): Likewise.
28550 [C99-based-standards] (SCNx16): Likewise.
28551 [C99-based-standards] (PRIdLEAST16): Likewise.
28552 [C99-based-standards] (PRIiLEAST16): Likewise.
28553 [C99-based-standards] (PRIoLEAST16): Likewise.
28554 [C99-based-standards] (PRIuLEAST16): Likewise.
28555 [C99-based-standards] (PRIxLEAST16): Likewise.
28556 [C99-based-standards] (PRIXLEAST16): Likewise.
28557 [C99-based-standards] (SCNdLEAST16): Likewise.
28558 [C99-based-standards] (SCNiLEAST16): Likewise.
28559 [C99-based-standards] (SCNoLEAST16): Likewise.
28560 [C99-based-standards] (SCNuLEAST16): Likewise.
28561 [C99-based-standards] (SCNxLEAST16): Likewise.
28562 [C99-based-standards] (PRIdFAST16): Likewise.
28563 [C99-based-standards] (PRIiFAST16): Likewise.
28564 [C99-based-standards] (PRIoFAST16): Likewise.
28565 [C99-based-standards] (PRIuFAST16): Likewise.
28566 [C99-based-standards] (PRIxFAST16): Likewise.
28567 [C99-based-standards] (PRIXFAST16): Likewise.
28568 [C99-based-standards] (SCNdFAST16): Likewise.
28569 [C99-based-standards] (SCNiFAST16): Likewise.
28570 [C99-based-standards] (SCNoFAST16): Likewise.
28571 [C99-based-standards] (SCNuFAST16): Likewise.
28572 [C99-based-standards] (SCNxFAST16): Likewise.
28573 [C99-based-standards] (PRId32): Likewise.
28574 [C99-based-standards] (PRIi32): Likewise.
28575 [C99-based-standards] (PRIo32): Likewise.
28576 [C99-based-standards] (PRIu32): Likewise.
28577 [C99-based-standards] (PRIx32): Likewise.
28578 [C99-based-standards] (PRIX32): Likewise.
28579 [C99-based-standards] (SCNd32): Likewise.
28580 [C99-based-standards] (SCNi32): Likewise.
28581 [C99-based-standards] (SCNo32): Likewise.
28582 [C99-based-standards] (SCNu32): Likewise.
28583 [C99-based-standards] (SCNx32): Likewise.
28584 [C99-based-standards] (PRIdLEAST32): Likewise.
28585 [C99-based-standards] (PRIiLEAST32): Likewise.
28586 [C99-based-standards] (PRIoLEAST32): Likewise.
28587 [C99-based-standards] (PRIuLEAST32): Likewise.
28588 [C99-based-standards] (PRIxLEAST32): Likewise.
28589 [C99-based-standards] (PRIXLEAST32): Likewise.
28590 [C99-based-standards] (SCNdLEAST32): Likewise.
28591 [C99-based-standards] (SCNiLEAST32): Likewise.
28592 [C99-based-standards] (SCNoLEAST32): Likewise.
28593 [C99-based-standards] (SCNuLEAST32): Likewise.
28594 [C99-based-standards] (SCNxLEAST32): Likewise.
28595 [C99-based-standards] (PRIdFAST32): Likewise.
28596 [C99-based-standards] (PRIiFAST32): Likewise.
28597 [C99-based-standards] (PRIoFAST32): Likewise.
28598 [C99-based-standards] (PRIuFAST32): Likewise.
28599 [C99-based-standards] (PRIxFAST32): Likewise.
28600 [C99-based-standards] (PRIXFAST32): Likewise.
28601 [C99-based-standards] (SCNdFAST32): Likewise.
28602 [C99-based-standards] (SCNiFAST32): Likewise.
28603 [C99-based-standards] (SCNoFAST32): Likewise.
28604 [C99-based-standards] (SCNuFAST32): Likewise.
28605 [C99-based-standards] (SCNxFAST32): Likewise.
28606 [C99-based-standards] (PRId64): Likewise.
28607 [C99-based-standards] (PRIi64): Likewise.
28608 [C99-based-standards] (PRIo64): Likewise.
28609 [C99-based-standards] (PRIu64): Likewise.
28610 [C99-based-standards] (PRIx64): Likewise.
28611 [C99-based-standards] (PRIX64): Likewise.
28612 [C99-based-standards] (SCNd64): Likewise.
28613 [C99-based-standards] (SCNi64): Likewise.
28614 [C99-based-standards] (SCNo64): Likewise.
28615 [C99-based-standards] (SCNu64): Likewise.
28616 [C99-based-standards] (SCNx64): Likewise.
28617 [C99-based-standards] (PRIdLEAST64): Likewise.
28618 [C99-based-standards] (PRIiLEAST64): Likewise.
28619 [C99-based-standards] (PRIoLEAST64): Likewise.
28620 [C99-based-standards] (PRIuLEAST64): Likewise.
28621 [C99-based-standards] (PRIxLEAST64): Likewise.
28622 [C99-based-standards] (PRIXLEAST64): Likewise.
28623 [C99-based-standards] (SCNdLEAST64): Likewise.
28624 [C99-based-standards] (SCNiLEAST64): Likewise.
28625 [C99-based-standards] (SCNoLEAST64): Likewise.
28626 [C99-based-standards] (SCNuLEAST64): Likewise.
28627 [C99-based-standards] (SCNxLEAST64): Likewise.
28628 [C99-based-standards] (PRIdFAST64): Likewise.
28629 [C99-based-standards] (PRIiFAST64): Likewise.
28630 [C99-based-standards] (PRIoFAST64): Likewise.
28631 [C99-based-standards] (PRIuFAST64): Likewise.
28632 [C99-based-standards] (PRIxFAST64): Likewise.
28633 [C99-based-standards] (PRIXFAST64): Likewise.
28634 [C99-based-standards] (SCNdFAST64): Likewise.
28635 [C99-based-standards] (SCNiFAST64): Likewise.
28636 [C99-based-standards] (SCNoFAST64): Likewise.
28637 [C99-based-standards] (SCNuFAST64): Likewise.
28638 [C99-based-standards] (SCNxFAST64): Likewise.
28639 [C99-based-standards] (PRIdMAX): Likewise.
28640 [C99-based-standards] (PRIiMAX): Likewise.
28641 [C99-based-standards] (PRIoMAX): Likewise.
28642 [C99-based-standards] (PRIuMAX): Likewise.
28643 [C99-based-standards] (PRIxMAX): Likewise.
28644 [C99-based-standards] (PRIXMAX): Likewise.
28645 [C99-based-standards] (SCNdMAX): Likewise.
28646 [C99-based-standards] (SCNiMAX): Likewise.
28647 [C99-based-standards] (SCNoMAX): Likewise.
28648 [C99-based-standards] (SCNuMAX): Likewise.
28649 [C99-based-standards] (SCNxMAX): Likewise.
28650 [C99-based-standards] (PRIdPTR): Likewise.
28651 [C99-based-standards] (PRIiPTR): Likewise.
28652 [C99-based-standards] (PRIoPTR): Likewise.
28653 [C99-based-standards] (PRIuPTR): Likewise.
28654 [C99-based-standards] (PRIxPTR): Likewise.
28655 [C99-based-standards] (PRIXPTR): Likewise.
28656 [C99-based-standards] (SCNdPTR): Likewise.
28657 [C99-based-standards] (SCNiPTR): Likewise.
28658 [C99-based-standards] (SCNoPTR): Likewise.
28659 [C99-based-standards] (SCNuPTR): Likewise.
28660 [C99-based-standards] (SCNxPTR): Likewise.
28661 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28663 * conform/data/stdint.h-data: Update comments to clarify
28665 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28667 [C99-based standards] (INT8_MAX): Likewise.
28668 [C99-based standards] (INT16_MIN): Likewise.
28669 [C99-based standards] (INT16_MAX): Likewise.
28670 [C99-based standards] (INT32_MIN): Likewise.
28671 [C99-based standards] (INT32_MAX): Likewise.
28672 [C99-based standards] (INT64_MIN): Likewise.
28673 [C99-based standards] (INT64_MAX): Likewise.
28674 [C99-based standards] (UINT8_MAX): Likewise.
28675 [C99-based standards] (UINT16_MAX): Likewise.
28676 [C99-based standards] (UINT32_MAX): Likewise.
28677 [C99-based standards] (UINT64_MAX): Likewise.
28678 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28679 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28680 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28681 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28682 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28683 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28684 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28685 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28686 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28687 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28688 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28689 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28690 [C99-based standards] (INT_FAST8_MIN): Likewise.
28691 [C99-based standards] (INT_FAST8_MAX): Likewise.
28692 [C99-based standards] (INT_FAST16_MIN): Likewise.
28693 [C99-based standards] (INT_FAST16_MAX): Likewise.
28694 [C99-based standards] (INT_FAST32_MIN): Likewise.
28695 [C99-based standards] (INT_FAST32_MAX): Likewise.
28696 [C99-based standards] (INT_FAST64_MIN): Likewise.
28697 [C99-based standards] (INT_FAST64_MAX): Likewise.
28698 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28699 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28700 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28701 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28702 [C99-based standards] (INTPTR_MIN): Likewise.
28703 [C99-based standards] (INTPTR_MAX): Likewise.
28704 [C99-based standards] (UINTPTR_MAX): Likewise.
28705 [C99-based standards] (INTMAX_MIN): Likewise.
28706 [C99-based standards] (INTMAX_MAX): Likewise.
28707 [C99-based standards] (UINTMAX_MAX): Likewise.
28708 [C99-based standards] (PTRDIFF_MIN): Likewise.
28709 [C99-based standards] (PTRDIFF_MAX): Likewise.
28710 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28711 [C99-based standards] (SIZE_MAX): Likewise.
28712 [C99-based standards] (WCHAR_MAX): Likewise.
28713 [C99-based standards] (WINT_MAX): Likewise.
28714 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28715 constraint on value.
28716 [C99-based standards] (WCHAR_MIN): Likewise.
28717 [C99-based standards] (WINT_MIN): Likewise.
28718 [C99-based standards] (*_t): Allow.
28719 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28720 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28721 Include math.h-data and complex.h-data. Remove all expectations
28722 of math.h and complex.h contents.
28723 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28725 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28726 (struct tm): Expect tag.
28727 [C99-based-standards] (wcstof): Expect function.
28728 [C99-based-standards] (wcstold): Likewise.
28729 [C99-based-standards] (wcstoll): Likewise.
28730 [C99-based-standards] (wcstoull): Likewise.
28731 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28732 macro-int-constant. Specify type.
28733 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28734 constraint on value.
28735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28737 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28739 [ISO C standards]: Do not allow headers.
28740 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28741 wcs[abcdefghijklmnopqrstuvwxyz]*.
28742 [ISO C standards] (*_t): Do not allow.
28743 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28745 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28746 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28748 [ISO C standards]: Do not allow headers.
28749 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28750 is[abcdefghijklmnopqrstuvwxyz]*.
28751 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28752 to[abcdefghijklmnopqrstuvwxyz]*.
28753 [ISO C standards] (*_t): Do not allow.
28754 * conform/data/stdalign.h-data: New file.
28755 * conform/data/stdbool.h-data: Likewise.
28756 * conform/data/stdnoreturn.h-data: Likewise.
28758 2012-11-07 Roland McGrath <roland@hack.frob.com>
28761 * manual/filesys.texi (Directory Entries): Typo fix.
28762 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28764 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28766 * elf/elf.h (EM_AARCH64): New macro.
28767 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28768 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28769 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28770 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28771 (R_AARCH64_TLSDESC): Likewise.
28772 (NT_ARM_TLS): Likewise.
28773 (NT_ARM_HW_BREAK): Likewise.
28774 (NT_ARM_HW_WATCH): Likewise.
28776 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28779 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28780 (__ieee754_powl): Saturate nonzero exponents with absolute value
28781 below 0x1p-79 to +/- 0x1p-79.
28782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28783 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28784 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28785 nonzero exponents with absolute value below 0x1p-32 to +/-
28787 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28788 (__ieee754_powl): Saturate nonzero exponents with absolute value
28789 below 0x1p-79 to +/- 0x1p-79.
28790 * math/libm-test.inc (pow_test): Add more tests.
28792 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28794 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28795 _dl_s390_cap_flags with kernel. Increase string length.
28796 (_dl_s390_platforms): Add z196 and zEC12.
28798 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28800 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28801 Change XOPEN21K to XOPEN2K.
28803 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28805 * string/memmove.c: Use memcpy when possible.
28807 2012-11-06 Andreas Jaeger <aj@suse.de>
28809 * po/eo.po: Update from translation team.
28811 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28815 exponent and small x and y exponents, scale x or y up. Increase
28816 by 2 the exponent used in scaling up.
28817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28819 * math/libm-test.inc (fma_test): Add more tests.
28820 (fma_test_towardzero): Likewise.
28821 (fma_test_downward): Likewise.
28822 (fma_test_upward): Likewise.
28824 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28827 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28831 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28832 namespace for names of struct fields.
28833 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28835 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28836 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28838 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28841 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28843 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28845 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28849 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28852 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28856 definitely overflow as x * y not x * y + z.
28857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28859 * math/libm-test.inc (fma_test): Add more tests.
28860 (fma_test_towardzero): Likewise.
28861 (fma_test_downward): Likewise.
28862 (fma_test_upward): Likewise.
28864 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28868 * include/stub-tag.h: Remove file.
28869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28871 * manual/maint.texi (Porting): Don't reference it.
28872 * Makerules ($(objpfx)stubs): Likewise.
28873 * dirent/closedir.c: Don't include <stub-tag.h>.
28874 * dirent/dirfd.c: Likewise.
28875 * dirent/fdopendir.c: Likewise.
28876 * dirent/getdents.c: Likewise.
28877 * dirent/getdents64.c: Likewise.
28878 * dirent/opendir.c: Likewise.
28879 * dirent/readdir.c: Likewise.
28880 * dirent/readdir64.c: Likewise.
28881 * dirent/readdir64_r.c: Likewise.
28882 * dirent/readdir_r.c: Likewise.
28883 * dirent/rewinddir.c: Likewise.
28884 * dirent/seekdir.c: Likewise.
28885 * dirent/telldir.c: Likewise.
28886 * gmon/profil.c: Likewise.
28887 * grp/setgroups.c: Likewise.
28888 * inet/if_index.c: Likewise.
28889 * io/access.c: Likewise.
28890 * io/chdir.c: Likewise.
28891 * io/chmod.c: Likewise.
28892 * io/chown.c: Likewise.
28893 * io/close.c: Likewise.
28894 * io/dup.c: Likewise.
28895 * io/dup2.c: Likewise.
28896 * io/dup3.c: Likewise.
28897 * io/euidaccess.c: Likewise.
28898 * io/faccessat.c: Likewise.
28899 * io/fchdir.c: Likewise.
28900 * io/fchmod.c: Likewise.
28901 * io/fchmodat.c: Likewise.
28902 * io/fchown.c: Likewise.
28903 * io/fchownat.c: Likewise.
28904 * io/fcntl.c: Likewise.
28905 * io/flock.c: Likewise.
28906 * io/fstatfs.c: Likewise.
28907 * io/fstatfs64.c: Likewise.
28908 * io/fstatvfs.c: Likewise.
28909 * io/fstatvfs64.c: Likewise.
28910 * io/futimens.c: Likewise.
28911 * io/fxstat.c: Likewise.
28912 * io/fxstat64.c: Likewise.
28913 * io/fxstatat.c: Likewise.
28914 * io/fxstatat64.c: Likewise.
28915 * io/getcwd.c: Likewise.
28916 * io/isatty.c: Likewise.
28917 * io/lchmod.c: Likewise.
28918 * io/lchown.c: Likewise.
28919 * io/link.c: Likewise.
28920 * io/linkat.c: Likewise.
28921 * io/lseek.c: Likewise.
28922 * io/lseek64.c: Likewise.
28923 * io/lxstat64.c: Likewise.
28924 * io/mkdir.c: Likewise.
28925 * io/mkdirat.c: Likewise.
28926 * io/mkfifo.c: Likewise.
28927 * io/mkfifoat.c: Likewise.
28928 * io/open.c: Likewise.
28929 * io/open64.c: Likewise.
28930 * io/openat.c: Likewise.
28931 * io/openat64.c: Likewise.
28932 * io/pipe.c: Likewise.
28933 * io/pipe2.c: Likewise.
28934 * io/poll.c: Likewise.
28935 * io/posix_fadvise.c: Likewise.
28936 * io/posix_fadvise64.c: Likewise.
28937 * io/posix_fallocate.c: Likewise.
28938 * io/posix_fallocate64.c: Likewise.
28939 * io/read.c: Likewise.
28940 * io/readlink.c: Likewise.
28941 * io/readlinkat.c: Likewise.
28942 * io/rmdir.c: Likewise.
28943 * io/sendfile.c: Likewise.
28944 * io/sendfile64.c: Likewise.
28945 * io/statfs.c: Likewise.
28946 * io/statfs64.c: Likewise.
28947 * io/statvfs.c: Likewise.
28948 * io/statvfs64.c: Likewise.
28949 * io/symlink.c: Likewise.
28950 * io/symlinkat.c: Likewise.
28951 * io/ttyname.c: Likewise.
28952 * io/ttyname_r.c: Likewise.
28953 * io/umask.c: Likewise.
28954 * io/unlink.c: Likewise.
28955 * io/unlinkat.c: Likewise.
28956 * io/utime.c: Likewise.
28957 * io/utimensat.c: Likewise.
28958 * io/write.c: Likewise.
28959 * io/xmknod.c: Likewise.
28960 * io/xmknodat.c: Likewise.
28961 * io/xstat.c: Likewise.
28962 * io/xstat64.c: Likewise.
28963 * login/getpt.c: Likewise.
28964 * login/grantpt.c: Likewise.
28965 * login/unlockpt.c: Likewise.
28966 * math/e_acoshl.c: Likewise.
28967 * math/e_acosl.c: Likewise.
28968 * math/e_asinl.c: Likewise.
28969 * math/e_atan2l.c: Likewise.
28970 * math/e_atanhl.c: Likewise.
28971 * math/e_coshl.c: Likewise.
28972 * math/e_expl.c: Likewise.
28973 * math/e_fmodl.c: Likewise.
28974 * math/e_gammal_r.c: Likewise.
28975 * math/e_hypotl.c: Likewise.
28976 * math/e_j0l.c: Likewise.
28977 * math/e_j1l.c: Likewise.
28978 * math/e_jnl.c: Likewise.
28979 * math/e_lgammal_r.c: Likewise.
28980 * math/e_log10l.c: Likewise.
28981 * math/e_log2l.c: Likewise.
28982 * math/e_logl.c: Likewise.
28983 * math/e_powl.c: Likewise.
28984 * math/e_rem_pio2l.c: Likewise.
28985 * math/e_sinhl.c: Likewise.
28986 * math/e_sqrtl.c: Likewise.
28987 * math/fclrexcpt.c: Likewise.
28988 * math/fedisblxcpt.c: Likewise.
28989 * math/feenablxcpt.c: Likewise.
28990 * math/fegetenv.c: Likewise.
28991 * math/fegetexcept.c: Likewise.
28992 * math/fegetround.c: Likewise.
28993 * math/feholdexcpt.c: Likewise.
28994 * math/fesetenv.c: Likewise.
28995 * math/fesetround.c: Likewise.
28996 * math/feupdateenv.c: Likewise.
28997 * math/fgetexcptflg.c: Likewise.
28998 * math/fraiseexcpt.c: Likewise.
28999 * math/fsetexcptflg.c: Likewise.
29000 * math/ftestexcept.c: Likewise.
29001 * math/k_cosl.c: Likewise.
29002 * math/k_rem_pio2l.c: Likewise.
29003 * math/k_sinl.c: Likewise.
29004 * math/k_tanl.c: Likewise.
29005 * math/s_asinhl.c: Likewise.
29006 * math/s_atanl.c: Likewise.
29007 * math/s_cbrtl.c: Likewise.
29008 * math/s_erfl.c: Likewise.
29009 * math/s_expm1l.c: Likewise.
29010 * math/s_log1pl.c: Likewise.
29011 * math/s_tanhl.c: Likewise.
29012 * misc/acct.c: Likewise.
29013 * misc/brk.c: Likewise.
29014 * misc/chflags.c: Likewise.
29015 * misc/chroot.c: Likewise.
29016 * misc/fchflags.c: Likewise.
29017 * misc/fgetxattr.c: Likewise.
29018 * misc/flistxattr.c: Likewise.
29019 * misc/fremovexattr.c: Likewise.
29020 * misc/fsetxattr.c: Likewise.
29021 * misc/fsync.c: Likewise.
29022 * misc/ftruncate.c: Likewise.
29023 * misc/futimes.c: Likewise.
29024 * misc/futimesat.c: Likewise.
29025 * misc/getdomain.c: Likewise.
29026 * misc/getdtsz.c: Likewise.
29027 * misc/gethostid.c: Likewise.
29028 * misc/gethostname.c: Likewise.
29029 * misc/getloadavg.c: Likewise.
29030 * misc/getpagesize.c: Likewise.
29031 * misc/getsysstats.c: Likewise.
29032 * misc/getxattr.c: Likewise.
29033 * misc/gtty.c: Likewise.
29034 * misc/ioctl.c: Likewise.
29035 * misc/lgetxattr.c: Likewise.
29036 * misc/listxattr.c: Likewise.
29037 * misc/llistxattr.c: Likewise.
29038 * misc/lremovexattr.c: Likewise.
29039 * misc/lsetxattr.c: Likewise.
29040 * misc/lutimes.c: Likewise.
29041 * misc/madvise.c: Likewise.
29042 * misc/mincore.c: Likewise.
29043 * misc/mlock.c: Likewise.
29044 * misc/mlockall.c: Likewise.
29045 * misc/mmap.c: Likewise.
29046 * misc/mprotect.c: Likewise.
29047 * misc/msync.c: Likewise.
29048 * misc/munlock.c: Likewise.
29049 * misc/munlockall.c: Likewise.
29050 * misc/munmap.c: Likewise.
29051 * misc/preadv.c: Likewise.
29052 * misc/preadv64.c: Likewise.
29053 * misc/ptrace.c: Likewise.
29054 * misc/pwritev.c: Likewise.
29055 * misc/pwritev64.c: Likewise.
29056 * misc/readv.c: Likewise.
29057 * misc/reboot.c: Likewise.
29058 * misc/remap_file_pages.c: Likewise.
29059 * misc/removexattr.c: Likewise.
29060 * misc/revoke.c: Likewise.
29061 * misc/select.c: Likewise.
29062 * misc/setdomain.c: Likewise.
29063 * misc/setegid.c: Likewise.
29064 * misc/seteuid.c: Likewise.
29065 * misc/sethostid.c: Likewise.
29066 * misc/sethostname.c: Likewise.
29067 * misc/setregid.c: Likewise.
29068 * misc/setreuid.c: Likewise.
29069 * misc/setxattr.c: Likewise.
29070 * misc/sstk.c: Likewise.
29071 * misc/stty.c: Likewise.
29072 * misc/swapoff.c: Likewise.
29073 * misc/swapon.c: Likewise.
29074 * misc/sync.c: Likewise.
29075 * misc/syncfs.c: Likewise.
29076 * misc/syscall.c: Likewise.
29077 * misc/truncate.c: Likewise.
29078 * misc/ualarm.c: Likewise.
29079 * misc/usleep.c: Likewise.
29080 * misc/ustat.c: Likewise.
29081 * misc/utimes.c: Likewise.
29082 * misc/vhangup.c: Likewise.
29083 * misc/writev.c: Likewise.
29084 * posix/_exit.c: Likewise.
29085 * posix/alarm.c: Likewise.
29086 * posix/execve.c: Likewise.
29087 * posix/fexecve.c: Likewise.
29088 * posix/fork.c: Likewise.
29089 * posix/fpathconf.c: Likewise.
29090 * posix/getaddrinfo.c: Likewise.
29091 * posix/getegid.c: Likewise.
29092 * posix/geteuid.c: Likewise.
29093 * posix/getgid.c: Likewise.
29094 * posix/getgroups.c: Likewise.
29095 * posix/getlogin.c: Likewise.
29096 * posix/getlogin_r.c: Likewise.
29097 * posix/getpgid.c: Likewise.
29098 * posix/getpid.c: Likewise.
29099 * posix/getppid.c: Likewise.
29100 * posix/getresgid.c: Likewise.
29101 * posix/getresuid.c: Likewise.
29102 * posix/getsid.c: Likewise.
29103 * posix/getuid.c: Likewise.
29104 * posix/glob64.c: Likewise.
29105 * posix/nanosleep.c: Likewise.
29106 * posix/pathconf.c: Likewise.
29107 * posix/pause.c: Likewise.
29108 * posix/posix_madvise.c: Likewise.
29109 * posix/pread.c: Likewise.
29110 * posix/pread64.c: Likewise.
29111 * posix/pwrite.c: Likewise.
29112 * posix/pwrite64.c: Likewise.
29113 * posix/sched_getaffinity.c: Likewise.
29114 * posix/sched_getp.c: Likewise.
29115 * posix/sched_gets.c: Likewise.
29116 * posix/sched_primax.c: Likewise.
29117 * posix/sched_primin.c: Likewise.
29118 * posix/sched_rr_gi.c: Likewise.
29119 * posix/sched_setaffinity.c: Likewise.
29120 * posix/sched_setp.c: Likewise.
29121 * posix/sched_sets.c: Likewise.
29122 * posix/sched_yield.c: Likewise.
29123 * posix/setgid.c: Likewise.
29124 * posix/setlogin.c: Likewise.
29125 * posix/setpgid.c: Likewise.
29126 * posix/setresgid.c: Likewise.
29127 * posix/setresuid.c: Likewise.
29128 * posix/setsid.c: Likewise.
29129 * posix/setuid.c: Likewise.
29130 * posix/sleep.c: Likewise.
29131 * posix/spawni.c: Likewise.
29132 * posix/sysconf.c: Likewise.
29133 * posix/times.c: Likewise.
29134 * posix/wait.c: Likewise.
29135 * posix/wait3.c: Likewise.
29136 * posix/wait4.c: Likewise.
29137 * posix/waitpid.c: Likewise.
29138 * resolv/gai_sigqueue.c: Likewise.
29139 * resource/getpriority.c: Likewise.
29140 * resource/getrlimit.c: Likewise.
29141 * resource/getrusage.c: Likewise.
29142 * resource/nice.c: Likewise.
29143 * resource/setpriority.c: Likewise.
29144 * resource/setrlimit.c: Likewise.
29145 * resource/ulimit.c: Likewise.
29146 * rt/aio_cancel.c: Likewise.
29147 * rt/aio_fsync.c: Likewise.
29148 * rt/aio_read.c: Likewise.
29149 * rt/aio_sigqueue.c: Likewise.
29150 * rt/aio_suspend.c: Likewise.
29151 * rt/aio_write.c: Likewise.
29152 * rt/clock_getres.c: Likewise.
29153 * rt/clock_gettime.c: Likewise.
29154 * rt/clock_nanosleep.c: Likewise.
29155 * rt/clock_settime.c: Likewise.
29156 * rt/lio_listio.c: Likewise.
29157 * rt/mq_close.c: Likewise.
29158 * rt/mq_getattr.c: Likewise.
29159 * rt/mq_notify.c: Likewise.
29160 * rt/mq_open.c: Likewise.
29161 * rt/mq_receive.c: Likewise.
29162 * rt/mq_send.c: Likewise.
29163 * rt/mq_setattr.c: Likewise.
29164 * rt/mq_timedreceive.c: Likewise.
29165 * rt/mq_timedsend.c: Likewise.
29166 * rt/mq_unlink.c: Likewise.
29167 * rt/shm_open.c: Likewise.
29168 * rt/shm_unlink.c: Likewise.
29169 * rt/timer_create.c: Likewise.
29170 * rt/timer_delete.c: Likewise.
29171 * rt/timer_getoverr.c: Likewise.
29172 * rt/timer_gettime.c: Likewise.
29173 * rt/timer_settime.c: Likewise.
29174 * setjmp/__longjmp.c: Likewise.
29175 * setjmp/setjmp.c: Likewise.
29176 * signal/kill.c: Likewise.
29177 * signal/killpg.c: Likewise.
29178 * signal/raise.c: Likewise.
29179 * signal/sigaction.c: Likewise.
29180 * signal/sigaltstack.c: Likewise.
29181 * signal/sigblock.c: Likewise.
29182 * signal/sigignore.c: Likewise.
29183 * signal/sigintr.c: Likewise.
29184 * signal/signal.c: Likewise.
29185 * signal/sigpause.c: Likewise.
29186 * signal/sigpending.c: Likewise.
29187 * signal/sigqueue.c: Likewise.
29188 * signal/sigreturn.c: Likewise.
29189 * signal/sigset.c: Likewise.
29190 * signal/sigsetmask.c: Likewise.
29191 * signal/sigstack.c: Likewise.
29192 * signal/sigsuspend.c: Likewise.
29193 * signal/sigtimedwait.c: Likewise.
29194 * signal/sigvec.c: Likewise.
29195 * signal/sigwait.c: Likewise.
29196 * signal/sigwaitinfo.c: Likewise.
29197 * signal/sysv_signal.c: Likewise.
29198 * socket/accept.c: Likewise.
29199 * socket/accept4.c: Likewise.
29200 * socket/bind.c: Likewise.
29201 * socket/connect.c: Likewise.
29202 * socket/getpeername.c: Likewise.
29203 * socket/getsockname.c: Likewise.
29204 * socket/getsockopt.c: Likewise.
29205 * socket/isfdtype.c: Likewise.
29206 * socket/listen.c: Likewise.
29207 * socket/recv.c: Likewise.
29208 * socket/recvfrom.c: Likewise.
29209 * socket/recvmsg.c: Likewise.
29210 * socket/send.c: Likewise.
29211 * socket/sendmsg.c: Likewise.
29212 * socket/sendto.c: Likewise.
29213 * socket/setsockopt.c: Likewise.
29214 * socket/shutdown.c: Likewise.
29215 * socket/sockatmark.c: Likewise.
29216 * socket/socket.c: Likewise.
29217 * socket/socketpair.c: Likewise.
29218 * stdio-common/ctermid.c: Likewise.
29219 * stdio-common/cuserid.c: Likewise.
29220 * stdio-common/remove.c: Likewise.
29221 * stdio-common/rename.c: Likewise.
29222 * stdio-common/renameat.c: Likewise.
29223 * stdio-common/tempname.c: Likewise.
29224 * stdlib/getcontext.c: Likewise.
29225 * stdlib/makecontext.c: Likewise.
29226 * stdlib/setcontext.c: Likewise.
29227 * stdlib/swapcontext.c: Likewise.
29228 * stdlib/system.c: Likewise.
29229 * streams/fattach.c: Likewise.
29230 * streams/fdetach.c: Likewise.
29231 * streams/getmsg.c: Likewise.
29232 * streams/getpmsg.c: Likewise.
29233 * streams/putmsg.c: Likewise.
29234 * streams/putpmsg.c: Likewise.
29235 * sysdeps/unix/bsd/getpt.c: Likewise.
29236 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29237 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29238 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29241 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29242 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29243 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29244 * sysvipc/msgctl.c: Likewise.
29245 * sysvipc/msgget.c: Likewise.
29246 * sysvipc/msgrcv.c: Likewise.
29247 * sysvipc/msgsnd.c: Likewise.
29248 * sysvipc/semctl.c: Likewise.
29249 * sysvipc/semget.c: Likewise.
29250 * sysvipc/semop.c: Likewise.
29251 * sysvipc/semtimedop.c: Likewise.
29252 * sysvipc/shmat.c: Likewise.
29253 * sysvipc/shmctl.c: Likewise.
29254 * sysvipc/shmdt.c: Likewise.
29255 * sysvipc/shmget.c: Likewise.
29256 * termios/tcdrain.c: Likewise.
29257 * termios/tcflow.c: Likewise.
29258 * termios/tcflush.c: Likewise.
29259 * termios/tcgetattr.c: Likewise.
29260 * termios/tcgetpgrp.c: Likewise.
29261 * termios/tcsendbrk.c: Likewise.
29262 * termios/tcsetattr.c: Likewise.
29263 * termios/tcsetpgrp.c: Likewise.
29264 * time/adjtime.c: Likewise.
29265 * time/clock.c: Likewise.
29266 * time/getitimer.c: Likewise.
29267 * time/gettimeofday.c: Likewise.
29268 * time/setitimer.c: Likewise.
29269 * time/settimeofday.c: Likewise.
29270 * time/stime.c: Likewise.
29271 * time/time.c: Likewise.
29273 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29275 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29278 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29280 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29282 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29286 FE_TONEAREST before applying Dekker multiplication and Knuth
29287 addition. Clear inexact exceptions and check for exact zero
29288 results afterwards.
29289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29292 * math/libm-test.inc (fma_test): Add more tests.
29293 (fma_test_towardzero): Likewise.
29294 (fma_test_downward): Likewise.
29295 (fma_test_upward): Likewise.
29296 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29298 (libc_fesetround): New macro.
29299 (libc_fesetroundf): Likewise.
29300 (libc_fesetroundl): Likewise.
29301 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29303 (libc_fesetround_387): Likewise.
29304 (libc_fesetroundf): New macro.
29305 (libc_fesetround): Likewise.
29306 (libc_fesetroundl): Likewise.
29307 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29309 (libc_fesetroundf): New macro.
29310 (libc_fesetround): Likewise.
29311 (libc_fesetroundl): Likewise.
29312 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29313 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29314 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29316 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29317 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29319 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29320 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29322 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29326 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29327 integer constant usable in #if and use that to give value to enum
29329 (FE_DIVBYZERO): Likewise.
29330 (FE_UNDERFLOW): Likewise.
29331 (FE_OVERFLOW): Likewise.
29332 (FE_INVALID): Likewise.
29333 (FE_INVALID_SNAN): Likewise.
29334 (FE_INVALID_ISI): Likewise.
29335 (FE_INVALID_IDI): Likewise.
29336 (FE_INVALID_ZDZ): Likewise.
29337 (FE_INVALID_IMZ): Likewise.
29338 (FE_INVALID_COMPARE): Likewise.
29339 (FE_INVALID_SOFTWARE): Likewise.
29340 (FE_INVALID_SQRT): Likewise.
29341 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29342 (FE_TONEAREST): Likewise.
29343 (FE_TOWARDZERO): Likewise.
29344 (FE_UPWARD): Likewise.
29345 (FE_DOWNWARD): Likewise.
29346 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29347 (FE_DIVBYZERO): Likewise.
29348 (FE_OVERFLOW): Likewise.
29349 (FE_UNDERFLOW): Likewise.
29350 (FE_INEXACT): Likewise.
29351 (FE_TONEAREST): Likewise.
29352 (FE_DOWNWARD): Likewise.
29353 (FE_UPWARD): Likewise.
29354 (FE_TOWARDZERO): Likewise.
29355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29356 (FE_UNDERFLOW): Likewise.
29357 (FE_OVERFLOW): Likewise.
29358 (FE_DIVBYZERO): Likewise.
29359 (FE_INVALID): Likewise.
29360 (FE_TONEAREST): Likewise.
29361 (FE_TOWARDZERO): Likewise.
29362 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29363 (FE_OVERFLOW): Likewise.
29364 (FE_UNDERFLOW): Likewise.
29365 (FE_DIVBYZERO): Likewise.
29366 (FE_INEXACT): Likewise.
29367 (FE_TONEAREST): Likewise.
29368 (FE_TOWARDZERO): Likewise.
29369 (FE_UPWARD): Likewise.
29370 (FE_DOWNWARD): Likewise.
29371 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29372 (FE_DIVBYZERO): Likewise.
29373 (FE_OVERFLOW): Likewise.
29374 (FE_UNDERFLOW): Likewise.
29375 (FE_INEXACT): Likewise.
29376 (FE_TONEAREST): Likewise.
29377 (FE_DOWNWARD): Likewise.
29378 (FE_UPWARD): Likewise.
29379 (FE_TOWARDZERO): Likewise.
29381 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29383 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29385 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29387 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29388 commands. Quote $PWD.
29389 (blacklist_exports): Don't use remove_newlines. Replace "declare
29391 (remove_newlines): Remove.
29393 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29395 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29396 * stdlib/stdlib.h (atof): Moved to ...
29397 * include/bits/stdlib-float.h: Here. New file.
29398 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29399 * stdlib/bits/stdlib-float.h: New file.
29400 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29405 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29407 * conform/conformtest.pl (@headers): Add fenv.h.
29408 * conform/data/fenv.h-data: New file.
29409 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29410 include of <math/fenv.h>.
29412 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29413 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29414 && !UNIX98]. Enables tests for XOPEN2K8.
29415 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29416 POSIX2008]: Likewise.
29418 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29419 (struct rusage): Do not expect type or its members.
29422 * math/math.h (FP_NAN): Define macro to integer constant usable in
29423 #if and use that to give value to enum constant.
29424 (FP_INFINITE): Likewise.
29425 (FP_ZERO): Likewise.
29426 (FP_SUBNORMAL): Likewise.
29427 (FP_NORMAL): Likewise.
29429 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29431 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29432 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29435 2012-11-02 Roland McGrath <roland@hack.frob.com>
29437 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29438 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29439 autoconf-time if not.
29440 * configure.in: Remove AC_PREREQ.
29442 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29444 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29445 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29446 of the internal implementation.
29448 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29450 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29451 except include of <misc/sys/syslog.h>.
29453 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29456 function returns with a NULL context exit with zero.
29458 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29460 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29462 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29464 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29465 (run_program_cmd): This.
29466 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29467 (tst_langinfo): New variable. Use it.
29469 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29471 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29472 floating point opcodes.
29474 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29476 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29479 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29481 * sysdeps/mach/hurd/powerpc: Remove directory.
29482 * sysdeps/mach/powerpc: Likewise.
29484 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29486 * scripts/check-local-headers.sh: Ignore c++ headers.
29488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29490 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29491 __libc_cleanup_region_start argument.
29493 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29498 x * y using scaling, not as x * y + z.
29499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29501 * math/libm-test.inc (fma_test): Add more tests.
29502 (fma_test_towardzero): Likewise.
29503 (fma_test_downward): Likewise.
29504 (fma_test_upward): Likewise.
29506 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29508 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29510 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29512 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29515 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29517 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29519 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29526 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29529 Fix the order of the list for glibc 2.17.
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29533 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29537 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29540 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29541 for low part of x being zero before using __atanl (y).
29542 * math/libm-test.inc (atan2_test): Add another test.
29544 * manual/install.texi (Configuring and compiling): Document
29545 general use of test-wrapper and test-wrapper-env.
29546 * INSTALL: Regenerated.
29548 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29549 (__fma): Do not extract and scale down low bits on after-rounding
29550 systems when result rounded to normal precision would have normal
29552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29553 (__fmal): Do not extract and scale down low bits on after-rounding
29554 systems when result rounded to normal precision would have normal
29556 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29557 (__fmal): Do not extract and scale down low bits on after-rounding
29558 systems when result rounded to normal precision would have normal
29560 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29562 (fma_test): Add more tests.
29563 (fma_test_towardzero): Likewise.
29564 (fma_test_downward): Likewise.
29565 (fma_test_upward): Likewise.
29567 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29569 * sysdeps/i386/tininess.h: Renamed to ...
29570 * sysdeps/x86/tininess.h: This.
29571 * sysdeps/x86_64/tininess.h: Removed.
29573 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29575 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29576 input. Use $(build-program-cmd).
29577 ($(objpfx)tst-array1-static.out): Likewise.
29578 ($(objpfx)tst-array2.out): Likewise.
29579 ($(objpfx)tst-array3.out): Likewise.
29580 ($(objpfx)tst-array4.out): Likewise.
29581 ($(objpfx)tst-array5.out): Likewise.
29582 ($(objpfx)tst-array5-static.out): Likewise.
29584 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29586 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29589 * nss/nsswitch.h (nss_interface_function): Provide new
29590 macro for use with NSS functions.
29591 * grp/initgroups.c: Use new macro.
29592 * nss/getXXbyYY.c: Likewise.
29593 * nss/getXXbyYY_r.c: Likewise.
29594 * nss/getXXent.c: Likewise.
29595 * nss/getXXent_r.c: Likewise.
29596 * sysdeps/posix/getaddrinfo.c: Likewise.
29598 2012-10-30 Andreas Jaeger <aj@suse.de>
29600 * po/ru.po: Update Russion translation from translation project.
29602 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29607 result and shift together with sticky bit instead of replicating
29608 round-to-nearest rounding.
29609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29611 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29612 missing underflow exceptions.
29613 (fma_test_towardzero): Add more tests.
29614 (fma_test_downward): Likewise.
29615 (fma_test_upward): Likewise.
29618 * sysdeps/generic/tininess.h: New file.
29619 * sysdeps/i386/tininess.h: Likewise.
29620 * sysdeps/sh/tininess.h: Likewise.
29621 * sysdeps/x86_64/tininess.h: Likewise.
29622 * stdlib/tst-strtod-underflow.c: Likewise.
29623 * stdlib/tst-tininess.c: Likewise.
29624 * stdlib/strtod_l.c: Include <tininess.h>.
29625 (round_and_return): Do not set errno for exact underflow cases.
29626 Force an underflow exception when setting errno for underflow.
29627 Determine underflow based on rounding to normal precision if
29628 TININESS_AFTER_ROUNDING.
29629 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29630 ERANGE for exact underflow cases.
29631 * stdlib/Makefile (tests): Add tst-tininess and
29632 tst-strtod-underflow.
29633 ($(objpfx)tst-tininess): Use $(link-libm).
29634 ($(objpfx)tst-strtod-underflow): Likewise.
29636 2012-10-30 Andreas Jaeger <aj@suse.de>
29639 * elf/Makefile (tests): Remove conditional for have-initfini-array
29640 since this is now always required and the variable does not exist
29642 (tests-static): Likewise.
29643 (modules-names): Likewise.
29645 * po/eo.po: Add Esperanto translation from translation project.
29647 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29648 merged with constructor/destructor.
29649 (init_array): Likewise.
29650 * elf/tst-array2dep.c (fini_array): Likewise.
29651 (init_array): Likewise.
29653 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29655 * manual/message.texi: Delete @cartouche tags.
29657 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29659 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29661 * sysdeps/mach/hurd/fsync.c: Likewise.
29663 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29664 [_POSIX_REALTIME_SIGNALS]: Change condition to
29665 [_POSIX_REALTIME_SIGNALS > 0].
29667 2012-10-27 Andreas Jaeger <aj@suse.de>
29669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29670 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29672 [__WORDSIZE != 64]: Likewise.
29674 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29676 * iconvdata/tst-table.sh: Remove ${SHELL}.
29677 * iconvdata/tst-tables.sh: Likewise.
29679 2012-10-25 David S. Miller <davem@davemloft.net>
29681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29682 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29687 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29688 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29689 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29692 2012-10-25 Roland McGrath <roland@hack.frob.com>
29694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29695 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29698 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29699 Jim Blandy <jimb@codesourcery.com>
29701 * scripts/cross-test-ssh.sh: New file.
29702 * manual/install.texi (Configuring and compiling): Document use of
29704 * INSTALL: Regenerated.
29706 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29708 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29711 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29713 * Makeconfig (run-program-prefix): Fix comment.
29715 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29716 Jim Blandy <jimb@codesourcery.com>
29718 * Makeconfig (test-wrapper): New variable,
29719 (test-wrapper-env): Likewise.
29720 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29721 (run-built-tests): Define to yes.
29722 (run-program-prefix): Use $(test-wrapper).
29723 (built-program-cmd): Likewise.
29724 * Rules (make-test-out): Use $(test-wrapper-env) and
29725 $(host-built-program-cmd).
29726 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29727 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29729 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29730 $(test-wrapper-env) to tst-rtld-load-self.sh.
29731 ($(objpfx)order2.out): Use $(test-wrapper).
29732 ($(objpfx)tst-initorder.out): Likewise.
29733 ($(objpfx)tst-initorder2.out): Likewise.
29734 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29735 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29736 (test_wrapper_env): New variable. Use it to run ld.so.
29737 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29738 Use it to run ld.so.
29739 (test_wrapper_env): Likewise.
29740 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29741 $(test-wrapper) to run-iconv-test.sh.
29742 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29743 (ICONV): Use $test_wrapper.
29744 * posix/Makefile ($(objpfx)globtest.out): Pass
29745 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29746 globtest.sh, not $(run-program-prefix).
29747 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29748 (test_wrapper): Likewise.
29749 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29750 set together with run_via_rtld_prefix.
29751 (run_program_prefix): Define in terms of test_wrapper and
29752 run_via_rtld_prefix.
29754 2012-10-24 Roland McGrath <roland@hack.frob.com>
29756 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29757 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29761 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29762 Declare __clock_getres, __clock_gettime, __clock_settime,
29763 __clock_nanosleep, and __clock_getcpuclockid.
29764 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29765 Remove librt_hidden_def (clock_gettime).
29766 * sysdeps/unix/clock_gettime.c: Likewise.
29767 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29769 * rt/clock_getres.c: Define __clock_getres as an alias.
29770 * sysdeps/posix/clock_getres.c: Likewise.
29771 * rt/clock_settime.c: Define __clock_settime as an alias.
29772 * sysdeps/unix/clock_settime.c: Likewise.
29773 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29774 * sysdeps/unix/clock_nanosleep.c: Likewise.
29775 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29776 * rt/clock-compat.c: New file.
29777 * rt/Makefile (librt-routines): Add clock-compat and move
29778 $(clock-routines) to ...
29779 (routines): ... here, new variable.
29780 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29781 Don't add get_clockfreq here.
29782 * rt/Versions (libc: GLIBC_2.17): New version set.
29783 Add clock_* symbols here.
29784 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29786 (GLIBC_2.17): Add clock_* symbols.
29787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29798 * NEWS: Mention the move.
29800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29801 Use __open, __read, __close rather than their public counterparts.
29802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29803 (__get_clockfreq_via_cpuinfo): Likewise.
29804 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29805 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29807 * config.h.in (HAVE_IFUNC): New #undef.
29808 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29810 * configure: Regenerated.
29812 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29814 * configure.in: Move READELF check to start of file.
29815 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29816 libc_cv_asm_gnu_indirect_function in the process.
29817 * configure: Regenerated.
29819 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29821 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29822 send the output to /dev/null.
29823 (libc_cv_cc_with_libunwind): Likewise.
29824 (libc_cv_as_noexecstack): Likewise.
29825 * configure: Regenerate.
29827 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29829 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29831 * posix/globtest.sh (TMPDIR): Do not set.
29832 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29833 (testout): Likewise.
29835 2012-10-24 Andreas Jaeger <aj@suse.de>
29837 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29838 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29839 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29840 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29841 posix_fadvise64, posix_fallocate64.
29843 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29844 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29845 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29847 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29849 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29852 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29853 <bits/fcntl-linux.h>.
29854 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29857 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29858 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29859 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29860 [__WORDSIZE != 64]: Likewise.
29862 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29864 * Makeconfig (run-built-tests): New variable.
29865 * Rules [$(cross-compiling) = yes]: Change condition to
29866 [$(run-built-tests) = no].
29867 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29868 to [$(run-built-tests) = yes].
29869 * elf/Makefile [$(cross-compiling) = no]: Likewise
29870 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29871 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29872 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29873 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29874 * io/Makefile [$(cross-compiling) = no]: Likewise.
29875 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29876 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29877 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29878 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29879 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29880 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29881 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29882 * string/Makefile [$(cross-compiling) = no]: Likewise.
29884 * posix/Makefile ($(objpfx)globtest.out): Pass
29885 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29886 $(rtld-installed-name).
29887 * posix/globtest.sh (elf_objpfx): Remove variable.
29888 (rtld_installed_name): Likewise.
29889 (library_path): Likewise.
29890 (run_program_prefix): New variable. Use for running globtest
29893 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29894 Joseph Myers <joseph@codesourcery.com>
29896 * Makeconfig (host-built-program-cmd): New variable.
29897 * elf/Makefile (tst-stackguard1-ARGS): Use
29898 $(host-built-program-cmd).
29899 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29900 (tst-spawn-ARGS): Likewise.
29901 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29903 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29904 Jim Blandy <jimb@codesourcery.com>
29906 * Makeconfig (run-via-rtld-prefix): New variable.
29907 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29908 (built-program-cmd): Likewise.
29910 2012-10-22 Andreas Jaeger <aj@suse.de>
29912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29913 __O_RSYNC if it exists, otherwise to O_SYNC.
29915 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29916 Joseph Myers <joseph@codesourcery.com>
29918 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29920 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29922 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29925 2012-10-22 Andreas Jaeger <aj@suse.de>
29927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29932 bits/fcntl-linux.h.
29934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29935 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29942 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29943 Joseph Myers <joseph@codesourcery.com>
29945 * config.make.in (NM): New variable.
29947 2012-10-21 Andreas Jaeger <aj@suse.de>
29949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29950 definitions and declarations that are provided by
29951 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29953 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29956 * elf/Makefile (tests-static): Add tst-leaks1-static.
29957 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29958 ($(objpfx)tst-leaks1-static): New rule.
29959 ($(objpfx)tst-leaks1-static-mem): Likewise.
29960 (tst-leaks1-static-ENV): New macro.
29961 * elf/dl-open.c (dl_open_worker): Check the main application
29962 only if SHARED is defined.
29963 * elf/tst-leaks1-static.c: New file.
29965 2012-10-20 Andreas Jaeger <aj@suse.de>
29967 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29968 generic values for Linux.
29969 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29970 and declarations that are provided by <bits/fcntl-linux.h> and
29971 include <bits/fcntl-linux.h>.
29972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29975 2012-10-20 Roland McGrath <roland@hack.frob.com>
29977 * io/fcntl.h: Move include of <bits/types.h> to the top and
29978 include it unconditionally.
29980 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29982 * wcsmbs/Makefile (tests-ifunc): New variable.
29983 (tests): Add $(tests-ifunc).
29984 * wcsmbs/test-wcschr-ifunc.c: New file.
29985 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29986 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29987 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29988 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29989 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29991 * string/Makefile (tests-ifunc): New variable.
29992 (tests): Add $(tests-ifunc).
29993 * string/test-memccpy.c (TEST_NAME): New macro.
29994 * string/test-memchr.c (TEST_NAME): Likewise.
29995 * string/test-memcmp.c (TEST_NAME): Likewise.
29996 * string/test-memcpy.c (TEST_NAME): Likewise.
29997 * string/test-memmem.c (TEST_NAME): Likewise.
29998 * string/test-memmove.c (TEST_NAME): Likewise.
29999 * string/test-memset.c (TEST_NAME): Likewise.
30000 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30001 * string/test-stpcpy.c (TEST_NAME): Likewise.
30002 * string/test-stpncpy.c (TEST_NAME): Likewise.
30003 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30004 * string/test-strcasestr.c (TEST_NAME): Likewise.
30005 * string/test-strcat.c (TEST_NAME): Likewise.
30006 * string/test-strchr.c (TEST_NAME): Likewise.
30007 * string/test-strcmp.c(TEST_NAME): Likewise.
30008 * string/test-strcpy.c (TEST_NAME): Likewise.
30009 * string/test-strcspn.c (TEST_NAME): Likewise.
30010 * string/test-strlen.c (TEST_NAME): Likewise.
30011 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30012 * string/test-strncmp.c (TEST_NAME): Likewise.
30013 * string/test-strncpy.c (TEST_NAME): Likewise.
30014 * string/test-strnlen.c (TEST_NAME): Likewise.
30015 * string/test-strpbrk.c (TEST_NAME): Likewise.
30016 * string/test-strrchr.c (TEST_NAME): Likewise.
30017 * string/test-strspn.c (TEST_NAME): Likewise.
30018 * string/test-strstr.c (TEST_NAME): Likewise.
30019 * string/test-bcopy-ifunc.c: New file.
30020 * string/test-bzero-ifunc.c: Likewise.
30021 * string/test-memccpy-ifunc.c: Likewise.
30022 * string/test-memchr-ifunc.c: Likewise.
30023 * string/test-memcmp-ifunc.c: Likewise.
30024 * string/test-memcpy-ifunc.c: Likewise.
30025 * string/test-memmem-ifunc.c: Likewise.
30026 * string/test-memmove-ifunc.c: Likewise.
30027 * string/test-mempcpy-ifunc.c: Likewise.
30028 * string/test-memset-ifunc.c: Likewise.
30029 * string/test-rawmemchr-ifunc.c: Likewise.
30030 * string/test-stpcpy-ifunc.c: Likewise.
30031 * string/test-stpncpy-ifunc.c: Likewise.
30032 * string/test-strcasecmp-ifunc.c: Likewise.
30033 * string/test-strcasestr-ifunc.c: Likewise.
30034 * string/test-strcat-ifunc.c: Likewise.
30035 * string/test-strchr-ifunc.c: Likewise.
30036 * string/test-strchrnul-ifunc.c: Likewise.
30037 * string/test-strcmp-ifunc.c: Likewise.
30038 * string/test-strcpy-ifunc.c: Likewise.
30039 * string/test-strcspn-ifunc.c: Likewise.
30040 * string/test-strlen-ifunc.c: Likewise.
30041 * string/test-strncasecmp-ifunc.c: Likewise.
30042 * string/test-strncat-ifunc.c: Likewise.
30043 * string/test-strncmp-ifunc.c: Likewise.
30044 * string/test-strncpy-ifunc.c: Likewise.
30045 * string/test-strnlen-ifunc.c: Likewise.
30046 * string/test-strpbrk-ifunc.c: Likewise.
30047 * string/test-strrchr-ifunc.c: Likewise.
30048 * string/test-strspn-ifunc.c: Likewise.
30049 * string/test-strstr-ifunc.c: Likewise.
30051 * debug/Makefile (tests-ifunc): New variable.
30052 (tests): Add $(tests-ifunc).
30053 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30054 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30055 * debug/test-stpcpy_chk-ifunc.c: New file.
30056 * debug/test-strcpy_chk-ifunc.c: Likewise.
30058 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30061 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30062 header is not read in.
30064 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30066 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30067 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30068 directly. Pass built executable to script as
30069 $(built-program-cmd).
30070 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30071 $testprogram without using LD_LIBRARY_PATH and $ldso.
30073 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30074 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30075 $(rtld-installed-name).
30076 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30077 (rtld_installed_name): Likewise.
30078 (library_path): Likewise.
30079 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30080 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30081 $(run-program-prefix) to tst-tables.sh.
30082 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30083 it to run tst-table-from and tst-table-to.
30084 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30085 Pass it to tst-table.sh.
30086 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30087 $(run-program-prefix) to tst-gettext.sh.
30088 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30090 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30092 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30093 to run tst-gettext.
30094 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30095 to run tst-gettext2.
30096 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30097 to run tst-translit.
30098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30099 $(run-program-prefix) to tst-mtrace.sh.
30100 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30102 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30103 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30104 $(rtld-installed-name).
30105 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30106 (rtld_installed_name): Likewise.
30107 (run_program_prefix): New variable. Use it to run wordexp-test.
30109 * Makeconfig (ARCH): Remove all definitions.
30110 (machine): Likewise.
30111 [ARCH]: Remove conditional code.
30112 [!objdir]: Give error.
30113 [!objdir] (objpfx): Remove.
30114 [!objdir] (common-objpfx): Likewise.
30115 [!objdir] (common-objdir): Likewise.
30116 * configure.in (config_makefile): Remove. Hardcode Makefile in
30117 AC_CONFIG_FILES call.
30118 * configure: Regenerated.
30121 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30123 (testout): Likewise.
30125 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30126 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30127 $(rtld-installed-name).
30128 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30129 (rtld_installed_name): Likwise.
30130 (runit): Remove function.
30131 (run_getconf): New variable, Use it for running getconf binary.
30133 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30136 * string/test-memmem.c (check_result): New function.
30137 (do_one_test): Use it.
30138 (check1): New function.
30139 (test_main): Use it.
30141 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30143 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30145 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30147 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30148 (_G_LSEEK64): Likewise.
30149 (_G_MMAP64): Likewise.
30150 (_G_FSTAT64): Likewise.
30151 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30152 (_G_LSEEK64): Likewise.
30153 (_G_MMAP64): Likewise.
30154 (_G_FSTAT64): Likewise.
30155 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30156 unconditional. Call __mmap64 directly.
30157 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30158 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30159 __lseek64 directly.
30160 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30161 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30163 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30164 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30165 __lseek64 directly.
30166 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30167 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30168 __lseek64 directly.
30169 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30170 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30171 __lseek64 directly.
30172 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30173 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30174 __fxstat64 directly.
30175 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30176 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30178 (freopen64) [!_G_OPEN64]: Remove conditional code.
30179 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30181 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30182 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30184 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30185 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30187 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30188 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30190 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30191 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30193 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30194 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30196 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30197 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30199 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30201 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30204 * manual/memory.texi (Malloc Tunable Parameters): Add note
30205 about free list pointers overwriting some perturb bytes.
30206 Wording suggested by Roland McGrath.
30208 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30210 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30211 (lgamma_test): Likewise.
30212 (tgamma_test): Likewise.
30214 2012-10-16 Florian Weimer <fweimer@redhat.com>
30217 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30218 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30220 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30222 * NEWS: Mention BZ #14716.
30223 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30224 when removing AVAILABLE1_USES_J macro.
30226 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30228 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30229 (__bswap_64): __uint64_t for unsigned 64-bit int.
30231 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30233 * include/string.h (memmem): Declare libc hidden alias.
30234 * string/memmem.c (memmem): Define libc hidden alias.
30235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30236 __read, __close instead of open, read, close.
30238 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30241 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30243 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30244 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30245 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30247 (__rawmemchr_sse2): Likewise.
30248 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30249 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30250 (__strchr_sse2): Likewise.
30251 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30252 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30253 (__strcasecmp_sse2): Likewise.
30254 (__strncasecmp_sse2): Likewise.
30255 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30256 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30257 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30258 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30259 (__strrchr_sse2): Likewise.
30260 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30262 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30263 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30264 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30265 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30266 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30267 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30270 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30271 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30272 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30274 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30275 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30276 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30278 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30279 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30280 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30281 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30282 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30283 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30284 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30285 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30286 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30287 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30288 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30289 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30290 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30291 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30293 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30295 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30296 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30297 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30298 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30300 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30302 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30303 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30304 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30305 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30307 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30309 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30310 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30311 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30312 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30313 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30314 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30315 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30317 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30318 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30319 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30320 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30321 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30323 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30324 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30326 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30331 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30333 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30335 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30349 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30350 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30351 * include/ifunc-impl-list.h: New file.
30352 * misc/ifunc-impl-list.c: Likewise.
30353 * misc/Makefile (routines): Add ifunc-impl-list.
30354 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30355 * string/test-string.h: Include <ifunc-impl-list.h>.
30356 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30357 TEST_NAME]: New variables.
30358 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30360 (test_init): Call __libc_ifunc_impl_list to initialize
30361 func_list if TEST_IFUNC and TEST_NAME are defined.
30363 * string/Makefile (strop-tests): Add bcopy and bzero.
30364 * string/test-bcopy.c: New file.
30365 * string/test-bzero.c: Likewise.
30366 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30368 * string/test-memset.c: Support bzero test if TEST_BZERO is
30370 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30372 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30374 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30377 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30379 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30380 * configure: Regenerated.
30382 * Makeconfig (+link-static-before-libc): Don't include
30383 $(link-static-libc).
30385 * libio/libio.h (_IO_pos_t): Remove.
30387 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30389 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30392 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30394 * crypt/crypt-entry.c: Include fips-private.h.
30395 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30396 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30397 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30398 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30400 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30402 * crypt/crypt-private.h: Include stdbool.h.
30403 (_ufc_setup_salt_r): Return bool.
30404 * crypt/crypt-entry.c: Include errno.h.
30405 (__crypt_r): Return NULL with EINVAL for bad salt.
30406 * crypt/crypt_util.c (bad_for_salt): New.
30407 (_ufc_setup_salt_r): Check that salt is long enough and within
30408 the specified alphabet.
30409 * crypt/badsalttest.c: New file.
30410 * crypt/Makefile (tests): Add it.
30411 ($(objpfx)badsalttest): New.
30413 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30415 * NEWS: Add entry for BZ #14602.
30417 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30419 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30421 * math/libm-test.inc: Update comment listing what functions and
30423 (isgreater_test): New function.
30424 (isgreaterequal_test): Likewise.
30425 (isless_test): Likewise.
30426 (islessequal_test): Likewise.
30427 (islessgreater_test): Likewise.
30428 (isunordered_test): Likewise.
30429 (main): Call the new functions.
30431 2012-10-09 Roland McGrath <roland@hack.frob.com>
30433 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30434 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30435 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30436 * sysdeps/i386/configure: Regenerated.
30437 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30438 * sysdeps/mach/configure: Regenerated.
30439 * sysdeps/mach/hurd/configure: Regenerated.
30440 * sysdeps/powerpc/configure: Regenerated.
30441 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30442 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30443 * sysdeps/s390/s390-32/configure: Regenerated.
30444 * sysdeps/s390/s390-64/configure: Regenerated.
30445 * sysdeps/sh/configure: Regenerated.
30446 * sysdeps/sparc/configure: Regenerated.
30447 * sysdeps/unix/sysv/linux/configure: Regenerated.
30448 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30449 * sysdeps/x86_64/configure: Regenerated.
30451 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30452 defined. Don't check if MAP is NULL.
30454 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30456 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30457 (_G_stat64): Likewise.
30458 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30459 (_G_stat64): Likewise.
30460 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30461 instead of struct _G_stat64.
30462 * libio/fileops.c (mmap_remap_check): Likewise.
30463 (decide_maybe_mmap): Likewise.
30464 (_IO_new_file_seekoff): Likewise.
30465 (_IO_file_stat): Likewise.
30466 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30468 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30469 instead of struct _G_stat64.
30470 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30472 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30475 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30477 (CHECK_EOL): New macro.
30478 (two_way_short_needle): Check beginning of haystack for EOL. Use
30480 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30481 Replace with CHECK_EOL.
30482 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30483 Replace with CHECK_EOL.
30485 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30487 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30489 * math/libm-test.inc: Update comment listing what functions and
30491 (finite_test): New function.
30492 (isinf_test): Likewise.
30493 (isnan_test): Likewise.
30494 (fpclassify_test): Test subnormal input.
30495 (isfinite_test): Likewise.
30496 (isnormal_test): Likewise.
30497 (main): Call the new functions.
30499 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30502 * Makerules (%.dynsym): Force C locale when running
30503 $(OBJDUMP) --dynamic-syms.
30505 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30510 2012-10-06 David S. Miller <davem@davemloft.net>
30512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30513 upper 32-bits of the length value in %o2 since we use branch-on-register
30514 tests which consider the entire 64-bit register.
30516 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30518 * string/test-strstr.c (check2): Add a test for page boundary.
30520 2012-10-05 David S. Miller <davem@davemloft.net>
30522 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30525 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30527 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30528 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30529 and bzero when HWCAP_SPARC_CRYPTO is present.
30531 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30534 * string/test-strstr.c (check2): New function.
30535 (test_main): Call check2.
30537 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30539 * string/bug-strcasestr1.c (do_test): Moved to ...
30540 * string/test-strcasestr.c (check1): Here. New function.
30541 (do_one_test): Break out result checking code into ...
30542 (check_result): This. New function.
30543 (do_one_test): Call check_result.
30544 (test_main): Call check1.
30545 * string/bug-strchr1.c (do_test): Moved to ...
30546 * string/test-strchr.c (check1): Here. New function.
30547 (do_one_test): Break out result checking code into ...
30548 (check_result): This. New function.
30549 (do_one_test): Call check_result.
30550 (test_main): Call check1.
30551 * string/bug-strstr1.c (main): Moved to ...
30552 * string/test-strstr.c (check1): Here. New function.
30553 (do_one_test): Break out result checking code into ...
30554 (check_result): This. New function.
30555 (do_one_test): Call check_result.
30556 (test_main): Call check1.
30557 * string/bug-strcasestr1.c: Removed.
30558 * string/bug-strchr1.c: Likewise.
30559 * string/bug-strstr1.c: Likewise.
30561 * elf/Makefile (dl-routines): Add hwcaps.
30562 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30563 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30564 (_dl_important_hwcaps): Moved to ...
30565 * elf/dl-hwcaps.c: Here. New file.
30566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30569 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30570 if IS_IN_rtld isn't defined.
30572 * elf/dl-support.c (_dl_sysinfo_map): New.
30573 Include "get-dynamic-info.h" and "setup-vdso.h".
30574 (_dl_non_dynamic_init): Call setup_vdso.
30575 * elf/dynamic-link.h: Don't include <assert.h>.
30576 (elf_get_dynamic_info): Moved to ...
30577 * elf/get-dynamic-info.h: Here. New file.
30578 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30579 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30580 * elf/setup-vdso.h: Here. New file.
30581 * elf/rtld.c: Include "setup-vdso.h".
30582 (dl_main): Call setup_vdso.
30584 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30586 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30587 creal in comment listing functions tested. List finite, isinf,
30588 isnan, isless, islessequal, isgreater, isgreaterequal,
30589 islessgreater, isunordered, lgamma_r and pow10 as functions and
30590 macros not tested. Mention which functions not tested are aliases
30591 for other functions. Fix typo. Note that signs of NaNs are not
30594 * scripts/config.guess: Update from config.git.
30595 * scripts/config.sub: Likewise.
30597 2012-10-04 Roland McGrath <roland@hack.frob.com>
30599 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30600 * misc/madvise.c (madvise): Renamed to __madvise.
30601 Make madvise a weak alias.
30602 * include/sys/mman.h: Declare __madvise.
30603 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30604 * sysdeps/unix/syscalls.list
30605 (madvise): Make __madvise the strong name, and madvise a weak alias.
30606 * sysdeps/unix/sysv/linux/syscalls.list
30607 (madvise, mmap): Remove redundant entries.
30608 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30609 * malloc/malloc.c (mtrim): Likewise.
30610 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30612 2012-10-03 Roland McGrath <roland@hack.frob.com>
30614 * sysdeps/mach/hurd/dl-cache.c: File removed.
30615 * config.h.in (USE_LDCONFIG): New #undef.
30616 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30617 * configure: Regenerated.
30618 * elf/Makefile (dl-routines): Add dl-cache only under
30619 [$(use-ldconfig) = yes].
30620 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30621 cache on [USE_LDCONFIG].
30622 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30624 * elf/rtld.c (dl_main): Likewise.
30626 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30628 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30629 _SC_LEVEL4_CACHE_LINESIZE.
30631 2012-10-03 Roland McGrath <roland@hack.frob.com>
30633 * sysdeps/unix/bsd/confstr.h: File removed.
30635 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30637 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30640 2012-10-02 Roland McGrath <roland@hack.frob.com>
30642 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30643 Make 'mapoff' field ElfW(Off) rather than off_t.
30645 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30647 * nscd/Makefile: Remove nscd-cflags and all its users.
30648 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30649 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30652 * malloc.c (malloc_printerr): Clarify error message.
30654 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30658 Set bit_FMA_Usable if FMA is supported.
30659 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30661 (bit_FMA4_Usable): Updated.
30662 (index_FMA_Usable): New macro.
30663 (CPUID_FMA): Likewise
30664 (HAS_FMA): Defined with bit_FMA_Usable.
30666 2012-10-01 Roland McGrath <roland@hack.frob.com>
30668 * bits/types.h (__swblk_t): Type removed.
30669 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30670 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30672 (__SWBLK_T_TYPE): Likewise.
30673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30674 (__SWBLK_T_TYPE): Likewise.
30675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30676 (__SWBLK_T_TYPE): Likewise.
30677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30678 (__SWBLK_T_TYPE): Likewise.
30680 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30681 Honza Horak <hhorak@redhat.com>
30683 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30684 (xdr_mapname): Use YPMAXMAP as maxsize.
30685 (xdr_peername): Use YPMAXPEER as maxsize.
30686 (xdr_keydat): Use YPAXRECORD as maxsize.
30687 (xdr_valdat): Use YPMAXRECORD as maxsize.
30689 2012-10-01 Roland McGrath <roland@hack.frob.com>
30691 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30693 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30694 * csu/init-first.c: ... here.
30695 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30696 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30699 * sysdeps/i386/init-first.c: File removed.
30700 * sysdeps/sh/init-first.c: File removed.
30702 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30706 if x * y might underflow to zero and z is zero.
30707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30709 * math/libm-test.inc (min_subnorm_value): New variable.
30710 (fma_test): Add more tests.
30711 (fma_test_towardzero): Likewise.
30712 (fma_test_downward): Likewise
30713 (fma_test_upward): Likewise.
30714 (initialize): Set min_subnorm_value.
30716 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30722 mode for addition resulting in exact zero.
30723 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30728 * math/libm-test.inc (fma_test): Add more tests.
30729 (fma_test_towardzero): New function.
30730 (fma_test_downward): Likewise.
30731 (fma_test_upward): Likewise.
30732 (main): Call the new functions.
30734 2012-09-28 David S. Miller <davem@davemloft.net>
30736 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30738 2012-09-28 Roland McGrath <roland@hack.frob.com>
30740 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30741 instead of SIGALRM.
30743 * sysdeps/gnu/_G_config.h: Moved to ...
30744 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30745 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30746 * sysdeps/generic/_G_config.h: ... here.
30748 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30750 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30752 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30753 Conditionalize target on [libnss_test1.so-version].
30755 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30757 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30758 (elfobjdir): Move out of conditionals.
30760 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30761 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30762 (__nss_lookup_function): Conditionalize label remove_from_tree on
30763 [!DO_STATIC_NSS || SHARED], matching its only use.
30765 2012-09-28 David S. Miller <davem@davemloft.net>
30767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30768 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30770 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30772 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30774 when HWCAP_SPARC_CRYPTO is present.
30776 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30778 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30780 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30783 * stdio-common/vfprintf.c (process_string_arg): Revert
30786 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30788 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30790 * stdio-common/tst-sprintf.c: Include <locale.h>
30791 (main): Test sprintf's handling of incomplete multibyte
30794 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30796 * elf/dl-runtime.c (VERSYMIDX): Removed.
30797 * elf/dl-version.c (VERSYMIDX): Likewise.
30798 * elf/do-rel.h (VERSYMIDX): Likewise.
30799 (VALIDX): Likewise.
30800 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30801 * elf/rtld.c (VALIDX): Likewise.
30802 (ADDRIDX): Likewise.
30803 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30804 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30805 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30806 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30807 (VALIDX): Likewise.
30808 (ADDRIDX): Likewise.
30810 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30812 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30814 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30817 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30819 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30820 addresses are in the same scope as 192.0.2/24.
30821 * posix/gai.conf: Document new scope table defaults.
30823 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30826 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30827 for ftell. Compute offsets from write pointers instead.
30828 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30830 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30833 * libio/Makefile (tests): New test case tst-fseek.
30834 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30835 combination works in wide mode.
30836 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30837 state when the external buffer state changes.
30839 2012-09-27 David S. Miller <davem@davemloft.net>
30842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30843 pass reloc->r_addend in as the 'high' argument to
30844 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30850 * rt/tst-aio2.c: Include <pthread.h>.
30851 * rt/tst-aio3.c: Likewise.
30853 2012-09-27 Steve Ellcey <sellcey@mips.com>
30855 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30857 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30859 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30860 contents on [SHARED].
30862 2012-09-26 Marek Polacek <polacek@redhat.com>
30866 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30867 for C++ and GCC <4.3 as well as for non GCC compilers.
30869 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30873 2012-09-25 Roland McGrath <roland@hack.frob.com>
30875 * Makefile.in (all, install): Declare with .PHONY.
30876 Reported by Michael Hope <michael.hope@linaro.org>.
30878 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30880 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30881 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30883 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30885 (sydep_routines): Add the new and the internal functions.
30886 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30887 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30889 (GLIBC_2.17): Add the new function.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30891 (GLIBC_2.17): Likewise.
30892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30893 (GLIBC_2.17): Likewise.
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30895 (GLIBC_2.17): Likewise.
30896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30898 2012-09-25 Alan Modra <amodra@gmail.com>
30900 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30901 Add release barrier before setting once_control to say
30902 initialisation is done. Add hints on lwarx. Use macro in
30904 (clear_once_control): Add release barrier.
30906 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30909 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30911 * math/s_clog10.c (__clog10): Likewise.
30912 * math/s_clog10f.c (__clog10f): Likewise.
30913 * math/s_clog10l.c (__clog10l): Likewise.
30914 * math/s_clogf.c (__clogf): Likewise.
30915 * math/s_clogl.c (__clogl): Likewise.
30916 * math/Makefile (libm-calls): Add x2y2m1.
30917 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30918 (__x2y2m1): Likewise.
30919 (__x2y2m1l): Likewise.
30920 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30921 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30924 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30925 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30926 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30927 * sysdeps/i386/fpu/libm-test-ulps: Update.
30928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30931 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30932 int as type of variable DEPTH.
30933 (glob): Use size_t instead of int as type of variables NEWCOUNT
30936 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30939 Add s_sincosf-sse2.
30940 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30941 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30942 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30943 macros for using routine as __sincosf_ia32.
30944 Use macro for function declaration and weak_alias.
30945 * sysdeps/i386/fpu/libm-test-ulps: Update.
30947 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30950 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30951 subnormal argument.
30952 * math/s_cexpf.c (__cexpf): Likewise.
30953 * math/s_csinf.c (__csinf): Likewise.
30954 * math/s_csinhf.c (__csinhf): Likewise.
30955 * math/s_ctanf.c (__ctanf): Likewise.
30956 * math/s_ctanhf.c (__ctanhf): Likewise.
30957 * math/s_ccosh.c (__ccoshf): Likewise.
30958 * math/s_cexp.c (__cexpl): Likewise.
30959 * math/s_csin.c (__csin): Likewise.
30960 * math/s_csinh.c (__csinh): Likewise.
30961 * math/s_ctan.c (__ctan): Likewise.
30962 * math/s_ctanh.c (ctanh): Likewise.
30963 * math/s_ccoshl.c (__ccoshl): Likewise.
30964 * math/s_cexpl.c (__cexpl): Likewise.
30965 * math/s_csinl.c (__csinl): Likewise.
30966 * math/s_csinhl.c (__csinhl): Likewise.
30967 * math/s_ctanl.c (__ctanl): Likewise.
30968 * math/s_ctanhl.c (__ctanhl): Likewise.
30970 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30972 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30973 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30974 (_IO_off_t): Define to __off_t, not _G_off_t.
30975 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30976 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30977 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30978 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30979 type of __dummy and __dummy2 fields.
30980 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30981 (_G_ssize_t): Likewise.
30982 (_G_off_t): Likewise.
30983 (_G_pid_t): Likewise.
30984 (_G_uid_t): Likewise.
30985 (_G_wchar_t): Likewise.
30986 (_G_wint_t): Likewise.
30987 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30988 (_G_ssize_t): Likewise.
30989 (_G_off_t): Likewise.
30990 (_G_pid_t): Likewise.
30991 (_G_uid_t): Likewise.
30992 (_G_wchar_t): Likewise.
30993 (_G_wint_t): Likewise.
30994 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30995 (_G_ssize_t): Likewise.
30996 (_G_off_t): Likewise.
30997 (_G_pid_t): Likewise.
30998 (_G_uid_t): Likewise.
30999 (_G_wchar_t): Likewise.
31000 (_G_wint_t): Likewise.
31002 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31004 * malloc/arena.c: Include malloc-sysdep.h.
31005 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31006 is sufficient to shrink the heap or an unmap is needed.
31007 * sysdeps/generic/malloc-sysdep.h: New file. Define
31008 new function check_may_shrink_heap.
31009 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31010 new function check_may_shrink_heap.
31012 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31014 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31017 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31019 * catgets/test-gencat.sh: Add "set -e".
31020 * elf/tst-pathopt.sh: Likewise.
31021 * grp/tst_fgetgrent.sh: Likewise.
31022 * iconvdata/run-iconv-test.sh: Likewise.
31023 * intl/tst-gettext.sh: Likewise.
31024 * intl/tst-gettext2.sh: Likewise.
31025 * intl/tst-gettext4.sh: Likewise.
31026 * intl/tst-gettext6.sh: Likewise.
31027 * intl/tst-translit.sh: Likewise.
31028 * io/ftwtest-sh: Likewise.
31029 * libio/test-freopen.sh: Likewise.
31030 * malloc/tst-mtrace.sh: Likewise.
31031 * posix/globtest.sh: Likewise.
31032 * posix/tst-getconf.sh: Likewise.
31033 * posix/wordexp-tst.sh: Likewise.
31034 * stdio-common/tst-printf.sh: Likewise.
31035 * stdio-common/tst-unbputc.sh: Likewise.
31036 * stdlib/tst-fmtmsg.sh: Likewise.
31037 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31038 * catgets/Makefile: Do not specify -e option when running
31039 testsuite shell scripts.
31040 * elf/Makefile: Likewise.
31041 * grp/Makefile: Likewise.
31042 * iconvdata/Makefile: Likewise.
31043 * intl/Makefile: Likewise.
31044 * io/Makefile: Likewise.
31045 * libio/Makefile: Likewise.
31046 * malloc/Makefile: Likewise.
31047 * posix/Makefile: Likewise.
31048 * stdio-common/Makefile: Likewise.
31049 * stdlib/Makefile: Likewise.
31050 * sysdeps/x86_64/Makefile: Likewise.
31052 * io/ftwtest-sh: Add copyright header.
31053 * posix/globtest.sh: Likewise.
31054 * posix/tst-getconf.sh: Likewise.
31055 * posix/wordexp-tst.sh: Likewise.
31056 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31058 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31061 * Makeconfig (+link): Defined as $(+link-static) if
31062 $(build-shared) isn't yes.
31063 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31065 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31067 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31070 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31071 new chunk size with MALLOC_ALIGN_MASK.
31073 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31076 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31078 (__printf_fphex): Determine rounding using get_rounding_mode and
31080 * stdio-common/tst-printf-round.c (struct hex_test): New
31082 (hex_tests): New variable.
31083 (test_hex_in_one_mode): New function.
31084 (do_test): Also run tests for hex float output.
31086 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31088 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31089 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31090 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31091 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31092 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31093 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31094 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31095 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31097 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31099 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31100 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31101 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31102 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31104 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31107 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31109 * elf/tst-rtld-load-self.sh: New test.
31110 * elf/Makefile: Run it.
31112 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31114 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31115 (tst-writev-ENV): Remove.
31116 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31118 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31120 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31122 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31124 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31126 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31128 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31129 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31133 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31136 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31137 * config.make.in (have-cpp-asm-debuginfo): Removed.
31138 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31139 * configure: Regenerated.
31141 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31144 * stdio-common/printf_fp.c: Include <stdbool.h> and
31146 (___printf_fp): Determine rounding using get_rounding_mode and
31148 * stdio-common/tst-printf-round.c: New file.
31149 * stdio-common/Makefile (tests): Add tst-printf-round.
31150 (link-libm): New variable.
31151 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31153 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31156 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31157 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31159 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31162 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31164 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31165 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31166 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31169 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31172 * include/rounding-mode.h: New file.
31173 * sysdeps/generic/get-rounding-mode.h: Likewise.
31174 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31175 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31176 (MAX_VALUE): New macro.
31177 (MIN_VALUE): Likewise.
31178 (overflow_value): New function.
31179 (underflow_value): Likewise.
31180 (round_and_return): Use overflow_value and underflow_value to
31181 determine return values in overflow and underflow cases. Use
31182 round_away to determine rounding depending on rounding mode.
31183 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31184 determine return values in overflow and underflow cases.
31185 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31186 (struct test_results): New structure.
31187 (struct test): Use struct test_results to store expected results
31188 for all rounding modes.
31189 (TEST): Include expected results for all rounding modes.
31190 (test_in_one_mode): New function.
31191 (do_test): Use test_in_one_mode to compute and check results.
31192 Check results for all rounding modes.
31193 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31196 2012-12-09 Allan McRae <allan@archlinux.org>
31198 * sysdeps/i386/fpu/libm-test-ulps: Update
31200 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31202 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31203 (_G_int32_t): Likewise.
31204 (_G_uint16_t): Likewise.
31205 (_G_uint32_t): Likewise.
31206 (_G_HAVE_BOOL): Likewise.
31207 (_G_HAVE_ATEXIT): Likewise.
31208 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31209 (_G_HAVE_IO_FILE_OPEN): Likewise.
31210 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31211 (_G_int32_t): Likewise.
31212 (_G_uint16_t): Likewise.
31213 (_G_uint32_t): Likewise.
31214 (_G_HAVE_BOOL): Likewise.
31215 (_G_HAVE_ATEXIT): Likewise.
31216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31217 (_G_HAVE_IO_FILE_OPEN): Likewise.
31218 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31219 (_G_int32_t): Likewise.
31220 (_G_uint16_t): Likewise.
31221 (_G_uint32_t): Likewise.
31222 (_G_HAVE_BOOL): Likewise.
31223 (_G_HAVE_ATEXIT): Likewise.
31224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31225 (_G_HAVE_IO_FILE_OPEN): Likewise.
31227 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31229 * csu/libc-tls.c: Update copyright years.
31231 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31233 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31234 [!_G_USING_THUNKS]: Remove conditional code.
31235 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31236 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31238 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31239 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31240 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31241 (_G_VTABLE_LABEL_PREFIX): Likewise.
31242 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31243 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31244 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31245 (_G_VTABLE_LABEL_PREFIX): Likewise.
31246 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31247 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31249 (_G_VTABLE_LABEL_PREFIX): Likewise.
31250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31252 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31254 * libio/Makefile: Include ../Makeconfig before tests.
31255 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31256 only if $(build-shared) is yes.
31258 * iconv/gconv_db.c: Update copyright years.
31260 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31262 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31263 unwind info if defined PIC. Fix special cases description.
31264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31266 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31268 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31270 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31272 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31274 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31277 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31278 (LDLIBS-tst-chk4): This.
31279 (LDFLAGS-tst-chk5): Renamed to ...
31280 (LDLIBS-tst-chk5): This.
31281 (LDFLAGS-tst-chk6): Renamed to ...
31282 (LDLIBS-tst-chk6): This.
31283 (LDFLAGS-tst-lfschk4): Renamed to ...
31284 (LDLIBS-tst-lfschk4): This.
31285 (LDFLAGS-tst-lfschk5): Renamed to ...
31286 (LDLIBS-tst-lfschk5): This.
31287 (LDFLAGS-tst-lfschk6): Renamed to ...
31288 (LDLIBS-tst-lfschk6): This.
31290 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31291 on $(common-objpfx)soversions.mk.
31293 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31296 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31299 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31301 * malloc/arena.c (arena_get_retry): New function that gets
31302 another arena for the caller to try its request on.
31303 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31304 current arena cannot fulfill the request.
31305 (__libc_memalign): Likewise.
31306 (__libc_memalign): Likewise.
31307 (__libc_pvalloc): Likewise.
31308 (__libc_calloc): Likewise.
31310 2012-09-05 John Tobey <john.tobey@gmail.com>
31313 * manual/arith.texi (Operations on Complex): Fix description
31314 of carg branch cut.
31316 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31319 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31323 * manual/memory.texi (Memory): Make order of menu items match
31326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31328 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31329 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31330 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31332 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31334 * csu/libc-tls.c (static_dtv): Renamed to ...
31335 (_dl_static_dtv): This. Make it global.
31336 (_dl_initial_dtv): Removed.
31337 (__libc_setup_tls): Updated.
31338 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31339 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31342 2012-09-06 Petr Machata <pmachata@redhat.com>
31344 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31345 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31346 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31347 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31349 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31352 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31353 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31356 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31359 * Makeconfig (link-static-before-libc): Replace $(+prector)
31361 (link-static-after-libc): Replace $(+postctor) with
31363 (link-bounded): Replace $(+prector)/$(+postctor) with
31364 $(+prectorT)/$(+postctorT).
31365 (+prectorT): New macro.
31366 (+postctorT): Likewise.
31368 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31370 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31371 (round_str): Handle values above the maximum for IBM long double
31373 * stdlib/tst-strtod-round.c (tests): Regenerated.
31375 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31377 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31379 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31380 zarch_nohighgprs around the zarch optimized routines.
31381 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31382 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31383 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31386 2012-09-05 David S. Miller <davem@davemloft.net>
31388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31390 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31391 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31392 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31393 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31398 * malloc/arena.c: Fold copyright years.
31399 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31403 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31407 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31411 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31412 change internal state upon failure.
31414 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31416 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31417 * malloc/memusage.c (mmap): Likewise.
31418 (mmap64, mremap): Likewise. Adjust name in comment.
31420 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31422 * libio/fileops.c: Fix typos in comments.
31423 * libio/oldfileops.c: Likewise.
31424 * libio/wfileops.c: Likewise.
31426 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31429 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31430 (tst-malloc-usable-ENV): Set environment for test case.
31431 * malloc/hooks.c (malloc_check_get_size): New function to get
31433 * malloc/malloc.c (musable): Use malloc_check_get_size.
31434 * malloc/tst-malloc-usable.c: New test case.
31436 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31438 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31440 2012-09-05 Allan McRae <allan@archlinux.org>
31443 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31444 determine header location.
31445 * configure: Regenerated.
31447 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31449 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31451 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31452 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31454 (test): Regenerate.
31456 2012-09-04 David S. Miller <davem@davemloft.net>
31458 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31459 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31460 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31462 2012-09-04 Florian Weimer <fweimer@redhat.com>
31464 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31467 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31469 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31472 * libio/iogetdelim.c: Include <limits.h>.
31473 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31474 + len + 1 would overflow.
31476 2012-09-03 Andreas Jaeger <aj@suse.de>
31478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31479 * sysdeps/i386/fpu/libm-test-ulps: Update.
31481 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31483 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31484 Add s_sinf-sse2, s_conf-sse2.
31486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31488 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31489 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31491 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31492 for using routine as __sinf_ia32.
31493 Use macro for function declaration and weak_alias.
31494 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31495 for using routine as __cosf_ia32.
31496 Use macro for function declaration and weak_alias.
31498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31499 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31501 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31502 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31505 * math/libm-test.inc (cos_test): Add more test cases.
31506 (sin_test): Likewise.
31507 (sincos_test): Likewise.
31509 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31511 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31512 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31516 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31519 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31520 first element of the GOT.
31521 (elf_machine_load_address): Return the difference between
31522 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31524 2012-09-01 Allan McRae <allan@archlinux.org>
31527 * configure.in (AWK): Require gawk version 3.0 or later.
31528 * configure: Regenerated.
31530 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31532 * sysdeps/unix/sysv/linux/kernel-features.h
31533 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31535 [__NR_clock_getres]: Make code unconditional.
31536 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31537 (clock_getcpuclockid): Remove code left unreachable by removal of
31539 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31540 code unconditional.
31541 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31543 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31544 Make code unconditional.
31545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31547 * sysdeps/unix/sysv/linux/clock_settime.c
31548 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31550 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31553 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31556 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31557 scripts/test-installation.pl.
31559 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31560 and $ld_so_version if it is set.
31562 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31566 failure if reading from procfs failed.
31567 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31569 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31571 * sysdeps/unix/sysv/linux/kernel-features.h
31572 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31573 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31574 Remove conditional code.
31575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31576 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31577 Remove conditional code.
31578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31579 * sysdeps/unix/sysv/linux/i386/fxstat.c
31580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31582 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31585 * sysdeps/unix/sysv/linux/i386/lxstat.c
31586 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31588 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31589 Remove conditional code.
31590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31591 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31592 Remove conditional code.
31593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31595 <kernel-features.h>.
31596 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31598 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31599 Remove conditional code.
31600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31601 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31602 Remove conditional.
31604 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31607 * NEWS: Add fixed bug number.
31609 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31612 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31613 underflowing exponent in case of negative sign.
31614 * stdlib/tst-strtod-round-data: Add more tests.
31615 * stdlib/tst-strtod-round.c (tests): Regenerated.
31618 * stdlib/strtod_l.c (NDIG): Remove.
31619 (HEXNDIG): Likewise.
31620 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31621 smallest representable value.
31622 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31623 lie within an exact representation of 1/2 ulp of the result.
31624 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31626 (TENS_P9_IDX): Define unconditionally.
31627 (TENS_P9_SIZE): Likewise.
31628 (TENS_P10_IDX): Likewise.
31629 (TENS_P10_SIZE): Likewise.
31630 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31631 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31632 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31633 entries for 10^2^13 and 10^2^14.
31634 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31635 (TENS_P13_IDX): Define.
31636 (TENS_P13_SIZE): Likewise.
31637 (TENS_P14_IDX): Likewise.
31638 (TENS_P14_SIZE): Likewise.
31639 (_fpioconst_pow10): Change array size to
31640 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31642 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31643 1024]: Add entries for 10^2^13 and 10^2^14.
31644 [LAST_POW10 > _LAST_POW10]: Remove #error.
31645 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31646 (_fpioconst_pow10): Change array size to
31647 FPIOCONST_POW10_ARRAY_SIZE.
31648 * stdlib/gen-fpioconst.c: New file.
31649 * stdlib/gen-tst-strtod-round.c: Likewise.
31650 * stdlib/tst-strtod-round-data: Likewise.
31651 * stdlib/tst-strtod-round.c: Likewise.
31652 * stdlib/Makefile (tests): Add tst-strtod-round.
31655 * stdlib/strtod_l.c: Include <stdint.h>.
31656 (NDEBUG): Do not define.
31657 (round_and_return): Change EXPONENT parameter to type intmax_t.
31658 Rearrange calculations to avoid internal overflow possibilities.
31659 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31660 Rearrange calculations to avoid internal overflow possibilities.
31661 Assert that number fits inside MPNSIZE limbs.
31662 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31663 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31664 calculations and add assertions to avoid internal overflow
31665 possibilities. Add casts to avoid signed/unsigned operations.
31666 * stdlib/tst-strtod-overflow.c: New file.
31667 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31669 2012-08-25 Marek Polacek <polacek@redhat.com>
31671 * time/time.h: Fix some typos in comments.
31673 2012-08-23 Roland McGrath <roland@hack.frob.com>
31675 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31676 * posix/tst-rfc3484-2.c: Likewise.
31677 * posix/tst-rfc3484-3.c: Likewise.
31679 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31681 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31682 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31684 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31686 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31687 #include of fxstatat64.c.
31689 2012-08-22 Roland McGrath <roland@hack.frob.com>
31691 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31692 * shadow/getspent_r.c: Likewise.
31693 * shadow/getspnam.c: Likewise.
31694 * shadow/getspnam_r.c: Likewise.
31695 * gshadow/getsgent.c: Likewise.
31696 * gshadow/getsgent_r.c: Likewise.
31697 * gshadow/getsgnam.c: Likewise.
31698 * gshadow/getsgnam_r.c: Likewise.
31699 * inet/getnetbyad.c: Likewise.
31700 * inet/getnetbyad_r.c: Likewise.
31701 * inet/getnetbynm.c: Likewise.
31702 * inet/getnetbynm_r.c: Likewise.
31703 * inet/getnetent.c: Likewise.
31704 * inet/getnetent_r.c: Likewise.
31705 * inet/getproto.c: Likewise.
31706 * inet/getproto_r.c: Likewise.
31707 * inet/getprtent.c: Likewise.
31708 * inet/getprtent_r.c: Likewise.
31709 * inet/getprtname.c: Likewise.
31710 * inet/getprtname_r.c: Likewise.
31711 * inet/getrpcbyname.c: Likewise.
31712 * inet/getrpcbyname_r.c: Likewise.
31713 * inet/getrpcbynumber.c: Likewise.
31714 * inet/getrpcbynumber_r.c: Likewise.
31715 * inet/getrpcent.c: Likewise.
31716 * inet/getrpcent_r.c: Likewise.
31717 * inet/getaliasent.c: Likewise.
31718 * inet/getaliasent_r.c: Likewise.
31719 * inet/getaliasname.c: Likewise.
31720 * inet/getaliasname_r.c: Likewise.
31721 * nscd/getgrgid_r.c: Likewise.
31722 * nscd/getgrnam_r.c: Likewise.
31723 * nscd/gethstbyad_r.c: Likewise.
31724 * nscd/gethstbynm3_r.c: Likewise.
31725 * nscd/getpwnam_r.c: Likewise.
31726 * nscd/getpwuid_r.c: Likewise.
31727 * nscd/getsrvbynm_r.c: Likewise.
31728 * nscd/getsrvbypt_r.c: Likewise.
31729 * nscd/gai.c: Likewise.
31731 * configure.in (build_nscd): New substituted variable, set
31732 by --disable-build-nscd and defaults to $use_nscd.
31733 * configure: Regenerated.
31734 * config.make.in (build-nscd): New substituted variable.
31735 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31736 Change conditional to require [$(build-nscd) = yes] as well.
31737 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31740 * configure.in (use_nscd): New substituted variable, set by
31741 --disable-nscd. If enabled, define USE_NSCD.
31742 * configure: Regenerated.
31743 * config.h.in: Add USE_NSCD.
31744 * config.make.in (use-nscd): New substituted variable.
31745 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31746 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31747 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31748 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31749 (CFLAGS-getgrnam_r.c): Likewise.
31750 (CFLAGS-initgroups.c): Likewise.
31751 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31752 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31754 * inet/getnetgrent_r.c
31755 (nscd_setnetgrent): New function, broken out of ...
31756 (setnetgrent): ... here. Call it.
31757 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31758 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31759 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31760 * nscd/Makefile (routines, aux): Move definitions after include of
31761 Makeconfig. Conditionalize on [$(use-nscd) != no].
31762 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31763 Conditionalize on [USE_NSCD].
31764 (is_nscd, nscd_init_cb): Likewise.
31765 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31766 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31767 * nss/nss_db/db-init.c: Likewise.
31768 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31770 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31771 (make_request): Use it.
31772 (cache_valid_p): New function.
31773 (__check_pf): Use it.
31774 * NEWS: Add item for --disable-nscd.
31776 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31778 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31779 to support sed >= 4.2.1-20-ga9bf076.
31780 * configure: Regenerated.
31782 2012-08-22 Roland McGrath <roland@hack.frob.com>
31784 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31785 Conditionalize whole body on [IREL].
31787 2012-08-22 Jeff Law <law@redhat.com>
31790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31791 if the family is PF_UNSPEC.
31793 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31795 * Makerules (lib-version): Rename from V.
31796 (install-lib-nosubdir): Change V to lib-version.
31798 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31801 * powerpc32/power6/wcschr.c: New file.
31802 * powerpc32/power6/wcscpy.c: New file.
31803 * powerpc32/power6/wcsrchr.c: New file.
31804 * powerpc64/power6/wcschr.c: New file.
31805 * powerpc64/power6/wcscpy.c: New file.
31806 * powerpc64/power6/wcsrchr.c: New file.
31808 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31810 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31811 (two_way_short_needle): Use it.
31812 * string/strstr.c (AVAILABLE1_USES_J): Define.
31813 * string/strcasestr.c: Likewise.
31815 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31817 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31820 * NEWS: Add an entry.
31821 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31822 define their defaults.
31823 (two_way_short_needle): Detect end-of-string on-the-fly.
31824 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31825 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31826 * string/bug-strcasestr1.c: New test.
31827 * string/Makefile: Run it.
31829 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31832 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31833 the first character.
31835 2012-08-21 Roland McGrath <roland@hack.frob.com>
31837 * csu/elf-init.c (__libc_csu_irel): Function removed.
31838 * csu/libc-start.c (apply_irel): New function.
31839 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31841 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31843 * sysdeps/unix/sysv/linux/kernel-features.h
31844 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31845 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31846 <kernel-features.h>.
31847 [__NR_fadvise64_64]: Make code unconditional.
31848 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31849 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31850 !__NR_fadvise64_64)]: Likewise.
31851 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31852 !__NR_fadvise64_64))]: Likewise.
31853 [__NR_fadvise64]: Make code unconditional.
31854 [!__NR_fadvise64]: Remove conditional code.
31855 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31856 <kernel-features.h>.
31857 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31859 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31862 not include <kernel-features.h>.
31863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31867 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31868 include <kernel-features.h>.
31869 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31871 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31874 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31877 slight instruction rearrangements per scrollpipe analysis.
31878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31880 2012-08-20 Roland McGrath <roland@hack.frob.com>
31882 * manual/syslog.texi (syslog; vsyslog, closelog):
31883 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31884 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31886 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31887 DSOCAPS to match condition on defining it.
31889 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31891 * sysdeps/unix/sysv/linux/kernel-features.h
31892 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31900 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31901 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31903 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31904 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31906 * sysdeps/unix/sysv/linux/kernel-features.h
31907 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31908 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31910 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31911 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31912 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31913 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31914 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31915 Make code unconditional.
31916 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31917 (__mmap64) [!__NR_mmap2]: Likewise.
31918 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31919 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31920 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31921 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31922 [__NR_mmap2]: Make code unconditional.
31923 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31924 (__mmap64) [!__NR_mmap2]: Likewise.
31926 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31928 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31930 2012-08-18 Andreas Jaeger <aj@suse.de>
31932 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31934 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31936 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31937 * include/unistd.h (__have_sock_cloexec): Likewise.
31938 (__have_pipe2): Likewise.
31939 (__have_dup3): Likewise.
31941 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31944 * include/unistd.h (__have_pipe2): Change define into an extern int.
31945 (__have_dup3): Likewise.
31946 * socket/have_sock_cloexec.c: Include fcntl.h.
31947 (__have_pipe2): New variable.
31948 (__have_dup3): Likewise.
31950 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31952 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31954 2012-08-17 Marek Polacek <polacek@redhat.com>
31956 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31957 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31959 2012-08-17 Roland McGrath <roland@hack.frob.com>
31961 * configure.in: Add AC_SUBST for sysheaders.
31962 * configure: Regenerated.
31963 * config.make.in (sysheaders): New substituted variable.
31965 * sysdeps/unix/mkfifo.c: Moved ...
31966 * sysdeps/posix/mkfifo.c: ... here.
31967 * sysdeps/unix/mkfifoat.c: Moved ...
31968 * sysdeps/posix/mkfifoat.c: ... here.
31970 * sysdeps/unix/utime.c: Moved ...
31971 * sysdeps/posix/utime.c: ... here.
31973 * sysdeps/unix/time.c: Moved ...
31974 * sysdeps/posix/time.c: ... here.
31975 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31976 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31978 * sysdeps/unix/nice.c: Moved ...
31979 * sysdeps/posix/nice.c: ... here.
31981 * sysdeps/unix/alarm.c: Moved ...
31982 * sysdeps/posix/alarm.c: ... here.
31984 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31986 2012-08-17 Jeff Law <law@redhat.com>
31988 * intl/Makefile (codeset_mo): New variable.
31989 ($(codeset_mo)): New target.
31990 (tst-codeset.out): Depend on that. Remove explicit rule.
31991 (tst-gettext3.out, tst-gettext5.out): Likewise.
31992 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31993 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31994 * intl/tst-codeset.sh: Remove.
31995 * intl/tst-gettext3.sh: Likewise.
31996 * intl/tst-gettext5.sh: Likewise.
31998 2012-08-17 Roland McGrath <roland@hack.frob.com>
32000 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32001 * sysdeps/unix/syscalls.list: ... here.
32003 * sysdeps/posix/getaddrinfo.c
32004 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32005 (gaiconf_init, gaiconf_reload): Use them.
32006 [!_STATBUF_ST_NSEC]
32007 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32008 Define using time_t rather than struct timespec.
32010 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32011 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32013 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32015 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32016 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32019 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32020 __libc_cleanup_push argument.
32022 * bits/param.h: New file.
32023 * misc/sys/param.h: New file.
32024 * include/sys/param.h: New file.
32025 * misc/Makefile (headers): Add bits/param.h.
32026 * sysdeps/generic/sys/param.h: File removed.
32027 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32028 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32029 * sysdeps/mach/hurd/bits/param.h: New file.
32030 * sysdeps/mach/hurd/sys/param.h: File removed.
32032 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32035 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32037 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32038 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32041 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32042 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32043 rather than -D_IO_MTSAFE_IO conditionally.
32044 * stdio-common/Makefile (CPPFLAGS): Likewise.
32045 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32046 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32047 Use $(libio-mtsafe).
32048 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32049 of -D_IO_MTSAFE_IO.
32050 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32051 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32052 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32053 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32054 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32055 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32056 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32057 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32058 (CFLAGS-fread_u_chk.c): Likewise.
32059 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32060 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32061 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32062 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32063 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32064 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32065 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32066 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32067 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32069 * libio/Makefile: Test [$(libc-reentrant) = yes]
32070 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32073 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32074 * sysdeps/pthread/configure: File removed.
32075 * sysdeps/pthread/Makeconfig: New file.
32076 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32077 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32079 2012-08-16 Gary Benson <gbenson@redhat.com>
32081 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32082 unmapping the first object in a namespace.
32084 2012-08-16 Roland McGrath <roland@hack.frob.com>
32086 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32087 (__internal_setnetgrent): ... this. Add internal_function to
32088 definition. Add libc_hidden_def.
32089 (setnetgrent): Update caller.
32090 (internal_endnetgrent): Renamed to ...
32091 (__internal_endnetgrent): ... this. Add internal_function to
32092 definition. Add libc_hidden_def.
32093 (endnetgrent): Update caller.
32094 (internal_getnetgrent_r): Renamed to ...
32095 (__internal_getnetgrent_r): ... this. Add internal_function to
32096 definition. Add libc_hidden_def.
32097 (__getnetgrent_r): Update caller.
32098 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32100 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32102 * stdlib/longlong.h: Update from GCC.
32104 2012-08-16 Roland McGrath <roland@hack.frob.com>
32106 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32107 on _QL, which is set by umul_ppmm but never used.
32108 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32109 variables, which are set by GMP macros but never used.
32110 * stdio-common/_itowa.c (_itowa): Likewise.
32111 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32112 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32114 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32116 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32117 struct La_sh_regs is not constant.
32118 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32119 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32120 and struct La_sparc64_regs are not constant.
32122 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32124 * sysdeps/unix/sysv/linux/kernel-features.h
32125 (__ASSUME_POSIX_TIMERS): Remove.
32126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32128 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32129 Make code unconditional.
32130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32131 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32132 Make code unconditional.
32133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32134 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32135 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32137 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32138 Make code unconditional.
32139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32140 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32141 (__libc_missing_posix_timers): Remove.
32143 2012-08-15 Roland McGrath <roland@hack.frob.com>
32145 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32146 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32148 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32150 * elf/dl-sym.c: Include <stdlib.h>.
32152 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32153 constants, which avoids warnings in 32-bit builds.
32155 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32156 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32158 * misc/lseek.c: File moved to ...
32159 * io/lseek.c: ... here.
32161 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32163 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32164 shifting LEN more than 31 bits at once.
32166 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32169 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32170 segmentation fault for a case of two empty input strings.
32171 * string/test-strncasecmp.c (check1): Renamed to...
32172 (bz12205): ...this.
32173 (bz14195): Add new testcase for two empty input strings and N > 0.
32174 (test_main): Call new testcase, adapt for renamed function.
32176 2012-08-15 Andreas Jaeger <aj@suse.de>
32179 * crypt/md5test2.c: New test, based on test supplied by Serge
32180 Belyshev <belyshev@depni.sinp.msu.ru>.
32181 * crypt/Makefile (xtests): Add md5test-giant..
32182 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32184 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32187 * crypt/md5.c (md5_process_block): Don't assume the buffer
32188 length is less than 2**32.
32189 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32190 length is less than 2**64.
32192 2012-08-15 Roland McGrath <roland@hack.frob.com>
32194 * string/str-two-way.h: Include <sys/param.h>.
32195 (MAX): Macro removed.
32197 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32198 Move #define and #undef of memmove to just before and after
32199 including <string.h>.
32201 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32202 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32203 and after including <string.h>. Move declarations of
32204 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32205 to before #include "string/memmove.c".
32207 * include/dirent.h: Declare __getdirentries.
32209 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32210 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32212 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32214 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32215 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32216 * sysdeps/i386/configure: Regenerated.
32217 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32218 STABS_CURRENT_FILE, and STABS_FUN.
32219 (END): Remove call to STABS_FUN_END.
32220 (STABS_CURRENT_FILE1): Delete.
32221 (STABS_CURRENT_FILE): Likewise.
32222 (STABS_FUN): Likewise.
32223 (STABS_FUN_END): Likewise.
32224 (STABS_FUN2): Likewise.
32225 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32226 * sysdeps/x86_64/configure: Regenerated.
32228 2012-08-14 Roland McGrath <roland@hack.frob.com>
32230 * elf/dl-open.c: Include <atomic.h>.
32231 * elf/dl-lookup.c: Likewise.
32233 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32235 * sysdeps/unix/sysv/linux/kernel-features.h
32236 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32237 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32239 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32241 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32242 condition on __ASSUME_CLONE_THREAD_FLAGS.
32244 2012-08-14 Andreas Jaeger <aj@suse.de>
32246 * sysdeps/i386/fpu/libm-test-ulps: Update.
32248 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32250 * include/atomic.h (atomic_exchange_and_add): Split into ...
32251 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32254 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32258 2012-08-13 Jeff Law <law@redhat.com>
32260 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32261 null byte in the output string.
32263 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32265 * sysdeps/unix/sysv/linux/kernel-features.h
32266 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32267 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32268 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32270 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32271 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32272 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32274 2012-08-09 Jeff Law <law@redhat.com>
32277 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32278 When avoid_arena is set, don't retry in the that arena. Pick the
32279 next one, whatever it might be.
32280 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32281 (arena_lock): Pass in new parameter to arena_get2.
32282 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32284 (__libc_malloc): Unify retrying after main arena failure with
32285 __libc_memalign version.
32286 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32288 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32291 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32292 to __redirect_strstr.
32293 (__strstr_sse42): Use typeof __redirect_strstr.
32294 (__strstr_ia32): Likewise.
32295 (__libc_strstr): New prototype.
32296 (strstr): Renamed to ...
32297 (__libc_strstr): This.
32298 (strstr): New strong alias of __libc_strstr.
32299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32303 (__libc_time): New prototype.
32304 (time_ifunc): Replace time with __libc_time.
32305 (time): New strong alias and hidden definition of __libc_time.
32306 (__GI_time): Remove strong alias.
32307 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32308 Include <stddef.h>.
32309 (memmove): Redefined to __redirect_memmove.
32310 (__memmove_sse2): Use typeof __redirect_memmove.
32311 (__memmove_ssse3): Likewise.
32312 (__memmove_ssse3_back): Likewise.
32313 (__libc_memmove): New prototype.
32314 (memmove): Renamed to ...
32315 (__libc_memmove): This.
32316 (memmove): New strong alias of __libc_memmove.
32318 2012-08-08 Mark Salter <msalter@redhat.com>
32321 (R_MN10300_TLS_GD): Define.
32322 (R_MN10300_TLS_LD): Likewise.
32323 (R_MN10300_TLS_LDO): Likewise.
32324 (R_MN10300_TLS_GOTIE): Likewise.
32325 (R_MN10300_TLS_IE): Likewise.
32326 (R_MN10300_TLS_LE): Likewise.
32327 (R_MN10300_TLS_DTPMOD): Likewise.
32328 (R_MN10300_TLS_DTPOFF): Likewise.
32329 (R_MN10300_TLS_TPOFF): Likewise.
32330 (R_MN10300_SYM_DIFF): Likewise.
32331 (R_MN10300_ALIGN): Likewise.
32332 (R_MN10300_NUM): Update.
32334 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32339 2012-08-08 Roland McGrath <roland@hack.frob.com>
32341 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32343 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32344 sysdeps/unix -> sysdeps/posix move.
32345 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32347 2012-08-07 Allan McRae <allan@archlinux.org>
32350 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32351 (SUNOS_CPP): Likewise.
32352 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32354 (open_input): Call CPP using execvp.
32356 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32358 * sysdeps/unix/sysv/linux/kernel-features.h
32359 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32362 (__ASSUME_WAITID_SYSCALL): Likewise.
32363 * sysdeps/unix/sysv/linux/dl-execstack.c
32364 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32365 code unconditional.
32366 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32369 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32370 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32372 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32374 [__ASSUME_WAITID_SYSCALL]: Likewise.
32375 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32377 2012-08-07 Roland McGrath <roland@hack.frob.com>
32379 * sysdeps/unix/closedir.c: Renamed to ...
32380 * sysdeps/posix/closedir.c: ... here.
32381 * sysdeps/unix/dirfd.c: Renamed to ...
32382 * sysdeps/posix/dirfd.c: ... here.
32383 * sysdeps/unix/dirstream.h: Renamed to ...
32384 * sysdeps/posix/dirstream.h: ... here.
32385 * sysdeps/unix/fdopendir.c: Renamed to ...
32386 * sysdeps/posix/fdopendir.c: ... here.
32387 * sysdeps/unix/opendir.c: Renamed to ...
32388 * sysdeps/posix/opendir.c: ... here.
32389 * sysdeps/unix/readdir.c: Renamed to ...
32390 * sysdeps/posix/readdir.c: ... here.
32391 * sysdeps/unix/readdir_r.c: Renamed to ...
32392 * sysdeps/posix/readdir_r.c: ... here.
32393 * sysdeps/unix/rewinddir.c: Renamed to ...
32394 * sysdeps/posix/rewinddir.c: ... here.
32395 * sysdeps/unix/seekdir.c: Renamed to ...
32396 * sysdeps/posix/seekdir.c: ... here.
32397 * sysdeps/unix/telldir.c: Renamed to ...
32398 * sysdeps/posix/telldir.c: ... here.
32399 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32400 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32401 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32402 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32405 * bits/fcntl.h: ... here.
32407 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32409 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32410 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32411 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32412 (struct flock): Move l_start, l_len to the beginning.
32413 Use __pid_t for l_pid.
32414 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32415 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32416 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32417 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32418 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32419 [__USE_LARGEFILE64] (struct flock64): New type.
32420 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32423 * bits/dirent.h: ... here.
32425 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32426 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32428 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32431 Change from 2.6.0 to 2.6.16.
32432 * sysdeps/unix/sysv/linux/configure: Regenerated.
32433 * sysdeps/unix/sysv/linux/kernel-features.h
32434 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32435 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32437 (__ASSUME_UTIMES): Likewise.
32438 (__ASSUME_CLONE_STOPPED): Remove.
32439 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32440 architectures, not kernel version.
32441 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32442 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32443 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32444 (__ASSUME_WAITID_SYSCALL): Likewise.
32445 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32446 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32447 * README: State 2.6.16 as minimum Linux kernel version. Do not
32448 refer to older versions.
32450 2012-08-06 Roland McGrath <roland@hack.frob.com>
32452 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32453 Define alphasort64 as an alias.
32454 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32455 Define versionsort64 as an alias.
32456 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32457 Define scandir64 as an alias.
32458 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32459 Define scandirat64 as an alias.
32460 * dirent/alphasort64.c (alphasort64):
32461 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32462 * dirent/versionsort64.c: Likewise.
32463 * dirent/scandir64.c: Likewise.
32464 * dirent/scandirat64.c: Likewise.
32465 * sysdeps/wordsize-64/alphasort.c: File removed.
32466 * sysdeps/wordsize-64/alphasort64.c: File removed.
32467 * sysdeps/wordsize-64/scandir.c: File removed.
32468 * sysdeps/wordsize-64/scandir64.c: File removed.
32469 * sysdeps/wordsize-64/scandirat.c: File removed.
32470 * sysdeps/wordsize-64/scandirat64.c: File removed.
32471 * sysdeps/wordsize-64/versionsort.c: File removed.
32472 * sysdeps/wordsize-64/versionsort64.c: File removed.
32473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32482 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32484 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32486 [defined __arch64__ || defined __sparcv9]
32487 (__INO_T_MATCHES_INO64_T): New macro.
32488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32489 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32490 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32491 * sysdeps/unix/sysv/linux/bits/dirent.h
32492 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32493 (_DIRENT_MATCHES_DIRENT64): New macro.
32495 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32496 Define lockf64 as an alias.
32497 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32498 Define fseeko64 as an alias.
32499 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32500 Define ftello64 as an alias.
32501 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32502 Define _IO_fgetpos64 and fgetpos64 as aliases.
32503 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32504 Define _IO_fsetpos64 and fsetpos64 as aliases.
32505 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32506 Conditionalize body on this.
32507 * libio/fseeko64.c: Likewise.
32508 * libio/ftello64.c: Likewise.
32509 * libio/iofgetpos64.c: Likewise.
32510 * libio/iofsetpos64.c: Likewise.
32511 * sysdeps/wordsize-64/lockf.c: File removed.
32512 * sysdeps/wordsize-64/lockf64.c: File removed.
32513 * sysdeps/wordsize-64/fseeko.c: File removed.
32514 * sysdeps/wordsize-64/fseeko64.c: File removed.
32515 * sysdeps/wordsize-64/ftello.c: File removed.
32516 * sysdeps/wordsize-64/ftello64.c: File removed.
32517 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32518 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32519 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32520 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32532 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32534 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32536 [defined __arch64__ || defined __sparcv9]
32537 (__OFF_T_MATCHES_OFF64_T): New macro.
32538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32539 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32541 (__OFF_T_MATCHES_OFF64_T): New macro.
32543 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32545 * stdlib/secure-getenv.c (__secure_getenv): Replace
32546 GLIBC_2_16 with GLIBC_2_17.
32548 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32553 2012-08-03 David S. Miller <davem@davemloft.net>
32555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32557 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32561 (__ASSUME_CORRECT_SI_PID): Likewise.
32562 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32563 (__ASSUME_TMPFS_NAME): Likewise.
32564 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32565 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32566 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32567 (HAVE_AUX_SECURE): Make definition unconditional.
32568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32569 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32571 2012-08-03 Roland McGrath <roland@hack.frob.com>
32573 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32574 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32575 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32577 __eloop_threshold instead of SYMLOOP_MAX.
32579 * sysdeps/generic/eloop-threshold.h: New file.
32580 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32582 * elf/chroot_canon.c (chroot_canon): Likewise.
32584 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32588 Change to 2.6.0 everywhere.
32589 * sysdeps/unix/sysv/linux/configure: Regenerated.
32590 * sysdeps/unix/sysv/linux/kernel-features.h
32591 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32592 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32594 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32595 (__ASSUME_FUTEX_REQUEUE): Remove.
32596 (__ASSUME_STATFS64): Define unconditionally.
32597 (__ASSUME_AT_SECURE): Likewise.
32598 (__ASSUME_CORRECT_SI_PID): Likewise.
32599 (__ASSUME_TGKILL): Define without depending on kernel version for
32601 (__ASSUME_UTIMES): Likewise.
32602 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32604 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32605 (__ASSUME_TMPFS_NAME): Likewise.
32606 * README: Update reference to Linux kernel versions.
32608 2012-08-02 Marek Polacek <polacek@redhat.com>
32611 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32612 libc_cv_asm_type_prefix with %.
32613 * configure: Regenerated.
32614 * include/libc-symbols.h: Remove comment about
32615 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32616 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32617 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32618 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32619 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32620 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32623 * elf/tst-unique2mod1.c: Likewise.
32624 * elf/tst-unique1mod2.c: Likewise.
32625 * elf/tst-unique1mod1.c: Likewise.
32626 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32627 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32628 Replace ASM_TYPE_DIRECTIVE with .type.
32629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32630 * sysdeps/i386/sysdep.h: Likewise.
32631 * sysdeps/x86_64/sysdep.h: Likewise.
32632 * sysdeps/sh/sysdep.h: Likewise.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32634 Do not define ASM_TYPE_DIRECTIVE.
32635 * sysdeps/powerpc/sysdep.h: Likewise.
32636 * sysdeps/powerpc/powerpc32/sysdep.h:
32637 Replace ASM_TYPE_DIRECTIVE with .type.
32638 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32640 * sysdeps/i386/fpu/e_powf.S: Likewise.
32641 * sysdeps/i386/fpu/e_expl.S: Likewise.
32642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32643 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32644 * sysdeps/i386/fpu/e_pow.S: Likewise.
32645 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32647 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32649 * sysdeps/i386/fpu/e_log2.S: Likewise.
32650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32651 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32652 * sysdeps/i386/fpu/e_powl.S: Likewise.
32653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32654 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32655 * sysdeps/i386/fpu/e_logl.S: Likewise.
32656 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32661 * sysdeps/i386/fpu/e_log.S: Likewise.
32662 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32663 * sysdeps/i386/fpu/e_logf.S: Likewise.
32664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32666 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32667 * sysdeps/i386/fpu/e_log10.S: Likewise.
32668 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32670 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32671 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32672 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32674 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32675 * sysdeps/i386/i686/strtok.S: Likewise.
32676 * sysdeps/i386/i386-mcount.S: Likewise.
32677 * sysdeps/i386/strtok.S: Likewise.
32678 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32682 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32683 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32684 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32685 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32686 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32687 * sysdeps/x86_64/_mcount.S: Likewise.
32688 * sysdeps/x86_64/strtok.S: Likewise.
32689 * sysdeps/sh/_mcount.S: Likewise.
32691 2012-08-01 Roland McGrath <roland@hack.frob.com>
32693 * libio/iofopen.c: Include <fcntl.h>.
32694 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32695 (_IO_fopen64, fopen64): Define as aliases.
32696 * libio/iofopen64.c: Include <fcntl.h>.
32697 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32698 Conditionalize body on this.
32699 * sysdeps/wordsize-64/iofopen.c: File removed.
32700 * sysdeps/wordsize-64/iofopen64.c: File removed.
32702 2012-08-01 Marek Polacek <polacek@redhat.com>
32704 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32705 Use dlfcn directly instead of a variable.
32706 (binfmt-subdir): Do not define.
32709 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32712 Remove all definitions.
32713 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32714 <kernel-features.h>.
32715 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32716 (miss_F_GETOWN_EX): Remove all definitions.
32717 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32719 [!__ASSUME_FCNTL64]: Remove conditional code.
32720 [__ASSUME_FCNTL64]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32722 <kernel-features.h>.
32723 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32724 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32725 (lockf64) [__NR_fcntl64]: Make code unconditional.
32726 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32728 * sysdeps/unix/sysv/linux/kernel-features.h
32729 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32730 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32731 Make code unconditional.
32732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32735 [__NR_vfork]: Make code unconditional.
32736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32739 [__NR_vfork]: Make code unconditional.
32740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32743 2012-08-01 Roland McGrath <roland@hack.frob.com>
32745 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32746 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32748 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32749 Define mkstemp64 as an alias.
32750 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32751 Define mkstemps64 as an alias.
32752 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32753 Define mkostemp64 as an alias.
32754 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32755 Define mkostemps64 as an alias.
32756 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32757 Conditionalize body on this.
32758 * misc/mkostemp64.c: Likewise.
32759 * misc/mkostemps64.c: Likewise.
32760 * misc/mkstemps64.c: Likewise.
32761 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32762 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32763 * sysdeps/wordsize-64/mkostemp.c: File removed.
32764 * sysdeps/wordsize-64/mkstemp.c: File removed.
32765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32771 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32773 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32774 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32776 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32777 compat_symbol macros from <shlib-compat.h> rather than the underlying
32778 default_symbol_version and symbol_version macros, so that DEFAULT
32779 lines in shlib-versions are respected.
32780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32782 2012-08-01 Florian Weimer <fweimer@redhat.com>
32784 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32785 Declare with warn_unused_result.
32786 (setgid, setregid, setegid, setresgid): Likewise.
32787 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32789 * WUR-REPORT: Remove set*id functions.
32791 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32793 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32795 2012-07-31 Roland McGrath <roland@hack.frob.com>
32798 * include/sys/socket.h (__libc_accept, __libc_accept4):
32799 Add attribute_hidden.
32800 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32802 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32804 * inet/getnetgrent_r.c (setup): Likewise.
32806 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32808 2012-07-31 David S. Miller <davem@davemloft.net>
32810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32812 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32815 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32816 value between 1.0 and 2.0 and smaller part has absolute value less
32818 * math/s_clog10.c (__clog10): Likewise.
32819 * math/s_clog10f.c (__clog10f): Likewise.
32820 * math/s_clog10l.c (__clog10l): Likewise.
32821 * math/s_clogf.c (__clogf): Likewise.
32822 * math/s_clogl.c (__clogl): Likewise.
32823 * math/libm-test.inc (clog_test): Add more tests.
32824 (clog10_test): Likewise.
32825 * sysdeps/i386/fpu/libm-test-ulps: Update.
32826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32828 2012-07-31 Florian Weimer <fweimer@redhat.com>
32830 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32831 Exit with zero in case no suitable GID is found, and write a
32832 message to standard error.
32834 2012-07-30 Roland McGrath <roland@hack.frob.com>
32836 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32838 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32839 (MAXPATHLEN): Removed.
32840 (NOGROUP, NODEV): New macros.
32841 (setbit, clrbit, isset, isclr): New macros.
32842 (howmany, roundup, powerof2): New macros.
32843 (DEV_BSIZE): New macro.
32845 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32846 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32848 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32849 definition on [!__NO_LONG_DOUBLE_MATH].
32851 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32852 PTR_MANGLE and PTR_DEMANGLE.
32854 * socket/accept4.c (accept4): Rename to __libc_accept4.
32855 Define accept4 as a weak alias.
32857 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32858 on [_DIRENT_HAVE_D_TYPE].
32859 * io/ftw.c (ftw_dir): Likewise.
32861 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32863 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32865 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32866 Use the BSD numbers rather than the arbitrary ones we had.
32867 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32868 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32869 (SIGXCPU, SIGXFSZ): New macros.
32872 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32873 initializer on [_LIBC_REENTRANT].
32875 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32876 definitions inside [_POSIX_MAPPED_FILES].
32878 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32880 * dirent/opendir.c: Include <fcntl.h>.
32882 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32883 (__libc_getspecific): Likewise.
32884 (__libc_key_create): Likewise.
32886 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32887 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32888 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32889 (tmpfile64): Define as alias.
32890 * sysdeps/wordsize-64/tmpfile.c: File removed.
32891 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32895 * stdio-common/vfscanf.c: Include <stdbool.h>.
32896 * nss/makedb.c: Likewise.
32897 * stdio-common/_i18n_number.h: Likewise.
32898 * argp/argp-help.c: Likewise.
32899 * posix/wordexp.c: Likewise.
32900 * sysdeps/posix/spawni.c: Likewise.
32901 * nss/nss_files/files-initgroups.c: Likewise.
32902 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32903 * nss/nss_files/files-initgroups.c: Likewise.
32904 * nss/nss_db/db-netgrp.c: Likewise.
32905 * nss/nss_db/db-initgroups.c: Likewise.
32906 * io/fchmodat.c: Include <sys/stat.h>.
32908 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32909 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32911 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32914 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32915 Add multiple inclusion protection.
32917 2012-07-27 David S. Miller <davem@davemloft.net>
32919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32921 2012-07-27 Gary Benson <gbenson@redhat.com>
32924 * elf/rtld.c: Include <stap-probe.h>.
32925 (dl_main): Added static probes "init_start" and "init_complete".
32926 * elf/dl-load.c: Include <stap-probe.h>.
32927 (lose): Take new parameter "nsid".
32928 Added static probe "map_failed".
32929 (_dl_map_object_from_fd): Pass namespace id to lose.
32930 Added static probe "map_start".
32931 (open_verify): Pass namespace id to lose.
32932 * elf/dl-open.c: Include <stap-probe.h>.
32933 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32934 and "reloc_complete".
32935 * elf/dl-close.c: Include <stap-probe.h>.
32936 (_dl_close_worker): Added static probes "unmap_start" and
32938 * elf/rtld-debugger-interface.txt: New file documenting the above.
32940 2012-07-26 Roland McGrath <roland@hack.frob.com>
32942 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32943 rather than a string variable.
32944 * sunrpc/rpc_main.c (h_output): Likewise.
32945 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32947 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32949 * inet/check_native.c: New file.
32951 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32954 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32955 if larger part has absolute value 1.0.
32956 * math/s_clog10.c (__clog10): Likewise.
32957 * math/s_clog10f.c (__clog10f): Likewise.
32958 * math/s_clog10l.c (__clog10l): Likewise.
32959 * math/s_clogf.c (__clogf): Likewise.
32960 * math/s_clogl.c (__clogl): Likewise.
32961 * math/libm-test.inc (clog_test): Add more tests.
32962 (clog10_test): Likewise.
32963 * sysdeps/i386/fpu/libm-test-ulps: Update.
32964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32966 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32967 (pltexit): Likewise.
32968 (La_regs): Likewise.
32969 (La_retval): Likewise.
32970 (int_retval): Likewise.
32971 Update #error for removed macros to refer only to definitions in
32973 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32975 (pltexit): Likewise.
32976 (La_regs): Likewise.
32977 (La_retval): Likewise.
32978 (int_retval): Likewise.
32979 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32981 (pltexit): Likewise.
32982 (La_regs): Likewise.
32983 (La_retval): Likewise.
32984 (int_retval): Likewise.
32985 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32987 (pltexit): Likewise.
32988 (La_regs): Likewise.
32989 (La_retval): Likewise.
32990 (int_retval): Likewise.
32991 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32993 (pltexit): Likewise.
32994 (La_regs): Likewise.
32995 (La_retval): Likewise.
32996 (int_retval): Likewise.
32997 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32999 (pltexit): Likewise.
33000 (La_regs): Likewise.
33001 (La_retval): Likewise.
33002 (int_retval): Likewise.
33003 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33005 (pltexit): Likewise.
33006 (La_regs): Likewise.
33007 (La_retval): Likewise.
33008 (int_retval): Likewise.
33009 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33010 macro definitions in tst-audit.h.
33011 * sysdeps/i386/tst-audit.h: New file.
33012 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33013 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33014 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33015 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33016 * sysdeps/sh/tst-audit.h: Likewise.
33017 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33018 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33019 * sysdeps/x86_64/tst-audit.h: Likewise.
33021 2012-07-26 Andreas Jaeger <aj@suse.de>
33023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33026 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33027 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33028 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33030 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33031 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33032 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33034 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33037 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33039 (si_call_addr, si_syscall, si_arch): Define new macro.
33040 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33042 (si_call_addr, si_syscall, si_arch): Define new marcro.
33043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33045 (si_call_addr, si_syscall, si_arch): Define new macro.
33046 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33048 (si_call_addr, si_syscall, si_arch): Define new macro.
33050 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33054 Change to 2.4.21 where previously 2.4.1.
33055 * sysdeps/unix/sysv/linux/configure: Regenerated.
33056 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33057 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33058 Linux kernel version.
33059 (__ASSUME_STD_AUXV): Remove.
33060 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33062 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33063 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33064 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33065 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33066 (__ASSUME_NETLINK_SUPPORT): Likewise.
33067 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33068 (__no_netlink_support): Remove conditional definition.
33069 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33071 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33072 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33073 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33074 (if_nameindex_ioctl): Remove.
33075 (if_nameindex_netlink): Do not handle __no_netlink_support.
33076 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33078 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33079 Remove conditional code.
33080 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33082 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33084 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33085 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33086 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33088 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33089 [!__ASSUME_STD_AUXV]: Remove conditional code.
33090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33091 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33092 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33094 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33095 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33097 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33099 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33100 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33102 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33104 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33107 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33110 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33111 code unconditional.
33112 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33114 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33116 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33119 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33121 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33124 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33125 code unconditional.
33126 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33128 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33130 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33133 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33134 code unconditional.
33135 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33137 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33139 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33142 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33144 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33145 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33146 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33147 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33148 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33149 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33150 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33151 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33152 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33153 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33154 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33155 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33156 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33157 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33158 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33159 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33160 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33162 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33164 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33165 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33168 2012-07-25 Florian Weimer <fweimer@redhat.com>
33170 * Versions.def: Add GLIBC_2.17.
33171 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33172 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33173 Introduce __libc_secure_getenv.
33174 * stdlib/Versions (2.17): Add secure_getenv
33175 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33176 * stdlib/secure-getenv.c: Rename __secure_getenv to
33177 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33178 symbol __secure_getenv for GLIBC_2.0.
33179 * stdlib/tst-secure-getenv.c: New.
33180 * stdlib/Makefile (tests): Add testcase.
33181 * manual/startup.texi (Environment Access): Document
33183 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33184 __libc_secure_getenv.
33185 * inet/ruserpass.c (ruserpass): Likewise.
33186 * malloc/mtrace.c (mtrace): Likewise.
33187 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33188 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33189 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33190 * sysdeps/posix/tempname.c: Likewise. Evaluate
33191 HAVE_SECURE_GETENV.
33192 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33193 __secure_getenv to __libc_secure_getenv.
33194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33207 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33209 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33210 (struct La_i86_retval): Likewise.
33211 (struct La_x86_64_regs): Likewise.
33212 (struct La_x86_64_retval): Likewise.
33213 (struct La_x32_regs): Likewise.
33214 (struct La_x32_retval): Likewise.
33215 (struct La_ppc32_regs): Likewise.
33216 (struct La_ppc32_retval): Likewise.
33217 (struct La_ppc64_regs): Likewise.
33218 (struct La_ppc64_retval): Likewise.
33219 (struct La_sh_regs): Likewise.
33220 (struct La_sh_retval): Likewise.
33221 (struct La_s390_32_regs): Likewise.
33222 (struct La_s390_32_retval): Likewise.
33223 (struct La_s390_64_regs): Likewise.
33224 (struct La_s390_64_retval): Likewise.
33225 (struct La_sparc32_regs): Likewise.
33226 (struct La_sparc32_retval): Likewise.
33227 (struct La_sparc64_regs): Likewise.
33228 (struct La_sparc64_retval): Likewise.
33229 (struct audit_ifaces): Remove architecture-specific pltenter and
33231 * sysdeps/i386/ldsodefs.h: New file.
33232 * sysdeps/powerpc/ldsodefs.h: Likewise.
33233 * sysdeps/s390/ldsodefs.h: Likewise.
33234 * sysdeps/sh/ldsodefs.h: Likewise.
33235 * sysdeps/sparc/ldsodefs.h: Likewise.
33236 * sysdeps/x86_64/ldsodefs.h: Likewise.
33238 2012-07-25 Marek Polacek <polacek@redhat.com>
33241 * math/libm-test.inc (yn_test): Add another test.
33242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33243 to ERANGE when the result is +-Inf.
33244 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33245 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33246 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33247 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33249 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33251 * conform/data/time.h-data (NULL): Use macro-constant. Require
33253 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33255 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33257 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33259 * configure.in <sysdeps resolving>: Correct printing
33261 * configure: Regenerate.
33263 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33265 * math/w_ilogb.c: Include <limits.h>.
33266 * math/w_ilogbl.c: Likewise.
33268 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33270 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33271 va_copy. Document allowing for unavailable va_copy only as
33272 pre-C99 compatibility.
33273 * manual/string.texi (Copying and Concatenation): Use va_copy
33274 instead of __va_copy in concat example.
33276 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33278 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33279 (__sendto): Use create_address_port. Initialize APORT and deallocate
33282 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33283 with O_NOLINK passed to __file_name_lookup.
33285 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33286 with O_NOLINK passed to __file_name_lookup.
33288 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33289 negative N or less than NGIDS.
33291 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33292 type to string_t. Set ERANGE as errno and return it if NAME is not big
33293 enough. Use memcpy instead of strncpy.
33295 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33297 * elf/Makefile (check-data): Remove.
33298 (localplt.data): New vpath directive.
33299 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33300 instead of $(check-data).
33301 * scripts/data/localplt-generic.data: Move to ...
33302 * sysdeps/generic/localplt.data: ... here.
33303 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33304 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33305 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33308 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33311 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33314 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33317 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33320 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33324 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33326 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33327 PPC32 and PPC64 files.
33328 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33329 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33331 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33333 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33334 __makecontext_ret to ...
33335 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33336 ... here and call exit if uc_link is NULL. New file.
33337 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33338 __makecontext_ret.S.
33339 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33340 __makecontext_ret to ...
33341 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33342 ... here and call exit if uc_link is NULL. New file.
33343 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33344 __makecontext_ret.S.
33346 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33348 * elf/elf.h (R_390_IRELATIVE): New definition.
33349 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33350 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33351 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33352 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33353 (elf_machine_lazy_rel): Likewise.
33354 * sysdeps/s390/dl-irel.h: New file.
33355 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33356 * sysdeps/s390/s390-64/memset.S: New asm code.
33357 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33358 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33359 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33360 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33361 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33362 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33363 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33364 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33365 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33366 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33367 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33368 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33369 * sysdeps/s390/s390-32/memset.S: New asm code.
33370 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33372 2012-07-17 Marek Polacek <polacek@redhat.com>
33375 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33376 * sysdeps/s390/s390-64/configure.in: Likewise.
33377 * sysdeps/sparc/configure.in: Likewise.
33378 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33379 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33380 * sysdeps/i386/configure.in: Likewise.
33381 * sysdeps/x86_64/configure.in: Likewise.
33382 * sysdeps/sh/configure.in: Likewise.
33383 * sysdeps/s390/s390-32/configure: Regenerated.
33384 * sysdeps/s390/s390-64/configure: Likewise.
33385 * sysdeps/x86_64/configure: Likewise.
33386 * sysdeps/sh/configure: Likewise.
33387 * sysdeps/powerpc/powerpc64/configure: Likewise.
33388 * sysdeps/powerpc/powerpc32/configure: Likewise.
33389 * sysdeps/sparc/configure: Likwise.
33390 * sysdeps/i386/configure: Likewise.
33392 * elf/dl-open.c: Comment fixes.
33394 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33396 * Makefile [CXX] (check-data): Remove.
33397 [CXX] (c++-types.data): New vpath directive.
33398 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33399 vpath. Do not allow for C++ type data being missing.
33400 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33401 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33402 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33403 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33404 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33405 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33406 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33409 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33412 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33415 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33418 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33421 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33424 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33427 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33430 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33431 definitions to architecture-specific files.
33432 (TLS_IE): Likewise.
33433 (TLS_LD): Likewise.
33434 (TLS_GD): Likewise.
33435 * sysdeps/i386/tls-macros.h: New file.
33436 * sysdeps/powerpc/tls-macros.h: Likewise.
33437 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33438 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33439 * sysdeps/sh/tls-macros.h: Likewise.
33440 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33441 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33442 * sysdeps/x86_64/tls-macros.h: Likewise.
33444 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33446 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33447 zero value for regular exit case.
33449 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33450 (__start_context): Preserve zero value for regular exit case.
33452 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33453 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33455 * manual/setjmp.texi (setcontext): Clarify normal process
33456 termination when uc_link is the null pointer.
33457 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33460 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33462 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33463 preprocessor. Test for each exception mask separately.
33465 2012-07-16 Andreas Jaeger <aj@suse.de>
33467 * po/ru.po: Update from translation team.
33469 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33471 * conform/data/string.h-data (NULL): Use macro-constant. Require
33473 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33474 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33475 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33476 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33479 2012-07-13 Andreas Jaeger <aj@suse.de>
33481 * po/fr.po: Update from translation team.
33483 2012-07-12 Marek Polacek <polacek@redhat.com>
33486 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33487 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33490 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33493 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33494 Change to 2.4.1 where previously 2.4.0.
33495 * sysdeps/unix/sysv/linux/configure: Regenerated.
33496 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33497 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33499 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33500 (__ASSUME_AT_CLKTCK): Remove.
33501 (__ASSUME_AT_PAGESIZE): Likewise.
33502 (__ASSUME_AT_XID): Likewise.
33503 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33504 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33505 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33507 (HAVE_AUX_PAGESIZE): Likewise.
33508 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33509 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33510 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33512 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33516 the temporary buffer used to invoke __gethostbyname2_r,
33517 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33518 host_data / struct gaih_addrtuple.
33519 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33520 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33521 header file nss/nsswitch.h.
33522 * nss/nsswitch.h (global scope): Add definition of implementation
33523 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33524 resolv/nss_dns/dns-host.c).
33526 2012-07-11 Andreas Jaeger <aj@suse.de>
33528 * po/fr.po: Update from translation team.
33530 * po/sv.po: Update from translation team
33531 * po/fr.po: Another update from translation team.
33533 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33535 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33536 for subnormals or multiply small sinh result by itself.
33537 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33540 2012-07-11 David S. Miller <davem@davemloft.net>
33542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33544 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33547 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33548 (INTERNAL_MARK): Shift it here.
33550 2012-07-10 Marek Polacek <polacek@redhat.com>
33553 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33554 libc_cv_asm_global_directive with .globl.
33555 * configure: Regenerated.
33556 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33558 * sysdeps/i386/configure: Regenerated.
33559 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33561 * sysdeps/x86_64/configure: Regenerated.
33562 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33563 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33564 * elf/tst-unique2mod2.c: Likewise.
33565 * elf/tst-unique2mod1.c: Likewise.
33566 * elf/tst-unique1mod2.c: Likewise.
33567 * elf/tst-unique1mod1.c: Likewise.
33568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33569 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33571 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33572 * sysdeps/mach/sysdep.h: Likewise.
33573 * sysdeps/i386/sysdep.h: Likewise.
33574 * sysdeps/i386/i386-mcount.S: Likewise.
33575 * sysdeps/x86_64/_mcount.S: Likewise.
33576 * sysdeps/x86_64/sysdep.h: Likewise.
33577 * sysdeps/sh/_mcount.S: Likewise.
33578 * sysdeps/sh/sysdep.h: Likewise.
33579 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33580 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33581 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33583 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33584 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33585 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33586 * locale/localeinfo.h: Likewise.
33587 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33588 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33590 2012-07-09 Roland McGrath <roland@hack.frob.com>
33593 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33595 * manual/message.texi (The Uniforum approach): Likewise.
33596 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33597 (glibc iconv Implementation): Likewise.
33599 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33602 * math/s_clog.c (__clog): Avoid scaling a value down where that
33603 could result in underflow.
33604 * math/s_clog10.c (__clog10): Likewise.
33605 * math/s_clog10f.c (__clog10f): Likewise.
33606 * math/s_clog10l.c (__clog10l): Likewise.
33607 * math/s_clogf.c (__clogf): Likewise.
33608 * math/s_clogl.c (__clogl): Likewise.
33609 * math/libm-test.inc (clog_test): Add more tests.
33610 (clog10_test): Likewise.
33611 * sysdeps/i386/fpu/libm-test-ulps: Update.
33612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33614 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33617 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33618 by 7 not 8 to examine high bit of fractional part.
33621 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33622 for call to __mcount_internal.
33623 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33624 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33625 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33627 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33630 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33631 approximation for values within 0x1p-13f of an odd multiple of
33633 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33634 exception. Add more tests.
33635 * sysdeps/i386/fpu/libm-test-ulps: Update.
33638 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33639 inputs and return -1 for them. Do not check for +Inf in case not
33640 reachable for +Inf.
33641 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33642 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33643 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33644 and return -1 for them. Do not check for +Inf in case not
33645 reachable for +Inf.
33646 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33648 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33649 and return -1 for them. Do not check for +Inf in case not
33650 reachable for +Inf.
33651 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33652 spurious underflow.
33653 * sysdeps/i386/fpu/libm-test-ulps: Update.
33654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33656 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33658 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33660 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33664 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33665 could result in spurious underflow. Scale down values above
33666 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33667 * math/s_csqrtf.c (__csqrtf): Likewise.
33668 * math/s_csqrtl.c (__csqrtl): Likewise.
33669 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33670 spurious underflow.
33671 * sysdeps/i386/fpu/libm-test-ulps: Update.
33672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33674 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33676 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33678 * catgets/xopen-msg.awk: New file.
33679 * catgets/xopen-msg.sed: Removed.
33681 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33683 * intl/po2test.awk: New file.
33684 * intl/po2test.sed: Removed.
33686 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33689 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33690 or multiply small sinh result by itself.
33691 * math/s_ctanf.c (__ctanf): Likewise.
33692 * math/s_ctanh.c (__ctanh): Likewise.
33693 * math/s_ctanhf.c (__ctanhf): Likewise.
33694 * math/s_ctanhl.c (__ctanhl): Likewise.
33695 * math/s_ctanl.c (__ctanl): Likewise.
33696 * math/libm-test.inc (ctan_test_tonearest): New function.
33697 (ctan_test_towardzero): Likewise.
33698 (ctan_test_downward): Likewise.
33699 (ctan_test_upward): Likewise.
33700 (ctanh_test_tonearest): Likewise.
33701 (ctanh_test_towardzero): Likewise.
33702 (ctanh_test_downward): Likewise.
33703 (ctanh_test_upward): Likewise.
33704 (main): Call these new functions.
33705 * sysdeps/i386/fpu/libm-test-ulps: Update.
33706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33708 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33710 * .gitignore: Delete /ports entry.
33712 2012-07-03 Andreas Jaeger <aj@suse.de>
33714 * po/bg.po: Update from translation team.
33715 * po/cs.po: Likewise.
33716 * po/de.po: Likewise.
33717 * po/hr.po: Likewise.
33718 * po/nl.pl: Likewise.
33719 * po/pl.po: Likewise.
33720 * po/vi.po: Likewise.
33722 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33724 * Makeconfig [!+link] (+link-before-libc): New variable.
33725 [!+link] (+link-after-libc): Likewise.
33726 [!+link] (+link-tests): Likewise.
33727 [!+link] (+link): Define in terms of $(+link-before-libc) and
33728 $(+link-after-libc).
33729 [!+link-static] (+link-static-before-libc): New variable.
33730 [!+link-static] (+link-static-after-libc): Likewise.
33731 [!+link-static] (+link-static-tests): Likewise.
33732 [!+link-static] (+link-static): Define in terms of
33733 $(+link-static-before-libc) and $(+link-static-after-libc).
33734 [build-shared] (link-libc-before-gnulib): New variable.
33735 [build-shared] (link-libc-tests): Likewise.
33736 [build-shared] (link-libc): Define in terms of
33737 $(link-libc-before-gnulib).
33738 [!build-shared] (link-libc-tests): New variable.
33739 (link-libc-static-tests): New variable.
33740 [!gnulib] (gnulib-arch): New variable.
33741 [!gnulib] (gnulib-tests): Likewise.
33742 [!gnulib] (static-gnulib-arch): Likewise.
33743 [!gnulib] (static-gnulib-tests): Likewise.
33744 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33745 Define with "=" instead of ":=".
33746 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33747 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33748 * Rules (binaries-all-notests): New variable.
33749 (binaries-all-tests): Likewise.
33750 (binaries-static-notests): Likewise.
33751 (binaries-static-tests): Likewise.
33752 (binaries-all): Define using $(binaries-all-notests) and
33753 $(binaries-all-tests).
33754 (binaries-static): Define using $(binaries-static-notests) and
33755 $(binaries-static-tests).
33756 (binaries-shared-tests): New variable.
33757 (binaries-shared-notests): Likewise.
33758 (binaries-shared): Remove variable.
33759 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33760 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33761 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33762 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33763 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33764 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33765 * elf/Makefile (sln-modules): New variable.
33766 (extra-objs): Add $(sln-modules:=.o).
33767 (ldconfig-modules): Add static-stubs.
33768 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33769 * elf/static-stubs.c: New file.
33772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33773 by 7 not 8 to examine high bit of fractional part. Use volatile
33774 variables when splitting into final array of floats if
33775 __FLT_EVAL_METHOD__ != 0.
33776 * math/libm-test.inc (cos_test): Add another test.
33777 (sin_test): Likewise.
33778 * sysdeps/i386/fpu/libm-test-ulps: Update.
33781 * math/libm-test.inc (cosh_test): Add more tests.
33783 * version.h (RELEASE): Set to "development".
33784 (VERSION): Set to "2.16.90".
33786 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33788 * NEWS: Update copyright. Remove last-updated date.
33789 Mention math library bug fixes and timezone data changes.
33790 * README: Mention GNU/Hurd, x32, and HPPA support status.
33792 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33794 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33796 2012-06-27 Andreas Jaeger <aj@suse.de>
33798 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33800 2012-06-25 Andreas Jaeger <aj@suse.de>
33802 * sysdeps/s390/fpu/libm-test-ulps: Update.
33804 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33805 Thomas Schwinge <thomas@codesourcery.com>
33807 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33808 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33812 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33814 * sysdeps/mach/start.c: Remove file.
33815 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33816 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33817 * sysdeps/sh/init-first.c: Likewise.
33819 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33820 registers for frame unwinding purposes, add CFI directives.
33821 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33822 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33823 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33826 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33827 __fortify_fail returning.
33828 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33830 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33831 sysdeps/sh/____longjmp_chk.S.
33832 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33833 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33834 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33835 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33837 * sysdeps/sh/abort-instr.h: New file.
33838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33839 process in case exit returns.
33841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33842 initialize the GOT register before use.
33844 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33845 calculation of ARGC > 4.
33847 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33848 meaningful names to some local labels.
33850 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33851 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33853 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33854 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33855 (__arch_compare_and_exchange_val_16_acq): Likewise.
33856 (__arch_compare_and_exchange_val_32_acq): Likewise.
33857 (atomic_exchange_and_add): Fix gUSA sequence.
33858 (atomic_add): Likewise.
33859 (atomic_add_negative): Likewise.
33860 (atomic_add_zero): Likewise.
33861 (atomic_bit_test_set): Likewise.
33863 2012-06-22 Andreas Schwab <schwab@redhat.com>
33866 * include/link.h (struct link_map): Add l_free_initfini.
33867 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33869 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33870 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33871 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33874 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33876 * configure.in: Use AC_LANG_SOURCE.
33877 * configure: Regenerate.
33879 2012-06-22 Roland McGrath <roland@hack.frob.com>
33881 * configure.in (libc_cv_localstatedir): New substituted variable.
33882 * configure: Regenerated.
33883 * config.make.in (localstatedir): New variable, substituted from
33884 libc_cv_localstatedir.
33885 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33886 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33887 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33888 * sysdeps/gnu/configure: Regenerated.
33890 2012-06-21 Jeff Law <law@redhat.com>
33893 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33894 free. Simplify list management for _LIBC case.
33896 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33899 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33900 Clear sign bit of 64-bit integer value before comparing against
33903 * sysdeps/mach/configure: Regenerated.
33905 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33908 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33910 2012-06-21 Jeff Law <law@redhat.com>
33913 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33914 uint16_t for elements in the "seen" array to avoid char overflows.
33915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33916 * elf/dl-open.c (dl_open_worker): Likewise.
33918 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33920 * scripts/list-sources.sh: Scan PORTS for translations.
33921 * po/libc.pot: Regenerated.
33923 2012-06-21 Andreas Jaeger <aj@suse.de>
33926 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33928 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33929 * bits/byteswap-16.h (__bswap_16): Likewise.
33930 * bits/byteswap.h (__bswap_constant_16): Likewise.
33932 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33935 * sysdeps/i386/fpu_control.h: Removed.
33936 * sysdeps/x86_64/fpu_control.h: Moved to ...
33937 * sysdeps/x86/fpu_control.h: Here.
33939 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33940 (_FPU_SETCW): Likewise.
33942 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33945 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33946 * sysdeps/x86/fpu/bits/mathinline.h: This.
33947 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33951 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33952 functions if __x86_64__ is defined.
33954 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33956 * string/endian.h: Add !__ASSEMBLER__ condition for including
33957 conversion interfaces.
33959 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33963 of ABS(x) in calculating zero to negative powers other than odd
33965 * math/libm-test.inc (pow_test): Add more tests.
33967 2012-06-15 Andreas Jaeger <aj@suse.de>
33969 * manual/contrib.texi (Contributors): Update entry of Liubov
33970 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33973 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33975 * string/string.h: Add __wur to GNU version of strerror_r.
33977 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33980 * string/Makefile (tests): Add tst-strtok_r.
33981 * string/tst-strtok_r.c: New file.
33982 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33983 RAX_LP/RDX_LP on SAVE_PTR.
33985 2012-06-14 Roland McGrath <roland@hack.frob.com>
33987 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33989 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33991 * libm_test.inc (csqrt_test): Allow more spurious underflow
33993 (j0_test): Likewise.
33994 (j1_test): Likewise.
33995 (y0_test): Likewise.
33996 (y1_test): Likewise.
33998 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34000 * po/Makefile (libc.pot): Use UTF-8 charset.
34002 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34005 Suppress sign-conversion warning from FD_SET.
34006 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34007 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34008 not unsigned long int.
34009 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34011 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34015 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34016 __extern_always_inline instead of __extern_inline.
34017 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34018 (__signbit): Likewise.
34019 (__signbitl): Support C++ namespace.
34020 (lrintf): New inline function.
34022 (llrintf): Likewise.
34023 (llrint): Likewise.
34033 (floorf): Likewise.
34034 (nearbyint): Likewise.
34035 (nearbyintf): Likewise.
34037 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34039 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34040 non-default versions.
34042 2012-06-11 Roland McGrath <roland@hack.frob.com>
34045 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34047 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34049 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34050 (FE_UPWARD, FE_DOWNWARD): Don't define.
34051 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34052 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34054 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34056 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34057 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34059 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34061 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34063 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34064 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34066 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34069 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34070 * sysdeps/i386/fpu/Implies: New file.
34071 * sysdeps/x86_64/fpu/Implies: Likewise.
34072 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34073 * sysdeps/x86/fpu/bits/fenv.h: This.
34075 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34078 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34081 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34082 character 0xffff that matches the last element of the
34085 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34090 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34093 values higher than 25.6283.
34095 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34098 subnormal exponent extraction and add some __builtin_expect.
34099 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34100 Fix for subnormal mantissa calculation.
34102 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34104 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34105 cpu2 is -1 and errno is not ENOSYS.
34107 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34110 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34111 * sysdeps/x86/bits/string.h: This.
34112 * sysdeps/x86_64/bits/string.h: Removed.
34114 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34115 if not compiling for x86-64, but compiling for >= i486.
34117 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34118 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34120 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34121 New macro from Linux kernel 3.4.0.
34122 (FP_XSTATE_MAGIC2): Likewise.
34123 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34124 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34125 (struct _fpx_sw_bytes): New struct.
34126 (struct _xsave_hdr): Likewise.
34127 (struct _ymmh_state): Likewise.
34128 (struct _xstate): Likewise.
34130 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34131 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34132 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34133 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34134 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34135 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34137 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34138 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34139 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34140 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34141 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34142 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34144 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34147 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34148 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34149 (sysdep_headers): Include sys/platform/ppc.h.
34150 * sysdeps/powerpc/test-gettimebase.c: Test for
34151 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34152 * manual/Makefile (appendices): Include platform.texi.
34153 * manual/contrib.texi (Contributors): Update @node pointers.
34154 * manual/maint.texi (Maintenance): Likewise.
34155 (Platform): New node.
34156 * manual/platform.texi: New file. Document the new features.
34158 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34159 Jakub Jelinek <jakub@redhat.com>
34162 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34163 where __builtin_expect is unavailable.
34165 2012-06-03 David S. Miller <davem@davemloft.net>
34167 * stdlib/longlong.h: Updated from GCC.
34169 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34172 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34173 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34176 (GLIBC_2.16): Likewise.
34178 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34182 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34185 (default-abi): New variable.
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34187 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34189 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34191 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34193 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34196 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34197 definition. Document in comment.
34199 2012-06-01 David S. Miller <davem@davemloft.net>
34201 * stdlib/longlong.h: Updated from GCC.
34203 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34206 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34207 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34208 sys/debugreg.h sys/io.h here.
34209 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34210 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34212 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34213 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34214 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34215 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34216 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34217 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34219 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34220 Define only if __x86_64__ is defined.
34222 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34225 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34226 Use int64_t for variable i.
34227 * math/libm-test.inc (fmod_test): Add more tests.
34229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34230 z computation is not scheduled after fetestexcept.
34231 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34232 Use math_force_eval instead of asm to ensure calculation scheduled
34233 before exception test.
34234 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34235 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34237 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34240 computation is not scheduled after fetestexcept.
34242 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34245 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34246 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34248 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34250 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34251 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34253 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34256 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34258 (__WCHAR_MIN): Support __WORDSIZE == 64.
34259 (__WCHAR_MAX): Likewise.
34261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34262 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34265 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34266 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34269 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34272 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34273 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34275 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34276 Defined to 1 if __x86_64__ isn't defined.
34277 (_STAT_VER_LINUX_OLD): New.
34278 (st_atime): Remove duplicate.
34279 (st_mtime): Likewise.
34280 (st_ctime): Likewise.
34282 2012-05-31 David S. Miller <davem@davemloft.net>
34284 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34287 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34289 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34293 * elf/dl-reloc.c: Include <_itoa.h>.
34294 (_dl_reloc_bad_type): Remove use of INTUSE.
34295 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34296 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34297 * stdio-common/psiginfo.c (psiginfo): Likewise.
34298 * stdio-common/psignal.c (psignal): Likewise.
34299 * string/strsignal.c (strsignal): Likewise.
34300 * include/signal.h (_sys_siglist): Declare hidden proto.
34301 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34302 INTVARDEF with libc_hidden_data_def.
34303 * stdio-common/itoa-udigits.c: Likewise.
34304 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34305 (_itoa_lower_digits_internal): Remove declaration.
34306 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34307 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34308 (_sys_sigabbrev_internal): Remove aliases.
34309 (_sys_siglist): Define hidden alias.
34311 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34316 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34319 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34320 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34322 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34323 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34324 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34325 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34327 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34329 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34330 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34331 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34333 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34343 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34345 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34346 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34347 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34348 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34349 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34350 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34352 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34353 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34355 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34356 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34360 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34362 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34363 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34365 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34367 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34368 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34369 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34371 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34373 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34375 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34377 * math/math.h (M_El): Use two more decimal places.
34378 (M_LOG2El): Likewise.
34379 (M_LOG10El): Likewise.
34380 (M_LN2l): Likewise.
34381 (M_LN10l): Likewise.
34383 (M_PI_2l): Likewise.
34384 (M_PI_4l): Likewise.
34385 (M_1_PIl): Likewise.
34386 (M_2_PIl): Likewise.
34387 (M_2_SQRTPIl): Likewise.
34388 (M_SQRT2l): Likewise.
34389 (M_SQRT1_2l): Likewise.
34391 2012-05-31 David S. Miller <davem@davemloft.net>
34393 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34394 values between float registers.
34395 * sysdeps/sparc/sparc64/memset.S: Likewise.
34396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34398 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34400 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34401 -D_FORTIFY_SOURCE=1.
34402 (CPPFLAGS-tst-longjmp_chk.c): Define.
34403 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34404 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34405 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34406 CFLAGS-tst-wchar-h.c.
34408 2012-05-31 Marek Polacek <polacek@redhat.com>
34411 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34412 __endmntent_internal): Remove declaration.
34413 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34414 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34415 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34417 2012-05-30 David S. Miller <davem@davemloft.net>
34419 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34420 (___Q_simulate_exceptions): Use real FP ops rather than writing
34422 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34425 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34428 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34429 * sysdeps/x86/bits/xtitypes.h: This.
34431 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34432 * sysdeps/x86/bits/wordsize.h: This.
34434 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34435 * sysdeps/x86/bits/huge_vall.h: This.
34437 * sysdeps/i386/bits/select.h: Removed.
34438 * sysdeps/x86_64/bits/select.h: Renamed to ...
34439 * sysdeps/x86/bits/select.h: This.
34441 * sysdeps/i386/bits/setjmp.h: Removed.
34442 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34443 * sysdeps/x86/bits/setjmp.h: This.
34445 * sysdeps/i386/bits/mathdef.h: Removed.
34446 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34447 * sysdeps/x86/bits/mathdef.h: This.
34449 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34452 * include/sys/socket.h (__connect_internal)
34453 (__libc_sa_len_internal): Remove declaration.
34454 (__connect, __libc_sa_len): Declare hidden_proto.
34455 (SA_LEN): Remove use of INTUSE.
34456 * socket/connect.c: Add libc_hidden_def.
34457 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34458 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34459 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34461 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34462 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34463 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34464 of adding _internal alias.
34466 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34469 * sysdeps/i386/bits/link.h: Removed.
34470 * sysdeps/i386/bits/linkmap.h: Likewise.
34471 * sysdeps/x86_64/bits/link.h: Renamed to ...
34472 * sysdeps/x86/bits/link.h: This.
34473 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34474 * sysdeps/x86/bits/linkmap.h: This.
34476 * sysdeps/i386/bits/endian.h: Removed.
34477 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34478 * sysdeps/x86/bits/endian.h: This.
34480 * sysdeps/i386/bits/byteswap.h: Removed.
34481 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34482 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34483 * sysdeps/x86/bits/byteswap.h: This.
34484 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34485 * sysdeps/x86/bits/byteswap-16.h: This.
34486 * sysdeps/i386/Implies: Add x86.
34487 * sysdeps/x86_64/Implies: Likewise.
34489 2012-05-30 David S. Miller <davem@davemloft.net>
34491 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34492 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34493 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34494 (FP_TRAPPING_EXCEPTIONS): Define.
34495 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34496 (FP_TRAPPING_EXCEPTIONS): Define.
34497 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34498 subnormals only when inexact has been signalled or underflow
34499 exceptions are enabled.
34500 (_FP_PACK_CANONICAL): Likewise.
34502 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34506 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34508 2012-05-30 Richard Henderson <rth@twiddle.net>
34510 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34511 with #ifndef NOT_IN_libc.
34513 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34514 marked to avoid plt entry.
34516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34519 * Makeconfig (default-abi): New macro.
34520 (abi-includes): Likewise.
34521 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34522 $(abi-$(default-abi)-lib-soname) for soname if defined.
34523 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34525 * Makefile (installed-stubs): Likewise.
34526 * include/stubs-biarch.h: Removed.
34527 * scripts/lib-names.awk: Only handle one library at a time.
34528 * scripts/soversions.awk: Remove WORDSIZE support.
34529 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34531 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34533 (syscall-list-default-condition): Likewise.
34534 (syscall-list-default-condition): Likewise.
34535 (syscall-list-includes): Likewise.
34536 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34537 syscall-list-* with abi-*. Handle undefined abi-variants.
34538 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34539 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34540 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34541 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34542 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34543 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34545 (syscall-list-32-options): Likewise.
34546 (syscall-list-32-condition): Likewise.
34547 (syscall-list-64-options): Likewise.
34548 (syscall-list-64-condition): Likewise.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34551 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34554 (abi-64-ld-soname): New macro.
34555 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34556 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34559 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34560 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34562 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34564 * sysdeps/unix/sysv/linux/kernel-features.h
34565 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34566 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34567 include <kernel-features.h>.
34568 [!__NR_ftruncate64]: Remove conditional code.
34569 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34570 [__NR_ftruncate64]: Make code unconditional.
34571 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34572 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34573 include <kernel-features.h>.
34574 [!__NR_ftruncate64]: Remove conditional code.
34575 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34576 [__NR_ftruncate64]: Make code unconditional.
34577 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34579 include <kernel-features.h>.
34580 [!__NR_ftruncate64]: Remove conditional code.
34581 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34582 [__NR_ftruncate64]: Make code unconditional.
34583 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34585 include <kernel-features.h>.
34586 [!__NR_ftruncate64]: Remove conditional code.
34587 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34588 [__NR_ftruncate64]: Make code unconditional.
34589 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34591 * configure.in (libc_cv_fpie): Weaken to a compile test using
34592 LIBC_TRY_CC_OPTION.
34593 * configure: Regenerated.
34595 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34610 2012-05-27 David S. Miller <davem@davemloft.net>
34612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34614 (__Q_simulate_exceptions): Return void. Change to simulate
34615 exceptions by writing into the %fsr.
34616 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34617 (__Qp_handle_exceptions): Likewise.
34619 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34620 __Qp_handle_exceptions.
34621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34622 __Qp_handle_exceptions.
34623 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34624 as unused and give dummy FP_RND_NEAREST initializer.
34625 (FP_INHIBIT_RESULTS): Define.
34626 (___Q_simulate_exceptions): Update declaration.
34627 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34629 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34630 as unused and give dummy FP_RND_NEAREST initializer.
34631 (__Qp_handle_exceptions): Update declaration.
34632 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34635 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34638 the temporary FPU control word.
34639 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34640 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34641 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34642 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34643 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34644 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34645 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34646 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34647 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34648 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34651 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34653 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34656 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34658 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34659 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34660 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34661 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34663 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34664 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34667 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34669 * po/h.po: Update from translation team.
34671 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34673 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34675 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34676 handling of denormals.
34677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34678 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34679 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34686 2012-05-26 Marek Polacek <polacek@redhat.com>
34689 * math/libm-test.inc (fma_test): Don't always expect underflow
34692 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34695 * elf/tst-execstack.c: Include stackinfo.h.
34696 (do_test): Adjust test case to ensure that pthread_getattr_np
34697 behaviour remains the same after marking stack executable.
34699 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34701 * sysdeps/unix/sysv/linux/kernel-features.h
34702 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34703 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34705 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34706 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34707 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34709 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34710 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34712 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34714 * configure.in: Define the default includes to being none.
34715 * configure: Regenerated.
34717 2012-05-25 Roland McGrath <roland@hack.frob.com>
34719 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34720 * sysdeps/x86_64/setjmp.S: Likewise.
34721 * sysdeps/i386/bsd-setjmp.S: Likewise.
34722 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34723 * sysdeps/i386/setjmp.S: Likewise.
34724 * sysdeps/i386/__longjmp.S: Likewise.
34725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34726 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34728 * include/stap-probe.h: New file.
34729 * configure.in: Handle --enable-systemtap.
34730 * configure: Regenerated.
34731 * config.h.in (USE_STAP_PROBE): New #undef.
34732 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34733 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34734 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34736 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34740 to 2.4.0 where earlier.
34741 * sysdeps/unix/sysv/linux/configure: Regenerated.
34742 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34743 <kernel-features.h>.
34744 [__ASSUME_32BITUIDS]: Make code unconditional.
34745 [!__ASSUME_32BITUIDS]: Remove conditional code.
34746 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34747 <kernel-features.h>.
34748 [__ASSUME_32BITUIDS]: Make code unconditional.
34749 [!__ASSUME_32BITUIDS]: Remove conditional code.
34750 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34751 [__ASSUME_32BITUIDS]: Make code unconditional.
34752 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34753 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34754 <kernel-features.h>.
34755 [__ASSUME_32BITUIDS]: Make code unconditional.
34756 [!__ASSUME_32BITUIDS]: Remove conditional code.
34757 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34758 <kernel-features.h>.
34759 [__ASSUME_32BITUIDS]: Make code unconditional.
34760 [!__ASSUME_32BITUIDS]: Remove conditional code.
34761 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34762 <kernel-features.h>.
34763 [__ASSUME_32BITUIDS]: Make code unconditional.
34764 [!__ASSUME_32BITUIDS]: Remove conditional code.
34765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34766 <kernel-features.h>.
34767 [__ASSUME_32BITUIDS]: Make code unconditional.
34768 [!__ASSUME_32BITUIDS]: Remove conditional code.
34769 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34770 <kernel-features.h>.
34771 [__ASSUME_32BITUIDS]: Make code unconditional.
34772 [!__ASSUME_32BITUIDS]: Remove conditional code.
34773 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34774 <kernel-features.h>.
34775 [__ASSUME_32BITUIDS]: Make code unconditional.
34776 [!__ASSUME_32BITUIDS]: Remove conditional code.
34777 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34778 <kernel-features.h>.
34779 [__ASSUME_32BITUIDS]: Make code unconditional.
34780 [!__ASSUME_32BITUIDS]: Remove conditional code.
34781 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34782 <kernel-features.h>.
34783 [__ASSUME_32BITUIDS]: Make code unconditional.
34784 [!__ASSUME_32BITUIDS]: Remove conditional code.
34785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34786 <kernel-features.h>.
34787 [__ASSUME_32BITUIDS]: Make code unconditional.
34788 [!__ASSUME_32BITUIDS]: Remove conditional code.
34789 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34790 <kernel-features.h>.
34791 [__ASSUME_32BITUIDS]: Make code unconditional.
34792 [!__ASSUME_32BITUIDS]: Remove conditional code.
34793 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34794 <kernel-features.h>.
34795 [__NR_setresgid] (__setresgid): Do not declare.
34796 [__ASSUME_32BITUIDS]: Make code unconditional.
34797 [!__ASSUME_32BITUIDS]: Remove conditional code.
34798 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34799 <kernel-features.h>.
34800 [__NR_setresuid] (__setresuid): Do not declare.
34801 [__ASSUME_32BITUIDS]: Make code unconditional.
34802 [!__ASSUME_32BITUIDS]: Remove conditional code.
34803 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34804 <kernel-features.h>.
34805 [__ASSUME_32BITUIDS]: Make code unconditional.
34806 [!__ASSUME_32BITUIDS]: Remove conditional code.
34807 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34808 <kernel-features.h>.
34809 [__ASSUME_32BITUIDS]: Make code unconditional.
34810 [!__ASSUME_32BITUIDS]: Remove conditional code.
34811 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34812 <kernel-features.h>.
34813 [__ASSUME_32BITUIDS]: Make code unconditional.
34814 [!__ASSUME_32BITUIDS]: Remove conditional code.
34815 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34816 <kernel-features.h>.
34817 [__ASSUME_32BITUIDS]: Make code unconditional.
34818 [!__ASSUME_32BITUIDS]: Remove conditional code.
34819 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34820 <kernel-features.h>.
34821 [__ASSUME_32BITUIDS]: Make code unconditional.
34822 [!__ASSUME_32BITUIDS]: Remove conditional code.
34823 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34824 <kernel-features.h>.
34825 [__ASSUME_32BITUIDS]: Make code unconditional.
34826 [!__ASSUME_32BITUIDS]: Remove conditional code.
34827 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34828 <kernel-features.h>.
34829 [__ASSUME_32BITUIDS]: Make code unconditional.
34830 [!__ASSUME_32BITUIDS]: Remove conditional code.
34831 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34832 <kernel-features.h>.
34833 [__ASSUME_32BITUIDS]: Make code unconditional.
34834 [!__ASSUME_32BITUIDS]: Remove conditional code.
34835 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34836 <kernel-features.h>.
34837 [__ASSUME_32BITUIDS]: Make code unconditional.
34838 [!__ASSUME_32BITUIDS]: Remove conditional code.
34839 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34840 <kernel-features.h>.
34841 [__ASSUME_32BITUIDS]: Make code unconditional.
34842 [!__ASSUME_32BITUIDS]: Remove conditional code.
34843 * sysdeps/unix/sysv/linux/kernel-features.h
34844 (__ASSUME_SETRESUID_SYSCALL): Remove.
34845 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34846 (__ASSUME_32BITUIDS): Likewise.
34847 (__ASSUME_LDT_WORKS): Likewise.
34848 (__ASSUME_O_DIRECTORY): Likewise.
34849 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34850 architecture but not kernel version.
34851 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34852 (__ASSUME_MMAP2_SYSCALL): Likewise.
34853 (__ASSUME_STAT64_SYSCALL): Likewise.
34854 (__ASSUME_IPC64): Likewise.
34855 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34856 <kernel-features.h>.
34857 [__ASSUME_32BITUIDS]: Make code unconditional.
34858 [!__ASSUME_32BITUIDS]: Remove conditional code.
34859 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34860 <kernel-features.h>.
34861 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34862 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34863 132096]: Remove conditional code.
34864 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34865 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34866 <kernel-features.h>.
34867 [__ASSUME_32BITUIDS]: Make code unconditional.
34868 [!__ASSUME_32BITUIDS]: Remove conditional code.
34869 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34870 <kernel-features.h>.
34871 [__ASSUME_32BITUIDS]: Make code unconditional.
34872 [!__ASSUME_32BITUIDS]: Remove conditional code.
34873 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34874 <kernel-features.h>.
34875 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34877 (__setresgid): Do not declare.
34878 [__ASSUME_32BITUIDS]: Make code unconditional.
34879 [!__ASSUME_32BITUIDS]: Remove conditional code.
34880 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34881 <kernel-features.h>.
34882 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34884 (__setresuid): Do not declare.
34885 [__ASSUME_32BITUIDS]: Make code unconditional.
34886 [!__ASSUME_32BITUIDS]: Remove conditional code.
34887 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34888 <kernel-features.h>.
34889 [__ASSUME_32BITUIDS]: Make code unconditional.
34890 [!__ASSUME_32BITUIDS]: Remove conditional code.
34891 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34892 <kernel-features.h>.
34893 [__ASSUME_32BITUIDS]: Make code unconditional.
34894 [!__ASSUME_32BITUIDS]: Remove conditional code.
34896 2012-05-25 Richard Henderson <rth@twiddle.net>
34898 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34899 dl_hwcap to ifunc resolver.
34900 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34902 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34903 dl_hwcap to ifunc resolver.
34904 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34906 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34909 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34910 for |x| <= 2**-26, not 2**-57.
34911 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34914 2012-05-24 Jeff Law <law@redhat.com>
34916 * stdio-common/Makefile (tests): Add bug25.
34917 * stdio-common/bug25.c: New test.
34919 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34922 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34923 multiple of MALLOC_ALIGNMENT in size.
34924 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34926 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34928 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34930 (FILENAME_MAX): Use macro-int-constant.
34931 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34932 (_IOFBF): Use macro-int-constant.
34933 (_IOLBF): Likewise.
34934 (_IONBF): Likewise.
34935 (SEEK_CUR): Likewise.
34936 (SEEK_END): Likewise.
34937 (SEEK_SET): Likewise.
34938 (TMP_MAX): Likewise.
34939 (EOF): Use macro-int-constant. Require < 0.
34940 (NULL): Use macro-constant. Require == 0.
34941 (stdin): Require type to be FILE *.
34942 (stdout): Likewise.
34943 (stderr): Likewise.
34944 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34945 macro-int-constant.
34946 (EXIT_SUCCESS): Likewise.
34947 (NULL): Use macro-constant. Require == 0.
34948 (RAND_MAX): Use macro-int-constant.
34949 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34950 [C99-based standards] (strtof): Require function.
34951 [C99-based standards] (strtold): Likewise.
34952 [C99-based standards] (strtoll): Likewise.
34953 [C99-based standards] (strtoull): Likewise.
34954 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34955 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34956 [ISO || ISO99 || ISO11] (math.h): Likewise.
34957 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34958 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34961 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34964 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34965 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34966 * intl/dgettext.c (DCGETTEXT): Likewise.
34967 * intl/gettext.c (DCGETTEXT): Likewise.
34968 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34969 * posix/regex_internal.h (gettext): Likewise.
34970 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34971 Remove declaration.
34972 * include/argz.h (__argz_count_internal)
34973 (__argz_stringify_internal): Remove declaration.
34974 (__argz_count, __argz_stringify): Declare hidden proto.
34975 * intl/dcgettext.c: Remove use of INTDEF.
34976 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34977 * string/argz-stringify.c: Likewise.
34978 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34979 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34980 Declare hidden proto.
34981 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34982 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34983 Declare hidden proto.
34984 * include/stdio.h (__asprintf_internal): Don't declare.
34985 (__asprintf): Don't define as macro. Declare hidden proto.
34986 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34987 (__fsetlocking): Declare hidden proto.
34988 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34989 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34991 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34992 (_IO_setlinebuf): Remove use of INTUSE.
34993 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34994 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34995 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34996 Remove declaration.
34997 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34998 (_IO_do_flush): Remove use of INTUSE.
34999 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35000 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35001 (_IO_adjust_column, _IO_least_wmarker)
35002 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35003 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35004 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35005 (_IO_default_doallocate, _IO_wdefault_doallocate)
35006 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35007 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35008 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35009 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35010 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35011 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35012 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35013 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35014 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35015 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35016 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35017 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35018 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35020 (_IO_flush_all_internal, _IO_adjust_column_internal)
35021 (_IO_default_uflow_internal, _IO_default_finish_internal)
35022 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35023 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35024 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35025 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35026 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35027 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35028 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35029 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35030 (_IO_file_close_internal, _IO_file_close_it_internal)
35031 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35032 (_IO_file_init_internal, _IO_file_attach_internal)
35033 (_IO_file_fopen_internal, _IO_file_read_internal)
35034 (_IO_file_sync_internal, _IO_file_seek_internal)
35035 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35036 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35037 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35038 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35039 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35040 (_IO_list_all_internal, _IO_link_in_internal)
35041 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35042 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35043 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35044 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35045 (_IO_do_write_internal, _IO_padn_internal)
35046 (_IO_getline_info_internal, _IO_getline_internal)
35047 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35048 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35049 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35050 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35051 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35052 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35053 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35054 with libc_hidden_ver, remove use of INTUSE.
35055 * libio/genops.c: Likewise.
35056 * libio/freopen.c: Likewise.
35057 * libio/freopen64.c: Likewise.
35058 * libio/iofclose.c: Likewise.
35059 * libio/iofdopen.c: Likewise.
35060 * libio/iofflush.c: Likewise.
35061 * libio/iofflush_u.c: Likewise.
35062 * libio/iofgets.c: Likewise.
35063 * libio/iofgets_u.c: Likewise.
35064 * libio/iofopen.c: Likewise.
35065 * libio/iofopncook.c: Likewise.
35066 * libio/iofread.c: Likewise.
35067 * libio/iofread_u.c: Likewise.
35068 * libio/ioftell.c: Likewise.
35069 * libio/iofwrite.c: Likewise.
35070 * libio/iogetline.c: Likewise.
35071 * libio/iogets.c: Likewise.
35072 * libio/iogetwline.c: Likewise.
35073 * libio/iopadn.c: Likewise.
35074 * libio/iopopen.c: Likewise.
35075 * libio/ioseekoff.c: Likewise.
35076 * libio/ioseekpos.c: Likewise.
35077 * libio/iosetbuffer.c: Likewise.
35078 * libio/iosetvbuf.c: Likewise.
35079 * libio/ioungetc.c: Likewise.
35080 * libio/ioungetwc.c: Likewise.
35081 * libio/iovdprintf.c: Likewise.
35082 * libio/iovsprintf.c: Likewise.
35083 * libio/iovsscanf.c: Likewise.
35084 * libio/memstream.c: Likewise.
35085 * libio/obprintf.c: Likewise.
35086 * libio/oldfileops.c: Likewise.
35087 * libio/oldiofclose.c: Likewise.
35088 * libio/oldiofdopen.c: Likewise.
35089 * libio/oldiofopen.c: Likewise.
35090 * libio/oldiopopen.c: Likewise.
35091 * libio/oldstdfiles.c: Likewise.
35092 * libio/putc.c: Likewise.
35093 * libio/setbuf.c: Likewise.
35094 * libio/setlinebuf.c: Likewise.
35095 * libio/stdfiles.c: Likewise.
35096 * libio/strops.c: Likewise.
35097 * libio/vasprintf.c: Likewise.
35098 * libio/vscanf.c: Likewise.
35099 * libio/vsnprintf.c: Likewise.
35100 * libio/vswprintf.c: Likewise.
35101 * libio/wfiledoalloc.c: Likewise.
35102 * libio/wfileops.c: Likewise.
35103 * libio/wgenops.c: Likewise.
35104 * libio/wmemstream.c: Likewise.
35105 * libio/wstrops.c: Likewise.
35106 * libio/__fpurge.c: Likewise.
35107 * libio/__fsetlocking.c: Likewise.
35108 * assert/assert.c: Likewise.
35109 * debug/fgets_chk.c: Likewise.
35110 * debug/fgets_u_chk.c: Likewise.
35111 * debug/fread_chk.c: Likewise.
35112 * debug/fread_u_chk.c: Likewise.
35113 * debug/gets_chk.c: Likewise.
35114 * debug/obprintf_chk.c: Likewise.
35115 * debug/vasprintf_chk.c: Likewise.
35116 * debug/vdprintf_chk.c: Likewise.
35117 * debug/vsnprintf_chk.c: Likewise.
35118 * debug/vsprintf_chk.c: Likewise.
35119 * malloc/mtrace.c: Likewise.
35120 * misc/error.c: Likewise.
35121 * misc/syslog.c: Likewise.
35122 * stdio-common/asprintf.c: Likewise.
35123 * stdio-common/fxprintf.c: Likewise.
35124 * stdio-common/getw.c: Likewise.
35125 * stdio-common/isoc99_fscanf.c: Likewise.
35126 * stdio-common/isoc99_scanf.c: Likewise.
35127 * stdio-common/isoc99_vfscanf.c: Likewise.
35128 * stdio-common/isoc99_vscanf.c: Likewise.
35129 * stdio-common/isoc99_vsscanf.c: Likewise.
35130 * stdio-common/printf-prs.c: Likewise.
35131 * stdio-common/printf_fp.c: Likewise.
35132 * stdio-common/printf_fphex.c: Likewise.
35133 * stdio-common/printf_size.c: Likewise.
35134 * stdio-common/putw.c: Likewise.
35135 * stdio-common/scanf.c: Likewise.
35136 * stdio-common/sprintf.c: Likewise.
35137 * stdio-common/tmpfile.c: Likewise.
35138 * stdio-common/vfprintf.c: Likewise.
35139 * stdio-common/vfscanf.c: Likewise.
35140 * stdlib/strfmon_l.c: Likewise.
35141 * sunrpc/openchild.c: Likewise.
35142 * sunrpc/xdr_stdio.c: Likewise.
35143 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35144 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35146 2012-05-24 Roland McGrath <roland@hack.frob.com>
35148 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35150 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35151 in the third column, to generate for the shared library an IFUNC
35152 that uses _dl_vdso_vsym.
35153 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35154 * Makeconfig (object-suffixes-noshared): New variable.
35156 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35157 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35158 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35159 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35162 * include/sys/time.h (__gettimeofday): Remove macro.
35163 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35164 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35166 (__gettimeofday): Add libc_hidden_def.
35167 (gettimeofday): Add libc_hidden_weak.
35168 * sysdeps/mach/gettimeofday.c: Likewise.
35169 * sysdeps/posix/gettimeofday.c: Likewise.
35170 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35171 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35173 (__gettimeofday_internal): Remove strong_alias.
35174 (__gettimeofday): Add libc_hidden_def.
35175 (gettimeofday): Add libc_hidden_weak.
35176 * sysdeps/unix/syscalls.list (gettimeofday):
35177 Remove __gettimeofday_internal alias.
35179 2012-05-24 Daniel Jacobowitz <drow@false.org>
35180 H.J. Lu <hongjiu.lu@intel.com>
35183 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35184 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35185 (largebin_index_32_big): New.
35186 (largebin_index): Use it for 16-byte alignment.
35187 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35188 correction with front_misalign.
35190 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35218 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35219 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35221 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35225 * math/libm-test.inc (exp_test): Add test from bug 14036.
35226 (pow_test): Add test from bug 10846.
35228 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35230 (special_function): Do not include flags in test name.
35231 (parse_args): Likewise.
35232 * sysdeps/i386/fpu/libm-test-ulps: Update.
35233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35234 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35235 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35238 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35240 * math/libm-test.inc ("Philosophy"): Update comment about
35242 (UNDERFLOW_EXCEPTION): New macro.
35243 (UNDERFLOW_EXCEPTION_OK): Likewise.
35244 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35245 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35246 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35247 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35248 (INVALID_EXCEPTION_OK): Update value.
35249 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35250 (OVERFLOW_EXCEPTION_OK): Likewise.
35251 (IGNORE_ZERO_INF_SIGN): Likewise.
35252 (test_exceptions): Handle underflow exceptions.
35253 (acos_test): Update for underflow exception expectations.
35254 (cexp_test): Likewise.
35255 (clog_test): Likewise.
35256 (clog10_test): Likewise.
35257 (csqrt_test): Likewise.
35258 (ctan_test): Likewise.
35259 (ctanh_test): Likewise.
35260 (exp_test): Likewise.
35261 (exp10_test): Likewise.
35262 (exp2_test): Likewise.
35263 (expm1_test): Likewise.
35264 (fma_test): Likewise.
35265 (j0_test): Likewise.
35266 (jn_test): Likewise.
35267 (nexttoward_test): Likewise.
35268 (pow_test): Likewise.
35269 (scalbn_test): Likewise.
35270 (scalbln_test): Likewise.
35271 (tan_test): Likewise.
35272 (y1_test): Likewise.
35273 * sysdeps/i386/fpu/libm-test-ulps: Update.
35274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35276 2012-05-23 David S. Miller <davem@davemloft.net>
35278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35279 (__libc_sigaction): Remove unused local variables.
35281 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35283 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35285 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35287 mktime: avoid signed integer overflow
35288 * time/mktime.c (__mktime_internal): Do not mishandle the case
35289 where diff == INT_MIN.
35291 mktime: simplify computation of average
35292 * time/mktime.c (ranged_convert): Use new time_t_avg function
35293 instead of rolling our own (probably-slower) code.
35295 mktime: do not assume signed right shift propagates sign bit
35296 * time/mktime.c (isdst_differ): New static function.
35297 (__mktime_internal): No need to normalize tm_isdst now.
35298 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35301 mktime: merge another wrapv change from gnulib
35302 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35303 from some compilers.
35305 mktime: remove incorrect attempt at unusual arithmetics
35306 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35307 The code didn't really work on such machines anyway.
35308 (TYPE_MINIMUM): Assume two's complement.
35309 (twos_complement_arithmetic): Verify that long_int and time_t
35310 are two's complement (or unsigned, in the latter case).
35312 mktime: check signed shifts on long_int and time_t, too
35313 * time/mktime.c (SHR): Check that shifts work as desired
35314 on the types long_int and time_t too, as SHR is used on
35317 mktime: do not assume 'long' is wide enough
35318 * time/mktime.c (verify): Move decl up.
35319 (long_int): New type.
35320 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35321 to remove assumption in the code that 'long' is wide enough to
35322 store year values. This assumption is not true on x32 and on
35323 some non-glibc platforms.
35325 mktime: merge wrapv change from gnulib
35326 * time/mktime.c (WRAPV): New macro.
35327 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35328 (guess_time_tm, __mktime_internal): Do not assume that signed
35329 integer overflow wraps around; modern compilers generate code
35330 where this assumption is no longer valid.
35332 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35334 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35335 Replace "jmp L(pseudo_end)" with "ret".
35336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35339 2012-05-23 Andreas Jaeger <aj@suse.de>
35341 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35342 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35344 2012-05-23 Andreas Jaeger <aj@suse.de>
35345 Maximilian Attems <max@stro.at>
35347 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35350 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35352 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35353 code so that pseudo_end is just ret and the stack pointer is
35354 correct also for static library in error case.
35356 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35358 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35359 move to syscalls.list.
35360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35365 * manual/install.texi (Running make install): Do not mention Linux
35366 kernel version for which pt_chown is not needed.
35367 (Linux): Do not mention problems with nscd with 2.0 kernels.
35368 * INSTALL: Regenerated.
35370 2012-05-23 Andreas Jaeger <aj@suse.de>
35372 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35373 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35375 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35377 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35379 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35380 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35382 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35385 * sysdeps/unix/sysv/linux/bits/in.h
35386 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35388 2012-05-22 Roland McGrath <roland@hack.frob.com>
35390 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35391 (PREPARE_VERSION): Just use assert instead, it will be elided
35392 under [NDEBUG] anyway.
35394 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35396 * sysdeps/unix/sysv/linux/Makefile: Include
35397 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35398 (sysdep_routines): Remove sysctl.
35399 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35400 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35401 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35403 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35405 2012-05-22 Andreas Jaeger <aj@suse.de>
35407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35408 that pseudo_end is just ret and the stack pointer is correct also
35409 for static library in error case.
35411 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35414 * nss/nsswitch.c (defconfig_entries): New variable.
35415 (__nss_database_lookup): Don't leak defconfig entries.
35416 (nss_parse_service_list): Don't leak on error paths.
35417 (free_database_entries): New function.
35418 (free_defconfig): New function.
35419 (free_mem): Move common code to free_database_entries.
35421 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35425 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35427 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35428 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35431 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35432 (INTERNAL_SYSCALL_TYPES): Likewise.
35433 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35434 (LOAD_REGS_TYPES_[1-6]): Likewise.
35435 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35436 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35438 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35440 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35441 copysignl for GLIBC_2_0.
35442 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35443 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35445 logbl for GLIBC_2_0.
35446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35447 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35449 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35452 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35454 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35457 * time/mktime.c: Update copyright years.
35459 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35461 mktime: merge comment-quoting-style change from gnulib
35462 * time/mktime.c: Quote 'like this' in comments.
35463 The GNU coding standards suggest that we no longer quote `like this',
35464 as "`" and "'" are typically rendered asymmetrically nowadays.
35465 The typical gnulib style is to quote 'like this' when quoting
35466 code, and "like this" when quoting English.
35468 * time/mktime.c (compile-command): Add "-I.".
35470 mktime: merge mktime-internal.h change from gnulib
35471 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35473 mktime: merge time_r change from gnulib
35474 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35476 mktime: merge DEBUG change from gnulib
35477 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35478 case system <time.h> has a #define.
35480 mktime: merge <sys/types.h> change from gnulib
35481 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35482 since <time.t> is now guaranteed to define time_t.
35484 mktime: merge HAVE_CONFIG_H change from gnulib
35485 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35487 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35492 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35494 (struct rusage): Use anonymous union to pad each field to
35497 2012-05-21 David S. Miller <davem@davemloft.net>
35499 * Makefules (o-iterator): Remove .s cases.
35500 (compile-command.s): Delete.
35501 (COMPILE.s): Delete.
35502 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35504 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35506 * configure.in (libc_cv_predef_stack_protector): Only consider
35507 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35508 * configure: Regenerated.
35510 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35513 New macro. Use R*LP on int and pointer.
35514 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35515 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35516 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35517 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35519 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35520 [__WORDSIZE_TIME64_COMPAT32] instead of
35521 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35522 (struct utmp): Likewise.
35523 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35524 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35526 (__WORDSIZE_TIME64_COMPAT32): This.
35527 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35528 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35529 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35530 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35532 (__WORDSIZE_TIME64_COMPAT32): New macro.
35534 2012-05-21 Andreas Jaeger <aj@suse.de>
35536 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35537 only if [SHARED]. Add prototype for __wcschr_ia32.
35539 2012-05-21 Roland McGrath <roland@hack.frob.com>
35541 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35542 of %rbp unmolested in the jmp_buf while mangling the low bits.
35543 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35544 unmolested high bits of %rbp while demangling the low bits.
35545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35547 2012-05-21 Andreas Jaeger <aj@suse.de>
35549 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35550 * sunrpc/svc_simple.c: Use it for registerrpc.
35551 * sunrpc/xcrypt.c: Use it for passwd2des.
35553 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35555 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35557 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35558 Don't define if [__SYSCALL_WORDSIZE != 32].
35559 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35562 2012-05-21 Bruno Haible <bruno@clisp.org>
35563 Andreas Jaeger <aj@suse.de>
35565 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35566 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35567 inptr and inend for must_buffer_ch.
35568 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35569 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35570 * stdio-common/Makefile (tests): Remove bug15.
35571 (bug15-ENV): Remove macro.
35572 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35575 2012-05-19 Andreas Jaeger <aj@suse.de>
35576 Roland McGrath <roland@hack.frob.com>
35578 * manual/contrib.texi: Completely rewritten. It contains now an
35579 alphabetical list of contributors and their contributions.
35581 2012-05-21 Richard Henderson <rth@twiddle.net>
35583 * misc/getauxval.c (__getauxval): Use unsigned long int.
35584 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35585 (getauxval): Use unsigned long int.
35587 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35591 2012-05-21 Roland McGrath <roland@hack.frob.com>
35593 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35594 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35595 __alignof__ (long double).
35597 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35601 2012-05-20 Richard Henderson <rth@twiddle.net>
35603 * misc/getauxval.c: New file.
35604 * misc/sys/auxv.h: New file.
35605 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35606 (routines): Add getauxval.
35607 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35608 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35609 * elf/dl-sysdep.c (_dl_auxv): Remove.
35610 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35611 * elf/dl-support.c (_dl_auxv): New variable.
35612 (_dl_aux_init): Initialize it.
35613 * manual/startup.texi (Auxiliary Vector): New node.
35614 * sysdeps/generic/bits/hwcap.h: New file.
35615 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35616 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35617 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35618 * sysdeps/sparc/sysdep.h: ... here. Include it.
35619 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35620 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35632 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35636 2012-05-19 David S. Miller <davem@davemloft.net>
35638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35640 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35643 * math/s_ccosh.c: Include <float.h>
35644 (__ccosh): Avoid internal overflow calculating sinh and cosh
35645 values before multiplying by sin and cos values.
35646 * math/s_ccoshf.c: Likewise.
35647 * math/s_ccoshl.c: Likewise.
35648 * math/s_csin.c: Likewise.
35649 * math/s_csinf.c: Likewise.
35650 * math/s_csinl.c: Likewise.
35651 * math/s_csinh.c: Likewise.
35652 * math/s_csinhf.c: Likewise.
35653 * math/s_csinhl.c: Likewise.
35654 * math/libm-test.inc (ccos_test): Add more tests.
35655 (ccosh_test): Likewise.
35656 (csin_test): Likewise.
35657 (csinh_test): Likewise.
35658 * sysdeps/i386/fpu/libm-test-ulps: Update.
35659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35661 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35663 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35664 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35666 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35668 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35671 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35672 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35673 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35674 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35675 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35676 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35677 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35678 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35679 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35680 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35681 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35682 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35683 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35684 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35685 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35686 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35687 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35688 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35689 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35690 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35691 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35692 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35693 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35694 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35695 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35696 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35697 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35698 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35699 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35700 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35702 2012-05-18 Andreas Jaeger <aj@suse.de>
35704 * csu/.gitignore: Delete.
35706 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35708 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35709 (timex): Use __syscall_slong_t.
35711 2012-05-18 Andreas Jaeger <aj@suse.de>
35712 Carlos O'Donell <carlos_odonell@mentor.com>
35714 * manual/install.texi (Configuring and compiling): Update
35715 description about files modified in the source directory.
35716 * INSTALL: Regenerated.
35718 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35720 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35721 value. Use "or" to set return value to -1.
35722 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35723 negate return value.
35725 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35727 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35728 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35729 failure if the compiler has Graphite support disabled.
35730 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35732 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35733 (CFLAGS-memmove.c): Likewise.
35734 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35737 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35739 * sysdeps/x86_64/x32/_itoa.h: New file.
35741 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35742 getdents system call only if kernel and user dirents have the
35743 same d_ino and d_off.
35745 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35746 LLONG_MAX != LONG_MAX.
35747 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35748 (_fitoa_word): Likewise.
35750 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35753 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35754 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35756 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35757 include <bits/wordsize.h>. Check __x86_64__ instead of
35759 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35760 if __x86_64__ is defined. Use anonymous union on fpstate.
35762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35765 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35767 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35768 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35769 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35770 Refer to _rtld_local_ro instead of _rtld_global_ro.
35771 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35773 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35775 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35777 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35778 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35779 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35781 * sysdeps/powerpc/powerpc32/dl-machine.c
35782 (__elf_machine_runtime_setup) [PROF]: Don't reference
35785 2012-05-18 Andreas Jaeger <aj@suse.de>
35787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35788 function only available for GCCs before 3.4 since GCC 3.4
35789 introduced a builtin.
35791 (llrintf): Likewise.
35792 (llrint): Likewise.
35799 (nearbyint): Likewise.
35800 (nearbyintf): Likewise.
35804 (floorf): Likewise.
35806 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35808 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35809 on both fields and cast pointer to __syscall_ulong_t.
35811 * bits/types.h (__fsword_t): New type.
35812 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35813 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35815 (__FSWORD_T_TYPE): Likewise.
35816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35817 (__FSWORD_T_TYPE): Likewise.
35818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35819 (__FSWORD_T_TYPE): Likewise.
35820 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35821 (__FSWORD_T_TYPE): Likewise.
35822 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35823 __SWORD_TYPE with __fsword_t.
35824 (statfs64): Likewise.
35826 2012-05-17 David S. Miller <davem@davemloft.net>
35828 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35830 2012-05-17 Andreas Jaeger <aj@suse.de>
35832 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35835 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35837 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35839 2012-05-17 Andreas Jaeger <aj@suse.de>
35841 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35844 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35846 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35848 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35850 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35851 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35853 2012-05-17 Andreas Jaeger <aj@suse.de>
35854 Carlos O'Donell <carlos_odonell@mentor.com>
35857 * sysdeps/x86_64/multiarch/init-arch.h
35858 (bit_YMM_Usable): Rename to...
35859 (bit_AVX_Usable): ... this.
35860 (bit_FMA4_Usable): New macro.
35861 (bit_XMM_state): New macro.
35862 (bit_YMM_state): New macro.
35863 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35864 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35865 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35866 (CPUID_OSXSAVE): New macro.
35867 (CPUID_AVX): New macro.
35868 (CPUID_FMA4): New macro.
35869 (index_YMM_Usable): Rename to...
35870 (index_AVX_Usable): ... this.
35871 (HAS_AVX): Use HAS_ARCH_FEATURE.
35872 (HAS_FMA4): Likewise.
35873 (HAS_YMM_USABLE): Remove.
35874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35875 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35877 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35878 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35879 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35880 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35881 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35883 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35885 * math/libm-test.c: Support platforms without multiple rounding modes.
35886 * math/bug-nextafter.c: Support platforms without FP exceptions.
35887 * math/bug-nexttoward.c: Likewise.
35888 * math/test-fenv.c: Likewise.
35889 * math/test-misc.c: Likewise.
35890 * stdlib/bug-getcontext.c: Likewise.
35892 2012-05-17 Andreas Jaeger <aj@suse.de>
35894 * manual/examples/search.c (critter_cmp): Change signature to
35896 * manual/string.texi (Collation Functions): Likewise.
35898 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35900 * bits/types.h: Fold copyright years.
35901 * bits/typesizes.h: Likewise.
35902 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35906 * time/time.h: Likewise.
35908 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35911 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35912 in instead of returning them. Return void.
35913 (__libc_mallinfo): Accumulate over all arenas.
35914 (__malloc_stats): Adjust for change in int_mallinfo interface.
35916 2012-05-16 Roland McGrath <roland@hack.frob.com>
35919 * configure.in (NM): Add AC_CHECK_TOOL for it.
35920 (libc_extra_cflags): New substituted variable.
35921 Check for -fstack-protector being used implicitly.
35922 * configure: Regenerated.
35923 * config.make.in (config-extra-cflags): New variable,
35924 gets @libc_extra_cflags@.
35925 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35928 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35929 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35930 * configure: Regenerated.
35931 * config.make.in (CPPUNDEFS): New substituted variable.
35932 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35933 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35934 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35938 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35939 (mq_attr): Use __syscall_slong_t.
35941 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35943 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35944 Check __x86_64__ instead of __WORDSIZE.
35945 (_STAT_VER_LINUX): Likewise.
35946 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35947 __syscall_ulong_t and __syscall_slong_t.
35948 (stat64): Likewise.
35950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35952 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35954 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35956 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35960 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35964 include <bits/wordsize.h>. Check __x86_64__ instead of
35966 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35968 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35970 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35971 include <bits/wordsize.h>. Check __x86_64__ instead of
35973 (user_regs_struct): Use "__extension__ unsigned long long"
35974 instead of "unsigned long" if __x86_64__ is defined.
35975 (user): Likewise. Pad after pointer field if __ILP32__ is
35978 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35980 * configure.in (makeinfo): Require version 4.5 or later. Allow
35982 * configure: Regenerated.
35983 * manual/install.texi (texinfo): Increase version requirement to
35985 * INSTALL: Regenerated.
35987 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35989 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35991 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35993 * sysdeps/x86_64/x32/ffs.c: New file.
35995 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35997 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35998 defined. Use __syscall_ulong_t.
35999 (shminfo): Use __syscall_ulong_t.
36000 (shm_info): Likewise.
36002 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36005 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36007 (msgqnum_t): Use __syscall_ulong_t.
36008 (msglen_t): Likewise.
36009 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36012 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36013 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36015 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36017 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36018 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36020 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36023 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36024 include <bits/wordsize.h>. Check __x86_64__ instead of
36027 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36028 "unsigned long long int" if __x86_64__ is defined.
36029 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36031 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36033 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36035 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36037 (GET_PC): Cast to uintptr_t first.
36038 (GET_FRAME): Likewise.
36039 (GET_STACK): Likewise.
36041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36042 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36047 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36048 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36049 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36051 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36053 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36059 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36061 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36063 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36065 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36071 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36073 * Makerules (+depfiles): Also collect depfiles from .oS in
36075 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36076 .oS, $(libnldbl-routines)).
36078 * Makerules (native-compile-mkdep-flags): Define.
36079 * sunrpc/Makefile (extra-objs): Add $(addprefix
36080 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36081 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36082 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36083 calling $(make-target-directory).
36085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36087 * bits/types.h (__snseconds_t): Removed.
36088 * time/time.h (struct timespec): Replace __snseconds_t with
36090 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36091 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36094 (__SNSECONDS_T_TYPE): Likewise.
36095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36096 (__SNSECONDS_T_TYPE): Likewise.
36097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36098 (__SNSECONDS_T_TYPE): Likewise.
36100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36102 * sysdeps/mach/hurd/bits/typesizes.h
36103 (__SYSCALL_SLONG_TYPE): New macro.
36104 (__SYSCALL_ULONG_TYPE): Likewise.
36106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36108 * bits/types.h (__syscall_slong_t): New type.
36109 (__syscall_ulong_t): Likewise.
36111 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36112 (__SYSCALL_ULONG_TYPE): Likewise.
36113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36114 (__SYSCALL_SLONG_TYPE): Likewise.
36115 (__SYSCALL_ULONG_TYPE): Likewise.
36116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36117 (__SYSCALL_SLONG_TYPE): Likewise.
36118 (__SYSCALL_ULONG_TYPE): Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36120 (__SYSCALL_SLONG_TYPE): Likewise.
36121 (__SYSCALL_ULONG_TYPE): Likewise.
36123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36125 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36126 Add sigaltstack-offsets.sym.
36127 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36128 <sigaltstack-offsets.h>.
36129 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36130 longjmp_msg pointer.
36131 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36132 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36134 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36136 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36138 * elf/stackguard-macros.h: Remove file.
36139 * sysdeps/generic/stackguard-macros.h: New file.
36140 * sysdeps/i386/stackguard-macros.h: Likewise.
36141 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36142 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36143 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36144 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36145 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36146 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36147 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36148 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36149 <elf/stackguard-macros.h>.
36152 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36153 __aligned__ in attribute.
36154 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36155 (gregset_t): Likewise.
36157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36159 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36160 * sysdeps/x86_64/64/Implies-after: Here. New file.
36161 * sysdeps/x86_64/x32/Implies-after: New file.
36163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36165 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36166 and access return value for _dl_profile_fixup. Use R10_LP to
36169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36171 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36175 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36176 * sysdeps/x86_64/x32/sysdep.h: New file.
36178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36180 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36181 * sysdeps/x86_64/setjmp.S: Likewise.
36183 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36186 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36187 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36188 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36189 remove unused global constant.
36191 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36193 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36194 include of <not-cancel.h>.
36196 2012-05-15 Roland McGrath <roland@hack.frob.com>
36198 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36200 2012-05-15 Jeff Law <law@redhat.com>
36201 Andreas Jaeger <aj@suse.de>
36204 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36206 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36207 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36208 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36209 code changing __hst_map_handle.map.
36211 2012-05-15 Roland McGrath <roland@hack.frob.com>
36213 * configure.in (sysnames): Look for Implies-before and Implies-after
36215 * configure: Regenerated.
36217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36219 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36220 8-byte data alignment with LP_SIZE alignment.
36222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36224 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36229 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36233 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36234 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36235 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36241 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36242 (stackinfo_sub_sp): Likewise.
36244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36256 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36261 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36265 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36266 into R11_LP and load __x86_64_shared_cache_size_half into
36269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36274 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36283 powerpc32/power7/fpu/s_logb.c via #include.
36284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36285 powerpc32/power7/fpu/s_logbf.c via #include.
36286 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36287 powerpc32/power7/fpu/s_logbl.c via #include.
36289 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36291 * README.libm: Remove file.
36293 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36295 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36296 count for x32. Use R*_LP and omit operand-size suffix.
36298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36300 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36301 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36302 * sysdeps/x86_64/x32/shlib-versions: New file.
36304 2012-05-14 Roland McGrath <roland@hack.frob.com>
36306 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36307 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36308 Use _dl_fatal_printf instead.
36310 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36312 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36313 set if not set by the user. Do not allow for being unset.
36314 * sysdeps/unix/sysv/linux/configure: Regenerated.
36316 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36318 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36319 the `q' suffix from lea and replace .quad with ASM_ADDR.
36321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36324 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36326 (PTR_DEMANGLE): Likewise.
36328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36330 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36332 (ASM_ADDR): Likewise.
36333 (RAX_LP): Likewise.
36334 (RBP_LP): Likewise.
36335 (RBX_LP): Likewise.
36336 (RCX_LP): Likewise.
36337 (RDI_LP): Likewise.
36338 (RSI_LP): Likewise.
36339 (RSP_LP): Likewise.
36342 (R10_LP): Likewise.
36343 (R10_LP): Likewise.
36344 (R11_LP): Likewise.
36345 (R12_LP): Likewise.
36346 (R13_LP): Likewise.
36347 (R14_LP): Likewise.
36348 (R15_LP): Likewise.
36350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36352 * sysdeps/x86_64/x32/dl-machine.h: New file.
36354 2012-05-14 Andreas Jaeger <aj@suse.de>
36356 * manual/Makefile (subdir): Remove export of subdir.
36357 (all): Remove target.
36358 (.PHONY): Remove all from list.
36359 (mkinstalldirs): Remove.
36360 (.PHONY): Remove installdirs from list.
36361 ($(inst_infodir)/libc.info): Use make-target-directory.
36362 (installdirs): Remove.
36363 (subdir_%): Remove.
36364 (glibc-targets): Remove.
36367 ($(objpfx)stubs ../po/manual.pot): Remove.
36368 ($(objpfx)stamp%): Remove.
36369 (make-target-directory): Remove.
36370 (subdir_install): Remove.
36371 (routines): Remove.
36378 * manual/.gitignore: Remove, it's not needed anymore.
36379 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36381 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36383 (texis): Renamed to $(objpfx)texis.
36384 (texis-path): New, contains path to generated files.
36385 (chapters.%): Use texis-path for complete path, add extra argument
36387 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36388 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36389 (summary,texi, stamp-summary): Use complete path of
36390 files. Generate files in build dir.
36391 (dir-add.texi): Build in build dir.
36392 (libm-err.texi,stamp-libm-err): Likewise.
36393 (version.texi, stamp-version): Likewise.
36394 (.%c.texi): Likewise.
36395 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36396 (mostlyclean): Remove target.
36397 (realclean): Remove target.
36398 (generated): Add new variable with contents from mostlyclean and
36399 realclean, remove entries duplicated in common-mostlyclean, add
36400 stamp-libm-err and stamp-version.
36401 (generated-dirs): Add libc directory.
36402 ($(inst_infodir)/libc.info): Install files from build dir.
36404 * manual/install.texi (Configuring and compiling): Adjust since
36405 the info files are not part of the tar ball anymore.
36407 2012-05-14 Andreas Jaeger <aj@suse.de>
36409 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36412 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36415 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36416 to 2.2.0 where earlier.
36417 * sysdeps/unix/sysv/linux/configure: Regenerated.
36418 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36419 Remove conditional code.
36420 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36421 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36422 Remove conditional code.
36423 [!__NR_lchown]: Likewise.
36424 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36425 [__NR_lchown]: Likewise.
36426 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36427 comment referencing __ASSUME_LCHOWN_SYSCALL.
36428 * sysdeps/unix/sysv/linux/i386/sigaction.c
36429 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36430 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36431 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36432 Remove conditional code.
36433 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36434 (__protocol_available): Remove #if 0 code.
36435 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36437 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36438 * sysdeps/unix/sysv/linux/kernel-features.h
36439 (__ASSUME_GETCWD_SYSCALL): Don't define.
36440 (__ASSUME_REALTIME_SIGNALS): Likewise.
36441 (__ASSUME_PREAD_SYSCALL): Likewise.
36442 (__ASSUME_PWRITE_SYSCALL): Likewise.
36443 (__ASSUME_POLL_SYSCALL): Likewise.
36444 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36445 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36447 (__ASSUME_SIOCGIFNAME): Don't define.
36448 (__ASSUME_MSG_NOSIGNAL): Likewise.
36449 (__ASSUME_SENDFILE): Define unconditionally.
36450 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36451 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36453 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36454 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36455 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36456 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36457 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36458 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36459 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36484 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36485 Remove conditional code.
36486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36487 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36488 Remove conditional code.
36489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36490 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36491 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36492 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36493 Remove conditional code.
36494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36495 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36496 Remove conditional code.
36497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36498 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36499 Remove conditional code.
36500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36501 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36502 Remove conditional code.
36503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36504 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36505 Remove conditional code.
36506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36510 * sysdeps/unix/sysv/linux/sigaction.c
36511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36513 * sysdeps/unix/sysv/linux/sigpending.c
36514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36516 * sysdeps/unix/sysv/linux/sigprocmask.c
36517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36519 * sysdeps/unix/sysv/linux/sigsuspend.c
36520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36523 (__libc_missing_rt_sigs): Remove.
36524 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36525 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36526 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36527 Remove conditional code.
36528 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36529 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36531 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36532 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36534 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36536 2012-05-14 Andreas Jaeger <aj@suse.de>
36538 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36539 it's not used in glibc.
36540 (__coshm1): Likewise.
36541 (__acosh1p): Likewise.
36544 * manual/string.texi (Copying and Concatenation): Add missing
36545 variable in concat example.
36546 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36551 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36552 __builtin_clzl with __builtin_clzll.
36554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36557 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36560 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36562 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36563 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36564 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36565 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36567 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36569 * NEWS: Update ia64 info.
36571 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36573 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36576 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36578 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36579 * sysdeps/unix/syscalls.list (dup3): Likewise.
36580 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36581 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36583 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36585 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36586 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36588 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36590 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36592 (TLS_IE): Use mov/add instead of movq/addq to load thread
36594 (TLS_GD_PREFIX): New.
36597 2012-05-11 David S. Miller <davem@davemloft.net>
36599 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36600 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36601 (_FPU_SETCW): Likewise.
36603 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36605 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36606 is 32-byte aligned.
36608 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36611 * iconvdata/gb18030.c: Update tables.
36612 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36613 characters specially.
36614 (BODY for TO_LOOP): Add encoding of missing ranges.
36616 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36619 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36620 * sysdeps/mach/hurd/dup3.c: Likewise.
36621 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36622 * sysdeps/powerpc/memmove.c:: Likewise.
36624 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36627 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36629 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36631 * elf/elf.h (R_X86_64_RELATIVE64): New.
36632 (R_X86_64_NUM): Updated.
36633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36634 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36635 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36636 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36637 tst-quad1pie tst-quad2pie
36638 (modules-names): Add tst-quadmod1 tst-quadmod2.
36639 ($(objpfx)tst-quad1): New dependency.
36640 ($(objpfx)tst-quad2): Likewise.
36641 ($(objpfx)tst-quad1pie): Likewise.
36642 ($(objpfx)tst-quad2pie): Likewise.
36643 * sysdeps/x86_64/tst-quad1.c: New file.
36644 * sysdeps/x86_64/tst-quad1pie.c: New file.
36645 * sysdeps/x86_64/tst-quad2.c: Likewise.
36646 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36647 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36648 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36649 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36650 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36654 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36655 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36656 * streams/stropts.h (t_scalar_t): Define type.
36658 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36659 (_PATH_PRESERVE): Set to "/var/lib".
36660 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36662 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36665 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36666 if __dir_mkfile succeeded.
36668 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36669 checking for _hurd_dtablesize. Unlock it right after having
36670 finished _hurd_dtable allocation.
36672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36674 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36675 * sysdeps/mach/hurd/configure: Regenerated.
36676 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36677 special-casing to...
36678 * sysdeps/gnu/configure.in: ... this new file.
36679 * sysdeps/unix/sysv/linux/configure: Regenerated.
36680 * sysdeps/gnu/configure: New generated file.
36682 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36683 for Linux: use nsec instead of usec, as well as:
36684 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36685 members of type struct timespec.
36686 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36688 (struct stat64): Likewise.
36689 (_STATBUF_ST_NSEC): New macro.
36690 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36692 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36693 __strtoul_internal rather than strtoul.
36695 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36697 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36700 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36702 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36703 which preserves existing values.
36704 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36706 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36708 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36709 TIMEOUT values. Return EINVAL for NFDS values either negative or
36710 greater than FD_SETSIZE.
36712 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36714 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36715 allocated, call __vm_protect to finish enabling the existing space, and
36716 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36717 allocate the remainder.
36719 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36721 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36722 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36726 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36727 sysdeps/mach/hurd/readlink.c.
36729 * posix/tst-sysconf.c (posix_options): Only use
36730 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36731 _POSIX_SYNCHRONIZED_IO when they are defined
36732 * sysdeps/mach/hurd/bits/posix_opt.h:
36733 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36734 (_XOPEN_REALTIME): Undefine macro.
36735 (_XOPEN_REALTIME_THREADS): Undefine macro.
36736 (_XOPEN_SHM): Undefine macro.
36737 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36739 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36741 (_POSIX_ASYNC_IO): Undefine macro.
36742 (_POSIX_PRIORITIZED_IO): Undefine macro.
36743 (_POSIX_SPIN_LOCKS): Define macro to -1.
36745 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36746 SA_NODEFER, SA_RESETHAND.
36747 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36748 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36753 * elf/Makefile (pldd-modules): Define unconditionally.
36755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36757 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36759 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36761 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36762 Return ENOENT when name is empty.
36763 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36767 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36769 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36773 Fix mlock in all cases except non-readable pages.
36774 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36775 instead of VM_PROT_ALL as parameter to __vm_wire function.
36777 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36778 (__mkdir): When path is `/', just fail with EEXIST.
36779 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36781 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36783 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36784 <sys/uio.h> (for writev).
36785 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36786 and <sys/param.h> (for MIN).
36788 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36790 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36791 REQUESTED_TIME. Properly set the remaining time and return EINTR
36794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36796 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36797 Depend on against $(link-rpcuserlibs).
36799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36801 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36802 (__libc_stack_end): Do not use attribute_relro.
36803 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36804 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36805 to libthread-provided value.
36806 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36812 * bits/libc-lock.h (__libc_once_get): New macro.
36813 * sysdeps/mach/bits/libc-lock.h: Likewise.
36814 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36816 instead of using implementation details.
36818 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36819 * libio/freopen.c: Likewise.
36820 * libio/freopen64.c: Likewise.
36821 * misc/syslog.c: Likewise.
36822 * nscd/connections.c: Likewise.
36823 * nscd/netgroupcache.c: Likewise.
36824 * sysdeps/posix/getcwd.c: Likewise.
36826 2012-05-10 Roland McGrath <roland@hack.frob.com>
36828 * math/w_ilogbf.c: Add #include <limits.h>.
36830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36832 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36833 path instead of returning without unlocking.
36835 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36836 immediate-write ioctls.
36837 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36841 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36842 __builtin_frame_address instead of making assumptions about the
36843 location of the return address relative to DATA. Force early load of
36844 the return address.
36845 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36846 __builtin_frame_address.
36849 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36850 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36851 implement dup3 and do some further code clean-ups.
36852 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36853 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36857 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36859 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36860 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36861 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36862 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36863 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36866 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36867 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36868 when handler == SIG_ERR, not when handler != SIG_ERR.
36870 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36872 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36873 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36876 accept4 for GNU Hurd.
36877 * include/sys/socket.h (__libc_accept4): New prototype.
36878 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36879 to implement __libc_accept4.
36880 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36882 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36884 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36885 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36886 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36887 signal-defines.sym.
36889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36891 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36895 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36896 assertion on O_CLOEXEC flag.
36897 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36898 * hurd/intern-fd.c: Likewise.
36899 * hurd/port2fd.c: Likewise.
36901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36904 * bits/in.h (IPV6_PKTINFO): Define new macro.
36905 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36907 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36912 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36914 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36915 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36917 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36918 * math/libm-test.inc (logb_test) : Additional logb tests.
36920 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36921 Andreas Jaeger <aj@suse.de>
36923 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36924 * configure: Regenerated.
36925 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36926 * config.make.in (link-obsolete-rpc): New substituted variable.
36927 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36928 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36929 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36930 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36931 so that libc.a contains the symbols.
36932 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36933 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36934 * sunrpc/auth_none.c: Likewise.
36935 * sunrpc/auth_unix.c: Likewise.
36936 * sunrpc/authdes_prot.c: Likewise.
36937 * sunrpc/authuxprot.c: Likewise.
36938 * sunrpc/clnt_gen.c: Likewise.
36939 * sunrpc/clnt_perr.c: Likewise.
36940 * sunrpc/clnt_raw.c: Likewise.
36941 * sunrpc/clnt_simp.c: Likewise.
36942 * sunrpc/clnt_tcp.c: Likewise.
36943 * sunrpc/clnt_udp.c: Likewise.
36944 * sunrpc/clnt_unix.c: Likewise.
36945 * sunrpc/des_crypt.c: Likewise.
36946 * sunrpc/des_soft.c: Likewise.
36947 * sunrpc/get_myaddr.c: Likewise.
36948 * sunrpc/key_call.c: Likewise.
36949 * sunrpc/key_prot.c: Likewise.
36950 * sunrpc/netname.c: Likewise.
36951 * sunrpc/pm_getmaps.c: Likewise.
36952 * sunrpc/pm_getport.c: Likewise.
36953 * sunrpc/pmap_clnt.c: Likewise.
36954 * sunrpc/pmap_prot.c: Likewise.
36955 * sunrpc/pmap_prot2.c: Likewise.
36956 * sunrpc/pmap_rmt.c: Likewise.
36957 * sunrpc/publickey.c: Likewise.
36958 * sunrpc/rpc_cmsg.c: Likewise.
36959 * sunrpc/rpc_common.c: Likewise.
36960 * sunrpc/rpc_dtable.c: Likewise.
36961 * sunrpc/rpc_prot.c: Likewise.
36962 * sunrpc/rpc_thread.c: Likewise.
36963 * sunrpc/rtime.c: Likewise.
36964 * sunrpc/svc.c: Likewise.
36965 * sunrpc/svc_auth.c: Likewise.
36966 * sunrpc/svc_raw.c: Likewise.
36967 * sunrpc/svc_run.c: Likewise.
36968 * sunrpc/svc_tcp.c: Likewise.
36969 * sunrpc/svc_udp.c: Likewise.
36970 * sunrpc/svc_unix.c: Likewise.
36971 * sunrpc/svcauth_des.c: Likewise.
36972 * sunrpc/xcrypt.c: Likewise.
36973 * sunrpc/xdr.c: Likewise.
36974 * sunrpc/xdr_array.c: Likewise.
36975 * sunrpc/xdr_float.c: Likewise.
36976 * sunrpc/xdr_intXX_t.c: Likewise.
36977 * sunrpc/xdr_mem.c: Likewise.
36978 * sunrpc/xdr_rec.c: Likewise.
36979 * sunrpc/xdr_ref.c: Likewise.
36980 * sunrpc/xdr_sizeof.c: Likewise.
36981 * sunrpc/xdr_stdio.c: Likewise.
36983 2012-05-10 Roland McGrath <roland@hack.frob.com>
36985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36986 change. Update copyright years.
36988 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36990 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36992 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36993 Joseph Myers <joseph@codesourcery.com>
36994 Paul Pluzhnikov <ppluzhnikov@google.com>
36997 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36999 [cross-compiling] (extra-libs): Likewise.
37000 [cross-compiling] (extra-libs-others): Likewise.
37001 [cross-compiling] (librpcsvc-routines): Likewise.
37002 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37003 [cross-compiling] (omit-deps): Likewise.
37004 (sunrpc-CPPFLAGS): New variable.
37005 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37006 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37007 (cross-rpcgen-objs): New variable.
37008 (extra-objs): Append $(cross-rpcgen-objs).
37009 ($(cross-rpcgen-objs)): New rule.
37010 ($(objpfx)cross-rpcgen): Likewise.
37011 (rpcgen-cmd): Define to use $(built-program-file). Expand
37013 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37014 ($(objpfx)x%.stmp): Likewise.
37015 * sunrpc/proto.h [IS_IN_build] (_): Define.
37016 [IS_IN_build] (_libc_intl_domainname): Likewise.
37018 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37021 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37022 and R_X86_64_TPOFF64.
37024 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37026 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37027 sysdeps/unix/sysv/syscalls.list.
37030 * sysdeps/unix/sysv/syscalls.list: Remove file.
37032 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37035 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37036 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37037 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37038 (__LC_IDENTIFICATION): Make these macros useful in #if
37039 expressions, as required by C99.
37041 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37043 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37044 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37047 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37049 * stdlib/longlong.h: Updated from GCC.
37051 2012-05-09 Andreas Jaeger <aj@suse.de>
37053 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37054 default is first entry.
37055 (run_mode): Set type.
37056 (main): Remove informal message about syslog.
37057 (options): Fix typo.
37060 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37063 (llrintf): Likewise.
37064 (llrint): Likewise.
37067 (nearbyint): Likewise.
37068 (nearbyintf): Likewise.
37070 2012-05-09 Andreas Jaeger <aj@suse.de>
37071 Pedro Alves <palves@redhat.com>
37073 * nscd/nscd.c (run_mode): Use enum.
37074 (main): Cleanup coding style issue.
37076 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37077 Andreas Jaeger <aj@suse.de>
37079 * nscd/nscd.c (go_background): Replaced with...
37080 (run_mode): ... this.
37081 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37082 (options): Add -F --foreground.
37083 (main): Implement it.
37084 (parse_opt): Parse it.
37086 2012-05-09 Andreas Jaeger <aj@suse.de>
37089 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37090 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37091 -Wconversion warning.
37092 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37095 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37097 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37099 (LC_ALL): Use macro-int-constant.
37100 (LC_COLLATE): Likewise.
37101 (LC_CTYPE): Likewise.
37102 (LC_MESSAGES): Likewise.
37103 (LC_MONETARY): Likewise.
37104 (LC_NUMERIC): Likewise.
37105 (LC_TIME): Likewise.
37106 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37107 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37109 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37111 [C99-based standards] (float_t): Expect type.
37112 [C99-based standards] (double_t): Expect type.
37113 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37115 [C99-based standards] (HUGE_VALL): Likewise.
37116 [C99-based standards] (INFINITY): Likewise.
37117 [C99-based standards] (NAN): Likewise.
37118 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37119 [C99-based standards] (FP_NAN): Likewise.
37120 [C99-based standards] (FP_NORMAL): Likewise.
37121 [C99-based standards] (FP_SUBNORMAL): Likewise.
37122 [C99-based standards] (FP_ZERO): Likewise.
37123 [C99-based standards] (FP_FAST_FMA): Use
37124 optional-macro-int-constant. Specify type. Require == 1.
37125 [C99-based standards] (FP_FAST_FMAF): Likewise.
37126 [C99-based standards] (FP_FAST_FMAL): Likewise.
37127 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37128 [C99-based standards] (FP_ILOGBNAN): Likewise.
37129 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37131 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37132 [C99-based standards] (math_errhandling): Specify type.
37133 [ISO99 || ISO11] (signgam): Do not allow.
37134 [non-C99-based standards] (copysignf): Do not allow.
37135 [non-C99-based standards] (exp2f): Likewise.
37136 [non-C99-based standards] (log2f): Likewise.
37137 [non-C99-based standards] (modff): Allow.
37138 [non-C99-based standards] (erff): Do not allow.
37139 [non-C99-based standards] (erfcf): Likewise.
37140 [non-C99-based standards] (gammaf): Likewise.
37141 [non-C99-based standards] (hypotf): Likewise.
37142 [non-C99-based standards] (j0f): Likewise.
37143 [non-C99-based standards] (j1f): Likewise.
37144 [non-C99-based standards] (jnf): Likewise.
37145 [non-C99-based standards] (lgammaf): Likewise.
37146 [non-C99-based standards] (tgammaf): Likewise.
37147 [non-C99-based standards] (y0f): Likewise.
37148 [non-C99-based standards] (y1f): Likewise.
37149 [non-C99-based standards] (ynf): Likewise.
37150 [non-C99-based standards] (isnanf): Likewise.
37151 [non-C99-based standards] (acoshf): Likewise.
37152 [non-C99-based standards] (asinhf): Likewise.
37153 [non-C99-based standards] (atanhf): Likewise.
37154 [non-C99-based standards] (cbrtf): Likewise.
37155 [non-C99-based standards] (expm1f): Likewise.
37156 [non-C99-based standards] (ilogbf): Likewise.
37157 [non-C99-based standards] (log1pf): Likewise.
37158 [non-C99-based standards] (logbf): Likewise.
37159 [non-C99-based standards] (nextafterf): Likewise.
37160 [non-C99-based standards] (remainderf): Likewise.
37161 [non-C99-based standards] (rintf): Likewise.
37162 [non-C99-based standards] (scalbf): Likewise.
37163 [non-C99-based standards] (copysignl): Likewise.
37164 [non-C99-based standards] (exp2l): Likewise.
37165 [non-C99-based standards] (log2l): Likewise.
37166 [non-C99-based standards] (modfl): Allow.
37167 [non-C99-based standards] (erfl): Do not allow.
37168 [non-C99-based standards] (erfcl): Likewise.
37169 [non-C99-based standards] (gammal): Likewise.
37170 [non-C99-based standards] (hypotl): Likewise.
37171 [non-C99-based standards] (j0l): Likewise.
37172 [non-C99-based standards] (j1l): Likewise.
37173 [non-C99-based standards] (jnl): Likewise.
37174 [non-C99-based standards] (lgammal): Likewise.
37175 [non-C99-based standards] (tgammal): Likewise.
37176 [non-C99-based standards] (y0l): Likewise.
37177 [non-C99-based standards] (y1l): Likewise.
37178 [non-C99-based standards] (ynl): Likewise.
37179 [non-C99-based standards] (isnanl): Likewise.
37180 [non-C99-based standards] (acoshl): Likewise.
37181 [non-C99-based standards] (asinhl): Likewise.
37182 [non-C99-based standards] (atanhl): Likewise.
37183 [non-C99-based standards] (cbrtl): Likewise.
37184 [non-C99-based standards] (expm1l): Likewise.
37185 [non-C99-based standards] (ilogbl): Likewise.
37186 [non-C99-based standards] (log1pl): Likewise.
37187 [non-C99-based standards] (logbl): Likewise.
37188 [non-C99-based standards] (nextafterl): Likewise.
37189 [non-C99-based standards] (remainderl): Likewise.
37190 [non-C99-based standards] (rintl): Likewise.
37191 [non-C99-based standards] (scalbl): Likewise.
37192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37193 [non-C99-based standards] (FP_*): Do not allow.
37194 [C99-based standards] (FP_*): Change to
37195 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37196 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37198 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37199 (SIG_ERR): Likewise.
37200 [X/Open-based standards] (SIG_HOLD): Likewise.
37201 (SIG_IGN): Likewise.
37202 (SIGABRT): Use macro-int-constant. Specify type. Require
37204 (SIGFPE): Likewise.
37205 (SIGILL): Likewise.
37206 (SIGINT): Likewise.
37207 (SIGSEGV): Likewise.
37208 (SIGTER): Likewise.
37209 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37210 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37211 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37212 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37213 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37214 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37215 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37216 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37217 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37218 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37219 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37220 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37221 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37222 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37223 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37224 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37225 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37226 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37227 [X/Open-based standards] (SIGTRAP): Likewise.
37228 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37229 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37230 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37231 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37232 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37235 2012-05-08 Ian Wienand <ianw@vmware.com>
37238 * time/tzset.c (__tzset_parse_tz): Update default rules for
37239 daylight time changes in the Energy Policy Act of 2005.
37241 2012-05-09 Andreas Jaeger <aj@suse.de>
37244 * elf/ldconfig.c (parse_conf): Change string to make clear that
37245 ldconfig only issued a warning if ld.so.conf does not exist.
37247 2012-05-08 David S. Miller <davem@davemloft.net>
37249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37250 movxtod instead of popping the value on the stack.
37252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37254 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37256 * config.h.in: Add HAVE_ARM_PCS_VFP.
37258 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37261 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37262 checking but the checks are disabled for any reason.
37264 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37266 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37267 and ELF64_R_TYPE with ELFW(R_TYPE).
37269 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37271 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37272 (ulimit): Likewise.
37274 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37275 (settimeofday): Likewise.
37277 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37279 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37280 a struct th_u2 inside the union, and move tu_block/tu_code into
37281 a new th_u3 union of tu_block/tu_code inside of that. Move
37282 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37283 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37284 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37285 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37286 (th_stuff): Change to th_u1.tu_stuff.
37288 (th_msg): Change to th_u1.th_u2.tu_data.
37290 2012-05-07 David S. Miller <davem@davemloft.net>
37292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37295 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37296 (SETUP_PIC_REG): Use it.
37297 (SETUP_PIC_REG_LEAF): Use it.
37299 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37303 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37305 (EXPL_FINITE): Likewise.
37306 (FLDLOG): Likewise.
37307 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37308 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37310 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37312 (EXPL_FINITE): Likewise.
37313 (FLDLOG): Likewise.
37314 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37315 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37317 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37318 test of -max_value argument for long double.
37319 * sysdeps/i386/fpu/libm-test-ulps: Update.
37320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37322 2012-05-06 David S. Miller <davem@davemloft.net>
37324 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37325 quad soft-float symbols whose references which are compiler
37327 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37329 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37335 (EXPL_FINITE): Likewise.
37336 (FLDLOG): Likewise.
37339 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37340 Adjust comments for base varying.
37341 (__expl_finite): Change alias to EXPL_FINITE.
37342 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37344 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37345 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37347 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37348 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37350 (EXPL_FINITE): Likewise.
37351 (FLDLOG): Likewise.
37354 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37355 Adjust comments for base varying.
37356 (__expl_finite): Change alias to EXPL_FINITE.
37357 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37362 * math/libm-test.inc (check_float_internal): Correct ulp
37363 calculation for subnormal expected results.
37365 2012-05-06 Andreas Jaeger <aj@suse.de>
37367 * Makeconfig (+math-flags): New, set to -frounding-math.
37368 (+cflags): Add +math-flags so that all of glibc gets compiled with
37371 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37373 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37375 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37381 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37382 (__ieee754_expl): Allow for and saturate large arguments.
37383 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37384 (u_threshold): Likewise.
37385 (__exp): Call __ieee754_exp before checking for overflow and
37387 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37388 (u_threshold): Likewise.
37389 (__expf): Call __ieee754_expf before checking for overflow and
37391 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37392 (u_threshold): Likewise.
37393 (__expl): Call __ieee754_expl before checking for overflow and
37395 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37396 (__ieee754_expl): Allow for and saturate large arguments.
37397 * math/libm-test.inc (exp_test): Add another test. Do not allow
37398 missing overflow exception on overflow.
37399 (expm1_test): Do not allow missing overflow exception on overflow.
37401 * sysdeps/i386/fpu/e_expl.c: Move to ...
37402 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37403 rather than using inline asm.
37404 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37405 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37406 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37408 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37411 (signal): Likewise.
37415 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37417 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37418 sysdeps/unix/common/syscalls.list.
37419 (fchmod): Likewise.
37420 (fchown): Likewise.
37421 (ftruncate): Likewise.
37422 (getrusage): Likewise.
37423 (gettimeofday): Likewise.
37424 (setpgid): Likewise.
37425 (setregid): Likewise.
37426 (setreuid): Likewise.
37427 (sigaction): Likewise.
37428 (truncate): Likewise.
37429 (vhangup): Likewise.
37430 * sysdeps/unix/common/syscalls.list: Remove file.
37431 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37432 * sysdeps/unix/sysv/linux/Implies: Likewise.
37434 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37436 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37438 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37442 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37445 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37448 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37451 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37454 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37457 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37464 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37468 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37471 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37475 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37479 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37481 * sysdeps/unix/common/bits/dirent.h: Remove file.
37482 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37484 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37485 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37486 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37487 * sysdeps/unix/bsd/isatty.c: Likewise.
37488 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37489 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37490 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37492 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37495 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37496 long double comparison inaccuracies.
37497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37500 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37502 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37505 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37508 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37509 nonzero digits before rounding a hex value.
37510 * stdlib/tst-strtod.c (tests): Add another test.
37512 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37514 * sysdeps/s390/fpu/libm-test-ulps: Update.
37516 2012-05-03 Andreas Jaeger <aj@suse.de>
37518 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37519 does not get optimized out.
37520 (malloc_opt_barrier): New.
37522 2012-05-03 Andreas Jaeger <aj@suse.de>
37523 Roland McGrath <roland@hack.frob.com>
37525 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37526 intermediate file deletion.
37527 (generated): Add .symlist files.
37529 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37532 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37533 Redirect under this condition.
37534 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37535 [__USE_GNU] (__dprintf_chk): Not under this condition.
37536 [__USE_GNU] (__vdprintf_chk): Likewise.
37537 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37538 under this condition.
37539 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37540 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37541 [__USE_XOPEN2K8] (vdprintf): Likewise.
37542 [__USE_GNU] (__dprintf_chk): Not under this condition.
37543 [__USE_GNU] (__vdprintf_chk): Likewise.
37544 [__USE_GNU] (dprintf): Likewise.
37545 [__USE_GNU] (vdprintf): Likewise.
37547 2012-05-03 Roland McGrath <roland@hack.frob.com>
37549 * elf/Makefile (common-generated): Set this instead of generated for
37550 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37551 $(all-built-dso)-derived lists.
37553 2012-05-03 Andreas Jaeger <aj@suse.de>
37555 * sysdeps/i386/fpu/libm-test-ulps: Update.
37558 * FAQ.in: Likewise.
37559 * scripts/gen-FAQ.pl: Likewise.
37560 * manual/install.texi (Installation): Point to online location of
37562 * Makefile (files-for-dist): Remove FAQ.
37565 2012-05-02 Allan McRae <allan@archlinux.org>
37567 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37568 (LDFLAGS-reldepmod5.so): Likewise.
37569 (LDFLAGS-reldep6mod1.so): Likewise.
37570 (LDFLAGS-reldep6mod4.so): Likewise.
37571 (LDFLAGS-reldep8mod3.so): Likewise.
37572 (LDFLAGS-unload4mod1.so): Likewise.
37573 (LDFLAGS-unload4mod2.so): Likewise.
37574 (LDFLAGS-tst-initorder): Likewise.
37575 (LDFLAGS-tst-initordera2.so): Likewise.
37576 (LDFLAGS-tst-initordera3.so): Likewise.
37577 (LDFLAGS-tst-initordera4.so): Likewise.
37578 (LDFLAGS-tst-initorderb2.so): Likewise.
37579 (LDFLAGS-noload): Likewise.
37580 (LDFLAGS-next): Likewise.
37581 (LDFLAGS-order2mod1.so): Likewise.
37582 (LDFLAGS-order2mod2.so): Likewise.
37583 (LDFLAGS-tst-initorder2): Likewise.
37584 (LDFLAGS-tst-initorder2a.so): Likewise.
37585 (LDFLAGS-tst-initorder2b.so): Likewise.
37586 (LDFLAGS-tst-initorder2c.so): Likewise.
37587 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37589 2012-05-02 David S. Miller <davem@davemloft.net>
37591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37593 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37596 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37598 2012-05-02 Andreas Jaeger <aj@suse.de>
37600 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37601 since we manipulate rounding mode.
37602 (CPPFLAGS-test-idouble.c): Likewise.
37603 (CPPFLAGS-test-ifloat.c): Likewise.
37604 (CFLAGS-test-ldouble.c): Likewise.
37605 (CFLAGS-test-double.c): Likewise.
37606 (CFLAGS-test-float.c): Likewise.
37607 (CFLAGS-test-misc.c): Likewise.
37608 (CFLAGS-test-test-fenv.c): Likewise.
37610 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37614 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37615 comparisons to determine direction to adjust input.
37617 2012-05-01 Roland McGrath <roland@hack.frob.com>
37619 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37620 output to the target.
37622 * scripts/localplt.awk: New file.
37623 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37624 (check-localplt-CFLAGS): Variable removed.
37625 ($(all-built-dso:=.jmprel)): New static pattern rule.
37626 (generated): Add those targets.
37627 (localplt-built-dso): New variable.
37628 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37630 * elf/check-localplt.c: File removed.
37632 * scripts/check-execstack.awk: New file.
37633 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37634 (check-execstack-CFLAGS): Variable removed.
37635 ($(objpfx)check-execstack.h): Target removed.
37636 ($(objpfx)execstack-default): New target.
37637 (generated): Add that instead of check-execstack.h.
37638 ($(all-built-dso:=.phdr)): New static pattern rule.
37639 (generated): Add those targets.
37640 * elf/check-execstack.c: File removed.
37642 * scripts/check-textrel.awk: New file.
37643 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37644 (check-textrel-CFLAGS): Variable removed.
37645 (all-built-dso): Use := to define.o
37646 ($(all-built-dso:=.dyn)): New static pattern rule.
37647 (generated): Add those targets.
37648 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37649 * config.make.in (READELF): New substituted variable.
37650 * elf/check-textrel.c: File removed.
37652 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37654 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37656 * conform/data/ctype.h-data [C99-based standards] (isblank):
37658 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37659 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37661 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37662 Specify type. Require positive value.
37663 (EILSEQ): Likewise.
37664 (ERANGE): Likewise.
37665 [ISO || POSIX] (EILSEQ): Do not expect.
37666 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37667 Specify type. Require positive value.
37668 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37671 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37672 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37673 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37674 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37675 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37676 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37677 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37678 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37679 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37683 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37695 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37706 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37707 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37708 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37709 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37710 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37714 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37715 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37716 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37717 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37718 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37734 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37738 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37742 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37743 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37744 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37746 (FLT_ROUNDS): Expect as macro, not constant.
37747 (FLT_MANT_DIG): Use macro-int-constant.
37748 (DBL_MANT_DIG): Likewise.
37749 (LDBL_MANT_DIG): Likewise.
37750 (FLT_DIG): Likewise.
37751 (DBL_DIG): Likewise.
37752 (LDBL_DIG): Likewise.
37753 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37754 (DBL_MIN_EXP): Likewise.
37755 (LDBL_MIN_EXP): Likewise.
37756 (FLT_MAX_EXP): Use macro-int-constant.
37757 (DBL_MAX_EXP): Likewise.
37758 (LDBL_MAX_EXP): Likewise.
37759 (FLT_MAX_10_EXP): Likewise.
37760 (DBL_MAX_10_EXP): Likewise.
37761 (LDBL_MAX_10_EXP): Likewise.
37762 (FLT_MAX): Use macro-constant.
37763 (DBL_MAX): Likewise.
37764 (LDBL_MAX): Likewise.
37765 (FLT_EPSILON): Use macro-constant. Give upper bound.
37766 (DBL_EPSILON): Likewise.
37767 (LDBL_EPSILON): Likewise.
37768 (FLT_MIN): Likewise.
37769 (DBL_MIN): Likewise.
37770 (LDBL_MIN): Likewise.
37771 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37772 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37773 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37774 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37775 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37776 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37777 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37778 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37779 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37780 [ISO11] (FLT_TRUE_MIN): Likewise.
37781 [ISO11] (LDBL_TRUE_MIN): Likewise.
37782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37783 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37784 (SCHAR_MIN): Use macro-int-constant. Specify type.
37785 (SCHAR_MAX): Likewise.
37786 (UCHAR_MAX): Likewise.
37787 (CHAR_MIN): Likewise.
37788 (CHAR_MAX): Likewise.
37789 (MB_LEN_MAX): Use macro-int-constant.
37790 (SHRT_MIN): Use macro-int-constant. Specify type.
37791 (SHRT_MAX): Likewise.
37792 (USHRT_MAX): Likewise.
37793 (INT_MAX): Likewise.
37794 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37796 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37798 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37800 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37801 bound negative. Suffix upper bound with "L".
37802 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37804 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37806 [C99-based standards] (LLONG_MAX): Likewise.
37807 [C99-based standards] (ULLONG_MAX): Likewise.
37808 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37810 [ISO11] (max_align_t): Require type.
37811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37813 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37814 from $CFLAGS, without defining away __attribute__ calls.
37815 (checknamespace): Use $CFLAGS_namespace.
37817 * conform/conformtest.pl (@keywords): Only include C99 keywords
37818 for standards based on C99 or C11.
37820 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37822 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37825 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37826 usability of symbols in #if.
37828 * conform/conformtest.pl: If macro or constant types start
37829 "promoted:", expect the symbol to be of the following type
37830 promoted by the integer promotions.
37832 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37833 in one place. Also handle "macro-constant".
37835 * conform/conformtest.pl: Only accept expected macro values with
37836 "==". Parse all "macro" lines in one place.
37837 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37839 * conform/conformtest.pl: Handle braced types on "constant" lines
37840 instead of handling "typed-constant".
37841 * conform/data/signal.h-data: Use "constant" instead of
37844 * conform/conformtest.pl: Handle "optional-" at start of lines in
37845 one place rather than duplicating several cases. Handle each
37846 format of "macro" line with initial "optional-".
37848 * conform/conformtest.pl: Only accept expected constant or
37849 optional-constant values with "==". Parse all "constant" lines in
37850 one place. Parse all "optional-constant" lines in one place.
37851 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37852 * conform/data/fmtmsg.h-data: Likewise.
37853 * conform/data/netinet/in.h-data: Likewise.
37854 * conform/data/tar.h-data: Likewise.
37855 * conform/data/limits.h-data: Use "==" form on "constant" and
37856 "optional-constant" lines.
37858 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37859 Use -std=c99 for XOPEN2K.
37860 (@knownproblems): Remove.
37861 (newtoken): Don't check %isknown.
37863 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37864 Do not expect macro.
37865 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37866 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37867 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37868 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37869 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37870 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37871 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37872 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37873 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37874 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37875 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37876 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37877 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37878 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37879 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37880 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37881 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37882 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37883 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37884 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37885 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37889 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37890 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37895 [XPG3] (acosh): Likewise.
37896 [XPG3] (asinh): Likewise.
37897 [XPG3] (atanh): Likewise.
37898 [XPG3] (cbrt): Likewise.
37899 [XPG3] (expm1): Likewise.
37900 [XPG3] (ilogb): Likewise.
37901 [XPG3] (log1p): Likewise.
37902 [XPG3] (logb): Likewise.
37903 [XPG3] (nextafter): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37906 [XPG3] (remainder): Likewise.
37907 [XPG3] (rint): Likewise.
37908 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37909 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37910 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37911 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37912 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37913 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37914 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37915 [UNIX98 || XOPEN2K] (scalb): Expect.
37916 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37917 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37918 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37919 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37921 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37922 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37927 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37928 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37929 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38054 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38055 _XOPEN_SOURCE_EXTENDED for XPG4.
38057 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38059 * Makeconfig (localtime): Remove variable.
38060 (inst_localtime-file): Likewise.
38062 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38083 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38087 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38088 comparisons to determine direction to adjust input.
38089 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38090 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38093 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38095 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38097 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38098 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38100 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38102 * math/libm-test.inc (nexttoward_test): Add more tests.
38104 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38107 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38108 in version GLIBC_2.1, not GLIBC_2.0.
38109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38112 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38115 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38117 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38118 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38119 * math/libm-test.inc (acos_test): Add more tests.
38120 (asin_test): Likewise.
38121 * sysdeps/i386/fpu/libm-test-ulps: Update.
38122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38125 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38127 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38128 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38129 * math/libm-test.inc (acos_test_tonearest): New function.
38130 (acos_test_towardzero): Likewise.
38131 (acos_test_downward): Likewise.
38132 (acos_test_upward): Likewise.
38133 (asin_test_tonearest): Likewise.
38134 (asin_test_towardzero): Likewise.
38135 (asin_test_downward): Likewise.
38136 (asin_test_upward): Likewise.
38137 (main): Call the new functions.
38138 * sysdeps/i386/fpu/libm-test-ulps: Update.
38139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38143 * math/e_exp10.c: Include <float.h>.
38144 (__ieee754_exp10): Handle underflow here rather than multiplying
38145 large negative argument by M_LN10.
38146 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38148 * math/e_exp10l.c: Include <float.h>.
38149 (__ieee754_exp10l): Handle underflow here rather than multiplying
38150 large negative argument by M_LN10l.
38151 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38152 spurious overflow exception on underflow.
38154 2012-04-29 Marek Polacek <polacek@redhat.com>
38156 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38157 (__fortify_function): New macro.
38158 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38159 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38160 __extern_always_inline.
38161 * libio/bits/stdio2.h: Likewise.
38162 * libio/bits/stdio.h: Likewise.
38163 * string/string.h: Likewise.
38164 * string/bits/string3.h: Likewise.
38165 * include/stdio.h: Likewise.
38166 * stdlib/bits/stdlib.h: Likewise.
38167 * stdlib/stdlib.h: Likewise.
38168 * rt/bits/mqueue2.h: Likewise.
38169 * rt/mqueue.h: Likewise.
38170 * posix/bits/unistd.h: Likewise.
38171 * posix/unistd.h: Likewise.
38172 * io/bits/poll2.h: Likewise.
38173 * io/bits/fcntl2.h: Likewise.
38174 * io/fcntl.h: Likewise.
38175 * io/sys/poll.h: Likewise.
38176 * misc/bits/syslog.h: Likewise.
38177 * misc/bits/syslog-ldbl.h: Likewise.
38178 * misc/sys/syslog.h: Likewise.
38179 * socket/bits/socket2.h: Likewise.
38180 * socket/sys/socket.h: Likewise.
38181 * debug/tst-chk1.c: Likewise.
38182 * wcsmbs/bits/wchar2.h: Likewise.
38183 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38184 * wcsmbs/wchar.h: Likewise.
38186 2012-04-29 Andreas Jaeger <aj@suse.de>
38188 * Makerules (tests): Remove enable-check-abi protection.
38189 (check-abi-warn): Remove.
38190 (check-abi-%): Remove check-abi-warn usage.
38192 * configure.in: Remove check-abi configure option.
38193 * configure: Regenerated.
38194 * config.make.in (enable-check-abi): Remove.
38196 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38199 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38200 double functions to double *_finite functions.
38203 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38204 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38206 * stdio-common/Makefile (tests): Add tst-sprintf3.
38207 * stdio-common/tst-sprintf3.c: New file.
38209 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38210 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38212 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38214 * conform/conformtest.pl: Remove duplicate typed-constant
38217 2012-04-28 David S. Miller <davem@davemloft.net>
38219 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38220 (check-abi-%): Remove AWK script prerequisite and explicit
38222 (check-abi): Rewrite to just diff the symlist with the abilist.
38223 (config-tls, config-abi-config): Delete, no longer used.
38224 (update-abi-%): Remove AWK script and explicit abilist directory.
38225 (update-abi): Rewrite to simply compare and conditionally copy the
38226 symlist and the sysdep abilist file. Remove update-abi-config
38228 * abilist/ld.abilist: Remove.
38229 * abilist/libBrokenLocale.abilist: Remove.
38230 * abilist/libanl.abilist: Remove.
38231 * abilist/libcrypt.abilist: Remove.
38232 * abilist/libdl.abilist: Remove.
38233 * abilist/librt.abilist: Remove.
38234 * abilist/libthread_db.abilist: Remove.
38235 * abilist/libutil.abilist: Remove.
38236 * scripts/extract-abilist.awk: Remove.
38237 * scripts/merge-abilist.awk: Remove.
38238 * sysdeps/generic/libcidn.abilist: New file.
38239 * sysdeps/generic/libnss_compat.abilist: New file.
38240 * sysdeps/generic/libnss_db.abilist: New file.
38241 * sysdeps/generic/libnss_dns.abilist: New file.
38242 * sysdeps/generic/libnss_files.abilist: New file.
38243 * sysdeps/generic/libnss_hesiod.abilist: New file.
38244 * sysdeps/generic/libnss_nis.abilist: New file.
38245 * sysdeps/generic/libnss_nisplus.abilist: New file.
38246 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38247 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38248 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38250 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38251 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38252 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38253 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38254 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38255 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38256 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38257 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38258 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38260 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38261 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38262 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38263 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38265 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38266 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38267 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38268 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38269 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38270 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38272 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38273 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38274 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38276 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38380 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38381 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38384 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38385 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38386 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38387 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38388 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38389 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38390 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38391 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38392 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38444 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38446 * conform/conformtest.pl: Fix typo in handling typed-constant from
38449 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38451 * README: Cut down references to pre-2.6 Linux kernels and
38452 Linuxthreads. Update lists of configurations in libc and ports
38453 and sort alphabetically. Say "or newer" with Linux kernel version
38456 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38458 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38461 * math/libm-test.inc (logb_test_downward): New test to expose
38462 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38465 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38468 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38470 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38471 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38473 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38475 * sysdeps/unix/i386/brk.S: Remove file.
38476 * sysdeps/unix/i386/dl-brk.S: Likewise.
38477 * sysdeps/unix/i386/pipe.S: Likewise.
38478 * sysdeps/unix/i386/sigreturn.S: Likewise.
38479 * sysdeps/unix/i386/syscall.S: Likewise.
38480 * sysdeps/unix/i386/vfork.S: Likewise.
38481 * sysdeps/unix/i386/wait.S: Likewise.
38483 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38484 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38486 * configure.in (arm*-none*): Do not allow without
38487 --enable-hacker-mode.
38488 (netbsd*): Remove case setting base_os.
38489 (386bsd*): Likewise.
38490 (freebsd*): Likewise.
38493 (sunos*): Likewise.
38494 (ultrix*): Likewise.
38495 (newsos*): Likewise.
38496 (dynix*): Likewise.
38502 (minix*): Likewise.
38503 (irix4*): Likewise.
38504 (irix6*): Likewise.
38505 (solaris[2-9]*): Likewise.
38507 * configure: Regenerated.
38509 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38513 overflow or cancellation in calculating denominator.
38514 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38516 down expression to avoid unexpected rounding in newer GCCs.
38517 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38519 2012-04-26 David S. Miller <davem@davemloft.net>
38521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38522 long-double compat symbols.
38523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38537 2012-04-25 David S. Miller <davem@davemloft.net>
38539 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38540 HWCAP_* values only after the memory barriers have been defined.
38541 (atomic_full_barrier): Define.
38542 (atomic_read_barrier): Define.
38543 (atomic_write_barrier): Define.
38545 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38547 * shlib-versions: Add libgcc_s version information.
38548 * sysdeps/generic/libgcc_s.h: Remove.
38549 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38551 * sysdeps/gnu/unwind-resume.c: Likewise.
38552 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38554 2012-04-25 David S. Miller <davem@davemloft.net>
38556 * sysdeps/unix/sparc/brk.S: Delete.
38557 * sysdeps/unix/sparc/dl-brk.S: Delete.
38558 * sysdeps/unix/sparc/pipe.S: Delete.
38559 * sysdeps/unix/sparc/sysdep.S: Delete.
38560 * sysdeps/unix/sparc/sysdep.h: Delete.
38561 * sysdeps/unix/sparc/vfork.S: Delete.
38562 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38563 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38565 (ret_ERRVAL, r0, r1, MOVE): Define.
38566 (JUMPTARGET): Remove.
38567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38568 sysdeps/unix/sparc/sysdep.h
38569 (ENTRY, END): Remove.
38570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38572 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38574 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38575 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38578 * timezone/README: Update upstream location and email address for
38580 * timezone/zdump.c: Update from tzcode 2012b.
38581 * timezone/zic.c: Likewise.
38583 * configure.in (libc_cv_as_needed): Remove test.
38584 * configure: Regenerated.
38585 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38586 conditional definition.
38587 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38588 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38589 * config.make.in (have-as-needed): Remove variable.
38591 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38592 Paul Pluzhnikov <ppluzhnikov@google.com>
38594 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38597 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38599 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38600 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38601 * sysdeps/sh/strlen.S: Likewise.
38603 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38605 * sysdeps/unix/fork.S: Remove file.
38606 * sysdeps/unix/i386/fork.S: Likewise.
38607 * sysdeps/unix/sparc/fork.S: Likewise.
38609 * sysdeps/unix/system.c: Remove file.
38610 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38612 * sysdeps/unix/getegid.S: Remove file.
38613 * sysdeps/unix/geteuid.S: Likewise.
38615 2012-04-24 Roland McGrath <roland@hack.frob.com>
38617 * scripts/check-localplt.awk: New file.
38618 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38620 * scripts/data/localplt-generic.data: Add a comment.
38622 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38623 NODE when __dir_mkfile failed.
38624 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38625 Reported by Ludovic Courtès <ludo@gnu.org>.
38627 2012-04-24 Andreas Jaeger <aj@suse.de>
38629 * Makerules (common-clean): Also remove gen-as-const-headers
38632 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38634 * Makerules (native-compile): Do not change working directory for
38635 build. Use $(OUTPUT_OPTION) in command.
38636 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38638 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38641 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38642 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38643 * math/libm-test.inc (floor_test): Add more tests.
38644 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38646 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38648 * sysdeps/unix/getdents.c: Remove file.
38649 * sysdeps/unix/sysv/getdents.c: Likewise.
38650 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38652 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38653 sysdeps/unix/mman/syscalls.list.
38655 (mprotect): Likewise.
38657 (munmap): Likewise.
38658 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38659 * sysdeps/unix/mman/syscalls.list: Remove.
38660 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38662 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38663 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38664 * configure: Regenerated.
38665 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38666 $(libgcc_s_suffix).
38667 * config.make.in (libgcc_s_suffix): Remove variable.
38669 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38671 * sysdeps/unix/sysv/gethostname.c: Move to ...
38672 * sysdeps/posix/gethostname.c: ... here.
38674 * sysdeps/unix/execve.S: Remove file.
38676 * sysdeps/unix/_exit.S: Remove file.
38678 2012-04-23 Andreas Jaeger <aj@suse.de>
38681 * manual/Makefile: Remove make dist support, there's no
38682 need for a stand-alone documentation tar ball.
38683 (TEXI2DVI): Define always, it's not in Makeconfig.
38686 (edition): Removed.
38687 (glibc-doc-$(edition).tar): Removed
38691 (ETAGS): Remove, it's in Makeconfig.
38692 (move-if-change): Remove, it's in Makeconfig.
38694 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38697 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38698 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38699 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38700 (strtod_l, strtof_l, strtold_l): Remove __wur.
38701 It is not necessarily an error to ignore strtol's return value.
38702 One can reliably look at the stored endptr to decide whether
38703 the number had valid syntax.
38705 2012-04-21 Andreas Jaeger <aj@suse.de>
38708 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38710 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38712 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38713 * sysdeps/unix/sysv/Versions: Remove file.
38715 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38720 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38724 version from __vm86.
38726 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38728 * sysdeps/unix/common/lxstat.c: Remove file.
38729 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38731 * sysdeps/unix/sysv/Makefile: Remove file.
38733 * sysdeps/unix/sysv/direct.h: Remove file.
38735 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38736 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38737 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38738 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38739 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38740 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38741 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38743 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38745 * sysdeps/unix/xmknod.c: Remove file.
38746 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38748 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38750 * sysdeps/unix/sysv/i386/time.S: Remove file.
38752 * sysdeps/unix/fxstat.c: Remove file.
38753 * sysdeps/unix/xstat.c: Likewise.
38754 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38756 * sysdeps/unix/sysv/sigaction.c: Remove file.
38758 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38759 (sysdep_headers): Remove variable.
38760 [termio.h not in sysdep_headers] (generated): Likewise.
38761 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38762 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38763 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38764 * sysdeps/unix/sysv/tcflow.c: Likewise.
38765 * sysdeps/unix/sysv/tcflush.c: Likewise.
38766 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38767 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38768 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38769 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38770 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38772 * sysdeps/unix/siglist.c: Remove file.
38774 * sysdeps/unix/getppid.S: Remove file.
38776 * sysdeps/unix/mkdir.c: Remove file.
38777 * sysdeps/unix/rmdir.c: Likewise.
38779 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38781 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38784 errlist-compat value.
38786 2012-04-18 David S. Miller <davem@davemloft.net>
38788 * sysdeps/generic/memcopy.h (reg_char): Delete.
38789 * debug/strcat_chk.c: Use char, not reg_char.
38790 * debug/strcpy_chk.c: Likewise.
38791 * debug/strncat_chk.c: Likewise.
38792 * debug/strncpy_chk.c: Likewise.
38793 * string/memchr.c: Likewise.
38794 * string/memrchr.c: Likewise.
38795 * string/rawmemchr.c: Likewise.
38796 * string/strcat.c: Likewise.
38797 * string/strchr.c: Likewise.
38798 * string/strchrnul.c: Likewise.
38799 * string/strcmp.c: Likewise.
38800 * string/strcpy.c: Likewise.
38801 * string/strncat.c: Likewise.
38802 * string/strncmp.c: Likewise.
38803 * string/strncpy.c: Likewise.
38805 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38807 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38808 __builtin_memcopy is called when src and dest ranges are known to not
38811 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38813 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38814 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38815 fwd_align_merge macro call.
38816 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38817 bwd_align_merge macro call.
38818 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38820 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38823 bwd_align_merge macros.
38824 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38825 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38826 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38828 2012-04-18 David S. Miller <davem@davemloft.net>
38830 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38832 2012-04-18 Andreas Jaeger <aj@suse.de>
38835 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38836 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38837 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38839 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38840 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38841 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38843 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38844 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38845 Adjust for changed ldbl-128 files.
38847 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38848 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38849 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38851 2012-04-17 David S. Miller <davem@davemloft.net>
38853 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38855 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38857 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38858 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38859 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38860 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38861 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38862 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38864 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38867 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38868 * math/libm-test.inc: Add ilogb errno and exception tests.
38869 * math/w_ilogb.c: New file: ilogb wrapper.
38870 * math/w_ilogbf.c: New file: ilogbf wrapper.
38871 * math/w_ilogbl.c: New file: ilogbl wrapper.
38872 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38873 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38874 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38875 exception being thrown with 0.0 as argument.
38876 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38877 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38878 exception being thrown with 0.0 as argument.
38879 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38880 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38881 exception being thrown with 0.0 as argument.
38882 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38883 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38884 exception being thrown with 0.0 as argument.
38885 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38886 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38888 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38890 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38891 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38892 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38893 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38895 2012-04-17 Petr Baudis <pasky@ucw.cz>
38897 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38900 2012-04-16 Marek Polacek <polacek@redhat.com>
38902 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38904 2012-04-16 Marek Polacek <polacek@redhat.com>
38906 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38907 operands of fdivp instruction.
38909 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38911 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38912 * elf/tst-auditmod3b.c: Likewise.
38913 * elf/tst-auditmod4b.c: Likewise.
38914 * elf/tst-auditmod5b.c: Likewise.
38915 * elf/tst-auditmod6b.c: Likewise.
38916 * elf/tst-auditmod6c.c: Likewise.
38917 * elf/tst-auditmod7b.c: Likewise.
38918 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38919 * sysdeps/x86_64/preconfigure.in: Likewise.
38920 * sysdeps/x86_64/preconfigure: Regenerated.
38922 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38924 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38927 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38930 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38932 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38935 * locale/iso-639.def: Fix gl language name. Spotted by
38938 2012-04-12 Roland McGrath <roland@hack.frob.com>
38941 * libio/libio.h (__io_write_fn): Update comment.
38943 2012-04-12 Petr Baudis <pasky@ucw.cz>
38946 * stdio.texi (Hook Functions): The user provided writer function
38947 is not allowed to return -1.
38949 2012-04-11 David S. Miller <davem@davemloft.net>
38951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38953 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38955 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38956 Add a leading slash to rtkaio.
38958 2012-04-11 Jim Meyering <meyering@redhat.com>
38961 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38962 It is not necessarily an error to ignore fwrite's return
38963 value. One can reliably use ferror to test for errors after
38966 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38968 * bits/types.h (__snseconds_t): New type.
38969 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38971 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38973 (__SNSECONDS_T_TYPE): Likewise.
38974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38975 (__SNSECONDS_T_TYPE): Likewise.
38976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38977 (__SNSECONDS_T_TYPE): Likewise.
38979 2012-04-10 Andreas Jaeger <aj@suse.de>
38982 * manual/time.texi (Processor Time): Return type of times is
38983 elapsed real time since an arbitrary point in the past.
38984 (CPU Time): Move CLK_TCK from here...
38985 (Processor Time): ...to here. Correct description.
38986 * manual/conf.texi (Constants for Sysconf): Correct description of
38989 2012-04-10 David S. Miller <davem@davemloft.net>
38992 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38993 where the is a gap between DT_REL(A) and DT_JMPREL.
38995 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38997 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38998 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38999 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39001 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39003 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39004 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39005 (dl_main): Handle --inhibit-cache.
39006 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39008 * elf/dl-load.c (_dl_map_object): Use it.
39009 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39011 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39014 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39015 (__ieee754_powl): Saturate large exponents rather than testing for
39016 overflow of y*log2(x).
39017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39018 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39022 * math/s_ctan.c: Include <float.h>.
39023 (__ctan): Avoid internal overflow or cancellation in calculating
39025 * math/s_ctanf.c: Likewise.
39026 * math/s_ctanl.c: Likewise.
39027 * math/s_ctanh.c: Likewise.
39028 * math/s_ctanhf.c: Likewise.
39029 * math/s_ctanhl.c: Likewise.
39030 * math/libm-test.inc (ctan_test): Add more tests.
39031 (ctanh_test): Likewise.
39032 * sysdeps/i386/fpu/libm-test-ulps: Update.
39033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39035 2012-04-09 Andreas Jaeger <aj@suse.de>
39038 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39039 is an optional BSD extension.
39042 * manual/stdio.texi (Opening Streams): Document additional fopen
39045 2012-04-09 Roland McGrath <roland@hack.frob.com>
39047 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39048 %eax without telling the compiler.
39050 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39053 * manual/install.texi: Use sourceware.org.
39055 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39058 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39059 (__ieee754_pow): Generate overflow and underflow using huge*huge
39060 and tiny*tiny rather than just returning constant infinity or zero
39061 for large exponents.
39062 * math/libm-test.inc (pow_test): Require overflow exceptions for
39063 applicable cases of large exponents.
39066 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39067 (__ieee754_pow): Use iterative multiplication algorithm only for
39068 integer exponents with absolute value below 1024. Check for odd
39069 integer exponents when using algorithm for real exponents.
39070 * math/libm-test.inc (pow_test): Add more tests.
39071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39073 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39076 * math/libm-test.inc (exp_test): Do not allow overflow exception
39079 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39082 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39083 instead of __kernel_standard_f.
39085 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39087 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39088 * sysdeps/x86_64/memset_chk.S: Likewise.
39090 2012-04-08 Andreas Jaeger <aj@suse.de>
39093 * manual/startup.texi (Environment Access): Describe return value
39094 for putenv and setenv.
39097 * manual/filesys.texi (Directory Entries): Add description for
39101 * manual/filesys.texi (Directory Entries): Clarify that it's file
39102 system not operating system in the description of DT_UNKNOWN.
39105 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39107 2012-04-08 Stephen Compall <s11@member.fsf.org>
39110 * manual/llio.texi (Opening and Closing Files): Add cross
39111 reference to explain mode argument.
39113 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39115 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39116 * sysdeps/x86_64/memset_chk.S: Likewise.
39118 2012-04-07 David S. Miller <davem@davemloft.net>
39120 * elf/elf.h (R_SPARC_WDISP10): Define.
39121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39124 R_SPARC_SIZE64 and R_SPARC_H34.
39126 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39129 conditions and remove no longer applicable assertion.
39131 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39133 * bits/byteswap.h: Include <features.h>.
39134 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39135 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39137 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39139 * bits/byteswap.h (__bswap_16): Removed.
39140 Include <bits/byteswap-16.h> to get __bswap_16.
39141 * sysdeps/i386/bits/byteswap.h: Likewise.
39142 * sysdeps/s390/bits/byteswap.h: Likewise.
39143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39144 * bits/byteswap-16.h: New file.
39145 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39146 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39147 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39148 * string/Makefile (headers): Add bits/byteswap-16.h.
39150 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39153 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39155 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39156 * nss/tst-nss-static.c: New.
39158 2012-04-06 Robert Millan <rmh@gnu.org>
39161 * manual/llio.texi (File Position Primitive): lseek
39162 refers to WHENCE when it really means OFFSET.
39164 2012-04-06 Andreas Jaeger <aj@suse.de>
39166 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39167 strncmp declarations.
39169 * abilist/libc.abilist: Add __poll and __ppoll.
39171 2012-04-05 David S. Miller <davem@davemloft.net>
39173 * scripts/check-local-headers.sh: Accept a host triplet in the
39174 path matched by the exclude regexp.
39176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39178 * sysdeps/powerpc/powerpc32/dl-machine.h
39179 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39180 * sysdeps/s390/s390-32/dl-machine.h
39181 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39182 * sysdeps/sparc/sparc32/dl-machine.h
39183 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39184 * sysdeps/sparc/sparc64/dl-machine.h
39185 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39187 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39189 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39190 undefined symbol errors.
39192 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39195 2012-04-05 Michael Matz <matz@suse.de>
39198 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39200 2012-04-05 Andreas Jaeger <aj@suse.de>
39203 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39206 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39208 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39209 which ROUND is no valid rounding mode.
39211 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39215 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39217 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39219 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39220 an exception using FPU order intentionally.
39222 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39224 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39225 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39226 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39227 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39229 2012-04-05 Simon Josefsson <simon@josefsson.org>
39232 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39233 EINVAL when BUFLEN is too smal.
39235 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39238 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39239 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39241 2012-04-03 Andreas Jaeger <aj@suse.de>
39244 * manual/setjmp.texi (System V contexts): Fix sentence.
39247 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39248 New macro for this case.
39249 [!__GNUC__] (__bswap_64): New inline function for this case.
39250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39251 * bits/byteswap.h: Likewise.
39252 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39253 ull, guard with __GLIBC_HAVE_LONG_LONG.
39255 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39256 __GLIBC_HAVE_LONG_LONG.
39258 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39259 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39261 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39264 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39265 inptr and inend, rather than using last_ch.
39267 2012-04-02 David S. Miller <davem@davemloft.net>
39269 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39270 * stdio-common/printf-parse.h (read_int): Change return type to
39271 'int', return -1 on INT_MAX overflow.
39272 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39273 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39274 overflows INT_MAX. Check for overflow of in-format-string precision
39275 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39276 SIZE_MAX not INT_MAX for integer overflow test.
39277 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39278 skip the construct in the format string but do not record anything.
39279 * stdio-common/bug22.c: Adjust to test both width/prevision
39280 INT_MAX overflow as well as total length INT_MAX overflow. Check
39281 explicitly for proper errno values.
39283 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39285 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39287 * string/test-strcmp.c [! WIDE]: Likewise.
39288 * time/tst-mktime2.c: Likewise for INT_MAX.
39289 * string/test-string.h: #include <sys/param.h> for MIN.
39291 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39292 * sysdeps/i386/init-first.c (init): Likewise.
39293 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39294 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39295 * sysdeps/sh/init-first.c (init): Likewise.
39297 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39299 * po/ru.po: Update from translation team.
39300 * po/vi.po: Likewise.
39302 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39304 * resolv/nss_dns/dns-host.c: Merge copyright years.
39306 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39309 Optimize memcpy with prefetch if
39310 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39311 src, dst pointers have unequal 16 byte alignments.
39313 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39316 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39317 from a CNAME entry and return the minimum ttl for the query.
39318 (gaih_getanswer_slice): Likewise.
39320 2012-03-30 Jeff Law <law@redhat.com>
39322 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39324 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39325 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39327 * resolv/nss_dns/dns-host.c: Update copyright year.
39329 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39331 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39332 requests to save a system call. Fix check that all bytes are sent.
39334 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39335 comments for sendmmsg.
39337 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39340 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39341 with only 1 character between 0x0041 and 0x01b0.
39342 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39343 * wcsmbs/tst-mbsnrtowcs.c: New file.
39345 2012-03-29 David S. Miller <davem@davemloft.net>
39347 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39348 small copies by hand.
39350 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39353 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39354 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39357 2012-03-28 David S. Miller <davem@davemloft.net>
39359 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39360 that branches into memcpy.
39361 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39364 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39367 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39368 implementation too.
39369 * sysdeps/sparc/mempcpy.S: New file.
39371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39372 the IFUNC routine in the libc case.
39373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39376 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39377 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39378 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39379 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39380 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39381 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39382 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39384 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39385 loop to 256 bytes instead of 64 bytes and fix test signedness.
39387 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39388 * sysdeps/sparc/sparc32/Makefile: rather than here...
39389 * sysdeps/sparc/sparc64/Makefile: and here.
39391 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39393 * malloc/mallocbug.c: Avoid warnings about unused variables.
39395 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39398 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39399 in the right place. Discard and retry query if response is
39400 larger than input buffer size.
39402 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39407 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39408 x for large integer exponent.
39409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39410 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39411 sign of result as needed afterwards.
39412 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39413 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39414 result for underflowing pow the same as for overflow.
39415 (__kernel_standard_l): Handle powl overflow and underflow here
39416 rather than calling __kernel_standard.
39417 * math/libm-test.inc (pow_test): Add more tests.
39432 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39433 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39434 (__kernel_standard_l): New function.
39435 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39437 * math/w_acosl.c (__acosl): Likewise.
39438 * math/w_asinl.c (__asinl): Likewise.
39439 * math/w_atan2l.c (__atan2l): Likewise.
39440 * math/w_atanhl.c (__atanhl): Likewise.
39441 * math/w_coshl.c (__coshl): Likewise.
39442 * math/w_exp10l.c (__exp10l): Likewise.
39443 * math/w_exp2l.c (__exp2l): Likewise.
39444 * math/w_fmodl.c (__fmodl): Likewise.
39445 * math/w_hypotl.c (__hypotl): Likewise.
39446 * math/w_j0l.c (__j0l, __y0l): Likewise.
39447 * math/w_j1l.c (__j1l, __y1l): Likewise.
39448 * math/w_jnl.c (__jnl, __ynl): Likewise.
39449 * math/w_lgammal.c (__lgammal): Likewise.
39450 * math/w_log10l.c (__log10l): Likewise.
39451 * math/w_log2l.c (__log2l): Likewise.
39452 * math/w_logl.c (__logl): Likewise.
39453 * math/w_powl.c (__powl): Likewise.
39454 * math/w_remainderl.c (__remainderl): Likewise.
39455 * math/w_scalbl.c (sysv_scalbl): Likewise.
39456 * math/w_sinhl.c (__sinhl): Likewise.
39457 * math/w_sqrtl.c (__sqrtl): Likewise.
39458 * math/w_tgammal.c (__tgammal): Likewise.
39459 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39460 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39461 * math/libm-test.inc (acos_test): Add more tests.
39462 (acosh_test): Likewise.
39463 (asin_test): Likewise.
39464 (atanh_test): Likewise.
39465 (exp_test): Likewise.
39466 (exp10_test): Likewise.
39467 (exp2_test): Likewise.
39468 (expm1_test): Likewise.
39469 (lgamma_test): Likewise.
39470 (log_test): Likewise.
39471 (log10_test): Likewise.
39472 (log1p_test): Likewise.
39473 (log2_test): Likewise.
39474 (pow_test): Do not allow some spurious overflow exceptions.
39475 (sqrt_test): Add more tests.
39476 (tgamma_test): Likewise.
39477 (y0_test): Likewise.
39478 (y1_test): Likewise.
39479 (yn_test): Likewise.
39481 2012-03-27 Anton Blanchard <anton@samba.org>
39483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39485 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39489 2012-03-27 David S. Miller <davem@davemloft.net>
39491 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39493 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39494 have-as-vis3 check.
39496 2012-03-27 Andreas Jaeger <aj@suse.de>
39498 * sysdeps/x86_64/elf/configure.in: Moved to ...
39499 * sysdeps/x86_64/configure.in: ... here.
39500 * sysdeps/x86_64/elf/start.S: Moved to ...
39501 * sysdeps/x86_64/start.S: ... here.
39502 * sysdeps/x86_64/elf/configure: Delete.
39504 * sysdeps/x86_64/configure.in: Merge contents from
39505 sysdeps/i386/configure.in (without i686 check).
39507 * sysdeps/i386/elf/Versions: Merge into ...
39508 * sysdeps/i386/Versions: ... this.
39509 * sysdeps/i386/elf/Versions: Delete file.
39510 * sysdeps/i386/elf/start.S: Moved to ...
39511 * sysdeps/i386/start.S: ...here.
39512 * sysdeps/i386/elf/configure.in: Merge into...
39513 * sysdeps/i386/configure.in: ...here.
39514 * sysdeps/i386/elf/configure.in: Delete file.
39515 * sysdeps/i386/elf/configure: Delete file.
39517 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39518 * debug/backtracesyms.c: ... here.
39519 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39520 * debug/backtracesymsfd.c: ... here.
39521 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39522 * sysdeps/generic/ifunc-sel.h: ... here.
39524 * sysdeps/unix/i386/start.c: Delete file.
39525 * sysdeps/unix/sparc/start.c: Delete file.
39526 * sysdeps/unix/start.c: Delete file.
39528 * sysdeps/sh/elf/configure.in: Moved to ...
39529 * sysdeps/sh/configure.in: ... here.
39530 * sysdeps/sh/elf/start.S: Moved to ...
39531 * sysdeps/sh/start.S: ... here.
39532 * sysdeps/sh/elf/configure: Delete file.
39534 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39535 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39536 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39537 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39538 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39539 * sysdeps/powerpc/powerpc64/start.S: here.
39540 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39541 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39542 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39543 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39544 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39546 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39547 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39548 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39549 * sysdeps/powerpc/powerpc32/start.S: ... here.
39550 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39551 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39552 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39554 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39555 * sysdeps/powerpc/ifunc-sel.h: ... here.
39556 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39557 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39559 * sysdeps/sparc/elf/configure.in: Moved to ...
39560 * sysdeps/sparc/configure.in: ... here.
39561 * sysdeps/sparc/elf/configure: Delete file.
39562 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39563 * sysdeps/sparc/sparc32/start.S: ... here.
39564 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39565 * sysdeps/sparc/sparc64/start.S: ... here.
39566 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39567 * sysdeps/sparc/sparc32/Makefile: ... this.
39568 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39569 * sysdeps/sparc/sparc64/Makefile: ... this.
39571 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39572 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39573 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39574 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39575 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39576 * sysdeps/s390/s390-32/setjmp.S: ... here.
39577 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39578 * sysdeps/s390/s390-32/configure.in: ... here.
39579 * sysdeps/s390/s390-32/elf/configure: Delete file.
39580 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39581 * sysdeps/s390/s390-32/start.S: ... here.
39583 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39584 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39585 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39586 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39587 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39588 * sysdeps/s390/s390-64/setjmp.S: ... here.
39589 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39590 * sysdeps/s390/s390-64/configure.in: ... here
39591 * sysdeps/s390/s390-64/elf/configure: Delete file.
39592 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39593 * sysdeps/s390/s390-64/start.S: ... here.
39594 * sysdeps/s390/s390-64/elf/configure: Delete.
39596 * configure.in: Remove support for elf directories in sysdeps.
39598 * configure: Regenerated.
39599 * sysdeps/i386/configure: Regenerated.
39600 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39601 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39602 * sysdeps/s390/s390-32/configure: Regenerated.
39603 * sysdeps/s390/s390-64/configure: Regenerated.
39604 * sysdeps/sh/configure: Regenerated.
39605 * sysdeps/sparc/configure: Regenerated.
39606 * sysdeps/x86_64/configure: Regenerated.
39608 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39612 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39613 denormal result into account.
39615 2012-03-25 Roland McGrath <roland@hack.frob.com>
39617 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39618 Reported by Allan McRae <allan@archlinux.org>.
39620 2012-03-23 Jeff Law <law@redhat.com>
39622 * nss/getnssent.c (__nss_getent): Fix typo.
39624 2012-03-23 David S. Miller <davem@davemloft.net>
39626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39628 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39630 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39631 to pad to uint64_t for each field.
39632 (dl_tls_index): Replace unsigned long with uint64_t.
39634 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39635 Paul Pluzhnikov <ppluzhnikov@google.com>
39638 * grp/Makefile (otherlibs): Don't set it.
39639 * inet/Makefile (otherlibs): Likewise.
39640 * login/Makefile (otherlibs): Likewise.
39641 * nscd/Makefile (otherlibs): Likewise.
39642 * posix/Makefile (otherlibs): Likewise.
39643 * pwd/Makefile (otherlibs): Likewise.
39644 * rt/Makefile (otherlibs): Likewise.
39645 * sunrpc/Makefile (otherlibs): Likewise.
39646 * nss/Makefile (otherlibs): Likewise.
39647 Add libnss_files to routines and static-only-routines.
39648 ($(objpfx)getent): Remove rule.
39649 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39650 static-only-routines.
39652 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39655 * math/s_cexp.c: Include <float.h>.
39656 (__cexp): Handle exp result overflowing not necessarily
39657 overflowing both real and imaginary parts of result.
39658 * math/s_cexpf.c: Likewise.
39659 * math/s_cexpl.c: Likewise.
39660 * math/libm-test.inc (cexp_test): Add more tests.
39661 * sysdeps/i386/fpu/libm-test-ulps: Update.
39662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39664 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39666 * include/link.h (ELFW): New macro.
39667 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39668 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39670 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39672 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39675 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39677 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39679 (struct La_x32_retval): Likewise.
39681 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39683 * sysdeps/x86_64/preconfigure.in: New file.
39684 * sysdeps/x86_64/preconfigure: New generated file.
39686 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39689 * math/e_exp2l.c: Include <float.h>.
39690 (__ieee754_exp2l): Handle overflow and underflow cases
39691 separately. Only pass fractional part of argument to
39693 * math/libm-test.inc (exp2_test): Add more tests.
39695 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39696 negating x to take absolute value.
39697 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39702 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39703 computing low part if x was negated.
39704 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39706 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39708 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39709 la_x32_gnu_pltexit.
39710 (pltexit): Cast int_retval to ptrdiff_t.
39711 * elf/tst-auditmod3b.c: Likewise.
39712 * elf/tst-auditmod4b.c: Likewise.
39713 * elf/tst-auditmod5b.c: Likewise.
39714 * elf/tst-auditmod6b.c: Likewise.
39715 * elf/tst-auditmod6c.c: Likewise.
39716 * elf/tst-auditmod7b.c: Likewise.
39718 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39719 and x32_gnu_pltexit.
39721 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39722 __ELF_NATIVE_CLASS.
39723 (La_x32_regs): New macro.
39724 (La_x32_retval): Likewise.
39725 (la_x32_gnu_pltenter): New function prototype.
39726 (la_x32_gnu_pltexit): Likewise.
39728 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39735 * configure.in (libc_cv_cc_nofma): Check for option to disable
39736 generation of FMA instructions.
39737 * configure: Regenerate.
39738 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39739 * sysdeps/ieee754/dbl-64/Makefile: New file.
39740 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39741 Remove brandred-fma4.
39742 (CFLAGS-brandred-fma4.c): Remove.
39743 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39744 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39746 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39749 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39751 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39752 LLONG_MAX != LONG_MAX.
39753 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39754 (_fitoa_word): Likewise.
39755 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39756 LLONG_MAX != LONG_MAX.
39757 * stdio-common/_itowa.h: Include <_itoa.h>.
39758 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39759 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39760 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39761 only if not defined.
39762 (_ITOA_WORD_TYPE): Likewise.
39763 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39764 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39766 2012-03-21 David S. Miller <davem@davemloft.net>
39768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39770 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39772 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39773 of x86_64 when setting libc_cv_slibdir, libdir and
39775 * sysdeps/unix/sysv/linux/configure: Regenerated.
39777 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39779 * manual/lang.texi (Old Varargs): Remove section.
39780 (How Variadic): Update menu.
39781 (va_start): Do not mention varargs.h.
39783 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39784 Joseph Myers <joseph@codesourcery.com>
39786 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39788 * configure: Regenerated.
39790 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39792 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39793 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39796 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39799 * Makefile (files-for-dist): Remove NOTES.
39800 (NOTES): Remove rule.
39801 * README: Don't refer to NOTES.
39802 * manual/creature.texi: Don't include macros.texi.
39803 * manual/intro.texi (creature.texi): Remove comment referring to
39806 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39807 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39808 * configure: Regenerated.
39809 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39810 LIBC_TRY_CC_OPTION.
39811 (libc_cv_as_i686): Likewise.
39812 (libc_cv_cc_avx): Likewise.
39813 (libc_cv_cc_sse2avx): Likewise.
39814 (libc_cv_cc_fma4): Likewise.
39815 (libc_cv_cc_novzeroupper): Likewise.
39816 * sysdeps/i386/configure: Regenerated.
39819 * sysdeps/i386/fpu/s_cexp.S: Remove.
39820 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39821 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39822 * math/libm-test.inc (cexp_test): Add more tests.
39823 * sysdeps/i386/fpu/libm-test-ulps: Update.
39824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39826 2012-03-21 Allan McRae <allan@archlinux.org>
39828 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39830 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39833 * math/w_exp2.c: Do not include <float.h>.
39834 (o_threshold, u_threshold): Remove.
39835 (__exp2): Calculate result before checking finiteness and calling
39837 * math/w_exp2f.c: Likewise.
39838 * math/w_exp2l.c: Likewise.
39839 * math/libm-test.inc (exp2_test): Require overflow exception for
39843 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39844 range of signed 64-bit integers before using fistpll. Remove
39845 checks for whether integers fit in mantissa bits.
39846 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39847 the range of signed 32-bit integers before using fistpl. Remove
39848 checks for whether integers fit in mantissa bits.
39849 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39850 (__ieee754_powl): Test for y outside the range of signed 64-bit
39851 integers before using fistpll. Reduce 64-bit values to 63-bit
39853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39854 divide-by-zero is raised for zero to large negative powers.
39855 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39856 (__ieee754_powl): Test for y outside the range of signed 64-bit
39857 integers before using fistpll. Reduce 64-bit values to 63-bit
39859 * math/libm-test.inc (pow_test): Add more tests.
39861 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39863 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39864 <stdio-common/_itoa.h>.
39865 * debug/segfault.c: Likewise.
39866 * elf/dl-cache.c: Likewise.
39867 * elf/dl-minimal.c: Likewise.
39868 * elf/dl-misc.c: Likewise.
39869 * elf/dl-sysdep.c: Likewise.
39870 * elf/dl-version.c: Likewise.
39871 * elf/rtld.c: Likewise.
39872 * hurd/hurdsock.c: Likewise.
39873 * hurd/lookup-retry.c: Likewise.
39874 * malloc/malloc.c: Likewise.
39875 * malloc/mtrace.c: Likewise.
39876 * nscd/nscd_getgr_r.c: Likewise.
39877 * nscd/nscd_getpw_r.c: Likewise.
39878 * nscd/nscd_getserv_r.c: Likewise.
39879 * posix/getopt_init.c: Likewise.
39880 * posix/wordexp.c: Likewise.
39881 * stdio-common/_itoa.c: Likewise.
39882 * stdio-common/printf_fphex.c: Likewise.
39883 * stdio-common/vfprintf.c: Likewise.
39884 * string/_strerror.c: Likewise.
39885 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39886 * sysdeps/i386/i686/hp-timing.h: Likewise.
39887 * sysdeps/mach/_strerror.c: Likewise.
39888 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39889 * sysdeps/mach/hurd/sethostid.c: Likewise.
39890 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39891 * sysdeps/mach/xpg-strerror.c: Likewise.
39892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39893 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39894 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39895 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39896 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39897 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39899 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39900 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39901 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39902 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39903 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39904 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39905 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39906 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39907 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39908 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39909 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39910 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39911 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39912 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39914 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39916 * stdio-common/_itoa.h: Moved to ...
39917 * sysdeps/generic/_itoa.h: Here.
39919 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39921 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39922 instead of "_itoa.h" and "_itowa.h".
39923 * stdio-common/vfprintf.: Likewise.
39925 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39927 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39929 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39930 (__signbit): Likwise.
39931 (llrintf): Likwise.
39934 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39936 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39939 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39941 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39942 OVERFLOW_EXCEPTION_OK.
39943 * math/libm-test.inc ("Philosophy"): Update comment about
39945 (OVERFLOW_EXCEPTION): Define.
39946 (OVERFLOW_EXCEPTION_OK): Likewise.
39947 (INVALID_EXCEPTION_OK): Renumber.
39948 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39949 (IGNORE_ZERO_INF_SIGN): Likewise.
39950 (test_exceptions): Handle FE_OVERFLOW.
39951 (exp10_test): Expect overflow exceptions.
39952 (exp2_test): Likewise.
39953 (expm1_test): Likewise.
39954 (nextafter_test): Likewise.
39955 (pow_test): Likewise.
39956 (scalbn_test): Likewise.
39957 (scalbln_test): Likewise.
39959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39961 * sysdeps/x86_64/bits/atomic.h
39962 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39964 (atomic_exchange_acq): Likewise.
39965 (__arch_exchange_and_add_body): Likewise.
39966 (__arch_add_body): Likewise.
39967 (atomic_add_negative): Likewise.
39968 (atomic_add_zero): Likewise.
39970 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39972 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39973 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39975 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39977 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39978 Check __x86_64__ instead of __WORDSIZE.
39980 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39982 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39984 2012-03-19 David S. Miller <davem@davemloft.net>
39986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39988 * sysdeps/sparc/fpu/fenv_private.h: New file.
39989 * sysdeps/sparc/fpu/math_private.h: Use it.
39990 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39992 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39993 (libc_feholdexcept_setroundl): Remove.
39994 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39996 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39997 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40001 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40002 int64_t instead of long int.
40003 (INSERT_WORDS64): Likwise.
40005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40007 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40008 _Unwind_GetCFA return to _Unwind_Ptr first.
40010 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40013 * math/s_clog.c: Include <float.h>.
40014 (__clog): Scale large or subnormal inputs.
40015 * math/s_clogf.c: Likewise.
40016 * math/s_clogl.c: Likewise.
40017 * math/s_clog10.c: Include <float.h>.
40018 (M_LOG10_2): Define.
40019 (__clog10): Scale large or subnormal inputs.
40020 * math/s_clog10f.c: Likewise.
40021 * math/s_clog10l.c: Likewise.
40022 * math/libm-test.inc (clog_test): Add more tests.
40023 (clog10_test): Likewise.
40024 * sysdeps/i386/fpu/libm-test-ulps: Update.
40025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40028 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40030 * math/libm-test.inc (atan2_test): Add another test.
40032 * Makerules (common-objdir-compile): Remove.
40033 * sysdeps/unix/Makefile (config-generated): Do not add
40034 $(unix-generated) to variable.
40035 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40036 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40038 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40040 [generic bits/local_lim.h] (before-compile): Do not append to
40042 [generic bits/local_lim.h] (common-generated): Likewise.
40043 [generic sys/param.h] (before-compile): Do not append to variable.
40044 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40045 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40047 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40049 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40050 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40051 [generic sys/param.h] ($(addprefix
40052 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40053 [generic sys/param.h] (common-generated): Do not append to
40055 [generic sys/param.h] (sysdep_headers): Likewise.
40056 [generic bits/errno.h] (before-compile): Do not append to
40058 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40060 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40061 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40062 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40063 [generic bits/errno.h] (common-generated): Do not append to
40065 [generic bits/ioctls.h] (before-compile): Do not append to
40067 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40069 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40070 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40071 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40073 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40074 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40075 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40076 [generic bits/ioctls.h] (common-generated): Do not append to
40078 [generic sys/syscall.h] (syscall.h): Remove variable.
40079 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40081 [generic sys/syscall.h] (before-compile): Do not append to
40083 [generic sys/syscall.h] (common-generated): Likewise.
40084 * sysdeps/unix/errnos-tmpl.c: Remove file.
40085 * sysdeps/unix/errnos.awk: Likewise.
40086 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40087 * sysdeps/unix/ioctls.awk: Likewise.
40088 * sysdeps/unix/mk-local_lim.c: Likewise.
40089 * sysdeps/unix/snarf-ioctls: Likewise.
40091 2012-03-19 Richard Henderson <rth@twiddle.net>
40093 * sysdeps/i386/fpu/fenv_private.h: New file.
40094 * sysdeps/i386/fpu/math_private.h: Use it.
40095 (math_opt_barrier, math_force_eval): Remove.
40096 (libc_feholdexcept_setround_53bit): Remove.
40097 (libc_feupdateenv_53bit): Remove.
40098 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40099 (math_opt_barrier, math_force_eval): Remove.
40100 (libc_feholdexcept): Remove.
40101 (libc_feholdexcept_setround): Remove.
40102 (libc_fetestexcept, libc_fesetenv): Remove.
40103 (libc_feupdateenv_test): Remove.
40104 (libc_feupdateenv, libc_feholdsetround): Remove.
40105 (libc_feresetround): Remove.
40107 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40108 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40110 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40111 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40112 (libc_feupdateenv_testl): New.
40113 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40114 (libc_feupdateenv_testf): New.
40115 (libc_feupdateenv): Use libc_feupdateenv_test.
40116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40119 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40120 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40121 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40122 (libc_feresetround_noex): New.
40123 (libc_feresetround_noexf): New.
40124 (libc_feresetround_noexl): New.
40125 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40126 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40127 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40133 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40134 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40135 SET_RESTORE_ROUND_NOEX.
40136 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40137 SET_RESTORE_ROUND_NOEXF.
40138 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40139 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40140 (libc_feholdsetroundf): New.
40141 (libc_feresetround, libc_feresetroundf): New.
40143 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40144 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40145 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40147 * sysdeps/generic/math_private.h: Include <fenv.h>.
40148 (default_libc_feholdexcept): New.
40149 (default_libc_feholdexcept_setround): New.
40150 (default_libc_fesetenv, default_libc_feupdateenv): New.
40151 (libc_feholdexcept): Only define if undefined.
40152 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40153 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40154 (libc_feholdexcept_setroundl): Likewise.
40155 (libc_feholdexcept_setround_53bit): Likewise.
40156 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40157 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40158 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40159 (libc_feupdateenv_53bit): Likewise.
40160 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40161 (libc_feholdexcept): Convert from macro to inline function.
40162 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40163 (libc_fesetenv, libc_feupdateenv): Likewise.
40165 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40166 not previously defined.
40167 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40168 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40169 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40170 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40171 * sysdeps/ieee754/flt-32/math_private.h: New file.
40172 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40173 math_private.h below SET_FLOAT_WORD.
40174 (__isnan, __isinf_ns, __finite): Remove.
40175 (__isnanf, __isinf_nsf, __finitef): Remove.
40177 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40181 2012-03-17 David S. Miller <davem@davemloft.net>
40184 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40187 2012-03-16 David S. Miller <davem@davemloft.net>
40189 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40193 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40195 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40196 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40197 sysdep_routines when subdir is sysvipc.
40198 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40199 __getshmlba helper.
40201 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40203 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40205 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40208 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40210 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40211 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40212 (__lround): Renamed to ...
40213 (__llround): This. Replace long int with long long int.
40214 Define lround functions as aliases of llround functions.
40215 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40219 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40220 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40221 adresses to uintptr_t. Replace "long int" and "unsigned long
40222 int" with "greg_t" on va_arg.
40224 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40226 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40227 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40229 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40230 Move e_machine check before EI_CLASS check. Handle x32
40231 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40232 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40233 SKIP_EM_IA_64 and include
40234 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40236 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40237 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40238 (add_system_dir): New macro.
40240 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40241 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40243 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40254 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40256 * math/w_j0f.c (j0f): Likewise.
40258 * math/w_j0l.c (__j0l): Likewise.
40260 * math/w_j1.c (j1): Likewise.
40262 * math/w_j1f.c (j1f): Likewise.
40264 * math/w_j1l.c (__j1l): Likewise.
40266 * math/w_jn.c (jn): Likewise.
40268 * math/w_jnf.c (jnf): Likewise.
40270 * math/w_jnl.c (__jnl): Likewise.
40272 * math/libm-test.inc (j0_test): Add more tests.
40273 (j1_test): Likewise.
40274 (jn_test): Likewise. Add trailing semicolon to existing test.
40275 (y0_test): Likewise.
40276 (y1_test): Likewise.
40277 * sysdeps/i386/fpu/libm-test-ulps: Update.
40278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40282 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40283 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40284 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40285 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40286 (__tanl): Set errno for infinite argument.
40287 * sysdeps/i386/fpu/mptan.c: Remove.
40288 * sysdeps/i386/fpu/s_tan.S: Likewise.
40289 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40290 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40291 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40292 * math/libm-test.inc (tan_test): Add more tests and enable more
40293 tests for double and long double.
40294 * sysdeps/i386/fpu/libm-test-ulps: Update.
40295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40297 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40299 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40300 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40302 2012-03-16 Roland McGrath <roland@hack.frob.com>
40304 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40305 * configure.in: Use it for both main tree and add-ons.
40306 * configure: Regenerated.
40308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40310 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40312 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40314 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40318 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40319 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40324 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40326 != 0 for prec == 2.
40327 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40328 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40329 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40330 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40331 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40332 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40333 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40334 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40335 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40336 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40337 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40338 * math/libm-test.inc (cos_test): Add more tests and enable more
40339 tests for long double.
40340 (sin_test): Likewise.
40341 (sincos_test): Likewise.
40342 * sysdeps/i386/fpu/libm-test-ulps: Update.
40343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40345 2012-03-16 David S. Miller <davem@davemloft.net>
40347 * sysdeps/sparc/fpu/math_private.h: New file.
40349 2012-03-15 David S. Miller <davem@davemloft.net>
40351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40365 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40366 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40368 * sysdeps/sparc/sparc-ifunc.h: New file.
40369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40414 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40416 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40420 2012-03-15 Andreas Jaeger <aj@suse.de>
40423 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40424 ieee754/flt-32 implementation for sin, cos and sincos.
40425 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40426 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40427 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40428 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40429 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40430 ieee754/flt-32 implementation for tan.
40432 * math/libm-test.inc (cos_test): Enable some large input tests for
40434 (sin_test): Likewise.
40435 (sincos_test): Likewise.
40436 (tan_test): Add tests for large input.
40438 * sysdeps/i386/fpu/libm-test-ulps: Update.
40440 2012-03-15 Andreas Jaeger <aj@suse.de>
40443 * math/libm-test.inc (cos_test): Add more test cases.
40444 (sin_test): Likewise.
40445 (sincos_test): Likewise.
40447 2012-03-15 Andreas Jaeger <aj@suse.de>
40450 * math/libm-test.inc (cos_test): Add a test case for large input
40452 (sin_test): Likewise.
40453 (sincos_test): Likewise.
40455 2012-03-15 Andreas Jaeger <aj@suse.de>
40456 Joseph Myers <joseph@codesourcery.com>
40459 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40460 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40461 * sysdeps/i386/fpu/branred.c: Likewise.
40462 * sysdeps/i386/fpu/dosincos.c: Likewise.
40463 * sysdeps/i386/fpu/mpa.c: Likewise.
40464 * sysdeps/i386/fpu/s_cos.S: Likewise.
40465 * sysdeps/i386/fpu/s_sin.S: Likewise.
40466 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40467 * sysdeps/i386/fpu/sincos32.c: Likewise.
40469 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40471 (libc_feupdateenv_53bit): Define.
40472 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40474 (libc_feupdateenv_53bit): Define.
40476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40477 53 bit (without extend i386 double precision).
40479 * math/libm-test.inc (sincos_test): Add tests for large input.
40483 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40485 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40489 2012-03-15 David S. Miller <davem@davemloft.net>
40491 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40492 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40494 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40519 fmin/fmax sysdep routines.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40522 2012-03-14 David S. Miller <davem@davemloft.net>
40524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40601 * sysdeps/sparc/configure.in: New file.
40602 * sysdeps/sparc/configure: Generate.
40603 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40604 * configure: Regenerate.
40605 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40606 * config.make.in (have-as-vis3): New.
40607 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40608 available use -Av9d instead of -Av9a.
40609 * sysdeps/sparc/sparc64/Makefile: Likewise.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40625 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40626 fzeros/fnegs to load 0x80000000 into a float register instead of
40628 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40630 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40634 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40635 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40636 ($(inst_includedir)/bits/syscall.h): Remove rule.
40637 ($(objpfx)bits/syscall.d): Include instead of
40638 $(objpfx)syscall-list.d.
40639 (generated): Change syscall-list.h and syscall-list.d to
40640 bits/syscall.h and bits/syscall.d.
40642 2012-03-14 Roland McGrath <roland@hack.frob.com>
40645 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40647 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40650 * math/s_csqrt.c: Include <float.h>.
40651 (__csqrt): Scale large or subnormal inputs.
40652 * math/s_csqrtf.c: Likewise.
40653 * math/s_csqrtl.c: Likewise.
40654 * math/libm-test.inc (csqrt_test): Add more tests.
40655 * sysdeps/i386/fpu/libm-test-ulps: Update.
40656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40659 * math/libm-test.inc (hypot_test): Add more tests.
40661 2012-03-13 David S. Miller <davem@davemloft.net>
40664 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40665 double-precision for the calculation instead of scaling.
40667 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40669 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40670 manipulate bits before adding and subtracting TWO52[sx].
40671 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40676 2012-03-13 David S. Miller <davem@davemloft.net>
40678 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40679 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40681 rtld-global-offsets.h
40682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40684 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40687 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40689 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40690 'err' in the ifdef scope in which it is actually used.
40692 * nss/nss_db/db-init.c: Include string.h
40694 2012-03-12 David S. Miller <davem@davemloft.net>
40696 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40697 masking out of the most significant byte of random value used.
40698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40699 Fix coding style in previous change.
40701 * sysdeps/unix/sysv/linux/kernel-features.h
40702 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40703 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40705 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40708 2012-03-11 David S. Miller <davem@davemloft.net>
40710 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40711 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40712 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40713 for 'resultvar' otherwise things get truncated on 64-bit.
40715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40716 Fix masking out of the most significant byte of random value used.
40718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40720 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40724 2012-03-09 David S. Miller <davem@davemloft.net>
40726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40727 variables with appropriate CPP guards.
40728 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40729 from the frame pointer, not the stack pointer. Correct layout
40730 comments. Fix test on resulting framesize and the management of
40731 the outregs buffer for pltexit. Preserve floating point return
40732 values across _dl_call_pltexit call.
40733 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40734 framesize and the management of the outregs buffer for pltexit.
40735 Preserve floating point return values across _dl_call_pltexit
40737 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40738 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40739 (la_sparc64_gnu_pltexit): New functions.
40740 (print_exit): Fix format string for return register value.
40742 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40744 * sunrpc/Makefile (others): Add rpcgen.
40745 ($(objpfx)rpcgen): Remove special build rule and dependency on
40747 * sunrpc/rpcgen.c: New file.
40749 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40752 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40753 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40754 * sysdeps/i386/crti.S: Likewise.
40755 * sysdeps/i386/crtn.S: Likewise.
40756 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40757 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40758 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40759 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40760 * sysdeps/sh/crti.S: Likewise.
40761 * sysdeps/sh/crtn.S: Likewise.
40762 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40765 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40767 * locale/programs/locfile-kw.gperf: Likewise.
40768 * locale/programs/charmap-kw.h: Regenerated.
40769 * locale/programs/locfile-kw.h: Likewise.
40772 * intl/plural.y: Replace FSF snail mail address with URL.
40773 * intl/plural.c: Regenerated.
40775 2012-03-09 Richard Henderson <rth@twiddle.net>
40777 * include/math_private.h: Remove file.
40778 * math/math_private.h: Move file ...
40779 * sysdeps/generic/math_private.h: ... here.
40781 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40782 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40783 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40785 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40786 and <math_private.h>.
40787 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40788 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40789 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40790 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40791 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40792 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40838 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40841 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40852 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40869 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40875 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40876 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40877 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40878 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40880 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40881 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40882 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40883 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40884 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40886 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40887 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40888 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40889 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40890 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40891 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40892 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40893 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40894 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40895 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40897 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40899 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40900 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40901 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40902 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40906 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40907 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40908 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40912 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40915 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40917 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40918 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40919 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40922 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40923 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40924 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40927 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40928 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40929 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40930 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40931 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40932 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40936 * sysdeps/ieee754/k_standard.c: Likewise.
40937 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40938 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41052 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41056 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41057 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41059 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41085 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41086 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41097 * sysdeps/ieee754/s_lib_version.c: Likewise.
41098 * sysdeps/ieee754/s_matherr.c: Likewise.
41099 * sysdeps/ieee754/s_signgam.c: Likewise.
41100 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41101 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41102 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41103 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41104 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41105 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41106 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41107 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41108 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41109 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41110 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41111 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41112 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41113 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41114 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41115 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41116 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41117 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41119 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41122 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41124 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41125 * sunrpc/rpc_main.c: Likewise.
41126 * sunrpc/rpc_svcout.c: Likewise.
41128 2012-03-09 David S. Miller <davem@davemloft.net>
41130 * include/math_private.h: New file.
41132 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41134 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41135 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41136 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41137 from <bits/socket_type.h>.
41138 (enum __socket_type): Don't define here.
41139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41141 bits/socket_type.h.
41144 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41145 checking __USE_GNU.
41147 * Makerules ($(inst_includedir)/%.h): New rule.
41148 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41149 (install-others): Remove variable setting.
41150 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41152 2012-03-08 Richard Henderson <rth@twiddle.net>
41154 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41155 from macro to inline function; merge with the
41156 !__LIBC_INTERNAL_MATH_INLINES version.
41157 (__ieee754_sqrtf): Likewise.
41159 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41160 to inline function.
41161 (__rintf, __floor, __floorf): Likewise.
41163 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41164 macro to inline function.
41165 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41167 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41168 not <math/math_private.h>.
41170 2012-03-08 David S. Miller <davem@davemloft.net>
41172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41174 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41176 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41178 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41180 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41181 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41183 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41185 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41186 be defined individually, they must be defined as a block. Define
41187 S for printing a string instead of hidint the different by using a
41188 macro for adding the 'l'.
41189 * stdio-common/tst-fphex-wide.c: Adjust.
41191 2012-03-07 Marek Polacek <polacek@redhat.com>
41193 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41195 2012-03-08 Marek Polacek <polacek@redhat.com>
41198 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41199 * stdio-common/tst-fphex.c: Define a few macros to make the
41200 test reusable. Use them.
41201 * stdio-common/tst-fphex-wide.c: New file.
41203 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41206 * manual/macros.texi (gnusystems): New macro.
41207 (nongnusystems): Likewise.
41208 (gnulinuxhurdsystems): Likewise.
41209 (gnuhurdsystems): Likewise..
41210 (gnulinuxsystems): Likewise.
41211 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41212 variants of the GNU system, not "GNU system".
41213 * manual/conf.texi: Likewise.
41214 * manual/errno.texi: Likewise. Update example of errno macro
41216 * manual/filesys.texi: Likewise.
41217 (getumask): Document as specific to GNU/Hurd.
41218 * manual/install.texi: Likewise. Reword some references to
41220 * manual/intro.texi: Likewise.
41221 * manual/io.texi: Likewise.
41222 (File Name Portability): Detail which constraints are inapplicable
41223 to all GNU systems and which are only inapplicable to GNU/Hurd.
41224 * manual/job.texi: Likewise.
41225 * manual/llio.texi: Likewise.
41226 (O_NOCTTY): Document as present on GNU/Linux.
41227 * manual/maint.texi: Likewise.
41228 * manual/memory.texi: Likewise.
41229 * manual/pattern.texi: Likewise.
41230 * manual/pipe.texi: Likewise.
41231 * manual/process.texi: Likewise.
41232 * manual/resource.texi: Likewise.
41233 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41235 * manual/setjmp.texi: Likewise.
41236 * manual/signal.texi: Likewise.
41237 * manual/startup.texi: Likewise.
41238 * manual/stdio.texi: Likewise.
41239 * manual/terminal.texi: Likewise.
41240 (ONLCR): Document as POSIX.
41241 (OXTABS): Document availability on GNU/Linux as XTABS.
41242 (ONOEOT): Document availability separately from other bits.
41243 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41244 * manual/time.texi: Likewise.
41245 * manual/users.texi: Likewise.
41246 * INSTALL: Regenerated.
41247 * sysdeps/gnu/errlist.c: Regenerated.
41249 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41250 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41251 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41253 * configure: Regenerated.
41255 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41257 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41258 default includes instead of AC_HEADER_CHECK.
41259 * sysdeps/i386/configure: Regenerated.
41262 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41263 * math/s_cacoshf.c (__cacoshf): Likewise.
41264 * math/s_cacoshl.c (__cacoshl): Likewise.
41265 * math/s_casinh.c (__casinh): Set signs of result from argument.
41266 * math/s_casinhf.c (__casinhf): Likewise.
41267 * math/s_casinhl.c (__casinhl): Likewise.
41268 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41269 (casinh_test): Add more tests.
41270 * sysdeps/i386/fpu/libm-test-ulps: Update.
41271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41273 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41275 * po/zh_TW.po: Update from translation team.
41277 * login/Makefile (distribute): Remove variable.
41278 * catgets/Makefile: Likewise.
41279 * mach/Makefile: Likewise.
41280 * malloc/Makefile: Likewise.
41281 * misc/Makefile: Likewise.
41282 * iconv/Makefile: Likewise.
41283 * nscd/Makefile: Likewise.
41284 * hurd/Makefile: Likewise.
41285 * manual/Makefile: Likewise.
41286 * locale/Makefile: Likewise.
41287 * intl/Makefile: Likewise.
41288 * conform/Makefile: Likewise.
41289 * nss/Makefile: Likewise.
41290 * time/Makefile: Likewise.
41291 * soft-fp/Makefile: Likewise.
41292 * dirent/Makefile: Likewise.
41293 * gmon/Makefile: Likewise.
41294 * po/Makefile: Likewise.
41295 * rt/Makefile: Likewise.
41296 * socket/Makefile: Likewise.
41297 * math/Makefile: Likewise.
41298 * signal/Makefile: Likewise.
41299 * debug/Makefile: Likewise.
41300 * elf/Makefile: Likewise.
41301 * timezone/Makefile: Likewise.
41302 * stdlib/Makefile: Likewise.
41303 * iconvdata/Makefile: Likewise.
41304 * sunrpc/Makefile: Likewise.
41305 * io/Makefile: Likewise.
41306 * argp/Makefile: Likewise.
41307 * inet/Makefile: Likewise.
41308 * hesiod/Makefile: Likewise.
41309 * grp/Makefile: Likewise.
41310 * csu/Makefile: Likewise.
41311 * wctype/Makefile: Likewise.
41312 * crypt/Makefile: Likewise.
41313 * libio/Makefile: Likewise.
41314 * string/Makefile: Likewise.
41315 * nis/Makefile: Likewise.
41316 * resolv/Makefile: Likewise.
41317 * stdio-common/Makefile: Likewise.
41318 * wcsmbs/Makefile: Likewise.
41319 * dlfcn/Makefile: Likewise.
41320 * posix/Makefile: Likewise.
41323 * timezone/Makefile: Don't install timezone files, just the programs
41326 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41328 * nss/databases.def: Add missing gshadow entry.
41330 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41332 2012-03-06 Marek Polacek <polacek@redhat.com>
41335 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41336 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41337 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41338 * stdio-common/tst-long-dbl-fphex.c: New file.
41340 2012-03-06 David S. Miller <davem@davemloft.net>
41342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41343 (set_obp_int): New function.
41344 (get_obp_int): New function.
41345 (__get_clockfreq_via_dev_openprom): Likewise.
41346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41347 Avoid unused variable warnings on 'val' and use builtin_expect.
41348 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41350 (INLINE_CLONE_SYSCALL): Likewise.
41352 2012-03-05 David S. Miller <davem@davemloft.net>
41354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41356 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41360 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41361 only for |x| >= 40.
41362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41364 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41367 Replace gettimeofday with __vdso_gettimeofday.
41369 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41370 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41371 __vdso_clock_gettime and __vdso_getcpu.
41373 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41374 time with __vdso_time.
41376 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41378 * manual/lang.texi (size_t): Note types to which size_t may be
41379 equivalent with the GNU C Library, but do not describe when
41380 differences between them are significant.
41382 2012-03-05 Andreas Jaeger <aj@suse.de>
41384 * sysdeps/i386/fpu/libm-test-ulps: Update.
41386 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41389 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41390 (__ieee754_pow): Save and restore rounding mode and use
41391 round-to-nearest for main computations.
41392 * math/libm-test.inc (pow_test_tonearest): New function.
41393 (pow_test_towardzero): Likewise.
41394 (pow_test_downward): Likewise.
41395 (pow_test_upward): Likewise.
41396 (main): Call the new functions.
41397 * sysdeps/i386/fpu/libm-test-ulps: Update.
41398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41401 * math/libm-test.inc (cosh_test_tonearest): New function.
41402 (cosh_test_towardzero): Likewise.
41403 (cosh_test_downward): Likewise.
41404 (cosh_test_upward): Likewise.
41405 (sinh_test_tonearest): Likewise.
41406 (sinh_test_towardzero): Likewise.
41407 (sinh_test_downward): Likewise.
41408 (sinh_test_upward): Likewise.
41409 (main): Call the new functions.
41410 * sysdeps/i386/fpu/libm-test-ulps: Update.
41411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41413 2012-03-05 Tom de Vries <tom@codesourcery.com>
41415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41416 default stack guard is set in last bytes.
41417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41419 2012-03-05 Kees Cook <keescook@chromium.org>
41421 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41424 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41425 possibly allocate from heap instead of stack.
41426 * stdio-common/bug-vfprintf-nargs.c: New file.
41427 * stdio-common/Makefile (tests): Add nargs overflow test.
41429 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41433 2012-03-03 Marek Polacek <polacek@redhat.com>
41435 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41436 * math/math_private.h: Likewise.
41437 * stdlib/tst-strtod.c: Likewise.
41438 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41439 * sysdeps/x86_64/bits/atomic.h: Likewise.
41441 2012-03-02 David S. Miller <davem@davemloft.net>
41443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41447 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41448 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41449 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41450 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41452 2012-03-02 Roland McGrath <roland@hack.frob.com>
41455 * manual/examples/README: New file, says the example source files
41456 can be used under GPL>=2.
41457 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41458 line containing just "*/".
41459 * manual/examples/add.c: Add copyright header (GPL>=2).
41460 * manual/examples/argp-ex1.c: Likewise.
41461 * manual/examples/argp-ex2.c: Likewise.
41462 * manual/examples/argp-ex3.c: Likewise.
41463 * manual/examples/argp-ex4.c: Likewise.
41464 * manual/examples/atexit.c: Likewise.
41465 * manual/examples/db.c: Likewise.
41466 * manual/examples/dir.c: Likewise.
41467 * manual/examples/dir2.c: Likewise.
41468 * manual/examples/execinfo.c: Likewise.
41469 * manual/examples/filecli.c: Likewise.
41470 * manual/examples/filesrv.c: Likewise.
41471 * manual/examples/fmtmsgexpl.c: Likewise.
41472 * manual/examples/genpass.c: Likewise.
41473 * manual/examples/inetcli.c: Likewise.
41474 * manual/examples/inetsrv.c: Likewise.
41475 * manual/examples/isockad.c: Likewise.
41476 * manual/examples/longopt.c: Likewise.
41477 * manual/examples/memopen.c: Likewise.
41478 * manual/examples/memstrm.c: Likewise.
41479 * manual/examples/mkfsock.c: Likewise.
41480 * manual/examples/mkisock.c: Likewise.
41481 * manual/examples/mygetpass.c: Likewise.
41482 * manual/examples/pipe.c: Likewise.
41483 * manual/examples/popen.c: Likewise.
41484 * manual/examples/rprintf.c: Likewise.
41485 * manual/examples/search.c: Likewise.
41486 * manual/examples/select.c: Likewise.
41487 * manual/examples/setjmp.c: Likewise.
41488 * manual/examples/sigh1.c: Likewise.
41489 * manual/examples/sigusr.c: Likewise.
41490 * manual/examples/stpcpy.c: Likewise.
41491 * manual/examples/strdupa.c: Likewise.
41492 * manual/examples/strftim.c: Likewise.
41493 * manual/examples/strncat.c: Likewise.
41494 * manual/examples/subopt.c: Likewise.
41495 * manual/examples/swapcontext.c: Likewise.
41496 * manual/examples/termios.c: Likewise.
41497 * manual/examples/testopt.c: Likewise.
41498 * manual/examples/testpass.c: Likewise.
41499 * manual/examples/timeval_subtract.c: Likewise.
41502 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41504 * manual/timeval_subtract.c.texi: ... here, new file.
41506 2012-03-02 David S. Miller <davem@davemloft.net>
41508 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41510 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41513 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41514 (__sin): Save and restore rounding mode and use round-to-nearest
41515 for all computations.
41516 (__cos): Save and restore rounding mode and use round-to-nearest
41517 for all computations.
41518 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41520 (tan): Save and restore rounding mode and use round-to-nearest for
41522 * math/libm-test.inc (cos_test_tonearest): New function.
41523 (cos_test_towardzero): Likewise.
41524 (cos_test_downward): Likewise.
41525 (cos_test_upward): Likewise.
41526 (sin_test_tonearest): Likewise.
41527 (sin_test_towardzero): Likewise.
41528 (sin_test_downward): Likewise.
41529 (sin_test_upward): Likewise.
41530 (tan_test_tonearest): Likewise.
41531 (tan_test_towardzero): Likewise.
41532 (tan_test_downward): Likewise.
41533 (tan_test_upward): Likewise.
41534 (main): Call the new functions.
41535 * sysdeps/i386/fpu/libm-test-ulps: Update.
41536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41539 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41540 small n, then large n, before computing and testing k+n.
41541 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41544 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41546 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41547 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41548 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41549 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41552 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41554 * math/libm-test.inc (scalbn_test): Add more tests.
41555 (scalbln_test): Likewise.
41557 * manual/filesys.texi (mode_t): Describe constraints on size and
41558 signedness, not exact equivalence to a particular type.
41560 (ino64_t): Likewise.
41562 (nlink_t): Likewise.
41563 (blkcnt_t): Likewise.
41564 (blkcnt64_t): Likewise.
41565 * manual/llio.texi (off_t): Likewise.
41568 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41569 (__ieee754_exp): Save and restore rounding mode and use
41570 round-to-nearest for all computations.
41571 * math/libm-test.inc (exp_test_tonearest): New function.
41572 (exp_test_towardzero): Likewise.
41573 (exp_test_downward): Likewise.
41574 (exp_test_upward): Likewise.
41575 (main): Call the new functions.
41576 * sysdeps/i386/fpu/libm-test-ulps: Update.
41577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41579 2012-03-01 Chris Demetriou <cgd@google.com>
41581 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41582 have predictable order.
41584 2012-03-01 David S. Miller <davem@davemloft.net>
41586 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41588 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41589 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41590 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41591 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41593 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41594 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41595 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41597 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41599 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41600 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41601 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41606 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41609 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41610 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41611 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41612 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41613 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41614 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41616 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41617 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41620 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41622 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41623 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41625 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41626 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41627 * sysdeps/sparc/elf/configure: Regenerated.
41629 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41631 * configure.in (AS, LD): Require binutils 2.20 or later.
41632 * configure: Regenerated.
41633 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41634 as required minimum version.
41635 * INSTALL: Regenerated.
41639 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41640 before squaring exponent.
41641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41642 bottom long double and 27 bits of top long double before squaring
41644 * math/libm-test.inc (erfc_test): Add more tests.
41645 * sysdeps/i386/fpu/libm-test-ulps: Update.
41646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41649 2012-03-01 Kai Tietz <ktietz@redhat.com>
41651 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41652 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41653 containing bit-fields.
41654 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41655 * soft-fp/single.h (_FP_UNION_S): Likewise.
41656 * soft-fp/double.h (_FP_UNION_D): Likewise.
41658 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41661 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41662 not include ../strcmp.S.
41663 [USE_AS_STRNCASECMP_L]: Likewise.
41664 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41665 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41666 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41667 (__strncasecmp_l_ia32): Define as alias to
41668 __strncasecmp_l_nonascii.
41671 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41672 * sysdeps/i386/fpu/libm-test-ulps: Update.
41673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41675 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41678 2012-02-29 Jeff Law <law@redhat.com>
41680 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41681 out of bounds read.
41683 2012-02-29 Marek Polacek <polacek@redhat.com>
41686 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41687 * elf/Makefile: Add rules to run tst-unused-dep.out.
41689 2012-02-28 David S. Miller <davem@davemloft.net>
41691 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41692 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41693 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41695 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41696 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41698 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41700 * math/libm-test.inc (llround_test): Move one test from
41701 lround_test. Use TEST_f_L in moved test.
41702 (lround_test): Move misplaced test to llround_test. Add testcase
41705 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41707 * sysdeps/x86_64/fpu/e_expf.S: New file.
41708 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41710 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41713 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41714 of remain_len that may cause incomplete multi-byte character and
41716 * posix/bug-regex33.c: New file.
41717 * posix/Makefile (tests): Add bug-regex33.
41719 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41721 * manual/macros.texi: New file.
41722 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41723 * manual/libc.texinfo: Include macros.texi.
41724 * manual/creatute.texi: Likewise.
41725 * manual/install.texi: Likewise.
41726 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41727 @glibcadj{} in references to the GNU C Library.
41728 * manual/charset.texi: Likewise.
41729 * manual/conf.texi: Likewise.
41730 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41731 when not using those macros.
41732 * manual/creature.texi: Likewise.
41733 * manual/crypt.texi: Likewise.
41734 * manual/errno.texi: Likewise.
41735 * manual/filesys.texi: Likewise.
41736 * manual/header.texi: Likewise.
41737 * manual/install.texi: Likewise.
41738 * manual/intro.texi: Likewise.
41739 * manual/io.texi: Likewise.
41740 * manual/job.texi: Likewise.
41741 * manual/lang.texi: Likewise.
41742 * manual/libc.texiinfo: Likewise.
41743 * manual/llio.texi: Likewise.
41744 * manual/locale.texi: Likewise.
41745 * manual/maint.texi: Likewise.
41746 * manual/math.texi: Likewise.
41747 * manual/memory.texi: Likewise.
41748 * manual/message.texi: Likewise.
41749 * manual/nss.texi: Likewise.
41750 * manual/pattern.texi: Likewise.
41751 * manual/process.texi: Likewise.
41752 * manual/resource.texi: Likewise.
41753 * manual/search.texi: Likewise.
41754 * manual/setjmp.texi: Likewise.
41755 * manual/signal.texi: Likewise.
41756 * manual/socket.texi: Likewise.
41757 * manual/startup.texi: Likewise.
41758 * manual/stdio.texi: Likewise.
41759 * manual/string.texi: Likewise.
41760 * manual/sysinfo.texi: Likewise.
41761 * manual/syslog.texi: Likewise.
41762 * manual/terminal.texi: Likewise.
41763 * manual/time.texi: Likewise.
41764 * manual/users.texi: Likewise.
41765 * INSTALL: Regenerated.
41766 * NOTES: Regenerated.
41767 * sysdeps/gnu/errlist.c: Regenerated.
41769 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41771 * include/dirent.h: Include <dirstream.h> before
41774 2012-02-28 David S. Miller <davem@davemloft.net>
41776 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41777 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41778 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41779 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41781 2012-02-27 David S. Miller <davem@davemloft.net>
41783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41785 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41786 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41789 frame pointer instead of stack pointer relative arg slot.
41790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41791 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41792 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41794 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41797 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41799 2012-02-27 David S. Miller <davem@davemloft.net>
41801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41807 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41808 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41810 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41812 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41813 later. Allow versions 5-9.
41814 * configure: Regenerated.
41815 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41816 required minimum version and 4.6 as recommended version. Do not
41817 mention bugs in GCC 2.7 and 2.8.
41818 * INSTALL: Regenerated.
41820 2012-02-27 David S. Miller <davem@davemloft.net>
41822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41826 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41827 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41828 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41829 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41832 manipulate bits before adding and subtracting TWO112[sx].
41833 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41835 2012-02-27 Roland McGrath <roland@hack.frob.com>
41838 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41839 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41840 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41841 being in POSIX, because they are in 1003.1-2008.
41843 * rt/tst-aio.c: Include <fcntl.h>.
41844 * rt/tst-aio7.c: Likewise.
41845 * rt/tst-aio64.c: Likewise.
41847 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41849 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41851 * manual/install.texi (--with-headers): Describe headers as
41852 interface headers, not private headers.
41853 (Specific advice for GNU/Linux systems): Describe use of headers
41854 from "make headers_install", not private headers from older
41856 * INSTALL: Regenerated.
41857 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41859 * sysdeps/unix/sysv/linux/configure: Regenerated.
41861 * manual/llio.texi (fclean): Remove documentation.
41863 * manual/Makefile (libc-texi-generated): New variable. Include
41865 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41866 $(libc-texi-generated), not duplicated list of files.
41867 (version.texi, stamp-version): New rules.
41868 (realclean): Remove $(libc-texi-generated), not individual files
41869 from that list. Do not remove dir-add.texinfo.
41870 * manual/libc.texinfo: Comment out uses of edition numbers and
41871 references to printed manual. Remove last-updated dates.
41872 (EDITION): Comment out.
41874 (VERSION, UPDATED): Remove.
41875 (version.texi): Include.
41877 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41879 * sysdeps/posix/spawni.c: Include <signal.h>.
41880 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41881 * sysdeps/pthread/aio_fsync.c: Likewise.
41883 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41885 * conform/Makefile (tests): Run only when not cross-compiling and
41886 when fast-check is not defined.
41888 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41889 * conform/data/limits.h-data: Fixes for POSIX2008.
41890 * conform/run-conformtest.sh: Run all tests.
41891 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41893 * include/bits/dlfcn.h: Likewise.
41894 * include/langinfo.h: Likewise.
41895 * include/monetary.h: Likewise.
41896 * include/sys/poll.h: Likewise.
41898 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41900 * posix/spawn.h: Define __need_sigset_t.
41901 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41902 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41903 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41904 to get sigevent_t only.
41905 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41906 only for __USE_GNU.
41907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41908 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41909 process_vm_writev only for __USE_GNU.
41910 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41912 * conform/Makefile: For now ignore errors from run-conformtest.
41913 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41914 POSIX to avoid namespace pollution. Don't prepend headers.
41915 * conform/data/aio.h-data: Fixes for POSIX testing.
41916 * conform/data/fcntl.h-data: Likewise.
41917 * conform/data/glob.h-data: Likewise.
41918 * conform/data/grp.h-data: Likewise.
41919 * conform/data/pthread.h-data: Likewise.
41920 * conform/data/pwd.h-data: Likewise.
41921 * conform/data/signal.h-data: Likewise.
41922 * conform/data/spawn.h-data: Likewise.
41923 * conform/data/stdio.h-data: Likewise.
41924 * conform/data/stdlib.h-data: Likewise.
41925 * conform/data/stropts.h-data: Likewise.
41926 * conform/data/sys/mman.h-data: Likewise.
41927 * conform/data/sys/stat.h-data: Likewise.
41928 * conform/data/sys/types.h-data: Likewise.
41929 * conform/data/sys/wait.h-data: Likewise.
41930 * conform/data/time.h-data: Likewise.
41931 * conform/data/unistd.h-data: Likewise.
41932 * conform/data/utime.h-data: Likewise.
41934 * io/sys/stat.h: fchmod was always in POSIX.
41935 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41936 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41937 * rt/aio.h: Define __need_timespec before including <time.h>.
41938 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41939 struct. Add forward declaration of pthread_attr_t and use it in
41941 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41943 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41944 always remove CLK_TCK definition.
41946 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41948 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41950 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41952 * conform/run-conformtest.sh: New file.
41953 * conform/Makefile: Run run-conformtest for tests.
41954 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41957 * conform/data/uchar.h-data: New file.
41958 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41959 * conform/data/arpa/inet.h-data: Likewise.
41960 * conform/data/assert.h-data: Likewise.
41961 * conform/data/complex.h-data: Likewise.
41962 * conform/data/cpio.h-data: Likewise.
41963 * conform/data/ctype.h-data: Likewise.
41964 * conform/data/dirent.h-data: Likewise.
41965 * conform/data/dlfcn.h-data: Likewise.
41966 * conform/data/errno.h-data: Likewise.
41967 * conform/data/fcntl.h-data: Likewise.
41968 * conform/data/float.h-data: Likewise.
41969 * conform/data/fmtmsg.h-data: Likewise.
41970 * conform/data/fnmatch.h-data: Likewise.
41971 * conform/data/ftw.h-data: Likewise.
41972 * conform/data/glob.h-data: Likewise.
41973 * conform/data/grp.h-data: Likewise.
41974 * conform/data/iconv.h-data: Likewise.
41975 * conform/data/inttypes.h-data: Likewise.
41976 * conform/data/langinfo.h-data: Likewise.
41977 * conform/data/libgen.h-data: Likewise.
41978 * conform/data/limits.h-data: Likewise.
41979 * conform/data/locale.h-data: Likewise.
41980 * conform/data/math.h-data: Likewise.
41981 * conform/data/monetary.h-data: Likewise.
41982 * conform/data/mqueue.h-data: Likewise.
41983 * conform/data/ndbm.h-data: Likewise.
41984 * conform/data/net/if.h-data: Likewise.
41985 * conform/data/netdb.h-data: Likewise.
41986 * conform/data/netinet/in.h-data: Likewise.
41987 * conform/data/nl_types.h-data: Likewise.
41988 * conform/data/poll.h-data: Likewise.
41989 * conform/data/pthread.h-data: Likewise.
41990 * conform/data/pwd.h-data: Likewise.
41991 * conform/data/regex.h-data: Likewise.
41992 * conform/data/sched.h-data: Likewise.
41993 * conform/data/search.h-data: Likewise.
41994 * conform/data/semaphore.h-data: Likewise.
41995 * conform/data/setjmp.h-data: Likewise.
41996 * conform/data/signal.h-data: Likewise.
41997 * conform/data/spawn.h-data: Likewise.
41998 * conform/data/stdarg.h-data: Likewise.
41999 * conform/data/stdio.h-data: Likewise.
42000 * conform/data/stdlib.h-data: Likewise.
42001 * conform/data/string.h-data: Likewise.
42002 * conform/data/strings.h-data: Likewise.
42003 * conform/data/stropts.h-data: Likewise.
42004 * conform/data/sys/ipc.h-data: Likewise.
42005 * conform/data/sys/mman.h-data: Likewise.
42006 * conform/data/sys/msg.h-data: Likewise.
42007 * conform/data/sys/resource.h-data: Likewise.
42008 * conform/data/sys/select.h-data: Likewise.
42009 * conform/data/sys/sem.h-data: Likewise.
42010 * conform/data/sys/shm.h-data: Likewise.
42011 * conform/data/sys/socket.h-data: Likewise.
42012 * conform/data/sys/stat.h-data: Likewise.
42013 * conform/data/sys/statvfs.h-data: Likewise.
42014 * conform/data/sys/time.h-data: Likewise.
42015 * conform/data/sys/timeb.h-data: Likewise.
42016 * conform/data/sys/times.h-data: Likewise.
42017 * conform/data/sys/types.h-data: Likewise.
42018 * conform/data/sys/uio.h-data: Likewise.
42019 * conform/data/sys/un.h-data: Likewise.
42020 * conform/data/sys/utsname.h-data: Likewise.
42021 * conform/data/sys/wait.h-data: Likewise.
42022 * conform/data/syslog.h-data: Likewise.
42023 * conform/data/tar.h-data: Likewise.
42024 * conform/data/termios.h-data: Likewise.
42025 * conform/data/utime.h-data: Likewise.
42026 * conform/data/utmpx.h-data: Likewise.
42027 * conform/data/varargs.h-data: Likewise.
42028 * conform/data/wchar.h-data: Likewise.
42029 * conform/data/wctype.h-data: Likewise.
42030 * conform/data/wordexp.h-data: Likewise.
42032 * include/stropts.h: New file.
42033 * include/uchar.h: New file.
42034 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42035 * include/assert.h: Likewise.
42036 * include/ctype.h: Likewise.
42037 * include/dirent.h: Likewise.
42038 * include/dlfcn.h: Likewise.
42039 * include/fcntl.h: Likewise.
42040 * include/fnmatch.h: Likewise.
42041 * include/glob.h: Likewise.
42042 * include/grp.h: Likewise.
42043 * include/libio.h: Likewise.
42044 * include/locale.h: Likewise.
42045 * include/math.h: Likewise.
42046 * include/net/if.h: Likewise.
42047 * include/netdb.h: Likewise.
42048 * include/netinet/in.h: Likewise.
42049 * include/pthread.h: Likewise.
42050 * include/pwd.h: Likewise.
42051 * include/regex.h: Likewise.
42052 * include/sched.h: Likewise.
42053 * include/search.h: Likewise.
42054 * include/setjmp.h: Likewise.
42055 * include/signal.h: Likewise.
42056 * include/stdio.h: Likewise.
42057 * include/stdlib.h: Likewise.
42058 * include/string.h: Likewise.
42059 * include/sys/cdefs.h: Likewise.
42060 * include/sys/mman.h: Likewise.
42061 * include/sys/msg.h: Likewise.
42062 * include/sys/resource.h: Likewise.
42063 * include/sys/select.h: Likewise.
42064 * include/sys/socket.h: Likewise.
42065 * include/sys/stat.h: Likewise.
42066 * include/sys/statvfs.h: Likewise.
42067 * include/sys/time.h: Likewise.
42068 * include/sys/times.h: Likewise.
42069 * include/sys/uio.h: Likewise.
42070 * include/sys/utsname.h: Likewise.
42071 * include/sys/wait.h: Likewise.
42072 * include/termios.h: Likewise.
42073 * include/time.h: Likewise.
42074 * include/ulimit.h: Likewise.
42075 * include/unistd.h: Likewise.
42076 * include/utime.h: Likewise.
42077 * include/wchar.h: Likewise.
42078 * include/wctype.h: Likewise.
42079 * include/wordexp.h: Likewise.
42081 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42083 * time/time.h: TIME_UTC must be a macro.
42084 Make timespec_get available for ISO C11 only as well.
42086 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42088 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42089 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42091 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42093 * configure.in: Use -o not -a in test for unsupported multi-arch.
42095 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42097 * manual/texinfo.tex: Update to version 2012-01-19.16.
42099 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42101 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42103 2012-02-24 Roland McGrath <roland@hack.frob.com>
42106 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42107 * manual/fdl-1.3.texi: New file.
42108 * manual/fdl-1.1.texi: File removed.
42111 * manual/libc.texinfo (FDL_VERSION): New @set.
42112 Use it for mention of FDL in cover text.
42113 (Documentation License): Use it in @include file name.
42115 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42116 Roland McGrath <roland@hack.frob.com>
42119 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42120 (not LONG_LONG_MAX and LONG_LONG_MIN.
42121 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42122 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42124 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42126 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42130 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42131 manipulate bits before adding and subtracting TWO23[sx].
42132 * math/libm-test.inc (nearbyint_test): Add more tests.
42134 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42137 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42138 bits before adding and subtracting TWO23[sx].
42139 * math/libm-test.inc (rint_test): Add more tests.
42140 (rint_test_tonearest): Likewise.
42141 (rint_test_towardzero): Likewise.
42142 (rint_test_downward): Likewise.
42143 (rint_test_upward: Likewise.
42145 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42148 * include/stdc-predef.h: New file. Extracted from features.h.
42149 * include/features.h: Include stdc-predef.h.
42150 * Makefile (headers): Add stdc-predef.h.
42151 * CONFORMANCE (Compiler limitations): Update.
42153 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42155 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42157 2012-02-21 David S. Miller <davem@davemloft.net>
42159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42160 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42162 2012-02-20 David S. Miller <davem@davemloft.net>
42164 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42165 using a normal save/restore sequence, rather than allocating a
42166 dummy stack frame just to store a frame pointer and restore.
42167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42171 * manual/install.texi: Fix stray word in line-wrapped comment.
42173 2012-02-20 David S. Miller <davem@davemloft.net>
42175 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42176 both binutils and gcc support GOTDATA.
42178 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42179 "rd %pc" in the PIC register setup sequences.
42181 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42182 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42183 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42184 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42185 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42187 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42190 (SYSCALL_ERROR_HANDLER): Likewise.
42191 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42192 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42194 (SYSCALL_ERROR_HANDLER): Likewise.
42196 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42197 (HAVE_GCC_GOTDATA): New.
42198 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42199 relocation support in both binutils and gcc.
42200 * sysdeps/sparc/elf/configure: Regenerate.
42202 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42203 * sysdeps/sparc/sparc32/elf/configure: Delete.
42204 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42205 * sysdeps/sparc/sparc64/elf/configure: Delete.
42206 * sysdeps/sparc/elf/configure.in: New file.
42207 * sysdeps/sparc/elf/configure: Generate.
42209 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42210 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42211 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42212 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42213 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42215 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42217 * manual/install.texi: Do not mention specific glibc version
42219 * manual/libc.texinfo (VERSION, UPDATED): Update.
42220 (@copying): Use @copyright{} and range of years.
42222 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42225 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42226 [crti.S not in sysdirs] (generated): Do not append.
42227 [crti.S not in sysdirs] (omit-deps): Likewise.
42228 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42229 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42230 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42231 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42232 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42234 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42235 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42236 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42237 * csu/defs.awk: Remove file.
42238 * sysdeps/generic/initfini.c: Likewise.
42239 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42241 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42244 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42246 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42247 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42248 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42250 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42251 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42253 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42254 (__EPOLL_PACKED): Define to empty if not defined by
42256 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42260 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42262 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42263 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42264 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42265 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42267 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42271 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42273 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42276 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42280 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42282 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42283 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42285 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42287 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42288 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42290 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42292 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42295 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42297 * math/w_acos.c: Use non-signaling floating-point comparisons.
42298 * math/w_acosf.c: Likewise.
42299 * math/w_acosh.c: Likewise.
42300 * math/w_acoshf.c: Likewise.
42301 * math/w_acoshl.c: Likewise.
42302 * math/w_acosl.c: Likewise.
42303 * math/w_asin.c: Likewise.
42304 * math/w_asinf.c: Likewise.
42305 * math/w_asinl.c: Likewise.
42306 * math/w_atanh.c: Likewise.
42307 * math/w_atanhf.c: Likewise.
42308 * math/w_atanhl.c: Likewise.
42309 * math/w_exp2.c: Likewise.
42310 * math/w_exp2f.c: Likewise.
42311 * math/w_exp2l.c: Likewise.
42312 * math/w_j0.c: Likewise.
42313 * math/w_j0f.c: Likewise.
42314 * math/w_j0l.c: Likewise.
42315 * math/w_j1.c: Likewise.
42316 * math/w_j1f.c: Likewise.
42317 * math/w_j1l.c: Likewise.
42318 * math/w_jn.c: Likewise.
42319 * math/w_jnf.c: Likewise.
42320 * math/w_log.c: Likewise.
42321 * math/w_log10.c: Likewise.
42322 * math/w_log10f.c: Likewise.
42323 * math/w_log10l.c: Likewise.
42324 * math/w_log2.c: Likewise.
42325 * math/w_log2f.c: Likewise.
42326 * math/w_log2l.c: Likewise.
42327 * math/w_logf.c: Likewise.
42328 * math/w_logl.c: Likewise.
42329 * math/w_sqrt.c: Likewise.
42330 * math/w_sqrtf.c: Likewise.
42331 * math/w_sqrtl.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42338 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42341 * manual/string.texi (strnlen): Use correct parameter name in
42342 equivalent expression.
42344 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42347 * manual/users.texi (seteuid): Consistently use neweuid for
42350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42353 * manual/nss.texi (Services in the NSS configuration): Correct
42354 list of services in example configuration file.
42356 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42359 * manual/arith.texi: Remove statements about negative zero
42360 behaving identically to zero.
42362 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42365 * manual/install.texi: Do not document upgrading from libc5.
42367 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42370 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42372 2012-02-18 David S. Miller <davem@davemloft.net>
42374 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42375 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42376 %o7 across the call.
42377 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42380 SETUP_PIC_REG_LEAF.
42381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42382 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42383 * sysdeps/sparc/crtn.S: Likewise.
42385 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42387 * aout/Makefile: Remove.
42389 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42392 * manual/examples/argp-ex1.c (main): Format definition in GNU
42394 * manual/examples/argp-ex2.c (main): Likewise.
42395 * manual/examples/argp-ex3.c (main): Likewise.
42396 * manual/examples/argp-ex4.c (main): Likewise.
42397 * manual/examples/longopt.c (main): Use new-style prototype
42399 * manual/examples/strncat.c (main): Specify return type and use
42400 (void) for arguments.
42401 * manual/examples/subopt.c (main): Use char **argv argument.
42403 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42406 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42409 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42412 * manual/string.texi (strchr): Change when strchrnul is
42415 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42418 * manual/locale.texi (setlocale): Document LOCPATH.
42420 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42423 * manual/process.texi (execle): Move @dots{} before last argument.
42425 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42428 * manual/charset.texi (Generic Charset Conversion): Fix typo
42429 (LC_TYPE -> LC_CTYPE).
42431 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42434 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42435 (scalbnf): Likewise.
42436 (scalbnl): Likewise.
42437 (scalbln): Likewise.
42438 (scalblnf): Likewise.
42439 (scalblnl): Likewise.
42440 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42441 (vwarnx): Likewise.
42444 * manual/filesys.texi (telldir): Use braces around return type.
42445 * manual/llio.texi (mmap): Add space after comma.
42446 (mmap64): Likewise.
42447 * manual/math.texi (jn): Use @var{} on parameter names.
42453 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42455 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42457 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42458 (sched_get_priority_max): Likewise.
42459 * manual/signal.texi (sigvec): Add space after comma.
42460 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42462 (if_indextoname): Likewise.
42463 (if_freenameindex): Likewise.
42464 (sendto): Use ',' instead of '.' in prototype.
42465 * manual/startup.texi (syscall): Use @dots{} instead of literal
42467 * manual/stdio.texi (__fpending): Separate initial words of
42468 paragraph from @deftypefun line.
42469 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42471 (vsyslog): Use @var{} on parameter names.
42472 * manual/terminal.texi (stty): Use @var{} on parameter names.
42473 * manual/users.texi (getutmp): Use @var{} on parameter names.
42474 (getutmpx): Likewise.
42476 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42479 * manual/stdio.texi (fopen): Fix typos in description of
42482 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42485 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42486 get clock_id definition.
42488 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42491 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42492 (madvise): Cast every argument to void on its own.
42494 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42497 * manual/startup.texi (Exit Status): Fix typo.
42499 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42502 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42503 * manual/examples/argp-ex2.c: Likewise.
42504 * manual/examples/argp-ex3.c: Likewise.
42506 2012-02-16 Richard Henderson <rth@redhat.com>
42508 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42509 * sysdeps/s390/s390-32/initfini.c: Remove.
42510 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42511 * sysdeps/s390/s390-64/initfini.c: Remove.
42513 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42515 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42516 compiler output for sysdeps/generic/initfini.c.
42517 * sysdeps/sh/elf/initfini.c: Remove file.
42519 2012-02-16 David S. Miller <davem@davemloft.net>
42522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42524 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42525 * sysdeps/sparc/crti.S: New file.
42526 * sysdeps/sparc/crtn.S: New file.
42527 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42528 * sysdeps/sparc/sparc64/Makefile: Likewise.
42530 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42533 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42535 2012-02-15 Roland McGrath <roland@hack.frob.com>
42538 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42540 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42541 (write, read, close): Likewise.
42542 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42544 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42546 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42547 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42548 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42549 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42551 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42555 2012-02-14 Marek Polacek <polacek@redhat.com>
42557 * sysdeps/x86_64/crti.S: New file.
42558 * sysdeps/x86_64/crtn.S: New file.
42559 * sysdeps/x86_64/elf/initfini.c: Remove file.
42561 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42563 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42564 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42565 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42566 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42568 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42572 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42574 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42575 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42576 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42577 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42579 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42583 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42585 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42586 __feraiseexcept instead of feraiseexcept.
42588 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42589 nanosleep invocations.
42590 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42591 strings, and add error checking for a nanosleep invocations.
42593 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42595 Replace FSF snail mail address with URLs, as per GNU coding standards.
42596 Most of the snail mail addresses were wrong anyway, and omitting
42597 them makes the source code easier to maintain. Almost all of the
42598 changes are to license notices and to locale LC_IDENTIFICATION
42599 addresses, except for this one:
42600 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42601 not its snail mail address.
42603 2012-02-09 Richard Henderson <rth@twiddle.net>
42605 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42606 of kernel-features.h.
42608 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42610 2012-02-08 Marek Polacek <polacek@redhat.com>
42612 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42613 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42614 * sysdeps/gnu/_G_config.h: Likewise.
42615 * sysdeps/generic/_G_config.h: Likewise.
42617 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42619 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42623 * sysdeps/powerpc/powerpc32/crti.S: New file.
42624 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42625 * sysdeps/powerpc/powerpc64/crti.S: New file.
42626 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42628 * Makeconfig (have-initfini): Don't set.
42629 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42630 * configure.in (nopic_initfini): Don't substitute.
42631 * config.h.in (HAVE_INITFINI): Don't #undef.
42632 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42633 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42635 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42637 Support crti.S and crtn.S provided directly by architectures.
42638 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42639 [crti.S in sysdirs] (omit-deps): Likewise.
42640 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42641 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42642 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42643 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42644 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42645 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42646 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42647 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42648 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42649 compiler output for sysdeps/generic/initfini.c.
42650 * sysdeps/i386/elf/Makefile: Remove file.
42651 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42653 2012-02-07 Marek Polacek <polacek@redhat.com>
42655 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42656 * sysdeps/gnu/_G_config.h: Likewise.
42657 * sysdeps/mach/hurd/_G_config.h: Likewise.
42659 2012-02-07 Marek Polacek <polacek@redhat.com>
42661 * math/Makefile (tests): Add tst-CMPLX2.
42662 * math/tst-CMPLX2.c: New file.
42664 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42666 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42668 * math/libm-test.inc (jn_test): Add missing L suffix.
42670 2012-02-06 Marek Polacek <polacek@redhat.com>
42672 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42673 * sysdeps/i386/fpu/e_powf.S: Likewise.
42674 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42675 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42676 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42677 * sysdeps/i386/fpu/e_pow.S: Likewise.
42678 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42679 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42680 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42681 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42682 * sysdeps/i386/fpu/e_log2.S: Likewise.
42683 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42684 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42685 * sysdeps/i386/fpu/e_powl.S: Likewise.
42686 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42688 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42689 * sysdeps/i386/fpu/e_logl.S: Likewise.
42690 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42691 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42692 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42693 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42694 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42695 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42696 * sysdeps/i386/fpu/e_log.S: Likewise.
42697 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42699 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42700 * sysdeps/i386/fpu/e_logf.S: Likewise.
42701 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42702 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42703 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42705 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42706 * sysdeps/i386/fpu/e_log10.S: Likewise.
42707 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42708 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42709 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42710 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42711 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42713 * sysdeps/i386/asm-syntax.h: Likewise.
42714 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42716 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42717 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42718 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42719 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42720 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42721 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42723 * sysdeps/powerpc/sysdep.h: Likewise.
42724 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42725 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42727 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42730 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42732 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42734 * sysdeps/i386/sysdep.h: Include <features.h>.
42735 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42738 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42740 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42742 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42745 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42747 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42748 (SETUP_PIC_REG): Use GET_PC_THUNK.
42749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42752 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42754 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42755 for non-PIC compilation.
42756 (SETUP_PIC_REG): Add .p2align directive.
42757 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42758 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42759 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42760 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42761 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42762 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42763 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42764 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42771 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42772 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42773 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42774 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42775 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42776 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42777 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42778 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42779 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42780 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42783 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42784 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42785 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42786 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42787 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42788 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42789 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42790 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42791 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42792 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42793 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42794 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42795 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42796 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42797 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42799 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42801 * math/tst-CMPLX.c: Include <stdio.h>.
42803 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42805 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42807 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42808 * sysdeps/sparc/bits/mathdef.h: Likewise.
42810 2012-01-31 Marek Polacek <polacek@redhat.com>
42812 * libio/libio.h: Don't define _PARAMS.
42813 * locale/programs/config.h: Don't define PARAMS.
42814 * stdlib/strtol_l.c: Likewise.
42815 (__strtol_l): Remove PARAMS from the prototype.
42817 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42819 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42820 names. Just use the correct names. Remove unnecessary wrapper
42822 * malloc/arena.c: Likewise.
42823 * malloc/hooks.c: Likewise.
42825 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42826 ARENA_TEST says not to. Simplify test for creation of a new arena.
42827 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42829 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42831 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42833 (update_get_addr): New function.
42834 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42835 GET_ADDR_MODULE parameter.
42837 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42839 * crypt/cert.c: Remove __STDC__ conditionals.
42840 * crypt/crypt-entry.c: Likewise.
42841 * crypt/crypt_util.c: Likewise.
42842 * libio/filedoalloc.c: Likewise.
42843 * libio/fileops.c: Likewise.
42844 * libio/genops.c: Likewise.
42845 * libio/iofclose.c: Likewise.
42846 * libio/iofdopen.c: Likewise.
42847 * libio/iofopen.c: Likewise.
42848 * libio/iofopen64.c: Likewise.
42849 * libio/iogetdelim.c: Likewise.
42850 * libio/iopopen.c: Likewise.
42851 * libio/obprintf.c: Likewise.
42852 * libio/oldfileops.c: Likewise.
42853 * libio/oldiofclose.c: Likewise.
42854 * libio/oldiofdopen.c: Likewise.
42855 * libio/oldiofopen.c: Likewise.
42856 * libio/oldiopopen.c: Likewise.
42857 * libio/wfiledoalloc.c: Likewise.
42858 * libio/wgenops.c: Likewise.
42859 * locale/programs/xmalloc.c: Likewise.
42860 * misc/syslog.c: Likewise.
42861 * stdio-common/xbug.c: Likewise.
42862 * string/memchr.c: Likewise.
42863 * string/memcmp.c: Likewise.
42864 * string/memrchr.c: Likewise.
42865 * string/rawmemchr.c: Likewise.
42866 * sysdeps/posix/getcwd.c: Likewise.
42867 * time/strftime_l.c: Likewise.
42869 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42871 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42872 * config.make.in (config-cflags-sse2avx): Define.
42873 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42876 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42878 * scripts/config.guess: Update from upstream config git repository.
42879 * scripts/config.sub: Likewise.
42881 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42883 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42885 (R_TILEPRO_*, R_TILEGX_*): New macros.
42887 * scripts/firstversions.awk: Fix bug in version range handling.
42889 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42891 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42893 * include/sys/epoll.h: New file.
42894 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42897 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42899 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42900 Avoid unnecessary __WORDSIZE == 64 test.
42901 (fmaxf): Use VEX format if possible.
42906 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42907 * math/math_private.h: Remove libc_fegetround* and
42909 * sysdeps/i386/configure.in: Check for -msse2avx.
42910 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42911 also if SSE2AVX is defined.
42912 Remove libc_fegetround* and libc_fesetround*.
42913 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42914 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42915 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42917 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42918 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42921 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42923 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42925 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42927 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42929 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42931 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42934 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42936 * Makeconfig (libm): Define.
42937 * elf/Makefile: Add rules to build and run tst-relsort1.
42938 * elf/tst-relsort1.c: New file.
42939 * elf/tst-relsort1mod1.c: New file.
42940 * elf/tst-relsort1mod2.c: New file.
42942 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42944 * math/s_ldexp.c: Remove __STDC__ conditionals.
42945 * math/s_ldexpf.c: Likewise.
42946 * math/s_ldexpl.c: Likewise.
42947 * math/s_nextafter.c: Likewise.
42948 * math/s_nexttowardf.c: Likewise.
42949 * math/s_significand.c: Likewise.
42950 * math/s_significandf.c: Likewise.
42951 * math/s_significandl.c: Likewise.
42952 * math/w_jnl.c: Likewise.
42953 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42954 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42955 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42956 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42957 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42958 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42959 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42961 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42962 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42963 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42965 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42966 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42968 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42969 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42970 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42972 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42973 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42974 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42975 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42976 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42977 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42978 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42979 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42980 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42981 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42982 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42983 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42984 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42992 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42993 * sysdeps/ieee754/k_standard.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43060 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43069 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43073 * sysdeps/ieee754/s_matherr.c: Likewise.
43074 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43075 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43079 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43081 * crypt/md5.h: Remove __STDC__ conditionals.
43082 * libio/libioP.h: Likewise.
43083 * locale/programs/config.h: Likewise.
43084 * sysdeps/generic/sysdep.h: Likewise.
43085 * sysdeps/i386/asm-syntax.h: Likewise.
43086 * sysdeps/s390/asm-syntax.h: Likewise.
43087 * sysdeps/unix/sysdep.h: Likewise.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43091 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43093 * libio/libio.h: Remove __STDC__ conditionals.
43094 * malloc/obstack.h: Likewise.
43095 * math/complex.h: Likewise.
43096 * math/math.h: Likewise.
43097 * sysdeps/generic/_G_config.h: Likewise.
43098 * sysdeps/gnu/_G_config.h: Likewise.
43099 * sysdeps/mach/hurd/_G_config.h: Likewise.
43100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43101 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43102 * sysdeps/sparc/bits/mathdef.h: Likewise.
43104 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43107 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43108 Clean up HAS_* macros.
43109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43110 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43120 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43122 * elf/tst-unique3.cc (gets): Remove declaration.
43123 * elf/tst-unique3lib.cc (gets): Likewise.
43124 * elf/tst-unique3lib2.cc (gets): Likewise.
43125 * elf/tst-unique4.cc (gets): Likewise.
43127 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43129 * include/stdio.h: Add C++ protection. Add gets declarations and
43131 * debug/tst-chk1.c: Don't declare gets here.
43132 * stdio-common/tst-gets.c: Likewise.
43134 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43136 * posix/glob: Remove directory.
43138 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43140 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43142 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43144 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43145 of the non-standard EPFNOSUPPORT.
43147 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43149 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43150 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43151 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43153 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43155 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43157 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43159 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43161 * nscd/grpcache.c (cache_addgr): Likewise.
43162 * nscd/hstcache.c (cache_addhst): Likewise.
43163 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43164 * nscd/pwdcache.c (cache_addpw): Likewise.
43165 * nscd/servicescache.c (cache_addserv): Likewise.
43167 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43169 * malloc/malloc.c: Various cleanups.
43170 * malloc/hooks.c: Likewise.
43172 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43173 * stdlib/bug-fmtmsg1.c: New file.
43175 * stdlib/fmtmsg.c (init): Add missing unlock.
43176 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43178 2012-01-12 Marek Polacek <polacek@redhat.com>
43180 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43183 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43185 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43186 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43187 macro to ensure uniqueness of label name.
43188 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43189 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43191 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43193 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43195 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43196 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43200 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43204 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43205 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43206 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43208 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43211 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43212 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43215 * math/bits/math-finite.h: Add ldexp support.
43217 2012-01-10 Marek Polacek <polacek@redhat.com>
43219 * locale/programs/localedef.h (show_archive_content): Add noreturn
43222 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43224 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43226 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43228 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43230 * io/Makefile (headers): Add bits/poll2.h.
43232 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43235 typo #include statement.
43237 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43239 * include/sys/cdefs.h: Define __attribute_alloc_size.
43240 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43241 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43242 * elf/pldd.c: Likewise.
43243 * iconv/iconv_charmap.c: Likewise.
43244 * iconv/iconvconfig.c: Likewise.
43245 * iconv/strtab.c: Likewise.
43246 * locale/programs/locale.c: Likewise.
43247 * locale/programs/localedef.h: Likewise.
43248 * locale/programs/simple-hash.c: Likewise.
43249 * nscd/nscd.h: Likewise.
43250 * nss/makedb.c: Likewise.
43251 * sysdeps/generic/ldconfig.h: Likewise.
43252 * locale/programs/localedef.c: Remove xmalloc prototype.
43253 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43255 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43260 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43262 * math/Makefile (tests): Add tst-CMPLX.
43263 * math/tst-CMPLX.c: New file.
43265 * math/complex.h (CMPLXL): Fix typo.
43267 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43268 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43270 * debug/tst-chk1.c: Add poll and ppoll tests.
43271 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43272 * include/sys/poll.h: Add hidden proto for ppoll.
43273 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43274 * sysdeps/mach/hurd/ppoll.c: Likewise.
43275 * io/ppoll.c: Likewise.
43276 * debug/poll_chk.c: New file.
43277 * debug/ppoll_chk.c: New file.
43278 * include/bits/poll2.h: New file.
43279 * io/bits/poll2.h: New file.
43282 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43284 * configure.in: static is always set to yes. Remove.
43285 * config.make.in: Don't set build-static.
43286 * Makeconfig: Remove use of build-static.
43287 * dlfcn/Makefile: Likewise.
43288 * elf/Makefile: Likewise.
43289 * math/Makefile: Likewise.
43290 * misc/Makefile: Likewise.
43291 * nptl/Makefile: Likewise.
43292 * sysdeps/mach/hurd/Makefile: Likewise.
43294 * configure.in: PWD_P is not used anymore.
43295 * config.make.in: Remove PWD_P entry.
43297 * configure.in: Remove last remnants of RANLIB.
43298 No need to check for signed size_t anymore.
43299 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43301 Remove __builtin_expect test because we require at least gcc 3.4.
43302 * aclocal.m4: Likewise.
43304 * wcsmbs/mbrtoc16.c: Implement using towc function.
43305 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43306 * wcsmbs/wcsmbsload.c: Likewise.
43307 * iconv/gconv_simple.c: Likewise.
43308 * iconv/gconv_int.h: Likewise.
43309 * iconv/gconv_builtin.h: Likewise.
43310 * iconv/iconv_prog.c: Remove CHAR16 handling.
43312 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43314 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43316 * configure.in: Remove --with-elf and --enable-bounded options.
43317 Dont set base_machine for ia64. More non-ELF conditions removed.
43318 Remove testing and setting of leading underscore information.
43319 * config.make.in (build-bounded): Set to no.
43320 * config.h.in: Remove NO_UNDERSCORES entry.
43321 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43323 * csu/start.c: Remove !NO_UNDERSCORE code.
43324 * locale/localeinfo.h: Likewise.
43325 * sysdeps/generic/machine-gmon.h: Likewise.
43326 * sysdeps/generic/sysdep.h: Likewise.
43327 * sysdeps/i386/sysdep.h: Likewise.
43328 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43329 * sysdeps/mach/sysdep.h: Likewise.
43330 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43332 * sysdeps/sh/sysdep.h: Likewise.
43333 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43334 * sysdeps/unix/i386/sysdep.S: Likewise.
43335 * sysdeps/unix/sparc/start.c: Likewise.
43336 * sysdeps/unix/sparc/sysdep.S: Likewise.
43337 * sysdeps/unix/sparc/sysdep.h: Likewise.
43338 * sysdeps/unix/start.c: Likewise.
43339 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43340 * sysdeps/x86_64/sysdep.h: Likewise.
43342 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43345 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43347 * argp/argp-fmtstream.h: Use const instead __const.
43348 * argp/argp.h: Likewise.
43349 * assert/assert.h: Likewise.
43350 * bits/fenv.h: Likewise.
43351 * bits/sched.h: Likewise.
43352 * bits/sigset.h: Likewise.
43353 * bits/sigthread.h: Likewise.
43354 * catgets/nl_types.h: Likewise.
43355 * conform/data/pthread.h-data: Likewise.
43356 * crypt/crypt-private.h: Likewise.
43357 * crypt/crypt.h: Likewise.
43358 * crypt/crypt_util.c: Likewise.
43359 * ctype/ctype.h: Likewise.
43360 * debug/execinfo.h: Likewise.
43361 * debug/mbsnrtowcs_chk.c: Likewise.
43362 * debug/mbsrtowcs_chk.c: Likewise.
43363 * debug/wcsnrtombs_chk.c: Likewise.
43364 * debug/wcsrtombs_chk.c: Likewise.
43365 * debug/wcstombs_chk.c: Likewise.
43366 * dirent/dirent.h: Likewise.
43367 * dlfcn/dlfcn.h: Likewise.
43368 * elf/neededtest4.c: Likewise.
43369 * grp/grp.h: Likewise.
43370 * gshadow/gshadow.h: Likewise.
43371 * iconv/gconv.h: Likewise.
43372 * iconv/gconv_int.h: Likewise.
43373 * iconv/gconv_simple.c: Likewise.
43374 * iconv/iconv.h: Likewise.
43375 * iconv/loop.c: Likewise.
43376 * iconv/skeleton.c: Likewise.
43377 * include/aio.h: Likewise.
43378 * include/aliases.h: Likewise.
43379 * include/argz.h: Likewise.
43380 * include/arpa/inet.h: Likewise.
43381 * include/assert.h: Likewise.
43382 * include/dirent.h: Likewise.
43383 * include/dlfcn.h: Likewise.
43384 * include/execinfo.h: Likewise.
43385 * include/fcntl.h: Likewise.
43386 * include/fenv.h: Likewise.
43387 * include/glob.h: Likewise.
43388 * include/grp.h: Likewise.
43389 * include/libintl.h: Likewise.
43390 * include/mntent.h: Likewise.
43391 * include/netdb.h: Likewise.
43392 * include/pwd.h: Likewise.
43393 * include/rpc/netdb.h: Likewise.
43394 * include/sched.h: Likewise.
43395 * include/search.h: Likewise.
43396 * include/shadow.h: Likewise.
43397 * include/signal.h: Likewise.
43398 * include/stdio.h: Likewise.
43399 * include/stdlib.h: Likewise.
43400 * include/string.h: Likewise.
43401 * include/sys/socket.h: Likewise.
43402 * include/sys/stat.h: Likewise.
43403 * include/sys/statfs.h: Likewise.
43404 * include/sys/statvfs.h: Likewise.
43405 * include/sys/syslog.h: Likewise.
43406 * include/sys/time.h: Likewise.
43407 * include/sys/uio.h: Likewise.
43408 * include/time.h: Likewise.
43409 * include/unistd.h: Likewise.
43410 * include/utmp.h: Likewise.
43411 * include/wchar.h: Likewise.
43412 * include/wctype.h: Likewise.
43413 * inet/aliases.h: Likewise.
43414 * inet/arpa/inet.h: Likewise.
43415 * inet/netinet/ether.h: Likewise.
43416 * inet/netinet/in.h: Likewise.
43417 * intl/libintl.h: Likewise.
43418 * io/bits/fcntl2.h: Likewise.
43419 * io/fcntl.h: Likewise.
43420 * io/ftw.h: Likewise.
43421 * io/sys/poll.h: Likewise.
43422 * io/sys/stat.h: Likewise.
43423 * io/sys/statfs.h: Likewise.
43424 * io/sys/statvfs.h: Likewise.
43425 * io/utime.h: Likewise.
43426 * libio/bits/stdio.h: Likewise.
43427 * libio/bits/stdio2.h: Likewise.
43428 * libio/libio.h: Likewise.
43429 * libio/libioP.h: Likewise.
43430 * libio/stdio.h: Likewise.
43431 * locale/lc-ctype.c: Likewise.
43432 * locale/locale.h: Likewise.
43433 * login/utmp.h: Likewise.
43434 * malloc/arena.c: Likewise.
43435 * malloc/malloc.c: Likewise.
43436 * malloc/malloc.h: Likewise.
43437 * malloc/mcheck.c: Likewise.
43438 * malloc/mtrace.c: Likewise.
43439 * math/bits/mathcalls.h: Likewise.
43440 * math/fenv.h: Likewise.
43441 * math/math_private.h: Likewise.
43442 * misc/bits/error.h: Likewise.
43443 * misc/bits/syslog.h: Likewise.
43444 * misc/err.h: Likewise.
43445 * misc/error.h: Likewise.
43446 * misc/fstab.h: Likewise.
43447 * misc/mntent.h: Likewise.
43448 * misc/regexp.h: Likewise.
43449 * misc/search.h: Likewise.
43450 * misc/sgtty.h: Likewise.
43451 * misc/sys/mman.h: Likewise.
43452 * misc/sys/syslog.h: Likewise.
43453 * misc/sys/uio.h: Likewise.
43454 * misc/sys/xattr.h: Likewise.
43455 * misc/ttyent.h: Likewise.
43456 * nis/rpcsvc/ypclnt.h: Likewise.
43457 * nss/nss.h: Likewise.
43458 * posix/bits/unistd.h: Likewise.
43459 * posix/fnmatch.h: Likewise.
43460 * posix/glob.h: Likewise.
43461 * posix/sched.h: Likewise.
43462 * posix/spawn.h: Likewise.
43463 * posix/sys/wait.h: Likewise.
43464 * posix/unistd.h: Likewise.
43465 * posix/wordexp.h: Likewise.
43466 * pwd/pwd.h: Likewise.
43467 * resolv/netdb.h: Likewise.
43468 * resource/sys/resource.h: Likewise.
43469 * rt/aio.h: Likewise.
43470 * rt/bits/mqueue2.h: Likewise.
43471 * rt/mqueue.h: Likewise.
43472 * shadow/shadow.h: Likewise.
43473 * signal/signal.h: Likewise.
43474 * socket/send.c: Likewise.
43475 * socket/sendto.c: Likewise.
43476 * socket/sys/socket.h: Likewise.
43477 * stdio-common/printf.h: Likewise.
43478 * stdlib/bits/stdlib.h: Likewise.
43479 * stdlib/fmtmsg.h: Likewise.
43480 * stdlib/monetary.h: Likewise.
43481 * stdlib/stdlib.h: Likewise.
43482 * stdlib/ucontext.h: Likewise.
43483 * streams/stropts.h: Likewise.
43484 * string/argz.h: Likewise.
43485 * string/bits/string2.h: Likewise.
43486 * string/string.h: Likewise.
43487 * string/strings.h: Likewise.
43488 * sunrpc/rpc/auth.h: Likewise.
43489 * sunrpc/rpc/auth_des.h: Likewise.
43490 * sunrpc/rpc/clnt.h: Likewise.
43491 * sunrpc/rpc/netdb.h: Likewise.
43492 * sunrpc/rpc/pmap_clnt.h: Likewise.
43493 * sunrpc/rpc/xdr.h: Likewise.
43494 * sysdeps/generic/inttypes.h: Likewise.
43495 * sysdeps/generic/net/if.h: Likewise.
43496 * sysdeps/generic/sys/swap.h: Likewise.
43497 * sysdeps/gnu/net/if.h: Likewise.
43498 * sysdeps/gnu/utmpx.h: Likewise.
43499 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43500 * sysdeps/i386/i486/bits/string.h: Likewise.
43501 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43502 * sysdeps/s390/bits/string.h: Likewise.
43503 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43504 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43505 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43506 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43507 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43508 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43509 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43510 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43511 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43512 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43513 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43514 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43515 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43516 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43517 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43518 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43519 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43521 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43524 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43525 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43526 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43527 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43528 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43529 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43530 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43531 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43532 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43533 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43534 * sysvipc/sys/ipc.h: Likewise.
43535 * sysvipc/sys/msg.h: Likewise.
43536 * sysvipc/sys/sem.h: Likewise.
43537 * sysvipc/sys/shm.h: Likewise.
43538 * termios/termios.h: Likewise.
43539 * time/sys/time.h: Likewise.
43540 * time/time.h: Likewise.
43541 * wcsmbs/bits/wchar2.h: Likewise.
43542 * wcsmbs/uchar.h: Likewise.
43543 * wcsmbs/wchar.h: Likewise.
43544 * wctype/wctype.h: Likewise.
43547 * Makeconfig: Remove all but ELF support including AIX support.
43548 * Makerules: Likewise.
43549 * config.h.in: Likewise.
43550 * config.make.in: Likewise.
43551 * configure: Likewise.
43552 * configure.in: Likewise.
43553 * csu/Makefile: Likewise.
43554 * csu/version.c: Likewise.
43555 * debug/Makefile: Likewise.
43556 * dlfcn/Makefile: Likewise.
43557 * elf/Makefile: Likewise.
43558 * extra-lib.mk: Likewise.
43559 * iconv/Makefile: Likewise.
43560 * include/libc-symbols.h: Likewise.
43561 * include/shlib-compat.h: Likewise.
43562 * resolv/Makefile: Likewise.
43563 * resolv/res_libc.c: Likewise.
43564 * rt/Makefile: Likewise.
43565 * sysdeps/i386/asm-syntax.h: Likewise.
43566 * sysdeps/i386/sysdep.h: Likewise.
43567 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43568 * sysdeps/mach/sysdep.h: Likewise.
43569 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43570 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43571 * sysdeps/s390/asm-syntax.h: Likewise.
43572 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43574 * sysdeps/sh/sysdep.h: Likewise.
43575 * sysdeps/unix/sparc/sysdep.h: Likewise.
43576 * sysdeps/wordsize-32/divdi3.c: Likewise.
43577 * sysdeps/x86_64/sysdep.h: Likewise.
43579 * argp/Versions: Remove _argp_unlock_xxx.
43582 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43583 * abilist/libBrokenLocale.abilist: Likewise.
43584 * abilist/libanl.abilist: Likewise.
43585 * abilist/libc.abilist: Likewise.
43586 * abilist/libcrypt.abilist: Likewise.
43587 * abilist/libdl.abilist: Likewise.
43588 * abilist/libm.abilist: Likewise.
43589 * abilist/libnsl.abilist: Likewise.
43590 * abilist/libpthread.abilist: Likewise.
43591 * abilist/libresolv.abilist: Likewise.
43592 * abilist/librt.abilist: Likewise.
43593 * abilist/libthread_db.abilist: Likewise.
43594 * abilist/libutil.abilist: Likewise.
43595 * abilist/libnss_db.abilist: New file.
43597 * scripts/abilist.awk: Add support for indirect functions.
43599 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43601 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43603 * shlib-versions: Remove entries for ports architectures.
43605 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43607 * elf/stackguard-macros.h: Remove support for IA-64.
43608 * elf/tst-auditmod1.c: Likewise.
43609 * sysdeps/generic/ldsodefs.h: Likewise.
43611 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43612 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43616 * configure.in: Remove --enable-omitfp support.
43618 * config.make.in: Likewise.
43619 * Makeconfig: Likewise.
43620 * manual/install.texi: Likewise.
43622 In case anyone cares, the IA-64 architecture could move to ports.
43623 * sysdeps/ia64/*: Removed.
43624 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43625 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43628 * configure.in: Remove entries for unsupported architectures.
43631 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43632 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43634 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43635 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43636 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43637 fall back to using wcrtomb.
43638 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43639 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43641 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43642 * wcsmbs/tst-c16c32-1.c: New file.
43644 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43647 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43649 * elf/tst-unique3.cc: Add explicit declaration of gets.
43650 * elf/tst-unique3lib.cc: Likewise.
43651 * elf/tst-unique3lib2.cc: Likewise.
43652 * elf/tst-unique4.cc: Likewise.
43654 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43656 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43659 * assert/assert.h (static_assert): Don't define for C++.
43660 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43661 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43663 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43665 * iconv/loop.c (single loop): Fix assertion in storing of
43668 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43670 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43672 * posix/getconf.c: Update copyright year.
43673 * nss/getent.c: Likewise.
43674 * nss/makedb.c: Likewise.
43675 * iconv/iconvconfig.c: Likewise.
43676 * iconv/iconv_prog.c: Likewise.
43677 * elf/ldconfig.c: Likewise.
43678 * elf/pldd.c: Likewise.
43679 * elf/sotruss.ksh: Likewise.
43680 * catgets/gencat.c: Likewise.
43681 * csu/version.c: Likewise.
43682 * elf/ldd.bash.in: Likewise.
43683 * elf/sprof.c (print_version): Likewise.
43684 * locale/programs/locale.c: Likewise.
43685 * locale/programs/localedef.c: Likewise.
43686 * login/programs/pt_chown.c: Likewise.
43687 * nscd/nscd.c (print_version): Likewise.
43688 * debug/xtrace.sh: Likewise.
43689 * malloc/memusage.sh: Likewise.
43690 * malloc/mtrace.pl: Likewise.
43691 * debug/catchsegv.sh: Likewise.
43693 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43695 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43698 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43701 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43702 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43704 * iconv/gconv_int.h: Likewise.
43705 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43706 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43707 from libc for GLIBC_2.16.
43708 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43709 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43710 * wcsmbs/uchar.h: Really define mbstate_t.
43711 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43712 * wcsmbs/c16rtomb.c: New file.
43713 * wcsmbs/mbrtoc16.c: New file.
43714 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43715 for C/POSIX locale.
43716 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43717 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43719 * wcsmbs/wchar.h: Add missing __restrict.
43721 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43724 * time/Makefile (routines): Add timespec_get.
43725 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43726 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43727 timespec for ISO C11.
43728 * time/timespec_get.c: New file.
43729 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43730 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43733 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43734 * stdlib/stdlib.h: Declare aligned_alloc.
43735 * Versions.def: Add GLIBC_2.16 for libc.
43736 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43739 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43742 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43746 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43749 * assert/assert.h (static_assert): Define.
43751 * version.h: Update for 2.16 development version.
43754 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43757 * version.h (RELEASE): Bump for 2.15 release.
43758 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43760 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43761 Patch by Marek Polacek <mpolacek@redhat.com>.
43763 * bits/byteswap.h: Protect long long constants with __extension__.
43764 * sysdeps/i386/bits/byteswap.h: Likewise.
43765 * sysdeps/ia64/bits/byteswap.h: Likewise.
43766 * sysdeps/s390/bits/byteswap.h: Likewise.
43767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43769 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43773 destination buffer.
43774 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43776 2011-12-23 Marek Polacek <polacek@redhat.com>
43778 * elf/dl-addr.c (determine_info): Add inline keyword.
43779 * elf/tst-auditmod4b.c (check_avx): Likewise.
43780 * elf/tst-auditmod6b.c (check_avx): Likewise.
43781 * elf/tst-auditmod6c.c (check_avx): Likewise.
43782 * elf/tst-auditmod7b.c (check_avx): Likewise.
43784 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43786 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43789 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43792 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43793 processing for last bytes.
43795 2011-08-06 Bruno Haible <bruno@clisp.org>
43798 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43799 U+0385, not to U+1FEE.
43802 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43803 entry for U+00A5 U+0301.
43805 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43808 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43809 buffer for the output is too small.
43811 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43815 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43816 SSE flags if possible.
43818 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43821 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43822 processing for last bytes.
43824 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43826 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43827 (syscall-list-default-options, syscall-list-default-condition)
43828 (syscall-list-includes): Define.
43829 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43830 list of ABIs and options and #if conditions for each ABI. Do not
43831 handle common syscalls between ABIs specially.
43832 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43834 (syscall-list-variants, syscall-list-32bit-options)
43835 (syscall-list-32bit-condition, syscall-list-64bit-options)
43836 (syscall-list-64bit-condition): Define.
43837 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43838 (syscall-list-variants, syscall-list-32bit-options)
43839 (syscall-list-32bit-condition, syscall-list-64bit-options)
43840 (syscall-list-64bit-condition): Define.
43841 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43843 (syscall-list-variants, syscall-list-32bit-options)
43844 (syscall-list-32bit-condition, syscall-list-64bit-options)
43845 (syscall-list-64bit-condition): Define.
43846 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43848 (syscall-list-variants, syscall-list-32bit-options)
43849 (syscall-list-32bit-condition, syscall-list-64bit-options)
43850 (syscall-list-64bit-condition): Define.
43852 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43854 * locale/iso-639.def: Add brx entry.
43857 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43858 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43860 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43861 __feraiseexcept_renamed.
43863 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43866 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43867 EPOLLET with unsigned values.
43868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43871 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43872 to large cancellation.
43873 * math/s_cacoshf.c: Likewise.
43874 * math/s_cacoshl.c: Likewise.
43876 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43880 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43881 * math/s_cacoshf.c: Likewise.
43882 * math/s_cacoshl.c: Likewise.
43884 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43887 * iconv/gconv.h: Define __GCONV_SWAP.
43888 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43889 * iconvdata/utf-16.c: Likewise.
43890 * iconvdata/utf-32.c: Likewise.
43892 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43896 numerator after shifting it by one limb.
43898 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43900 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43901 under [__USE_EXTERN_INLINES].
43903 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43906 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43908 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43910 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43911 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43913 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43914 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43915 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43916 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43917 for strncasecmp/strncasecmp_l compilation.
43918 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43919 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43921 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43924 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43927 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43930 * time/tzfile.c (__tzfile_read): Check values from file header.
43932 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43934 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43935 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43936 * powerpc/powerpc32/dl-start.S: Likewise.
43937 * powerpc/powerpc32/elf/start.S: Likewise.
43938 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43939 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43940 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43941 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43942 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43943 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43944 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43945 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43946 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43947 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43948 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43949 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43950 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43951 * powerpc/powerpc32/memset.S: Likewise.
43952 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43953 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43954 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43955 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43956 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43957 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43958 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43959 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43960 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43961 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43962 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43963 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43964 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43966 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43968 * math/libm-test.inc: Added more nearbyint tests.
43969 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43971 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43974 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43976 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43979 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43981 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43982 Add wcscpy-ssse3 wcscpy-c.
43983 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43984 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43985 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43986 * sysdeps/x86_64/wcschr.S: New file.
43987 * sysdeps/x86_64/wcsrchr.S: New file.
43988 * string/test-strcmp.c: Remove checking of wcscmp function for
43990 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43991 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43992 wcsrchr-sse2 wcsrchr-c.
43993 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43994 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43995 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43996 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43997 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43998 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43999 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44000 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44001 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44002 * wcsmbc/wcschr.c (WCSCHR): New macro.
44004 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44006 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44007 * wcsmbs/test-wcsrchr.c: New file.
44008 * string/test-strrchr.c: Add wcsrchr support.
44010 * wcsmbs/test-wcscpy.c: New file.
44011 * string/test-strcpy.c: Add wcscpy support.
44014 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44016 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44019 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44022 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44024 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44026 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44027 Minor optimizations.
44029 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44030 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44031 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44033 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44035 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44036 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44037 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44038 for gcc to avoid warnings.
44039 * inet/Makefile (tests): Add tst-checks.
44040 * inet/tst-checks.c: New file.
44042 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44045 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44048 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44049 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44051 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44053 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44055 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44058 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44060 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44062 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44063 conditional on GCC version.
44064 (__arch_compare_and_exchange_val_8_acq)
44065 (__arch_compare_and_exchange_val_16_acq)
44066 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44067 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44068 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44070 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44072 * sysdeps/sh/backtrace.c: New file.
44074 2011-12-02 Andreas Schwab <schwab@redhat.com>
44076 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44079 2011-12-01 Andreas Schwab <schwab@redhat.com>
44081 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44082 falling back to utime.
44084 2011-11-30 Andreas Schwab <schwab@redhat.com>
44086 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44087 expectations for float.
44089 2011-11-29 Andreas Schwab <schwab@redhat.com>
44091 * locale/weight.h (findidx): Add parameter len.
44092 * locale/weightwc.h (findidx): Likewise.
44093 * posix/fnmatch_loop.c (FCT): Adjust caller.
44094 * posix/regcomp.c (build_equiv_class): Likewise.
44095 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44096 * posix/regexec.c (check_node_accept_bytes): Likewise.
44097 * string/strcoll_l.c (STRCOLL): Likewise.
44098 * string/strxfrm_l.c (STRXFRM): Likewise.
44100 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44102 * Makefile.in: Remove CVSOPT handling.
44103 * configure.in: Remove use of AC_REVISION.
44104 * iconvdata/Makefile (distribute): No need to filter out CVS.
44105 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44108 2011-11-16 Andreas Schwab <schwab@redhat.com>
44110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44111 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44112 [USE_AS_STRNCASECMP_L]: Likewise.
44113 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44114 NO_TLS_DIRECT_SEG_REFS.
44115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44116 Fix argument offsets for non-PIC.
44117 [USE_AS_STRNCASECMP_L]: Likewise.
44118 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44119 NO_TLS_DIRECT_SEG_REFS.
44121 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44123 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44125 * locale/loadlocale.c (_nl_load_locale): Likewise.
44127 2011-11-15 Andreas Schwab <schwab@redhat.com>
44129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44130 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44131 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44132 (SYSCALL_GETTIME): Set errno on error.
44134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44135 count references to noai6ai_cached.
44137 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44139 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44141 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44142 FD_CLOEXEC for /proc/self/maps.
44144 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44145 FD_CLOEXEC for /proc/meminfo.
44147 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44150 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44151 FD_CLOEXEC for given file.
44153 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44155 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44156 FD_CLOEXEC for /etc/hosts.
44157 (_gethtent): Likewise.
44159 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44161 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44162 cancellation and set FD_CLOEXEC for /etc/netgroup.
44164 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44165 reading /etc/publickey.
44167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44168 allow cancellation when reading /etc/group.
44170 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44172 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44174 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44175 when using data file.
44177 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44179 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44180 (write_nis_obj): Use "c" and "e" in fopen.
44182 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44184 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44186 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44188 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44190 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44193 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44195 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44197 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44199 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44200 file parsing and set FD_CLOEXEC.
44202 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44204 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44206 2011-11-14 Andreas Schwab <schwab@redhat.com>
44208 * malloc/arena.c (arena_get2): Don't call reused_arena when
44209 _int_new_arena failed.
44211 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44213 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44214 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44219 to compile strcasecmp and strncasecmp.
44220 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44221 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44225 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44227 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44228 locale-defines.sym to gen-as-const-headers.
44229 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44230 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44232 to compile strcasecmp and strncasecmp.
44233 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44234 strcasecmp_l and strncasecmp_l.
44235 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44236 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44237 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44238 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44239 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44240 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44241 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44242 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44243 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44244 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44245 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44247 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44249 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44250 result of SYSDEP_GETTIME_CPU to retval.
44251 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44252 parameter list to macro. Remove trailing semicolon. Adjust users.
44254 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44257 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44259 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44261 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44262 from unused variable.
44264 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44266 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44269 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44272 * sunrpc/rpc_prot.c (rejected): Fix case value.
44274 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44275 unsigned long long int to avoid warnings in shift.
44277 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44279 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44282 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44283 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44284 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44286 * nis/nis_table.c (nis_list): Use variable of correct type for
44287 result of __follow_path call.
44289 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44291 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44292 of math functions ceil, trunc, floor, round, and sqrt, when
44293 avaliable on the platform.
44294 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44296 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44297 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44298 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44300 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44302 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44303 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44305 2011-11-11 Roland McGrath <roland@hack.frob.com>
44307 * include/unistd.h: Fix __readlink return type.
44308 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44310 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44312 * stdlib/ucontext.h: Undo last change for makecontext.
44314 2011-11-11 Andreas Schwab <schwab@redhat.com>
44316 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44318 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44319 * setjmp/setjmp.h: Mark functions as non-leaf.
44320 * setjmp/bits/setjmp2.h: Likewise.
44321 * stdlib/ucontext.h: Likewise.
44323 2011-11-10 Andreas Schwab <schwab@redhat.com>
44325 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44326 (reused_arena): Don't check arena limit.
44327 (arena_get2): Atomically check arena limit.
44329 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44331 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44332 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44337 2011-11-07 Andreas Schwab <schwab@redhat.com>
44339 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44340 handler when locking.
44342 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44343 Fix size of allocated buffer.
44345 2011-11-04 Andreas Schwab <schwab@redhat.com>
44348 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44349 declarations for long double functions.
44350 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44352 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44354 2011-11-03 Andreas Schwab <schwab@redhat.com>
44356 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44359 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44362 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44364 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44366 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44368 * include/alloca.h (stackinfo_alloca_round): Define.
44369 (extend_alloca): Use it.
44370 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44371 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44374 * scripts/check-local-headers.sh: Ignore libaudit.h.
44376 * nscd/Makefile (extra-objs): Make recursively expanded.
44378 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44380 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44383 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44384 * posix/tst-rfc3484-2.c: Likewise.
44385 * posix/tst-rfc3484-3.c: Likewise.
44387 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44389 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44391 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44392 process_vm_writev from libc using GLIBC_2.15 version.
44394 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44396 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44398 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44401 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44404 * nss/getent.c (initgroups_keys): Show error message in case no group
44407 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44408 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44409 __bump_nl_timestamp.
44410 * nscd/connections (nscd_init): When host database is served open
44411 netlink socket and request notification about configuration changes.
44412 (main_loop_poll): Track netlink file descriptor and bump timestamp
44413 in case data becomes available.
44414 (main_loop_epoll): Likewise.
44415 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44416 (database_pers_head): Add extra_data fileds.
44417 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44418 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44419 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44422 in6ai data, call __free_in6ai.
44423 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44424 Add -DHAVE_NETLINK.
44425 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44426 interface information. Reuse previous data if netlink timestamp
44428 (__bump_nl_timestamp): New function.
44429 (__free_in6ai): New function.
44431 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44433 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44434 close_not_cancel_no_status here.
44435 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44437 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44440 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44443 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44444 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44445 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44447 2011-07-03 Andreas Jaeger <aj@suse.de>
44450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44451 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44452 * math/libm-test.inc (sin_test): Add test case.
44454 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44457 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44458 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44460 * elf/chroot_canon.c (chroot_canon): Cleanups.
44462 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44465 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44466 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44468 * string/test-strchr.c: Make usable for strchrnul testing.
44469 * string/test-strchrnul.c: New file.
44470 * string/Makefile (strop-tests): Add strchrnul.
44472 * po/it.po: Update from translation team.
44473 * po/es.po: Likewise.
44475 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44477 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44478 the three constants needed as parameters. Drop the others.
44479 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44480 __m128i_strloadu_tolower.
44481 Create and initialize variable zero and use it in all the places
44482 where _mm_setzero_si128 was used.
44484 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44485 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44486 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44487 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44489 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44490 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44491 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44492 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44493 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44494 __mpranred, __mptan.
44495 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44496 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44497 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44498 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44499 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44500 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44501 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44502 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44503 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44505 2011-10-28 Andreas Schwab <schwab@redhat.com>
44507 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44508 redefine if SHARED.
44509 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44512 wide char related routines to wcsmbs subdir.
44514 2011-10-27 Andreas Schwab <schwab@redhat.com>
44517 * misc/sys/cdefs.h (__THROWNL): Define.
44518 * posix/unistd.h: Use __THREADNL instead of __THREAD
44519 for memory synchronization functions.
44521 2011-10-26 Roland McGrath <roland@hack.frob.com>
44524 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44526 * manual/stdio.texi (Obstack Streams): Node removed.
44528 2011-10-26 Andreas Schwab <schwab@redhat.com>
44530 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44532 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44534 * math/math_private.h (math_force_eval): Allow non-addressable
44536 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44538 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44540 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44541 file is not needed.
44543 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44545 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44546 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44547 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44548 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44549 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44550 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44552 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44553 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44554 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44555 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44556 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44557 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44558 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44559 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44560 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44561 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44562 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44563 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44564 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44565 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44566 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44567 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44568 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44569 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44570 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44572 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44573 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44575 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44576 place. Use VEX encoding when compiling for AVX.
44578 2011-10-25 Andreas Schwab <schwab@redhat.com>
44580 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44581 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44583 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44585 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44587 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44588 useless if() expression.
44589 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44594 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44596 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44599 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44601 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44602 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44603 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44605 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44607 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44609 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44611 2011-10-25 Andreas Schwab <schwab@redhat.com>
44613 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44617 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44619 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44620 .text section. Avoid duplicate constants.
44621 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44630 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44631 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44632 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44633 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44634 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44635 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44636 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44637 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44638 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44645 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44646 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44647 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44648 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44649 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44650 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44651 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44652 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44653 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44654 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44655 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44656 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44657 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44659 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44660 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44661 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44663 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44664 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44665 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44667 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44669 * sysdeps/x86_64/dla.h: Move to ...
44670 * sysdeps/x86_64/fpu/dla.h: ...here.
44671 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44672 situations. Use __builtin_fma only for gcc 4.6 and up.
44674 * config.make.in: Add have-mfma4 entry.
44675 * configure.in: Substitute libc_cv_cc_fma4.
44676 * math/Makefile (dbl-only-routines): Add sincostab.
44677 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44678 Use __sincostab not sincos.
44679 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44686 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44687 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44688 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44689 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44691 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44692 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44694 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44695 define aliases when function name is a macro.
44696 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44697 sysdeps/ieee754/dbl-64/sincos.tbl.
44698 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44699 fma4-enabled routines.
44700 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44701 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44702 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44703 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44704 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44705 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44706 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44707 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44709 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44710 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44712 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44713 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44715 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44716 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44717 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44718 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44720 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44721 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44722 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44723 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44725 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44727 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44728 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44729 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44731 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44742 2011-10-24 Andreas Schwab <schwab@redhat.com>
44744 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44746 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44750 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44752 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44754 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44755 Remove unused variable magic_bits.
44756 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44758 * string/strnlen.c: Define and use STRNLEN macro.
44759 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44760 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44762 * wcsmbs/wcslen.c: Define and use WCSLEN.
44763 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44764 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44765 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44766 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44767 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44768 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44769 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44771 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44774 strnlen-sse2-no-bsf.
44775 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44777 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44778 Add strnlen support.
44779 (USE_AS_STRNLEN): New macro.
44780 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44781 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44782 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44783 * sysdeps/x86_64/wcslen.S: New file.
44785 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44787 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44788 XMM-moves are used for copying on small sizes.
44790 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44792 * wcsmbs/Makefile (strop-tests): Add wcschr.
44793 * wcsmbs/test-wcschr.c: New file.
44794 * string/test-strchr.c: Update.
44795 Add wcschr support.
44798 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44800 * wcsmbs/Makefile (strop-tests): Add wcslen.
44801 * wcsmbs/test-wcslen.c: New file.
44802 * string/test-strlen.c: Update.
44803 Add wcslen support.
44806 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44808 * po/it.po: Update from translation team.
44810 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44812 * sysdeps/x86_64/wcscmp.S: Update.
44813 Fix wrong comparison semantics.
44814 wcscmp shall use signed comparison not unsigned.
44815 Don't use substraction to avoid overflow bug.
44816 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44817 * wcsmbc/wcscmp.c: Likewise.
44818 * string/test-strcmp.c: Likewise.
44819 Add new tests to check cases with negative values.
44821 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44823 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44824 * sysdeps/x86_64/dla.h: ...here. New file.
44825 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44835 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44838 __ynl_finite aliases.
44840 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44844 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44846 [DLA_FMA] (EMULV): Use DLA_FMA.
44847 [DLA_FMA] (MUL12): Use EMULV.
44848 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44849 that are not needed.
44850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44858 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44860 * math/s_nan.c: Undef __nan.
44861 * math/s_nanf.c: Undef __nanf.
44862 * math/s_nanl.c: Undef __nanl.
44863 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44866 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44868 * math/s_catan.c: Add branch predictions.
44869 * math/s_catanf.c: Likewise.
44870 * math/s_catanh.c: Likewise.
44871 * math/s_catanhf.c: Likewise.
44872 * math/s_catanhl.c: Likewise.
44873 * math/s_catanl.c: Likewise.
44874 * math/s_cexp.c: Likewise.
44875 * math/s_cexpf.c: Likewise.
44876 * math/s_cexpl.c: Likewise.
44877 * math/s_clog.c: Likewise.
44878 * math/s_clog10.c: Likewise.
44879 * math/s_clog10f.c: Likewise.
44880 * math/s_clog10l.c: Likewise.
44881 * math/s_clogf.c: Likewise.
44882 * math/s_clogl.c: Likewise.
44883 * math/s_csqrt.c: Likewise.
44884 * math/s_csqrtf.c: Likewise.
44885 * math/s_csqrtl.c: Likewise.
44886 * math/s_ctanf.c: Likewise.
44887 * math/s_ctanh.c: Likewise.
44888 * math/s_ctanhf.c: Likewise.
44889 * math/s_ctanhl.c: Likewise.
44890 * math/s_ctanl.c: Likewise.
44892 * math/math_private.h: Define __nan, __nanf, __nanl.
44893 * math/s_cacosh.c: Include <math_private.h>.
44894 * math/s_cacoshl.c: Likewise.
44895 * math/s_casinh.c: Likewise.
44896 * math/s_casinhf.c: Likewise.
44897 * math/s_casinhl.c: Likewise.
44898 * math/s_ccos.c: Rely entire on ccosh.
44899 * math/s_ccosf.c: Rely entire on ccoshf.
44900 * math/s_ccosl.c: Rely entirely on ccoshl.
44901 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44902 Remove tests for FE_INVALID.
44903 * math/s_ccoshf.c: Likewise.
44904 * math/s_ccoshl.c: Likewise.
44905 * math/s_csin.c: Likewise.
44906 * math/s_csinf.c: Likewise.
44907 * math/s_csinh.c Likewise.
44908 * math/s_csinhf.c: Likewise.
44909 * math/s_csinhl.c: Likewise.
44910 * math/s_csinl.c: Likewise.
44911 * math/s_ctan.c: Likewise.
44912 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44913 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44914 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44916 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44919 compilation problems.
44921 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44924 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44926 * sysdeps/i386/configure.in: Test for -mfma4 option.
44927 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44928 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44929 COMMON_CPUID_INDEX_80000001.
44930 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44931 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44932 use it if FMA3 is not supported.
44933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44935 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44936 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44938 2011-10-20 Andreas Schwab <schwab@redhat.com>
44941 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44942 it would create a cycle with a link time dependency.
44944 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44946 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44948 * string/Makefile (strop-tests): Add rawmemchr.
44949 * string/test-rawmemchr.c: New file.
44951 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44952 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44953 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44954 when compiling str{,n}casecmp and when AVX is available. Hook up
44955 new optimized code in initializers.
44957 2011-10-19 Andreas Schwab <schwab@redhat.com>
44959 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44960 __feraiseexcept instead of feraiseexcept.
44962 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44964 * math/math_private.h: Define defaults for libc_fetestexcept and
44966 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44967 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44968 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44969 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44970 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44971 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44972 libc_fetestexcept and libc_feupdateenv.
44974 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44975 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44976 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44977 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44978 libc_feholdexcept_setround.
44980 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44981 Add s_nearbyint-c and s_nearbyintf-c.
44982 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44983 nearbyintf inlines.
44984 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44986 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44989 * math/math_private.h: Define defaults for libc_fegetround,
44990 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44991 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44992 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44993 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44994 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44995 standard functions.
44996 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44997 Remove comments and hacks for old compiler versions.
44998 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44999 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45000 libc_feholdexceptl.
45002 2011-10-18 Andreas Schwab <schwab@redhat.com>
45004 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45005 (__feraiseexcept_renamed): Add __NTH.
45006 (feraiseexcept): Add __NTH. Rename local variables to fix
45007 namespace violations.
45009 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45011 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45013 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45015 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45016 recently added interfaces.
45017 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45019 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45020 about macro parameter expansion.
45022 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45023 __NO_MATH_INLINES is defined. Cleanups.
45025 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45026 and __floorf is target has SSE4.1.
45027 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45028 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45029 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45030 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45032 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45034 (floorf): Likewise.
45036 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45038 2011-10-17 Andreas Schwab <schwab@redhat.com>
45040 * misc/sys/cdefs.h: Fix last change.
45042 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45045 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45047 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45049 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45052 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45054 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45056 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45057 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45058 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45059 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45060 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45061 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45062 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45063 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45064 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45065 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45066 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45067 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45068 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45069 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45070 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45073 ceil, ceilf, floor, floorf.
45075 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45076 Perform IRELATIVE relocations last.
45078 * elf/do-rel.h: Add another parameter nrelative, replacing the
45079 local variable with the same name. Change name of the function
45080 to end in Rel or Rela (uppercase).
45081 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45082 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45083 elf_dynamic_do_##reloc function.
45085 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45087 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45088 is sufficient, at least on modern CPUs.
45090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45092 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45093 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45095 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45097 * math/bits/math-finite.h: Add entries for exp.
45098 * math/e_expl.c: Add __*_finite alias.
45099 * sysdeps/i386/fpu/e_exp.S: Likewise.
45100 * sysdeps/i386/fpu/e_expf.S: Likewise.
45101 * sysdeps/i386/fpu/e_expl.c: Likewise.
45102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45103 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45106 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45107 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45108 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45110 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45111 is sufficient, at least on modern CPUs.
45113 * ctype/ctype-info.c (__ctype_init): Define.
45114 * include/ctype.h (__ctype_init): Declare.
45115 (__ctype_b_loc): The variable is always initialized.
45116 (__ctype_toupper_loc): Likewise.
45117 (__ctype_tolower_loc): Likewise.
45118 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45119 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45121 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45123 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45125 * configure.in: Also look in $cxxmachine/include for C++ system
45128 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45130 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45131 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45132 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45133 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45135 (USE_AS_WMEMCMP): New macro.
45137 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45138 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45139 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45140 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45142 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45143 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45144 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45145 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45146 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45147 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45148 (USE_AS_WMEMCMP): New macro.
45149 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45150 * sysdeps/string/test-memcmp.c: Update.
45151 Fix simple_wmemcmp.
45153 * wcsmbs/wmemcmp.c: Update.
45154 (WMEMCMP): New macro.
45157 2011-10-12 Andreas Jaeger <aj@suse.de>
45160 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45162 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45164 * libio/iofwide.c (do_length): Avoid warning.
45166 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45168 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45170 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45172 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45173 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45174 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45175 * sysdeps/i386/i686/fpu/e_log.S: New file.
45176 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45177 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45179 * ctype/ctype.h: Add support for inlined isXXX functions when
45180 compiling C++ code.
45182 2011-10-14 Andreas Schwab <schwab@redhat.com>
45184 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45186 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45188 2011-10-13 Roland McGrath <roland@hack.frob.com>
45191 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45193 2011-10-13 Andreas Schwab <schwab@redhat.com>
45195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45196 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45199 * sysdeps/x86_64/memrchr.S: Check for zero size.
45201 * string/stratcliff.c: Add memrchr tests.
45203 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45206 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45207 rawmemchr-sse2 rawmemchr-sse2-bsf.
45208 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45209 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45210 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45211 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45212 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45213 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45214 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45215 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45216 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45218 * string/memrchr.c (MEMRCHR): New macro.
45220 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45222 Add integration with gcc's -ffinite-math-only and optimize wrapper
45224 * Versions.def: Define GLIBC_2.15 version for libm.
45225 * math/Makefile (headers): Add bits/math-finite.h.
45226 * math/bits/math-finite.h: New file.
45227 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45228 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45229 * math/e_acoshl.c: Add __*_finite alias.
45230 * math/e_acosl.c: Likewise.
45231 * math/e_asinl.c: Likewise.
45232 * math/e_atan2l.c: Likewise.
45233 * math/e_atanhl.c: Likewise.
45234 * math/e_coshl.c: Likewise.
45235 * math/e_exp10.c: Likewise.
45236 * math/e_exp10f.c: Likewise.
45237 * math/e_exp10l.c: Likewise.
45238 * math/e_exp2l.c: Likewise.
45239 * math/e_fmodl.c: Likewise.
45240 * math/e_gammal_r.c: Likewise.
45241 * math/e_hypotl.c: Likewise.
45242 * math/e_j0l.c: Likewise.
45243 * math/e_j1l.c: Likewise.
45244 * math/e_jnl.c: Likewise.
45245 * math/e_lgammal_r.c: Likewise.
45246 * math/e_log10l.c: Likewise.
45247 * math/e_log2l.c: Likewise.
45248 * math/e_logl.c: Likewise.
45249 * math/e_powl.c: Likewise.
45250 * math/e_sinhl.c: Likewise.
45251 * math/e_sqrtl.c: Likewise.
45252 * math/e_scalb.c: Completely rewritten and optimized.
45253 * math/e_scalbf.c: Likewise.
45254 * math/e_scalbl.c: Likewise.
45255 * math/w_acos.c: Likewise.
45256 * math/w_acosf.c: Likewise.
45257 * math/w_acosl.c: Likewise.
45258 * math/w_acosh.c: Likewise.
45259 * math/w_acoshf.c: Likewise.
45260 * math/w_acoshl.c: Likewise.
45261 * math/w_asin.c: Likewise.
45262 * math/w_asinf.c: Likewise.
45263 * math/w_asinl.c: Likewise.
45264 * math/w_atan2.c: Likewise.
45265 * math/w_atan2f.c: Likewise.
45266 * math/w_atan2l.c: Likewise.
45267 * math/w_atanh.c: Likewise.
45268 * math/w_atanhf.c: Likewise.
45269 * math/w_atanhl.c: Likewise.
45270 * math/w_exp10.c: Likewise.
45271 * math/w_exp10f.c: Likewise.
45272 * math/w_exp10l.c: Likewise.
45273 * math/w_fmod.c: Likewise.
45274 * math/w_fmodf.c: Likewise.
45275 * math/w_fmodl.c: Likewise.
45276 * math/w_j0.c: Likewise.
45277 * math/w_j0f.c: Likewise.
45278 * math/w_j0l.c: Likewise.
45279 * math/w_j1.c: Likewise.
45280 * math/w_j1f.c: Likewise.
45281 * math/w_j1l.c: Likewise.
45282 * math/w_jn.c: Likewise.
45283 * math/w_jnf.c: Likewise.
45284 * math/w_log.c: Likewise.
45285 * math/w_logf.c: Likewise.
45286 * math/w_logl.c: Likewise.
45287 * math/w_log10.c: Likewise.
45288 * math/w_log10f.c: Likewise.
45289 * math/w_log10l.c: Likewise.
45290 * math/w_log2.c: Likewise.
45291 * math/w_log2f.c: Likewise.
45292 * math/w_log2l.c: Likewise.
45293 * math/w_pow.c: Likewise.
45294 * math/w_powf.c: Likewise.
45295 * math/w_powl.c: Likewise.
45296 * math/w_remainder.c: Likewise.
45297 * math/w_remainderf.c: Likewise.
45298 * math/w_remainderl.c: Likewise.
45299 * math/w_scalb.c: Likewise.
45300 * math/w_scalbf.c: Likewise.
45301 * math/w_scalbl.c: Likewise.
45302 * math/w_sqrt.c: Likewise.
45303 * math/w_sqrtf.c: Likewise.
45304 * math/w_sqrtl.c: Likewise.
45305 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45306 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45308 * math/math_private.h: Declare __kernel_standard_f.
45309 * math/w_cosh.c: Remove cruft and optimize a bit.
45310 * math/w_coshf.c: Likewise.
45311 * math/w_coshl.c: Likewise.
45312 * math/w_exp2.c: Likewise.
45313 * math/w_exp2f.c: Likewise.
45314 * math/w_exp2l.c: Likewise.
45315 * math/w_hypot.c: Likewise.
45316 * math/w_hypotf.c: Likewise.
45317 * math/w_hypotl.c: Likewise.
45318 * math/w_lgamma.c: Likewise.
45319 * math/w_lgamma_r.c: Likewise.
45320 * math/w_lgammaf.c: Likewise.
45321 * math/w_lgammaf_r.c: Likewise.
45322 * math/w_lgammal.c: Likewise.
45323 * math/w_lgammal_r.c: Likewise.
45324 * math/w_sinh.c: Likewise.
45325 * math/w_sinhf.c: Likewise.
45326 * math/w_sinhl.c: Likewise.
45327 * math/w_tgamma.c: Likewise.
45328 * math/w_tgammaf.c: Likewise.
45329 * math/w_tgammal.c: Likewise.
45330 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45332 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45333 Minor optimizations. Pretty printing. Remove cruft.
45334 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45335 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45337 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45338 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45339 * sysdeps/i386/fpu/e_asin.S: Likewise.
45340 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45341 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45342 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45343 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45344 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45345 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45346 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45347 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45348 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45349 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45350 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45351 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45352 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45353 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45354 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45355 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45356 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45357 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45358 * sysdeps/i386/fpu/e_log.S: Likewise.
45359 * sysdeps/i386/fpu/e_log10.S: Likewise.
45360 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45361 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45362 * sysdeps/i386/fpu/e_log2.S: Likewise.
45363 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45364 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45365 * sysdeps/i386/fpu/e_logf.S: Likewise.
45366 * sysdeps/i386/fpu/e_logl.S: Likewise.
45367 * sysdeps/i386/fpu/e_pow.S: Likewise.
45368 * sysdeps/i386/fpu/e_powf.S: Likewise.
45369 * sysdeps/i386/fpu/e_powl.S: Likewise.
45370 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45371 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45372 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45373 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45374 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45375 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45376 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45377 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45378 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45379 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45380 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45382 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45384 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45385 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45386 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45388 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45389 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45390 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45392 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45393 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45395 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45396 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45399 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45400 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45403 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45404 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45405 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45406 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45407 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45408 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45409 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45410 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45413 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45414 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45415 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45416 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45417 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45418 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45419 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45420 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45421 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45422 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45424 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45425 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45427 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45428 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45429 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45430 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45431 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45432 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45434 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45435 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45436 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45437 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45438 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45439 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45440 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45456 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45458 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45459 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45460 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45462 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45464 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45470 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45472 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45473 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45474 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45475 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45476 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45477 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45478 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45479 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45480 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45481 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45482 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45483 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45484 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45487 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45488 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45489 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45490 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45491 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45492 (__isnanf): Likewise.
45493 (__isinf_ns): Likewise.
45494 (__isinf_nsf): Likewise.
45495 (__finite): Likewise.
45496 (__finitef): Likewise.
45497 (__ieee754_sqrt): Define as macro.
45498 (__ieee754_sqrtf): Define as macro.
45499 (__ieee754_sqrtl): Define as macro.
45500 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45502 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45503 __FINITE_MATH_ONLY__ consistent.
45504 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45506 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45508 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45511 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45513 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45515 * po/ja.po: Update from translation team.
45517 2011-10-08 Roland McGrath <roland@hack.frob.com>
45519 * locale/programs/locarchive.c (prepare_address_space): New function.
45520 (create_archive, enlarge_archive, open_archive): Use it.
45522 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45523 inside [SHARED], where it is used.
45525 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45527 * nss/getent.c (netgroup_keys): Remove unused variable.
45528 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45530 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45532 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45533 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45536 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45537 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45538 * math/Makefile (libm-calls): Add s_isinf_ns.
45539 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45540 * math/multc3.c: Likewise.
45541 * math/s_casin.c: Likewise.
45542 * math/s_casinf.c: Likewise.
45543 * math/s_casinl.c: Likewise.
45544 * math/s_ccos.c: Likewise.
45545 * math/s_ccosf.c: Likewise.
45546 * math/s_ccosl.c: Likewise.
45547 * math/s_ctan.c: Likewise.
45548 * math/s_ctanf.c: Likewise.
45549 * math/s_ctanh.c: Likewise.
45550 * math/s_ctanhf.c: Likewise.
45551 * math/s_ctanhl.c: Likewise.
45552 * math/s_ctanl.c: Likewise.
45553 * math/w_fmod.c: Likewise.
45554 * math/w_fmodf.c: Likewise.
45555 * math/w_fmodl.c: Likewise.
45556 * math/w_remainder.c: Likewise.
45557 * math/w_remainderf.c: Likewise.
45558 * math/w_remainderl.c: Likewise.
45559 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45560 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45563 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45564 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45565 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45566 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45568 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45570 * stdio-common/printf_fphex.c: Likewise.
45571 * stdio-common/printf_size.c: Likewise.
45573 * math/e_exp10.c: Include math_private.h using <...> not "...".
45574 * math/e_exp10f.c: Likewise.
45575 * math/e_exp10l.c: Likewise.
45576 * math/e_exp2l.c: Likewise.
45577 * math/e_j0l.c: Likewise.
45578 * math/e_j1l.c: Likewise.
45579 * math/e_jnl.c: Likewise.
45580 * math/e_lgammal_r.c: Likewise.
45581 * math/e_rem_pio2l.c: Likewise.
45582 * math/e_scalb.c: Likewise.
45583 * math/e_scalbf.c: Likewise.
45584 * math/e_scalbl.c: Likewise.
45585 * math/k_cosl.c: Likewise.
45586 * math/k_sinl.c: Likewise.
45587 * math/k_tanl.c: Likewise.
45588 * math/s_cacoshf.c: Likewise.
45589 * math/s_catan.c: Likewise.
45590 * math/s_catanf.c: Likewise.
45591 * math/s_catanh.c: Likewise.
45592 * math/s_catanhf.c: Likewise.
45593 * math/s_catanhl.c: Likewise.
45594 * math/s_catanl.c: Likewise.
45595 * math/s_ccosh.c: Likewise.
45596 * math/s_ccoshf.c: Likewise.
45597 * math/s_ccoshl.c: Likewise.
45598 * math/s_cexp.c: Likewise.
45599 * math/s_cexpf.c: Likewise.
45600 * math/s_cexpl.c: Likewise.
45601 * math/s_clog.c: Likewise.
45602 * math/s_clog10.c: Likewise.
45603 * math/s_clog10f.c: Likewise.
45604 * math/s_clog10l.c: Likewise.
45605 * math/s_clogf.c: Likewise.
45606 * math/s_clogl.c: Likewise.
45607 * math/s_csin.c: Likewise.
45608 * math/s_csinf.c: Likewise.
45609 * math/s_csinh.c: Likewise.
45610 * math/s_csinhf.c: Likewise.
45611 * math/s_csinhl.c: Likewise.
45612 * math/s_csinl.c: Likewise.
45613 * math/s_csqrt.c: Likewise.
45614 * math/s_csqrtf.c: Likewise.
45615 * math/s_csqrtl.c: Likewise.
45616 * math/s_ctan.c: Likewise.
45617 * math/s_ctanf.c: Likewise.
45618 * math/s_ctanh.c: Likewise.
45619 * math/s_ctanhf.c: Likewise.
45620 * math/s_ctanhl.c: Likewise.
45621 * math/s_ctanl.c: Likewise.
45622 * math/s_ldexp.c: Likewise.
45623 * math/s_ldexpf.c: Likewise.
45624 * math/s_ldexpl.c: Likewise.
45625 * math/s_significand.c: Likewise.
45626 * math/s_significandf.c: Likewise.
45627 * math/s_significandl.c: Likewise.
45628 * math/w_acos.c: Likewise.
45629 * math/w_acosf.c: Likewise.
45630 * math/w_acosh.c: Likewise.
45631 * math/w_acoshf.c: Likewise.
45632 * math/w_acoshl.c: Likewise.
45633 * math/w_acosl.c: Likewise.
45634 * math/w_asin.c: Likewise.
45635 * math/w_asinf.c: Likewise.
45636 * math/w_asinl.c: Likewise.
45637 * math/w_atan2.c: Likewise.
45638 * math/w_atan2f.c: Likewise.
45639 * math/w_atan2l.c: Likewise.
45640 * math/w_atanh.c: Likewise.
45641 * math/w_atanhf.c: Likewise.
45642 * math/w_atanhl.c: Likewise.
45643 * math/w_cosh.c: Likewise.
45644 * math/w_coshf.c: Likewise.
45645 * math/w_coshl.c: Likewise.
45646 * math/w_dremf.c: Likewise.
45647 * math/w_exp10.c: Likewise.
45648 * math/w_exp10f.c: Likewise.
45649 * math/w_exp10l.c: Likewise.
45650 * math/w_exp2.c: Likewise.
45651 * math/w_exp2f.c: Likewise.
45652 * math/w_fmod.c: Likewise.
45653 * math/w_fmodf.c: Likewise.
45654 * math/w_fmodl.c: Likewise.
45655 * math/w_hypot.c: Likewise.
45656 * math/w_hypotf.c: Likewise.
45657 * math/w_hypotl.c: Likewise.
45658 * math/w_j0.c: Likewise.
45659 * math/w_j0f.c: Likewise.
45660 * math/w_j0l.c: Likewise.
45661 * math/w_j1.c: Likewise.
45662 * math/w_j1f.c: Likewise.
45663 * math/w_j1l.c: Likewise.
45664 * math/w_jn.c: Likewise.
45665 * math/w_jnf.c: Likewise.
45666 * math/w_jnl.c: Likewise.
45667 * math/w_lgamma.c: Likewise.
45668 * math/w_lgamma_r.c: Likewise.
45669 * math/w_lgammaf.c: Likewise.
45670 * math/w_lgammaf_r.c: Likewise.
45671 * math/w_lgammal.c: Likewise.
45672 * math/w_lgammal_r.c: Likewise.
45673 * math/w_log.c: Likewise.
45674 * math/w_log10.c: Likewise.
45675 * math/w_log10f.c: Likewise.
45676 * math/w_log10l.c: Likewise.
45677 * math/w_log2.c: Likewise.
45678 * math/w_log2f.c: Likewise.
45679 * math/w_log2l.c: Likewise.
45680 * math/w_logf.c: Likewise.
45681 * math/w_logl.c: Likewise.
45682 * math/w_pow.c: Likewise.
45683 * math/w_powf.c: Likewise.
45684 * math/w_powl.c: Likewise.
45685 * math/w_remainder.c: Likewise.
45686 * math/w_remainderf.c: Likewise.
45687 * math/w_remainderl.c: Likewise.
45688 * math/w_scalb.c: Likewise.
45689 * math/w_scalbf.c: Likewise.
45690 * math/w_scalbl.c: Likewise.
45691 * math/w_sinh.c: Likewise.
45692 * math/w_sinhf.c: Likewise.
45693 * math/w_sinhl.c: Likewise.
45694 * math/w_sqrt.c: Likewise.
45695 * math/w_sqrtf.c: Likewise.
45696 * math/w_sqrtl.c: Likewise.
45697 * math/w_tgamma.c: Likewise.
45698 * math/w_tgammaf.c: Likewise.
45699 * math/w_tgammal.c: Likewise.
45701 * po/ja.po: Update from translation team.
45703 2011-09-29 Andreas Jaeger <aj@suse.de>
45706 * sunrpc/netname.c (netname2host): Fix logic.
45710 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45712 * math/w_remainder.c (__remainder): Likewise.
45713 * math/w_remainderf.c (__remainderf): Likewise.
45714 * math/libm-test.inc (remainder_test): Add test cases.
45716 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45718 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45721 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45723 * string/test-memcmp.c: Avoid unncessary #defines.
45724 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45726 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45728 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45729 Use new sse2 version for core i3 - i7 as it's faster
45730 than sse42 version.
45731 (bit_Prefer_PMINUB_for_stringop): New.
45732 * sysdeps/x86_64/rawmemchr.S: Update.
45733 Replace with faster SSE2 version.
45734 * sysdeps/x86_64/memrchr.S: New file.
45735 * sysdeps/x86_64/memchr.S: Update.
45736 Replace with faster SSE2 version.
45738 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45740 * elf/dl-load.c (lose): Add cast to avoid warning.
45742 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45744 * po/ca.po: Update from translation team.
45746 * inet/getnetgrent_r.c: Hook up nscd.
45747 * nscd/Makefile (routines): Add nscd_netgroup.
45748 (nscd-modules): Add netgroupcache.
45749 (CFLAGS-netgroupcache.c): Define.
45750 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45751 (cache_search): Add const to second parameter.
45752 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45754 (dbs): Add netgrdb entry.
45755 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45756 (verify_persistent_db): Handle netgrdb.
45757 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45758 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45760 (netgroup_response_header): Define.
45761 (innetgroup_response_header): Define.
45762 (datahead): Add netgroup_response_header and innetgroup_response_header
45764 * nscd/nscd.conf: Add entries for netgroup cache.
45765 * nscd/nscd.h (dbtype): Add netgrdb.
45766 (_PATH_NSCD_NETGROUP_DB): Define.
45767 (netgroup_iov_disabled): Declare.
45768 (xmalloc, xcalloc, xrealloc): Move declarations here.
45769 (cache_search): Adjust prototype.
45770 Add netgroup-related prototypes.
45771 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45772 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45773 (__nscd_innetgr): Declare.
45774 * nscd/selinux.c (perms): Use access_vector_t as element type and
45775 add netgroup-related initializers.
45776 * nscd/netgroupcache.c: New file.
45777 * nscd/nscd_netgroup.c: New file.
45778 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45779 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45780 For four parameters use innetgr.
45781 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45782 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45783 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45784 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45786 * nscd/connections.c (register_traced_file): Don't register file
45787 for disabled databases.
45789 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45791 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45793 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45794 from tree and freeing node.
45796 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45798 * nss/nsswitch.c (__nss_database_lookup): Handle
45799 nss_parse_service_list out of memory case.
45801 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45803 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45804 out of memory case.
45806 2011-10-04 Andreas Schwab <schwab@redhat.com>
45808 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45809 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45811 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45812 elf_machine_rela, elf_machine_lazy_rel.
45813 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45814 (ELF_DYNAMIC_DO_REL): Likewise.
45815 (ELF_DYNAMIC_DO_RELA): Likewise.
45816 (ELF_DYNAMIC_RELOCATE): Likewise.
45817 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45818 to ELF_DYNAMIC_DO_REL.
45819 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45820 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45821 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45823 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45824 skip_ifunc, don't call ifunc function if non-zero.
45825 (elf_machine_rela): Likewise.
45826 (elf_machine_lazy_rel): Likewise.
45827 (elf_machine_lazy_rela): Likewise.
45828 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45829 (elf_machine_lazy_rel): Likewise.
45830 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45832 (elf_machine_lazy_rel): Likewise.
45833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45835 (elf_machine_lazy_rel): Likewise.
45836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45837 (elf_machine_lazy_rel): Likewise.
45838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45839 (elf_machine_lazy_rel): Likewise.
45840 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45841 (elf_machine_lazy_rel): Likewise.
45842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45843 (elf_machine_lazy_rel): Likewise.
45844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45845 (elf_machine_lazy_rel): Likewise.
45846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45847 (elf_machine_lazy_rel): Likewise.
45849 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45851 * nss/nss_files/files-init.c (_nss_files_init): Use static
45852 initialization for all the *_traced_file variables.
45854 2011-09-28 Andreas Schwab <schwab@redhat.com>
45856 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45858 2011-09-27 Roland McGrath <roland@hack.frob.com>
45861 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45863 2011-09-27 Andreas Schwab <schwab@redhat.com>
45865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45866 Reread the line before reparsing it.
45868 2011-09-26 Andreas Schwab <schwab@redhat.com>
45870 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45872 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45873 Maxim Kuvyrkov <maxim@codesourcery.com>
45874 Joseph Myers <joseph@codesourcery.com>
45876 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45877 if needed for __stack_chk_guard.
45879 2011-09-19 Roland McGrath <roland@hack.frob.com>
45881 * sysdeps/posix/spawni.c (script_execute): Always define it.
45882 It will be optimized away if unused.
45883 (maybe_script_execute): New function.
45884 (__spawni): Call it.
45886 * Makerules: Don't include tls.make.
45887 (config-tls): Always set to thread.
45888 * tls.make.c: File removed.
45890 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45892 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45893 * config.make.in (CPPFLAGS-config): New substituted variable.
45895 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45900 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45901 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45903 2011-09-15 Roland McGrath <roland@hack.frob.com>
45905 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45906 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45908 (CALL_FAIL): Likewise.
45909 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45910 (CALL_FAIL): Macro removed.
45911 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45913 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45915 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45916 for __FINITE_MATH_ONLY__ == 1.
45918 2011-09-15 Andreas Schwab <schwab@redhat.com>
45920 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45921 __ieee754_sqrt instead of sqrt.
45922 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45923 __ieee754_sqrtf instead of sqrtf.
45924 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45925 __floorf instead of floorf.
45926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45927 __floorf, __truncf instead of floorf, truncf.
45929 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45931 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45933 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45934 __extern_always_inline.
45935 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45938 2011-09-14 Andreas Schwab <schwab@redhat.com>
45940 * elf/rtld.c (dl_main): Also relocate in dependency order when
45941 doing symbol dependency testing.
45943 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45946 Always define `refsym'.
45948 2011-09-13 Andreas Schwab <schwab@redhat.com>
45950 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45951 (__FD_ELT): Renamed from __FDELT.
45952 * misc/bits/select2.h (__FD_ELT): Likewise.
45953 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45954 __FD_MASK instead of __FDELT, __FDMASK.
45955 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45957 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45960 * elf/Makefile (gen-ldd): Fix pattern.
45962 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45963 (init_tls): Likewise.
45965 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45969 2011-09-12 Andreas Schwab <schwab@redhat.com>
45971 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45972 `struct cmsghdr *' instead of `void *'.
45973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45976 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45978 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45980 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45981 ldd_rewrite_script.
45983 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45985 * configure.in: Remove --with-tls option.
45986 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45987 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45988 out in case it is missing.
45989 * sysdeps/ia64/elf/configure.in: Likewise.
45990 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45991 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45992 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45993 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45994 * sysdeps/sh/elf/configure.in: Likewise.
45995 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45996 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45997 * sysdeps/x86_64/elf/configure.in: Likewise.
45998 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45999 * sysdeps/mach/hurd/tls.h: Likewise.
46002 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46005 * configure.in: Fix use of AC_INIT.
46007 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46009 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46011 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46013 * malloc/hooks.c: Likewise.
46016 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46017 variables statically.
46018 (narenas): Initialize.
46019 (list_lock): Initialize.
46020 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46021 initializtion of main_arena and list_lock. Small cleanups.
46022 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46023 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46024 Add initializers to main_arena and mp_.
46025 (malloc_state): Remove pagesize member. Change all users to use
46028 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46029 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46030 is always initialized.
46032 * malloc/malloc.c: Removed unused configurations and dead code.
46033 * malloc/arena.c: Likewise.
46034 * malloc/hooks.c: Likewise.
46035 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46037 * include/tls.h: Removed. USE___THREAD must always be defined.
46038 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46039 * elf/dl-libc.c: Likewise.
46040 * elf/dl-tsd.c: Likewise.
46041 * include/errno.h: Likewise.
46042 * include/netdb.h: Likewise.
46043 * include/resolv.h: Likewise.
46044 * inet/herrno-loc.c: Likewise.
46045 * inet/herrno.c: Likewise.
46046 * malloc/arena.c: Likewise.
46047 * malloc/hooks.c: Likewise.
46048 * malloc/malloc.c: Likewise.
46049 * resolv/res-state.c: Likewise.
46050 * resolv/res_libc.c: Likewise.
46051 * sysdeps/i386/dl-machine.h: Likewise.
46052 * sysdeps/ia64/dl-machine.h: Likewise.
46053 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46054 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46055 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46056 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46057 * sysdeps/sh/dl-machine.h: Likewise.
46058 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46059 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46060 * sysdeps/unix/i386/sysdep.S: Likewise.
46061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46062 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46067 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46071 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46072 * sysdeps/x86_64/dl-machine.h: Likewise.
46073 * tls.make.c: Likewise.
46075 * configure.in: Remove --with-__thread option. Make tests for
46076 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46077 tls_model attribute fail if no support is available. Remove
46079 * Makeconfig: Adjust for dropped configure option. All features are
46081 * Makerules: Likewise.
46082 * Versions.def: Likewise.
46083 * argp/argp-fmtstream.c: Likewise.
46084 * argp/argp-fmtstream.h: Likewise.
46085 * argp/argp-help.c: Likewise.
46086 * assert/assert.c: Likewise.
46087 * config.h.in: Likewise.
46088 * config.make.in: Likewise.
46089 * configure: Likewise.
46090 * configure.in: Likewise.
46091 * csu/Versions: Likewise.
46092 * csu/init.c: Likewise.
46093 * elf/tst-audit2.c: Likewise.
46094 * elf/tst-tls10.c: Likewise.
46095 * elf/tst-tls10.h: Likewise.
46096 * elf/tst-tls11.c: Likewise.
46097 * elf/tst-tls12.c: Likewise.
46098 * elf/tst-tls14.c: Likewise.
46099 * elf/tst-tlsmod11.c: Likewise.
46100 * elf/tst-tlsmod12.c: Likewise.
46101 * elf/tst-tlsmod13.c: Likewise.
46102 * elf/tst-tlsmod13a.c: Likewise.
46103 * elf/tst-tlsmod14a.c: Likewise.
46104 * elf/tst-tlsmod15b.c: Likewise.
46105 * elf/tst-tlsmod16a.c: Likewise.
46106 * elf/tst-tlsmod16b.c: Likewise.
46107 * elf/tst-tlsmod7.c: Likewise.
46108 * elf/tst-tlsmod8.c: Likewise.
46109 * elf/tst-tlsmod9.c: Likewise.
46110 * gmon/gmon.c: Likewise.
46111 * grp/fgetgrent_r.c: Likewise.
46112 * grp/putgrent.c: Likewise.
46113 * hurd/fopenport.c: Likewise.
46114 * include/libc-symbols.h: Likewise.
46115 * include/tls.h: Likewise.
46116 * intl/gettextP.h: Likewise.
46117 * intl/loadinfo.h: Likewise.
46118 * locale/global-locale.c: Likewise.
46119 * locale/localeinfo.h: Likewise.
46120 * mach/devstream.c: Likewise.
46121 * malloc/arena.c: Likewise.
46122 * malloc/set-freeres.c: Likewise.
46123 * misc/err.c: Likewise.
46124 * misc/getttyent.c: Likewise.
46125 * misc/mntent_r.c: Likewise.
46126 * posix/getopt.c: Likewise.
46127 * posix/wordexp.c: Likewise.
46128 * pwd/fgetpwent_r.c: Likewise.
46129 * resolv/Versions: Likewise.
46130 * resolv/res_hconf.c: Likewise.
46131 * shadow/fgetspent_r.c: Likewise.
46132 * shadow/putspent.c: Likewise.
46133 * stdio-common/printf_fphex.c: Likewise.
46134 * stdio-common/tmpfile.c: Likewise.
46135 * stdlib/abort.c: Likewise.
46136 * stdlib/fmtmsg.c: Likewise.
46137 * sunrpc/auth_unix.c: Likewise.
46138 * sunrpc/clnt_perr.c: Likewise.
46139 * sunrpc/clnt_tcp.c: Likewise.
46140 * sunrpc/clnt_udp.c: Likewise.
46141 * sunrpc/clnt_unix.c: Likewise.
46142 * sunrpc/openchild.c: Likewise.
46143 * sunrpc/svc_simple.c: Likewise.
46144 * sunrpc/svc_tcp.c: Likewise.
46145 * sunrpc/svc_udp.c: Likewise.
46146 * sunrpc/svc_unix.c: Likewise.
46147 * sunrpc/xdr.c: Likewise.
46148 * sunrpc/xdr_array.c: Likewise.
46149 * sunrpc/xdr_rec.c: Likewise.
46150 * sunrpc/xdr_ref.c: Likewise.
46151 * sunrpc/xdr_stdio.c: Likewise.
46153 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46155 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46157 2011-07-03 Andreas Jaeger <aj@suse.de>
46159 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46160 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46161 regenerate with gen-libm-tests.pl.
46163 2010-05-12 Petr Baudis <pasky@suse.cz>
46166 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46167 around j0() zero points by switching to j1().
46168 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46173 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46175 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46177 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46180 Patch in part by Pavel Roskin <proski@gnu.org>.
46183 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46185 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46186 Free memory block if necessary.
46189 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46190 be NULL. Don't lock in this case.
46192 2011-09-09 Roland McGrath <roland@hack.frob.com>
46194 * elf/elf.h (ELFOSABI_GNU): New macro.
46195 (ELFOSABI_LINUX): Define to that.
46197 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46199 * string/strncat.c (strncat): Undef the symbol in case it has been
46200 defined in bits/string.h.
46202 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46204 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46206 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46209 2011-08-17 Andreas Jaeger <aj@suse.de>
46211 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46213 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46214 Ian Lance Taylor <iant@google.com>
46216 * math/libm-test.inc (lround_test): New testcase.
46217 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46219 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46221 * Makefile: Remove support for automatic cvs check-ins.
46222 * Makerules: Likewise.
46223 * config.make.in: Likewise.
46224 * configure.in: Likewise.
46225 * intl/Makefile: Likewise.
46226 * locale/Makefile: Likewise.
46227 * po/Makefile: Likewise.
46228 * posix/Makefile: Likewise.
46229 * sysdeps/gnu/Makefile: Likewise.
46230 * sysdeps/mach/hurd/Makefile: Likewise.
46231 * sysdeps/sparc/sparc32/Makefile: Likewise.
46234 * posix/Makefile (bug-regex32-ENV): Define.
46235 Patch by John Stanley <jpsinthemix@verizon.net>.
46237 * misc/Makefile (headers): Add bits/select2.h.
46238 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46239 * misc/bits/select2.h: New file.
46240 * include/bits/select2.h: New file.
46241 * debug/Makefile (routines): Add fdelt_chk.
46242 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46243 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46245 * debug/fdelt_chk.c: New file.
46247 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46248 * wcsmbs/test-wmemcmp.c: Likewise.
46249 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46250 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46252 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46254 * string/Makefile (strop-tests): Add memcmp.
46255 * string/test-wmemcmp.c: New file.
46256 * string/test-memcmp.c: Add wmemcmp support.
46258 2011-09-08 Roland McGrath <roland@hack.frob.com>
46261 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46264 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46265 garbage value in a __mach_port_mod_refs call in the cases of the
46266 task-self and thread-self ports.
46268 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46270 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46272 2011-09-08 Andreas Schwab <schwab@redhat.com>
46274 * elf/dl-load.c (lose): Check for non-null L.
46276 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46278 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46280 * elf/dl-libc.c (dlerror_run): Pass back error code from
46284 * elf/dl-load.c (lose): Free l_origin if it is valid.
46286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46288 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46289 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46290 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46291 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46292 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46293 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46295 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46297 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46298 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46299 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46300 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46301 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46302 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46303 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46304 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46305 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46306 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46308 2011-08-15 Alan Modra <amodra@gmail.com>
46311 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46312 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46313 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46314 ppc_mcount to static-only-routines.
46315 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46317 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46318 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46320 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46322 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46323 for finite and infinity parameters.
46325 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46328 and add nop instructions for throughput optimization.
46329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46331 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46333 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46334 aligned copy for power7 with vector-scalar instructions.
46335 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46337 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46342 2011-09-07 Andreas Schwab <schwab@redhat.com>
46345 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46348 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46350 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46351 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46352 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46353 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46356 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46358 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46359 Forgot to demangle the pointer.
46361 * sysdeps/i386/sysdep.h: Define atom_text_section.
46362 * sysdeps/x86_64/sysdep.h: Likewise.
46363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46364 section with atom_text_section.
46365 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46366 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46367 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46369 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46371 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46372 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46373 already be defined. Change to take two parameters and don't assign
46374 result to variable. Adjust all users.
46375 Define INTERNAL_GETTIME if not already defined.
46376 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46379 HAVE_CLOCK_GETTIME_VSYSCALL.
46380 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46383 gettimeofday vsyscall, just use time.
46385 2011-09-06 Andreas Schwab <schwab@redhat.com>
46387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46390 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46392 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46396 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46397 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46398 syscall if possible.
46400 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46402 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46403 e_ident. Don't pass to find_mapsXX.
46404 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46406 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46409 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46410 * sysdeps/x86_64/multiarch/strchr.S: Update.
46411 Check bit_slow_BSF bit.
46412 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46413 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46414 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46416 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46419 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46421 (tryshell): Define.
46422 (__spawni): Change last parameter to be flag. Test
46423 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46424 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46425 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46426 * posix/spawni.c: Likewise.
46427 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46428 * posix/spawnp.c: Likewise. Change normal version to use
46429 SPAWN_XFLAGS_USE_PATH.
46430 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46431 SPAWN_XFLAGS_TRY_SHELL.
46434 * posix/glob.h: Remove gcc 1.x support.
46437 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46439 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46442 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46444 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46445 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46446 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46447 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46448 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46449 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46451 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46453 * sysdeps/x86_64/wcscmp.S: New file.
46455 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46456 wcscmp-c wcscmp-sse2
46457 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46458 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46459 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46460 * wcsmbs/wcscmp.c: Allow renaming.
46462 2011-09-05 David S. Miller <davem@davemloft.net>
46464 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46465 stack slot, rather than the struct return pointer slot.
46466 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46467 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46469 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46471 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46473 * po/ja.po: Update from translation team.
46476 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46477 kernel in 64-bit binaries.
46479 2011-09-01 David S. Miller <davem@davemloft.net>
46481 * elf/elf.h (HWCAP_SPARC_*): Move to..
46482 * sysdeps/sparc/sysdep.h: this new file and add new values.
46483 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46484 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46485 _DL_HWCAP_COUNT to 24.
46486 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46488 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46489 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46490 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46492 instead of magic constants.
46493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46495 2011-08-31 David S. Miller <davem@davemloft.net>
46497 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46499 Reimplement to do errno handling inline.
46500 (SYSCALL_ERROR_HANDLER): New macro.
46501 (__SYSCALL_STRING): Do not do errno handling in asm.
46502 (__CLONE_SYSCALL_STRING): Delete.
46503 (__INTERNAL_SYSCALL_STRING): Delete.
46504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46505 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46506 (PSEUDO): Reimplement to do errno handling inline.
46507 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46508 (SYSCALL_ERROR_HANDLER): New macro.
46509 (__SYSCALL_STRING): Do not do errno handling in asm.
46510 (__CLONE_SYSCALL_STRING): Delete.
46511 (__INTERNAL_SYSCALL_STRING): Delete.
46512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46513 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46515 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46516 (inline_syscall*): Add 'err' argument.
46517 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46518 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46519 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46520 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46522 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46523 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46525 2011-08-30 Andreas Schwab <schwab@redhat.com>
46527 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46529 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46531 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46534 2011-08-24 David S. Miller <davem@davemloft.net>
46536 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46538 2011-08-24 Andreas Schwab <schwab@redhat.com>
46540 * elf/Makefile: Add rules to build and run unload8 test.
46541 * elf/unload8.c: New file.
46542 * elf/unload8mod1.c: New file.
46543 * elf/unload8mod1x.c: New file.
46544 * elf/unload8mod2.c: New file.
46545 * elf/unload8mod3.c: New file.
46547 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46550 2011-08-23 David S. Miller <davem@davemloft.net>
46552 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46553 subtract stack bias.
46554 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46555 %sp not %fp in calculations.
46556 (_JMPBUF_UNWINDS_ADJ): Likewise.
46558 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46559 (aio_suspend): Call it to force an exception region around the
46560 AIO_MISC_WAIT() invocation.
46562 2011-08-23 Andreas Schwab <schwab@redhat.com>
46564 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46567 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46569 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46571 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46572 and <dl-machine.h>.
46573 (Elf64_FuncDesc): Remove.
46575 2011-08-22 David S. Miller <davem@davemloft.net>
46577 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46578 sigaltstack check, add missing cfi directives.
46579 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46580 missing cfi directives, and sigaltstack handling.
46582 2011-08-16 Andreas Schwab <schwab@redhat.com>
46585 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46586 object is seen twice.
46587 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46589 * elf/Makefile (distribute): Add tst-initorder2.c.
46590 (tests): Add tst-initorder2.
46591 (modules-names): Add tst-initorder2a tst-initorder2b
46592 tst-initorder2c tst-initorder2d. Add rules to build them.
46593 ($(objpfx)tst-initorder2.out): New rule.
46594 * elf/tst-initorder2.c: New file.
46595 * elf/tst-initorder2.exp: New file.
46597 2011-08-22 Andreas Schwab <schwab@redhat.com>
46599 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46601 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46602 dependencies back to end of function.
46604 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46605 $(elfobjdir)/ld.so.
46607 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46610 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46611 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46612 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46613 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46614 of __vdso_gettimeofday.
46615 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46616 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46618 (_libc_vdso_platform_setup): Remove initialization of
46619 __vdso_gettimeofday and __vdso_time.
46621 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46623 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46624 and fgetc_unlocked.
46625 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46628 * elf/dl-open.c (add_to_global): Report additions to the global scope
46629 for LD_DEBUG=scopes.
46630 (dl_open_worker): Also print scope of newly loaded dependencies.
46631 (_dl_show_scope): Indicate if there is no scope.
46634 * stdio-common/Makefile (tests): Add bug24.
46635 * stdio-common/bug24.c: New file.
46637 2011-08-19 Andreas Jaeger <aj@suse.de>
46640 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46641 non-existant file when using close-on-exec mode.
46643 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46646 the very first instruction.
46648 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46649 the CFI state in the end.
46650 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46651 inclusion of dl-trampoline.h.
46652 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46654 2011-08-19 Andreas Schwab <schwab@redhat.com>
46656 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46657 expectations for long double.
46659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46660 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46662 2011-08-14 David S. Miller <davem@davemloft.net>
46664 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46665 artificual limit depends upon the system page size.
46667 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46669 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46670 * resolv/Makefile: Define CFLAGS-libresolv.
46672 2011-08-17 Andreas Schwab <schwab@redhat.com>
46674 * nss/makedb.c (compute_tables): Make variables used in nested
46677 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46679 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46680 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46681 if buffer was too small.
46683 * elf/pldd.c (main): Attach to all threads in the process.
46684 Rewrite /proc handling to use *at functions.
46686 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46688 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46689 specifies first scope to show.
46690 (dl_open_worker): Update callers. Move printing scope of new
46691 object to before the relocation.
46692 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46693 * sysdeps/generic/ldsodefs.h: Update declaration.
46695 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46696 string for the scope number.
46698 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46700 * nscd/servicescache.c (cache_addserv): Make sure written is always
46703 2011-08-14 Roland McGrath <roland@hack.frob.com>
46705 * sysdeps/i386/i486/bits/atomic.h
46706 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46707 statement expression, so as to suppress "set but not used" warning.
46708 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46710 * string/strncat.c (STRNCAT): Use prototype definition.
46712 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46713 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46715 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46716 (localedef-modules): Add localedef.
46717 (locale-modules): Add locale.
46719 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46720 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46721 to avoid a warning.
46723 2011-08-14 David S. Miller <davem@davemloft.net>
46725 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46726 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46728 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46730 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46731 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46732 * elf/rtld.c (dl_main): Set l_name of vDSO.
46733 Call _dl_show_scope when DL_DEBUG_SCOPES.
46734 (process_dl_debug): Recognize scopes flag and also set it for all.
46735 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46736 Declare _dl_show_scope.
46738 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46739 (do_dlopen): Pass caller_dlopen to dl_open.
46740 (__libc_dlopen_mode): Initialize caller_dlopen.
46742 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46743 of libc. Make tolower call locale-independent. Optimize a bit by
46744 using isdigit instead of isalnum.
46745 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46747 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46749 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46750 was a dependency or dynamically loaded.
46752 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46754 * intl/l10nflist.c: Allow architecture-specific pop function.
46755 * sysdeps/x86_64/l10nflist.c: New file.
46757 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46760 2011-08-10 Andreas Schwab <schwab@redhat.com>
46762 * include/dirent.h: Add libc_hidden_proto for scandirat and
46763 scandirat64. Don't declare __scandirat64.
46764 * dirent/scandirat.c: Add libc_hidden_def.
46765 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46766 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46768 2011-08-10 David S. Miller <davem@davemloft.net>
46770 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46772 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46776 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46778 * Versions.def [libc]: Add GLIBC_2.15.
46779 * dirent/Makefile (routines): Add scandirat and scandirat64.
46780 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46782 * dirent/dirent.h: Declare scandirat and scandirat64.
46783 * dirent/scandirat.c: New file.
46784 * dirent/scandirat64.c: New file.
46785 * sysdeps/wordsize-64/scandirat.c: New file.
46786 * sysdeps/wordsize-64/scandirat64.c: New file.
46787 * dirent/opendir.c: Define opendirat.
46788 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46790 * dirent/scandir64.c: Adjust for scandir.c change.
46791 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46792 __scandirat64, and __scandir_cancel_handler.
46793 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46794 additional parameter and use openat instead of open (outside of ld.so).
46795 Add new __opendir as wrapper around __opendirat.
46796 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46797 here without requiring old scandirat implementation.
46799 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46801 * dirent/scandir.c (cancel_handler): Renamed to
46802 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46803 defined. Adjust users.
46804 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46805 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46807 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46809 * string/test-string.h (IMPL): Use __STRING to expand name and then
46812 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46815 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46817 * string/Makefile: Update.
46818 (strop-tests): Append strncat.
46819 * string/test-wcscmp.c: New file.
46820 New comprehensive test for wcscmp.
46821 * string/test-strcmp.c: Update.
46822 (WIDE): New define.
46824 2011-07-22 Andreas Schwab <schwab@redhat.com>
46826 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46829 2011-07-26 Andreas Schwab <schwab@redhat.com>
46831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46832 encoding to ACE if AI_IDN.
46834 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46837 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46839 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46841 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46842 Fix overflow bug in strncat.
46843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46845 * string/test-strncat.c: Update.
46846 Add new tests for checking overflow bugs.
46848 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46851 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46852 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46853 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46854 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46855 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46856 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46857 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46858 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46860 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46861 (USE_AS_STRCAT): Define.
46862 Add strcat and strncat support.
46863 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46865 2011-07-25 Andreas Schwab <schwab@redhat.com>
46867 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46868 __n bigger than INT_MAX+1.
46869 (__strncmp_g): Likewise.
46871 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46873 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46874 * libio/stido.h: Likewise.
46876 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46881 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46882 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46884 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46885 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46888 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46893 (_dl_x86_64_save_sse): Likewise.
46895 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46899 (_dl_x86_64_save_sse): Likewise.
46901 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46903 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46905 2011-07-21 Andreas Schwab <schwab@redhat.com>
46907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46909 (_dl_x86_64_save_sse): Use correct AVX check.
46911 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46914 bug in strncpy/strncat.
46915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46917 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46919 * string/tester.c (test_strcat): Add tests for different alignments
46920 of source and destination.
46921 (test_strncat): Likewise.
46923 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46926 * posix/glob.c (glob): Check passed in values before using them in
46927 expressions to avoid some overflows.
46928 (glob_in_dir): Likewise.
46931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46932 check for AVX enablement so that we don't crash with old kernels and
46934 * elf/tst-audit4.c: Add same checks here.
46935 * elf/tst-audit6.c: Likewise.
46937 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46939 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46941 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46943 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46945 * po/cs.po: Update from translation team.
46946 * po/bg.po: Likewise.
46948 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46950 * misc/sys/cdefs.h: Add support for const attribute.
46951 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46952 to gnu_dev_{major,minor,makedev} functions.
46954 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46956 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46958 2011-07-20 Andreas Schwab <schwab@redhat.com>
46960 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46963 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46966 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46967 register in order to avoid conflicts with the soft frame pointer
46968 being held in r11 when necessary.
46969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46970 (INTERNAL_VSYSCALL_NCS): Likewise.
46972 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46974 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46975 * elf/dl-fini.c (_dl_fini): Adjust caller.
46976 * elf/dl-close.c (_dl_close_worker): Likewise.
46977 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46979 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46981 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46982 "aux_cache->nlibs < 0".
46984 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46985 in the reload-count case.
46987 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46990 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46991 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46992 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46993 * sysdeps/x86_64/multiarch/strcat.S: New file.
46994 * sysdeps/x86_64/multiarch/strncat.S: New file.
46995 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46996 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46997 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46998 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46999 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47000 (USE_AS_STRCAT): Define.
47001 Add strcat and strncat support.
47002 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47004 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47005 * string/strncat.c: Update.
47006 (USE_AS_STRNCAT): Define.
47007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47008 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47010 * sysdeps/x86_64/multiarch/init-arch.h
47011 (bit_Prefer_PMINUB_for_stringop): New.
47012 (index_Prefer_PMINUB_for_stringop): Likewise.
47013 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47014 bit_Prefer_PMINUB_for_stringop.
47016 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47018 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47020 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47021 of casting of buffer.
47022 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47023 buffer32 and buffer64.
47024 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47025 writes instead of casting of buffer.
47026 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47028 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47031 2011-07-19 Andreas Schwab <schwab@redhat.com>
47033 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47035 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47037 * nscd/nscd.c (termination_handler): Don't do anything for a database
47038 if it has not yet been initialized.
47040 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47042 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47044 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47046 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47048 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47050 * po/nl.po: Update from translation team.
47051 * po/sv.po: Likewise.
47053 2011-07-16 Roland McGrath <roland@hack.frob.com>
47055 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47056 now disallowed by GCC.
47058 * configure.in (use-default-link): Default to yes if a test -shared
47059 link meets our qualifications.
47060 * configure: Regenerated.
47062 * config.make.in (output-format): New variable.
47063 * configure.in: Check for ld --print-output-format support.
47064 * configure: Regenerated.
47065 * Makerules ($(common-objpfx)format.lds)
47066 [$(output-format) != unknown]: Just use $(output-format),
47067 instead of the linker-script munging.
47069 2011-07-14 Roland McGrath <roland@hack.frob.com>
47071 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47072 of $(common-objpfx)shlib.lds.
47073 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47075 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47076 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47078 * configure.in (-z relro check): Adjust test code to add a large
47079 writable data section after it.
47080 * configure: Regenerated.
47082 2011-07-11 Roland McGrath <roland@hack.frob.com>
47084 * configure.in (-z relro check): Fix test code to make the variable
47086 * configure: Regenerated.
47088 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47090 * nscd/nscd.h (struct traced_file): Define.
47091 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47092 elements. Add traced_files.
47093 (inotify_fd): Declare.
47094 (register_traced_file): Declare.
47095 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47096 (inotify_fd): Export.
47097 (resolv_conf_descr): Remove.
47098 (nscd_init): Move inotify descriptor creation to main.
47099 Don't register files for notification here.
47100 (register_traced_file): New function.
47101 (invalidate_cache): Don't use reset_res to determine whether to call
47102 res_init, go through the list of registered files.
47103 (main_loop_poll): The inotify descriptors are now stored in the
47104 structures for the traced files.
47105 (main_loop_epoll): Likewise
47106 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47107 to __nss_disable_nscd.
47108 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47109 for a database anymore. Check the records for all the registered
47111 * nss/Makefile (libnss_files-routines): Add files-init.
47112 (libnss_db-routines): Add db-init.
47113 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47114 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47115 * nss/nss_db/db-init.c: New file.
47116 * nss/nss_files/files-init.c: New file.
47117 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47118 __nss_lookup_function.
47119 (__nss_lookup_function): Call nss_load_library.
47120 (nss_load_all_libraries): New function.
47121 (__nss_disable_nscd): Take parameter with callback function for files
47122 to register. Set is_nscd. Load all the DSOs for the NSS modules
47123 used for the cached services.
47124 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47125 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47126 options for features to all the files in nscd.
47128 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47130 2011-07-10 Roland McGrath <roland@hack.frob.com>
47132 * csu/elf-init.c (__libc_csu_init): Comment typo.
47134 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47136 * po/pl.po: Update from translation team.
47137 * po/ja.po: Likewise.
47138 * po/ru.po: Likewise.
47139 * po/ko.po: Likewise.
47140 * po/fr.po: Likewise.
47142 2011-07-09 Roland McGrath <roland@hack.frob.com>
47144 * configure.in (.ctors/.dtors header and trailer check):
47145 Use an empirical test on a built program.
47146 * configure: Regenerated.
47148 * configure.in (-z relro check): Use an empirical test on a built DSO.
47149 Detect, but do not require, on ia64.
47150 * configure: Regenerated.
47152 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47153 Update tests that use readelf to use $READELF instead.
47154 * configure: Regenerated.
47156 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47158 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47159 if the result is not used.
47161 2011-07-05 Andreas Jaeger <aj@suse.de>
47164 * stdlib/tst-strtod.c: Add testcase.
47166 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47168 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47169 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47170 The latter has a higher limit. Take additional parameter to pass to
47172 (__pathconf): Pass file to __statfs_link_max.
47173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47175 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47179 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47182 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47183 (__statfs_filesize_max): Likewise.
47184 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47186 2011-07-05 Andreas Jaeger <aj@suse.de>
47188 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47190 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47192 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47194 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47197 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47199 * Makefile (strop-tests): Add strncat.
47200 * string/test-strncat.c: New file.
47202 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47204 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47206 2011-06-21 Andreas Jaeger <aj@suse.de>
47208 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47209 Copy rule from iconvdata/Makefile.
47211 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47214 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47215 but no long options are defined, just return 'W'.
47217 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47220 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47222 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47224 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47226 (innetgr): Likewise.
47228 2011-07-05 Roland McGrath <roland@hack.frob.com>
47230 * config.make.in (install_root): Default to $(DESTDIR).
47232 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47236 2011-07-02 Roland McGrath <roland@hack.frob.com>
47238 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47240 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47241 containing directory rather than embedding absolute directory names.
47243 * scripts/check-local-headers.sh: Rewritten using awk.
47244 Match by word, not by line. Print error messages for matches.
47245 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47247 * Makerules [shlib-lds-flags empty]:
47248 ($(common-objpfx)libc_pic.opts): New target.
47249 ($(common-objpfx)libc_pic.os.clean): New target.
47250 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47252 * config.make.in (OBJCOPY): New variable.
47253 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47254 * configure: Regenerated.
47256 * config.make.in (use-default-link): New variable.
47257 * configure.in (use_default_link): Grok --with-default-link to set it.
47258 * configure: Regenerated.
47259 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47260 (shlib-lds, shlib-lds-flags): Define to empty.
47262 * Makerules (shlib-lds): New variable.
47263 (shlib-lds-flags): New variable.
47264 (build-shlib, build-moduile, build-module-asneeded): Use it.
47265 ($(common-objpfx)libc.so): Use $(shlib-lds).
47266 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47267 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47269 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47270 DT_FLAGS/DT_FLAGS_1 with zero flags.
47272 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47273 linker script munging.
47275 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47277 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47279 * crypt/sha512.c (sha512_process_block): Perform total addition using
47280 128-bit if possible.
47281 (__sha512_finish_ctx): Likewise.
47282 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47284 * crypt/sha256.c (SWAP64): Define.
47285 (sha256_process_block): Perform total addition using 64-bit if
47287 (__sha256_finish_ctx): Likewise.
47289 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47291 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47293 * nscd/hstcache.c (cache_addhst): Likewise.
47294 * nscd/grpcache.c (cache_addgr): Likewise.
47295 * nscd/aicache.c (addhstaiX): Likewise
47296 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47298 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47300 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47302 * nscd/hstcache.c (cache_addhst): Likewise.
47303 * nscd/grpcache.c (cache_addgr): Likewise.
47304 * nscd/aicache.c (addhstaiX): Likewise
47306 2011-07-01 Andreas Schwab <schwab@redhat.com>
47308 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47309 domain only when needed.
47311 2011-06-30 Andreas Schwab <schwab@redhat.com>
47313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47314 is always restored.
47316 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47318 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47319 are re-adding the entry.
47320 * nscd/servicescache.c (cache_addserv): Likewise.
47322 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47324 * sysdeps/generic/dl-irel.h: fix protection against multiple
47326 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47328 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47331 * malloc/memusage.sh: Fix quoting in message.
47332 * debug/xtrace.sh: Likewise.
47334 * configure.in: Remove support for --experimental-malloc option, make
47336 * config.make.in: Likewise.
47337 * malloc/Makefile: Likewise.
47339 2011-06-27 Andreas Schwab <schwab@redhat.com>
47341 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47342 two-byte characters.
47344 2011-06-27 Roland McGrath <roland@hack.frob.com>
47346 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47347 AC_CACHE_CHECK invocation.
47348 * configure: Regenerated.
47350 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47352 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47355 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47356 bit from old_res_options.
47358 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47360 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47361 value type for setfct.
47363 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47366 __gettimeofday instead of gettimeofday.
47368 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47370 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47372 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47374 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47376 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47379 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47382 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47383 strcpy-sse2-unaligned strncpy-sse2-unaligned
47384 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47385 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47386 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47387 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47388 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47390 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47391 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47392 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47393 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47394 (STRCPY): Support SSE2 and SSSE3 versions.
47396 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47400 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47401 kernels which artificially limit size of requests.
47403 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47406 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47407 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47408 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47409 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47410 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47411 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47412 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47415 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47416 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47417 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47418 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47419 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47421 Enable unaligned load optimization for Intel Core i3, i5 and i7
47423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47425 (index_Fast_Unaligned_Load): Define.
47426 (HAS_FAST_UNALIGNED_LOAD): Define.
47428 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47430 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47432 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47436 until it is clear that the information is realy needed.
47437 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47439 2011-06-22 Andreas Schwab <schwab@redhat.com>
47441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47443 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47446 /sys/devices/system/cpu/online if it is usable.
47448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47449 reading the information from the /proc filesystem to once a second.
47451 2011-06-21 Andreas Jaeger <aj@suse.de>
47453 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47454 NULL after inclusion of kernel headers.
47456 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47458 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47459 calls to internal_setent.
47462 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47463 addresses using gethostbyname4_r ignore IPv4 addresses.
47465 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47466 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47468 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47470 2011-06-20 David S. Miller <davem@davemloft.net>
47472 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47474 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47476 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47477 (elf_irel): Use it.
47478 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47479 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47480 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47481 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47482 * sysdeps/x86_64/dl-irel.h: Likewise.
47484 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47485 * elf/dl-sym.c: Likewise.
47487 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47489 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47490 need to dereference resplen2.
47492 2011-06-14 Andreas Schwab <schwab@redhat.com>
47494 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47496 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47498 * Makeconfig: Define vardbdir and inst_vardbdir.
47499 * nss/Makefile: Add rules to install db-Makefile.
47501 * nss/nss_db/db-XXX.c: Cleanup.
47503 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47504 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47506 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47507 * nss/makedb.c: Implement -g option to specify that value strings
47508 are generated and should not be added to table iterated over for
47510 * nss/nss_db/db-initgroups.c: New file.
47512 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47515 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47516 (internal_getgrouplist): Adjust to name change.
47517 Update use_initgroups_entry if this is not the first call.
47518 * nss/databases.def: Add initgroups entry.
47520 * nss/makedb.c (compute_tables): Check result of multiple hash table
47521 sizes to minimize maximum chain length.
47523 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47525 * Versions.def: Add entry for libnss_db.
47526 * shlib-versions: Likewise.
47527 * nss/Makefile: Add rules to build libnss_db.
47528 * nss/Versions: Add libnss_db information. Organize libnss_files
47530 * nss/db-Makefile: Add gshadow support. Change rules for the new
47531 makedb progra. Some minor improvements to generate smaller files.
47532 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47534 * nss/makedb.c: ...here.
47535 Improve database format to be smaller and require less memory at
47537 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47539 * nss/nss_db/db-netgrp.c: Likewise.
47540 * nss/nss_db/db-open.c: Likewise.
47541 * nss/nss_files/flies-XXX.x: Adjust comments.
47542 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47543 * nss/nss_files/files-grp.c: Likewise.
47544 * nss/nss_files/files-hosts.c: Likewise.
47545 * nss/nss_files/files-network.c: Likewise.
47546 * nss/nss_files/files-proto.c: Likewise.
47547 * nss/nss_files/files-pwd.c: Likewise.
47548 * nss/nss_files/files-rpc.c: Likewise.
47549 * nss/nss_files/files-service.c: Likewise.
47550 * nss/nss_files/files-sgrp.c: Likewise.
47551 * nss/nss_files/files-spwd.c: Likewise.
47552 * nss/nss_db/db-alias.c: Removed.
47553 * nss/nss_db/dummy-db.h: Removed.
47555 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47557 * nss/makedb.c: Rewritten to not use database library.
47558 * nss/Makefile: Update to build new makedb program.
47560 2011-06-14 Andreas Jaeger <aj@suse.de>
47562 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47563 memset declaration.
47565 2011-06-10 Andreas Schwab <schwab@redhat.com>
47567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47570 2011-06-10 Roland McGrath <roland@hack.frob.com>
47572 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47573 * elf/Makefile ($(objpfx)ld.so): Likewise.
47575 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47576 Don't list ld.so twice in dependencies.
47578 * posix/bug-regex31.c: Include <stdlib.h>.
47580 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47582 * nis/nss_compat/compat-spwd.c
47583 (getspent_next_nss_netgr): Remove unused variable.
47584 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47586 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47587 nonmembers" output to use the right array.
47589 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47591 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47593 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47594 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47595 * catgets/gencat.c (read_input_file): Likewise.
47596 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47598 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47599 variable definition inside #if's controlling its use.
47601 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47603 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47605 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47607 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47610 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47612 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47613 * configure: Regenerated.
47615 * Makerules: Revert last change.
47616 * elf/Makefile: Likewise.
47618 2011-06-09 Roland McGrath <roland@hack.frob.com>
47620 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47621 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47622 (reloc-link): Likewise.
47624 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47626 * elf/Makefile: Add rules to build pldd.
47627 * elf/pldd.c: New file.
47628 * elf/pldd-xx.c: New file.
47630 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47632 * version.h: Update for 2.15 development version.
47634 2011-06-07 David S. Miller <davem@davemloft.net>
47636 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47639 elf_machine_lazy_rel): Likewise.
47640 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47642 elf_machine_lazy_rel): Likewise.
47643 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47644 dl_hwcap via passed in argument.
47645 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47648 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47650 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47652 2011-06-06 Roland McGrath <roland@hack.frob.com>
47655 * manual/fdl-1.1.texi: New file, verbatim from:
47656 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47657 * manual/lgpl-2.1.texi: New file, verbatim from:
47658 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47659 * manual/Makefile (licenses): New variable, list those new file names.
47661 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47663 * manual/fdl.texi: File removed.
47664 * manual/lesser.texi: File removed.
47665 * manual/libc.texinfo (Copying, Documentation License):
47666 Use new @include file names, put @appendix directive before @include.
47668 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47671 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47672 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47673 (mq_open): Add __NTH.
47675 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47678 Assume Intel Core i3/i5/i7 processor if AVX is available.
47680 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47685 2011-05-31 Andreas Schwab <schwab@redhat.com>
47687 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47688 memory. Use alloca_account. Fix memory leak when retrying.
47690 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47692 * version.h (RELEASE): Bump for 2.14 release.
47693 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47695 * config.make.in (RANLIB): Remove entry.
47697 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47699 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47700 (libc.pot): Work around missing support for .ksh extension in xgettext.
47703 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47704 if both request failed.
47705 (send_dg): In case of server errors clear resplen or *resplen2.
47708 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47709 when there are multiple maps.
47710 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47711 (_dl_fini): Remove test here.
47713 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47715 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47718 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47719 bit from old_res_options.
47720 (gaih_inet): Likewise.
47723 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47726 * resolv/res_init.c (res_setoptions): Make the code more compact.
47729 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47733 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47735 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47738 * malloc/malloc.h: Declare malloc hook variables as volatile.
47740 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47744 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47745 raise in the comment.
47746 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47748 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47750 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47753 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47754 grow the buffers more if it already has to be sufficient.
47755 (build_wcs_upper_buffer): Likewise.
47756 * posix/regexec.c (check_matching): Likewise.
47757 (clean_state_log_if_needed): Likewise.
47758 (extend_buffers): Don't enlarge buffers beyond size of the input
47760 Patches mostly by Emil Wojak <emil@wojak.eu>.
47761 * posix/bug-regex32.c: New file.
47762 * posix/Makefile (tests): Add bug-regex32.
47764 * locale/findlocale.c (_nl_find_locale): Return right away if
47765 _nl_explode_name failed.
47766 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47768 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47770 * debug/xtrace.sh: Unify messages.
47771 * malloc/memusage.sh: Likewise.
47774 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47775 time symbol from vDSO. Substitute with vsyscall if not available.
47776 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47779 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47780 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47781 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47782 Add sendmmsg and internal_sendmmsg.
47783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47784 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47785 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47787 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47788 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47791 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47794 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47795 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47797 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47801 * iconvdata/Makefile (tests): Add bug-iconv9.
47802 * iconvdata/bug-iconv9.c: New file.
47804 2011-05-27 Andreas Schwab <schwab@redhat.com>
47807 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47809 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47812 (struct user_regs_struct): Change intcs field back to cs.
47814 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47816 * po/ja.po: Update from translation team.
47818 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47821 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47822 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47824 2011-05-20 Andreas Schwab <schwab@redhat.com>
47826 * stdlib/longlong.h: Update from GCC.
47828 2011-05-23 Andreas Schwab <schwab@redhat.com>
47830 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47832 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47833 Add parameter name.
47834 (__sysconf): Pass it down.
47836 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47839 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47842 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47843 add in in __libc_use_alloca calls. Adjust callers.
47844 (glob): Use malloc in some situations.
47846 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47847 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47850 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47852 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47853 and CLOCK_BOOTTIME_ALARM.
47856 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47859 * string/_strerror.c (__strerror_r): Print negative errors as signed
47863 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47864 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47865 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47867 * configure.in: Fix typo in redirection and correct removal of test
47868 files in two cases.
47871 * locale/setlocale.c (new_composite_name): Fix test to check for
47872 identical name of all categories.
47875 * libio/filedoalloc.c (local_isatty): New function.
47876 (_IO_file_doallocate): Use local_isatty.
47877 * stdio-common/perror.c (perror): In case a new stream is used
47878 forward the stream error.
47879 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47882 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47887 * include/alloca.h (extend_alloca_account): Define.
47890 * posix/regex.h: Fix comments with documentation of user-accessible
47891 fields after compilation and describe correct free'ing of pattern
47892 after re_compile_pattern.
47893 Patch by Reuben Thomas <rrt@sc3d.org>.
47895 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47897 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47898 and -mno-altivec to prevent the compiler from using Altivec and/or
47899 VSX instructions when the corresponding registers are not available.
47901 2011-05-19 Andreas Schwab <schwab@redhat.com>
47903 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47905 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47907 * libio/freopen.c (freopen): Use __dup2, not dup2.
47908 * libio/freopen64.c (freopen64): Likewise.
47910 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47913 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47914 * math/Makefile (tests): Add test-powl.
47915 (CFLAGS-test-powl.c): Define.
47916 * math/test-powl.c: New file.
47918 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47920 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47922 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47925 * iconvdata/gb18030.c: Update to GB18020-2005.
47927 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47929 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47930 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47931 Patch by Aharon Robbins <arnold@skeeve.com>.
47934 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47938 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47939 through underflows.
47942 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47943 point to strings before performing equality test for error_one_per_line
47947 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47950 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47951 (struct user_fpregs_struct): Avoid __uint*_t types.
47954 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47955 symbol info. Use it instead of calling _dl_addr locally.
47956 (lock_and_info): New function.
47957 (tr_freehook): Call lock_and_info and pass symbol info as additional
47958 parameter to tr_where.
47959 (tr_mallochook): Likewise.
47960 (tr_reallochook): Likewise.
47961 (tr_memalignhook): Likewise.
47963 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47964 used and couldn't be at all thread-safe.
47966 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47968 * libio/freopen.c (freopen): Don't close old file descriptor
47969 before the new one is opened. Instead dup the new file descriptor
47970 to the old one after the new stream is created.
47971 * libio/freopen64.c (freopen64): Likewise.
47972 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47973 * libio/fileops.c (_IO_new_file_close_it): Handle new
47974 _IO_FLAGS2_NOCLOSE flag.
47975 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47976 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47977 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47978 _IO_FLAGS2_NOCLOSE flag.
47979 * include/unistd.h: Add hidden_proto for dup3.
47980 Define __have_dup3.
47981 * io/dup3.c: Define hidden symbol.
47982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47985 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47986 when an incomplete long option is used.
47987 * posix/tst-getopt_long1.c: New file.
47988 * posix/Makefile (tests): Add tst-getopt_long1.
47991 * scripts/config.guess: Update from autoconf-2.68.
47992 * scripts/config.sub: Likewise.
47995 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47997 (has_cpuclock): ...this. New function.
47998 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47999 macro here based on has_cpuclock code.
48002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48003 First byte (not low byte) is now always NUL.
48004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48007 Use non-cancelable interfaces.
48010 * locale/iso-639.def: Add entry for Sorani.
48013 * include/stdlib.h: Move include protection to the right place.
48014 Define abort_msg_s. Declare __abort_msg with it.
48015 * stdlib/abort.c (__abort_msg): Adjust type.
48016 * assert/assert.c (__assert_fail_base): New function. Majority
48017 of code from __assert_fail. Allocate memory for __abort_msg with
48019 (__assert_fail): Now call __assert_fail_base.
48020 * assert/assert-perr.c: Remove bulk of implementation. Use
48021 __assert_fail_base.
48022 * include/assert.hL Declare __assert_fail_base.
48023 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48025 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48027 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48031 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48032 until all modules are registered in the DTV.
48033 * elf/Makefile: Add rules to build and run tst-tls19.
48034 * elf/tst-tls19.c: New file.
48035 * elf/tst-tls19mod1.c: New file.
48036 * elf/tst-tls19mod2.c: New file.
48037 * elf/tst-tls19mod3.c: New file.
48038 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48041 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48045 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48046 two-byte sequence errors.
48047 * iconvdata/Makefile (tests): Add bug-iconv8.
48048 * iconvdata/bug-iconv8.c: New file.
48051 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48054 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48057 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48058 (dummy_getcfa): New function.
48059 (init): Get _Unwind_GetCFA address, use dummy if not found.
48060 (backtrace_helper): In recursion check, also check whether CFA changes.
48061 (__backtrace): Completely initialize arg.
48063 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48064 storing incomplete byte sequence in state object. Avoid testing for
48065 guaranteed too small input if we know there is enough data available.
48067 2011-05-11 Andreas Schwab <schwab@redhat.com>
48069 * Makeconfig (+link-pie): Indent.
48070 * Rules (binaries-pie): Define if $(have-fpie) and
48072 (binaries-shared): Also filter out $(binaries-pie).
48073 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48074 * nscd/Makefile (others-pie): Add nscd.
48075 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48076 ($(objpfx)nscd): Remove command override.
48077 * login/Makefile (others-pie): Add pt_chown.
48078 ($(objpfx)pt_chown): Remove command override.
48079 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48080 remove command overrides.
48082 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48084 * libio/tst_putwc.c: Fix error messages.
48087 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48088 currently writing and seek to current position when not.
48089 * libio/Makefile (tests): Add bug-fclose1.
48090 * libio/bug-fclose1.c: New file.
48092 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48095 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48096 don't set DF_1_NODELETE here.
48097 (do_lookup_x): When entering new entry test for copy relocation
48098 and if necessary set DF_1_NODELETE flag.
48099 * elf/tst-unique4.cc: New file.
48100 * elf/tst-unique4.h: New file.
48101 * elf/tst-unique4lib.cc: New file.
48102 * elf/Makefile: Add rules to build and run tst-unique4.
48103 Patch by Piotr Bury <pbury@goahead.com>.
48105 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48108 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48111 * misc/mntent_r.c (addmntent): Flush the stream after the output
48114 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48115 (is_trusted_path_normalize): Skip initial colon. Append slash
48116 to empty buffer. Duplicate is_trusted_path code but allow
48117 constructed patch to be prefix.
48118 (is_dst): Allow $ORIGIN followed by /.
48119 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48120 Correct testing of result of is_trusted_path_normalize
48121 (decompose_rpath): Fix warning.
48123 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48126 * grp/initgroups.c (internal_getgrouplist): When we found the service
48127 list through the initgroups entry in nsswitch.conf do not always
48128 continue on a successful lookup. Don't always use the
48129 __nss_group_database value if it is set.
48130 * nss/nsswitch.conf (initgroups): Change action for successful db
48131 lookup to continue for compatibility.
48133 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48136 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48138 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48140 * iconvdata/tst-tables.sh: Likewise.
48141 * iconvdata/cp770.c: New file.
48142 * iconvdata/cp771.c: New file.
48143 * iconvdata/cp772.c: New file.
48144 * iconvdata/cp773.c: New file.
48145 * iconvdata/cp774.c: New file.
48146 * iconvdata/testdata/CP770: New file.
48147 * iconvdata/testdata/CP770..UTF8: New file.
48148 * iconvdata/testdata/CP771: New file.
48149 * iconvdata/testdata/CP771..UTF8: New file.
48150 * iconvdata/testdata/CP772: New file.
48151 * iconvdata/testdata/CP772..UTF8: New file.
48152 * iconvdata/testdata/CP773: New file.
48153 * iconvdata/testdata/CP773..UTF8: New file.
48154 * iconvdata/testdata/CP774: New file.
48155 * iconvdata/testdata/CP774..UTF8: New file.
48157 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48159 * iconvdata/gen-8bit-gap.sh: Likewise.
48160 * iconvdata/gen-8bit.sh: Likewise.
48162 * locale/iso-639.def: Add ary entry.
48165 * locale/C-translit.h.in: Add U20A1 transliteration.
48168 * locale/iso-639.def: Add wae entry.
48169 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48172 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48176 * locale/C-translit.h.in: Add entry for U20B9.
48177 Patch by pravin.d.s@gmail.com.
48179 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48182 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48183 ENAMETOOLONG use generic getcwd.
48184 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48185 in rtld. Use *stat64.
48186 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48187 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48188 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48189 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48190 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48191 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48192 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48193 __fstatat64 macros.
48194 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48195 * dirent/rewinddir.c: Add libc_hidden_def.
48196 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48197 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48199 * include/dirent.h (__alloc_dir): Add flags parameter.
48200 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48201 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48203 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48204 from fdopendir if O_CLOEXEC is already set.
48206 2011-03-15 Alan Modra <amodra@gmail.com>
48208 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48209 l_tls_firstbyte_offset non-zero. Save padding offset in
48210 l_tls_firstbyte_offset for later use.
48211 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48212 freeing static tls block.
48214 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48216 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48217 where #ifdef was intended. The intent is to prevent ARG_MAX from
48218 being defined by the kernel headers.
48220 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48223 * resolv/resolv.h: Define RES_NOTLDQUERY.
48224 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48225 no-tld-query and set RES_NOTLDQUERY.
48226 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48227 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48228 modern BIND to search name as TLD unless forbidden.
48230 2011-05-07 Petr Baudis <pasky@suse.cz>
48231 Ulrich Drepper <drepper@gmail.com>
48234 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48235 (is_trusted_path): ...to here.
48236 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48237 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48238 using is_trusted_path_normalize() in setuid scripts.
48240 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48242 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48243 __BEGIN/__END_DECLS.
48245 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48247 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48248 NSS_STATUS_NOTFOUND if no record was found.
48250 2011-05-05 Andreas Schwab <schwab@redhat.com>
48252 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48253 (headers-not-in-tirpc): Remove rpc/netdb.h
48254 * resolv/netdb.h: Revert last change.
48256 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48258 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48259 circular dependency between libgcc.a and libc.a.
48261 2011-05-05 Andreas Schwab <schwab@redhat.com>
48263 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48264 * nis/Makefile: Don't install rpcsvc/*.
48265 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48266 instead of <rpc/types.h>.
48267 (MAXHOSTNAMELEN): Define.
48269 2011-05-03 Andreas Schwab <schwab@redhat.com>
48271 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48273 2011-04-28 Maciej Babinski <mbabinski@google.com>
48276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48277 gethostbyname4_r when IPv6 results are possible.
48279 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48282 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48283 _PC_PIPE_BUF handling.
48285 2011-04-30 Bruno Haible <bruno@clisp.org>
48288 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48289 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48291 * inet/getnameinfo.c (getnameinfo): Likewise.
48293 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48295 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48296 to groups setting in database lookup.
48297 * nss/nsswitch.conf: Add initgroups entry.
48299 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48302 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48304 Patch by Eric Blake <eblake@redhat.com>.
48306 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48308 * sunrpc/Makefile (need-export-routines): Add svc_run.
48309 (routines): Remove svc_run.
48310 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48311 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48312 * sunrpc/svc_run.c (svc_run): Likewise.
48313 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48315 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48318 problem in reallocation in last patch.
48320 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48322 * sunrpc/Makefile: Move inclusion of Rules.
48324 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48326 * nss/nss_files/files-initgroups.c: New file.
48327 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48328 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48329 _nss_files_initgroups_dyn.
48331 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48333 * elf/elf.h (R_ARM_IRELATIVE): Define.
48335 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48337 * po/ru.po: Update from translation team.
48339 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48341 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48344 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48347 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48348 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48353 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48355 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48357 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48361 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48364 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48366 * stdlib/bug-getcontext.c: New file.
48367 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48369 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48371 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48372 instructions into .machine "z9-109".
48373 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48374 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48376 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48378 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48379 between environment variables and auxiliary vector.
48381 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48383 * Makefile: Add rules to build linkobj/libc.so.
48384 * include/libc-symbols.h: Define libc_hidden_nolink.
48385 * include/rpc/auth.h: Mark functions which are to be hidden.
48386 * include/rpc/auth_des.h: Likewise.
48387 * include/rpc/auth_unix.h: Likewise.
48388 * include/rpc/clnt.h: Likewise.
48389 * include/rpc/des_crypt.h: Likewise.
48390 * include/rpc/key_prot.h: Likewise.
48391 * include/rpc/pmap_clnt.h: Likewise.
48392 * include/rpc/pmap_prot.h: Likewise.
48393 * include/rpc/pmap_rmt.h: Likewise.
48394 * include/rpc/rpc_msg.h: Likewise.
48395 * include/rpc/svc.h: Likewise.
48396 * include/rpc/svc_auth.h: Likewise.
48397 * include/rpc/xdr.h: Likewise.
48398 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48399 * nss/Makefile: Likewise.
48400 * sunrpc/Makefile: Don't install headers. Build library with normal
48401 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48402 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48403 for the compat linking library. Remove use of INTDEF/INTUSE.
48404 * sunrpc/auth_none.c: Likewise.
48405 * sunrpc/auth_unix.c: Likewise.
48406 * sunrpc/authdes_prot.c: Likewise.
48407 * sunrpc/authuxprot.c: Likewise.
48408 * sunrpc/clnt_gen.c: Likewise.
48409 * sunrpc/clnt_perr.c: Likewise.
48410 * sunrpc/clnt_raw.c: Likewise.
48411 * sunrpc/clnt_simp.c: Likewise.
48412 * sunrpc/clnt_tcp.c: Likewise.
48413 * sunrpc/clnt_udp.c: Likewise.
48414 * sunrpc/clnt_unix.c: Likewise.
48415 * sunrpc/des_crypt.c: Likewise.
48416 * sunrpc/des_soft.c: Likewise.
48417 * sunrpc/get_myaddr.c: Likewise.
48418 * sunrpc/key_call.c: Likewise.
48419 * sunrpc/key_prot.c: Likewise.
48420 * sunrpc/netname.c: Likewise.
48421 * sunrpc/pm_getmaps.c: Likewise.
48422 * sunrpc/pm_getport.c: Likewise.
48423 * sunrpc/pmap_clnt.c: Likewise.
48424 * sunrpc/pmap_prot.c: Likewise.
48425 * sunrpc/pmap_prot2.c: Likewise.
48426 * sunrpc/pmap_rmt.c: Likewise.
48427 * sunrpc/publickey.c: Likewise.
48428 * sunrpc/rpc_cmsg.c: Likewise.
48429 * sunrpc/rpc_common.c: Likewise.
48430 * sunrpc/rpc_dtable.c: Likewise.
48431 * sunrpc/rpc_prot.c: Likewise.
48432 * sunrpc/rpc_thread.c: Likewise.
48433 * sunrpc/rtime.c: Likewise.
48434 * sunrpc/svc.c: Likewise.
48435 * sunrpc/svc_auth.c: Likewise.
48436 * sunrpc/svc_authux.c: Likewise.
48437 * sunrpc/svc_raw.c: Likewise.
48438 * sunrpc/svc_run.c: Likewise.
48439 * sunrpc/svc_simple.c: Likewise.
48440 * sunrpc/svc_tcp.c: Likewise.
48441 * sunrpc/svc_udp.c: Likewise.
48442 * sunrpc/svc_unix.c: Likewise.
48443 * sunrpc/svcauth_des.c: Likewise.
48444 * sunrpc/xcrypt.c: Likewise.
48445 * sunrpc/xdr.c: Likewise.
48446 * sunrpc/xdr_array.c: Likewise.
48447 * sunrpc/xdr_float.c: Likewise.
48448 * sunrpc/xdr_intXX_t.c: Likewise.
48449 * sunrpc/xdr_mem.c: Likewise.
48450 * sunrpc/xdr_rec.c: Likewise.
48451 * sunrpc/xdr_ref.c: Likewise.
48452 * sunrpc/xdr_sizeof.c: Likewise.
48453 * sunrpc/xdr_stdio.c: Likewise.
48455 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48458 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48459 * sysdeps/ia64/dl-tls.h: Likewise.
48460 * sysdeps/powerpc/dl-tls.h: Likewise.
48461 * sysdeps/s390/dl-tls.h: Likewise.
48462 * sysdeps/sh/dl-tls.h: Likewise.
48463 * sysdeps/sparc/dl-tls.h: Likewise.
48464 * sysdeps/x86_64/dl-tls.h: Likewise.
48465 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48467 2011-03-14 Andreas Schwab <schwab@redhat.com>
48469 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48470 rpath element also skip the following colon.
48471 (expand_dynamic_string_token): Add is_path parameter and pass
48472 down to DL_DST_REQUIRED and _dl_dst_substitute.
48473 (decompose_rpath): Call expand_dynamic_string_token with
48474 non-zero is_path. Ignore empty rpaths.
48475 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48478 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48483 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48486 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48487 Patch by Filipe David Manana <fdmanana@apache.org>.
48489 2011-04-07 Andreas Schwab <schwab@redhat.com>
48491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48492 Maintain aligned stack.
48493 (CHECK_RSP): Remove unused macro.
48495 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48497 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48498 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48500 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48502 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48504 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48506 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48509 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48510 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48511 * sysdeps/x86_64/memmove.c: New file.
48512 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48513 (memcpy): Renamed to ...
48514 (__new_memcpy): This.
48515 (memcpy): Provide GLIBC_2_14 memcpy.
48516 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48517 (memcpy): Provide GLIBC_2_2_5 memcpy.
48519 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48522 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48524 2011-03-30 Andreas Schwab <schwab@redhat.com>
48526 * misc/syncfs.c: New file.
48527 * misc/Makefile (routines): Add syncfs.
48528 * posix/unistd.h: Declare syncfs.
48529 * sysdeps/unix/syscalls.list: Add syncfs.
48531 2011-04-01 Andreas Schwab <schwab@redhat.com>
48533 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48535 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48540 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48543 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48546 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48549 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48553 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48554 sync_file_range.c with -fexceptions.
48555 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48556 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48557 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48558 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48559 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48562 sync_file_range as cancellation point
48563 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48564 now a wrapper around __call_sync_file_range with cancellation handling.
48565 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48566 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48567 function name to __call_sync_file_range.
48568 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48569 Add call_sync_file_range.
48571 2011-04-01 Andreas Schwab <schwab@redhat.com>
48573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48576 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48578 * iconv/iconv.h: Fix typo in comment.
48579 * io/fcntl.h: Likewise.
48580 * libio/stdio.h: Likewise.
48581 * posix/spawn.h: Likewise.
48582 * posix/unistd.h: Likewise.
48583 * stdlib/stdlib.h: Likewise.
48584 * time/time.h: Likewise.
48585 * wcsmbs/wchar.h: Likewise.
48587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48588 open_by_handle): Add.
48589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48590 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48591 Augment a few comments.
48592 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48594 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48597 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48600 * io/fcntl.h (AT_EMPTY_PATH): Define.
48602 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48604 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48605 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48606 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48608 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48609 * Versions.def: Add GLIBC_2.14.
48610 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48613 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48615 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48617 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48619 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48622 * string/test-strncmp.c (do_page_test): New function.
48623 (check2): Likewise.
48624 (test_main): Call check2.
48625 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48627 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48630 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48631 Handle cache information in CPU leaf 4.
48632 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48634 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48637 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48638 character representation.
48639 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48641 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48643 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48644 END(__isnan) to END(__isnanf) to match function entry point/label
48645 EALIGN(__isnanf,...).
48647 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48649 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48651 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48654 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48655 copy from the symbol referenced in the relocation to initialize the
48657 Patch by Piotr Bury <pbury@goahead.com>.
48658 * elf/Makefile: Add rules to build and tst-unique3.
48659 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48660 * elf/tst-unique3.cc: New file.
48661 * elf/tst-unique3.h: New file.
48662 * elf/tst-unique3lib.cc: New file.
48663 * elf/tst-unique3lib2.cc: New file.
48665 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48667 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48669 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48670 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48673 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48675 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48676 to-be-loaded object along a path to loader is ld.so.
48678 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48679 Ulrich Drepper <drepper@gmail.com>
48681 * sysdeps/x86_64/memset.S: After aligning destination, code
48682 branches to different locations depending on the value of
48683 misalignment, when multiarch is enabled. Fix this.
48685 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48687 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48688 Set _x86_64_preferred_memory_instruction for AMD processsors.
48689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48690 Set bit_Prefer_SSE_for_memop for AMD processors.
48692 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48694 * libio/fmemopen.c (fmemopen): Optimize a bit.
48696 2011-03-03 Andreas Schwab <schwab@redhat.com>
48698 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48700 2011-03-03 Roland McGrath <roland@redhat.com>
48702 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48704 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48706 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48707 __bzero_ultra1 instead of __memset_ultra1.
48709 2011-02-23 Andreas Schwab <schwab@redhat.com>
48710 Ulrich Drepper <drepper@gmail.com>
48713 * include/link.h (struct link_map): Add l_orig_initfini.
48714 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48715 returning unsuccessfully.
48716 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48717 close of a file loaded at startup, restore the original l_initfini
48719 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48720 list, store the pointer.
48721 * elf/Makefile ($(objpfx)noload-mem): New rule.
48722 (noload-ENV): Define.
48723 (tests): Add $(objpfx)noload-mem.
48724 * elf/noload.c: Include <memcheck.h>.
48725 (main): Call mtrace. Close all opened handles.
48727 2011-02-17 Andreas Schwab <schwab@redhat.com>
48730 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48731 dependencies are missing.
48733 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48735 Fix __if_freereq crash: Unlike the generic version which uses free,
48737 * sysdeps/mach/hurd/ifreq.h: New file.
48739 2011-01-27 Petr Baudis <pasky@suse.cz>
48740 Ulrich Drepper <drepper@gmail.com>
48743 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48744 to extend_alloca().
48745 * stdio-common/bug23.c: New file.
48746 * stdio-common/Makefile (tests): Add bug23.
48748 2010-09-28 Andreas Schwab <schwab@redhat.com>
48749 Ulrich Drepper <drepper@gmail.com>
48752 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48753 before performing relro protection. At old place add assertion
48754 to make sure nothing changed.
48756 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48757 Glauber de Oliveira Costa <glommer@gmail.com>
48759 * elf/elf.h: Add new ARM TLS relocs.
48761 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48764 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48766 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48768 * sysdeps/wordsize-64/tst-writev.c: New file.
48770 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48772 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48773 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48774 insns in _dl_start to prevent a TOC reference before relocs are
48777 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48780 * Makeconfig: Remove RANLIB definition.
48781 * Makerules: Don't use RANLIB.
48782 * aclocal.m4: Remove ranlib test.
48783 * configure.in: No need to check for ranlib.
48784 * elf/rtld-Rules: Don't use RANLIB.
48786 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48788 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48790 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48791 inclusion protection macro.
48793 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48794 SIGRTMIN and SIGRTMAX and print information in that case only when
48795 SIGRTMIN is defined.
48797 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48799 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48800 arginfo fn returning -1.
48802 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48803 and thousands string is zero terminated.
48805 2011-02-03 Andreas Schwab <schwab@redhat.com>
48807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48808 sysdeps/unix/sysv/linux/bits/socket.h.
48810 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48812 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48813 (__CPU_COUNT): Remove old macros.
48814 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48815 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48816 (__CPU_ALLOC, __CPU_FREE): Add macros.
48817 (__sched_cpualloc, __sched_cpufree): Add declarations.
48819 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48821 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48822 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48823 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48824 (readdhstai): Return value of addhstaiX call.
48825 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48826 (addgrbyX): Return value returned by cache_addgr.
48827 (readdgrbyname): Return value returned by addgrbyX.
48828 (readdgrbygid): Likewise.
48829 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48830 (addpwbyX): Return value returned by cache_addpw.
48831 (readdpwbyname): Return value returned by addhstbyX.
48832 (readdpwbyuid): Likewise.
48833 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48834 (addservbyX): Return value returned by cache_addserv.
48835 (readdservbyname): Return value returned by addservbyX:
48836 (readdservbyport): Likewise.
48837 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48838 (addhstbyX): Return value returned by cache_addhst.
48839 (readdhstbyname): Return value returned by addhstbyX.
48840 (readdhstbyaddr): Likewise.
48841 (readdhstbynamev6): Likewise.
48842 (readdhstbyaddrv6): Likewise.
48843 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48844 (readdinitgroups): Return value returned by addinitgroupsX.
48845 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48846 (prune_cache): Keep track of timeout value of re-added entries.
48847 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48848 * nscd/nscd.h: Adjust prototypes of readd* functions.
48850 2011-02-04 Roland McGrath <roland@redhat.com>
48852 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48853 (nis_stats): Likewise.
48854 * nis/nis_modify.c (nis_modify): Likewise.
48855 * nis/nis_remove.c (nis_remove): Likewise.
48856 * nis/nis_add.c (nis_add): Likewise.
48858 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48860 * posix/fnmatch_loop.c: Add some consts.
48862 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48864 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48867 * config.make.in (config-cflags-novzeroupper): Define.
48868 * configure.in: Substitute libc_cv_cc_novzeroupper.
48869 * elf/Makefile (AVX-CFLAGS): Define.
48870 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48871 (CFLAGS-tst-auditmod4a.c): Likewise.
48872 (CFLAGS-tst-auditmod4b.c): Likewise.
48873 (CFLAGS-tst-auditmod6b.c): Likewise.
48874 (CFLAGS-tst-auditmod6c.c): Likewise.
48875 (CFLAGS-tst-auditmod7b.c): Likewise.
48876 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48878 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48880 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48881 function to the callback.
48882 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48884 2011-02-02 Andreas Schwab <schwab@redhat.com>
48886 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48889 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48892 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48894 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48896 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48899 * elf/Makefile: Add rules to build and run new test.
48900 * elf/tst-initorder.c: New file.
48901 * elf/tst-initorder.exp: New file.
48902 * elf/tst-initordera1.c: New file.
48903 * elf/tst-initordera2.c: New file.
48904 * elf/tst-initordera3.c: New file.
48905 * elf/tst-initordera4.c: New file.
48906 * elf/tst-initorderb1.c: New file.
48907 * elf/tst-initorderb2.c: New file.
48908 * elf/tst-order-a1.c: New file.
48909 * elf/tst-order-a2.c: New file.
48910 * elf/tst-order-a3.c: New file.
48911 * elf/tst-order-a4.c: New file.
48912 * elf/tst-order-b1.c: New file.
48913 * elf/tst-order-b2.c: New file.
48914 * elf/tst-order-main.c: New file.
48915 New test case by George Gensure <werkt0@gmail.com>.
48917 2010-10-01 Andreas Schwab <schwab@redhat.com>
48919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48920 decoding ACE if AI_CANONIDN.
48922 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48924 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48926 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48928 * version.h (RELEASE): Bump for 2.13 release.
48929 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48931 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48933 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48935 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48936 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48942 * posix/getconf.c: Update copyright year.
48943 * catgets/gencat.c: Likewise.
48944 * csu/version.c: Likewise.
48945 * debug/catchsegv.sh: Likewise.
48946 * debug/xtrace.sh: Likewise.
48947 * elf/ldconfig.c: Likewise.
48948 * elf/ldd.bash.in: Likewise.
48949 * elf/sprof.c (print_version): Likewise.
48950 * iconv/iconv_prog.c: Likewise.
48951 * iconv/iconvconfig.c: Likewise.
48952 * locale/programs/locale.c: Likewise.
48953 * locale/programs/localedef.c: Likewise.
48954 * malloc/memusage.sh: Likewise.
48955 * malloc/mtrace.pl: Likewise.
48956 * nscd/nscd.c (print_version): Likewise.
48957 * nss/getent.c: Likewise.
48959 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48960 PF_CAIF, and PF_ALG.
48961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48963 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48965 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48966 (modules-names): Use them.
48967 (ifunc-test-modules, ifunc-pie-tests): Define.
48968 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48969 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48970 (test-extras): Likewise.
48971 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48972 $(compile-command.c).
48973 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48974 (all-built-dso): Define.
48975 (check-textrel.out, check-execstack.out): Depend on it.
48977 * configure.in: Don't override --enable-multi-arch.
48979 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48982 * nscd/hstcache.c (tryagain): Define.
48983 (cache_addhst): Return tryagain not notfound for temporary errors.
48984 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48987 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48990 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48991 to make the syscall.
48992 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48995 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48996 and fall back to matching as normal character if the string ends before
48997 the matching ']' is found. This is what POSIX requires.
48998 * posix/testfnm.c: Adjust test result.
48999 * posix/globtest.sh: Adjust test result. Add new test.
49000 * posix/tst-fnmatch.input: Likewise.
49001 * posix/tst-fnmatch2.c: Add new test.
49003 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49005 * elf/Makefile (check-execstack): Revert last change. Depend on
49007 (check-execstack.h): New target.
49008 (generated): Add check-execstack.h.
49009 * elf/check-execstack.c: Include "check-execstack.h".
49010 (main): Revert last change.
49011 (handle_file): Return zero if GNU_STACK is absent and
49012 DEFAULT_STACK_PERMS doesn't include PF_X.
49014 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49016 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49017 in child fails because the descriptor is already closed.
49018 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49019 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49020 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49023 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49027 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49028 temporary buffer used to handle multi lookups locally.
49029 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49031 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49033 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49036 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49038 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49039 alignment for SSE2.
49041 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49044 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49045 characters. When rounding increased number of integer digits recompute
49047 * stdio-common/tst-grouping.c: New file.
49048 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49050 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49052 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49053 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49055 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49057 * bits/select.h: Likewise.
49059 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49061 * po/ja.po: Update from translation team.
49063 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49066 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49067 implementation just like for lxstat, fxstatat, et al.
49069 2010-12-27 Jim Meyering <meyering@redhat.com>
49072 * posix/regexec.c (build_trtable): Return failure indication upon
49073 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49075 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49078 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49079 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49080 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49081 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49084 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49087 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49088 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49090 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49092 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49093 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49094 script has SORT_BY_INIT_PRIORITY.
49095 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49096 NO_CTORS_DTORS_SECTIONS is defined.
49097 * elf/soinit.c: Likewise.
49098 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49099 NO_CTORS_DTORS_SECTIONS is defined.
49100 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49101 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49102 * sysdeps/sh/init-first.c: Likewise.
49103 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49105 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49107 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49108 always use the slow path.
49110 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49112 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49113 similar rule which adds the sysdep directories to the header search in
49114 order to pick up the correct platform stackinfo.h.
49115 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49116 perform test if it is, otherwise return successfully without testing.
49117 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49118 DEFAULT_STACK_PERMS define in stackinfo.h.
49119 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49120 defined in stackinfo.h.
49121 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49122 DEFAULT_STACK_PERMS defined in stackinfo.h.
49123 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49124 * sysdeps/ia64/stackinfo.h: Likewise.
49125 * sysdeps/s390/stackinfo.h: Likewise.
49126 * sysdeps/sh/stackinfo.h: Likewise.
49127 * sysdeps/sparc/stackinfo.h: Likewise.
49128 * sysdeps/x86_64/stackinfo.h: Likewise.
49129 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49130 PF_X for powerpc64. Retain PF_X for powerpc32.
49132 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49134 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49136 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49137 GETDENTS_64BIT_ALIGNED.
49139 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49141 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49143 2010-12-10 Andreas Schwab <schwab@redhat.com>
49145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49148 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49149 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49151 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49152 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49154 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49157 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49160 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49162 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49164 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49166 * po/it.po: Update from translation team.
49168 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49173 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49175 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49177 2010-11-24 Andreas Schwab <schwab@redhat.com>
49179 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49181 (gaih_getanswer_slice): Likewise.
49183 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49187 2010-05-31 Petr Baudis <pasky@suse.cz>
49190 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49191 silently even in the chroot mode.
49193 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49195 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49196 last patch a bit. Pretty printing
49198 2010-05-31 Petr Baudis <pasky@suse.cz>
49201 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49202 initialization of skip_initgroups_dyn.
49204 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49206 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49207 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49209 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49211 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49213 2010-11-11 Andreas Schwab <schwab@redhat.com>
49215 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49216 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49217 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49218 ($(objpfx)tst-fnmatch-mem): New rule.
49219 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49220 * posix/tst-fnmatch.c (main): Call mtrace.
49222 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49225 Support Intel processor model 6 and model 0x2c.
49227 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49229 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49232 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49235 * string/test-strncasecmp.c (check_result): New function.
49236 (do_one_test): Use it.
49237 (check1): New function.
49238 (test_main): Use it.
49239 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49240 Support strcasecmp and strncasecmp.
49242 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49245 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49246 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49248 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49250 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49254 * sysdeps/x86_64/multiarch/bzero.S: New file.
49255 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49256 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49257 * sysdeps/x86_64/multiarch/memset.S: New file.
49258 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49260 Set bit_Prefer_SSE_for_memop for Intel processors.
49261 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49263 (index_Prefer_SSE_for_memop): Define.
49264 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49266 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49268 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49269 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49271 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49274 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49275 (__x86_64_raw_data_cache_size_half): Likewise.
49276 (__x86_64_raw_shared_cache_size): Likewise.
49277 (__x86_64_raw_shared_cache_size_half): Likewise.
49279 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49280 (__x86_64_raw_data_cache_size_half): Likewise.
49281 (__x86_64_raw_shared_cache_size): Likewise.
49282 (__x86_64_raw_shared_cache_size_half): Likewise.
49283 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49284 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49285 and __x86_64_raw_shared_cache_size_half. Round
49286 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49287 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49288 to multiple of 256 bytes.
49290 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49294 of inacessible symlinks. Verify result of symlink before returning it.
49295 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49296 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49298 2010-10-28 Erich Ritz <erichritz@gmail.com>
49300 * math/math.h (isinf): Fix typo in comment.
49302 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49304 * po/da.po: Update from translation team.
49306 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49308 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49309 is added to the list.
49311 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49312 Ulrich Drepper <drepper@gmail.com>
49314 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49315 the global list here. Move code to...
49316 (_dl_add_to_namespace_list): ...here. New function.
49317 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49318 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49319 * elf/dl-load.c (lose): Don't remove the element from the list.
49320 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49321 (_dl_map_object): Likewise.
49323 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49326 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49327 into all bytes of SSE register.
49328 Patch by Richard Li <richardpku@gmail.com>.
49330 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49333 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49336 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49338 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49339 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49340 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49341 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49346 2010-10-22 Andreas Schwab <schwab@redhat.com>
49348 * include/dlfcn.h (__RTLD_SECURE): Define.
49349 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49350 mode & __RTLD_SECURE instead.
49351 (open_path): Rename preloaded parameter to secure.
49352 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49353 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49354 * elf/dl-deps.c (openaux): Likewise.
49355 * elf/rtld.c (struct map_args): Remove is_preloaded.
49356 (map_doit): Don't use it.
49357 (dl_main): Likewise.
49358 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49359 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49361 2010-09-09 Andreas Schwab <schwab@redhat.com>
49363 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49364 (sysd-rules-targets): Remove duplicates.
49365 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49366 rtld-%.$o dependency.
49368 2010-10-18 Andreas Schwab <schwab@redhat.com>
49370 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49371 _dl_map_object do it.
49373 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49375 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49376 fast fma builtins, define the macros in the C99 standard.
49377 (FP_FAST_FMAF): Likewise.
49378 (FP_FAST_FMAL): Likewise.
49379 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49381 * bits/mathdef.h: Update copyright year.
49382 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49384 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49386 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49387 builtins, define the macros in the C99 standard.
49388 (FP_FAST_FMAF): Likewise.
49389 (FP_FAST_FMAL): Likewise.
49390 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49392 (FP_FAST_FMAF): Likewise.
49394 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49397 * math/libm-test.inc (fma_test): Some new testcases.
49398 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49399 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49400 y and infinite z. Do multiplication by C already in long double.
49401 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49403 y and infinite z. Do bitwise or of inexact bit into u.d.
49404 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49405 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49406 * sysdeps/i386/fpu/s_fma.S: Removed.
49407 * sysdeps/i386/fpu/s_fmal.S: Removed.
49409 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49412 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49414 computation is not scheduled after fetestexcept. Fix value
49415 of minimum denormal long double.
49417 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49420 * math/libm-test.inc (fma_test): Add some more tests.
49421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49424 2010-10-15 Andreas Schwab <schwab@redhat.com>
49426 * scripts/data/localplt-s390-linux-gnu.data: New file.
49427 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49429 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49432 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49433 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49435 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49437 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49439 if one of x and y is very large and the other is subnormal.
49440 * sysdeps/s390/fpu/s_fmaf.c: New file.
49441 * sysdeps/s390/fpu/s_fma.c: New file.
49442 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49443 * sysdeps/powerpc/fpu/s_fma.S: New file.
49444 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49445 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49446 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49448 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49451 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49454 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49455 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49456 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49457 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49458 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49459 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49461 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49464 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49465 * posix/bug-regex31.input: Add test case.
49467 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49469 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49470 * posix/bug-regex31.input: New file.
49473 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49474 (parse_sub_exp): Fix last change, use postorder.
49476 * posix/bug-regex31.c: New file.
49477 * posix/Makefile: Add rules to build and run bug-regex31.
49479 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49482 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49485 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49486 to have entries in sys_siglist.
49489 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49492 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49495 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49496 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49497 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49498 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49499 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49500 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49501 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49502 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49503 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49504 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49505 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49506 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49507 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49508 * math/ftestexcept.c (fetestexcept): Likewise.
49509 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49510 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49511 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49512 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49513 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49514 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49515 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49517 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49520 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49523 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49525 * string/bug-strstr1.c: New file.
49526 * string/Makefile: Add rules to build and run bug-strstr1.
49528 2010-10-05 Eric Blake <eblake@redhat.com>
49531 * string/str-two-way.h (two_way_long_needle): Always clear memory
49532 when skipping input due to the shift table.
49534 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49537 * malloc/mcheck.c: Handle large requests.
49540 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49541 for strncmp and strncasecmp.
49542 * string/stratcliff.c: Add tests for strcmp and strncmp.
49543 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49545 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49547 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49550 2010-09-30 Andreas Jaeger <aj@suse.de>
49552 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49553 (CGROUP_SUPER_MAGIC): Define.
49554 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49555 Handle btrfs and cgroup file systems.
49556 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49559 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49561 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49562 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49564 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49567 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49568 trying to locate the ELF header.
49570 2010-09-27 Andreas Schwab <schwab@redhat.com>
49573 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49574 Mask out sign-bit copies when constructing f_fsid.
49576 2010-09-24 Petr Baudis <pasky@suse.cz>
49578 * debug/stack_chk_fail_local.c: Add missing licence exception.
49579 * debug/warning-nop.c: Likewise.
49581 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49583 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49584 implementing getdents64 using getdents syscall, set d_type if
49585 __ASSUME_GETDENTS32_D_TYPE.
49587 2010-09-16 Andreas Schwab <schwab@redhat.com>
49589 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49590 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49592 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49595 * posix/unistd.h: Undo change of feature selection for ftruncate from
49598 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49600 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49603 2010-09-20 Andreas Schwab <schwab@redhat.com>
49605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49607 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49609 2010-09-14 Andreas Schwab <schwab@redhat.com>
49611 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49612 variables after CHECK_SP call.
49613 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49615 2010-09-13 Andreas Schwab <schwab@redhat.com>
49616 Ulrich Drepper <drepper@redhat.com>
49618 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49619 re-relocationg ld.so.
49620 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49621 _dl_init_paths call.
49622 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49625 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49627 * resolv/res_init.c (__res_vinit): Count the default server we added.
49629 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49630 Ulrich Drepper <drepper@redhat.com>
49633 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49634 (____longjmp_chk): Use %ebx for saving value across system call.
49637 2010-09-06 Andreas Schwab <schwab@redhat.com>
49639 * manual/Makefile: Don't mix pattern rules with normal rules.
49641 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49643 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49645 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49646 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49647 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49648 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49652 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49655 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49656 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49658 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49660 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49661 * sysdeps/x86_64/addmul_1.S: Likewise.
49662 * sysdeps/x86_64/lshift.S: Likewise.
49663 * sysdeps/x86_64/mul_1.S: Likewise.
49664 * sysdeps/x86_64/rshift.S: Likewise.
49665 * sysdeps/x86_64/sub_n.S: Likewise.
49666 * sysdeps/x86_64/submul_1.S: Likewise.
49668 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49670 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49671 Define __sched_param instead of SCHED_* and sched_param when
49672 <bits/sched.h> is included with __need_schedparam defined.
49673 * bits/sched.h [__need_schedparam]
49674 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49675 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49676 (__defined_schedparam): Define to 1.
49677 (__sched_param): New structure, identical to sched_param.
49678 (__need_schedparam): Undefine.
49680 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49682 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49683 (epoll_create1): Declare.
49685 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49687 2010-08-31 Andreas Schwab <schwab@redhat.com>
49690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49691 shifting retval into place.
49693 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49695 * nis/rpcsvc/nis.h: Update copyright notice.
49696 * nis/rpcsvc/nis.x: Likewise.
49697 * nis/rpcsvc/nis_callback.h: Likewise.
49698 * nis/rpcsvc/nis_callback.x: Likewise.
49699 * nis/rpcsvc/nis_object.x: Likewise.
49700 * nis/rpcsvc/nis_tags.h: Likewise.
49701 * nis/rpcsvc/yp.h: Likewise.
49702 * nis/rpcsvc/yp.x: Likewise.
49703 * nis/rpcsvc/ypupd.h: Likewise.
49704 * nis/yp_xdr.c: Likewise.
49705 * nis/ypupdate_xdr.c: Likewise.
49707 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49708 mainly the body of pmap_getport. Add parameters to specify timeouts.
49709 (pmap_getport): Use __libc_rpc_getport.
49710 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49711 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49712 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49714 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49719 2010-08-27 Roland McGrath <roland@redhat.com>
49721 * sysdeps/i386/i686/multiarch/Makefile
49722 (CFLAGS-varshift.c): New variable.
49724 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49726 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49727 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49729 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49731 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49733 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49735 * sysdeps/x86_64/strlen.S: Unroll the loop.
49736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49737 strlen-sse2 strlen-sse2-bsf.
49738 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49739 __strlen_no_bsf if bit_Slow_BSF is set.
49740 (__strlen_sse42): Removed.
49741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49742 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49744 2010-08-25 Roland McGrath <roland@redhat.com>
49746 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49747 * sysdeps/x86_64/multiarch/varshift.c: New file.
49748 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49749 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49750 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49751 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49753 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49756 strlen-sse2 strlen-sse2-bsf.
49757 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49758 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49759 (__strlen_sse2): Removed.
49760 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49763 bit_Slow_BSF for Atom.
49764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49765 (index_Slow_BSF): Define.
49766 (HAS_SLOW_BSF): Define.
49768 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49771 * resolv/res_init.c (__res_vinit): When no server address at all
49772 is given default to loopback.
49774 2010-08-24 Roland McGrath <roland@redhat.com>
49776 * configure.in: Remove config-name.h generation.
49777 * configure: Regenerated.
49778 * config-name.in: File removed.
49779 * scripts/config-uname.sh: New file.
49780 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49781 ($(objdir)config-name.h): New target.
49783 * sunrpc/rpc_parse.h: Avoid nested comment.
49785 2010-08-24 Richard Henderson <rth@redhat.com>
49786 Ulrich Drepper <drepper@redhat.com>
49787 H.J. Lu <hongjiu.lu@intel.com>
49789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49791 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49792 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49793 _mm_alignr_epi8 with _mm_loadu_si128.
49794 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49795 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49796 (__m128i_shift_right): Removed.
49797 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49798 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49799 * sysdeps/x86_64/multiarch/varshift.h: New file.
49800 * sysdeps/x86_64/multiarch/varshift.S: New file.
49802 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49804 * configure.in: Move assembler checks to before sysdep dir checking.
49806 2010-08-20 Petr Baudis <pasky@suse.cz>
49808 * LICENSES: Sync the sunrpc license.
49810 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49812 * sunrpc/auth_des.c: Update copyright notice once again.
49813 * sunrpc/auth_none.c: Likewise.
49814 * sunrpc/auth_unix.c: Likewise.
49815 * sunrpc/authdes_prot.c: Likewise.
49816 * sunrpc/authuxprot.c: Likewise.
49817 * sunrpc/bindrsvprt.c: Likewise.
49818 * sunrpc/clnt_gen.c: Likewise.
49819 * sunrpc/clnt_perr.c: Likewise.
49820 * sunrpc/clnt_raw.c: Likewise.
49821 * sunrpc/clnt_simp.c: Likewise.
49822 * sunrpc/clnt_tcp.c: Likewise.
49823 * sunrpc/clnt_udp.c: Likewise.
49824 * sunrpc/clnt_unix.c: Likewise.
49825 * sunrpc/des_crypt.c: Likewise.
49826 * sunrpc/des_soft.c: Likewise.
49827 * sunrpc/get_myaddr.c: Likewise.
49828 * sunrpc/getrpcport.c: Likewise.
49829 * sunrpc/key_call.c: Likewise.
49830 * sunrpc/key_prot.c: Likewise.
49831 * sunrpc/openchild.c: Likewise.
49832 * sunrpc/pm_getmaps.c: Likewise.
49833 * sunrpc/pm_getport.c: Likewise.
49834 * sunrpc/pmap_clnt.c: Likewise.
49835 * sunrpc/pmap_prot.c: Likewise.
49836 * sunrpc/pmap_prot2.c: Likewise.
49837 * sunrpc/pmap_rmt.c: Likewise.
49838 * sunrpc/rpc/auth.h: Likewise.
49839 * sunrpc/rpc/auth_unix.h: Likewise.
49840 * sunrpc/rpc/clnt.h: Likewise.
49841 * sunrpc/rpc/des_crypt.h: Likewise.
49842 * sunrpc/rpc/key_prot.h: Likewise.
49843 * sunrpc/rpc/netdb.h: Likewise.
49844 * sunrpc/rpc/pmap_clnt.h: Likewise.
49845 * sunrpc/rpc/pmap_prot.h: Likewise.
49846 * sunrpc/rpc/pmap_rmt.h: Likewise.
49847 * sunrpc/rpc/rpc.h: Likewise.
49848 * sunrpc/rpc/rpc_des.h: Likewise.
49849 * sunrpc/rpc/rpc_msg.h: Likewise.
49850 * sunrpc/rpc/svc.h: Likewise.
49851 * sunrpc/rpc/svc_auth.h: Likewise.
49852 * sunrpc/rpc/types.h: Likewise.
49853 * sunrpc/rpc/xdr.h: Likewise.
49854 * sunrpc/rpc_clntout.c: Likewise.
49855 * sunrpc/rpc_cmsg.c: Likewise.
49856 * sunrpc/rpc_common.c: Likewise.
49857 * sunrpc/rpc_cout.c: Likewise.
49858 * sunrpc/rpc_dtable.c: Likewise.
49859 * sunrpc/rpc_hout.c: Likewise.
49860 * sunrpc/rpc_main.c: Likewise.
49861 * sunrpc/rpc_parse.c: Likewise.
49862 * sunrpc/rpc_parse.h: Likewise.
49863 * sunrpc/rpc_prot.c: Likewise.
49864 * sunrpc/rpc_sample.c: Likewise.
49865 * sunrpc/rpc_scan.c: Likewise.
49866 * sunrpc/rpc_scan.h: Likewise.
49867 * sunrpc/rpc_svcout.c: Likewise.
49868 * sunrpc/rpc_tblout.c: Likewise.
49869 * sunrpc/rpc_util.c: Likewise.
49870 * sunrpc/rpc_util.h: Likewise.
49871 * sunrpc/rpcinfo.c: Likewise.
49872 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49873 * sunrpc/rpcsvc/key_prot.x: Likewise.
49874 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49875 * sunrpc/rpcsvc/mount.x: Likewise.
49876 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49877 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49878 * sunrpc/rpcsvc/rex.x: Likewise.
49879 * sunrpc/rpcsvc/rstat.x: Likewise.
49880 * sunrpc/rpcsvc/rusers.x: Likewise.
49881 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49882 * sunrpc/rpcsvc/spray.x: Likewise.
49883 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49884 * sunrpc/rtime.c: Likewise.
49885 * sunrpc/svc.c: Likewise.
49886 * sunrpc/svc_auth.c: Likewise.
49887 * sunrpc/svc_authux.c: Likewise.
49888 * sunrpc/svc_raw.c: Likewise.
49889 * sunrpc/svc_run.c: Likewise.
49890 * sunrpc/svc_simple.c: Likewise.
49891 * sunrpc/svc_tcp.c: Likewise.
49892 * sunrpc/svc_udp.c: Likewise.
49893 * sunrpc/svc_unix.c: Likewise.
49894 * sunrpc/svcauth_des.c: Likewise.
49895 * sunrpc/xcrypt.c: Likewise.
49896 * sunrpc/xdr.c: Likewise.
49897 * sunrpc/xdr_array.c: Likewise.
49898 * sunrpc/xdr_float.c: Likewise.
49899 * sunrpc/xdr_mem.c: Likewise.
49900 * sunrpc/xdr_rec.c: Likewise.
49901 * sunrpc/xdr_ref.c: Likewise.
49902 * sunrpc/xdr_sizeof.c: Likewise.
49903 * sunrpc/xdr_stdio.c: Likewise.
49905 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49908 2010-08-19 Andreas Schwab <schwab@redhat.com>
49910 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49912 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49914 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49915 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49916 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49917 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49918 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49919 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49920 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49921 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49922 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49923 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49924 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49925 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49926 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49927 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49929 2010-07-26 Anton Blanchard <anton@samba.org>
49931 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49932 * malloc/arena.c (heap_trim): Likewise.
49934 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49936 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49939 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49941 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49943 * sysdeps/i386/elf/Makefile: New file.
49945 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49947 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49948 from fanotify_init.
49949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49952 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49954 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49956 * sysdeps/multiarch/strcmp.S: Likewise.
49958 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49960 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49961 strncase_l-nonascii.
49962 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49963 Add strncase_l-ssse3.
49964 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49965 * sysdeps/x86_64/strcmp.S: Likewise.
49966 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49967 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49968 * sysdeps/x86_64/strncase.S: New file.
49969 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49970 * sysdeps/x86_64/strncase_l.S: New file.
49971 * string/Makefile (strop-tests): Add strncasecmp.
49972 * string/test-strncasecmp.c: New file.
49974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49977 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49978 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49980 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49982 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49984 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49986 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49987 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49990 2010-05-01 Alan Modra <amodra@gmail.com>
49992 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49993 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49994 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49995 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49996 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49997 tidying. Don't tail-call __sigjmp_save for static lib.
49998 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50000 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50001 (CALL_MCOUNT): Add eh info, and nop after bl.
50002 (TAIL_CALL_SYSCALL_ERROR): New macro.
50003 (PSEUDO_RET): Use it.
50004 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50005 Correct save location of integer regs and cr.
50006 (_dl_profile_resolve): Correct cr save location. Delete nops
50007 after bl when SHARED. Reduce cfi size a little by better
50008 placement of cfi directives.
50009 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50010 make a stack frame. Instead use parm save area as a temp.
50011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50012 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50014 Don't make a stack frame for parent, use parm save area.
50015 Increase child stack frame to 112 bytes. Don't save unused reg,
50016 and adjust reg usage. Set up cfi on error recovery and
50017 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50019 (__makecontext): Add dummy nop after jump to exit.
50020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50021 Use correct parm save area and cr save, reduce stack frame.
50022 Correct cfi for possible PSEUDO_RET frame setup.
50023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50024 Branch to local label emitted by PSEUDO_RET rather than
50027 2010-08-12 Andreas Schwab <schwab@redhat.com>
50030 * locale/programs/locale.c (print_assignment): New function.
50031 (show_locale_vars): Use it.
50033 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50035 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50037 (struct statfs64): Likewise.
50038 (_STATFS_F_FLAGS): Define.
50039 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50040 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50041 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50042 (ST_VALID): Define locally.
50043 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50044 __statvfs_getflags, use the provided value.
50045 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50046 __ASSUME_STATFS_F_FLAGS.
50048 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50050 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50051 Add sys/fanotify.h.
50052 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50053 fanotify_mask for GLIBC_2.13.
50054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50055 fanotify_init and fanotify_mark.
50056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50057 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50059 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50061 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50062 prlimit64 for GLIBC_2.13.
50063 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50065 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50068 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50069 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50070 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50071 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50073 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50076 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50077 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50079 * nss/Makefile: Add rules to build and run tst-nss-test1.
50080 * shlib-versions: Add entry for libnss_test1.
50081 * nss/nss_test1.c: New file.
50082 * nss/tst-nss-test1.c: New file.
50084 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50085 (__nss_configure_lookup): Set appropriate entry in
50086 __nss_configure_lookup to true.
50087 * nss/nsswitch.h: Define enum with indeces of databases in
50088 databases and __nss_database_custom arrays. Declare
50089 __nss_database_custom.
50090 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50091 to avoid using nscd when custom rules are installed.
50092 * nss/getXXbyYY_r.c: Likewise.
50093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50095 * nss/nss_files/files-parse.c: Whitespace fixes.
50097 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50100 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50101 * posix/fnmatch_loop.c: Likewise.
50103 2010-07-17 Andi Kleen <ak@linux.intel.com>
50105 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50106 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50107 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50108 * Versions.def [GLIBC_2.13]: Add.
50110 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50113 Also fail if tpwd after pwuid call is NULL.
50115 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50117 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50118 when converting to ms.
50120 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50122 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50123 EOPNOTSUPP errors with ENOTTY.
50124 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50125 EOPNOTSUPP errors with ENOTTY.
50127 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50129 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50130 Add strcasecmp_l-ssse3.
50131 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50133 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50134 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50137 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50139 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50141 * string/Makefile (strop-tests): Add strcasecmp.
50142 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50143 strcasecmp_l-nonascii.
50144 (gen-as-const-headers): Add locale-defines.sym.
50145 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50146 * sysdeps/x86_64/strcasecmp.S: New file.
50147 * sysdeps/x86_64/strcasecmp_l.S: New file.
50148 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50149 * sysdeps/x86_64/locale-defines.sym: New file.
50150 * string/test-strcasecmp.c: New file.
50152 * string/test-strcasestr.c: Test both ends of the range of characters.
50153 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50155 2010-07-29 Roland McGrath <roland@redhat.com>
50158 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50160 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50162 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50165 2010-07-27 Andreas Schwab <schwab@redhat.com>
50167 * manual/memory.texi (Malloc Tunable Parameters): Document
50170 2010-07-26 Roland McGrath <roland@redhat.com>
50173 * configure.in (-fgnu89-inline check): Set and substitute
50174 gnu89_inline, not libc_cv_gnu89_inline.
50175 * configure: Regenerated.
50176 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50178 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50180 * string/test-strnlen.c: New file.
50181 * string/Makefile (strop-tests): Add strnlen.
50182 * string/tester.c (test_strnlen): Add a few more test cases.
50183 * string/tst-strlen.c: Better error reporting.
50185 * sysdeps/x86_64/strnlen.S: New file.
50187 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50190 lower-latency instructions.
50192 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50194 * string/test-strcasestr.c: New file.
50195 * string/test-strstr.c: New file.
50196 * string/Makefile (strop-tests): Add strstr and strcasestr.
50197 * string/str-two-way.h: Don't undefine MAX.
50198 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50200 2010-07-21 Andreas Schwab <schwab@redhat.com>
50202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50203 strcasestr-nonascii.
50204 (CFLAGS-strcasestr-nonascii.c): Define.
50205 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50207 Remove unused attribute.
50209 2010-07-20 Roland McGrath <roland@redhat.com>
50211 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50212 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50213 ld.so.cache was broken. With it, there is no way to disable dsocaps
50214 like LD_HWCAP_MASK can disable hwcaps.
50216 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50218 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50220 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50222 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50223 call in strcasestr.
50224 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50225 __strcasestr_sse42_nonascii.
50226 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50227 strcasestr-nonascii.c.
50228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50230 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50232 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50234 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50237 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50242 2010-07-06 Andreas Schwab <schwab@redhat.com>
50245 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50248 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50251 _PC_PIPE_BUF using F_GETPIPE_SZ.
50253 2010-07-05 Roland McGrath <roland@redhat.com>
50255 * manual/arith.texi (Rounding Functions): Fix rint description
50256 implicit in round description.
50258 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50260 * elf/Makefile: Fix linking for a few tests to make recent linker
50263 2010-06-30 Andreas Schwab <schwab@redhat.com>
50265 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50266 $(common-objpfx)libc_nonshared.a.
50268 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50270 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50271 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50272 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50273 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50274 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50275 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50276 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50277 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50292 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50293 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50294 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50295 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50296 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50297 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50298 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50299 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50300 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50301 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50302 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50303 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50319 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50321 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50322 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50323 * string/memmove.c (memmove): Renamed to ...
50324 (MEMMOVE): ...this. Default to memmove.
50325 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50326 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50329 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50330 mempcpy-ssse3-back memmove-ssse3-back.
50331 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50334 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50335 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50336 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50337 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50338 * sysdeps/x86_64/multiarch/memmove.c: New file.
50339 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50340 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50341 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50342 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50343 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50346 (index_Fast_Copy_Backward): Define.
50347 (HAS_ARCH_FEATURE): Define.
50348 (HAS_FAST_REP_STRING): Define.
50349 (HAS_FAST_COPY_BACKWARD): Define.
50351 2010-06-21 Andreas Schwab <schwab@redhat.com>
50353 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50354 Restore proper fallback handling.
50356 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50359 * posix/group_member.c (__group_member): Correct checking loop.
50361 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50362 OOM in getpwuid_r correctly. Return error number when the caller
50363 should return, otherwise -1.
50364 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50365 call returning > 0 value.
50366 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50368 2010-06-07 Andreas Schwab <schwab@redhat.com>
50370 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50371 libc_nonshared.a from targets in modules-names.
50373 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50375 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50378 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50380 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50381 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50382 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50385 2010-06-02 Andreas Schwab <schwab@redhat.com>
50387 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50389 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50391 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50397 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50398 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50400 2010-06-14 Roland McGrath <roland@redhat.com>
50402 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50404 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50406 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50407 __REDIRECT followed by __THROW.
50408 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50409 * posix/getopt.h (getopt): Likewise.
50411 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50413 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50414 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50415 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50417 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50418 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50420 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50424 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50428 Properly check family and model.
50430 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50432 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50434 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50436 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50438 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50440 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50443 2010-05-19 Andreas Schwab <schwab@redhat.com>
50445 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50448 2010-05-21 Andreas Schwab <schwab@redhat.com>
50450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50451 and internal_recvmmsg.
50452 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50453 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50454 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50455 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50457 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50458 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50459 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50461 2010-05-20 Andreas Schwab <schwab@redhat.com>
50463 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50465 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50467 POWER7 optimizations.
50468 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50469 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50471 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50473 * version.h: Update for 2.13 development version.
50475 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50477 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50478 exceptions. Return 0.
50480 2010-05-07 Roland McGrath <roland@redhat.com>
50482 * elf/ldconfig.c (main): Add a const.
50484 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50486 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50487 (args_options): Add no-idn option.
50488 (ahosts_keys_int): Add idn_flags to ai_flags.
50489 (parse_option): Handle 'i' option to clear idn_flags.
50491 * malloc/malloc.c (_int_free): Possible race in the most recently
50492 added check. Only act on the data if no current modification
50495 See ChangeLog.17 for earlier changes.